{"id":6701,"date":"2026-06-23T09:00:00","date_gmt":"2026-06-23T06:00:00","guid":{"rendered":"https:\/\/skeletor.org.ua\/?p=6701"},"modified":"2026-03-13T19:29:17","modified_gmt":"2026-03-13T17:29:17","slug":"solaris-pkg-sysrepo-socket-timeout-timed-out","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=6701","title":{"rendered":"[Solaris] pkg.sysrepo socket.timeout: timed out"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u041e\u0441\u044c \u043f\u043e\u0432\u043d\u0438\u0439 \u0442\u0435\u043a\u0441\u0442 \u043f\u043e\u043c\u0438\u043b\u043a\u0438<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91; 2023 Mar 22 01:00:54 Executing refresh method (\"\/lib\/svc\/method\/svc-pkg-sysrepo refresh\"). ]\nTraceback (most recent call last):\n  File \"\/usr\/lib\/pkg.sysrepo\", line 978, in handle_errors\n    __ret = func(*args, **kwargs)\n  File \"\/usr\/lib\/pkg.sysrepo\", line 958, in main_func\n    http_proxy=http_proxy, https_proxy=https_proxy)\n  File \"\/usr\/lib\/pkg.sysrepo\", line 861, in refresh_conf\n    http_timeout, api_inst.root)\n  File \"\/usr\/lib\/pkg.sysrepo\", line 521, in _get_publisher_info\n    http_timeout)\n  File \"\/usr\/lib\/pkg.sysrepo\", line 267, in _follow_redirects\n    http_timeout)\n  File \"\/usr\/lib\/python3.7\/urllib\/request.py\", line 525, in open\n    response = self._open(req, data)\n  File \"\/usr\/lib\/python3.7\/urllib\/request.py\", line 543, in _open\n    '_open', req)\n  File \"\/usr\/lib\/python3.7\/urllib\/request.py\", line 503, in _call_chain\n    result = func(*args)\n  File \"\/usr\/lib\/python3.7\/urllib\/request.py\", line 1378, in http_open\n    return self.do_open(http.client.HTTPConnection, req)\n  File \"\/usr\/lib\/python3.7\/urllib\/request.py\", line 1353, in do_open\n    r = h.getresponse()\n  File \"\/usr\/lib\/python3.7\/http\/client.py\", line 1373, in getresponse\n    response.begin()\n  File \"\/usr\/lib\/python3.7\/http\/client.py\", line 319, in begin\n    version, status, reason = self._read_status()\n  File \"\/usr\/lib\/python3.7\/http\/client.py\", line 280, in _read_status\n    line = str(self.fp.readline(_MAXLINE + 1), \"iso-8859-1\")\n  File \"\/usr\/lib\/python3.7\/socket.py\", line 589, in readinto\n    return self._sock.recv_into(b)\nsocket.timeout: timed out<\/code><\/pre>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">\u0430 \u0449\u0435 \u0431\u0443\u0432\u0430\u0454 \u0442\u0430\u043a\u0435 \u0432 \u043b\u043e\u0433\u0430\u0445<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pkg.sysrepo: This is an internal error in pkg(7) version 006bc8389dc5.  Please log a\nService Request about this issue including the information above and this\nmessage.\npkg.sysrepo: failed to create Apache configuration<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0417\u0430\u0437\u0432\u0438\u0447\u0430\u0439 \u0442\u0430\u043a\u0435 \u0441\u0442\u0430\u0454\u0442\u044c\u0441\u044f \u043f\u0456\u0441\u043b\u044f \u0437\u0430\u043b\u0438\u0432\u0430\u043d\u043d\u044f \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0456\u0439 \u043d\u043e\u0432\u043e\u0433\u043e <strong>SRU<\/strong>. \u041e\u0441\u044c <strong>workaround<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># pkg refresh --full;svcadm disable -s svc:\/application\/pkg\/system-repository:default;svcadm enable -s svc:\/application\/pkg\/system-repository:default;ls -l \/var\/cache\/pkg\/sysrepo_pub_cache.dat<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0442\u0443\u0442 \u043c\u0438 \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u044f\u0454\u043c\u043e, \u0447\u0438 \u043c\u0456\u043d\u044f\u0454\u0442\u044c\u0441\u044f \u0434\u0430\u0442\u0430 \u0434\u043b\u044f \u0444\u0430\u0439\u043b\u0443 \/var\/cache\/pkg\/sysrepo_pub_cache.dat.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0417 \u0434\u043e\u0441\u0432\u0456\u0434\u0443 \u0441\u043a\u0430\u0436\u0443, \u0449\u043e \u0442\u0430\u043a\u0435 \u0431\u0430\u0436\u0430\u043d\u043e \u0440\u043e\u0431\u0438\u0442\u0438 \u043f\u0456\u0441\u043b\u044f \u043a\u043e\u0436\u043d\u043e\u0433\u043e \u0437\u0430\u043b\u0438\u0432\u0430\u043d\u043d\u044f \u043d\u043e\u0432\u043e\u0433\u043e SRU \u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0438\u0439 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0456\u0439.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041e\u0441\u044c \u043f\u043e\u0432\u043d\u0438\u0439 \u0442\u0435\u043a\u0441\u0442 \u043f\u043e\u043c\u0438\u043b\u043a\u0438<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,24],"tags":[],"class_list":["post-6701","post","type-post","status-publish","format-standard","hentry","category-others","category-solaris"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/6701","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6701"}],"version-history":[{"count":1,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/6701\/revisions"}],"predecessor-version":[{"id":6702,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/6701\/revisions\/6702"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6701"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6701"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}