[Bug 704766] Re: unable to install nagios3
eldorado
eldorado1384 at yahoo.com
Thu May 9 12:29:25 UTC 2013
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 at 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 "null"s 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
More information about the Ubuntu-server-bugs
mailing list