RE: Starting Domino 601 as Service

"Thomas Schweikle" <[email protected]>
Newsgroups gmane.linux.suse.domino
Message-ID <OF5D62F042.B32326D9-ONC1256CF4.0052A485-C1256CF4.005451C3@fag.fiducia.de>
>> Then I  told my linux - box to start that script
>> in runlevel 3 and 5. But when I reboot,  the
>> domino server hangs with an error like "can´t
>> locate resources file" or something like that. 
>
> I got this same  message when I tried to run
> Domino from the data-dir wich was not it's home
> directory. I think that you have to start the
> server from the home  directory. Does anyone knows
> how to separate these? I think it must be possible,
> since it is possible to run two servers in one box.

First of all he is doing some things wrong:
1. the data directory has to be on the path starting domino. Thus it is 
not sufficient to
cd /notesdatadirectory
su notesuser /opt/lotus/bin/server

you'll have to
su - notesuser
export PATH=$PATH:/notesdatadirectory
/opt/lotus/bin/server


2. you should put /opt/lotus/bin into the path too:
su - notesuser
export PATH=$PATH:/opt/lotus/bin:/notesdatadirectory
server

If you want a special notes.ini being worked on, you might start domino 
using
server =/fullpathtoyournotesini/notes.ini

But even giving notes.ini in this way you should set your PATH pointing to 
the used notes.ini.

There are two scripts written to start domino:

on from SuSE, one from me. You might want to use them instead reinventing 
the wheel.

-- 
Thomas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.