Where to start lmgrd in /etc/init.d, or at all?

I have Ubuntu 9.04 and want to set it so lmgrd runs on startup.

I have no problem starting lmgrd by hand.

I followed instructions in the install.txt, but it does not seem to work. One possible explanation is that install.txt assumes runlevel 3, but Ubuntu might be using runlevel 2. Or not even using runlevels, but maybe something called upstart, and only emulating runlevels.

I used to administer Unix, but that was back in the early 1990s. I don’t really get what is going on, and I’m not sure how to safely remove the files/links that got added already to init.d.

Is there a simple safe way to set lmgrd to run on system startup that does not require me to figure out what form of system start is actually in use? As far as I know, I am using whatever Ubuntu 9.04 was delivered with.

I thought Ubuntu was a very common Linux variant, so shouldn’t there be a simple, explicit, “howto” somewhere?

Hi zenpharaohs,

You should be able to add a line like this to /etc/rc.local to start lmgrd:

/opt/pgi/linux86-64/9.0-3/bin/lmgrd.rc start