[Mageia-dev] systemd and non-systemd services question
Olivier Blin
mageia at blino.org
Thu Sep 27 21:04:09 CEST 2012
Colin Guthrie <mageia at colin.guthr.ie> writes:
>> Issuing "systemctl start oracle-xe.service" issues no output. Running it
>> under strace shows an execve for /bin/systemctl, and later on an execve
>> for /usr/bin/systemd-tty-ask-password-agent, but very little else, and
>> nothing that even hints at actually trying to execute any oracle code.
>
> Keep in mind that when running under strace, systemctl will be
> contacting PID 1 and asking it to start the service for you so you won't
> see any direct attempts to to start your service.
To debug an initscript, you can also use this option:
service --skip-redirect oracle-xe start
Or run it this way:
SYSTEMCTL_SKIP_REDIRECT=1 /etc/init.d/oracle-xe start
--
Olivier Blin - blino
More information about the Mageia-dev
mailing list