[opensuse] systemd: Unit file of created job changed on disk ?
I have no idea what this means: # rcsnmpd start redirecting to systemctl Warning: Unit file of created job changed on disk, 'systemctl --system daemon-reload' recommended. a) what does "Unit file of created job changed on disk" mean? Google has no good answers. b) the snmpd daemon didn't start, I can't see why. Where did the error messages go? I can't find anything related in /var/log/* -- Per Jessen, Zürich (5.6°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Per Jessen wrote:
I have no idea what this means:
# rcsnmpd start redirecting to systemctl Warning: Unit file of created job changed on disk, 'systemctl --system daemon-reload' recommended.
a) what does "Unit file of created job changed on disk" mean? Google has no good answers. b) the snmpd daemon didn't start, I can't see why. Where did the error messages go? I can't find anything related in /var/log/*
Nobody knows? Most important is b) - apart from running the init-script from /etc/init.d, how do I get to see the error-messages? -- Per Jessen, Zürich (2.4°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/16/2011 04:31 PM, Per Jessen wrote:
I have no idea what this means:
# rcsnmpd start redirecting to systemctl Warning: Unit file of created job changed on disk, 'systemctl --system daemon-reload' recommended.
Run the command, you need to tell systemd that the new file should be parsed.
a) what does "Unit file of created job changed on disk" mean? Google has no good answers.
Please man systemctl
b) the snmpd daemon didn't start, I can't see why. Where did the error messages go? I can't find anything related in /var/log/*
run systemctl status snmpd.status after reloading the files, Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Andreas Jaeger wrote:
On 11/16/2011 04:31 PM, Per Jessen wrote:
I have no idea what this means:
# rcsnmpd start redirecting to systemctl Warning: Unit file of created job changed on disk, 'systemctl --system daemon-reload' recommended.
Run the command, you need to tell systemd that the new file should be parsed.
I'm sorry, I don't understand - I didn't change anything? I just want to start the daemon. -- Per Jessen, Zürich (3.3°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Andreas Jaeger wrote:
b) the snmpd daemon didn't start, I can't see why. Where did the error messages go? I can't find anything related in /var/log/*
run systemctl status snmpd.status after reloading the files,
Okay, I did a "systemctl --system daemon-reload", then I did: temp65:/etc/xen # systemctl status snmpd.status Failed to issue method call: Unit name snmpd.status is not valid. temp65:/etc/xen # systemctl status snmpd Failed to issue method call: Unit name snmpd is not valid. "rcsnmpd start" still doesn't start snmpd. As it happens, I know why, but I want to understand how to get to the information. Surely there is a log or something? -- Per Jessen, Zürich (3.4°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Per Jessen wrote:
Andreas Jaeger wrote:
b) the snmpd daemon didn't start, I can't see why. Where did the error messages go? I can't find anything related in /var/log/*
run systemctl status snmpd.status after reloading the files,
Okay, I did a "systemctl --system daemon-reload", then I did:
temp65:/etc/xen # systemctl status snmpd.status Failed to issue method call: Unit name snmpd.status is not valid. temp65:/etc/xen # systemctl status snmpd Failed to issue method call: Unit name snmpd is not valid.
Okay, I found it: temp65:/etc/init.d # systemctl status snmpd.service snmpd.service - LSB: Net-SNMP snmpd Loaded: loaded (/etc/init.d/snmpd) Active: active (exited) since Mon, 21 Nov 2011 16:44:07 +0100; 17h ago CGroup: name=systemd:/system/snmpd.service It doesn't exactly give me the information though? -- Per Jessen, Zürich (3.4°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/22/2011 10:17 AM, Per Jessen wrote:
Per Jessen wrote:
Andreas Jaeger wrote:
b) the snmpd daemon didn't start, I can't see why. Where did the error messages go? I can't find anything related in /var/log/*
run systemctl status snmpd.status after reloading the files,
Okay, I did a "systemctl --system daemon-reload", then I did:
temp65:/etc/xen # systemctl status snmpd.status Failed to issue method call: Unit name snmpd.status is not valid. temp65:/etc/xen # systemctl status snmpd Failed to issue method call: Unit name snmpd is not valid.
Okay, I found it:
Sorry for the typo.
temp65:/etc/init.d # systemctl status snmpd.service snmpd.service - LSB: Net-SNMP snmpd Loaded: loaded (/etc/init.d/snmpd) Active: active (exited) since Mon, 21 Nov 2011 16:44:07 +0100; 17h ago CGroup: name=systemd:/system/snmpd.service
It doesn't exactly give me the information though?
It tells you that it has excited but does not give a reason. so, what are the log files (/var/log/*snmp*, /var/log/messages) saying? Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Andreas Jaeger wrote:
temp65:/etc/init.d # systemctl status snmpd.service snmpd.service - LSB: Net-SNMP snmpd Loaded: loaded (/etc/init.d/snmpd) Active: active (exited) since Mon, 21 Nov 2011 16:44:07 +0100; 17h ago CGroup: name=systemd:/system/snmpd.service
It doesn't exactly give me the information though?
It tells you that it has excited but does not give a reason. so, what are the log files (/var/log/*snmp*, /var/log/messages) saying?
Nothing - snmpd has not yet been started, so there is not yet a logfile (/var/log/net-snmpd.log), and nothing in /var/log/messages. Only if I run the init-script from /etc/init.d do I get to see the errors. That is a bit cumbersome, is there no systemd logfile? -- Per Jessen, Zürich (3.7°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tuesday, November 22, 2011 17:29:11 Per Jessen wrote:
Andreas Jaeger wrote:
temp65:/etc/init.d # systemctl status snmpd.service snmpd.service - LSB: Net-SNMP snmpd
Loaded: loaded (/etc/init.d/snmpd) Active: active (exited) since Mon, 21 Nov 2011 16:44:07 +0100; 17h
ago
CGroup: name=systemd:/system/snmpd.service
It doesn't exactly give me the information though?
It tells you that it has excited but does not give a reason. so, what are the log files (/var/log/*snmp*, /var/log/messages) saying?
Nothing - snmpd has not yet been started, so there is not yet a logfile (/var/log/net-snmpd.log), and nothing in /var/log/messages.
Only if I run the init-script from /etc/init.d do I get to see the errors. That is a bit cumbersome, is there no systemd logfile?
Could you file a bugreport and tell me (privately) the number? Let's look closer at this. Please attach the output of the init-script, Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Andreas Jaeger
-
Per Jessen