Displaying 8 results from an estimated 8 matches for "lsi_mrdsnmp".
Did you mean:
lsi_mrdsnmpd
2015 Dec 30
2
Systemd and systemd-sysv-generator
...l
> > OpenManage SysV scripts either.
> >
> >
>
> The generators all run automatically when systemd reloads config.
>
> The transient unit files created are in /var/run ...
>
Thanks.
I located a few generated ones in /var/run/systemd/generator.late/
But not one for lsi_mrdsnmpagent
> Best way to see this is using systemctl (status|cat|show) <servicename> ...
>
> I expect if you do this for your failing service you'll get a better
> understanding of what's going on.
~]# systemctl status lsi_mrdsnmp.service
? lsi_mrdsnmp.service
Loaded: not...
2015 Dec 30
2
Systemd and systemd-sysv-generator
...Best way to see this is using systemctl (status|cat|show) <servicename>
> > ...
> > >
> > > I expect if you do this for your failing service you'll get a better
> > > understanding of what's going on.
> >
> >
> > ~]# systemctl status lsi_mrdsnmp.service
> > ? lsi_mrdsnmp.service
> > Loaded: not-found (Reason: No such file or directory)
> > Active: inactive (dead)
> >
> > ~]# systemctl cat lsi_mrdsnmp.service
> > Unit lsi_mrdsnmp.service is not loaded: No such file or directory
> >
> > ~...
2015 Dec 29
3
Systemd and systemd-sysv-generator
On Tue, Dec 29, 2015 at 3:14 PM, Gordon Messmer <gordon.messmer at gmail.com>
wrote:
> On 12/29/2015 09:13 AM, Mike - st257 wrote:
>
>> ~]# /etc/init.d/lsi_mrdsnmpd start
>> Reloading systemd: [ OK ]
>> Starting lsi_mrdsnmpd (via systemctl): Failed to start
>> lsi_mrdsnmpd.service: Unit lsi_mrdsnmpd.service failed to load: No such
>> file or directory.
>>...
2015 Dec 30
2
Systemd and systemd-sysv-generator
...curiosity has the best of me ...
I would like to know why the SysV generator didn't do its job.
And I wasn't able to find any "generated" unit files from those Dell
OpenManage SysV scripts either.
> You may want to purge the sysv remnants.
>
> # cat /etc/systemd/system/lsi_mrdsnmpd.service
> [Unit]
> Description=LSI SNMP Agent startup/shutdown script
>
> Requires=network.target
> Requires=snmpd.service
>
> After=network.target
> After=snmpd.service
>
>
> [Service]
> Type=forking
> ExecStart=/etc/lsi_mrdsnmp/lsi_mrdsnmpagent -c /etc/snmp...
2015 Dec 30
0
Systemd and systemd-sysv-generator
...>
> > >
> >
> > The generators all run automatically when systemd reloads config.
> >
> > The transient unit files created are in /var/run ...
> >
>
> Thanks.
> I located a few generated ones in /var/run/systemd/generator.late/
> But not one for lsi_mrdsnmpagent
>
>
> > Best way to see this is using systemctl (status|cat|show) <servicename>
> ...
> >
> > I expect if you do this for your failing service you'll get a better
> > understanding of what's going on.
>
>
> ~]# systemctl status lsi_mrdsnm...
2015 Dec 30
0
Systemd and systemd-sysv-generator
...(status|cat|show)
> <servicename>
> > > ...
> > > >
> > > > I expect if you do this for your failing service you'll get a better
> > > > understanding of what's going on.
> > >
> > >
> > > ~]# systemctl status lsi_mrdsnmp.service
> > > ? lsi_mrdsnmp.service
> > > Loaded: not-found (Reason: No such file or directory)
> > > Active: inactive (dead)
> > >
> > > ~]# systemctl cat lsi_mrdsnmp.service
> > > Unit lsi_mrdsnmp.service is not loaded: No such file or d...
2015 Dec 29
6
Systemd and systemd-sysv-generator
...r 3 arguments (it tells me), but I didn't find clear
documentation on this binary.
And no arguments doesn't seem to fix the issue.
The particular software in question is LSI MegaRaid SNMP daemon.
I retrieved the latest version from LSI's site which was provided for EL7.
~]# systemctl lsi_mrdsnmpd.service start
Unknown operation 'lsi_mrdsnmpd.service'.
~]# service lsi_mrdsnmpd start
Reloading systemd: [ OK ]
Starting lsi_mrdsnmpd (via systemctl): Failed to start
lsi_mrdsnmpd.service: Unit lsi_mrdsnmpd.service failed to load: No such
file o...
2015 Dec 29
0
Systemd and systemd-sysv-generator
Instead of converting the sysv script, you could trivially write your own, the following
was tested against about 6 SNMP queries, the service stops and starts as expected.
You may want to purge the sysv remnants.
# cat /etc/systemd/system/lsi_mrdsnmpd.service
[Unit]
Description=LSI SNMP Agent startup/shutdown script
Requires=network.target
Requires=snmpd.service
After=network.target
After=snmpd.service
[Service]
Type=forking
ExecStart=/etc/lsi_mrdsnmp/lsi_mrdsnmpagent -c /etc/snmp/snmpd.conf
[Install]
WantedBy=multi-user.target
hth,
jlc