Search found 7 matches

by dicksog
2018/02/17 21:21:48
Forum: CentOS 6 - Networking Support
Topic: bind error creating <zone name>.jnl
Replies: 2
Views: 5881

bind error creating <zone name>.jnl

Ok I did a vanilla install of bind onto a centos 6 box and dhcp on another. Got everything working after the usual typos :roll: then checking the /var/log/messages file kept on the dns server kept getting messages about "error (network unreachable) resolving address xxxxxx" and an error with "<zone ...
by dicksog
2012/04/18 16:25:38
Forum: CentOS 6 - Software Support
Topic: [SOLVED] oracle automaitc shutdown
Replies: 13
Views: 3596

Re: oracle automaitc shutdown

Dyslexia rules ko!

My touch command's missing the final 's' in subsys, eventually looked up the purpose of the lock/subsys directory, and all of a sudden the mists parted and everything became clear.

Many thanks for your help!

Apologies for being a bit dense!
by dicksog
2012/04/17 12:42:56
Forum: CentOS 6 - Software Support
Topic: [SOLVED] oracle automaitc shutdown
Replies: 13
Views: 3596

Re: oracle automaitc shutdown

Ok, moved the running of the script on shutdown to 01 Added a line to write out to a file the command being passed to the script to a file Also added lines in the stop section to write out date and time to a file at the start and end of the section. Only the 'start' command is being written to the s...
by dicksog
2012/04/11 21:08:40
Forum: CentOS 6 - Software Support
Topic: [SOLVED] oracle automaitc shutdown
Replies: 13
Views: 3596

Re: oracle automaitc shutdown

Sorry about forgetting that

Yes, service oracle stop works, alert log gets populated and everything. System shutdown doesn't seem to kick off the shutdown script, nothing gets entered ito the alert log and the database keeps on going into crash recovery on startup.
by dicksog
2012/04/09 17:34:08
Forum: CentOS 6 - Software Support
Topic: [SOLVED] oracle automaitc shutdown
Replies: 13
Views: 3596

Re: oracle automaitc shutdown

Added the lock file entries, no change, starts up fine, doesn't seem to run the shutdown scripts. Here's chkconfig --list oracle [root@localhost ~]# chkconfig --list oracle oracle 0:off 1:off 2:off 3:on 4:on 5:on 6:off [root@localhost ~]#ls /etc/rc.d/rc?.d/*oracle /etc/rc.d/rc0.d/K10oracle /etc/rc.d...
by dicksog
2012/04/08 19:16:02
Forum: CentOS 6 - Software Support
Topic: [SOLVED] oracle automaitc shutdown
Replies: 13
Views: 3596

Re: oracle automaitc shutdown

Ok, here's the script: [code]#!/bin/sh # chkconfig: 345 99 10 # description: Oracle Database startup script # # oracle Init file for starting and stopping # Oracle Database. Script is valid for 10g and 11g versions. # # Source function library. #. /etc/rc.d/init.d/functions ORACLE_OWNER="oracle" ORA...
by dicksog
2012/04/06 19:53:12
Forum: CentOS 6 - Software Support
Topic: [SOLVED] oracle automaitc shutdown
Replies: 13
Views: 3596

[SOLVED] oracle automaitc shutdown

Hi I've got an Oracle db on a Centos 6.2 server, I've followed all the automatic startup/shutdown info I can find. The server starts the db quite happily. However shutdown doesn't happen, I'm using a script to call dbstart/dbshut which I put into /etc/init.d and then chkconfig to activate the servic...