AMH 社区首页
AMH社区 - 开放自由有价值的社区
[求助帖] 请Nginx大神帮忙看一下着急!!! |
|
---|---|
SuperJies |
SuperJies 发表于 2015-03-20 10:31:45
本帖最后由 SuperJies 于 2015-3-20 10:40 编辑
[root@smile ]# /etc/init.d/amh-start ========================================================================================================================== [Linux] AMH 5.1 http://amh.sh [amcrontab-1.0 boot] ============================================================= [Notice] amcrontab-1.0 No boot-options. ============================================================= [Linux] AMH 5.1 http://amh.sh [amftp-2.0 boot] ============================================================= [Notice] amftp-2.0 No boot-options. ============================================================= [Linux] AMH 5.1 http://amh.sh [amh-5.1 boot] ============================================================= [OK] amh-5.1 is already installed. nginx: [emerg] open() "/home/wwwroot/testdomain.com/rewrite/index.html,index.htm,index.php" failed (2: No such file or directory) in /home/wwwroot/testdomain.com/vhost/testdomain.com.conf:11 [OK] amh-5.1 start ============================================================= [Linux] AMH 5.1 http://amh.sh [apache-2.4.9 boot] ============================================================= [OK] apache-2.4.9 is already installed. httpd (pid 2484) already running ============================================================= [Linux] AMH 5.1 http://amh.sh [d-disk-1.0 boot] ============================================================= [Notice] d-disk-1.0 No boot-options. ============================================================= [Linux] AMH 5.1 http://amh.sh [d-net-1.0 boot] ============================================================= [Notice] d-net-1.0 No boot-options. ============================================================= [Linux] AMH 5.1 http://amh.sh [d-os-1.0 boot] ============================================================= [Notice] d-os-1.0 No boot-options. ============================================================= [Linux] AMH 5.1 http://amh.sh [d-ram-1.0 boot] ============================================================= [Notice] d-ram-1.0 No boot-options. ============================================================= [Linux] AMH 5.1 http://amh.sh [libiconv-1.14 boot] ============================================================= [Notice] libiconv-1.14 No boot-options. ============================================================= [Linux] AMH 5.1 http://amh.sh [lnmp-1.5 boot] ============================================================= ============================================================= [Linux] AMH 5.1 http://amh.sh [lnmp-1.5 admin] ============================================================= [OK] lnmp-1.5 is already installed. [Notice] All vhost-php start... [OK] lnmp-1.5 is already installed. [OK] superjies.com vhost-php start. ============================================================= [Linux] AMH 5.1 http://amh.sh [madmin-1.0 boot] ============================================================= [Notice] madmin-1.0 No boot-options. ============================================================= [Linux] AMH 5.1 http://amh.sh [mysql-5.5.40 boot] ============================================================= [OK] mysql-5.5.40 is already installed. Starting MySQL [确定] ============================================================= [Linux] AMH 5.1 http://amh.sh [nginx-1.6.0 boot] ============================================================= [OK] nginx-1.6.0 is already installed. nginx: [emerg] open() "/home/wwwroot/testdomain.com/rewrite/index.html,index.htm,index.php" failed (2: No such file or directory) in /home/wwwroot/testdomain.com/vhost/testdomain.com.conf:11 ============================================================= [Linux] AMH 5.1 http://amh.sh [owncloud-7.0.4 boot] ============================================================= [Notice] owncloud-7.0.4 No boot-options. ============================================================= [Linux] AMH 5.1 http://amh.sh [php-5.3.28 boot] ============================================================= [Notice] php-5.3.28 No boot-options. ============================================================= [Linux] AMH 5.1 http://amh.sh [phpmyadmin-4.0.10.2 boot] ============================================================= [Notice] phpmyadmin-4.0.10.2 No boot-options. ============================================================= [Linux] AMH 5.1 http://amh.sh [pp_tpd_v_pn-1.1 boot] ============================================================= [OK] pp_tpd_v_pn-1.1 is already installed. Starting pp_tpd: ============================================================= [Linux] AMH 5.1 http://amh.sh [pure-ftpd-1.0.36 boot] ============================================================= [OK] pure-ftpd-1.0.36 is already installed. 正在启动 pure-config.pl:Running: /usr/local/pure-ftpd-1.0.36/sbin/pure-ftpd --daemonize -g/usr/local/pure-ftpd-1.0.36/pure-ftpd.pid -S21 -A -c50 -B -C8 -D -E -fftp -H -I15 -lpuredb:/usr/local/pure-ftpd-1.0.36/etc/pureftpd.pdb -lunix -L10000:8 -m4 -s -U133:022 -u100 -k99 -Z -p10100:10180 testdomain.com.conf: server
{ listen 80; #listen end server_name www.testdomain.com; #server_name end index index.php; #index end set $subdomain ''; #root /home/wwwroot/testdomain.com/domain/testdomain.com/web$subdomain; root /home/wwwroot/testdomain.com/domain/testdomain.com/web; #include /home/wwwroot/testdomain.com/domain/testdomain.com/web/index.html,index.htm,index.php; #rewrite end include /home/wwwroot/testdomain.com/rewrite/index.html,index.htm,index.php; #rewrite end #error_page location ~ /ErrorPages/(400|401|403|404|405|502|503)\.html$ { root /home/wwwroot/testdomain.com/domain/superjies.com/web; } location ~ .*\.php$ { fastcgi_pass unix:/tmp/php-cgi-superjies.com-superjies.com.sock; fastcgi_index index.php; include fcgi.conf; fastcgi_param DOCUMENT_ROOT /home/wwwroot/testdomain.com/domain/testdomain.com/web$subdomain; fastcgi_param SCRIPT_FILENAME /home/wwwroot/testdomain.com/domain/testdomain.com/web$subdomain$fastcgi_script_name; } location ~ .*\.(gif|jpg|jpeg|png|bmp|swf|flv|mp3|wma)$ { expires 30d; } location ~ .*\.(js|css)$ { expires 12h; } access_log off; #access_log end error_log /dev/null; #error_log end }
点赞,加油! (0分)
2015-03-20 10:31:45 1
|
SuperJies |
@amysql 大神帮忙看一下啊。
回复
2015-03-20 10:34:54 2
|
amysql |
/home/wwwroot/testdomain.com/vhost/testdomain.com.conf
配置有问题。 修改正确后再amh nginx start 启动nginx
回复
2015-03-23 11:43:49 3
AMH面板 - 好用高效低占用、安全可靠极稳定 |