자꾸
Setting up xmail (1.22-5) ...
Starting XMail server: XMail.
I: Adding new domain.
ErrCode = -162
ErrString = End of socket stream data
dpkg: error processing xmail (--configure):
subprocess post-installation script returned error exit status 3
Errors were encountered while processing:
xmail
E: Sub-process /usr/bin/dpkg returned an error code (1)
요렇게 되면서 설치가 안되는데... 이유가 무엇일까요?
Setting up xmail (1.22-5) ...
Starting XMail server: XMail.
I: Adding new domain.
ErrCode = -162
ErrString = End of socket stream data
dpkg: error processing xmail (--configure):
subprocess post-installation script returned error exit status 3
Errors were encountered while processing:
xmail
E: Sub-process /usr/bin/dpkg returned an error code (1)
요렇게 되면서 설치가 안되는데... 이유가 무엇일까요?
댓글 1개
아직 해보진 않았는데 이런 글을 발견 했네요.
Try the following (it worked for me: I had a working flawless Xmail server).
After that the installation failed, open the file: /var/lib/dpkg/info/xmail.postinst
you need to find this lines:
if [ -z "$2" ]; then
#we are installing for the first time
cp /usr/share/doc/xmail/sample/*.tab /etc/xmail
cp /usr/share/doc/xmail/sample/dnsroots /etc/xmail
#make links to xmail config files
ln -s /etc/xmail/*.tab /var/lib/xmail/
ln -s /etc/xmail/dnsroots /var/lib/xmail
chmod 711 /var/lib/xmail
you need to edit 4 lines starting with "cp ..." and "ln ..." as follow:
if [ -z "$2" ]; then
#we are installing for the first time
cp -u /usr/share/doc/xmail/sample/*.tab /etc/xmail
cp -u /usr/share/doc/xmail/sample/dnsroots /etc/xmail
#make links to xmail config files
ln -s -f /etc/xmail/*.tab /var/lib/xmail/
ln -s -f /etc/xmail/dnsroots /var/lib/xmail
chmod 711 /var/lib/xmail
In order to the install process the new xmail.postinst, I installed (and removed) a dummy application
NOTICE:
a minor bug is in the /var/lib/xmail/message.id file (it must contains
a pure number, so you need to change a line in the file /etc/init.d/xmail):
it must be changed BEFORE xmail starts.
find this line:
echo -e "1\r\n\0" > /var/lib/xmail/message.id
and change it in:
echo "1" > /var/lib/xmail/message.id
alternatively you may change manually the file /var/lib/xmail/message.id writing a unique line containing the number 1
출처 : https://bugs.launchpad.net/ubuntu/+source/xmail/+bug/128353 Marco Riccardi님의 글
월요일에 해봐야 겠네요..
Try the following (it worked for me: I had a working flawless Xmail server).
After that the installation failed, open the file: /var/lib/dpkg/info/xmail.postinst
you need to find this lines:
if [ -z "$2" ]; then
#we are installing for the first time
cp /usr/share/doc/xmail/sample/*.tab /etc/xmail
cp /usr/share/doc/xmail/sample/dnsroots /etc/xmail
#make links to xmail config files
ln -s /etc/xmail/*.tab /var/lib/xmail/
ln -s /etc/xmail/dnsroots /var/lib/xmail
chmod 711 /var/lib/xmail
you need to edit 4 lines starting with "cp ..." and "ln ..." as follow:
if [ -z "$2" ]; then
#we are installing for the first time
cp -u /usr/share/doc/xmail/sample/*.tab /etc/xmail
cp -u /usr/share/doc/xmail/sample/dnsroots /etc/xmail
#make links to xmail config files
ln -s -f /etc/xmail/*.tab /var/lib/xmail/
ln -s -f /etc/xmail/dnsroots /var/lib/xmail
chmod 711 /var/lib/xmail
In order to the install process the new xmail.postinst, I installed (and removed) a dummy application
NOTICE:
a minor bug is in the /var/lib/xmail/message.id file (it must contains
a pure number, so you need to change a line in the file /etc/init.d/xmail):
it must be changed BEFORE xmail starts.
find this line:
echo -e "1\r\n\0" > /var/lib/xmail/message.id
and change it in:
echo "1" > /var/lib/xmail/message.id
alternatively you may change manually the file /var/lib/xmail/message.id writing a unique line containing the number 1
출처 : https://bugs.launchpad.net/ubuntu/+source/xmail/+bug/128353 Marco Riccardi님의 글
월요일에 해봐야 겠네요..
게시글 목록
| 번호 | 제목 |
|---|---|
| 1717629 | |
| 1717626 | |
| 1717625 | |
| 1717621 | |
| 1717619 | |
| 1717611 | |
| 1717610 | |
| 1717609 | |
| 1717607 | |
| 1717601 | |
| 1717598 | |
| 1717591 | |
| 1717590 | |
| 1717583 | |
| 1717575 | |
| 1717572 | |
| 1717568 | |
| 1717566 | |
| 1717549 | |
| 1717545 | |
| 1717533 | |
| 1717512 | |
| 1717511 | |
| 1717508 | |
| 1717495 | |
| 1717479 | |
| 1717473 | |
| 1717470 | |
| 1717463 | |
| 1717452 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기