Re: [CentOS] Assistance with startup script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Dave K wrote:

On 6/1/06, Sam Drinkard <sam@xxxxxxxxxx> wrote:

When using the gui Service Configuration, I see the ldm service in
there, but when highlighted, I get a status message of "env:
/etc/init.d/ldm: No such file or directory.  Wondering now if maybe this
was not a dos type script to start with, and it's not being recognized.
"file ldm" says it's a bourne shell script however...

Ideas or suggestions?


Either the permissions (or ACLs, if you have them enabled) are wrong
on the script, or there is an error in the shebang line (including
stray \r characters).


It turns out the file had been created in dos. A dos2unix fixed the problem.
thanks all for the advice.



--
Sam W.Drinkard -- sam@xxxxxxxxxx
WEB http://wa4phy.net
Augusta Mesonet
cell 706.825.8513 Home 706.868.7253
MAIL 4438 Branchwood Drive,
Martinez Georgia, 30907-1304

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux