-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

* and then Cameron Simpson blurted....
> On 21:19 31 Jan 2002, Nick Wilson <[EMAIL PROTECTED]> wrote:
> | Okay, I've been messing around with the locale chooser in KDE and I
> | /think/ that's when the trouble started. It looks like it's actually
> | looking for a command ':' and it spits out that 'command not found' msg
> | on anything to do with rc3.d during startup and shutdown.
> 
> No, it's looking for a command "". The ":" is _after_ the command name.
> Normally the error would look like:
> 
>       bash: foo: command not found

Okay, got that.

> Typical causes for this are variables nnot set, yet being used.
> 
> For example, a script saying:
> 
>       "$cmdvar" blah blah blah

Would a line in an init script like

XYZ=

cause that?

> then the best was to diagnose it is to go:
> 
>       bash -vx the_script
> 
> The -v recites script lines as they are read, and the -x recites commands
> as they are issued. You should thus see the shell line which causes the
> error, the bogus command issued, and the error in theat order, yileding
> a clue to the cause.

Okay I'll run it on a few of the problem areas, cheers
- -- 

Nick Wilson

Tel:    +45 3325 0688
Fax:    +45 3325 0677
Web:    www.explodingnet.com



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE8WcsUHpvrrTa6L5oRAk4FAJkBUBj7sjEUkmXBrhiIXaPmcyvS2wCaAtsF
TX8pe/+XC4qDuKWIjPtW1ug=
=bF8S
-----END PGP SIGNATURE-----



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to