Strange problem installing mail server Postfix.
Hi All, I am running to this strange problem and hope someone can help. I have a new guess VPS created from a debian pre-created template. VPS seems to work fine as I am able to ping external IP and I am able to do apt-get update/install. However, I am trying to install a mail server Postfix using a how-to guide from the following link: http://howtoforge.com/virtual_postfix_mysql_quota_courier Step 1 of the how-to seems to go well with no errors. However, when I try to execute the command for step 2 I get the following error: Err http://ftp.us.debian.org stable/main libc6 2.3.2.ds1-22sarge4 Temporary failure resolving 'ftp.us.debian.org' Err http://ftp.us.debian.org stable/main binutils 2.15-6 Temporary failure resolving 'ftp.us.debian.org' Err http://ftp.us.debian.org stable/main cpp-3.3 1:3.3.5-13 Temporary failure resolving 'ftp.us.debian.org' <SNIP> Failed to fetch http://ftp.us.debian.org/debian/pool/main/g/glibc/libc6_2.3. 2.ds1-22sarge4_i386.deb Temporary failure resolving 'ftp.us.debian.org' Failed to fetch http://ftp.us.debian.org/debian/pool/main/b/binutils/binutil s_2.15-6_i386.deb Temporary failure resolving 'ftp.us.debian.org' Failed to fetch http://ftp.us.debian.org/debian/pool/main/g/gcc-3.3/cpp-3.3_ 3.3.5-13_i386.deb Temporary failure resolving 'ftp.us.debian.org' <SNIP> Based on the above error, I thought there might be a problem with networking and/or my source.list may have changed. But I checked and all seems the same. Notice when I try to ping external IP and even my local IP address I get this error: mx1:/# ping 192.168.1.103 socket: No buffer space available mx1:/# Note: I was trying to install the above how-to from a ssh session. After, I close the ssh session I am no longer able to ssh into the VPS at all. However, OVZ shows VPS is running. FYI: My OVZ setup is using Debian for the host and guess VPS. The VPS is using a pre-created debian template. At this point, I am not sure if the problem is with my VPS or something with the how-to install that's causing the problem. Would greatly appreciate any HELP!!! -joe
Re: Strange problem installing mail server Postfix.
seems that you have insufficent resources in your VPS. try the following command inside your VPS: cat /proc/user_beancounters that should produce some output like: Version: 2.5 uid resource held maxheld barrier limit failcnt 231: kmemsize 345943 734774 2752512 2936012 0 lockedpages 0 0 32 32 0 privvmpages 1176 8123 49152 53575 0 shmpages 0 656 8192 8192 0 dummy 0 0 0 0 0 numproc 8 16 65 65 0 physpages 750 4840 0 2147483647 0 vmguarpages 0 0 6144 2147483647 0 oomguarpages 750 4840 6144 2147483647 0 numtcpsock 2 4 80 80 0 numflock 2 8 100 110 0 numpty 1 3 16 16 0 numsiginfo 0 3 256 256 0 tcpsndbuf 0 8912 319488 524288 0 tcprcvbuf 0 25656 319488 524288 0 othersockbuf 2228 7376 132096 336896 0 dgramrcvbuf 0 4276 132096 132096 0 numothersock 1 5 80 80 0 dcachesize 39520 76326 1048576 1097728 0 numfile 87 171 2048 2048 0 dummy 0 0 0 0 0 dummy 0 0 0 0 0 dummy 0 0 0 0 0 numiptent 10 10 128 128 0 have a look at the last column, if there are any numbers, other then 0 then you have to adjust the according parameter. i think you have to increase the socketbuffers. hth, mario.
Mario, thanks for your info. I checked the userbeancounter and do see that I have the following as shown in the output below (Sorry the format of my output is not comming up as nicely as yours (not sure how you did it). uid resource held maxheld barrier limit failcnt 103: kmemsize 1580182 2187101 2752512 2936012 0 lockedpages 0 0 32 32 0 privvmpages 35270 49261 49152 53575 27 shmpages 821 837 8192 8192 0 dummy 0 0 0 0 0 numproc 40 57 65 65 0 physpages 5587 10662 0 2147483647 0 vmguarpages 0 0 6144 2147483647 0 oomguarpages 5587 10662 6144 2147483647 0 numtcpsock 8 10 80 80 0 numflock 6 14 100 110 0 numpty 1 1 16 16 0 numsiginfo 0 5 256 256 0 tcpsndbuf 4456 100648 319488 524288 0 tcprcvbuf 0 145512 319488 524288 0 othersockbuf 6684 112272 132096 336896 0 dgramrcvbuf 0 692 132096 132096 0 numothersock 8 80 80 80 57 dcachesize 111896 195032 1048576 1097728 0 numfile 286 500 2048 2048 0 dummy 0 0 0 0 0 dummy 0 0 0 0 0 dummy 0 0 0 0 0 numiptent 10 10 128 128 0 Anyway, hope you can see that resource "privvmpages" has a failed count of 27 and "numothersock" shows a fialed count of 57. If you can tell me how I can increment this to the proper size would be appreciated. BTW, are there any DOCs that explains these defualt values and more important how it's recommended to adjust these values when a resource has a failcnt. Thanks for your help! -joe
http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf http://wiki.openvz.org/Main_Page http://wiki.openvz.org/Resource_shortage