Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Installation Issues

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
Preston159
Posts: 2
Joined: Wed Feb 18, 2015 1:12 am

Installation Issues
  • Quote

Post by Preston159 » Wed Feb 18, 2015 1:17 am

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.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Installation Issues
  • Quote

Post by skurudo » Wed Feb 18, 2015 5:38 am

Remove/delete user admin before installation and the install VestaCP on clean system
Top

zooks
Posts: 39
Joined: Mon Aug 10, 2015 3:38 pm
Contact:
Contact zooks
Website Twitter

Os: Ubuntu 15x
Web: nginx + php-fpm
Re: Installation Issues
  • Quote

Post by zooks » Mon Aug 24, 2015 3:25 pm

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.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Installation Issues
  • Quote

Post by skurudo » Mon Aug 24, 2015 6:44 pm

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 ;-)
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password