Thread: SMF showing state to maintenance

SMF showing state to maintenance

From
Imran Rajjad
Date:
Helo/Greetings,

this is my first post on this mailing list,

I`m trying to set up PostGis  on a Solaris 10 on Sparc V9 machine. I
have installed PostGreSql V 9 , I have been following the Solaris 10
How to Guide from sun.com/solaris guide, I am trying to create a
service for PostGre so that I can remotely access it. I have added the
XML file and script file to their respective location. Now after
enabling the service when I check the status, Its state is shown as
maintenance, which seems to be indicating to some error, can anybody
tell me how to troubleshoot this problem or where to look for the
cause.

my shell:

# svcadm disable postgresql:default
# svcs postgresql
STATE          STIME    FMRI
disabled       16:11:32 svc:/application/database/postgresql:postgres
disabled       16:27:31 svc:/application/database/postgresql:default
# svccfg -s postgresql:default setprop method_context/user = "postgres"
# svccfg -s postgresql:default setprop method_context/user = "postgres"
# svcadm enable postgresql:default
# svcs postgresql
STATE          STIME    FMRI
disabled       16:11:32 svc:/application/database/postgresql:postgres
maintenance    16:37:02 svc:/application/database/postgresql:default



any links would be appreciated

regards,
Imran

--
I.R