- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to enable evweb for ever?
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
тАО11-24-2010 05:34 AM
тАО11-24-2010 05:34 AM
I am using the following command to get power supply alarm information:
# evweb eventviewer -L
But this command stopped working and I wonder if I can enable it forever.
Thanks,
Marilia
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2010 06:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2011 08:07 AM
тАО01-25-2011 08:07 AM
Re: How to enable evweb for ever?
I am sorry for taking so long to answer.
But I still have the problem. This is a production machine so I have to be very carefull, what does these commands do:
# /sbin/init.d/sfmdb stop
# /sbin/init.d/sfmdb start
I am not sure if I can run them anytime or should I ask for a maintenance window.
The thing is that # evweb eventviewer -L
is not working for all the power supply events (on/off)
The first time I unplugged the power supply (23:21) I checked the "evweb eventviewer -L " command and got the corresponding power information below.
EvArchNo Severity Event # Event Category Archive Time Summary
========= =========== ============== ============== =================== ==============
87 Information 152 System Power 2011-01-21 23:30:32 Power suppl...
86 Information 143 System Power 2011-01-21 23:30:31 Power suppl...
85 Warning 137 System Power 2011-01-21 23:21:04 Power suppl...
84 Warning 153 System Power 2011-01-21 23:21:03 Power suppl...
After I plugged and unplugged 4 times (until 01:18) same information was displayed (no update regarding the new power supply events was displayed), as you can see also on log_cmd.txt.
EvArchNo Severity Event # Event Category Archive Time Summary
========= =========== ============== ============== =================== ==============
87 Information 152 System Power 2011-01-21 23:30:32 Power suppl...
86 Information 143 System Power 2011-01-21 23:30:31 Power suppl...
85 Warning 137 System Power 2011-01-21 23:21:04 Power suppl...
84 Warning 153 System Power 2011-01-21 23:21:03 Power suppl...
The questions are:
1) Why the "evweb eventviewer -L" command is not showing all the power suplly events?
2) why log keeps the same information?
And if this is the normal behaviour, then: log shouldn't be clear every 5 minutes in order to avoid to have same alarm even when is cleared?
Thanks and Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2011 09:09 AM
тАО01-25-2011 09:09 AM
Re: How to enable evweb for ever?
If the file /sbin/init.d/sfmdb exists you can start or stop the service.
By other way, they are customized by sourcing in configuration files found in the /etc/rc.config.d directory. These configuration files contain variables that you can set.
Usually a main variable setting is available in configuration files found in the /etc/rc.config.d directory. In any case, if you can enable or disable the service executing /sbin/init.d/sfmdb start|stop thats means that this main variable setting is on. Also could be that you needs create into /sbin/init.d a file with the following content:
#!/sbin/sh
RVAL=0
case $1 in
start_msg)
echo "Starting evweb Server"
;;
'start')
/sbin/init.d/sfmdb start
;;
'stop')
/sbin/init.d/sfmdb stop
;;
*)
echo "usage: $0 {start|stop}"
RVAL=1
;;
esac
exit $RVAL
Finally, from /sbin/rc3.d you must create a symbolic link name with "S" prefix (Start) that aims to /sbin/init.d/
You can check this brief document:
http://www.unixhub.com/docs/hpux/hpux_boot.html
or read hp-ux online manuals:
#man rc
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2011 11:55 AM
тАО01-25-2011 11:55 AM
Re: How to enable evweb for ever?
I will check if /sbin/init.d/sfmdb exists.
But I still don't know if you understood my problem, maybe is my fault. The "evweb eventviewer -L" command works intermittent.
Sometimes "evweb eventviewer -L" command prints out all the events when I removed/reconnect the power supply and sometimes it doesn't print out.
Kind Regards,
Marilia
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2011 11:49 AM
тАО02-01-2011 11:49 AM
Re: How to enable evweb for ever?
sfmdb is running but evweb command is not working. What else could I do?
bash-4.1$ ps -eaf | grep sfmdb
sfmdb 1435 1432 0 Nov 4 ? 0:01 postgres: stats buffer process
sfmdb 1436 1435 0 Nov 4 ? 0:14 postgres: stats collector process
sfmdb 1432 1 0 Nov 4 ? 1:04 /opt/psb/db/pgsql/bin/postmaster -i -D /var/opt/psb/db/pgsql
sfmdb 1660 1432 0 Nov 4 ? 0:01 postgres: sfmdb LOGARCHDB [local] idle
sfmdb 1630 1432 0 Nov 4 ? 0:01 postgres: sfmdb LOGDB [local] idle
sfmdb 20230 1432 0 Nov 17 ? 1:06 postgres: sfmdb evweb [local] idle
sfmdb 20294 1432 0 Nov 17 ? 0:01 postgres: sfmdb evweb [local] idle
sfmdb 1649 1432 0 Nov 4 ? 0:01 postgres: sfmdb LOGDB [local] idle
sfmdb 21935 1432 0 Nov 17 ? 0:05 postgres: sysadmin cer [local] idle
sfmdb 23727 1432 0 Nov 17 ? 0:01 postgres: sfmdb SASPROVDB [local] idle
sfmdb 20232 1432 0 Nov 17 ? 1:11 postgres: sfmdb evweb_history [local] idle
sfmdb 2018 1432 0 Nov 4 ? 0:08 postgres: sysadmin cer [local] idle
sfmdb 23726 1432 0 Nov 17 ? 0:01 postgres: sfmdb FCPROVDB [local] idle
sfmdb 23725 1432 0 Nov 17 ? 0:01 postgres: sfmdb DISKPROVDB [local] idle
sfmdb 23728 1432 0 Nov 17 ? 0:01 postgres: sfmdb RAIDSAPROVDB [local] idle
Please check attachment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2011 11:46 AM
тАО02-03-2011 11:46 AM
Re: How to enable evweb for ever?
Any feedback? Do you need more information?
Please let me know,
Regards,
Marilia