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

[email protected] Tue, 11 Jul 2006 11:21:00 -0400
Newsgroups gmane.linux.suse.domino
Message-ID <OFBB6E1FBA.A5E79EAE-ON852571A8.0054F413-852571A8.005506A2@mail.kalsec.com>
Let's see a pastebin.com of all the scripts involved.  And did you add 
#!/bin/sh to ALL of the scripts?
Also, did you try #!/bin/bash (as /bin/sh is just a symbolic link to 
/bin/bash normally).

Tim

[email protected] wrote on 07/11/2006 11:24:00 AM:

> I used chmod +x, but the permission are 755 (-rwxr-xr-x root root).
> 
> Scott Blayney, PCLP
> Lotus Notes Administrator
> Children's Aid Society of Ottawa
> 613-747-7800 x2806
> 
> [email protected] wrote on 11/07/2006 10:51:06 AM:
> 
> > And you did do a: chmod 755 <script> too, correct?  :-)
> >
> > [email protected] wrote on 07/11/2006 08:55:14 AM:
> >
> > > Yes, I changed the first line to #!/bin/sh as per the documentation.
> > >
> > > Scott Blayney, PCLP
> > > Lotus Notes Administrator
> > > Children's Aid Society of Ottawa
> > > 613-747-7800 x2806
> > >
> > > [email protected] wrote on 11/07/2006 05:04:00 AM:
> > >
> > > >
> > > > Just a tipp, but have you changed the shell command in the
> > > > first line as required for this script on linux?
> > > >
> > > > regards,
> > > >
> > > > Michael
> > > >
> > > >
> > >
> > > >
> > > > [email protected]
> > > > 10.07.2006 21:00
> > > >
> > > > To
> > > >
> > > > [email protected]
> > > >
> > > > cc
> > > >
> > > > Subject
> > > >
> > > > [suse-domino] startup script - bad interpreter: No such file
> > ordirectory
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > 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.ddirectory
> > 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]
> > > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail: [email protected]
> > > For additional commands, e-mail: [email protected]
> > >
> >
> >
> > --
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> 
> 
> -- 
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>