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

[email protected] Mon, 10 Jul 2006 15:32:18 -0400
Newsgroups gmane.linux.suse.domino
Message-ID <OF1B9471F3.E58895D5-ON852571A7.006B4158-852571A7.006B5315@casott.on.ca>
Yes.

notes@mail:~> ll /etc/init.d/rc_domino
-rwxr-xr-x  1 root root 1477 Jul  9 13:34 /etc/init.d/rc_domino
notes@mail:~> ll /opt/lotus/rc_domino_script
-rwxr-xr-x  1 root root 15798 Jul 10 14:34 /opt/lotus/rc_domino_script

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

[email protected] wrote on 10/07/2006 03:17:51 PM:

> You're sure that all involved scripts have execute permissions set?
>
>
>
> [email protected]
> 07/10/2006 03:20 PM
>
> To
> [email protected]
> cc
>
> Subject
> Re: [suse-domino] startup script - bad interpreter: No such file or
> directory
>
>
>
>
>
>
> I edited them with vi over SSH using PuTTY (from a Windows PC). However,
> after logging on at the console and checking the files I found no '^M' on
> any of the lines.
>
> Thanks for the tip.
>
> Scott Blayney, PCLP
> Lotus Notes Administrator
> Children's Aid Society of Ottawa
> 613-747-7800 x2806
>
> J Sloan <[email protected]> wrote on 10/07/2006 03:06:27 PM:
>
> >
> >
> > [email protected] wrote:
> > > 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
> >
> > Did you edit the script on a windoze peecee? If so it probably
> > corrupted the
> > file, appending a '^M' to every line.
> >
> > J
> >
> > --
> > 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]
>