实战经验:
in solaris express b_44,to start smc:
1.please refresh the remained unuseful file & process:
You may need to just first start wbem with command:
/etc/init.d/init.wbem start
Then run smc&
But if problem persists the commands below can be used to restart all of smc and wbem...
Sometimes when the smc or wbem processes do not come down gracefully, init.wbem is no longer successful in fully stopping or starting the wbem server daemon, subsequently a side-affect is smc will fail to launch, or other smc anomolies may occur.
To resolve for SMC 2.1, perform steps as follows:
Open a termal,
* /usr/dt/bin/dtterm -C
* su root
* /etc/init.d/init.wbem stop
* kill all instances of the smcboot process (if any are running), ie:
# ps -ef|grep smcboot (manually kill any running processes)
* kill all instances of the cimomboot process (if any are running), ie:
# ps -ef|grep cimom (manually kill any running processes)
* kill all instances of Solaris Management Console-related JVMs. These will contain
either "-Dviper.fifo.path=" or "-Djava.security.policy=" in their command paths, ie:
# /etc/init.d/init.wbem status
Solaris Management Console server version 2.1.0 running on port 898.
# smc &
4526
# Java Accessibility Bridge for GNOME loaded.
* Now try to start wbem, wait several minutes,
# /etc/init.d/init.wbem start (be patient, this can take several minutes)
# /etc/init.d/init.wbem status
3.how to trace smc debug message:
Please follow the below steps to enable debugging and let me know what is failing.
1) Stop the Solaris Web-Based Enterprise Management server:
> /etc/init.d/init.wbem stop
2) Edit the line below, in the file: /etc/init.d/init.wbem
/etc/init.d/init.wbem startnow( There is a small correction stop the smcboot process by the command
/etc/init.d/init.wbem stop
and start it using the below command
/etc/init.d/init.wbem startnow)
Then run "smc -d 0" command in another terminal and observe
the terminal in which you have started the /etc/init.d/init.wbem
process.
4.the related work explain:
Nicolas Linkert wrote:
>I have installed snv 41 and have just noticed that I cannot start smc. Is this a known issue?
>
>Server not running. On this server no Solaris management Console server was found.
>
>
There are a few known issues with SMC in B41. It is now an SMF
service so
you can issue "svcadm enable wbem". It will listen only on
127.0.0.1 as per
the requirements of the Secure By Default project. To enable
listening on all
interfaces you can stop it and execute
"svccfg -s wbem setprop options/tcp_listen=true"
But note that there exist several bugs.
These are fixed in B42 and enabling/disabling listening for remote
connections
is done via SBD profiles.作者: cuci 时间: 2006-08-30 11:44
鼓励,咔咔作者: matata 时间: 2010-03-26 16:14
学习了。。。。
smc for what? solaris management console作者: zhmzhouming 时间: 2010-03-26 16:24
yes, solaris management console.
mark for later use作者: guopy007 时间: 2010-03-26 19:41
顶一下 LZ作者: 黑暗的咏叹 时间: 2013-11-13 22:31
我的solaris 10环境上nmap扫描有很多UDP高位端口像32771、32772之类的端口打开了,显示对应的服务是sometimes-rpc5、sometimes-rpc5,查看对应的进程是/usr/sadm/lib/smc/bin/smcboot,不知道这个是干嘛用的,能停掉吗?作者: 黑暗的咏叹 时间: 2013-11-13 22:32
对应的服务是sometimes-rpc5、sometimes-rpc7,笔误~