Jump to content

/etc/init.d/pcmonitor not found - Gentoo Linux


trevynmace

Recommended Posts

So, I looked around the forums a little bit to see if there was anything related to this issue and didn't have much luck. 

 

I built a new Gentoo box recently and decided to put pc monitor on it. I emerged rpm and rpm'd the rpm and it created the directory in my /etc and installed correctly (supposedly). I changed the config.xml.sample to config.xml and made the necessary changes.

I believe that it is configured correctly and should be working properly but as I went to start the service with /etc/init.d/pcmonitor start I get "pcmonitor could not be found". Sure enough when I cd to that directory there is no pcmonitor, just pcmonitor.suse and another pcmonitor.<other linux distro>. I can't recall the actual listed distro at the moment because I'm not at the machine right now, but not gentoo obviously.

 

I'm just really wondering if pcmonitor is compatible with Gentoo linux or not. I'm sure there must be some way to get it working, but in trying to start those pcmonitor.<other linux distro>'s, it throws errors. 

 

Hopefully someone has tried this before or has got it working with Gentoo as I'd love to be monitoring this server remotely.

Any help is appreciated!

Link to comment
Share on other sites

Thanks for the reply but I actually think I got it working. So I guess the rpm creates the "pcmonitord" command, so starting the service with "pcmonitord start" does the trick and I can view the machine stats on the webpage of pc monitor. I checked the ps aux to verify the process was running fine and it looks like all of the settings show up in the web app. I haven't tested any of the system commands just yet but the application is showing accurate system details just fine.

 

Thanks! I hope this helps someone that might be having the same issue though!

Link to comment
Share on other sites

  • Staff

Hi,

 

"pcmonitord" is the name of the binary. "pcmonitor" is the name of service script. 

Starting the service with "pcmonitord start" it's in fact a hack. The install process should register "pcmonitor" as a service script. 

The PCMonitor package does not support Gentoo systems yet. This does not mean it is not running fine on Gentoo. (or Slackware, or Arch)  :)

 

Regards,

Mark

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...