Chris Morley wrote:
> localhost postfix/master[1997]: fatal: bind 127.0.0.1 port 125: Permission
> denied
The two most common reasons a port can't be opened are insufficient
permissions (meaning it should run as root or setuid(root)) or the port
is already in use by another process, nmap and netstat will come in
handy to find that out.
Do an "nmap 127.0.0.1" and see if it reports port 125 to be in use. If
so use netstat to find out which process is using it. I found this cute
example to print out a nicely sorted list:
/bin/netstat -nlatp | grep tcp | grep LIST | awk '{print $4,$7}' | awk
-F: '{print $2}' | awk -F/ '{print $1,$2}' | awk '{print $1,$3}' | sort -nu
Try and start it by hand as root (I assume you use an init script or
similar to start it?), if that works then you know the cause,
insufficient permission.
Greetings,
Jeroen
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user