Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
root@sidbox:/mnt/dizajn/kernel/linux-3.14# /etc/init.d/nginx status [ ok ] nginx is running. root@sidbox:/mnt/dizajn/kernel/linux-3.14# /etc/init.d/php5-fpm status [ ok ] php5-fpm is running.
cat /etc/nginx/nginx.conf user www-data; worker_processes 2; error_log /var/log/nginx/error_log; events { worker_connections 1024; use epoll; } http { include /etc/nginx/mime.types; default_type application/octet-stream; log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.log main; sendfile on; keepalive_timeout 30; server_tokens off; connection_pool_size 256; client_header_buffer_size 1k; large_client_header_buffers 4 2k; request_pool_size 4k; output_buffers 1 32k; postpone_output 1460; gzip on; gzip_disable "MSIE [1-6]\.(?!.*SV1)"; gzip_http_version 1.1; gzip_vary on; gzip_proxied any; gzip_comp_level 6; gzip_buffers 16 8k; gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript text/x-js; include /etc/nginx/sites-enabled/*; }
cat /etc/nginx/sites-available/local.net server { listen 80; server_name local.net; charset utf-8; access_log off; root /usr/share/nginx/html/; index index.php; location / { try_files $uri $uri/ /index.php; #lub: try_files $uri $uri/ /index.php?id=$uri&$args } location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; include fastcgi_params; } location ~ /\.ht { deny all; } location ~ /\. { deny all; } }
ls -al /etc/nginx/sites-enabled/default lrwxrwxrwx 1 root root 36 Apr 28 23:14 /etc/nginx/sites-enabled/default -> /etc/nginx/sites-available/local.net
ls -al /usr/share/nginx/ total 8 drwxr-xr-x 2 root root 4096 Apr 29 16:12 . drwxr-xr-x 190 root root 4096 May 8 20:20 .. lrwxrwxrwx 1 root root 17 Apr 29 16:12 html -> /home/przemo/html
ls -al html/ total 60 drwxr-xr-x 3 przemo przemo 4096 May 8 05:54 . drwxr-xr-x 35 przemo przemo 4096 May 9 11:49 .. -rwxr-xr-x 1 przemo przemo 11293 Apr 28 20:17 index.html -rwxr-xr-x 1 root root 68 May 8 05:54 info.php -rwxr-xr-x 1 przemo przemo 3941 May 6 17:37 jquery-scrolltofixed-min.js drwxr-xr-x 10 przemo przemo 4096 May 5 23:01 odeairishart -rwxr-xr-x 1 przemo przemo 6608 May 6 17:53 stikinav.html -rwxr-xr-x 1 przemo przemo 6182 May 6 17:53 stikinav.html~ -rwxr-xr-x 1 przemo przemo 547 May 6 17:56 style.css -rwxr-xr-x 1 przemo przemo 676 May 6 17:56 style.css~ -rwxr-xr-x 1 przemo przemo 1580 Apr 29 17:57 test.html
server html dziala
Ostatnio edytowany przez pink (2014-05-09 13:11:29)
Offline
Myślę, że za długo stał i po prostu zasłabł ...
Napisz coś więcej:
- sam z siebie padł?
- co było zmieniane?
- coś aktualizowałeś?
- coś zmieniałeś?
- to była działająca konfiguracja?
Offline
zmienilem kernel na 3.14 specjalnie pod tablet
dokompilowalo sie pare modułów i tyle
www dziala a reszta jest wyżej jak trzeba cos dopisac to powiedz bo ja nie wiem co jeszcze moge sprawdzic.
aktualizowalem standardowo system dist-upgrade jak zwykle.
logi
[09-May-2014 11:44:56] NOTICE: fpm is running, pid 3016 [09-May-2014 11:44:56] NOTICE: ready to handle connections [09-May-2014 11:44:56] NOTICE: systemd monitor interval set to 10000ms [09-May-2014 11:46:46] NOTICE: Finishing ... [09-May-2014 11:46:46] NOTICE: exiting, bye-bye! [09-May-2014 11:47:46] NOTICE: configuration file /etc/php5/fpm/php-fpm.conf test is successful [09-May-2014 11:47:46] NOTICE: fpm is running, pid 3015 [09-May-2014 11:47:46] NOTICE: ready to handle connections [09-May-2014 11:47:46] NOTICE: systemd monitor interval set to 10000ms [09-May-2014 11:59:51] NOTICE: Reloading in progress ... [09-May-2014 11:59:51] NOTICE: reloading: execvp("/usr/sbin/php5-fpm", {"/usr/sbin/php5-fpm", "--daemonize", "--fpm-config", "/etc/php5/fpm/php-fpm.conf"}) [09-May-2014 11:59:51] NOTICE: using inherited socket fd=8, "/var/run/php5-fpm.sock" [09-May-2014 11:59:51] NOTICE: using inherited socket fd=8, "/var/run/php5-fpm.sock" [09-May-2014 11:59:51] NOTICE: fpm is running, pid 4916 [09-May-2014 11:59:51] NOTICE: ready to handle connections [09-May-2014 11:59:51] NOTICE: systemd monitor interval set to 10000ms
Ostatnio edytowany przez pink (2014-05-09 13:26:14)
Offline
Logi z działania php-fpm kozioł zeżarł?
Offline
Time (s) | Query |
---|---|
0.00011 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00094 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.136.26.156' WHERE u.id=1 |
0.00096 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.136.26.156', 1733047890) |
0.00045 | SELECT * FROM punbb_online WHERE logged<1733047590 |
0.00086 | DELETE FROM punbb_online WHERE ident='18.217.118.7' |
0.00006 | SELECT topic_id FROM punbb_posts WHERE id=266417 |
0.00004 | SELECT id FROM punbb_posts WHERE topic_id=25780 ORDER BY posted |
0.00080 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=25780 AND t.moved_to IS NULL |
0.00005 | SELECT search_for, replace_with FROM punbb_censoring |
0.00142 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=25780 ORDER BY p.id LIMIT 0,25 |
0.00080 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=25780 |
Total query time: 0.00653 s |