В данном случае мы бы рекомендовали вам проверить корректность конфигурационных файлов веб-серверов.
Также, возможно, сейчас файловая структура сайтов размещена в некорректных каталогах.
<Directory /var/www/ludacha/data/www/ludacha.ru>
Options -Includes -ExecCGI
php_admin_value open_basedir "/var/www/ludacha/data:."
php_admin_flag engine on
</Directory>
<VirtualHost 109.120.136.198:80 >
ServerName ludacha.ru
CustomLog /var/www/httpd-logs/ludacha.ru.access.log combined
DirectoryIndex /bitrix/index.php
DocumentRoot /var/www/ludacha/data/www/ludacha.ru
ErrorLog /var/www/httpd-logs/ludacha.ru.error.log
ServerAdmin info@ludacha.ru
ServerAlias www.ludacha.ru
SuexecUserGroup ludacha ludacha
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
AddType application/x-httpd-php-source .phps
php_admin_value open_basedir "/var/www/ludacha/data:."
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f info@ludacha.ru"
php_admin_value upload_tmp_dir "/var/www/ludacha/data/mod-tmp"
php_admin_value session.save_path "/var/www/ludacha/data/mod-tmp"
VirtualDocumentRoot /var/www/ludacha/data/www/ludacha.ru/%1
</VirtualHost>
<VirtualHost 109.120.136.198:443 >
SSLCertificateFile /var/www/httpd-cert/ludacha/ludacha.ru.crt
SSLCertificateKeyFile /var/www/httpd-cert/ludacha/ludacha.ru.key
SSLEngine on
ServerName ludacha.ru
CustomLog /var/www/httpd-logs/ludacha.ru.access.log combined
DirectoryIndex /bitrix/index.php
DocumentRoot /var/www/ludacha/data/www/ludacha.ru
ErrorLog /var/www/httpd-logs/ludacha.ru.error.log
ServerAdmin info@ludacha.ru
ServerAlias www.ludacha.ru
SuexecUserGroup ludacha ludacha
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
AddType application/x-httpd-php-source .phps
php_admin_value open_basedir "/var/www/ludacha/data:."
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f info@ludacha.ru"
php_admin_value upload_tmp_dir "/var/www/ludacha/data/mod-tmp"
php_admin_value session.save_path "/var/www/ludacha/data/mod-tmp"
VirtualDocumentRoot /var/www/ludacha/data/www/ludacha.ru/%1
</VirtualHost>
Options -Indexes
ErrorDocument 404 /404.php
<IfModule mod_php5.c>
php_flag allow_call_time_pass_reference 1
php_flag session.use_trans_sid off
#php_value display_errors 1
#php_value mbstring.func_overload 2
#php_value mbstring.internal_encoding UTF-8
</IfModule>
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !\..+$
RewriteCond %{REQUEST_URI} !/$
RewriteRule (.*) http://ludacha.ru/$1/ [R=301,L]
RewriteCond %{HTTP_HOST} ^www.ludacha.ru [NC]
RewriteRule ^(.*)$ http://ludacha.ru/$1 [L,R=301]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ (.*)/index\.php\ HTTP/
RewriteRule ^(.*)index\.php$ http://ludacha.ru/$1 [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/bitrix/urlrewrite.php$
RewriteRule ^(.*)$ /bitrix/urlrewrite.php [L]
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
<IfModule mod_dir.c>
DirectoryIndex index.php index.html
</IfModule>
<IfModule mod_expires.c>
ExpiresActive on
ExpiresByType image/jpeg "access plus 3 day"
ExpiresByType image/gif "access plus 3 day"
ExpiresByType image/png "access plus 3 day"
ExpiresByType text/css "access plus 3 day"
ExpiresByType application/javascript "access plus 3 day"
</IfModule>
Как узнать какие файлы на сервере не актуальны? Из лога я понимаю что это /dev/sda1 и /dev/sda2. Я правильно рассуждаю?Сейчас на сервере не запущено процессов, которые бы могли обработать запросы к сайту.
При попытке запуска веб-сервера nginx наблюдается ошибка:
root@ludacha:/# service nginx start
Starting nginx: [crit]: pwrite() "/var/run/nginx.pid" failed (28: No space left on device)
nginx.
Связана она с тем, что у вас загружен один из разделов:
root@ludacha:/# df -h
Файловая система Разм Исп Дост Исп% смонтирована на
/dev/sda1 2,3G 1,1G 1,2G 49% /
tmpfs 251M 0 251M 0% /lib/init/rw
udev 249M 140K 249M 1% /dev
tmpfs 251M 0 251M 0% /dev/shm
/dev/sda2 23G 23G 0 100% /var
Вам необходимо очистить его, удалив неактуальные файлы.
Search for domain registration information: [ OK ]
Receive domain name servers: [ OK ]
Name servers: ns4.infobox.org, ns1.infobox.org, ns2.infobox.org, ns3.infobox.org
Lookup IP address information (ns4.infobox.org): [FAIL]
Lookup IP address information (ns1.infobox.org): [FAIL]
Lookup IP address information (ns2.infobox.org): [FAIL]
Lookup IP address information (ns3.infobox.org): [FAIL]
IP address: [FAIL]
Error: IP address not found
Troubleshooting finished.
ue Dec 12 12:03:16 2017] [warn] RSA server certificate CommonName (CN) `ludacha.ru' does NOT match server name!?
[Tue Dec 12 12:03:16 2017] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Tue Dec 12 12:03:16 2017] [emerg] (28)No space left on device: mod_fcgid: Can't create shared memory for size 1167812 bytes
[Tue Dec 12 12:03:22 2017] [warn] RSA server certificate CommonName (CN) `ludacha.ru' does NOT match server name!?
[Tue Dec 12 12:03:22 2017] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Tue Dec 12 12:03:22 2017] [emerg] (28)No space left on device: mod_fcgid: Can't create shared memory for size 1167812 bytes
[Tue Dec 12 12:49:03 2017] [warn] RSA server certificate CommonName (CN) `ludacha.ru' does NOT match server name!?
[Tue Dec 12 12:49:03 2017] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Tue Dec 12 12:49:05 2017] [warn] RSA server certificate CommonName (CN) `ludacha.ru' does NOT match server name!?
[Tue Dec 12 12:49:05 2017] [notice] Apache/2.2.16 (Debian) mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze19 with Suhosin-Patch mod_ssl/2.2.16 OpenSSL/0.9.8o configured -- resuming normal operations
[Tue Dec 12 13:32:33 2017] [error] [client 173.242.120.213] (2)No such file or directory: Timeout connecting daemon
[Tue Dec 12 13:41:00 2017] [error] [client 212.47.244.68] (13)Permission denied: cannot read directory for multi: /var/www/ludacha/
[Tue Dec 12 13:41:00 2017] [error] [client 212.47.244.68] (13)Permission denied: cannot read directory for multi: /var/www/ludacha/
[Tue Dec 12 13:41:00 2017] [error] [client 212.47.244.68] (13)Permission denied: cannot read directory for multi: /var/www/ludacha/
[Tue Dec 12 13:41:00 2017] [error] [client 212.47.244.68] (13)Permission denied: cannot read directory for multi: /var/www/ludacha/
[Tue Dec 12 13:41:00 2017] [error] [client 212.47.244.68] (13)Permission denied: cannot read directory for multi: /var/www/ludacha/
[Tue Dec 12 13:41:00 2017] [error] [client 212.47.244.68] (13)Permission denied: cannot read directory for multi: /var/www/ludacha/
[Tue Dec 12 13:41:00 2017] [crit] [client 212.47.244.68] (13)Permission denied: /var/www/httpd-cert/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 12 13:41:00 2017] [error] [client 212.47.244.68] (13)Permission denied: cannot read directory for multi: /var/www/httpd-logs/
[Tue Dec 12 13:41:00 2017] [error] [client 212.47.244.68] (13)Permission denied: cannot read directory for multi: /var/www/httpd-logs/
[Tue Dec 12 13:41:00 2017] [error] [client 212.47.244.68] (13)Permission denied: cannot read directory for multi: /var/www/httpd-logs/
[Tue Dec 12 13:41:00 2017] [error] [client 212.47.244.68] (13)Permission denied: cannot read directory for multi: /var/www/httpd-logs/
[Tue Dec 12 13:41:00 2017] [error] [client 212.47.244.68] (13)Permission denied: cannot read directory for multi: /var/www/httpd-logs/
[Tue Dec 12 13:41:00 2017] [error] [client 212.47.244.68] (13)Permission denied: cannot read directory for multi: /var/www/httpd-logs/
[Tue Dec 12 13:41:00 2017] [error] [client 212.47.244.68] (13)Permission denied: cannot read directory for multi: /var/www/php-bin/
[Tue Dec 12 13:41:00 2017] [error] [client 212.47.244.68] (13)Permission denied: cannot read directory for multi: /var/www/php-bin/
[Tue Dec 12 13:41:00 2017] [error] [client 212.47.244.68] (13)Permission denied: cannot read directory for multi: /var/www/php-bin/
[Tue Dec 12 13:41:00 2017] [error] [client 212.47.244.68] (13)Permission denied: cannot read directory for multi: /var/www/php-bin/
[Tue Dec 12 13:41:00 2017] [error] [client 212.47.244.68] (13)Permission denied: cannot read directory for multi: /var/www/php-bin/
[Tue Dec 12 13:41:00 2017] [error] [client 212.47.244.68] (13)Permission denied: cannot read directory for multi: /var/www/php-bin/
[Tue Dec 12 13:47:06 2017] [error] [client 207.46.13.52] File does not exist: /etc/apache2/htdocs
[Mon Dec 11 00:01:02 2017] [error] [client 141.8.132.35] File does not exist: /etc/apache2/htdocs
[Mon Dec 11 00:01:06 2017] [error] [client 141.8.132.35] File does not exist: /etc/apache2/htdocs
[Mon Dec 11 00:43:54 2017] [error] [client 181.48.9.82] File does not exist: /etc/apache2/htdocs
[Mon Dec 11 05:56:51 2017] [error] [client 207.46.13.128] File does not exist: /etc/apache2/htdocs
[Mon Dec 11 08:01:49 2017] [error] [client 157.55.39.22] File does not exist: /etc/apache2/htdocs
[Mon Dec 11 08:01:51 2017] [error] [client 157.55.39.22] File does not exist: /etc/apache2/htdocs
[Mon Dec 11 08:10:17 2017] [error] [client 40.77.167.42] File does not exist: /etc/apache2/htdocs
[Mon Dec 11 09:26:31 2017] [error] [client 139.162.116.133] File does not exist: /etc/apache2/htdocs
[Mon Dec 11 11:14:49 2017] [error] [client 157.55.39.95] File does not exist: /etc/apache2/htdocs
[Mon Dec 11 11:19:58 2017] [error] [client 207.46.13.128] File does not exist: /etc/apache2/htdocs
[Mon Dec 11 14:22:52 2017] [error] [client 164.52.7.131] File does not exist: /etc/apache2/htdocs
[Mon Dec 11 14:47:24 2017] [notice] Graceful restart requested, doing restart
[Mon Dec 11 14:47:28 2017] [warn] RSA server certificate CommonName (CN) `ludacha.ru' does NOT match server name!?
[Mon Dec 11 14:47:28 2017] [notice] Apache/2.2.16 (Debian) mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze19 with Suhosin-Patch mod_ssl/2.2.16 OpenSSL/0.9.8o configured -- resuming normal operations
[Mon Dec 11 14:48:30 2017] [notice] Graceful restart requested, doing restart
[Mon Dec 11 14:48:31 2017] [warn] RSA server certificate CommonName (CN) `ludacha.ru' does NOT match server name!?
[Mon Dec 11 14:48:31 2017] [notice] Apache/2.2.16 (Debian) mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze19 with Suhosin-Patch mod_ssl/2.2.16 OpenSSL/0.9.8o configured -- resuming normal operations
[Mon Dec 11 14:54:57 2017] [notice] caught SIGTERM, shutting down
[Mon Dec 11 14:56:03 2017] [warn] RSA server certificate CommonName (CN) `ludacha.ru' does NOT match server name!?
[Mon Dec 11 14:56:03 2017] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Dec 11 14:56:09 2017] [warn] RSA server certificate CommonName (CN) `ludacha.ru' does NOT match server name!?
[Mon Dec 11 14:56:09 2017] [notice] Apache/2.2.16 (Debian) mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze19 with Suhosin-Patch mod_ssl/2.2.16 OpenSSL/0.9.8o configured -- resuming normal operations
[Mon Dec 11 14:57:00 2017] [error] [client 95.161.153.62] File does not exist: /etc/apache2/htdocs
[Mon Dec 11 14:57:01 2017] [error] [client 95.161.153.62] File does not exist: /etc/apache2/htdocs, referer: https://109.120.136.198/var/www/ludacha/data/www/ludacha.com
[Mon Dec 11 14:57:05 2017] [error] [client 95.161.153.62] File does not exist: /etc/apache2/htdocs
[Mon Dec 11 15:21:15 2017] [notice] caught SIGTERM, shutting down
[Mon Dec 11 15:21:16 2017] [warn] RSA server certificate CommonName (CN) `ludacha.ru' does NOT match server name!?
[Mon Dec 11 15:21:16 2017] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Dec 11 15:21:17 2017] [warn] RSA server certificate CommonName (CN) `ludacha.ru' does NOT match server name!?
[Mon Dec 11 15:21:17 2017] [notice] Apache/2.2.16 (Debian) mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze19 with Suhosin-Patch mod_ssl/2.2.16 OpenSSL/0.9.8o configured -- resuming normal operations