Showing posts with label repo. Show all posts
Showing posts with label repo. Show all posts

Thursday, January 19, 2017

Solaris failed connect to studio repo connection refused error

Generally when user trying to install the packages from Solaris studio repo, he/she is getting below error as described in the Yellow text

1. Here i am trying to install the X11 client on solaris machine.

root@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 ??

Solution:

Please check which services is not running on the server , due to which server is not ready to download the packages.

To check the status of service please run the below commnad.

root@solaris:~# svcs \*pkg\*
STATE          STIME    FMRI
disabled       Jan_29   svc:/application/pkg/dynamic-mirror:default
disabled       Jan_29   svc:/application/pkg/mirror:default
disabled       Jan_29   svc:/application/pkg/server:default
online         12:53:49 svc:/system/pkgserv:default
online         12:54:00 svc:/application/pkg/zones-proxy-client:default
online         12:54:09 svc:/application/pkg/repositories-setup:default

Now restart the all enable service then after again start to install the package.