- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- startup script
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2008 09:33 AM
тАО05-10-2008 09:33 AM
Re: startup script
can you post the rc.log for further verifications?
and also
cd /sbin
ll */*dbora*
revert!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2008 09:57 PM
тАО05-12-2008 09:57 PM
Re: startup script
pls find the required info.
we are using soft link for dbora3 script
# pwd
/sbin
# ll */*dbora*
-rwxr-x--- 1 root dba 0 May 8 19:20 init.d/dbora
-rwxrwxrwx 1 root dba 1888 Apr 25 14:09 init.d/dbora1
-rwxrwxrwx 1 root dba 988 Apr 10 17:09 init.d/dbora2
-rwxr-x--- 1 root dba 1041 Apr 25 14:08 init.d/dbora3
-rw-r--r-- 1 root sys 902 Apr 25 14:05 init.d/dborahange
lrwxr-xr-x 1 root sys 18 Apr 25 23:04 rc1.d/K100dbora -> /sbin/init.d/dbora
lrwxrwxr-x 1 root sys 18 May 13 10:35 rc2.d/K100dbora3 -> /sbin/init.d/dbora
-rwxr-x--- 1 bin bin 939 Apr 28 15:07 rc2.d/S99dbora.org
lrwxr-xr-x 1 root sys 18 Apr 25 23:03 rc3.d/K10dbora -> /sbin/init.d/dbora
lrwxrwxr-x 1 root sys 18 May 13 10:35 rc3.d/S99dbora3 -> /sbin/init.d/dbora
lrwxrwxr-x 1 root sys 18 May 13 10:34 r -> /sbin/init.d/dbora
thanks
shabir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2008 04:02 AM
тАО05-13-2008 04:02 AM
Re: startup script
> -rwxr-x--- 1 root dba 0 May 8 19:20 init.d/dbora
can you change the permission and ownership as follows:
chown bin:bin /sbin/init.d/oradb
chmod 755 /sbin/init.d/oradb
also post the output of:
cat /etc/rc.config.d/dbora
this should show something like:
SRV2:sbin/init.d>cat /etc/rc.config.d/dbora
# ORACLE DATABASE configuration
#
# ORACLE_START_STOP : Set to 1 to start ORACLE DATABASE
#
ORACLE_START_STOP=1
SRV2:sbin/init.d>
revert!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2008 07:27 AM
тАО05-13-2008 07:27 AM
Re: startup script
/sbin/rc2.d/S99dbora.org[7]: hostname: not found.
/sbin/rc2.d/S99dbora.org[12]: touch: not found.
starting Oracle Net Listener
/sbin/rc2.d/S99dbora.org[23]: su: not found.
Starting Oracle databases
/sbin/rc2.d/S99dbora.org[26]: su: not found.
PATH ie absolute PATH for those command are not defined in the script so just correct it and it ll works fine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2008 11:30 PM
тАО05-13-2008 11:30 PM
Re: startup script
> the answers is in your rc.log file
No really.
If you look at the "ll */*dbora*" output, S99dbora.org is not a link but a script created in the rc2.d directory.
-rwxr-x--- 1 bin bin 939 Apr 28 15:07 rc2.d/S99dbora.org
The intended script "dbora" startup does not even appear in the rc.log!!
lrwxrwxr-x 1 root sys 18 May 13 10:35 rc3.d/S99dbora3 -> /sbin/init.d/dbora
Thats presumes a step in the configuration that has not been done properly..
Shabir: please post the requested information as per my last post.
thanks
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2008 02:05 AM
тАО05-14-2008 02:05 AM
Re: startup script
if not problem may comes from that point
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2008 04:30 AM
тАО05-15-2008 04:30 AM
Re: startup script
thanks for u reply
pls find the output
bash-3.2# cat /etc/rc.config.d/dbora
ORACLE_START=1
export ORACLE_START
thanks
shabir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2008 09:01 AM
тАО05-15-2008 09:01 AM
Re: startup script
after rebooting the server ,pls the folowing entries are found in /etc/rc.log file
usage: /sbin/rc2.d/S99dbora {start|stop}
Output from "/sbin/rc2.d/S99dbora start":
----------------------------
/sbin/rc2.d/S99dbora[9]: hostname: not found.
/sbin/rc2.d/S99dbora[14]: touch: not found.
starting Oracle Net Listener
/sbin/rc2.d/S99dbora[25]: su: not found.
Starting Oracle databases
/sbin/rc2.d/S99dbora[28]: su: not found.
usage: /sbin/rc2.d/S99dbora.org {start|stop}
Output from "/sbin/rc2.d/S99dbora.org start":
----------------------------
/sbin/rc2.d/S99dbora.org[7]: hostname: not found.
/sbin/rc2.d/S99dbora.org[12]: touch: not found.
starting Oracle Net Listener
Starting Oracle databases
/sbin/rc2.d/S99dbora.org[23]: su: not found.
/sbin/rc2.d/S99dbora.org[26]: su: not found.
thanks
shabir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2008 11:20 PM
тАО05-15-2008 11:20 PM
Re: startup script
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2008 03:29 AM
тАО05-16-2008 03:29 AM
Re: startup script
There is something with the script itself. We need to check what Fabien mentioned previously.
"let's check if the #! pragma in your shell is referencing a shell in /sbin if not problem may comes from that point"
Can you post your dbora script?
revert!
kind regards
yogeeraj