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 General Discussion Debian/Ubuntu
  • Search

Fail to install Vestacp on Debian 7 Wheezy 64bits

Debian/Ubuntu related topics
Locked
  • Print view
Advanced search
7 posts • Page 1 of 1
Yikmings
Posts: 17
Joined: Fri Nov 22, 2013 4:51 pm

Fail to install Vestacp on Debian 7 Wheezy 64bits

Post by Yikmings » Sat Mar 29, 2014 3:45 pm

Just try install on debian 7 server but fail. How to fix this problem? Thanks for help. :)

Code: Select all

update-rc.d: using dependency based boot sequencing
Starting nginx: nginx: [emerg] getpwnam("nginx") failed in /etc/nginx/nginx.conf:2
nginx: configuration file /etc/nginx/nginx.conf test failed
Error: nginx start failed
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Fail to install Vestacp on Debian 7 Wheezy 64bits

Post by imperio » Mon Mar 31, 2014 12:15 pm

This error appears in the installation process ?
or after a successful installation does not start nginx ?
Top

Yikmings
Posts: 17
Joined: Fri Nov 22, 2013 4:51 pm

Re: Fail to install Vestacp on Debian 7 Wheezy 64bits

Post by Yikmings » Mon Mar 31, 2014 12:35 pm

Thanks for your reply. The error shows when processing.
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Fail to install Vestacp on Debian 7 Wheezy 64bits

Post by imperio » Mon Mar 31, 2014 1:08 pm

show me please line 2 in the nginx config
/etc/nginx/nginx.conf:2
Top

Yikmings
Posts: 17
Joined: Fri Nov 22, 2013 4:51 pm

Re: Fail to install Vestacp on Debian 7 Wheezy 64bits

Post by Yikmings » Mon Mar 31, 2014 4:10 pm

Code: Select all

# Server globals
user                    nginx;
worker_processes        2;
error_log               /var/log/nginx/error.log;
pid                     /var/run/nginx.pid;


# Worker config
events {
        worker_connections  1024;
        use                 epoll;
}


http {
    # Main settings
    sendfile                        on;
    tcp_nopush                      on;
    tcp_nodelay                     on;
    client_header_timeout           1m;
    client_body_timeout             1m;
    client_header_buffer_size       2k;
    client_body_buffer_size         256k;
    client_max_body_size            100m;
    large_client_header_buffers     4   8k;
    send_timeout                    30;
    keepalive_timeout               60 60;
    reset_timedout_connection       on;
    server_tokens                   off;
    server_name_in_redirect         off;
    server_names_hash_max_size      512;
    server_names_hash_bucket_size   512;


    # Log format
    log_format  main    '$remote_addr - $remote_user [$time_local] $request '
                        '"$status" $body_bytes_sent "$http_referer" '
                        '"$http_user_agent" "$http_x_forwarded_for"';
    log_format  bytes   '$body_bytes_sent';
    #access_log          /var/log/nginx/access.log  main;
    access_log off;


    # Mime settings
    include             /etc/nginx/mime.types;
    default_type        application/octet-stream;


    # Compression
    gzip                on;
    gzip_comp_level     9;
    gzip_min_length     512;
    gzip_buffers        8 64k;
    gzip_types          text/plain text/css text/javascript
                        application/x-javascript;
    gzip_proxied        any;


    # Proxy settings
    proxy_redirect      off;
    proxy_set_header    Host            $host;
    proxy_set_header    X-Real-IP       $remote_addr;
    proxy_set_header    X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_pass_header   Set-Cookie;
    proxy_connect_timeout   90;
    proxy_send_timeout  90;
    proxy_read_timeout  90;
    proxy_buffers       32 4k;


    # SSL PCI Compliance
    ssl_ciphers                 RC4:HIGH:!aNULL:!MD5:!kEDH;
    ssl_session_cache           shared:SSL:10m;
    ssl_prefer_server_ciphers   on;


    # Error pages
    error_page          403          /error/403.html;
    error_page          404          /error/404.html;
    error_page          502 503 504  /error/50x.html;


    # Cache
    proxy_cache_path /var/cache/nginx levels=2 keys_zone=cache:10m inactive=60m max_size=512m;
    proxy_cache_key "$host$request_uri $cookie_user";
    proxy_temp_path  /var/cache/nginx/temp;
    proxy_ignore_headers Expires Cache-Control;
    proxy_cache_use_stale error timeout invalid_header http_502;
    proxy_cache_valid any 3d;

    map $http_cookie $no_cache {
        default 0;
        ~SESS 1;
        ~wordpress_logged_in 1;
    }


    # Wildcard include
    include             /etc/nginx/conf.d/*.conf;
}
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Fail to install Vestacp on Debian 7 Wheezy 64bits

Post by imperio » Mon Mar 31, 2014 5:04 pm

try to use this command

Code: Select all

useradd nginx

Code: Select all

service nginx restart
Top

Yikmings
Posts: 17
Joined: Fri Nov 22, 2013 4:51 pm

Re: Fail to install Vestacp on Debian 7 Wheezy 64bits

Post by Yikmings » Tue Apr 01, 2014 1:26 pm

Ok now thx :)
Top


Locked
  • Print view

7 posts • Page 1 of 1

Return to “Debian/Ubuntu”



  • 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
 

 

Login  •  Register

I forgot my password