Page 1 of 1

Installation Issues

Posted: Wed Feb 18, 2015 1:17 am
by Preston159
I was unsure where to put this post, but this one made the most sense based on the errors I'm getting.

The first time I installed Vesta, I lost ssh access and had to reinstall, but I could access the web backend. Now, when I attempt to install Vesta, it doesn't create an `admin' user account and nginx gives the following error.

Code: Select all

nginx: [emerg] getpwnam("admin") failed in /usr/local/vesta/nginx/conf/nginx.conf:1
If I attempt to create the user with `useradd', I get

Code: Select all

nginx: [emerg] BIO_new_file("/usr/local/vesta/ssl/certificate.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/usr/local/vesta/ssl/certificate.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
Also, when installing, I'm unable to install `libapache2-mod-rpaf', even when forced and the cache removed.

Code: Select all

Errors were encountered while processing:
 libapache2-mod-rpaf
E: Sub-process /usr/bin/dpkg returned an error code (1)
Error: apt-get install failed
Help with any of these problems would be greatly appreciated. Thanks in advance!

My OS is Ubuntu Server 14.04.

Re: Installation Issues

Posted: Wed Feb 18, 2015 5:38 am
by skurudo
Remove/delete user admin before installation and the install VestaCP on clean system

Re: Installation Issues

Posted: Mon Aug 24, 2015 3:25 pm
by zooks
skurudo wrote:Remove/delete user admin before installation and the install VestaCP on clean system
I installed VestaCP on clean Ubuntu 14 and I've got the same error. How to delete this user admin?

Code: Select all

 System start/stop links for /etc/init.d/vesta already exist.
 * Starting vesta-nginx vesta-nginx                                             nginx: [emerg] PEM_read_bio_X509_AUX("/usr/local/vesta/ssl/certificate.crt") failed (SSL: error:0906D06C:PEM routines:PEM_read_bio:no start line:Expecting: TRUSTED CERTIFICATE)
Error: vesta start failed
UPD:
Then I tried to delete admin accound and this folder

Code: Select all

/home/admin/conf/
with no success.
So after reinstalling my server Vesta is installed and works fine.

Re: Installation Issues

Posted: Mon Aug 24, 2015 6:44 pm
by skurudo

Code: Select all

sudo userdel [useraccount]
Followed by

Code: Select all

sudo rm -rf /home/useraccount
Followed by

vi /etc/crontab and inspecting /etc/crond.d for cron jobs are left behind that need to be removed.

...

It's for next generations, who will try Ubuntu, this illegitimate daughter of normal software OS ;-)