Brett Smith wrote:
>
> We are running Reggie (via rmid) and the corresponding http servers on a
> linux machine. We want these started automatically as the system
> boots. Attempts to launch rmid from init.rc fails with "execvp: no such
> file or directory".
>
> Does anyone know the best place to start rmid and the http servers (we
> are using the http that comes with JDK)? We are using Red Hat 6.2
> linux.
Is there some reason why using the apache startup scripts as a template
won't work for you? Install the apache rpms long enough to snag copies of
/etc/httpd/* and /etc/rc.d/init.d/httpd and use init.d/httpd as a guide
for your own script. Then make sure there's an S* script in /etc/rc2.d
to launch it, and a K* to kill it. You can use the Red Hat runlevel
management tool to do this if it suits you, I just do it manually.
Note that /etc scripts are run by user root, and I'm not certain but
usually these run from the / directory. Your startup script must provide
absolute paths to the commands.
--
Joi Ellis Software Engineer
Aravox Technologies [EMAIL PROTECTED], [EMAIL PROTECTED]
No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried. Anything
that kicks a monopoly in the pants has got to be good for something.
- Chris Johnson
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]