Comment 1 for bug 1274780

Revision history for this message
Curtis Hovey (sinzui) wrote : Re: Wordpress charm no longer works with local deploy.

I tailed the mysql unit log as it was being installed.

fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: -local-machine-1

2014-01-31 02:40:06 INFO install Setting up postfix (2.9.6-1~12.04.1) ...
2014-01-31 02:40:07 INFO install Adding group `postfix' (GID 113) ...
2014-01-31 02:40:07 INFO install Done.
2014-01-31 02:40:07 INFO install Adding system user `postfix' (UID 106) ...
2014-01-31 02:40:07 INFO install Adding new user `postfix' (UID 106) with group `postfix' ...
2014-01-31 02:40:08 INFO install Not creating home directory `/var/spool/postfix'.
2014-01-31 02:40:08 INFO install Creating /etc/postfix/dynamicmaps.cf
2014-01-31 02:40:08 INFO install Adding tcp map entry to /etc/postfix/dynamicmaps.cf
2014-01-31 02:40:08 INFO install Adding sqlite map entry to /etc/postfix/dynamicmaps.cf
2014-01-31 02:40:08 INFO install Adding group `postdrop' (GID 114) ...
2014-01-31 02:40:08 INFO install Done.
2014-01-31 02:40:08 INFO install setting myhostname: -local-machine-1
2014-01-31 02:40:08 INFO install setting alias maps
2014-01-31 02:40:08 INFO install setting alias database
2014-01-31 02:40:08 INFO install mailname is not a fully qualified domain name. Not changing /etc/mailname.
2014-01-31 02:40:08 INFO install setting destinations: localdomain, localhost, localhost.localdomain, localhost
2014-01-31 02:40:08 INFO install setting relayhost:
2014-01-31 02:40:08 INFO install setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
2014-01-31 02:40:08 INFO install setting mailbox_size_limit: 0
2014-01-31 02:40:08 INFO install setting recipient_delimiter: +
2014-01-31 02:40:08 INFO install setting inet_interfaces: all
2014-01-31 02:40:10 INFO install /etc/aliases does not exist, creating it.
2014-01-31 02:40:10 INFO install WARNING: /etc/aliases exists, but does not have a root alias.
2014-01-31 02:40:10 INFO install
2014-01-31 02:40:10 INFO install Postfix is now set up with a default configuration. If you need to make
2014-01-31 02:40:10 INFO install changes, edit
2014-01-31 02:40:10 INFO install /etc/postfix/main.cf (and others) as needed. To view Postfix configuration
2014-01-31 02:40:10 INFO install values, see postconf(1).
2014-01-31 02:40:10 INFO install
2014-01-31 02:40:10 INFO install After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.
2014-01-31 02:40:10 INFO install
2014-01-31 02:40:10 INFO install Running newaliases
2014-01-31 02:40:10 INFO install newaliases: warning: valid_hostname: misplaced hyphen: -local-machine-1
2014-01-31 02:40:10 INFO install newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: -local-machine-1
2014-01-31 02:40:10 INFO install dpkg: error processing postfix (--configure):
2014-01-31 02:40:10 INFO install subprocess installed post-installation script returned error exit status 75
2014-01-31 02:40:10 INFO install dpkg: dependency problems prevent configuration of mailutils:
2014-01-31 02:40:10 INFO install mailutils depends on default-mta | mail-transport-agent; however:
2014-01-31 02:40:10 INFO install Package default-mta is not installed.
2014-01-31 02:40:10 INFO install Package postfix which provides default-mta is not configured yet.
2014-01-31 02:40:10 INFO install Package mail-transport-agent is not installed.
2014-01-31 02:40:10 INFO install Package postfix which provides mail-transport-agent is not configured yet.
2014-01-31 02:40:10 INFO install dpkg: error processing mailutils (--configure):
2014-01-31 02:40:10 INFO install dependency problems - leaving unconfigured
....
2014-01-31 02:40:15 INFO install Processing triggers for libc-bin ...
2014-01-31 02:40:15 INFO install ldconfig deferred processing now taking place
2014-01-31 02:40:15 INFO install Errors were encountered while processing:
2014-01-31 02:40:15 INFO install postfix
2014-01-31 02:40:15 INFO install mailutils
2014-01-31 02:40:15 INFO install E: Sub-process /usr/bin/dpkg returned an error code (1)
2014-01-31 02:40:15 ERROR juju.worker.uniter uniter.go:481 hook failed: exit status 100
2014-01-31 02:40:15 INFO juju.worker.uniter modes.go:421 ModeContinue starting
2014-01-31 02:40:15 INFO juju.worker.uniter modes.go:114 awaiting error resolution for "install" hook
2014-01-31 02:40:15 INFO juju.worker.uniter modes.go:421 ModeHookError starting