Page 1 of 1

can't install

Posted: Wed Jun 25, 2014 3:26 pm
by cronner
Clean Debian wheezy minimal in an openvz container
Keep getting:

Adding user dovecot to group mail
System start/stop links for /etc/init.d/dovecot already exist.
[....] Starting IMAP/POP3 mail server: dovecotError: socket() failed: Address family not supported by protocol
Error: service(pop3-login): listen(::, 110) failed: Address family not supported by protocol
Error: socket() failed: Address family not supported by protocol
Error: service(pop3-login): listen(::, 995) failed: Address family not supported by protocol
Error: socket() failed: Address family not supported by protocol
Error: service(imap-login): listen(::, 143) failed: Address family not supported by protocol
Error: socket() failed: Address family not supported by protocol
Error: service(imap-login): listen(::, 993) failed: Address family not supported by protocol
Fatal: Failed to start listeners
failed!
Error: dovecot start failed

anyone got any ideas?

Re: can't install

Posted: Wed Jun 25, 2014 7:21 pm
by imperio
Hi, cronner
You can't install the vestacp or only dovecot ?

Re: can't install

Posted: Wed Jun 25, 2014 7:32 pm
by cronner
The install stops with dovecot

I can stop the vesta service and when I start i get

[....] Starting vesta-nginx: vesta-nginxnginx: [emerg] getpwnam("admin") failed in /usr/local/vesta/nginx/conf/nginx.conf:1

Re: can't install

Posted: Wed Jun 25, 2014 7:37 pm
by imperio
Error: dovecot start failed
show me please dovecot config

Code: Select all

/etc/dovecot/dovecot.conf
[....] Starting vesta-nginx: vesta-nginxnginx: [emerg] getpwnam("admin") failed in /usr/local/vesta/nginx/conf/nginx.conf:1
try to add admin user

Code: Select all

useradd admin

Re: can't install

Posted: Wed Jun 25, 2014 7:38 pm
by cronner
protocols = imap pop3
listen = *, ::
base_dir = /var/run/dovecot/
!include conf.d/*.conf

useradd admin worked fine:
# service vesta start
[ ok ] Starting vesta-nginx: vesta-nginx.
[ ok ] Starting vesta-php: vesta-php.

Re: can't install

Posted: Wed Jun 25, 2014 7:42 pm
by imperio
try to change this line

Code: Select all

listen = *, ::
to this

Code: Select all

listen = *
after

Code: Select all

/etc/init.d/dovecot restart

Re: can't install

Posted: Wed Jun 25, 2014 8:48 pm
by cronner
that worked;
# /etc/init.d/dovecot restart
[ ok ] Restarting IMAP/POP3 mail server: dovecot.

Is dovecot the last step in the installation? seems that it stopped at dovecot?

Re: can't install

Posted: Wed Jun 25, 2014 8:55 pm
by imperio
Is dovecot the last step in the installation? seems that it stopped at dovecot?
after finishing installation you will see credentials for access to vestacp in ssh console and on contact email