06-24-2009
if svcs webconsole is under maintenance, do this:
smcwebserver stop
/usr/share/webconsole/private/bin/wcremove -i console
svcadm clear system/webconsole:console
smcwebserver start
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I justed installed Solaris 9 for Sparc, for some reason SMC was not installed. How can I reinstall SMC, with out reinstall solaris 9.
Could some one please help me out.
Thanks
Chamkils (2 Replies)
Discussion started by: chamkila
2 Replies
2. Solaris
We changed our root password on one of our Master NIS machines. We tried going into the SMC after the password change and it keeps failing for root login. I can login to the server via the root account. Just cannot open the SMC with the root account. This user is required to manage the users. ... (2 Replies)
Discussion started by: buckhtr77
2 Replies
3. Solaris
When I start SMC
IT still doesnot work .It still remain configuration and don't change to welcome screen
Please help me :mad: (1 Reply)
Discussion started by: iwbasts
1 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I've a Solaris 10.
When I attemp to run SMC and click somthing there (for example "system information") , an error message is shown on the screen and says me WBEM is not running. (But actually WBEM is working). It says "if WBEM runing, I should stop/start wbem and try again." but I do it... (0 Replies)
Discussion started by: XNOR
0 Replies
5. Solaris
Hi,
I am new to solaris and i am trying solaris 10 7/08. I cannot add new user account with smc. I got the error "the management domain file:/solaris/solaris does not exist". Host name of my box is solaris. I do not know what should i do. Can someone help me pls?
Regards,
rock2happy (4 Replies)
Discussion started by: rock2happy
4 Replies
6. Solaris
I am working with Solaris 9.In that I am trying to open SMC(Solaris Management Console) but when I am clicking it,nothing is opening.
Can any1 tell me why it is not opening??:confused: (1 Reply)
Discussion started by: smartgupta
1 Replies
7. Solaris
I installed the smc and now I'm getting the below error when i try to access it via web.
Apache Tomcat/4.0.5 - HTTP Status 404 - /smconsole.jnlp
The service Apache2 is in maintenance mode and I can't get it online. Can someone help with this please?
Thanks. (5 Replies)
Discussion started by: bbbngowc
5 Replies
8. HP-UX
When we ssh -i private key user@ip we get the password prompt. The sending servers public key is in the receiving server. We have blown away the known_hosts file on the sending server and restarted the ssh connection. We don't know what else to do. Any other suggestions? (15 Replies)
Discussion started by: jastanle84
15 Replies
9. Shell Programming and Scripting
stty -a
speed 38400 baud; rows 28; columns 115;
intr = ^?; quit = ^\; erase = ^H; kill = @; eof = ^D; eol = M-^?; eol2 = M-^?; swtch = ^Z; start = ^Q; stop = ^S;
susp = ^Z; dsusp = ^Y; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal crtscts... (2 Replies)
Discussion started by: kunwar
2 Replies
10. Ubuntu
Hello.
Doing my first steps in Linux and while trying to configure a DHCP server in Linux i encountered some problems:
TOPOLOGY:
- Laptop with Windows 8.1
- VM Player 12 with Linux installed (Ubuntu Server 14.04)
- ICS-DHCP-SERVER installed and running
- Another LAPTOP conected to a... (1 Reply)
Discussion started by: Portuguevos
1 Replies
LEARN ABOUT OPENSOLARIS
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)