0
Not a bug

nfs plugin missing dependancy

Sven van hees 11 years ago updated by Eugene Pankov (Project coordinator) 10 years ago 11
Hello,

I just reinstalled my server after I noticed ajenti.org is back online to start with a clean slate.I installed in successfully but the nfs export s saying it's missing a dependency(nfsstat).

I tried to use apt-get install nfsstat but that didn't work. Then I saw that nfsstat was part of nfs-common which I already have installed.

I hope you guys have a solution.

Answer

Answer
Not a bug

Can you check that nfsstat is really available please (which nfsstat)

When I type "nfsstat" this is the response I get;


Server rpc stats:
calls  badcalls  badclnt  badauth  xdrcall
0  0  0  0  0

Client rpc stats:
calls  retrans  authrefrsh
0  0  0

You need to type 'which nfsstat'.

Also, did you first install nfs-common or ajenti? In case of latter, you need to restart Ajenti after installing dependent software.

My bad, I thought you asked which nfsstat... Anyways, it's returning /usr/sbin/sfsstat

Also, nfs-common was installed before ajenti. I did owever restarted the machine and the ajenti service multiple times just to be sure, but still no luck.


btw, thank you for your fast response!

Could you please do following:

sudo service ajenti stop

sudo ajenti-panel


and check if the line like following is present


29.10.2013 15:47 WARN   *** [exports] skipping due to BinaryDependency (nfsstat)


The line was not present, see the output: 29.10.2013 16:53 INFO Using config file /etc/ajenti/config.json 29.10.2013 16:53 INFO Ajenti starting in foreground 29.10.2013 16:53 INFO registered crypt handler 'sha512_crypt': 29.10.2013 16:53 INFO Ajenti 1.1.9.3 running on platform: debian 29.10.2013 16:53 WARN *** [squid] skipping due to BinaryDependency (squid3) 29.10.2013 16:53 WARN *** [smartctl] skipping due to BinaryDependency (smartct l) 29.10.2013 16:53 WARN *** [nsd] skipping due to BinaryDependency (nsd) 29.10.2013 16:53 WARN *** [lm-sensors] skipping due to BinaryDependency (senso rs) 29.10.2013 16:53 WARN *** [elements] Plugin error: format error 29.10.2013 16:53 WARN *** [megaraid] skipping due to FileDependency (/opt/Mega RAID/MegaCli/MegaCli) 29.10.2013 16:53 WARN *** [mysql] skipping due to BinaryDependency (mysql) 29.10.2013 16:53 WARN *** [samba] skipping due to BinaryDependency (smbd) 29.10.2013 16:53 WARN *** [psql] skipping due to BinaryDependency (psql) 29.10.2013 16:53 WARN *** [netatalk] skipping due to BinaryDependency (afpd) 29.10.2013 16:53 WARN *** [dhcpd] skipping due to BinaryDependency (dhcpd) 29.10.2013 16:53 WARN *** [supervisor] skipping due to BinaryDependency (super visord) 29.10.2013 16:53 WARN *** [raid] skipping due to BinaryDependency (mdadm) 29.10.2013 16:53 WARN *** [nginx] skipping due to BinaryDependency (nginx) 29.10.2013 16:53 WARN *** [ctdb] skipping due to BinaryDependency (ctdb) 29.10.2013 16:53 WARN *** [bind9] skipping due to BinaryDependency (named) 29.10.2013 16:53 WARN *** [apache] skipping due to BinaryDependency (apache2) 29.10.2013 16:53 WARN *** [openvpn] skipping due to BinaryDependency (openvpn) 29.10.2013 16:53 WARN *** [hddtemp] skipping due to BinaryDependency (hddtemp) 29.10.2013 16:53 WARN *** [apcups] skipping due to BinaryDependency (apcaccess ) 29.10.2013 16:53 WARN *** [memcache] skipping due to BinaryDependency (memcach ed) 29.10.2013 16:53 WARN *** [munin] skipping due to BinaryDependency (munin-cron ) 29.10.2013 16:53 WARN *** [ltfs] Plugin error: format error 29.10.2013 16:53 INFO Starting SSL tunnel for port 49828 29.10.2013 16:53 INFO SSL tunnel running fine 29.10.2013 16:53 INFO Starting server on (u'127.0.0.1', 49828) 29.10.2013 16:53 INFO Starting new HTTP connection (1): meta.ajenti.org

but do you still see that it's missing a dependency(nfsstat)?

I don't know what it was but it is working now... Thank you for your support sir.

Answer
Not a bug

Can you check that nfsstat is really available please (which nfsstat)

Hi Again,

How can these WARN be fixed please?



[root@MYSERVER ~]# sudo ajenti-panel
10.08.2014 17:47 INFO Using config file /etc/ajenti/config.json
10.08.2014 17:47 INFO Ajenti starting in foreground
10.08.2014 17:47 INFO registered crypt handler 'sha512_crypt': <class 'passlib.handlers.sha2_crypt.sha512_crypt'>
10.08.2014 17:47 INFO Ajenti 1.2.22.6 running on platform: centos
10.08.2014 17:47 WARN *** [munin] skipping due to BinaryDependency (munin-cron)
10.08.2014 17:47 WARN *** [psql] skipping due to BinaryDependency (psql)
10.08.2014 17:47 WARN *** [fail2ban] skipping due to BinaryDependency (fail2ban-client)
10.08.2014 17:47 WARN *** [ipmi] skipping due to BinaryDependency (ipmitool)
10.08.2014 17:47 WARN *** [ctdb] skipping due to BinaryDependency (ctdb)
10.08.2014 17:47 WARN *** [netatalk] skipping due to BinaryDependency (afpd)
10.08.2014 17:47 WARN *** [exports] skipping due to BinaryDependency (nfsstat)
10.08.2014 17:47 WARN *** [squid] skipping due to BinaryDependency (squid3)
10.08.2014 17:47 WARN *** [samba] skipping due to BinaryDependency (smbd)
10.08.2014 17:47 WARN *** [hddtemp] skipping due to BinaryDependency (hddtemp)
10.08.2014 17:47 WARN *** [nsd] skipping due to BinaryDependency (nsd)
10.08.2014 17:47 WARN *** [ntpd] skipping due to BinaryDependency (ntpd)
10.08.2014 17:47 WARN *** [hdparm] skipping due to BinaryDependency (hdparm)
10.08.2014 17:47 WARN *** [csf] skipping due to BinaryDependency (csf)
10.08.2014 17:47 WARN *** [megaraid] skipping due to FileDependency (/opt/MegaRAID/MegaCli/MegaCli)
10.08.2014 17:47 WARN *** [openvpn] skipping due to BinaryDependency (openvpn)
10.08.2014 17:47 WARN *** [mongo] skipping due to BinaryDependency (mongod)
10.08.2014 17:47 WARN *** [dhcpd] skipping due to BinaryDependency (dhcpd)
10.08.2014 17:47 WARN *** [bind9] skipping due to BinaryDependency (named)
10.08.2014 17:47 WARN *** [memcache] skipping due to BinaryDependency (memcached)
10.08.2014 17:47 WARN *** [apcups] skipping due to BinaryDependency (apcaccess)
10.08.2014 17:47 WARN *** [raid] skipping due to BinaryDependency (mdadm)
10.08.2014 17:47 WARN *** [lm_sensors] skipping due to BinaryDependency (sensors)
10.08.2014 17:47 WARN *** [smartctl] skipping due to BinaryDependency (smartctl)
10.08.2014 17:47 WARN *** [snmpd] skipping due to BinaryDependency (snmpd)
10.08.2014 17:47 INFO Starting server on (u'0.0.0.0', 8000)
10.08.2014 17:47 INFO SSL enabled: /etc/ajenti/ajenti.pem
10.08.2014 17:47 INFO Starting new HTTP connection (1): meta.ajenti.org

Hi Again,

How can these WARN be fixed please?



[root@MYSERVER ~]# sudo ajenti-panel
10.08.2014 17:47 INFO Using config file /etc/ajenti/config.json
10.08.2014 17:47 INFO Ajenti starting in foreground
10.08.2014 17:47 INFO registered crypt handler 'sha512_crypt': <class 'passlib.handlers.sha2_crypt.sha512_crypt'>
10.08.2014 17:47 INFO Ajenti 1.2.22.6 running on platform: centos
10.08.2014 17:47 WARN *** [munin] skipping due to BinaryDependency (munin-cron)
10.08.2014 17:47 WARN *** [psql] skipping due to BinaryDependency (psql)
10.08.2014 17:47 WARN *** [fail2ban] skipping due to BinaryDependency (fail2ban-client)
10.08.2014 17:47 WARN *** [ipmi] skipping due to BinaryDependency (ipmitool)
10.08.2014 17:47 WARN *** [ctdb] skipping due to BinaryDependency (ctdb)
10.08.2014 17:47 WARN *** [netatalk] skipping due to BinaryDependency (afpd)
10.08.2014 17:47 WARN *** [exports] skipping due to BinaryDependency (nfsstat)
10.08.2014 17:47 WARN *** [squid] skipping due to BinaryDependency (squid3)
10.08.2014 17:47 WARN *** [samba] skipping due to BinaryDependency (smbd)
10.08.2014 17:47 WARN *** [hddtemp] skipping due to BinaryDependency (hddtemp)
10.08.2014 17:47 WARN *** [nsd] skipping due to BinaryDependency (nsd)
10.08.2014 17:47 WARN *** [ntpd] skipping due to BinaryDependency (ntpd)
10.08.2014 17:47 WARN *** [hdparm] skipping due to BinaryDependency (hdparm)
10.08.2014 17:47 WARN *** [csf] skipping due to BinaryDependency (csf)
10.08.2014 17:47 WARN *** [megaraid] skipping due to FileDependency (/opt/MegaRAID/MegaCli/MegaCli)
10.08.2014 17:47 WARN *** [openvpn] skipping due to BinaryDependency (openvpn)
10.08.2014 17:47 WARN *** [mongo] skipping due to BinaryDependency (mongod)
10.08.2014 17:47 WARN *** [dhcpd] skipping due to BinaryDependency (dhcpd)
10.08.2014 17:47 WARN *** [bind9] skipping due to BinaryDependency (named)
10.08.2014 17:47 WARN *** [memcache] skipping due to BinaryDependency (memcached)
10.08.2014 17:47 WARN *** [apcups] skipping due to BinaryDependency (apcaccess)
10.08.2014 17:47 WARN *** [raid] skipping due to BinaryDependency (mdadm)
10.08.2014 17:47 WARN *** [lm_sensors] skipping due to BinaryDependency (sensors)
10.08.2014 17:47 WARN *** [smartctl] skipping due to BinaryDependency (smartctl)
10.08.2014 17:47 WARN *** [snmpd] skipping due to BinaryDependency (snmpd)
10.08.2014 17:47 INFO Starting server on (u'0.0.0.0', 8000)
10.08.2014 17:47 INFO SSL enabled: /etc/ajenti/ajenti.pem
10.08.2014 17:47 INFO Starting new HTTP connection (1): meta.ajenti.org
+1
These warnings are perfectly normal, as not all plugins are needed for all systems.