Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 7th September 2006, 22:59
joelee joelee is offline
Member
 
Join Date: Sep 2006
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with POSTFIX install - as per how-to

Hi All,

I am new to linux and following the postfix install how-to from this link:
http://howtoforge.com/virtual_postfi..._quota_courier

After doing step 1, all seems to go well until I tryed to do step 2 (Apply Quota Patch To Postfix).

For step 2, When I try to enter the command:
apt-get install build-essential dpkg-dev fakeroot debhelper libdb4.2-dev...etc...

I get the following error msg:

Err http://ftp.us.debian.org stable/main Packages
Temporary failure resolving 'ftp.us.debian.org'
Err http://ftp.us.debian.org stable/main Release
Temporary failure resolving 'ftp.us.debian.org'
Err http://ftp.us.debian.org stable/main Sources
Temporary failure resolving 'ftp.us.debian.org'
<SNIP>
Failed to fetch http://ftp.us.debian.org/debian/dist...86/Packages.gz Temporary failure resolving 'ftp.us.debian.org'
Failed to fetch http://ftp.us.debian.org/debian/dist...y-i386/Release Temporary failure resolving 'ftp.us.debian.org'
Failed to fetch http://ftp.us.debian.org/debian/dist...rce/Sources.gz Temporary failure resolving 'ftp.us.debian.org'
Failed to fetch http://ftp.us.debian.org/debian/dist...source/Release Temporary failure resolving 'ftp.us.
<SNIP>

After noticing the above errors I find that I can't do any apt-get update command. My source.list has not changed. Also, noticed that I can't ping any external or even my intenal IP address. When I tried to ping my local IP I get error:

mx1:~# ping 192.168.1.103
socket: No buffer space available

I am puzzled by why I would get the error "No buffer space available".

NOTE: I am doing this install on a VPS server using OpenVZ. Have not had a problem with this as I have other VPS server installed and running (DNS).
FYI: I running on a debian sarge install!

I trying to figure out if this is a VPS config issue or something with the how-to instructions.

Any help would be appreciated!
-joe
Reply With Quote
Sponsored Links
  #2  
Old 7th September 2006, 23:29
jjw jjw is offline
Member
 
Join Date: Aug 2006
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I was trying the Debian install and when I got the unable to resolve message, it was because I had the wrong eth tuuned on. what had been eth0 on Fedora was now eth1 on Debain (and vice-versa). I can't speak to the buffer issue, but are you sure the right eth device is up?

Sorry if you already thought of this; I'm a noob here.
Reply With Quote
  #3  
Old 8th September 2006, 07:41
joelee joelee is offline
Member
 
Join Date: Sep 2006
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I seem to have been able to resolve the above problem by restarting networking. For some reason, it appears that after running the step1 first command after it installs the listed packages networking is somehow disabled.

However, I am now running into 2 different problem. After running step 1, I observe the following error pertaining to mysql:

Setting up mysql-client (4.0.24-10sarge2) ...
Setting up mysql-server (4.0.24-10sarge2) ...
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld...failed.
Please take a look at the syslog.
[B]/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (12)'[B]
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!

Setting up php4 (4.3.10-16) ...

Setting up php4-mysql (4.3.10-16) ...

The other error I am running into is after I run the command:
> dpkg-buildpackage
I get see the following errors:

make: Leaving directory `/usr/src/postfix-2.1.5/src/postcat'
[src/postconf]
make: Entering directory `/usr/src/postfix-2.1.5/src/postconf'
awk -f extract.awk ../*/*.c
Inconsistency detected by ld.so: dl-minimal.c: 84: __libc_memalign: Assertion `page != ((void *) -1)' failed!
make: *** [time_vars.h] Broken pipe
make: *** Deleting file `time_vars.h'
make: Leaving directory `/usr/src/postfix-2.1.5/src/postconf'
make[1]: *** [update] Error 1
make[1]: Leaving directory `/usr/src/postfix-2.1.5'
make: *** [build] Error 2
mx1:/usr/src/postfix-2.1.5#

-Joe
Reply With Quote
  #4  
Old 8th September 2006, 19:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

I think all these problems are due to the fact that you run an OpenVZ system...

Quote:
Starting MySQL database server: mysqld...failed.
Please take a look at the syslog.
[b]/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (12)'[b]
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
What's in the logs? What's the output of
Code:
ls -la /var/run/mysqld
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 17:58
Postfix Problem rlhesson Installation/Configuration 2 9th August 2006 03:49
After Debian postfix / currior install, can not get external mail skdb Installation/Configuration 7 24th April 2006 10:06
Problem with postfix install ctroyp HOWTO-Related Questions 34 4th January 2006 14:10
postfix problem flourishing General 1 7th December 2005 17:39


All times are GMT +2. The time now is 02:19.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.