First check to see if inetd is running:
It should return something like:
root 245 1 0 May 16 ? 0:06 /usr/sbin/inetd -s
chuckb 25229 8836 0 13:31:56 pts/102 0:00 grep inetd
If you don't get something like the top line, (ignore the grep line) you need to start inetd. Rebooting the box would be easiest, if thats not an option what exact OS are you running (Solaris, AIX, Linux, etc)
Hi,
Very new to Unix environment. Hopefully, this will be a quicky answer....I can't seem to find the answer anywhere, and everyone here is stumped.
We have a Unix 6 machine that runs our corporate software. We have users using Windows 2000 that telnet (J River) into the Unix system.... (1 Reply)
Our systems group is asking if it would be Ok to turn off certain services due to potention security risks. The following are being contemplated.
Service
chargen
daytime
discard
dtspcd
echo
exec
finger
fs
gssd
in.comsat
kcms_server
ktkt_warnd
login
name
rpc.cmsd
rpc.metad... (4 Replies)
We have lost our Sys Admin and with the DST changes.. i need to make sure all services are re-started on a SUN server running SUNOS 5.9
How can i list what is running and make sure they are running after the DST patches are applied? (2 Replies)
Hi There
We currently experiencing a problem on our Unix server Sco 5.07 , whereby
the tcp services stops on it own and even if we restart the services manually the services still does not come up,We loose the printer and pc connections to the server we then need to restart the Unix server in... (1 Reply)
I just installed Services for Unix on a Windows 2003 DC. I have a Debian box with Samba shares for our storage drive. I'm trying to test a Linux client.
She is unable to read or write from the Samba shares. Her login is being mapped to the same name from NIS to AD. She can login from a windows... (0 Replies)
I just installed Windows Services for Unix. I want to create a ksh program and schedule it using the Windows scheduler. How would I go about doing it?
What would the command line look like?
Do I always have to be in a ksh shell to run the batch program even if it is not scheduled?
... (3 Replies)
Hi all,
I am fairly new to Unix/Linux, have been working on installattion for Tivoli Directory Services.The installation has a conflict with ports which is a known issue with the Directory Service. As per IBM the properties files can be changed to manually, for the Webadmin(Websphere) protal... (1 Reply)
Hello,
I need to make a function call to a RESTful web service. I tried using curl command but it throws an error 'Mathod not allowed'
curl --request POST <link>
Could someone confirm if Unix can call a RESTful web service and share some examples around the Syntax
Thanks in Advance :b:... (2 Replies)
Hi,
I just started working on a script. After my research, i found a command which can help me:
AIM: To build a script which starts the services (Services 1) on server 1 automatically whenever its down. And it has a dependency on other service (Service 2) on Server 2.
So my script has to... (4 Replies)
Discussion started by: draghun9
4 Replies
LEARN ABOUT SUNOS
smcwebserver
smcwebserver(1M) System Administration Commands smcwebserver(1M)NAME
smcwebserver - manage the server for the Sun Web Console
SYNOPSIS
/usr/sbin/smcwebserver subcommand options
DESCRIPTION
The smcwebserver utility manages the Sun Web Console server. Sun Web Console is a browser-based interface that performs systems management.
System administrators can manage systems, devices and services from the console.
When the console webserver is running, you can view the console by opening a browser and pointing to:
https://host:6789
host is the machine where the console has been installed and the console server is running.
SUBCOMMANDS
The following subcommands are supported:
disable Disable automatic start or stop during system boot or shutdown. Until the administrator reruns the script with the smcweb-
server enable subcommand the webserver can be started/stopped only when the administrator executes the script manually
using the following command:
# /usr/sbin/smcwebserver [start | stop]
enable Enable the webserver to startup automatically during subsequent system boot and gracefully stop during system shutdown.
restart Stop and subsequently start the console webserver.
The format of the restart subcommand is:
restart [-U username]
start Start the console webserver.
The format of the start subcommand is:
start [-U username]
stop Stop the console webserver.
status Display status of the console webserver.
The format of the status subcommand is:
status [-p]
OPTIONS
The following options are supported:
-U username | --username usernamThe user identity to run the server as. Once the server has successfuly started under the specified iden-
tity, all subsequent starts will automatically be done under that identity until you change it via this
option, or by changing the com.sun.web.console.user configuration property via the smreg(1M) command. The
default is to run the server under the "noaccess" identity.
-p | --parseable Display non-localized output suitable for programmatic parsing. If the server is running, the output will
be:
running=yes
If the server is not running, the output will be:
running=no
-h | --help | -? Display the usage statement.
-V | --version Display console version information.
EXAMPLES
Example 1: Displaying the Usage Statement
The following command displays the smcwebserver usage statement:
% smcwebserver --help
Example 2: Determining if the Server is Running
The following shell command will start the server if it is not already running.
ans=`smcwebserver -p | grep running | cut -d"=" -f2`
if [ "$ans" = "no" ]; then
smcwebserver start
fi
ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of smcwebserver:
JAVA_HOME
If you do not specify this environment variable, your PATH is searched for a suitable java. Otherwise, depending on the OS, the follow-
ing default locations are used:
Solaris: /usr/j2se
Linux: /usr/java/j2sdk1.4*
EXIT STATUS
The following exit values are returned:
0 Successful completion.
1 An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWmcon |
+-----------------------------+-----------------------------+
SEE ALSO smreg(1M), attributes(5), environ(5)SunOS 5.10 27 May 2004 smcwebserver(1M)