- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: serviceguard commands not working ,but applica...
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
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
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
02-13-2021 05:54 PM
02-13-2021 05:54 PM
serviceguard commands not working ,but applications are ok
Hello ,
None of the cluster commands are working ,
# cmviewcl
Failed to load data from configuration database.
Failed to load data from configuration database.
#
But the applications which are part of cluster are still up and running .
It seems only the cluster commands are affected .
Should we restart inetd , ? will it impact running applications ?
Any support is much appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2021 08:46 PM
02-14-2021 08:46 PM
Re: serviceguard commands not working ,but applications are ok
Greetings,
First of all, we need to identify why SG commands are hanging. Restarting inetd will help if the cause has to do with communication.
I would suggest adding "-l" to the following line in /etc/inetd.conf file
auth stream tcp6 wait bin /usr/lbin/identd identd -l
And then, "inetd -c" will re-read the file.
Please check system logs for more details on what is casing the failure.
You may also check for previous commands that may still be running rendering other commands to wait on them.
The following syntax will be useful to list processes in the order of parent-child
# export UNIX95=1; ps -AHflx
On a side note. here is an excerpt that will be helpful for future use:
If the -T option to identd is available on your system, you should set it to 120 (-T120); this ensures that
a connection inadvertently left open will be closed after two minutes. In this case, the identd entry
in /etc/inetd.conf should look like this:
auth stream tcp6 wait bin /usr/lbin/identd identd -T120
Check the man page for identd to determine whether the -T option is supported for your version of
identd
Hope it helps.
I am a HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2021 05:23 PM
02-15-2021 05:23 PM
Re: serviceguard commands not working ,but applications are ok
Greetings,
I hope my suggestions helped. If the SG commands continue to hang even after killing the old(read pending) "cm" commands, then it is better to stop the current inetd and restart using:
# inetd -k
# inetd -l
Please let us know how it goes.
I am a HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2021 02:30 AM
02-18-2021 02:30 AM
Re: serviceguard commands not working ,but applications are ok
Hello ,
Thanks for the suggestions .
Query:
As the Database and applications part of cluster packages are currently running , will this restart of inetd make any impact to the these running databases and applications . ?
Also the following entry is there for identd:
auth stream tcp6 wait bin /usr/lbin/identd identd -t120
As per man page for identd ,
WARNINGS
The -w and -t options are currently not supported on HP-UX.
We have t120 , but i think it should be T120 .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2021 02:53 AM
02-21-2021 02:53 AM
Re: serviceguard commands not working ,but applications are ok
Greetings,
Stop and restart of inetd service will not impact the existing connections. It's behavior is well explained in the man page, here is an excerpt:
The inetd daemon starts servers for both stream and datagram type
services. For stream services, inetd listens for connection requests
on Internet stream sockets. When a connection is requested for one of
its sockets, inetd decides which service the socket will support,
forks a process, invokes an appropriate server for the connection, and
passes the connected socket to the server as stdin and stdout. Then
inetd returns to listening for connection requests.
For datagram services, inetd waits for activity on Internet datagram
sockets. When an incoming datagram is detected, inetd forks a
process, invokes an appropriate server, and passes the socket to the
server as stdin and stdout. Then inetd waits, ignoring activity on
that datagram socket, until the server exits.
I hope it helps. Please do not forget to post the results/outcome.
I am a HPE Employee