4 Replies Latest reply: Jun 13, 2011 8:47 AM by 868478 RSS

    SUNMC GUI can not be started

    838487
      Hi all,

      Command /opt/SUNWsymon/sbin/es-start -c gives Login promt , but after providing credentials, an error occures:

      "Communication can not be established with the server. The server version may be incompatible"

      I have run "svcs -a | grep sunmc" to see if all the services running and if sunmcjavaserver is enabled
      root@omcsun # svcs -a | grep sunmc
      disabled Feb_02 svc:/application/management/sunmcplatform:default
      online Feb_02 svc:/application/management/sunmcagent:default
      online Feb_02 svc:/application/management/sunmcdatabase:default
      online Feb_03 svc:/application/management/sunmctrap:default
      online Feb_03 svc:/application/management/sunmccfgserver:default
      online Feb_03 svc:/application/management/sunmcevent:default
      online Feb_03 svc:/application/management/sunmctopology:default
      online Feb_03 svc:/application/management/sunmcmetadata:default
      online Feb_04 svc:/application/management/sunmcjavaserver:default
      online Feb_04 svc:/application/management/sunmcgrouping:default
      online* 13:00:13 svc:/application/management/sunmcwebserver:default

      root@omcsun>ps -ef | grep "esd -" | grep -v grep
      root 12769 1 0 Feb 03 ? 6:25 esd - init event -dir /var/opt/SUNWsymon -q
      root 20469 1 0 Feb 03 ? 2:12 esd - init metadata -dir /var/opt/SUNWsymon -q
      root 13586 1 0 Feb 03 ? 6:21 esd - init topology -dir /var/opt/SUNWsymon -q
      root 11932 1 0 Feb 03 ? 11:20 esd - init cfgserver -dir /var/opt/SUNWsymon -q
      root 8414 1 0 Feb 02 ? 209:28 esd - init agent -dir /var/opt/SUNWsymon -q
      root 11257 1 0 Feb 03 ? 3:11 esd - init trap -dir /var/opt/SUNWsymon -q

      root@omcsun>smcwebserver status
      Oracle Java(TM) Web Console is running

      The es-validate output
      root@omcsun>/opt/SUNWsymon/sbin/es-validate

      -------------------------------------------------------------------------------
      This script will help you in validation of Sun (TM) Management Center.
      -------------------------------------------------------------------------------

      Validation Tool Version : 4.0
      Host name : omcsun
      Number of CPUs : 32
      Platform : SUNW,SPARC-Enterprise-T5220
      Operating System : SunOS 5.10
      Memory size : 8064 Megabytes
      Swap space : 1481648k used, 21279360k available
      JAVA VERSION : "1.6.0_22"
      -------------------------------------------------------------------------------


      Sun Management Center Production Environment Installation.

      Following layers are installed : SERVER, AGENT, CONSOLE
      Installation location : /opt/SUNWsymon

      -------------------------------------------------------------------------------
      Sun Management Center installation status:
      -------------------------------------------------------------------------------
      PRODUCT : Production Environment
      INSTALLATION STATUS : Setup.
      DATABASE SETUP : Setup.
      COMPLETELY INSTALLED PACKAGES : SUNWescom,SUNWenesi,SUNWesagt,SUNWesmib,
      : SUNWesken,SUNWesmod,SUNWesae,SUNWesaem,
      : SUNWesgui,SUNWsuagt,SUNWesval,SUNWesaxp,
      : SUNWesmcp,SUNWeslac,SUNWesafm,SUNWescon,
      : SUNWesjp,SUNWesclt,SUNWesjrm,SUNWenesf,
      : SUNWesasc,SUNWescix,SUNWsucon,SUNWescli,
      : SUNWesclb,SUNWesmc,SUNWescdv,SUNWesbui,
      : SUNWesbuh,SUNWesdb,SUNWessrv,SUNWessa,
      : SUNWesse,SUNWmeta,SUNWesmdr,SUNWesweb,
      : SUNWessvc,SUNWsusrv,SUNWessms,SUNWessdv,
      : SUNWlgsmc,SUNWesodbc

      -------------------------------------------------------------------------------
      PRODUCT : Advanced System Monitoring
      INSTALLATION STATUS : Setup.
      COMPLETELY INSTALLED PACKAGES : SUNWesamn,SUNWespro,SUNWesip6,SUNWenadm,
      : SUNWessmf,SUNWesfma,SUNWescam,SUNWessmn

      -------------------------------------------------------------------------------
      PRODUCT : Desktop
      INSTALLATION STATUS : Setup.
      COMPLETELY INSTALLED PACKAGES : SUNWeswss,SUNWeswsi

      -------------------------------------------------------------------------------
      PRODUCT : Netra
      INSTALLATION STATUS : Setup.
      COMPLETELY INSTALLED PACKAGES : SUNWesnti,SUNWesnts

      -------------------------------------------------------------------------------
      PRODUCT : Sun Fire Midrange Systems Domain Administ
      INSTALLATION STATUS : Setup.
      COMPLETELY INSTALLED PACKAGES : SUNWesssd,SUNWessco,SUNWensda,SUNWedacs

      -------------------------------------------------------------------------------
      PRODUCT : Sun Fire Midrange Systems Platform Admini
      INSTALLATION STATUS : Setup.
      COMPLETELY INSTALLED PACKAGES : SUNWesspa,SUNWenspa,SUNWesspc,SUNWesccp,
      : SUNWessps,SUNWespsc

      -------------------------------------------------------------------------------
      PRODUCT : Workgroup Server
      INSTALLATION STATUS : Setup.
      COMPLETELY INSTALLED PACKAGES : SUNWeswgi,SUNWeswgs

      -------------------------------------------------------------------------------
      PRODUCT : Generic X86/X64 Config Reader
      INSTALLATION STATUS : Setup.
      COMPLETELY INSTALLED PACKAGES : SUNWesgcs,SUNWesgcl

      -------------------------------------------------------------------------------
      PRODUCT : Sun Fire Entry-Level Midrange System
      INSTALLATION STATUS : Setup.
      COMPLETELY INSTALLED PACKAGES : SUNWfeslw8c,SUNWfeslw8s,SUNWjeslw8c,SUNWjeslw8s,
      : SUNWkeslw8c,SUNWkeslw8s,SUNWeslw8c,SUNWeslw8s,
      : SUNWceslw8c,SUNWceslw8s,SUNWheslw8c,SUNWheslw8s

      -------------------------------------------------------------------------------
      PRODUCT : ELP Config-Reader Monitoring
      INSTALLATION STATUS : Setup.
      COMPLETELY INSTALLED PACKAGES : SUNWescca,SUNWescdl,SUNWescda,SUNWespdl,
      : SUNWespda,SUNWescci,SUNWesccs,SUNWescfa,
      : SUNWescfl,SUNWescfs,SUNWescha,SUNWeschl,
      : SUNWeschs,SUNWescna,SUNWescnl,SUNWescns,
      : SUNWescpa,SUNWescpl,SUNWescps,SUNWescwa,
      : SUNWescws,SUNWesera,SUNWeserl,SUNWesers,
      : SUNWesona,SUNWesonl,SUNWesons

      -------------------------------------------------------------------------------


      Sun Management Center Add-Ons and Versions:
      -------------------------------------------------------------------------------
      PRODUCT VERSION
      -------------------------------------------------------------------------------
      Production Environment 4.0
      Advanced System Monitoring 4.0_Build15
      Desktop 3.6
      Netra 3.6
      Sun Fire Midrange Systems Domai 3.5-v6
      Sun Fire Midrange Systems Platf 3.5-v6
      Workgroup Server 3.6
      Generic X86/X64 Config Reader 4.0_Build15
      Sun Fire Entry-Level Midrange S 3.5-v6
      ELP Config-Reader Monitoring 4.0-v5
      -------------------------------------------------------------------------------

      Sun Management Center Patch installation details:
      -------------------------------------------------------------------------------

      Installed patches : 143323-03,143323-03,143323-03,143323-03,
      : 143323-03,143323-03,143323-03,143323-03,
      : 143323-03,143323-03,143323-03,143323-03,
      : 143323-03,143323-03,143323-03,143323-03
      Production Environment : SUNWescom,SUNWesagt,SUNWesken,SUNWesae,
      : SUNWescon,SUNWesjp,SUNWesclt,SUNWescli,
      : SUNWesbui,SUNWesdb,SUNWessrv,SUNWessa,
      : SUNWesweb,SUNWessvc,SUNWsusrv,SUNWescom,
      : SUNWesagt,SUNWesken,SUNWesae,SUNWescon,
      : SUNWesjp,SUNWesclt,SUNWescli,SUNWesbui,
      : SUNWesdb,SUNWessrv,SUNWessa,SUNWesweb,
      : SUNWessvc,SUNWsusrv,SUNWescom,SUNWesagt,
      : SUNWesken,SUNWesae,SUNWescon,SUNWesjp,
      : SUNWesclt,SUNWescli,SUNWesbui,SUNWesdb,
      : SUNWessrv,SUNWessa,SUNWesweb,SUNWessvc,
      : SUNWsusrv,SUNWescom,SUNWesagt,SUNWesken,
      : SUNWesae,SUNWescon,SUNWesjp,SUNWesclt,
      : SUNWescli,SUNWesbui,SUNWesdb,SUNWessrv,
      : SUNWessa,SUNWesweb,SUNWessvc,SUNWsusrv,
      : SUNWescom,SUNWesagt,SUNWesken,SUNWesae,
      : SUNWescon,SUNWesjp,SUNWesclt,SUNWescli,
      : SUNWesbui,SUNWesdb,SUNWessrv,SUNWessa,
      : SUNWesweb,SUNWessvc,SUNWsusrv,SUNWescom,
      : SUNWesagt,SUNWesken,SUNWesae,SUNWescon,
      : SUNWesjp,SUNWesclt,SUNWescli,SUNWesbui,
      : SUNWesdb,SUNWessrv,SUNWessa,SUNWesweb,
      : SUNWessvc,SUNWsusrv,SUNWescom,SUNWesagt,
      : SUNWesken,SUNWesae,SUNWescon,SUNWesjp,
      : SUNWesclt,SUNWescli,SUNWesbui,SUNWesdb,
      : SUNWessrv,SUNWessa,SUNWesweb,SUNWessvc,
      : SUNWsusrv,SUNWescom,SUNWesagt,SUNWesken,
      : SUNWesae,SUNWescon,SUNWesjp,SUNWesclt,
      : SUNWescli,SUNWesbui,SUNWesdb,SUNWessrv,
      : SUNWessa,SUNWesweb,SUNWessvc,SUNWsusrv,
      : SUNWescom,SUNWesagt,SUNWesken,SUNWesae,
      : SUNWescon,SUNWesjp,SUNWesclt,SUNWescli,
      : SUNWesbui,SUNWesdb,SUNWessrv,SUNWessa,
      : SUNWesweb,SUNWessvc,SUNWsusrv,SUNWescom,
      : SUNWesagt,SUNWesken,SUNWesae,SUNWescon,
      : SUNWesjp,SUNWesclt,SUNWescli,SUNWesbui,
      : SUNWesdb,SUNWessrv,SUNWessa,SUNWesweb,
      : SUNWessvc,SUNWsusrv,SUNWescom,SUNWesagt,
      : SUNWesken,SUNWesae,SUNWescon,SUNWesjp,
      : SUNWesclt,SUNWescli,SUNWesbui,SUNWesdb,
      : SUNWessrv,SUNWessa,SUNWesweb,SUNWessvc,
      : SUNWsusrv,SUNWescom,SUNWesagt,SUNWesken,
      : SUNWesae,SUNWescon,SUNWesjp,SUNWesclt,
      : SUNWescli,SUNWesbui,SUNWesdb,SUNWessrv,
      : SUNWessa,SUNWesweb,SUNWessvc,SUNWsusrv,
      : SUNWescom,SUNWesagt,SUNWesken,SUNWesae,
      : SUNWescon,SUNWesjp,SUNWesclt,SUNWescli,
      : SUNWesbui,SUNWesdb,SUNWessrv,SUNWessa,
      : SUNWesweb,SUNWessvc,SUNWsusrv,SUNWescom,
      : SUNWesagt,SUNWesken,SUNWesae,SUNWescon,
      : SUNWesjp,SUNWesclt,SUNWescli,SUNWesbui,
      : SUNWesdb,SUNWessrv,SUNWessa,SUNWesweb,
      : SUNWessvc,SUNWsusrv,SUNWescom,SUNWesagt,
      : SUNWesken,SUNWesae,SUNWescon,SUNWesjp,
      : SUNWesclt,SUNWescli,SUNWesbui,SUNWesdb,
      : SUNWessrv,SUNWessa,SUNWesweb,SUNWessvc,
      : SUNWsusrv,SUNWescom,SUNWesagt,SUNWesken,
      : SUNWesae,SUNWescon,SUNWesjp,SUNWesclt,
      : SUNWescli,SUNWesbui,SUNWesdb,SUNWessrv,
      : SUNWessa,SUNWesweb,SUNWessvc,SUNWsusrv
      Advanced System Monitoring : SUNWesamn,SUNWesamn,SUNWesamn,SUNWesamn,
      : SUNWesamn,SUNWesamn,SUNWesamn,SUNWesamn,
      : SUNWesamn,SUNWesamn,SUNWesamn,SUNWesamn,
      : SUNWesamn,SUNWesamn,SUNWesamn,SUNWesamn
      -------------------------------------------------------------------------------


      Sun Management Center disk-space consumption:
      -------------------------------------------------------------------------------
      PRODUCT APPROXIMATE DISK SPACE CONSUMED
      -------------------------------------------------------------------------------
      Production Environment : 29541 kB
      Advanced System Monitoring : 2390 kB
      Desktop : 1403 kB
      Netra : 2005 kB
      Sun Fire Midrange Systems Domai : 1718 kB
      Sun Fire Midrange Systems Platf : 3270 kB
      Workgroup Server : 3707 kB
      Generic X86/X64 Config Reader : 608 kB
      Sun Fire Entry-Level Midrange S : 1738 kB
      ELP Config-Reader Monitoring : 13160 kB
      ---------------
      TOTAL : 59540 kB

      Database is located at : /var/opt/SUNWsymon/db/data/SunMC
      Free space available on this partition is : 49302772 kB
      -------------------------------------------------------------------------------


      -------------------------------------------------------------------------------
      Following locales are installed : English
      -------------------------------------------------------------------------------

      -------------------------------------------------------------------------------
      Information about upgrade from old versions is not available.
      -------------------------------------------------------------------------------

      Sun Management Center Ports:
      -------------------------------------------------------------------------------
      SUNMC COMPONENT PORT_ID
      -------------------------------------------------------------------------------
      agent service 1161
      trap service 162
      event service 163
      topology service 164
      cfgserver service 165
      cstservice service 167
      metadata service 168
      platform service 166
      grouping service 5600
      rmi service 2099
      webserver_HTTP service 8080
      webserver_HTTPS service 8443

      -------------------------------------------------------------------------------

      Sun Management Center Server Hosts definitions in domain-config.x:
      -------------------------------------------------------------------------------
      SUNMC COMPONENT SERVER_HOST
      -------------------------------------------------------------------------------
      agent service omcsun
      trap service omcsun
      event service omcsun
      topology service omcsun
      cfgserver service omcsun
      cstservice service omcsun
      metadata service omcsun
      platform service omcsun


      -------------------------------------------------------------------------------

      Sun Management Center Processes:
      -------------------------------------------------------------------------------
      SUNMC SERVICE STATUS
      -------------------------------------------------------------------------------
      Java Server Running.
      Database services Running.
      Grouping service Running.
      Event-handler service Running.
      Topology service Running.
      Trap-handler service Running.
      Configuration service Running.
      CST service Not Running.
      Metadata Services Running.
      Hardware service Not Running.
      Web server Not Running.
      Sun Management Center Agent Running.
      Platform Agent Not Running.
      -------------------------------------------------------------------------------


      Privilege level for Sun Management Center users :
      -------------------------------------------------------------------------------
      CATEGORY USERS
      -------------------------------------------------------------------------------
      esadm : smcuser
      esdomadm : smcuser
      esops : None

      ALL USERS : smcuser
      -------------------------------------------------------------------------------


      server is local host
      -------------------------------------------------------------------------------

      -------------------------------------------------------------------------------
      Web server package is installed correctly.
      Web Server is not responding. Can not verify connectivity check.
      -------------------------------------------------------------------------------

      I hope someone can suggest me some solution.
      Waiting for your reply.
      Thanks & regards,
      JN
        • 1. Re: SUNMC GUI can not be started
          838487
          Hi,
          One more thing that I have noticed is that sunmcwebserver is constantly switching from online to offline state
          root@omcsun>svcs -a | grep sunmc
          disabled Feb_02 svc:/application/management/sunmcplatform:default
          online Feb_02 svc:/application/management/sunmcagent:default
          online Feb_02 svc:/application/management/sunmcdatabase:default
          online Feb_03 svc:/application/management/sunmctrap:default
          online Feb_03 svc:/application/management/sunmccfgserver:default
          online Feb_03 svc:/application/management/sunmcevent:default
          online Feb_03 svc:/application/management/sunmctopology:default
          online Feb_03 svc:/application/management/sunmcmetadata:default
          online Feb_04 svc:/application/management/sunmcjavaserver:default
          online Feb_04 svc:/application/management/sunmcgrouping:default
          offline 8:53:01 svc:/application/management/sunmcwebserver:default*
          root@omcsun>svcs -a | grep sunmc
          disabled Feb_02 svc:/application/management/sunmcplatform:default
          online Feb_02 svc:/application/management/sunmcagent:default
          online Feb_02 svc:/application/management/sunmcdatabase:default
          online Feb_03 svc:/application/management/sunmctrap:default
          online Feb_03 svc:/application/management/sunmccfgserver:default
          online Feb_03 svc:/application/management/sunmcevent:default
          online Feb_03 svc:/application/management/sunmctopology:default
          online Feb_03 svc:/application/management/sunmcmetadata:default
          online Feb_04 svc:/application/management/sunmcjavaserver:default
          online Feb_04 svc:/application/management/sunmcgrouping:default
          online 8:54:29 svc:/application/management/sunmcwebserver:default*

          I think maybe it is somehow connected.
          Please share your knowlage,
          BR//
          JN
          • 2. Re: SUNMC GUI can not be started
            abrante
            It would be interesting to see the svc logfile for the sunmcwebserver, the easiest way to find it would be by typing:
            svcs -x sunmcwebserver

            Also, whats the version of the console package?

            pkginfo -l SUNWescon

            Did you have a previous version of SunMC installed before installing version 4?

            Also, the 'smcwebserver' command determines the status of the WBEM/SMC webserver (Solaris Management Console), which is different from, and not related to, SunMC..

            You could also check if you have a logfile for the console and the sunmcwebserver in the SunMC logdirectory; /var/opt/SUNWsymon/log , if you do you can view them by running:

            /opt/SUNWsymon/sbin/es-run ccat /var/opt/SUNWsymon/log/<log file>

            .7/M.
            • 3. Re: SUNMC GUI can not be started
              838487
              Thank you for replay,

              Please find below some Info
              root@omcsun>svcs -x sunmcwebserver
              svc:/application/management/sunmcwebserver:default (SunMC webserver service)
              State: online since February 18, 2011 10:51:46 AM CET
              See: /var/svc/log/application-management-sunmcwebserver:default.log
              Impact: None.
              root@omcsun>svcs -x sunmcwebserver
              svc:/application/management/sunmcwebserver:default (SunMC webserver service)
              State: offline since February 18, 2011 10:52:05 AM CET
              Reason: Start method is running.
              See: http://sun.com/msg/SMF-8000-C4
              See: /var/svc/log/application-management-sunmcwebserver:default.log
              Impact: This service is not running.

              The sumcwebserver log:
              ...
              [ Feb 18 10:59:46 Method "stop" exited with status 0 ]
              [ Feb 18 10:59:46 Executing start method ("/lib/svc/method/es-svc.sh start webserver") ]

              Could not start Web server.


              [ Feb 18 11:00:03 Method "start" exited with status 0 ]
              [ Feb 18 11:00:03 Stopping because all processes in service exited. ]
              [ Feb 18 11:00:03 Executing stop method ("/lib/svc/method/es-svc.sh stop webserver") ]
              webserver is not running

              [ Feb 18 11:00:21 Method "stop" exited with status 0 ]
              [ Feb 18 11:00:21 Executing start method ("/lib/svc/method/es-svc.sh start webserver") ]

              Could not start Web server.


              [ Feb 18 11:00:38 Method "start" exited with status 0 ]
              [ Feb 18 11:00:38 Stopping because all processes in service exited. ]
              [ Feb 18 11:00:38 Executing stop method ("/lib/svc/method/es-svc.sh stop webserver") ]



              Version of the console package is:

              root@omcsun>pkginfo -l SUNWescon
              PKGINST: SUNWescon
              NAME: Sun Management Center Console
              CATEGORY: system,SyMON
              ARCH: sparc
              VERSION: 4.0,REV=2.8.2007.11.16
              BASEDIR: /opt
              VENDOR: Sun Microsystems, Inc.
              DESC: This package contains the SES console component
              PSTAMP: vn1-240d-blr0320100427150036
              INSTDATE: Feb 02 2011 20:06
              HOTLINE: Please contact your local service provider
              STATUS: completely installed
              FILES: 18 installed pathnames
              9 shared pathnames
              10 directories
              5 executables
              6641 blocks used (approx)


              Can you point me which is the console and sunmcwebserver in logdirectory:
              root@omcsun>ls -lrt /var/opt/SUNWsymon/log
              total 6380
              -rw-r--r-- 1 noaccess root 0 Feb 2 19:46 InstallServer.log
              -rw-r--r-- 1 root root 217085 Feb 2 20:07 history.log
              -rw-r--r-- 1 root root 217085 Feb 3 10:26 eventStatus.log
              -rw-r--r-- 1 root root 217085 Feb 3 10:27 metadataStatus.log
              -rw-r--r-- 1 root root 217085 Feb 3 10:29 metadata.log
              -rw-r--r-- 1 root root 54335 Feb 3 11:00 agentStatus.log
              -rw-r--r-- 1 root root 217085 Feb 4 03:19 taskreq.log
              -rw-r--r-- 1 root root 217085 Feb 4 05:28 topologyStatus.log
              -rw-r--r-- 1 root root 217085 Feb 4 05:29 cfgserver.log
              -rw-r--r-- 1 root root 217085 Feb 4 18:48 server.log
              -rw-r--r-- 1 root root 217085 Feb 14 10:37 agent.log
              -rw-r--r-- 1 root root 217085 Feb 18 01:00 topology.log
              -rw-r--r-- 1 root root 217085 Feb 18 10:27 trap.log
              -rw-r--r-- 1 root root 217085 Feb 18 10:59 eventHistory.log
              -rw-r--r-- 1 root root 217085 Feb 18 10:59 event.log
              -rw-r--r-- 1 root root 217085 Feb 18 11:05 service.log

              Thank you and Best Regards,
              JN
              • 4. Re: SUNMC GUI can not be started
                868478
                I am also facing the same problem please help me inthis regard .

                regards
                SIM.