EduSoho网络教学软件 加入小组

537个成员 301个话题 创建时间:2013-09-17

lnmpa 虚拟机 安装 edusoho rc3 502 错误 如何解决

发表于 2013-10-17 6813 次查看

安装安装 edusoho rc3 出现错误

nginx aceess。log文件如下

 

113.80.75.239 - - [17/Oct/2013:13:44:50 +0800] "GET /app.php HTTP/1.1" 302 5 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; SE 2.X MetaSr 1.0)"
113.80.75.239 - - [17/Oct/2013:13:44:50 +0800] "GET /install/install.php HTTP/1.1" 502 568 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; SE 2.X MetaSr 1.0)"
113.80.75.239 - - [17/Oct/2013:13:44:54 +0800] "GET /app.php HTTP/1.1" 302 5 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17 SE 2.X MetaSr 1.0"
113.80.75.239 - - [17/Oct/2013:13:44:55 +0800] "GET /install/install.php HTTP/1.1" 502 568 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17 SE 2.X MetaSr 1.0"
113.80.75.239 - - [17/Oct/2013:13:45:30 +0800] "GET /install/install.php HTTP/1.1" 502 568 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; SE 2.X MetaSr 1.0)"
113.80.75.239 - - [17/Oct/2013:13:45:33 +0800] "GET /install/install.php HTTP/1.1" 502 568 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17 SE 2.X MetaSr 1.0"
113.80.75.239 - - [17/Oct/2013:13:45:38 +0800] "GET / HTTP/1.1" 302 5 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17 SE 2.X MetaSr 1.0"
113.80.75.239 - - [17/Oct/2013:13:45:38 +0800] "GET /install/install.php HTTP/1.1" 502 568 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17 SE 2.X MetaSr 1.0"
113.80.75.239 - - [17/Oct/2013:13:53:02 +0800] "GET / HTTP/1.1" 302 5 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17 SE 2.X MetaSr 1.0"
113.80.75.239 - - [17/Oct/2013:13:53:02 +0800] "GET /install/install.php HTTP/1.1" 502 568 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17 SE 2.X MetaSr 1.0"
113.80.75.239 - - [17/Oct/2013:13:53:43 +0800] "GET /install/install.php HTTP/1.1" 502 568 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; SE 2.X MetaSr 1.0)"
113.80.75.239 - - [17/Oct/2013:13:53:45 +0800] "GET /install/install.php HTTP/1.1" 502 568 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17 SE 2.X MetaSr 1.0"
113.80.75.239 - - [17/Oct/2013:13:53:46 +0800] "GET /install/install.php HTTP/1.1" 502 568 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; SE 2.X MetaSr 1.0)"
113.80.75.239 - - [17/Oct/2013:13:53:48 +0800] "GET /install/install.php HTTP/1.1" 502 568 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17 SE 2.X MetaSr 1.0"
113.80.75.239 - - [17/Oct/2013:13:53:49 +0800] "GET /install/install.php HTTP/1.1" 502 568 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; SE 2.X MetaSr 1.0)"
113.80.75.239 - - [17/Oct/2013:13:53:51 +0800] "GET /install/install.php HTTP/1.1" 502 568 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17 SE 2.X MetaSr 1.0"
113.80.75.239 - - [17/Oct/2013:13:53:58 +0800] "GET / HTTP/1.1" 302 5 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17 SE 2.X MetaSr 1.0"
113.80.75.239 - - [17/Oct/2013:13:53:59 +0800] "GET /install/install.php HTTP/1.1" 502 568 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17 SE 2.X MetaSr 1.0"
113.80.75.239 - - [17/Oct/2013:13:54:02 +0800] "GET /install/install.php HTTP/1.1" 502 568 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; SE 2.X MetaSr 1.0)"

nginx配置

server {
listen 80;

# [改] 网站的域名
server_name xx.vjz100.com;
# [改] 程序的安装路径
root /home/wwwroot/vjzjy/web;

# [改] 日志路径
location / {
index app.php;
try_files $uri @rewriteapp;
}

location @rewriteapp {
rewrite ^(.*)$ /app.php/$1 last;
}

location ~ ^/udisk {
internal;
# [改] 请根据程序的实际安装路径修改。该目录下存放的是私有的文件课时的视频、音频等。
root /home/wwwroot/vjzjy/web/data;
}

location ~ ^/(app|app_dev)\.php(/|$) {
# [改] 请根据实际php-fpm运行的方式修改
fastcgi_pass unix:/tmp/php-cgi.sock;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param HTTPS off;
fastcgi_param HTTP_X-Sendfile-Type X-Accel-Redirect;
# [改] 请根据程序的实际安装路径修改。该目录下存放的是私有的文件。
fastcgi_param HTTP_X-Accel-Mapping /udisk=/home/wwwroot/vjzjy/web/app/data/udisk;
fastcgi_buffer_size 128k;
fastcgi_buffers 8 128k;
}

# 配置设置图片格式文件
location ~* \.(jpg|jpeg|gif|png|ico|swf)$ {
# 过期时间为3年
expires 3y;

# 关闭日志记录
access_log off;

# 关闭gzip压缩,减少CPU消耗,因为图片的压缩率不高。
gzip off;
}

# 配置css/js文件
location ~* \.(css|js)$ {
access_log off;
expires 3y;
}

# 禁止用户上传目录下所有.php文件的访问,提高安全性
location ~ ^/files/.*\.(php|php5)$ {
deny all;
}

# 以下配置允许运行.php的程序,方便于其他第三方系统的集成。
location ~ \.php$ {
# [改] 请根据实际php-fpm运行的方式修改
fastcgi_pass unix:/tem/php-cgi.sock;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param HTTPS off;
}
}

8回复
  • 2楼 微建筑 2013-10-17

    php 5.3.17

  • 3楼 微建筑 2013-10-17

    2013/10/12 03:39:29 [notice] 24274#0: signal process started
    2013/10/12 03:40:49 [notice] 24400#0: signal process started
    2013/10/14 16:43:16 [notice] 21594#0: signal process started
    2013/10/17 12:22:04 [notice] 24750#0: signal process started
    2013/10/17 13:31:10 [emerg] 28373#0: unexpected end of file, expecting "}" in /usr/local/nginx/conf/vjzzy.conf:3
    2013/10/17 13:31:10 [emerg] 28374#0: unexpected end of file, expecting "}" in /usr/local/nginx/conf/vjzzy.conf:3
    2013/10/17 13:40:51 [emerg] 28888#0: unexpected end of file, expecting "}" in /usr/local/nginx/conf/vjzzy.conf:3
    2013/10/17 13:42:53 [emerg] 29177#0: unexpected end of file, expecting "}" in /usr/local/nginx/conf/vjzzy.conf:3

  • 4楼 微建筑 2013-10-17

    没有相关错误

  • 5楼 微建筑 2013-10-18

    是lnmp环境 

发表回复
功能维护升级中,维护完成完后将再次开放,非常抱歉给您学习造成的不便。