What should I start troubleshooting when postfix will not stay running:
[root@mercury ssl]# service postfix start Starting postfix: [ OK ] [root@mercury ssl]# service postfix status master is stopped [root@mercury ssl]#
Thanks!
2010/10/18 Dotan Cohen dotancohen@gmail.com:
What should I start troubleshooting when postfix will not stay running:
[root@mercury ssl]# service postfix start Starting postfix: [ OK ] [root@mercury ssl]# service postfix status master is stopped [root@mercury ssl]#
check out logs..
-- Eero
On Sun, Oct 17, 2010 at 23:17, Eero Volotinen eero.volotinen@iki.fi wrote:
check out logs..
Thanks, Eero, I know that should be the first step always! It turns out that: Oct 17 23:12:47 mercury postfix/postfix-script: starting the Postfix mail system Oct 17 23:12:47 mercury postfix/master[30770]: fatal: bind 127.0.0.1 port 25: Address already in use
Which led me to: [root@mercury log]# netstat -anp --tcp --udp | grep LISTEN | grep 25 tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2870/exim
Stopping exim let me start postfix. Thanks!
At Sun, 17 Oct 2010 23:29:18 +0200 CentOS mailing list centos@centos.org wrote:
On Sun, Oct 17, 2010 at 23:17, Eero Volotinen eero.volotinen@iki.fi wrote:
check out logs..
Thanks, Eero, I know that should be the first step always! It turns out that: Oct 17 23:12:47 mercury postfix/postfix-script: starting the Postfix mail system Oct 17 23:12:47 mercury postfix/master[30770]: fatal: bind 127.0.0.1 port 25: Address already in use
Which led me to: [root@mercury log]# netstat -anp --tcp --udp | grep LISTEN | grep 25 tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2870/exim
Stopping exim let me start postfix. Thanks!
Quoting from "Highlander": "There can be only one." For any given service (SMTP in this case), there can be only one listener. One cannot run two MTAs at the same time (unless one is using a non-standard port for one).
On Sun, Oct 17, 2010 at 23:57, Robert Heller heller@deepsoft.com wrote:
Quoting from "Highlander": "There can be only one."
I have to read that! I'm in the middle of Dune now...
For any given service (SMTP in this case), there can be only one listener. One cannot run two MTAs at the same time (unless one is using a non-standard port for one).
Actually, this server has four IP addresses: one each on eth0, eth0:0, eth0:1, and eth0:2. Would it be possible to run an arbitrary service (it's actually a Java-based game server) on port 80 on one IP address, and Apache on port 80 on another IP address?
On Mon, Oct 18, 2010 at 12:30:11AM +0200, Dotan Cohen wrote:
On Sun, Oct 17, 2010 at 23:57, Robert Heller heller@deepsoft.com wrote:
Quoting from "Highlander": "There can be only one."
I have to read that! I'm in the middle of Dune now...
This was actually best known as a movie--I reckon most of you are too young. Hrrm, there was a TV show afterwards, too.
While there's probably a book adaptation, the movie was the first well known version.
http://www.imdb.com/title/tt0091203/
Sorry for off-topic.
On Mon, Oct 18, 2010 at 01:33, Scott Robbins scottro@nyc.rr.com wrote:
On Mon, Oct 18, 2010 at 12:30:11AM +0200, Dotan Cohen wrote:
On Sun, Oct 17, 2010 at 23:57, Robert Heller heller@deepsoft.com wrote:
Quoting from "Highlander": "There can be only one."
I have to read that! I'm in the middle of Dune now...
This was actually best known as a movie--I reckon most of you are too young. Hrrm, there was a TV show afterwards, too.
I had heard of the movie, but I prefer books to movies/TV and just assumed that there would be a book. Is 33 too young for that?
At Mon, 18 Oct 2010 00:30:11 +0200 CentOS mailing list centos@centos.org wrote:
On Sun, Oct 17, 2010 at 23:57, Robert Heller heller@deepsoft.com wrote:
Quoting from "Highlander": "There can be only one."
I have to read that! I'm in the middle of Dune now...
For any given service (SMTP in this case), there can be only one listener. One cannot run two MTAs at the same time (unless one is using a non-standard port for one).
Actually, this server has four IP addresses: one each on eth0, eth0:0, eth0:1, and eth0:2. Would it be possible to run an arbitrary service (it's actually a Java-based game server) on port 80 on one IP address, and Apache on port 80 on another IP address?
Possible, but it would require some trickyness in the config files to limit the services to only listen on certain IP addresses.
On 10/17/10 5:30 PM, Dotan Cohen wrote:
On Sun, Oct 17, 2010 at 23:57, Robert Hellerheller@deepsoft.com wrote:
Quoting from "Highlander": "There can be only one."
I have to read that! I'm in the middle of Dune now...
For any given service (SMTP in this case), there can be only one listener. One cannot run two MTAs at the same time (unless one is using a non-standard port for one).
Actually, this server has four IP addresses: one each on eth0, eth0:0, eth0:1, and eth0:2. Would it be possible to run an arbitrary service (it's actually a Java-based game server) on port 80 on one IP address, and Apache on port 80 on another IP address?
You can use specific 'Listen' directives for apache instead of the usual *:80. The java app will probably have an equivalent config or command line option.
On Mon, Oct 18, 2010 at 05:45, Les Mikesell lesmikesell@gmail.com wrote:
You can use specific 'Listen' directives for apache instead of the usual *:80. The java app will probably have an equivalent config or command line option.
Thanks, Les, that is what I needed to know. The JAva app is all custom code, so we will need to add the "Listen" equivalent ourselves. I just assumed that there would be some way to do it at the OS level.