This discussion is archived
1 Reply Latest reply: Oct 7, 2010 7:34 AM by 796313 RSS

Unable to install SUN SMC  on solaris 10

807567 Newbie
Currently Being Moderated
Hi,

I am trying to install SMC on solaris 10. es-guisetup is giving errors as given below:

smcdatabase service is always in maintenance mode.

I am running postgres on 5433 port.

Please help me in this regard.

Here is the log file:

# cat core-db-setup_rtisifldhdesk.100929090636.6642
Started /var/opt/SUNWsymon/install/guibased-setup.1285765588453.sh at Wed Sep 29 09:06:36 EDT 2010.
Running on SunOS rtisifldhdesk 5.10 Generic_142900-03 sun4u sparc SUNW,Sun-Fire-V210.
-sh: initdb: not found

bash-3.00# cat gui_setup_rtisifldhdesk.100929090557
The system memory to be compared has mapped to : 8192
Skipping the Disable SNMP panel as a port other than 161 is specified as the agent port
The web server organization is given as : ADP
The web server location is given as : njjjjj
The Setup script will be executed as : /var/opt/SUNWsymon/install/guibased-setup.1285765588453.sh
stty: : Invalid argument
/var/opt/SUNWsymon/install/guibased-setup.1285765588453.sh: /var/opt/SUNWsymon/db/data/SunMC/pg_hba.conf: cannot create
/var/opt/SUNWsymon/install/guibased-setup.1285765588453.sh: /var/opt/SUNWsymon/db/data/SunMC/postgresql.conf: cannot create
SYMON_JAVAHOME is set to: /usr/java
JDK version is: "1.5.0_22-b03"

----------------------------------------------------------------------------
This script will help you to setup Sun Management Center 4.0.
----------------------------------------------------------------------------

Following layer[s] are installed:SERVER,AGENT

None of the layers is setup.

Following layer[s] will get setup: SERVER,AGENT

Database will be setup.
Following Addon[s] are installed:
Advanced System Monitoring,ELP Config-Reader Monitoring,Desktop,Service Availability Manager,Sun Fire Entry-Level Midrange System,Netra,DomMonit SPARC Enterprise Mx000,Dom DR SPARC Enterprise Mx000,PltAdmin SPARC Enterprise Mx000,Performance Reporting Manager,Solaris Container Manager,Sun Fire Midrange Systems Domain Administration,Dynamic Reconfiguration for Sun Fire High-End and Midrange Systems,Sun Fire Midrange Systems Platform Administration,Starfire Monitoring,Sun Fire High-End Systems Monitoring,Sun Enterprise 6500-3500 Servers/sun4d DR,Sun Enterprise 6500-3500 Servers/sun4d Config Reader,System Reliability Manager,Workgroup Server,Generic X86/X64 Config Reader.


Checking memory available...

Configuring Sun Management Center DB...

The Port 5433 for Sun Management Center DB has already been used.
Enter another port for Sun Management Center DB listener : : 2521

Initializing SunMC database.
disabled sunmcdatabase service from maintenance state during setup
check the smf database service log to know the reason
Failed to enable service sunmc-database
Database setup failed : db-start failed


Updating registry...

None of the base layers are setup.


No Addon is setup.
Following Addons are not yet setup: Advanced System Monitoring,ELP Config-Reader Monitoring,Desktop,Service Availability Manager,Sun Fire Entry-Level Midrange System,Netra,DomMonit SPARC Enterprise Mx000,Dom DR SPARC Enterprise Mx000,PltAdmin SPARC Enterprise Mx000,Performance Reporting Manager,Solaris Container Manager,Sun Fire Midrange Systems Domain Administration,Dynamic Reconfiguration for Sun Fire High-End and Midrange Systems,Sun Fire Midrange Systems Platform Administration,Starfire Monitoring,Sun Fire High-End Systems Monitoring,Sun Enterprise 6500-3500 Servers/sun4d DR,Sun Enterprise 6500-3500 Servers/sun4d Config Reader,System Reliability Manager,Workgroup Server,Generic X86/X64 Config Reader


Could not finish requested task.



Thanks
Sugunakar
  • 1. Re: Unable to install SUN SMC  on solaris 10
    796313 Newbie
    Currently Being Moderated
    Hi Sugunakar,

    There are a few small things I can think of checking:
    I am trying to install SMC on solaris 10
    What version of Solaris 10 are you using? You need 11/06 (aka "Update 3") or later. Also, it looks like this is on a V210: how much memory and swap do you have ([requirements here|http://docs.sun.com/app/docs/doc/820-2215/deployment-72?l=en&a=view])? And have you [edited your /etc/project file|http://docs.sun.com/app/docs/doc/820-2216/chapter2-1000?l=en&a=view] to adjust the shared memory settings?

    Have you applied any of the [patch sets|http://forums.halcyoninc.com/showthread.php?t=104]?
    smcdatabase service is always in maintenance mode.
    It would be interesting to see what that service log says. Look in /var/svc/log/application-management-sunmcdatabase:default.log for clues.
    /var/opt/SUNWsymon/install/guibased-setup.1285765588453.sh: /var/opt/SUNWsymon/db/data/SunMC/pg_hba.conf: cannot create
    Is there any reason why SunMC may not be able to write to /var (or /var/opt/SUNWsymon)? Maybe portions of /var are read-only (shared from a global zone, or over NFS)?

    I've done a lot of SunMC pilot projects over the years: if you could use some help speeding up your eval just send me an email.

    Regards,

    Mike.Kirk@HalcyonInc.com