-1

recently i installed vnstat on my fresh linux machine.

so after installing it with yum install vnstat , before it i installed epel!

so now i cant start it: service vnstat start error: unrecognized service

i have tired searching a little then i found out that it does not create init.d file to run it.

i dont prefer to create them manually i want it fixed please help.

how to fix this?

2 Answers 2

0
 yum update 
 reboot system
 yum install vnstat    ( gd and libXpm is dependencies for vnstat )
 service vnstat start
 chkconfig vnstat on
 service vnstat restart ( for check its running properly or not :) ) 
1
  • More explanation needed
    – kasperd
    Feb 5, 2016 at 7:58
0

after adding vnstat file to /etc/init.d folder

and service vnstat start [ also it has no returns ]

and vnstat -u problem fixed.

vnstat startup file can be found here http://humdi.net/vnstat/init.d/redhat/vnstat

thanks to all. [ Problem Fixed ]

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .