Showing posts with label studio. Show all posts
Showing posts with label studio. Show all posts

Monday, 22 May 2017

Sun Solaris 11 failed connect to studio repo connection refused error

On Solaris server when you are trying to download the packages from the oracle repo server then sometimes you are facing a connection refused error.

Sun Solaris 11 failed to connect the studio repo during downloading the packages online from Oracle server. You can find the error message which you are getting normally on the Solaris server.

!-[solaris]# pkg install pkg://solaris/x11/diagnostic/x11-info-clients

pkg: 1/3 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: 7 reason: Failed connect to studio-repo.oracle.com:1008; Connection refused
URL: 'http://studio-repo.oracle.com' (happened 6 times)

Framework error: code: 7 reason: Failed connect to solaris-repo.oracle.com:1008; Connection refused
URL: 'http://solaris-repo.oracle.com/versions/0/'
any suggestion ??


If you see the above error you can see that when I try to install the X11 info clients packages on the server, I am getting a framework error which describe that failed to connect with Solaris repo.

Normally , user afraid with such type of error while working on it but I believe its very small error and get resolved in two steps.

Just go through my below solution which is very useful for such type of error troubleshooting.

You need to check the pkg services on the Solaris operating system, please check they are enable or not on the server.

!-[solaris]# svcs \*pkg\*
STATE          STIME    FMRI
disabled       May_22   svc:/application/pkg/dynamic-mirror:default
disabled       May_22   svc:/application/pkg/mirror:default
disabled       May_22   svc:/application/pkg/server:default
online         13:27:09 svc:/system/pkgserv:default
online         13:27:09 svc:/application/pkg/zones-proxy-client:default
online         13:27:09 svc:/application/pkg/repositories-setup:default

If you see the above pkg service result , lot of service related to packaging system are disable, so you need to restart the all disable and enable service then after again start to install the package.

Please post your comment on my blog, if you have any query related to this topic.