Re: Как увеличить объем импорта базы
Posted: Sun Jan 19, 2014 3:49 pm
Проверю
Community Forum
https://forum.vestacp.com/
Code: Select all
upload_max_filesize 10M
post_max_size 15M
Code: Select all
Операция импорта невозможна. Причины: не выбран импортируемый файл; размер импортируемого файла превышает максимально допустимый, заданный в настройках PHP. Смотрите FAQ 1.16.
Code: Select all
Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3 x86_64
Code: Select all
upload_max_filesize 15M
post_max_size 15M
Code: Select all
/etc/init.d/apache2 restart
Code: Select all
/var/lib/phpmyadmin/
Code: Select all
client_max_body_size
Code: Select all
/etc/nginx/nginx.conf
Code: Select all
/var/log/nginx/error.log
Code: Select all
upload_max_filesize 15M
post_max_size 15M
Какие права стоят на папку tmp
Code: Select all
drwxrwxrwx 3 root root 4096 Июн 26 20:50 tmp
Code: Select all
; upload_tmp_dir =
Там было указано 100МПопробуйте в nginx.conf
увеличить значение параметра до 100
Он пустой.И на всякий случай покажите логи ошибок nginx
Code: Select all
max_file_uploads
Снимите комментарийЭто права на /tmp/
В php.ini строка с tmp директорией закомментирована
; upload_tmp_dir =
Code: Select all
max_file_uploads = 20
Code: Select all
file_uploads = On
Code: Select all
[Sun Jun 22 06:25:03 2014] [notice] mod_ruid2/0.9.7 enabled
[Sun Jun 22 06:25:03 2014] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 PHP/5.4.4-14+deb7u11 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations
[Wed Jun 25 13:37:13 2014] [notice] Graceful restart requested, doing restart
[Wed Jun 25 13:37:13 2014] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Wed Jun 25 13:37:13 2014] [warn] NameVirtualHost 192.168.14.6:8443 has no VirtualHosts
[Wed Jun 25 13:37:13 2014] [notice] mod_ruid2/0.9.7 enabled
[Wed Jun 25 13:37:13 2014] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 PHP/5.4.4-14+deb7u11 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations
[Wed Jun 25 13:38:33 2014] [notice] Graceful restart requested, doing restart
[Wed Jun 25 13:38:33 2014] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Wed Jun 25 13:38:33 2014] [warn] NameVirtualHost 192.168.14.6:8443 has no VirtualHosts
[Wed Jun 25 13:38:33 2014] [notice] mod_ruid2/0.9.7 enabled
[Wed Jun 25 13:38:33 2014] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 PHP/5.4.4-14+deb7u11 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations
[Wed Jun 25 13:38:44 2014] [notice] Graceful restart requested, doing restart
[Wed Jun 25 13:38:44 2014] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Wed Jun 25 13:38:44 2014] [warn] NameVirtualHost 192.168.14.6:8443 has no VirtualHosts
[Wed Jun 25 13:38:44 2014] [notice] mod_ruid2/0.9.7 enabled
[Wed Jun 25 13:38:44 2014] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 PHP/5.4.4-14+deb7u11 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations
[Thu Jun 26 18:37:34 2014] [notice] Graceful restart requested, doing restart
[Thu Jun 26 18:37:34 2014] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Thu Jun 26 18:37:34 2014] [warn] NameVirtualHost 192.168.14.6:8443 has no VirtualHosts
[Thu Jun 26 18:37:34 2014] [notice] mod_ruid2/0.9.7 enabled
[Thu Jun 26 18:37:34 2014] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 PHP/5.4.4-14+deb7u11 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations
[Thu Jun 26 19:37:42 2014] [notice] Graceful restart requested, doing restart
[Thu Jun 26 19:37:42 2014] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Thu Jun 26 19:37:42 2014] [warn] NameVirtualHost 192.168.14.6:8443 has no VirtualHosts
[Thu Jun 26 19:37:42 2014] [notice] mod_ruid2/0.9.7 enabled
[Thu Jun 26 19:37:42 2014] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 PHP/5.4.4-14+deb7u11 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations
[Thu Jun 26 19:37:42 2014] [notice] Graceful restart requested, doing restart
[Thu Jun 26 19:37:42 2014] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Thu Jun 26 19:37:42 2014] [warn] NameVirtualHost 192.168.14.6:8443 has no VirtualHosts
[Thu Jun 26 19:37:42 2014] [notice] mod_ruid2/0.9.7 enabled
[Thu Jun 26 19:37:42 2014] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 PHP/5.4.4-14+deb7u11 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations
[Thu Jun 26 19:41:35 2014] [notice] Graceful restart requested, doing restart
[Thu Jun 26 19:41:35 2014] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Thu Jun 26 19:41:35 2014] [warn] NameVirtualHost 192.168.14.6:8443 has no VirtualHosts
[Thu Jun 26 19:41:35 2014] [notice] mod_ruid2/0.9.7 enabled
[Thu Jun 26 19:41:35 2014] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 PHP/5.4.4-14+deb7u11 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations
[Thu Jun 26 19:59:36 2014] [notice] caught SIGTERM, shutting down
[Thu Jun 26 19:59:41 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Jun 26 19:59:41 2014] [notice] mod_ruid2/0.9.7 enabled
[Thu Jun 26 19:59:41 2014] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 PHP/5.4.4-14+deb7u11 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations
[Thu Jun 26 20:50:34 2014] [notice] caught SIGTERM, shutting down
[Thu Jun 26 20:50:35 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Jun 26 20:50:35 2014] [notice] mod_ruid2/0.9.7 enabled
[Thu Jun 26 20:50:35 2014] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 PHP/5.4.4-14+deb7u11 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations
[Thu Jun 26 20:55:44 2014] [notice] caught SIGTERM, shutting down
[Thu Jun 26 20:55:45 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Jun 26 20:55:45 2014] [notice] mod_ruid2/0.9.7 enabled
[Thu Jun 26 20:55:45 2014] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 PHP/5.4.4-14+deb7u11 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations
[Thu Jun 26 20:59:03 2014] [notice] caught SIGTERM, shutting down
[Thu Jun 26 20:59:04 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Jun 26 20:59:04 2014] [notice] mod_ruid2/0.9.7 enabled
[Thu Jun 26 20:59:04 2014] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 PHP/5.4.4-14+deb7u11 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations
я умею через ssh импортировать, просто думал может где то ошибка в Весте на Debianе, как один раз уже я находил с фтп сервером. Очень жаль, что у нас не получилось починить данную проблему.Можно ещё конечно попробовать вариант с внутренним каталогом.
Я не про ssh :-)Можно ещё конечно попробовать вариант с внутренним каталогом.
я умею через ssh импортировать
Code: Select all
$cfg['UploadDir'] = './upload';