On Tue, Apr 26, 2016 at 1:14 PM, Per Jessen <per@computer.org> wrote:
Bjoern Voigt wrote:
Per Jessen wrote:
Per Jessen wrote:
According to what Björn posted, the init script worked before the update, and the diff shows no significant changes. Anyway, Björn wanted to know how to debug this -
"systemctl status service" will tell you how systemd sees things. That ought to be a good place to start. for LSB services, "systemctl status" does not tell us if a service is enabled or disabled, so please also run "chkconfig altairlmxd".
Sorry, I switched from Leap 42.1 to Tumbleweed because I currently can't test the Leap 42.1 server.
They are quite different animals.
Directly after installation I have:
# systemctl status altairlmxd ● altairlmxd.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead)
That's clearly not good. It ought to find your init script in /etc/init.d/altairlmxd.
No. systemd looks for unit definitions only on startup or when explicitly told to do so by "systemctl daemon-reload". Native RPM packages know it and call daemon-reload when they install/remove services. Apparently this installer does not do it.
# chkconfig altairlmxd altairlmxd 5
I guess this means "only when the server reaches runlevel 5", but I'm not sure.
You are correct. If service starts in more than one run-level it shows "on" and you need to use "chkconfig --list service" to see all of them.
[snip - looks good]
# systemctl status altairlmxd ● altairlmxd.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead)
Well, that is the problem, at least on TW.
No, it is not. This is not native service, so systemctl redirected to chkconfig. For native services "systemctl enable" also implicitly calls daemon-reload, thus making new service known to systemd. For legacy initscripts it does not do it. Arguably it is a bug and warrants bugzilla.
I guess you have checked that "/etc/init.d/altairlmxd" does in fact exist and is executable? (grasping at straws).
# chkconfig altairlmxd altairlmxd 5
The Leap 42.1 system runs without GUI (runlevel 3). But the license manager seems to run only at runlevel 5.
Uh, the script you showed us said "Default-Start: 3 5", so it ought to start in runlevel 3, except the init script isn't found.
-- Per Jessen, Zürich (10.9°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org