[opensuse-factory] rcapache2 start message is ambiguous using systemd
I have installed 12.1 RC1 and trying to test my webapp on it. When I trying to start apache2 with: #rcapache2 start i've gjt message: redirecting to systemctl Job failed. See system logs and 'systemctl status' for details. however when i run 'systemctl status' as proposed, I've got just: Too few arguments. I suggest that there is an error in my apache configuration, but how I can find what exactly wrong? With old SySV init apache init script just printed error message from apache, how I can get this error message output now? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 11/03/2011 06:02 AM, Vitaliy Tomin wrote:
I have installed 12.1 RC1 and trying to test my webapp on it. When I trying to start apache2 with: #rcapache2 start
i've gjt message: redirecting to systemctl Job failed. See system logs and 'systemctl status' for details.
however when i run 'systemctl status' as proposed, I've got just: Too few arguments.
I suggest that there is an error in my apache configuration, but how I can find what exactly wrong? With old SySV init apache init script just printed error message from apache, how I can get this error message output now?
I don't know if it's a good ideas to have a start/stop script digging in configuration and telling you what's wrong. Didn't you try your configuration after making a change apache2ctl -t (-DSSL) apache2ctl is the tool to check your configuration -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch openSUSE Member & Ambassador GPG KEY : D5C9B751C4653227 irc: tigerfoot -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Vitaliy Tomin wrote:
I have installed 12.1 RC1 and trying to test my webapp on it. When I trying to start apache2 with: #rcapache2 start
i've gjt message: redirecting to systemctl Job failed. See system logs and 'systemctl status' for details.
however when i run 'systemctl status' as proposed, I've got just: Too few arguments.
I suggest that there is an error in my apache configuration, but how I can find what exactly wrong? With old SySV init apache init script just printed error message from apache, how I can get this error message output now?
It used to be in /var/log/apache2/rcapache2.out, I don't know if we should still expect to find it there. -- Per Jessen, Zürich (7.2°C) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On donderdag 3 november 2011 06:02:20 Vitaliy Tomin wrote:
I have installed 12.1 RC1 and trying to test my webapp on it. When I trying to start apache2 with: #rcapache2 start
i've gjt message: redirecting to systemctl Job failed. See system logs and 'systemctl status' for details.
however when i run 'systemctl status' as proposed, I've got just: Too few arguments.
The proper command is "systemctl status apache2.service". To start the service you change status in start and to stop, I leave that to you. -- fr.gr. Freek de Kruijf -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
Bruno Friedmann
-
Freek de Kruijf
-
Per Jessen
-
Vitaliy Tomin