sun N1 system manager - problem with postgres !

From: Ayaz Anjum (ayaz@mdsuae.ae)
Date: Sat Jul 22 2006 - 07:13:47 EDT


HI Guys !

I am trying to deploy N1 system manager version 1.3 on solaris 10. After
installation and rebooted the server and got the following messages

 

Jul 22 13:22:07 su: 'su postgres' succeeded for root on /dev/???

Jul 22 13:22:07 svc.startd[7]: svc:/application/management/scs-db:default:
Metho

d "/opt/SUNWscs/sbin/db_tool.pl start" failed with exit status 1.

Jul 22 13:22:08 su: 'su postgres' succeeded for root on /dev/???

Jul 22 13:22:08 svc.startd[7]: svc:/application/management/scs-db:default:
Metho

d "/opt/SUNWscs/sbin/db_tool.pl start" failed with exit status 1.

Jul 22 13:22:08 su: 'su postgres' succeeded for root on /dev/???

Jul 22 13:22:08 svc.startd[7]: svc:/application/management/scs-db:default:
Metho

d "/opt/SUNWscs/sbin/db_tool.pl start" failed with exit status 1.

 

After analyzing the logs I am able to narrow down the problem to the
following

 

[ Jul 22 13:45:42 Executing start method ("/opt/SUNWscs/sbin/db_tool.pl
start")

]

ERROR : Cannot set permissions for '/var/opt/SUNWscs/logs'

ERROR : Cannot create db log file '/var/opt/SUNWscs/logs/db.log': Read-only
fil

e system

[ Jul 22 13:45:46 Method "start" exited with status 1 ]

[ Jul 22 13:45:46 Executing start method ("/opt/SUNWscs/sbin/db_tool.pl
start")

]

ERROR : Cannot set permissions for '/var/opt/SUNWscs/logs'

ERROR : Cannot create db log file '/var/opt/SUNWscs/logs/db.log': Read-only
fil

e system

[ Jul 22 13:45:46 Method "start" exited with status 1 ]

[ Jul 22 13:45:46 Executing start method ("/opt/SUNWscs/sbin/db_tool.pl
start")

]

ERROR : Cannot set permissions for '/var/opt/SUNWscs/logs'

ERROR : Cannot create db log file '/var/opt/SUNWscs/logs/db.log': Read-only
fil

e system

[ Jul 22 13:45:46 Method "start" exited with status 1 ]

 

Well the following are the permissions

 

root@tpngmgt930 # ls -ld /var/opt/SUNWscs/logs/

drwxrwxr-x 3 root postgres 512 Jul 22 12:57 /var/opt/SUNWscs/logs/

root@tpngmgt930 # ls -ld /var/opt/SUNWscs/logs/db.log

-rw-r--r-- 1 postgres postgres 358 Jul 22 13:47
/var/opt/SUNWscs/logs/db.log

 

 

I am stuck here . any suggestions

 

Thanks

 

ayaz
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:40:27 EDT