GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: monitoring netsacpe web server
Operating System - HP-UX
1846875
Members
3681
Online
110256
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
01-16-2001 06:18 AM
01-16-2001 06:18 AM
monitoring netsacpe web server
HI,
I need to build a script which monitor running of netscape https server.
If some process go down I need to restart the server.
Process running are
./uxwdog -d /usr/netscape/suitespot/https-dcsv02/config
/usr/netscape/suitespot/bin/https/ns-httpd.qos -d /usr/netsc
often there are other process for netscape administration.
How can I build this script?
I need to build a script which monitor running of netscape https server.
If some process go down I need to restart the server.
Process running are
./uxwdog -d /usr/netscape/suitespot/https-dcsv02/config
/usr/netscape/suitespot/bin/https/ns-httpd.qos -d /usr/netsc
often there are other process for netscape administration.
How can I build this script?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2001 08:50 AM
01-16-2001 08:50 AM
Re: monitoring netsacpe web server
Roberto,
Do you want to have the script restart the web server, or just notify you that it's down? You could script a 'wrap-around' that starts the two processes in your message, and writes the PID for each to a temp file. Then, you could do a ps -p 'PID,PID' and if it doesn't find them, restart the web server/or notify you.
Hope this helps,
Mo
Do you want to have the script restart the web server, or just notify you that it's down? You could script a 'wrap-around' that starts the two processes in your message, and writes the PID for each to a temp file. Then, you could do a ps -p 'PID,PID' and if it doesn't find them, restart the web server/or notify you.
Hope this helps,
Mo
No matter where you go, there you are.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2001 09:19 AM
01-16-2001 09:19 AM
Re: monitoring netsacpe web server
If you have a number of web servers running on a single box, you could possibly have a script in the cron which ran say, every five minutes which wouldgrep for the and 'httpd' in the ps -ef output. And if it didnt find the specific process would restart it.
Also, the other way is to have the script parse the watchdog log and start the webserver if any is down.
Hope this helps.
Nabeel
Also, the other way is to have the script parse the watchdog log and start the webserver if any is down.
Hope this helps.
Nabeel
Live Free or Die (New Hampshire)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2001 02:59 PM
01-16-2001 02:59 PM
Re: monitoring netsacpe web server
If you want the netscape server process to be up all the time , you may want to put it in /etc/inittab with respawn bit set.
hth
hth
Learning is the Key!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP