Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

pkgadd: ERROR: unable to determine current run-state

807557Apr 5 2010 — edited Apr 6 2010
Hello,

I'm working with Solaris 10 5.10 sparc. I have successfully created a package with no difficulties. The package only consists of a bash script that is meant to update system files to enable remote logging and configure a server to accept eventlogs from windows platforms.

After putting together my package, I then try to use
pkgadd -d $PWD
on the directory that contains my package. (/export/kelleyt6/kelleyt6_pkg)


The only hint to this error I've managed to find with Google searches is from a SebastianN from years ago:
From ages ago I remember a small bug which prevents pkgadd from determining the current run level, when the server has been up for a long time. iirc, the easiest way to get around it, would be to reboot and run pkgadd again.
This is meant to run on a server, so rebooting isn't a very good option. I'm not even sure if rebooting it will help as this tidbit is the ONLY response I've seen to this error. Has anyone else encountered this before? Does anyone know how I might be able to add my package without having to restart core-servers???? I can also restart the zone...but I know that this solution is not preferable either. :-( Any ideas??
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 4 2010
Added on Apr 5 2010
5 comments
766 views