Results 11 to 20 of 23
SELinux is actually disabled....
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-13-2013 #11Just Joined!
- Join Date
- May 2011
- Posts
- 15
SELinux is actually disabled.
- 02-13-2013 #12Linux Enthusiast
- Join Date
- Apr 2012
- Location
- Virginia, USA
- Posts
- 561
Also, you might have some problem in one of your config files. Try stopping apache and restarting it. If there is a problem, apache will fail to start and complain about why (which should lead you to the problem).
Also, check the logs for any helpful information at /var/log/httpd/error.log
- 02-13-2013 #13Just Joined!
- Join Date
- May 2011
- Posts
- 15
Replying with apachectl restart works fine.
The log says this minus a few repeated lines about the syntax error being erased:
[Wed Feb 13 16:22:59 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Feb 13 16:22:59 2013] [notice] Digest: generating secret for digest authentication ...
[Wed Feb 13 16:22:59 2013] [notice] Digest: done
[Wed Feb 13 16:22:59 2013] [warn] pid file /etc/httpd/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Feb 13 16:22:59 2013] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal operations
PHP: syntax error, unexpected '&' in /etc/php.ini on line 114
[Wed Feb 13 16:23:01 2013] [notice] SIGHUP received. Attempting to restart
[Wed Feb 13 16:23:01 2013] [notice] Digest: generating secret for digest authentication ...
[Wed Feb 13 16:23:01 2013] [notice] Digest: done
[Wed Feb 13 16:23:02 2013] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal operations
[Wed Feb 13 16:35:37 2013] [error] [client 180.76.5.167] File does not exist: /var/www/html/its/robots.txt
PHP: syntax error, unexpected '&' in /etc/php.ini on line 114
[Wed Feb 13 16:43:33 2013] [notice] SIGHUP received. Attempting to restart
[Wed Feb 13 16:43:33 2013] [notice] Digest: generating secret for digest authentication ...
[Wed Feb 13 16:43:33 2013] [notice] Digest: done
[Wed Feb 13 16:43:33 2013] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal operations
- 02-13-2013 #14Linux Enthusiast
- Join Date
- Apr 2012
- Location
- Virginia, USA
- Posts
- 561
Do you mean to say it's working now?Replying with apachectl restart works fine.
- 02-13-2013 #15Just Joined!
- Join Date
- May 2011
- Posts
- 15
No sorry. I meant I can restart with no errors or warnings that way.
- 02-13-2013 #16Linux Enthusiast
- Join Date
- Apr 2012
- Location
- Virginia, USA
- Posts
- 561
Right. Try fully stopping apache with
service httpd stop
And then restarting it
service httpd start
Sometimes this will uncover errors that will not show during 'restart'
Also, make sure you're trying to access the site via whatever hostname is used in your cert, and that same name is set correctly in your virtual host .conf file
ServerName example.org
- 02-13-2013 #17Just Joined!
- Join Date
- May 2011
- Posts
- 15
No issues initially, but I did discover (I didn't set this server up. I inherited it) that there is an ssl.conf file and an httpd.conf file that both have this line
SSLCertificateKeyFile /etc/pki/tls/private/ca.key
I changed it to the new key in the httpd.conf and everything was fine. When I changed it in ssl.conf it broke again.
Also I think I may have reran the generic key making process after I got the files from register.com with their key. Would that affect anything?
- 02-13-2013 #18Linux Enthusiast
- Join Date
- Apr 2012
- Location
- Virginia, USA
- Posts
- 561
Well, it would over write your register.com ssl with another self signed one, if you did those steps again.
- 02-13-2013 #19Just Joined!
- Join Date
- May 2011
- Posts
- 15
I couldn't remember if I had to submit part of that to them for the creation of the certificate and if that would mess things up by redoing it.
- 02-13-2013 #20Linux Enthusiast
- Join Date
- Apr 2012
- Location
- Virginia, USA
- Posts
- 561
Their FAQ that you linked to said that
So, you might be able to download it from them.Note: Your private key is a file created when you generated your CSR. If you had Register.com create your CSR for you, your Private Key will be available for download along with your Certificate(s).Last edited by mizzle; 02-13-2013 at 04:57 PM.


Reply With Quote
