HTTP Server

  • varma
  • Novice
  • Novice
  • No Avatar
  • Joined: May 28, 2004
  • Posts: 31
  • Loc: India
  • Status: Offline

Post May 17th, 2006, 2:40 am

Hi,

I have installed Oracle 9i database in RHEL AS4 Operating system. When, I restart the machine, the Oracle database is not started and manually restarted the database server. Oracle 9i is having an HTTP Server and it is also not started. How can I check the which services are started and not started. Also, where can I set to start the service automatically, when the machine is restarted.

Please help me.

Varma
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post May 17th, 2006, 2:40 am

  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Joined: Jan 23, 2004
  • Posts: 2673
  • Loc: Somewhere outside the box in Sarasota, FL.
  • Status: Offline

Post May 17th, 2006, 4:30 am

Typically, you must place your startup scripts in the /etc/rc.d/init.d/ directory for programs to start automatically.
"It's always a long day, 86,400 won't fit into a short."
  • this213
  • Guru
  • Guru
  • User avatar
  • Joined: Mar 01, 2004
  • Posts: 1242
  • Loc: ./
  • Status: Offline

Post May 20th, 2006, 6:55 pm

as root:
Code: [ Select ]
# /sbin/chkconfig --list

Will show you every service and it's default run state - though that output will probably be a long list that scrolls by very fast. You can shorten this by doing either:
Code: [ Select ]
# /sbin/chkconfig --list service_name

which will only show the state of "service_name", or by:
Code: [ Select ]
# /sbin/chkconfig --list | mail me@myaddress.com

which will mail you the list so you can look at it in you email client (what? I do this all the time with huge lists and files when I don't want to see them in a terminal!)

More practically, RHEL provides a services applet in X that will allow you to see what services are started and their default startup state. Browse to System Settings->Server Settings->Services. Anything with the checkbox checked will start automatically for whatever runlevel you're looking at.

If you did not install Oracle using the RPMs, you messed up and you need to uninstall it and do it the right way (via the RPMs). Not doing so will make your life misery if you ever try to install any RPMs dependant on Oracle.
http://www.disabo.com
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Joined: Jan 23, 2004
  • Posts: 2673
  • Loc: Somewhere outside the box in Sarasota, FL.
  • Status: Offline

Post May 21st, 2006, 7:29 am

this213 wrote:
Code: [ Select ]
# /sbin/chkconfig --list | mail me@myaddress.com

which will mail you the list so you can look at it in you email client (what? I do this all the time with huge lists and files when I don't want to see them in a terminal!)

Ugh! Tsk tsk. :)

this213 wrote:
More practically, RHEL provides a services applet in X that will allow you to see what services are started and their default startup state. Browse to System Settings->Server Settings->Services. Anything with the checkbox checked will start automatically for whatever runlevel you're looking at.


Not the darn GUI again! :) Heh.
"It's always a long day, 86,400 won't fit into a short."
  • this213
  • Guru
  • Guru
  • User avatar
  • Joined: Mar 01, 2004
  • Posts: 1242
  • Loc: ./
  • Status: Offline

Post May 21st, 2006, 8:26 am

In my defense, I never use the GUI for this myself. It's far easier for me to open the offending init script and add the runlevels to the chkconfig line and then do "chkconfig servicename reset" (or /sbin/chkconfig servicename reset if I'm su'd in). I just have to know about all those fancy-pants tools to support clients.
http://www.disabo.com
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Joined: Jan 23, 2004
  • Posts: 2673
  • Loc: Somewhere outside the box in Sarasota, FL.
  • Status: Offline

Post May 22nd, 2006, 5:15 am

I know, just giving you a hard time. ;)
"It's always a long day, 86,400 won't fit into a short."

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 119 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.