Re: startup script - bad interpreter: No such file or directory

[email protected] Tue, 11 Jul 2006 11:07:54 +0200
Newsgroups gmane.linux.suse.domino
Message-ID <OF396097C6.0D1D31AB-ONC12571A8.0031A2F0-C12571A8.0031DCDB@TIMETOACT.DE>
--=_alternative 0031DC21C12571A8_=
Content-Type: text/plain; charset="US-ASCII"

Hav you changed the shel parameter in the first line of the scripts? On 
linux you have to alter this line (Daniel described it in the readme) 
since the predefined interpreter is not available on linux.

Best regards,

Michael Gollmick 




[email protected] 
10.07.2006 21:00

To
[email protected]
cc

Subject
[suse-domino] startup script - bad interpreter: No such file or directory








I am trying to use the startup script written by Daniel Nashed, version
1.3.  I have copied the rc_domino script to the /etc/init.d directory and
the rc_startup_script to the /opt/lotus directory.

I added the following lines to /home/notes/.bashrc:
export DOMINO_START_SCRIPT=/opt/lotus/rc_domino_script
export Notes_SHARED_DPOOLSIZE=20971520

I made the following change to /opt/lotus/rc_startup_script:
NOTES_LANG=en_US

I am still using the domino-runtime package from SuSE to start Domino.
However, I am trying to test the new script.  When I try and invoke it I
get:
switching to notes
: bad interpreter: No such file or directory

When I switch to the notes account and run /etc/init.d/rc_domino status I
get the following:
: bad interpreter: No such file or directoryscript: /bin/sh

But if I type which sh I get:
/bin/sh

System specifications:
Domino 7.0.1
SLES9 x86_64 (kernel 2.6.5-7.257-smp)

Help!

Scott Blayney, PCLP
Lotus Notes Administrator
Children's Aid Society of Ottawa
613-747-7800 x2806


-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



--=_alternative 0031DC21C12571A8_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Hav you changed the shel parameter in
the first line of the scripts? On linux you have to alter this line (Daniel
described it in the readme) since the predefined interpreter is not available
on linux.<br>
<br>
Best regards,<br>
<br>
Michael Gollmick <br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>[email protected]</b>
</font>
<p><font size=1 face="sans-serif">10.07.2006 21:00</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">[email protected]</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">[suse-domino] startup script - bad interpreter:
No such file or directory</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br>
<br><tt><font size=2><br>
I am trying to use the startup script written by Daniel Nashed, version<br>
1.3. &nbsp;I have copied the rc_domino script to the /etc/init.d directory
and<br>
the rc_startup_script to the /opt/lotus directory.<br>
<br>
I added the following lines to /home/notes/.bashrc:<br>
export DOMINO_START_SCRIPT=/opt/lotus/rc_domino_script<br>
export Notes_SHARED_DPOOLSIZE=20971520<br>
<br>
I made the following change to /opt/lotus/rc_startup_script:<br>
NOTES_LANG=en_US<br>
<br>
I am still using the domino-runtime package from SuSE to start Domino.<br>
However, I am trying to test the new script. &nbsp;When I try and invoke
it I<br>
get:<br>
switching to notes<br>
: bad interpreter: No such file or directory<br>
<br>
When I switch to the notes account and run /etc/init.d/rc_domino status
I<br>
get the following:<br>
: bad interpreter: No such file or directoryscript: /bin/sh<br>
<br>
But if I type which sh I get:<br>
/bin/sh<br>
<br>
System specifications:<br>
Domino 7.0.1<br>
SLES9 x86_64 (kernel 2.6.5-7.257-smp)<br>
<br>
Help!<br>
<br>
Scott Blayney, PCLP<br>
Lotus Notes Administrator<br>
Children's Aid Society of Ottawa<br>
613-747-7800 x2806<br>
<br>
<br>
-- <br>
To unsubscribe, e-mail: [email protected]<br>
For additional commands, e-mail: [email protected]<br>
<br>
</font></tt>
<br>
--=_alternative 0031DC21C12571A8_=--