On 27.Mai.2013, at 10:15, HAJJ CHEHADE, Ahmad wrote:

> I am trying to run 2 instances of apache on centos since 2 weeks with no 
> lucks :S, exactly on the same IP address but different port.
> I've set up two configuration as follow:
> /etc/httpd and /etc/httpd2, and I duplicated the httpd service, so now I have 
> 2 httpd service each one run an httpd conf.
> 
> Now when I am trying to restart the first httpd service, it give the following
> httpd: Could not reliably determine the server's fully qualified domain name, 
> using 127.0.0.1 for ServerName
> but the status is OK. And when I try to restart the httpd2 service, it give 
> the same error with a failed status.
> Some internet research told that I have to put a serverName in httpd.conf 
> (server name was commented) so I change it with the hostname of my VM.
> 
> Now when I try to restart httpd2 the error message disappear, but his status 
> is always failed.

selinux maybe? have a look at /var/log/audit/auditd.log while starting httpd2.
-- 
Markus
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to