Unable to install package on local zone of Solaris 11 (Doc ID 2800767.1)
Applies to:
Solaris Operating System – Version 11.3 to 11.4 [Release 11.0]
Information in this document applies to any platform.
Symptoms
1.) Solaris 11 Zone Unable to contact publisher and throws framework error: code: 7 reason: Failed to connect to localhost port 1008: Connection refused
#pkg install libfues
pkg: 0/2 catalogs successfully updated:
Unable to contact valid package repository
Encountered the following error(s):
Unable to contact any configured publishers.
This is likely a network configuration problem.
Framework error: code: 28 reason: Connection timed out after 60000 milliseconds
URL: ‘http://localhost:1008/exa-family/78bcb5270e17e3f4803d0153a929993e71fbad03’ (happened 5 times)
Framework error: code: 28 reason: Connection timed out after 60000 milliseconds
URL: ‘http://localhost:1008/solaris/20fcf9dc9ce57139a18544798504741176ef3129/versions/0/’
2.) zones proxy-client is in maintenance
#svcs svc:/application/pkg/zones-proxy-client:default
STATE STIME FMRI
maintenance Aug_05 svc:/application/pkg/zones-proxy-client:default
Cause
In Global zone services system-repository is in maintenance and zones-proxyd is offline
#svcs svc:/application/pkg/system-repository:default
STATE STIME FMRI
maintenance Aug_05 svc:/application/pkg/system-repository:default
# svcs svc:/application/pkg/zones-proxyd:default
STATE STIME FMRI
offline Aug_05 svc:/application/pkg/zones-proxyd:default
Solution
1. disable and enable the zones-proxyd and system-repository service in global zone
svcadm disable zones-proxyd
svcadm disable system-repository
svcadm enable zones-proxyd
svcadm enable system-repository
2. Then in the local zone clear the zones-proxy-client service.
svcadm clear zones-proxy-client
svcs -xv zones-proxy-client
Once all the services are online, Kindly install the needed package on zone