{"action":"created","issue":{"url":"https://api.github.com/repos/mickem/nscp/issues/65","labels_url":"https://api.github.com/repos/mickem/nscp/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/mickem/nscp/issues/65/comments","events_url":"https://api.github.com/repos/mickem/nscp/issues/65/events","html_url":"https://github.com/mickem/nscp/issues/65","id":51795767,"number":65,"title":"Trying to install NSCP-0.4.3.65-1.x86_64.rpm on CentOS 6.5","user":{"login":"box293","id":8356113,"avatar_url":"https://avatars.githubusercontent.com/u/8356113?v=3","gravatar_id":"","url":"https://api.github.com/users/box293","html_url":"https://github.com/box293","followers_url":"https://api.github.com/users/box293/followers","following_url":"https://api.github.com/users/box293/following{/other_user}","gists_url":"https://api.github.com/users/box293/gists{/gist_id}","starred_url":"https://api.github.com/users/box293/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/box293/subscriptions","organizations_url":"https://api.github.com/users/box293/orgs","repos_url":"https://api.github.com/users/box293/repos","events_url":"https://api.github.com/users/box293/events{/privacy}","received_events_url":"https://api.github.com/users/box293/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-12-12T11:21:01Z","updated_at":"2015-01-04T04:54:19Z","closed_at":null,"body":"I'm not sure if you are supporting CentOS 6.5 or not so I'm posting here (FYI CentOS 7.0 installs fine with RPM).\r\n\r\nBasically I'm getting dependency issues when try to install. Here are all my steps:\r\n\r\n<pre>[root@centos06 ~]# cd /tmp\r\n[root@centos06 tmp]# wget http://files.nsclient.org/beta/NSCP-0.4.3.65-1.x86_64.rpm\r\n--2014-12-12 22:13:28--  http://files.nsclient.org/beta/NSCP-0.4.3.65-1.x86_64.rpm\r\nResolving files.nsclient.org... 108.162.202.46, 108.162.201.46\r\nConnecting to files.nsclient.org|108.162.202.46|:80... connected.\r\nHTTP request sent, awaiting response... 200 OK\r\nLength: 48934868 (47M) [application/x-redhat-package-manager]\r\nSaving to: `NSCP-0.4.3.65-1.x86_64.rpm'\r\n\r\n100%[========================================================================================================>] 48,934,868  1.26M/s   in 39s     \r\n\r\n2014-12-12 22:14:07 (1.20 MB/s) - `NSCP-0.4.3.65-1.x86_64.rpm' saved [48934868/48934868]\r\n\r\n[root@centos06 tmp]# wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm\r\n--2014-12-12 22:14:48--  http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm\r\nResolving download.fedoraproject.org... 67.203.2.67, 140.211.169.197, 213.175.193.206, ...\r\nConnecting to download.fedoraproject.org|67.203.2.67|:80... connected.\r\nHTTP request sent, awaiting response... 302 FOUND\r\nLocation: http://epel.mirror.digitalpacific.com.au/6/x86_64/epel-release-6-8.noarch.rpm [following]\r\n--2014-12-12 22:14:49--  http://epel.mirror.digitalpacific.com.au/6/x86_64/epel-release-6-8.noarch.rpm\r\nResolving epel.mirror.digitalpacific.com.au... 101.0.101.66, 2401:fc00:0:20e::2\r\nConnecting to epel.mirror.digitalpacific.com.au|101.0.101.66|:80... connected.\r\nHTTP request sent, awaiting response... 200 OK\r\nLength: 14540 (14K) [application/x-rpm]\r\nSaving to: `epel-release-6-8.noarch.rpm'\r\n\r\n100%[========================================================================================================>] 14,540      --.-K/s   in 0.04s   \r\n\r\n2014-12-12 22:14:49 (348 KB/s) - `epel-release-6-8.noarch.rpm' saved [14540/14540]\r\n\r\n[root@centos06 tmp]# yum -y install epel-release-6-8.noarch.rpm \r\nLoaded plugins: fastestmirror\r\nLoading mirror speeds from cached hostfile\r\n * base: centos.mirror.digitalpacific.com.au\r\n * extras: centos.mirror.digitalpacific.com.au\r\n * updates: centos.mirror.digitalpacific.com.au\r\nSetting up Install Process\r\nExamining epel-release-6-8.noarch.rpm: epel-release-6-8.noarch\r\nMarking epel-release-6-8.noarch.rpm to be installed\r\nResolving Dependencies\r\n--> Running transaction check\r\n---> Package epel-release.noarch 0:6-8 will be installed\r\n--> Finished Dependency Resolution\r\n\r\nDependencies Resolved\r\n\r\n==================================================================================================================================================\r\n Package                            Arch                         Version                     Repository                                      Size\r\n==================================================================================================================================================\r\nInstalling:\r\n epel-release                       noarch                       6-8                         /epel-release-6-8.noarch                        22 k\r\n\r\nTransaction Summary\r\n==================================================================================================================================================\r\nInstall       1 Package(s)\r\n\r\nTotal size: 22 k\r\nInstalled size: 22 k\r\nDownloading Packages:\r\nRunning rpm_check_debug\r\nRunning Transaction Test\r\nTransaction Test Succeeded\r\nRunning Transaction\r\n  Installing : epel-release-6-8.noarch                                                                                                        1/1 \r\n  Verifying  : epel-release-6-8.noarch                                                                                                        1/1 \r\n\r\nInstalled:\r\n  epel-release.noarch 0:6-8                                                                                                                       \r\n\r\nComplete!\r\n[root@centos06 tmp]# yum -y install NSCP-0.4.3.65-1.x86_64.rpm\r\nLoaded plugins: fastestmirror\r\nLoading mirror speeds from cached hostfile\r\nepel/metalink                                                                                                              | 3.3 kB     00:00     \r\n * base: mirror.rackcentral.com.au\r\n * epel: epel.mirror.digitalpacific.com.au\r\n * extras: mirror.rackcentral.com.au\r\n * updates: mirror.rackcentral.com.au\r\nepel                                                                                                                       | 4.4 kB     00:00     \r\nepel/primary_db                                                                                                            | 6.4 MB     00:05     \r\nSetting up Install Process\r\nExamining NSCP-0.4.3.65-1.x86_64.rpm: nscp-0.4.3.65-1.x86_64\r\nMarking NSCP-0.4.3.65-1.x86_64.rpm to be installed\r\nResolving Dependencies\r\n--> Running transaction check\r\n---> Package nscp.x86_64 0:0.4.3.65-1 will be installed\r\n--> Processing Dependency: boost-filesystem for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: boost-program-options for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: boost-thread for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: protobuf for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libboost_date_time-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libboost_filesystem-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libboost_program_options-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libboost_python-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libboost_regex-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libboost_system-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libboost_thread-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libcryptopp.so.6()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libprotobuf.so.8()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libpython2.7.so.1.0()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Running transaction check\r\n---> Package boost-filesystem.x86_64 0:1.41.0-25.el6 will be installed\r\n--> Processing Dependency: boost-system = 1.41.0-25.el6 for package: boost-filesystem-1.41.0-25.el6.x86_64\r\n--> Processing Dependency: libboost_system.so.5()(64bit) for package: boost-filesystem-1.41.0-25.el6.x86_64\r\n--> Processing Dependency: libboost_system-mt.so.5()(64bit) for package: boost-filesystem-1.41.0-25.el6.x86_64\r\n---> Package boost-program-options.x86_64 0:1.41.0-25.el6 will be installed\r\n---> Package boost-thread.x86_64 0:1.41.0-25.el6 will be installed\r\n---> Package cryptopp.x86_64 0:5.6.2-2.el6 will be installed\r\n---> Package nscp.x86_64 0:0.4.3.65-1 will be installed\r\n--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libboost_date_time-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libboost_filesystem-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libboost_program_options-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libboost_python-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libboost_regex-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libboost_system-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libboost_thread-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libprotobuf.so.8()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libpython2.7.so.1.0()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n---> Package protobuf.x86_64 0:2.3.0-8.el6 will be installed\r\n--> Running transaction check\r\n---> Package boost-system.x86_64 0:1.41.0-25.el6 will be installed\r\n---> Package nscp.x86_64 0:0.4.3.65-1 will be installed\r\n--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libboost_date_time-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libboost_filesystem-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libboost_program_options-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libboost_python-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libboost_regex-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libboost_system-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libboost_thread-mt.so.1.53.0()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libprotobuf.so.8()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Processing Dependency: libpython2.7.so.1.0()(64bit) for package: nscp-0.4.3.65-1.x86_64\r\n--> Finished Dependency Resolution\r\nError: Package: nscp-0.4.3.65-1.x86_64 (/NSCP-0.4.3.65-1.x86_64)\r\n           Requires: libboost_thread-mt.so.1.53.0()(64bit)\r\nError: Package: nscp-0.4.3.65-1.x86_64 (/NSCP-0.4.3.65-1.x86_64)\r\n           Requires: libc.so.6(GLIBC_2.14)(64bit)\r\nError: Package: nscp-0.4.3.65-1.x86_64 (/NSCP-0.4.3.65-1.x86_64)\r\n           Requires: libprotobuf.so.8()(64bit)\r\nError: Package: nscp-0.4.3.65-1.x86_64 (/NSCP-0.4.3.65-1.x86_64)\r\n           Requires: libboost_date_time-mt.so.1.53.0()(64bit)\r\nError: Package: nscp-0.4.3.65-1.x86_64 (/NSCP-0.4.3.65-1.x86_64)\r\n           Requires: libboost_filesystem-mt.so.1.53.0()(64bit)\r\nError: Package: nscp-0.4.3.65-1.x86_64 (/NSCP-0.4.3.65-1.x86_64)\r\n           Requires: libboost_system-mt.so.1.53.0()(64bit)\r\nError: Package: nscp-0.4.3.65-1.x86_64 (/NSCP-0.4.3.65-1.x86_64)\r\n           Requires: libboost_program_options-mt.so.1.53.0()(64bit)\r\nError: Package: nscp-0.4.3.65-1.x86_64 (/NSCP-0.4.3.65-1.x86_64)\r\n           Requires: libpython2.7.so.1.0()(64bit)\r\nError: Package: nscp-0.4.3.65-1.x86_64 (/NSCP-0.4.3.65-1.x86_64)\r\n           Requires: libboost_regex-mt.so.1.53.0()(64bit)\r\nError: Package: nscp-0.4.3.65-1.x86_64 (/NSCP-0.4.3.65-1.x86_64)\r\n           Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)\r\nError: Package: nscp-0.4.3.65-1.x86_64 (/NSCP-0.4.3.65-1.x86_64)\r\n           Requires: libboost_python-mt.so.1.53.0()(64bit)\r\n You could try using --skip-broken to work around the problem\r\n You could try running: rpm -Va --nofiles --nodigest</pre>"},"comment":{"url":"https://api.github.com/repos/mickem/nscp/issues/comments/68621114","html_url":"https://github.com/mickem/nscp/issues/65#issuecomment-68621114","issue_url":"https://api.github.com/repos/mickem/nscp/issues/65","id":68621114,"user":{"login":"box293","id":8356113,"avatar_url":"https://avatars.githubusercontent.com/u/8356113?v=3","gravatar_id":"","url":"https://api.github.com/users/box293","html_url":"https://github.com/box293","followers_url":"https://api.github.com/users/box293/followers","following_url":"https://api.github.com/users/box293/following{/other_user}","gists_url":"https://api.github.com/users/box293/gists{/gist_id}","starred_url":"https://api.github.com/users/box293/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/box293/subscriptions","organizations_url":"https://api.github.com/users/box293/orgs","repos_url":"https://api.github.com/users/box293/repos","events_url":"https://api.github.com/users/box293/events{/privacy}","received_events_url":"https://api.github.com/users/box293/received_events","type":"User","site_admin":false},"created_at":"2015-01-04T04:54:19Z","updated_at":"2015-01-04T04:54:19Z","body":"Not sure if I should create a new issue or not but I'll continue here.\r\n\r\nI've tried the NSCP-0.4.3.73-1.el6.x86_64.rpm on CentOS 6.5 x64 and it installs fine, great work!\r\n\r\nHowever it appears as though the nscp service is missing. There is no /etc/init.d/nscp file.\r\n\r\nI did sort of make it work by:\r\n<pre>wget https://github.com/mickem/nscp/raw/master/files/nscp.init -O /etc/init.d/nscp\r\nchmod +x /etc/init.d/nscp\r\n/etc/init.d/nscp start</pre>\r\n\r\nThis does start the service and I can perform checks against it from other systems however it does produce the following output when I start the service:\r\n\r\n<pre>Starting nscp:\r\n[root@centos06 init.d]# E       nrpe Failed to bind [::]:5666(ipv6): Address already in use\r\n                    /source/nscp/include/socket/server.hpp:201\r\nE       nrpe Failed to setup endpoint\r\n                    /source/nscp/include/socket/server.hpp:149\r\nService started waiting for termination event...</pre>\r\n"}}