[Bug 704766] Re: unable to install nagios3
hi there, i faced this problem today, I installed some days ago Nagios3 with no problem, but today I face it, the bug I saw is here: zahra@NagiosServer:~$ sudo apt-get install nagios3 [sudo] password for zahra: Reading package lists... Done Building dependency tree Reading state information... Done nagios3 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 117 not upgraded. 6 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? y Setting up postfix (2.8.5-2~build1) ... Postfix configuration was not changed. If you need to make changes, edit /etc/postfix/main.cf (and others) as needed. To view Postfix configuration values, see postconf(1). After modifying main.cf, be sure to run '/etc/init.d/postfix reload'. Running newaliases newaliases: warning: valid_hostname: invalid character 40(decimal): NagiosServer.(null) newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: NagiosServer.(null) dpkg: error processing postfix (--configure): subprocess installed post-installation script returned error exit status 75 No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of bsd-mailx: bsd-mailx depends on default-mta | mail-transport-agent; however: Package default-mta is not installed. Package postfix which provides default-mta is not configured yet. Package mail-transport-agent is not installed. Package postfix which provides mail-transport-agent is not configured yet. dpkg: error processing bsd-mailx (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of nagios3-common: nagios3-common depends on bsd-mailx | mailx; however: Package bsd-mailx is not configured yet. Package mailx is not installed. Package bsd-mailx which provides mailx is not configured yet. dpkg: error processing nagios3-common (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of nagios3-cgi: nagios3-cgi depends on nagios3-common (= 3.2.3-3); however: Package nagios3-common is not configured yet. dpkg: error processing nagios3-cgi (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of nagios3-core: nagios3-core depends on nagios3-common (= 3.2.3-3); however: Package nagios3-common is not configured yet. dpkg: error processing nagios3-core (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of nagios3: nagios3 depends on nagios3-core (= 3.2.3-3); however: Package nagios3-core is not configured yet. nagios3 depends on nagios3-cgi (= 3.2.3-3); however: Package nagios3-cgi is not configured yet. dpkg: error processing nagios3 (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already Processing triggers for libc-bin ... ldconfig deferred processing now taking place Errors were encountered while processing: postfix bsd-mailx nagios3-common nagios3-cgi nagios3-core nagios3 E: Sub-process /usr/bin/dpkg returned an error code (1) so I edited the file /etc/postfix/main.cf and placed the true name for: myhostname mydestination at installation I named it NagiosServer.local but it did not changed myhostname and placed it NagiosServer.(null) !!! and also at this file for mydestination it wroted: mydestination = NagiosServer.local, NagiosServer.(null), localhost.(null), localhost and I changed teh nulls to local and tryed again and it is installed and running like charm :) tnx -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios3 in Ubuntu. https://bugs.launchpad.net/bugs/704766 Title: unable to install nagios3 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nagios3/+bug/704766/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 704766] Re: unable to install nagios3
THANKS It works perfectly -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios3 in Ubuntu. https://bugs.launchpad.net/bugs/704766 Title: unable to install nagios3 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nagios3/+bug/704766/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 704766] Re: unable to install nagios3
** Description changed: - Binary package hint: nagios3 - - using ubuntu server, not desktop - - # uname -a - Linux hostname 2.6.35-24-server #42-Ubuntu SMP Thu Dec 2 03:58:11 UTC 2010 x86_64 GNU/Linux - - - # lsb_release -rd - Description: Ubuntu 10.10 - Release: 10.10 - - - # apt-get install nagios3 + bayasakh@bayasakh-HP-Pavilion:~$ sudo apt-get install nagios3 Reading package lists... Done Building dependency tree Reading state information... Done - The following extra packages will be installed: - nagios3-cgi nagios3-common nagios3-core - The following NEW packages will be installed: - nagios3 nagios3-cgi nagios3-common nagios3-core - 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. - Need to get 1,987kB/1,988kB of archives. - After this operation, 6,103kB of additional disk space will be used. + nagios3 is already the newest version. + 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. + 4 not fully installed or removed. + After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? y - Get:1 http://us.archive.ubuntu.com/ubuntu/ maverick/main nagios3-common all 3.2.1-2ubuntu1 [77.1kB] - Get:2 http://us.archive.ubuntu.com/ubuntu/ maverick/main nagios3-core amd64 3.2.1-2ubuntu1 [283kB] - Get:3 http://us.archive.ubuntu.com/ubuntu/ maverick/main nagios3-cgi amd64 3.2.1-2ubuntu1 [1,627kB] - Fetched 1,987kB in 7s (281kB/s) - Preconfiguring packages ... - Selecting previously deselected package nagios3-common. - (Reading database ... 76434 files and directories currently installed.) - Unpacking nagios3-common (from .../nagios3-common_3.2.1-2ubuntu1_all.deb) ... - Selecting previously deselected package nagios3-core. - Unpacking nagios3-core (from .../nagios3-core_3.2.1-2ubuntu1_amd64.deb) ... - Selecting previously deselected package nagios3-cgi. - Unpacking nagios3-cgi (from .../nagios3-cgi_3.2.1-2ubuntu1_amd64.deb) ... - Selecting previously deselected package nagios3. - Unpacking nagios3 (from .../nagios3_3.2.1-2ubuntu1_amd64.deb) ... - Processing triggers for ureadahead ... - Processing triggers for man-db ... - Setting up nagios3-common (3.2.1-2ubuntu1) ... - * Starting nagios3 monitoring daemon nagios3 - Nagios Core 3.2.1 + Setting up nagios3-common (3.2.3-1ubuntu1.2) ... + * Starting nagios3 monitoring daemon nagios3 + Nagios Core 3.2.3 Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad - Last Modified: 03-09-2010 + Last Modified: 10-03-2010 License: GPL Website: http://www.nagios.org Reading configuration data... Read main config file okay... Processing object config file '/etc/nagios3/commands.cfg'... Processing object config directory '/etc/nagios-plugins/config'... + Processing object config file '/etc/nagios-plugins/config/disk.cfg'... + Processing object config file '/etc/nagios-plugins/config/hppjd.cfg'... + Processing object config file '/etc/nagios-plugins/config/real.cfg'... + Processing object config file '/etc/nagios-plugins/config/news.cfg'... + Processing object config file '/etc/nagios-plugins/config/fping.cfg'... + Processing object config file '/etc/nagios-plugins/config/rpc-nfs.cfg'... + Processing object config file '/etc/nagios-plugins/config/apt.cfg'... + Processing object config file '/etc/nagios-plugins/config/mailq.cfg'... + Processing object config file '/etc/nagios-plugins/config/netware.cfg'... + Processing object config file '/etc/nagios-plugins/config/http.cfg'... + Processing object config file '/etc/nagios-plugins/config/users.cfg'... + Processing object config file '/etc/nagios-plugins/config/dhcp.cfg'... + Processing object config file '/etc/nagios-plugins/config/dummy.cfg'... + Processing object config file '/etc/nagios-plugins/config/mysql.cfg'... + Processing object config file '/etc/nagios-plugins/config/ldap.cfg'... Processing object config file '/etc/nagios-plugins/config/check_nrpe.cfg'... + Processing object config file '/etc/nagios-plugins/config/tcp_udp.cfg'... + Processing object config file '/etc/nagios-plugins/config/mrtg.cfg'... + Processing object config file '/etc/nagios-plugins/config/ntp.cfg'... + Processing object config file '/etc/nagios-plugins/config/breeze.cfg'... + Processing object config file '/etc/nagios-plugins/config/load.cfg'... + Processing object config file '/etc/nagios-plugins/config/games.cfg'... + Processing object config file '/etc/nagios-plugins/config/ssh.cfg'... + Processing object config file '/etc/nagios-plugins/config/snmp.cfg'... + Processing object config file '/etc/nagios-plugins/config/ping.cfg'... + Processing object config file '/etc/nagios-plugins/config/disk-smb.cfg'... + Processing object config file
[Bug 704766] Re: unable to install nagios3
This bug report is being closed due to your last comment regarding this being fixed with an update. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find. ** Changed in: nagios3 (Ubuntu) Status: Incomplete = Invalid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios3 in ubuntu. https://bugs.launchpad.net/bugs/704766 Title: unable to install nagios3 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 704766] Re: unable to install nagios3
Hi, Thank you for your help. The suggestion to purge the one package worked. and I now have a new, freshly installed nagios3. Apologise for taking so long to get back and try this. Kenneth Long --- On Fri, 2/18/11, James Page 704...@bugs.launchpad.net wrote: From: James Page 704...@bugs.launchpad.net Subject: [Bug 704766] Re: unable to install nagios3 To: kelong_2...@yahoo.com Date: Friday, February 18, 2011, 5:26 AM We'd like to figure out what's causing this bug for you, but we haven't heard back from you in a while. Did taking these actions resolve your issue? Thanks! -- You received this bug notification because you are a direct subscriber of the bug. https://bugs.launchpad.net/bugs/704766 Title: unable to install nagios3 Status in “nagios3” package in Ubuntu: Incomplete Bug description: Binary package hint: nagios3 using ubuntu server, not desktop # uname -a Linux hostname 2.6.35-24-server #42-Ubuntu SMP Thu Dec 2 03:58:11 UTC 2010 x86_64 GNU/Linux # lsb_release -rd Description: Ubuntu 10.10 Release: 10.10 # apt-get install nagios3 Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: nagios3-cgi nagios3-common nagios3-core The following NEW packages will be installed: nagios3 nagios3-cgi nagios3-common nagios3-core 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 1,987kB/1,988kB of archives. After this operation, 6,103kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://us.archive.ubuntu.com/ubuntu/ maverick/main nagios3-common all 3.2.1-2ubuntu1 [77.1kB] Get:2 http://us.archive.ubuntu.com/ubuntu/ maverick/main nagios3-core amd64 3.2.1-2ubuntu1 [283kB] Get:3 http://us.archive.ubuntu.com/ubuntu/ maverick/main nagios3-cgi amd64 3.2.1-2ubuntu1 [1,627kB] Fetched 1,987kB in 7s (281kB/s) Preconfiguring packages ... Selecting previously deselected package nagios3-common. (Reading database ... 76434 files and directories currently installed.) Unpacking nagios3-common (from .../nagios3-common_3.2.1-2ubuntu1_all.deb) ... Selecting previously deselected package nagios3-core. Unpacking nagios3-core (from .../nagios3-core_3.2.1-2ubuntu1_amd64.deb) ... Selecting previously deselected package nagios3-cgi. Unpacking nagios3-cgi (from .../nagios3-cgi_3.2.1-2ubuntu1_amd64.deb) ... Selecting previously deselected package nagios3. Unpacking nagios3 (from .../nagios3_3.2.1-2ubuntu1_amd64.deb) ... Processing triggers for ureadahead ... Processing triggers for man-db ... Setting up nagios3-common (3.2.1-2ubuntu1) ... * Starting nagios3 monitoring daemon nagios3 Nagios Core 3.2.1 Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 03-09-2010 License: GPL Website: http://www.nagios.org Reading configuration data... Read main config file okay... Processing object config file '/etc/nagios3/commands.cfg'... Processing object config directory '/etc/nagios-plugins/config'... Processing object config file '/etc/nagios-plugins/config/check_nrpe.cfg'... Processing object config directory '/etc/nagios3/conf.d'... Processing object config file '/etc/nagios3/conf.d/extinfo_nagios2.cfg'... Processing object config file '/etc/nagios3/conf.d/timeperiods_nagios2.cfg'... Processing object config file '/etc/nagios3/conf.d/generic-host_nagios2.cfg'... Processing object config file '/etc/nagios3/conf.d/contacts_nagios2.cfg'... Processing object config file '/etc/nagios3/conf.d/services_nagios2.cfg'... Processing object config file '/etc/nagios3/conf.d/generic-service_nagios2.cfg'... Processing object config file '/etc/nagios3/conf.d/localhost_nagios2.cfg'... Processing object config file '/etc/nagios3/conf.d/hostgroups_nagios2.cfg'... Read object config files okay... Running pre-flight check on configuration data... Checking services... Error: Service check command 'check_load' specified in service 'Current Load' for host 'localhost' not defined anywhere! Error: Service check command 'check_users' specified in service 'Current Users' for host 'localhost' not defined anywhere! Error: Service check command 'check_all_disks' specified in service 'Disk Space' for host 'localhost' not defined anywhere! Error: Service check command 'check_http' specified in service 'HTTP' for host 'localhost' not defined anywhere! Error: Service check command 'check_ssh' specified in service 'SSH' for host 'localhost' not defined anywhere! Error: Service
[Bug 704766] Re: unable to install nagios3
We'd like to figure out what's causing this bug for you, but we haven't heard back from you in a while. Did taking these actions resolve your issue? Thanks! -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios3 in ubuntu. https://bugs.launchpad.net/bugs/704766 Title: unable to install nagios3 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 704766] Re: unable to install nagios3
Thank you for taking the time to report this bug and helping to make Ubuntu better. I've tried to reproduce this on a clean Maverick Server 10.10 installation; however nagios3 installs OK with no errors. The service check commands that are causing the errors during the installation are provided by the nagios-plugins-basic package which would appear to have been installed prior to installing nagios3. Please could you try purging this package as it would appear that the files in /etc/nagios-plugins/config have either been changed or are missing: sudo apt-get purge nagios-plugins-basic You can then attempt to complete the nagios3 install by running the following command: sudo apt-get install nagios3 This should also re-install the plugins package. Please update this bug if this resolves your issue. Thanks. ** Changed in: nagios3 (Ubuntu) Status: New = Incomplete -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios3 in ubuntu. https://bugs.launchpad.net/bugs/704766 Title: unable to install nagios3 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs