- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /sbin/init.d processes again present after ...
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
Forums
Discussions
Discussions
Discussions
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
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
11-27-2000 11:48 PM
11-27-2000 11:48 PM
Running ps -ef| grep oracle, i see :
root 1573 142 0 Nov 19 console 0:00 /sbin/rc4.d/S850oracle /sbin/rc4
.d/S850oracle start
root 1738 1573 0 Nov 19 console 0:00 remsh casapp -n /sbin/init.d/ora
cle_cmwh start
As you can see, it seems that the remsh doesn't terminate.
I have gone to casapp and looked for processes that refer to /sbin/init.d/oracle_cmwh but all seems OK and system casapp was up and running at the time the remsh command started.
On casapp i found:
root 2135 834 0 Nov 26 ? 0:00 remshd
roort 2136 2135 0 Nov 26 ? 0;00
and the oracle_cmwh is ......
Thanks
Federico
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2000 12:03 AM
11-28-2000 12:03 AM
Re: /sbin/init.d processes again present after reboot
This one was discussed at length some time ago, do a search in the forums for the full details.
What causes the problem is that the standard input and output of the remsh process are inherited by any process that it forks. So if you for instance start an oracle database (or any daemon type process) then the remsh will 'hang' until that cheild process terminates.
Try redirecting standard input of remsh and the child processes to /dev/null and standard output/error to either a relevant log file or /dev/null.
Hope this helps,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2000 12:04 AM
11-28-2000 12:04 AM
Re: /sbin/init.d processes again present after reboot
You can try running from machine 1 the following:
#remsh machine2 "bdf or /usr/sbin/lanscan" or any normal HP-UX command and if that works fine then the actual problem is with your oracle script.
Is it the first time it happened?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2000 12:04 AM
11-28-2000 12:04 AM
Re: /sbin/init.d processes again present after reboot
On your 'casapp' server, the zombie process most probably has a child still running (or hanging)
In your attached file, there could be a problem in the event that file /etc/rc.config.d/oracle_cmwh is missing.
As the error part of your 'if' doesn't terminate the script, the next 'if' statement is executed with a test for an undefined variable ($ORACLE_START), so the test will fail with a message "sh: ORACLE_START: Parameter not set."
Same for the 'stop' case.
Is file /etc/rc.config.d/oracle_cmwh existing ??
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2000 12:20 AM
11-28-2000 12:20 AM
Re: /sbin/init.d processes again present after reboot
Dan,
the file you are referring is present and the problem is after the starting of listener because it has been started.
federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2000 12:34 AM
11-28-2000 12:34 AM
Re: /sbin/init.d processes again present after reboot
Even if the file is present in this case, it would be a good idea to modify your script, just in case... ;-)
You're suspecting the problem to occur after the start of the listener because it's started.
Are you sure it's not during the startup of your listener ?
Could you try to stop the listener and restart it using exactly the same command as in your script.
(logged as root)
# su - oracWH -c "lsnrctl start listener_FNDFS"
Is it starting OK ? Are you getting your shell prompt immediately after, without intervention?
Or is there something in the .profile of user oracWH which prevents executing, like a prompt?
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2000 06:27 AM
11-29-2000 06:27 AM
Re: /sbin/init.d processes again present after reboot
the problem is connected to the command :
su - oracWH -c ""lsnrctl start listener_FNDFS"
I tried this command from other two machines and using another listener and i got the same problem:the listener starts but the remsh hangs.
It seems that the remsh and the starting of listener give problems( i tried to visualize the status of the listener using the remsh and it works)
how come?
Federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2000 07:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2000 02:13 PM
11-29-2000 02:13 PM
Re: /sbin/init.d processes again present after reboot
your explanation seems to be the solution to the problem but only tomorrow i'll check it.
Now i would like you to provide me further info in order to let me know better the problem.
Can you explain better what is happening.. ?Sorry , but it's a strange thing that i have never seen ...
thank you very much
Federico