[opensuse] upgrate from 12.3 to 13.1, apaches problems
Hello, I just upgraded my server from 12.3 to 13.1 following the instructions there: http://en.opensuse.org/SDB:System_upgrade at the reboot, the server didn't reboot (no ssh, no ping). I could do a hard reboot with the provider kernel and netboot system. Aoache did not run. apache2ctl restart flagged some minor errors: * in default-server.conf the "apache2-manual?conf" did not fit. I commented it out (no such file anyway); * some options in local.conf kept "+" that is deprecated * warning than NameVirtualHost have no effect and will be removed. I igored this one. after that: * apache2ctl restart starts the server and as far as I can see the server works normally, but * systemctl restaret apache.service do *not* start the apache server and gives: s311900:~/htdocs # systemctl status apache2.service apache2.service - The Apache Webserver Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled) Active: inactive (dead) since mar. 2014-05-27 12:47:25 CEST; 3s ago Process: 7503 ExecStop=/usr/sbin/start_apache2 -D SYSTEMD -DFOREGROUND -k graceful-stop (code=exited, status=0/SUCCESS) Process: 7485 ExecStart=/usr/sbin/start_apache2 -D SYSTEMD -DFOREGROUND -k start (code=exited, status=0/SUCCESS) Main PID: 7485 (code=exited, status=0/SUCCESS) mai 27 12:47:25 ks311900 start_apache2[7485]: Module "imagemap" is not installed, ignoring. mai 27 12:47:25 ks311900 start_apache2[7485]: Check the APACHE_MODULES setting in /etc/sysconfig/apache2. mai 27 12:47:25 ks311900 start_apache2[7485]: AH00548: NameVirtualHost has no effect and will be removed ...f:20 mai 27 12:47:25 ks311900 start_apache2[7485]: httpd (pid 6609) already running mai 27 12:47:25 ks311900 start_apache2[7503]: Module "imagemap" is not installed, ignoring. mai 27 12:47:25 ks311900 start_apache2[7503]: Check the APACHE_MODULES setting in /etc/sysconfig/apache2. mai 27 12:47:25 ks311900 start_apache2[7503]: AH00548: NameVirtualHost has no effect and will be removed ...f:20 mai 27 12:47:25 ks311900 systemd[1]: Started The Apache Webserver. Hint: Some lines were ellipsized, use -l to show in full. but apache do not run then ks311900:~/htdocs # apache2ctl restart AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/vhosts.d/local.conf:20 httpd not running, trying to start and runs ok. what is that?? "ignoring" should not prevent loading? do know where to find imagemap module (a2enmod says it's installed) thanks jdd -- http://www.dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Op dinsdag 27 mei 2014 13:07:46 schreef jdd:
Hello,
I just upgraded my server from 12.3 to 13.1 following the instructions there:
http://en.opensuse.org/SDB:System_upgrade
at the reboot, the server didn't reboot (no ssh, no ping).
I could do a hard reboot with the provider kernel and netboot system.
Aoache did not run.
The problem is that apache went from 2.2 to 2.4 which has some major changes. See http://httpd.apache.org/docs/2.4/upgrading.html for more information. -- fr.gr. member openSUSE Freek de Kruijf -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 27/05/2014 14:29, Freek de Kruijf a écrit :
The problem is that apache went from 2.2 to 2.4 which has some major changes. See http://httpd.apache.org/docs/2.4/upgrading.html for more information.
for the errors, yes, thank you driving me to the right page where I could fix them, but do not solve the systemctl problem with apache2ctl: apache2ctl restart httpd not running, trying to start and run perfectly, but if I start it with systemctl start apache2.service I have: systemctl status apache2.service apache2.service - The Apache Webserver Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled) Active: inactive (dead) since mar. 2014-05-27 17:52:10 CEST; 4s ago Process: 17439 ExecStop=/usr/sbin/start_apache2 -D SYSTEMD -DFOREGROUND -k graceful-stop (code=exited, status=0/SUCCESS) Process: 17421 ExecStart=/usr/sbin/start_apache2 -D SYSTEMD -DFOREGROUND -k start (code=exited, status=0/SUCCESS) Main PID: 17421 (code=exited, status=0/SUCCESS) mai 27 17:52:10 ks311900 start_apache2[17421]: httpd (pid 17264) already running mai 27 17:52:10 ks311900 systemd[1]: Started The Apache Webserver. and the server is killed what happend?? thanks jdd -- http://www.dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
script collision - flagged by a forum moderator (https://forums.opensuse.org/showthread.php/498348-upgrading-from-12-3-to-13-...) summary: apache2ctl start starts the system after that, systemctl restart apache.service gives the message published, and let apache stopped (despite the message saying it's running). but apache2ctl stop systemctl start apache.service gives a running system. that's curious. but the better is that all works thanks again jdd -- http://www.dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
jdd wrote:
script collision - flagged by a forum moderator
(https://forums.opensuse.org/showthread.php/498348-upgrading-from-12-3-to-13-...)
summary:
apache2ctl start
Why do you use this instead of the systemctl start? (just curious, I've never used apache2ctl). -- Per Jessen, Zürich (12.6°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 28/05/2014 12:15, Per Jessen a écrit :
apache2ctl start
Why do you use this instead of the systemctl start? (just curious, I've never used apache2ctl).
it gives a pretty fine summary of syntax problems in a very easy to manage way http://httpd.apache.org/docs/2.2/programs/apachectl.html apache2ctl configtest is enough, but start/restart allow to verify if the server is available jdd -- http://www.dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 28.05.2014 12:26, schrieb jdd:
Le 28/05/2014 12:15, Per Jessen a écrit :
apache2ctl start
Why do you use this instead of the systemctl start? (just curious, I've never used apache2ctl).
it gives a pretty fine summary of syntax problems in a very easy to manage way
http://httpd.apache.org/docs/2.2/programs/apachectl.html
apache2ctl configtest
is enough, but start/restart allow to verify if the server is available
jdd
jdd, are you able to reload settings vie systemctl or do you have to use "apache2ctl -k graceful"? I'm just asking as I'm using a backported apache 2.4 on an opensuse 12.1 and seeing similar issues. Best regards, Johannes -- Johannes Weberhofer Weberhofer GmbH, Austria, Vienna -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 28/05/2014 15:37, Johannes Weberhofer a écrit :
are you able to reload settings vie systemctl or do you have to use "apache2ctl -k graceful"? I'm just asking as I'm using a backported apache 2.4 on an opensuse 12.1 and seeing similar issues.
if you start apache with apache2ctl, you have to stop it with the same utility *before* being able to load it with systemctl jdd -- http://www.dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Freek de Kruijf
-
jdd
-
Johannes Weberhofer
-
Per Jessen