LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   postfix is simply refusing to run (https://www.linuxquestions.org/questions/linux-server-73/postfix-is-simply-refusing-to-run-4175414310/)

thewebportfolio 07-01-2012 02:49 PM

I typed that in but i just get the following

Quote:

bash-3.2$ netstat -tapln
netstat: ln: unknown or uninstrumented protocol

thewebportfolio 07-01-2012 03:53 PM

Hello,

Sorry it was me doing it wrong with the inputs, i lost my ssh connection and was doing it via my local machine here.

below are the inputs and outputs

# netstat -tapln
Quote:

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:199 0.0.0.0:* LISTEN 5147/snmpd
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 25624/mysqld
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2701/portmap
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 11839/perl
tcp 0 0 127.0.0.1:10001 0.0.0.0:* LISTEN 21702/python
tcp 0 0 88.208.245.48:53 0.0.0.0:* LISTEN 18045/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 18045/named
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 9238/vsftpd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 5529/sshd
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 18045/named
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 12259/sendmail
tcp 0 0 88.208.245.48:10000 86.148.235.192:55177 ESTABLISHED 9474/backup.cgi
tcp 1 0 88.208.245.48:10000 86.148.235.192:55030 CLOSE_WAIT 12172/backup.cgi
tcp 0 0 88.208.245.48:22 86.148.235.192:59948 ESTABLISHED 27187/sshd
tcp 1 0 88.208.245.48:10000 86.148.235.192:51456 CLOSE_WAIT 31965/index.cgi
tcp 1 0 88.208.245.48:10000 86.148.235.192:53033 CLOSE_WAIT 20870/index.cgi
tcp 0 1968 88.208.245.48:22 86.148.235.192:55903 ESTABLISHED 21313/sshd
tcp 0 0 :::80 :::* LISTEN 7011/httpd
tcp 0 0 :::22 :::* LISTEN 5529/sshd
tcp 0 0 ::1:953 :::* LISTEN 18045/named
# netstat -tanpl|grep 25
Quote:

tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 25624/mysqld
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 12259/sendmail

# ps -ef|grep sendmail
Quote:

root 3433 22068 0 21:52 pts/4 00:00:00 grep sendmail
root 12259 1 0 Jun28 ? 00:00:00 sendmail: accepting connections
smmsp 12261 1 0 Jun28 ? 00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue

#ps -ef|grep postfix
Quote:

root 15912 22068 0 21:53 pts/4 00:00:00 grep postfix

Hope this helps

lithos 07-01-2012 04:06 PM

Quote:

Originally Posted by thewebportfolio (Post 4716578)
Hello,

Sorry it was me doing it wrong with the inputs, i lost my ssh connection and was doing it via my local machine here.

below are the inputs and outputs


# netstat -tanpl|grep 25
Code:

tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 12259/sendmail
Hope this helps

Yes, actually.

So you/we can see it's "sendmail" it is running.
Stop it and try restart "postfix"
Code:

# service sendmail stop
# service postfix restart


thewebportfolio 07-01-2012 04:16 PM

Wow, that was easy! THANK YOU! + do you possibly know about the PostFixAdmin?

http://example.com/PostFixAdmin -> I've followed these instructions http://wiki.mediatemple.net/w/(ve):I..._Postfix_Admin upto where i should see a setup.php page at http://mydomain.co.uk/PostFixAdmin/setup.php

All i get is a blank (white) page - no errors or anything

THANK YOU + Hope you can advise accordingly to this :)

lithos 07-02-2012 01:03 AM

Hi,

I'm glad it worked out.
If you feel that this is solved, could you mark the thread as solved (you can read my signature about how) ?

And regarding your following question, well, I could say I do, but I have never done it myself.

It would be better for you to start new thread with the question and link to this thread.


All times are GMT -5. The time now is 05:51 PM.