Ilya Evseev Posted February 16, 2014 Share Posted February 16, 2014 The same problem as in http://forum.whmcs.com/showthread.php?47993-Installation-TIMEOUT Installation timeout on Step 5. All previous four steps are performed successfully (checking packages, filling configuration.php, filling SQL database, describing admin user). System contents: - ubuntu 12.04 i386 - whmcs 5.33 full - nginx-light - mysql-server - php5: fpm, cli, suhosin, mysql, curl, json, gd This is created /var/www/whmcs/configuration.php: <?php $license = 'Owned-...'; $db_host = 'localhost'; $db_username = 'whmcs'; $db_password = '...'; $db_name = 'whmcs'; $cc_encryption_hash = '...'; $templates_compiledir = 'templates_c/'; $mysql_charset = 'utf8'; ?> Database is filled, but stays incomplete - "tblconfiguration" table contains "yourdomain.com" instead of my actual domain, and so on. PHP logging is enabled, logfile is write-allowed for "www-data" user, but is empty: php_flag[display_errors] = on php_admin_value[error_log] = /var/log/fpm-php.log[/url] php_admin_flag[log_errors] = on This is /etc/nginx/sites-enabled/whmcs: server { root /home/www; index index.html index.php; server_name localhost; location / { try_files $uri $uri/ /index.html; } location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; include fastcgi_params; } location ~ /\. { deny all; } } This is /var/log/nginx/access.log: 127.0.0.1 - 123 [16/Feb/2014:05:40:11 +0400] "GET /whmcs/install/install.php HTTP/1.1" 200 14795 "-" "Mozilla/5.0" 127.0.0.1 - 123 [16/Feb/2014:05:40:11 +0400] "GET /whmcs/includes/jscript/jquery.js HTTP/1.1" 200 94839 "http://whmcs.justvds.net/whmcs/install/install.php" "Mozilla/5.0" 127.0.0.1 - 123 [16/Feb/2014:05:40:13 +0400] "GET /whmcs/install/install.php?step=2 HTTP/1.1" 200 1390 "http://whmcs.justvds.net/whmcs/install/install.php" "Mozilla/5.0" 127.0.0.1 - 123 [16/Feb/2014:05:40:17 +0400] "POST /whmcs/install/install.php?step=3 HTTP/1.1" 200 1534 "http://whmcs.justvds.net/whmcs/install/install.php?step=2" "Mozilla/5.0" 127.0.0.1 - 123 [16/Feb/2014:05:40:17 +0400] "GET /whmcs/includes/jscript/jquery.js HTTP/1.1" 304 0 "http://whmcs.justvds.net/whmcs/install/install.php?step=3" "Mozilla/5.0" 127.0.0.1 - 123 [16/Feb/2014:05:40:17 +0400] "GET /whmcs/images/loading.gif HTTP/1.1" 200 10819 "http://whmcs.justvds.net/whmcs/install/install.php?step=3" "Mozilla/5.0" 127.0.0.1 - 123 [16/Feb/2014:05:40:37 +0400] "POST /whmcs/install/install.php?step=4 HTTP/1.1" 200 1368 "http://whmcs.justvds.net/whmcs/install/install.php?step=3" "Mozilla/5.0" 127.0.0.1 - 123 [16/Feb/2014:05:40:37 +0400] "GET /whmcs/includes/jscript/jquery.js HTTP/1.1" 304 0 "http://whmcs.justvds.net/whmcs/install/install.php?step=4" "Mozilla/5.0" 127.0.0.1 - 123 [16/Feb/2014:05:42:07 +0400] "POST /whmcs/install/install.php?step=5 HTTP/1.1" 504 585 "http://whmcs.justvds.net/whmcs/install/install.php?step=4" "Mozilla/5.0" This is /var/log/nginx/error.log: 2014/02/16 05:42:07 [error] 3909#0: *185 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "POST /whmcs/install/install.php?step=5 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "whmcs.justvds.net", referrer: "http://whmcs.justvds.net/whmcs/install/install.php?step=4" 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.