Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

After upgrade from 12.x to 13.1 apache doesn't start

$
0
0
Greetings,
After upgrading from OpenSuse 12.2 to 13.1, and getting all the updates, apache will not start with systemctl. It will, however, start if I issue the following command manually:

/usr/sbin/start_apache2 -D SYSTEMD -k start


According to the systemctl service file, this is the proper startup command.

What is worse is that systemctl sees it as a successful startup but status shows it as "dead".sidewinder:/etc/apache2 # systemctl start apache2

Code:

sidewinder:/etc/apache2 # systemctl status apache2
apache2.service - The Apache Webserver
  Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled)
  Active: inactive (dead) since Tue 2014-09-23 10:20:23 EDT; 3s ago
  Process: 22033 ExecStop=/usr/sbin/start_apache2 -D SYSTEMD -k graceful-stop (code=exited, status=0/SUCCESS)
  Process: 22014 ExecStart=/usr/sbin/start_apache2 -D SYSTEMD -k start (code=exited, status=0/SUCCESS)
 Main PID: 22014 (code=exited, status=0/SUCCESS)

Sep 23 10:20:23 sidewinder start_apache2[22033]: httpd (no pid file) not running
Sep 23 10:20:23 sidewinder systemd[1]: Started The Apache Webserver.

The "ps aux" command shows no running apache processes.

Once I issue the the "/usr/sbin/start_apache2 -D SYSTEMD -k start" command then "ps aux" shows running apache processes.

the /var/log/apache2/error.log shows:

Code:

[Tue Sep 23 10:20:23.000321 2014] [:notice] [pid 22014] ModSecurity for Apache/2.8.0 (http://www.modsecurity.org/) configured.
[Tue Sep 23 10:20:23.000480 2014] [:notice] [pid 22014] ModSecurity: APR compiled version="1.4.8"; loaded version="1.4.8"
[Tue Sep 23 10:20:23.000490 2014] [:notice] [pid 22014] ModSecurity: PCRE compiled version="8.33 "; loaded version="8.33 2013-05-28"
[Tue Sep 23 10:20:23.000500 2014] [:notice] [pid 22014] ModSecurity: LUA compiled version="Lua 5.2"
[Tue Sep 23 10:20:23.000506 2014] [:notice] [pid 22014] ModSecurity: LIBXML compiled version="2.9.1"
[Tue Sep 23 10:20:23.000511 2014] [:notice] [pid 22014] Status engine is currently disabled, enable it by set SecStatusEngine to On.

once the manual start command is given the log shows:

Code:

[Tue Sep 23 10:31:58.000430 2014] [:notice] [pid 22895] ModSecurity for Apache/2.8.0 (http://www.modsecurity.org/) configured.
[Tue Sep 23 10:31:58.000595 2014] [:notice] [pid 22895] ModSecurity: APR compiled version="1.4.8"; loaded version="1.4.8"
[Tue Sep 23 10:31:58.000605 2014] [:notice] [pid 22895] ModSecurity: PCRE compiled version="8.33 "; loaded version="8.33 2013-05-28"
[Tue Sep 23 10:31:58.000615 2014] [:notice] [pid 22895] ModSecurity: LUA compiled version="Lua 5.2"
[Tue Sep 23 10:31:58.000620 2014] [:notice] [pid 22895] ModSecurity: LIBXML compiled version="2.9.1"
[Tue Sep 23 10:31:58.000644 2014] [:notice] [pid 22895] Status engine is currently disabled, enable it by set SecStatusEngine to On.
[Tue Sep 23 10:31:59.063675 2014] [mpm_prefork:notice] [pid 22913] AH00163: Apache/2.4.6 (Linux/SUSE) OpenSSL/1.0.1i PHP/5.4.20 mod_fcgid/2.3.9 configured -- resuming normal operations
[Tue Sep 23 10:31:59.063759 2014] [core:notice] [pid 22913] AH00094: Command line: '/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SSL -D STATUS -D MAILMAN -D SYSTEMD'

No error messages that I can see.

Any suggestions on how to fix this?

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>