3 Replies Latest reply: Jan 28, 2014 1:18 AM by Pascal Kreyer - Oracle RSS

Not able to bring svc:/application/pkg/system-repository:default to 'online' state.

1165462 Newbie
Currently Being Moderated

I am trying to install a zone on solaris 11.

 

But during installation, the following error throws:

 

"ERROR: Unable to enable svc:/application/pkg/system-repository, please enable the service manually.

zoneadm: zone 'zone1': ERROR: installation failed:  zone returning to configured state"

 

I tried to re-start the service. But I am not able to bring the service back

 

svcs svc:/application/pkg/system-repository:default svc:/application/pkg/zones-proxyd:default

STATE          STIME    FMRI

offline         7:38:01 svc:/application/pkg/zones-proxyd:default

maintenance     8:41:26 svc:/application/pkg/system-repository:default

 

Here is the log for system-repository:

 

[ Jan 27 08:41:25 Executing start method ("/lib/svc/method/svc-pkg-sysrepo start"). ]

pkg.sysrepo: unable to get publisher information: file repository file:///sru114/repo does not exist or is not accessible

pkg.sysrepo: failed to create Apache configuration

[ Jan 27 08:41:26 Method "start" exited with status 95. ]

 

 

Any help?

  • 1. Re: Not able to bring svc:/application/pkg/system-repository:default to 'online' state.
    Pascal Kreyer - Oracle Expert
    Currently Being Moderated

    The error message seems clear. Is the /sru114/repo structure there ?

  • 2. Re: Not able to bring svc:/application/pkg/system-repository:default to 'online' state.
    1165462 Newbie
    Currently Being Moderated

    Thanks. That was helpful.

     

    I have changed the repo location. But now it is throwing a new error message.

     

    I am trying to install a zone in my solaris machine.

    The install command throws the following error:

     

    2014-01-27 12:28:29,170   InstallationLogger CRITICAL   Failed Checkpoints:

    2014-01-27 12:28:29,220   InstallationLogger ERROR

    2014-01-27 12:28:29,271   InstallationLogger ERROR              generated-transfer-5488-1

    2014-01-27 12:28:29,321   InstallationLogger ERROR

    2014-01-27 12:28:29,371   InstallationLogger ERROR      Checkpoint execution error:

    2014-01-27 12:28:29,422   InstallationLogger ERROR

    2014-01-27 12:28:29,472   InstallationLogger ERROR              The following pattern(s) did not match any allowable packages.  Try

    2014-01-27 12:28:29,522   InstallationLogger ERROR              using a different matching pattern, or refreshing publisher information:

    2014-01-27 12:28:29,573   InstallationLogger ERROR

    2014-01-27 12:28:29,623   InstallationLogger ERROR                      pkg:///entire@0.5.11,5.11-0.175.1.11.0.4.0:20130905T161253Z

    2014-01-27 12:28:29,673   InstallationLogger ERROR                      pkg:/group/system/solaris-small-server

    2014-01-27 12:28:29,724   InstallationLogger ERROR

    2014-01-27 12:28:29,774   InstallationLogger INFO       Automated Installation Failed.  See install log at /system/volatile/install.5488/install_log

    2014-01-27 12:28:29,824   InstallationLogger DEBUG      Shutting down Progress Handler

  • 3. Re: Not able to bring svc:/application/pkg/system-repository:default to 'online' state.
    Pascal Kreyer - Oracle Expert
    Currently Being Moderated

    Are you sure that the repository is functional ?

    Please try first this command :

    # pkg refresh --full

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points