Sponsored Content
Operating Systems Linux Red Hat How do I know whether a service is online? Post 302797237 by Sod on Monday 22nd of April 2013 05:59:04 AM
Old 04-22-2013
Server services online

There are various methods to confirm this.. My usual way is to check first whether the service is active on the corresponding port with help of telnet.

In the case of web service

HTML Code:
#telnet localhost 80
Or we can use

HTML Code:
#service httpd status
HTML Code:
#pidof httpd
HTML Code:
#ps -e | grep httpd
Always confirm from the Client end also if the service is a critical one.
 

4 More Discussions You Might Find Interesting

1. Solaris

All dependicies of nfs service is online but nfs is offline

Hi all in my server all nfs dependices are online but nfs client is offline root@BIWAPP1 # svcs -a|grep nfs disabled Sep_05 svc:/network/nfs/server:default online Sep_05 svc:/network/nfs/rquota:default online Sep_05 svc:/network/nfs/mapid:default online ... (9 Replies)
Discussion started by: spandhan
9 Replies

2. UNIX for Advanced & Expert Users

Solaris: Fault Management Service toggles online, offline

I have two Solaris 10 T2000 systems. Platform sun8 has newer firmware than sun7. sun8/user$ prtdiag -v | grep OBP OBP 4.30.4.b 2010/07/09 13:48 sun7/user$ prtdiag -v | grep OBP OBP 4.30.4.a 2010/01/06 14:56 The platform (sun8) with the newer firmware (OBP 4.30.4.b) has a Fault... (2 Replies)
Discussion started by: DavidHalko
2 Replies

3. Solaris

DNS service is in maintenance mode. How to bring it back to online mode?

:confused: when i tried to look the status of DNS-client, it is in maintenance mode..... Please tell me how to bring it back to online mode...PLEASE TELL ME STEP BY STEP.... PLEASE... :wall: (2 Replies)
Discussion started by: vamshigvk475
2 Replies

4. Solaris

Unable to bring iscsitgt service to online

this is samiulla in my vmware solaris 11 i installed iscsitgt pakage but it goes to maintenance and i am unable to bring into online with svcadm clear iscsitgt how can i forcefully online iscsitgt service. (1 Reply)
Discussion started by: samiulla
1 Replies
SYSTEMD-NETWORKD-WAIT-ONLINE.SERVICE(8) 		     systemd-networkd.service			   SYSTEMD-NETWORKD-WAIT-ONLINE.SERVICE(8)

NAME
systemd-networkd-wait-online.service, systemd-networkd-wait-online - Wait for network to come online SYNOPSIS
systemd-networkd-wait-online.service /lib/systemd/systemd-networkd-wait-online DESCRIPTION
systemd-networkd-wait-online is a one-shot system service that waits for the network to be configured. By default, it will wait for all links it is aware of and which are managed by systemd-networkd.service(8) to be fully configured or failed, and for at least one link to gain a carrier. OPTIONS
The following options are understood: -i, --interface= Network interface to wait for before deciding if the system is online. This is useful when a system has several interfaces which will be configured, but a particular one is necessary to access some network resources. This option may be used more than once to wait for multiple network interfaces. When used, all other interfaces are ignored. --ignore= Network interfaces to be ignored when deciding if the system is online. By default, only the loopback interface is ignored. This option may be used more than once to ignore multiple network interfaces. --timeout= Fail the service if the network is not online by the time the timeout elapses. A timeout of 0 disables the timeout. Defaults to 120 seconds. SEE ALSO
systemd(1), systemd-networkd.service(8) systemd 237 SYSTEMD-NETWORKD-WAIT-ONLINE.SERVICE(8)
All times are GMT -4. The time now is 07:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy