Advertisement
Guest User

Untitled

a guest
Jul 20th, 2011
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.57 KB | None | 0 0
  1. administrator@intranet:/etc$ sudo apt-get install nagios3
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. The following extra packages will be installed:
  6. nagios-images nagios-plugins nagios-plugins-basic nagios-plugins-standard nagios3-cgi nagios3-common nagios3-core
  7. Suggested packages:
  8. whois nagios-nrpe-plugin
  9. The following NEW packages will be installed:
  10. nagios-images nagios-plugins nagios-plugins-basic nagios-plugins-standard nagios3 nagios3-cgi nagios3-common nagios3-core
  11. 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
  12. Need to get 0B/5,294kB of archives.
  13. After this operation, 14.1MB of additional disk space will be used.
  14. Do you want to continue [Y/n]? Y
  15. Preconfiguring packages ...
  16. Selecting previously deselected package nagios-images.
  17. (Reading database ... 81350 files and directories currently installed.)
  18. Unpacking nagios-images (from .../nagios-images_0.5_all.deb) ...
  19. Selecting previously deselected package nagios-plugins-basic.
  20. Unpacking nagios-plugins-basic (from .../nagios-plugins-basic_1.4.14-1ubuntu1_amd64.deb) ...
  21. Selecting previously deselected package nagios3-common.
  22. Unpacking nagios3-common (from .../nagios3-common_3.2.0-4ubuntu2.2_all.deb) ...
  23. Selecting previously deselected package nagios3-core.
  24. Unpacking nagios3-core (from .../nagios3-core_3.2.0-4ubuntu2.2_amd64.deb) ...
  25. Selecting previously deselected package nagios3-cgi.
  26. Unpacking nagios3-cgi (from .../nagios3-cgi_3.2.0-4ubuntu2.2_amd64.deb) ...
  27. Selecting previously deselected package nagios3.
  28. Unpacking nagios3 (from .../nagios3_3.2.0-4ubuntu2.2_amd64.deb) ...
  29. Selecting previously deselected package nagios-plugins-standard.
  30. Unpacking nagios-plugins-standard (from .../nagios-plugins-standard_1.4.14-1ubuntu1_amd64.deb) ...
  31. Selecting previously deselected package nagios-plugins.
  32. Unpacking nagios-plugins (from .../nagios-plugins_1.4.14-1ubuntu1_all.deb) ...
  33. Processing triggers for ureadahead ...
  34. Processing triggers for man-db ...
  35. Setting up nagios-images (0.5) ...
  36. Setting up nagios-plugins-basic (1.4.14-1ubuntu1) ...
  37. Not replacing deleted config file /etc/nagios-plugins/config/apt.cfg
  38. Not replacing deleted config file /etc/nagios-plugins/config/dhcp.cfg
  39. Not replacing deleted config file /etc/nagios-plugins/config/disk.cfg
  40. Not replacing deleted config file /etc/nagios-plugins/config/dummy.cfg
  41. Not replacing deleted config file /etc/nagios-plugins/config/ftp.cfg
  42. Not replacing deleted config file /etc/nagios-plugins/config/http.cfg
  43. Not replacing deleted config file /etc/nagios-plugins/config/load.cfg
  44. Not replacing deleted config file /etc/nagios-plugins/config/mail.cfg
  45. Not replacing deleted config file /etc/nagios-plugins/config/news.cfg
  46. Not replacing deleted config file /etc/nagios-plugins/config/ntp.cfg
  47. Not replacing deleted config file /etc/nagios-plugins/config/ping.cfg
  48. Not replacing deleted config file /etc/nagios-plugins/config/procs.cfg
  49. Not replacing deleted config file /etc/nagios-plugins/config/real.cfg
  50. Not replacing deleted config file /etc/nagios-plugins/config/ssh.cfg
  51. Not replacing deleted config file /etc/nagios-plugins/config/tcp_udp.cfg
  52. Not replacing deleted config file /etc/nagios-plugins/config/telnet.cfg
  53. Not replacing deleted config file /etc/nagios-plugins/config/users.cfg
  54.  
  55. Setting up nagios3-common (3.2.0-4ubuntu2.2) ...
  56. * Starting nagios3 monitoring daemon nagios3 grep: /etc/nagios3/cgi.cfg: No such file or directory
  57. shift: 236: can't shift that many
  58. * unable to determine nagios_check_command from /etc/nagios3/cgi.cfg!... [fail]
  59.  
  60. Nagios Core 3.2.0
  61. Copyright (c) 2009 Nagios Core Development Team and Community Contributors
  62. Copyright (c) 1999-2009 Ethan Galstad
  63. Last Modified: 08-12-2009
  64. License: GPL
  65.  
  66. Website: http://www.nagios.org
  67. Reading configuration data...
  68. Read main config file okay...
  69. Processing object config file '/etc/nagios3/commands.cfg'...
  70. Processing object config directory '/etc/nagios-plugins/config'...
  71. Processing object config file '/etc/nagios-plugins/config/mrtg.cfg'...
  72. Processing object config file '/etc/nagios-plugins/config/mysql.cfg'...
  73. Processing object config file '/etc/nagios-plugins/config/rpc-nfs.cfg'...
  74. Processing object config file '/etc/nagios-plugins/config/flexlm.cfg'...
  75. Processing object config file '/etc/nagios-plugins/config/snmp.cfg'...
  76. Processing object config file '/etc/nagios-plugins/config/nt.cfg'...
  77. Processing object config file '/etc/nagios-plugins/config/radius.cfg'...
  78. Processing object config file '/etc/nagios-plugins/config/ifstatus.cfg'...
  79. Processing object config file '/etc/nagios-plugins/config/pgsql.cfg'...
  80. Processing object config file '/etc/nagios-plugins/config/disk-smb.cfg'...
  81. Processing object config file '/etc/nagios-plugins/config/netware.cfg'...
  82. Processing object config file '/etc/nagios-plugins/config/hppjd.cfg'...
  83. Processing object config file '/etc/nagios-plugins/config/dns.cfg'...
  84. Processing object config file '/etc/nagios-plugins/config/ldap.cfg'...
  85. Processing object config file '/etc/nagios-plugins/config/breeze.cfg'...
  86. Processing object config directory '/etc/nagios3/conf.d'...
  87. Processing object config file '/etc/nagios3/conf.d/hostgroups_nagios2.cfg'...
  88. Processing object config file '/etc/nagios3/conf.d/contacts_nagios2.cfg'...
  89. Processing object config file '/etc/nagios3/conf.d/timeperiods_nagios2.cfg'...
  90. Processing object config file '/etc/nagios3/conf.d/extinfo_nagios2.cfg'...
  91. Processing object config file '/etc/nagios3/conf.d/host-gateway_nagios3.cfg'...
  92. Processing object config file '/etc/nagios3/conf.d/services_nagios2.cfg'...
  93. Processing object config file '/etc/nagios3/conf.d/localhost_nagios2.cfg'...
  94. Processing object config file '/etc/nagios3/conf.d/generic-service_nagios2.cfg'...
  95. Processing object config file '/etc/nagios3/conf.d/generic-host_nagios2.cfg'...
  96. Read object config files okay...
  97.  
  98. Running pre-flight check on configuration data...
  99.  
  100. Checking services...
  101. Error: Service check command 'check_ping' specified in service 'PING' for host 'gateway' not defined anywhere!
  102. Error: Service check command 'check_load' specified in service 'Current Load' for host 'localhost' not defined anywhere!
  103. Error: Service check command 'check_users' specified in service 'Current Users' for host 'localhost' not defined anywhere!
  104. Error: Service check command 'check_all_disks' specified in service 'Disk Space' for host 'localhost' not defined anywhere!
  105. Error: Service check command 'check_http' specified in service 'HTTP' for host 'localhost' not defined anywhere!
  106. Error: Service check command 'check_ssh' specified in service 'SSH' for host 'localhost' not defined anywhere!
  107. Error: Service check command 'check_procs' specified in service 'Total Processes' for host 'localhost' not defined anywhere!
  108. Checked 7 services.
  109. Checking hosts...
  110. Error: Host check command 'check-host-alive' specified for host 'gateway' is not defined anywhere!
  111. Error: Host check command 'check-host-alive' specified for host 'localhost' is not defined anywhere!
  112. Checked 2 hosts.
  113. Checking host groups...
  114. Checked 5 host groups.
  115. Checking service groups...
  116. Checked 0 service groups.
  117. Checking contacts...
  118. Checked 1 contacts.
  119. Checking contact groups...
  120. Checked 1 contact groups.
  121. Checking service escalations...
  122. Checked 0 service escalations.
  123. Checking service dependencies...
  124. Checked 0 service dependencies.
  125. Checking host escalations...
  126. Checked 0 host escalations.
  127. Checking host dependencies...
  128. Checked 0 host dependencies.
  129. Checking commands...
  130. Checked 69 commands.
  131. Checking time periods...
  132. Checked 4 time periods.
  133. Checking for circular paths between hosts...
  134. Checking for circular host and service dependencies...
  135. Checking global event handlers...
  136. Checking obsessive compulsive processor commands...
  137. Checking misc settings...
  138.  
  139. Total Warnings: 0
  140. Total Errors: 9
  141.  
  142. ***> One or more problems was encountered while running the pre-flight check...
  143.  
  144. Check your configuration file(s) to ensure that they contain valid
  145. directives and data defintions. If you are upgrading from a previous
  146. version of Nagios, you should be aware that some variables/definitions
  147. may have been removed or modified in this version. Make sure to read
  148. the HTML documentation regarding the config files, as well as the
  149. 'Whats New' section to find out what has changed.
  150.  
  151. * errors in config!
  152. [fail]
  153. invoke-rc.d: initscript nagios3, action "start" failed.
  154. dpkg: error processing nagios3-common (--configure):
  155. subprocess installed post-installation script returned error exit status 1
  156. dpkg: dependency problems prevent configuration of nagios3-core:
  157. nagios3-core depends on nagios3-common (= 3.2.0-4ubuntu2.2); however:
  158. Package nagios3-common is not configured yet.
  159. dpkg: error processing nagios3-core (--configure):
  160. dependency problems - leaving unconfigured
  161. dpkg: dependency problems prevent configuration of nagios3-cgi:
  162. nagios3-cgi depends on nagios3-common (= 3.2.0-4ubuntu2.2); however:
  163. Package nagios3-common is not configured yet.
  164. dpkg: error processing nagios3-cgi (--configure):
  165. dependency problems - leaving unconfigured
  166. dpkg: dependency problems prevent configuration of nagios3:
  167. nagios3 depends on nagios3-core (= 3.2.0-4ubuntu2.2); however:
  168. Package nagios3-core is not configured yet.
  169. nagios3 depends on nagios3-cgi (= 3.2.0-4ubuntu2.2); however:
  170. Package nagios3-cgi is not configured yet.
  171. dpkg: error processing nagios3 (--configure):No apport report written because the error message indicates its a followup error from a previous failure.
  172. No apport report written because the error message indicates its a followup error from a previous failure.
  173. No apport report written because MaxReports is reached already
  174.  
  175. dependency problems - leaving unconfigured
  176. Setting up nagios-plugins-standard (1.4.14-1ubuntu1) ...
  177.  
  178.  
  179.  
  180. Setting up nagios-plugins (1.4.14-1ubuntu1) ...
  181. Errors were encountered while processing:
  182. nagios3-common
  183. nagios3-core
  184. nagios3-cgi
  185. nagios3
  186. E: Sub-process /usr/bin/dpkg returned an error code (1)
  187. administrator@intranet:/etc$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement