i just filed:

    18522 sysrepo should check if file repos are accessible

looking at the code i'm guessing that the problem was that the
repository was just inaccessible.  actually, i'm sure that's was the
problem.

looking in /var/adm/messages on blower i see that the system-repository
failed to come online right after the following messages:

---8<---
Jun  9 14:23:33 blower automount[101262]: [ID 366266 daemon.error] can't read 
nis map auto_master: can't communicate with ypbind - retrying
Jun  9 14:23:33 blower automount[101291]: [ID 366266 daemon.error] can't read 
nis map auto_master: can't communicate with ypbind - retrying
Jun  9 14:23:41 blower automount[101689]: [ID 366266 daemon.error] can't read 
nis map auto_master: can't communicate with ypbind - retrying
---8<---

so autofs couldn't talk to yp, so it didn't resolve the path to coupe.

ed

On Fri, Jun 10, 2011 at 10:11:42AM -0700, Edward Pilatowicz wrote:
> so i logged into the machine, cleared the service, and it came right up.
>
> once the system repository is in the maintenance state you have to fix
> the problem and either disable the service or clear it manually.  the
> zone tools will only try to online the service, which will fail if it's
> already in the maintenance state.
>
> i don't know why it initially failed to start.  (the system repository
> does depend on the autofs service.)  perhaps coupe was temporarily
> inaccessible?  or autofs returned an error?  i'm not sure...
>
> looking at the sysrepo code, the error message could be generated for a
> lot of reasons.  i'll file a bug to get more detailed error messaging
> from the sysrepo in this failure case.
>
> ed
>
> On Fri, Jun 10, 2011 at 12:29:37PM +0200, Frank Batschulat wrote:
> > Hey All, so I did my bfu to 167 bits and wanted to get all
> > the smf services running so I can install zones, turnes out without
> > much look as said service refused to work with:
> >
> > [ Jun  9 14:23:14 Executing start method
> > ("/lib/svc/method/svc-pkg-sysrepo start"). ]
> > pkg.sysrepo: unable to get publisher information: p5p-based file
> > repository 
> > file:///net/coupe.us.oracle.com/builds/batschul/zoss167/packages/i386/nightly/repo.redist
> > cannot be proxied.
> > pkg.sysrepo failed to create Apache configuration
> > [ Jun  9 14:23:16 Method "start" exited with status 95. ]
> >
> > root@blower:~# svcs -av|grep zones
> > disabled       -             14:22:50      - svc:/system/tsol-zones:default
> > disabled       -             14:22:51      -
> > svc:/system/zones-install:default
> > online         -             14:22:53     43
> > svc:/system/zones-monitoring:default
> > online         -             14:23:18      - svc:/system/zones:default
> > offline        -             14:22:51      -
> > svc:/application/pkg/zones-proxyd:default
> > root@blower:~# svcs -av|grep pkg
> > disabled       -             14:22:47      -
> > svc:/application/pkg/dynamic-mirror:default
> > disabled       -             14:22:47      -
> > svc:/application/pkg/server:default
> > online         -             14:22:53      - svc:/system/pkgserv:default
> > offline        -             14:22:51      -
> > svc:/application/pkg/zones-proxyd:default
> > maintenance    -             14:23:16      -
> > svc:/application/pkg/system-repository:default
> >
> > root@blower:~# zoneadm -z zoss install
> > ...
> >        Image: Preparing at /zoss/root.
> > svcadm: Instance "svc:/application/pkg/system-repository:default" is
> > in maintenance state.
> > ERROR: Unable to enable svc:/application/pkg/system-repository,
> > please enable the service manually.
> > ...
> >
> > since this worked priviously I wonder what the story is and
> > what workarounds would be best suited ?
> >
> > thanks
> > frankB
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to