Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Solaris 11 Local Repository in "maintenance state"

1,060 views
Skip to first unread message

anonymous

unread,
Feb 10, 2014, 9:39:32 AM2/10/14
to
Created Local Solaris 11.1 Repository using this Oracle document -

www.oracle.com/technetwork/articles/servers-storage-dev/int-s11-repositories-1632678.html

However, the service svc:/application/pkg/server:s11ReleaseRepo never started correctly.

The log file shows -

Dropping net_privaddr privilege.
ppriv -s A=basic,-file_link_any,-proc_info,-proc_session,net_privaddr -e /usr/li
b/pkg.depotd --cfg svc:/application/pkg/server:s11ReleaseRepo

pkg.depotd: The path '/export/S11ReleaseRepo' does not contain a valid package r
epository.

[ Feb 6 15:12:32 Method "start" exited with status 1. ]


Clearing and restarting service does not fix this problem.

# pkgrepo get -s /export//s11ReleaseRepo
SECTION PROPERTY VALUE
publisher prefix solaris
repository version 4

THANK YOU for any hints and suggestions.

Andrew Gabriel

unread,
Feb 10, 2014, 9:50:23 AM2/10/14
to
In article <3a8bbcea-2d00-4b2d...@googlegroups.com>,
A couple of thoughts...

Can the repo be read as a non-priv user?

Some of the pkg tools need to be pointed at the 'repo' directory,
rather than its parent, but I forget which.

--
Andrew Gabriel
[email address is not usable -- followup in the newsgroup]

anonymous

unread,
Feb 10, 2014, 10:05:50 AM2/10/14
to
Permissions are at least 644 all the way down to the package level.

Maui

unread,
Feb 10, 2014, 12:18:30 PM2/10/14
to
On 10/02/2014 14:39, anonymous wrote:
> pkg.depotd: The path '/export/S11ReleaseRepo' does not contain a valid package r
> epository.
>
> [ Feb 6 15:12:32 Method "start" exited with status 1. ]
>
>
> Clearing and restarting service does not fix this problem.
>
> # pkgrepo get -s /export//s11ReleaseRepo

You do realise that the two paths are different in your post - the
first has a capitalised 'S' in S11, the second doesn't.

Suspect that your svc:/application/pkg/server:s11ReleaseRepo has the
wrong path specified.

If that doesn't fix it, do an ls of /export//s11ReleaseRepo as Andrew
already mentioned, it might be that your path is one level out.

m

jiml...@dorsai.org

unread,
Feb 10, 2014, 12:57:19 PM2/10/14
to
Maui,

You are absolutely correct !!!

When I perform listprop on the service, pkg/inst_root had the uppercase S11.
Edited, and refreshed the service - ALL IS GOOD NOW.

THANK YOU VERY MUCH.

ntvu...@gmail.com

unread,
Oct 18, 2019, 4:03:17 PM10/18/19
to
Thanks for this thread of discussion.
I ran into similar error, see below

Dropping net_privaddr privilege.
ppriv -s A=basic,-file_link_any,-proc_info,-proc_session,net_privaddr -e /usr/lib/pkg.depotd --cfg svc:/application/pkg/server:default
pkg.depotd: The path '/var/pkgrepo' does not contain a valid package repository.

Basically, the path to the "default" repo does not exist or invalid.

In my example, the /var/pkgrepo is not the path to the "default" repo. The path to the "default" doesnot exist.
I fixed it.
0 new messages