to all, thanks for the answer. I am using pico as my editor. I just retyped the whole script again with a few more # and saved it as oracle8i instead of oracledatabase then transferred it to /etc/rc.d/init.d and tried to do the service <servicename> start .. it gave me a message that it is now compliant. did the chkconfig --add oracle8i, did the trick.
ramon --- Sherwin Daganato <[EMAIL PROTECTED]> wrote: > On Sat, Feb 22, 2003 at 01:52:22AM -0800, Ramon de > los Reyes wrote: > > > > i have created a script. but when i issue the > command chkconfig --add oracledatabase i get service > oracledatabase does not support chkconfig. I have > been googling for at least 2 hours to no avail. any > help is greatly appreciated. > > > > part of my script is > > > > #!/bin/sh > > > > # chkconfig: 345 30 80 > > > > i am using rh 7.3. the pwd for my script is > /etc/rc.d/init.d and the its 755. > > Make sure that the fileformat of the initscript is > unix not dos. To > determine the fileformat in vim, type ":set ff". To > set the fileformat > to unix, type ":set ff=unix". > > HTH > -- > $_=q:; # SHERWIN # > 70;72;69;6e;74;20; > 27;4a;75;73;74;20; > 61;6e;6f;74;68;65; > 72;20;50;65;72;6c; > 20;6e;6f;76;69;63; > 65;27;:;;s=~?(..); > ?=pack q$C$,hex$1; > ;;;=egg;;;;eval;;; > _ > Philippine Linux Users Group. Web site and archives > at http://plug.linux.org.ph > To leave: send "unsubscribe" in the body to > [EMAIL PROTECTED] > > Fully Searchable Archives With Friendly Web > Interface at http://marc.free.net.ph > > To subscribe to the Linux Newbies' List: send > "subscribe" in the body to [EMAIL PROTECTED] __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
