core icon indicating copy to clipboard operation
core copied to clipboard

config.php is reset

Open jGleitz opened this issue 11 years ago • 59 comments

Steps to reproduce

I don't know :(

Expected behaviour

The config/config.php is never changed unless I explicetly tell ownCloud to do so.

Actual behaviour

From time to time, the config/config.php file is reset to a kind of "default" form (with very few settings, setting a SQLite database as database). This happens about once a week. This causes my cloud to be not reachable for users very often, which is a shame. Plus, I have security concerns about this behaviour.

Server configuration

Operating system: Ubuntu Server 14.04 File system: vzfs Web server: Apache Database: MySQL PHP version: 5.5.9 - XDebug not (yet) installed ownCloud version: 7.0.4 Updated from an older ownCloud or fresh install: updated (from the repository) List of activated apps:

The content of config/config.php:

$CONFIG = array (
  'instanceid' => 'oc6518b3fb5e',
  'passwordsalt' => 'salt',
  'trusted_domains' => 
  array (
    0 => 'joshuagleitze.de',
  ),
  'datadirectory' => '/var/www/owncloud/data',
  'dbtype' => 'mysql',
  'version' => '7.0.4.2',
  'dbname' => 'ownCloud',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'ownCloud',
  'dbpassword' => 'password',
  'overwrite.cli.url' => 'http://joshuagleitze.de/owncloud',
  'installed' => true,
  'skeletondirectory' => '',
  'log_rotate_size' => '838860800',
  'theme' => '',
  'maintenance' => false,
  'secret' => 'secret',
);

Are you using external storage, if yes which one: local/smb/sftp/... no Are you using encryption: no

Client configuration

Unimportant

Logs

Web server error log

[Wed Dec 10 22:47:57.481871 2014] [:error] [pid 14057] [client 84.162.13.99:58649] PHP Fatal error:  Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (UTC)' in /var/www/owncloud/lib/private/log/owncloud.php:69\nStack trace:\n#0 /var/www/owncloud/lib/private/log/owncloud.php(69): DateTimeZone->__construct('UTC')\n#1 [internal function]: OC_Log_Owncloud::write('PHP', 'DateTimeZone::_...', 3)\n#2 /var/www/owncloud/lib/private/log.php(157): call_user_func(Array, 'PHP', 'DateTimeZone::_...', 3)\n#3 /var/www/owncloud/lib/private/log.php(74): OC\\Log->log(3, 'DateTimeZone::_...', Array)\n#4 /var/www/owncloud/lib/private/log/errorhandler.php(48): OC\\Log->critical('DateTimeZone::_...', Array)\n#5 [internal function]: OC\\Log\\ErrorHandler->onShutdown()\n#6 {main}\n  thrown in /var/www/owncloud/lib/private/log/owncloud.php on line 69, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:47:57.501611 2014] [:error] [pid 14002] [client 84.162.13.99:58645] PHP Fatal error:  Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (UTC)' in /var/www/owncloud/lib/private/log/owncloud.php:69\nStack trace:\n#0 /var/www/owncloud/lib/private/log/owncloud.php(69): DateTimeZone->__construct('UTC')\n#1 [internal function]: OC_Log_Owncloud::write('PHP', 'DateTimeZone::_...', 3)\n#2 /var/www/owncloud/lib/private/log.php(157): call_user_func(Array, 'PHP', 'DateTimeZone::_...', 3)\n#3 /var/www/owncloud/lib/private/log.php(74): OC\\Log->log(3, 'DateTimeZone::_...', Array)\n#4 /var/www/owncloud/lib/private/log/errorhandler.php(55): OC\\Log->critical('DateTimeZone::_...', Array)\n#5 [internal function]: OC\\Log\\ErrorHandler->onException(Object(Exception))\n#6 {main}\n  thrown in /var/www/owncloud/lib/private/log/owncloud.php on line 69, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:47:57.502010 2014] [:error] [pid 14002] [client 84.162.13.99:58645] PHP Fatal error:  Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (UTC)' in /var/www/owncloud/lib/private/log/owncloud.php:69\nStack trace:\n#0 /var/www/owncloud/lib/private/log/owncloud.php(69): DateTimeZone->__construct('UTC')\n#1 [internal function]: OC_Log_Owncloud::write('PHP', 'Uncaught except...', 3)\n#2 /var/www/owncloud/lib/private/log.php(157): call_user_func(Array, 'PHP', 'Uncaught except...', 3)\n#3 /var/www/owncloud/lib/private/log.php(74): OC\\Log->log(3, 'Uncaught except...', Array)\n#4 /var/www/owncloud/lib/private/log/errorhandler.php(48): OC\\Log->critical('Uncaught except...', Array)\n#5 [internal function]: OC\\Log\\ErrorHandler->onShutdown()\n#6 {main}\n  thrown in /var/www/owncloud/lib/private/log/owncloud.php on line 69, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:47:57.506621 2014] [:error] [pid 13909] [client 84.162.13.99:58646] PHP Fatal error:  Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (UTC)' in /var/www/owncloud/lib/private/log/owncloud.php:69\nStack trace:\n#0 /var/www/owncloud/lib/private/log/owncloud.php(69): DateTimeZone->__construct('UTC')\n#1 [internal function]: OC_Log_Owncloud::write('PHP', 'DateTimeZone::_...', 3)\n#2 /var/www/owncloud/lib/private/log.php(157): call_user_func(Array, 'PHP', 'DateTimeZone::_...', 3)\n#3 /var/www/owncloud/lib/private/log.php(74): OC\\Log->log(3, 'DateTimeZone::_...', Array)\n#4 /var/www/owncloud/lib/private/log/errorhandler.php(55): OC\\Log->critical('DateTimeZone::_...', Array)\n#5 [internal function]: OC\\Log\\ErrorHandler->onException(Object(Exception))\n#6 {main}\n  thrown in /var/www/owncloud/lib/private/log/owncloud.php on line 69, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:47:57.506980 2014] [:error] [pid 13909] [client 84.162.13.99:58646] PHP Fatal error:  Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (UTC)' in /var/www/owncloud/lib/private/log/owncloud.php:69\nStack trace:\n#0 /var/www/owncloud/lib/private/log/owncloud.php(69): DateTimeZone->__construct('UTC')\n#1 [internal function]: OC_Log_Owncloud::write('PHP', 'Uncaught except...', 3)\n#2 /var/www/owncloud/lib/private/log.php(157): call_user_func(Array, 'PHP', 'Uncaught except...', 3)\n#3 /var/www/owncloud/lib/private/log.php(74): OC\\Log->log(3, 'Uncaught except...', Array)\n#4 /var/www/owncloud/lib/private/log/errorhandler.php(48): OC\\Log->critical('Uncaught except...', Array)\n#5 [internal function]: OC\\Log\\ErrorHandler->onShutdown()\n#6 {main}\n  thrown in /var/www/owncloud/lib/private/log/owncloud.php on line 69, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
[Wed Dec 10 22:48:08.377016 2014] [:error] [pid 14051] [client 84.162.13.99:58648] PHP Warning:  include(/var/www/owncloud/config/config.php): failed to open stream: Too many open files in system in /var/www/owncloud/lib/private/config.php on line 154, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:08.377098 2014] [:error] [pid 14051] [client 84.162.13.99:58648] PHP Warning:  include(): Failed opening '/var/www/owncloud/config/config.php' for inclusion (include_path='/var/www/owncloud/lib:.:/usr/share/php:/usr/share/pear') in /var/www/owncloud/lib/private/config.php on line 154, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
[Wed Dec 10 22:48:08.488596 2014] [access_compat:error] [pid 14057] [client 127.0.0.1:53936] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Wed Dec 10 22:48:08.860355 2014] [:error] [pid 14057] [client 127.0.0.1:34790] {"app":"PHP","message":"require_once(\\/var\\/www\\/owncloud\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/Driver\\/PDOStatement.php): failed to open stream: Too many open files in system at \\/var\\/www\\/owncloud\\/lib\\/autoloader.php#142","level":3,"time":"2014-12-10T21:48:08+00:00"}
[Wed Dec 10 22:48:08.860414 2014] [:error] [pid 14057] [client 127.0.0.1:34790] PHP Fatal error:  require_once(): Failed opening required '/var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php' (include_path='/var/www/owncloud/3rdparty/phpseclib/phpseclib/phpseclib:/var/www/owncloud/lib/private:/var/www/owncloud/config:/var/www/owncloud/3rdparty:/var/www/owncloud/apps:/var/www/owncloud/lib:.:/usr/share/php:/usr/share/pear:/var/www/owncloud') in /var/www/owncloud/lib/autoloader.php on line 142
[Wed Dec 10 22:48:08.860562 2014] [:error] [pid 14057] [client 127.0.0.1:34790] {"app":"PHP","message":"require_once(): Failed opening required '\\/var\\/www\\/owncloud\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/Driver\\/PDOStatement.php' (include_path='\\/var\\/www\\/owncloud\\/3rdparty\\/phpseclib\\/phpseclib\\/phpseclib:\\/var\\/www\\/owncloud\\/lib\\/private:\\/var\\/www\\/owncloud\\/config:\\/var\\/www\\/owncloud\\/3rdparty:\\/var\\/www\\/owncloud\\/apps:\\/var\\/www\\/owncloud\\/lib:.:\\/usr\\/share\\/php:\\/usr\\/share\\/pear:\\/var\\/www\\/owncloud') at \\/var\\/www\\/owncloud\\/lib\\/autoloader.php#142","level":3,"time":"2014-12-10T21:48:08+00:00"}
[Wed Dec 10 22:48:09.062325 2014] [access_compat:error] [pid 14057] [client 127.0.0.1:53938] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Wed Dec 10 22:48:09.130404 2014] [:error] [pid 14112] [client 127.0.0.1:34792] PHP Warning:  require_once(/var/www/owncloud/3rdparty/autoload.php): failed to open stream: Too many open files in system in /var/www/owncloud/lib/base.php on line 484
[Wed Dec 10 22:48:09.130474 2014] [:error] [pid 14112] [client 127.0.0.1:34792] PHP Fatal error:  require_once(): Failed opening required '/var/www/owncloud/3rdparty/autoload.php' (include_path='/var/www/owncloud/lib/private:/var/www/owncloud/config:/var/www/owncloud/3rdparty:/var/www/owncloud/apps:/var/www/owncloud/lib:.:/usr/share/php:/usr/share/pear:/var/www/owncloud') in /var/www/owncloud/lib/base.php on line 484
[Wed Dec 10 22:48:09.132125 2014] [:error] [pid 14051] [client 84.162.13.99:58648] {"app":"PHP","message":"require_once(\\/var\\/www\\/owncloud\\/lib\\/private\\/template.php): failed to open stream: Too many open files in system at \\/var\\/www\\/owncloud\\/lib\\/autoloader.php#142","level":3,"time":"2014-12-10T21:48:09+00:00"}, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:09.132174 2014] [:error] [pid 14051] [client 84.162.13.99:58648] PHP Fatal error:  require_once(): Failed opening required '/var/www/owncloud/lib/private/template.php' (include_path='/var/www/owncloud/3rdparty/phpseclib/phpseclib/phpseclib:/var/www/owncloud/lib/private:/var/www/owncloud/config:/var/www/owncloud/3rdparty:/var/www/owncloud/apps:/var/www/owncloud/lib:.:/usr/share/php:/usr/share/pear:/var/www/owncloud') in /var/www/owncloud/lib/autoloader.php on line 142, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:09.132313 2014] [:error] [pid 14051] [client 84.162.13.99:58648] {"app":"PHP","message":"require_once(): Failed opening required '\\/var\\/www\\/owncloud\\/lib\\/private\\/template.php' (include_path='\\/var\\/www\\/owncloud\\/3rdparty\\/phpseclib\\/phpseclib\\/phpseclib:\\/var\\/www\\/owncloud\\/lib\\/private:\\/var\\/www\\/owncloud\\/config:\\/var\\/www\\/owncloud\\/3rdparty:\\/var\\/www\\/owncloud\\/apps:\\/var\\/www\\/owncloud\\/lib:.:\\/usr\\/share\\/php:\\/usr\\/share\\/pear:\\/var\\/www\\/owncloud') at \\/var\\/www\\/owncloud\\/lib\\/autoloader.php#142","level":3,"time":"2014-12-10T21:48:09+00:00"}, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:09.223346 2014] [:error] [pid 14057] [client 79.219.99.88:57897] PHP Warning:  include(/var/www/owncloud/config/config.php): failed to open stream: Too many open files in system in /var/www/owncloud/lib/private/config.php on line 154
[Wed Dec 10 22:48:09.223385 2014] [:error] [pid 14057] [client 79.219.99.88:57897] PHP Warning:  include(): Failed opening '/var/www/owncloud/config/config.php' for inclusion (include_path='/var/www/owncloud/lib:.:/usr/share/php:/usr/share/pear') in /var/www/owncloud/lib/private/config.php on line 154
[Wed Dec 10 22:48:09.225776 2014] [core:crit] [pid 14112] (23)Too many open files in system: [client 84.162.13.99:58654] AH00529: /var/www/owncloud/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/owncloud/' is executable, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:09.240675 2014] [:error] [pid 14057] [client 79.219.99.88:57897] PHP Warning:  Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (UTC)' in /var/www/owncloud/lib/private/log/owncloud.php:69\nStack trace:\n#0 /var/www/owncloud/lib/private/log/owncloud.php(69): DateTimeZone->__construct('UTC')\n#1 [internal function]: OC_Log_Owncloud::write('PHP', 'require_once(/v...', 3)\n#2 /var/www/owncloud/lib/private/log.php(157): call_user_func(Array, 'PHP', 'require_once(/v...', 3)\n#3 /var/www/owncloud/lib/private/log.php(85): OC\\Log->log(3, 'require_once(/v...', Array)\n#4 /var/www/owncloud/lib/private/log/errorhandler.php(64): OC\\Log->error('require_once(/v...', Array)\n#5 /var/www/owncloud/lib/autoloader.php(142): OC\\Log\\ErrorHandler->onError(2, 'require_once(/v...', '/var/www/ownclo...', 142, Array)\n#6 /var/www/owncloud/lib/autoloader.php(142): OC\\Autoloader::load()\n#7 [internal function]: OC\\Autoloader->load('OC_L10N')\n#8 /var/www/owncloud/lib/base.php(190): spl_autoload_call('OC_L10N')\n#9 /var/www/owncloud/lib/base.php(514): OC::checkConfig()\n#10 /var/ in /var/www/owncloud/lib/private/log/owncloud.php on line 69
[Wed Dec 10 22:48:09.240714 2014] [:error] [pid 14057] [client 79.219.99.88:57897] PHP Fatal error:  OC\\Autoloader::load(): Failed opening required '/var/www/owncloud/lib/private/l10n.php' (include_path='/var/www/owncloud/3rdparty/phpseclib/phpseclib/phpseclib:/var/www/owncloud/lib/private:/var/www/owncloud/config:/var/www/owncloud/3rdparty:/var/www/owncloud/apps:/var/www/owncloud/lib:.:/usr/share/php:/usr/share/pear:/var/www/owncloud') in /var/www/owncloud/lib/autoloader.php on line 142
[Wed Dec 10 22:48:09.240877 2014] [:error] [pid 14057] [client 79.219.99.88:57897] PHP Fatal error:  Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (UTC)' in /var/www/owncloud/lib/private/log/owncloud.php:69\nStack trace:\n#0 /var/www/owncloud/lib/private/log/owncloud.php(69): DateTimeZone->__construct('UTC')\n#1 [internal function]: OC_Log_Owncloud::write('PHP', 'OC\\Autoloader::...', 3)\n#2 /var/www/owncloud/lib/private/log.php(157): call_user_func(Array, 'PHP', 'OC\\Autoloader::...', 3)\n#3 /var/www/owncloud/lib/private/log.php(74): OC\\Log->log(3, 'OC\\Autoloader::...', Array)\n#4 /var/www/owncloud/lib/private/log/errorhandler.php(48): OC\\Log->critical('OC\\Autoloader::...', Array)\n#5 [internal function]: OC\\Log\\ErrorHandler->onShutdown()\n#6 {main}\n  thrown in /var/www/owncloud/lib/private/log/owncloud.php on line 69
[Wed Dec 10 22:48:09.258683 2014] [:error] [pid 14112] [client 84.162.13.99:58654] PHP Warning:  include(/var/www/owncloud/config/config.php): failed to open stream: Too many open files in system in /var/www/owncloud/lib/private/config.php on line 154, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:09.258722 2014] [:error] [pid 14112] [client 84.162.13.99:58654] PHP Warning:  include(): Failed opening '/var/www/owncloud/config/config.php' for inclusion (include_path='/var/www/owncloud/lib:.:/usr/share/php:/usr/share/pear') in /var/www/owncloud/lib/private/config.php on line 154, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:09.386847 2014] [core:crit] [pid 14051] (23)Too many open files in system: [client 127.0.0.1:53940] AH00529: /var/www/owncloud/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/owncloud/' is executable
[Wed Dec 10 22:48:09.424425 2014] [:error] [pid 14112] [client 84.162.13.99:58654] {"app":"PHP","message":"require_once(\\/var\\/www\\/owncloud\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/Driver\\/PDOStatement.php): failed to open stream: Too many open files in system at \\/var\\/www\\/owncloud\\/lib\\/autoloader.php#142","level":3,"time":"2014-12-10T21:48:09+00:00"}, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:09.424515 2014] [:error] [pid 14112] [client 84.162.13.99:58654] PHP Fatal error:  require_once(): Failed opening required '/var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php' (include_path='/var/www/owncloud/3rdparty/phpseclib/phpseclib/phpseclib:/var/www/owncloud/lib/private:/var/www/owncloud/config:/var/www/owncloud/3rdparty:/var/www/owncloud/apps:/var/www/owncloud/lib:.:/usr/share/php:/usr/share/pear:/var/www/owncloud') in /var/www/owncloud/lib/autoloader.php on line 142, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:09.424675 2014] [:error] [pid 14112] [client 84.162.13.99:58654] {"app":"PHP","message":"require_once(): Failed opening required '\\/var\\/www\\/owncloud\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/Driver\\/PDOStatement.php' (include_path='\\/var\\/www\\/owncloud\\/3rdparty\\/phpseclib\\/phpseclib\\/phpseclib:\\/var\\/www\\/owncloud\\/lib\\/private:\\/var\\/www\\/owncloud\\/config:\\/var\\/www\\/owncloud\\/3rdparty:\\/var\\/www\\/owncloud\\/apps:\\/var\\/www\\/owncloud\\/lib:.:\\/usr\\/share\\/php:\\/usr\\/share\\/pear:\\/var\\/www\\/owncloud') at \\/var\\/www\\/owncloud\\/lib\\/autoloader.php#142","level":3,"time":"2014-12-10T21:48:09+00:00"}, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:09.652847 2014] [core:crit] [pid 14057] (23)Too many open files in system: [client 127.0.0.1:53941] AH00529: /var/www/owncloud/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/owncloud/' is executable
[Wed Dec 10 22:48:09.684389 2014] [:error] [pid 14056] [client 84.162.13.99:58655] {"app":"PHP","message":"require_once(\\/var\\/www\\/owncloud\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/Driver\\/PDOStatement.php): failed to open stream: Too many open files in system at \\/var\\/www\\/owncloud\\/lib\\/autoloader.php#142","level":3,"time":"2014-12-10T21:48:09+00:00"}, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:09.684453 2014] [:error] [pid 14056] [client 84.162.13.99:58655] PHP Fatal error:  require_once(): Failed opening required '/var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php' (include_path='/var/www/owncloud/3rdparty/phpseclib/phpseclib/phpseclib:/var/www/owncloud/lib/private:/var/www/owncloud/config:/var/www/owncloud/3rdparty:/var/www/owncloud/apps:/var/www/owncloud/lib:.:/usr/share/php:/usr/share/pear:/var/www/owncloud') in /var/www/owncloud/lib/autoloader.php on line 142, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:09.684599 2014] [:error] [pid 14056] [client 84.162.13.99:58655] {"app":"PHP","message":"require_once(): Failed opening required '\\/var\\/www\\/owncloud\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/Driver\\/PDOStatement.php' (include_path='\\/var\\/www\\/owncloud\\/3rdparty\\/phpseclib\\/phpseclib\\/phpseclib:\\/var\\/www\\/owncloud\\/lib\\/private:\\/var\\/www\\/owncloud\\/config:\\/var\\/www\\/owncloud\\/3rdparty:\\/var\\/www\\/owncloud\\/apps:\\/var\\/www\\/owncloud\\/lib:.:\\/usr\\/share\\/php:\\/usr\\/share\\/pear:\\/var\\/www\\/owncloud') at \\/var\\/www\\/owncloud\\/lib\\/autoloader.php#142","level":3,"time":"2014-12-10T21:48:09+00:00"}, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:09.903840 2014] [core:crit] [pid 14112] (23)Too many open files in system: [client 127.0.0.1:53942] AH00529: /var/www/owncloud/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/owncloud/' is executable
[Wed Dec 10 22:48:09.936867 2014] [:error] [pid 14051] [client 84.162.13.99:58656] {"app":"PHP","message":"require_once(\\/var\\/www\\/owncloud\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/Driver\\/PDOStatement.php): failed to open stream: Too many open files in system at \\/var\\/www\\/owncloud\\/lib\\/autoloader.php#142","level":3,"time":"2014-12-10T21:48:09+00:00"}, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:09.936922 2014] [:error] [pid 14051] [client 84.162.13.99:58656] PHP Fatal error:  require_once(): Failed opening required '/var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php' (include_path='/var/www/owncloud/3rdparty/phpseclib/phpseclib/phpseclib:/var/www/owncloud/lib/private:/var/www/owncloud/config:/var/www/owncloud/3rdparty:/var/www/owncloud/apps:/var/www/owncloud/lib:.:/usr/share/php:/usr/share/pear:/var/www/owncloud') in /var/www/owncloud/lib/autoloader.php on line 142, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:09.937099 2014] [:error] [pid 14051] [client 84.162.13.99:58656] {"app":"PHP","message":"require_once(): Failed opening required '\\/var\\/www\\/owncloud\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/Driver\\/PDOStatement.php' (include_path='\\/var\\/www\\/owncloud\\/3rdparty\\/phpseclib\\/phpseclib\\/phpseclib:\\/var\\/www\\/owncloud\\/lib\\/private:\\/var\\/www\\/owncloud\\/config:\\/var\\/www\\/owncloud\\/3rdparty:\\/var\\/www\\/owncloud\\/apps:\\/var\\/www\\/owncloud\\/lib:.:\\/usr\\/share\\/php:\\/usr\\/share\\/pear:\\/var\\/www\\/owncloud') at \\/var\\/www\\/owncloud\\/lib\\/autoloader.php#142","level":3,"time":"2014-12-10T21:48:09+00:00"}, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:10.159852 2014] [core:crit] [pid 14056] (23)Too many open files in system: [client 127.0.0.1:53943] AH00529: /var/www/owncloud/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/owncloud/' is executable
[Wed Dec 10 22:48:10.191464 2014] [:error] [pid 14057] [client 84.162.13.99:58657] {"app":"PHP","message":"require_once(\\/var\\/www\\/owncloud\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/Driver\\/PDOStatement.php): failed to open stream: Too many open files in system at \\/var\\/www\\/owncloud\\/lib\\/autoloader.php#142","level":3,"time":"2014-12-10T21:48:10+00:00"}, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:10.191525 2014] [:error] [pid 14057] [client 84.162.13.99:58657] PHP Fatal error:  require_once(): Failed opening required '/var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php' (include_path='/var/www/owncloud/3rdparty/phpseclib/phpseclib/phpseclib:/var/www/owncloud/lib/private:/var/www/owncloud/config:/var/www/owncloud/3rdparty:/var/www/owncloud/apps:/var/www/owncloud/lib:.:/usr/share/php:/usr/share/pear:/var/www/owncloud') in /var/www/owncloud/lib/autoloader.php on line 142, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:10.191708 2014] [:error] [pid 14057] [client 84.162.13.99:58657] {"app":"PHP","message":"require_once(): Failed opening required '\\/var\\/www\\/owncloud\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/Driver\\/PDOStatement.php' (include_path='\\/var\\/www\\/owncloud\\/3rdparty\\/phpseclib\\/phpseclib\\/phpseclib:\\/var\\/www\\/owncloud\\/lib\\/private:\\/var\\/www\\/owncloud\\/config:\\/var\\/www\\/owncloud\\/3rdparty:\\/var\\/www\\/owncloud\\/apps:\\/var\\/www\\/owncloud\\/lib:.:\\/usr\\/share\\/php:\\/usr\\/share\\/pear:\\/var\\/www\\/owncloud') at \\/var\\/www\\/owncloud\\/lib\\/autoloader.php#142","level":3,"time":"2014-12-10T21:48:10+00:00"}, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:10.445868 2014] [core:crit] [pid 14051] (23)Too many open files in system: [client 127.0.0.1:53944] AH00529: /var/www/owncloud/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/owncloud/' is executable
[Wed Dec 10 22:48:10.480038 2014] [:error] [pid 14112] [client 84.162.13.99:58658] {"app":"PHP","message":"require_once(\\/var\\/www\\/owncloud\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/Driver\\/PDOStatement.php): failed to open stream: Too many open files in system at \\/var\\/www\\/owncloud\\/lib\\/autoloader.php#142","level":3,"time":"2014-12-10T21:48:10+00:00"}, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:10.480099 2014] [:error] [pid 14112] [client 84.162.13.99:58658] PHP Fatal error:  require_once(): Failed opening required '/var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php' (include_path='/var/www/owncloud/3rdparty/phpseclib/phpseclib/phpseclib:/var/www/owncloud/lib/private:/var/www/owncloud/config:/var/www/owncloud/3rdparty:/var/www/owncloud/apps:/var/www/owncloud/lib:.:/usr/share/php:/usr/share/pear:/var/www/owncloud') in /var/www/owncloud/lib/autoloader.php on line 142, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:10.480241 2014] [:error] [pid 14112] [client 84.162.13.99:58658] {"app":"PHP","message":"require_once(): Failed opening required '\\/var\\/www\\/owncloud\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/Driver\\/PDOStatement.php' (include_path='\\/var\\/www\\/owncloud\\/3rdparty\\/phpseclib\\/phpseclib\\/phpseclib:\\/var\\/www\\/owncloud\\/lib\\/private:\\/var\\/www\\/owncloud\\/config:\\/var\\/www\\/owncloud\\/3rdparty:\\/var\\/www\\/owncloud\\/apps:\\/var\\/www\\/owncloud\\/lib:.:\\/usr\\/share\\/php:\\/usr\\/share\\/pear:\\/var\\/www\\/owncloud') at \\/var\\/www\\/owncloud\\/lib\\/autoloader.php#142","level":3,"time":"2014-12-10T21:48:10+00:00"}, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:10.708853 2014] [core:crit] [pid 14057] (23)Too many open files in system: [client 127.0.0.1:53945] AH00529: /var/www/owncloud/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/owncloud/' is executable
[Wed Dec 10 22:48:10.738360 2014] [:error] [pid 14056] [client 84.162.13.99:58659] {"app":"PHP","message":"require_once(\\/var\\/www\\/owncloud\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/Driver\\/PDOStatement.php): failed to open stream: Too many open files in system at \\/var\\/www\\/owncloud\\/lib\\/autoloader.php#142","level":3,"time":"2014-12-10T21:48:10+00:00"}, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:10.738418 2014] [:error] [pid 14056] [client 84.162.13.99:58659] PHP Fatal error:  require_once(): Failed opening required '/var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php' (include_path='/var/www/owncloud/3rdparty/phpseclib/phpseclib/phpseclib:/var/www/owncloud/lib/private:/var/www/owncloud/config:/var/www/owncloud/3rdparty:/var/www/owncloud/apps:/var/www/owncloud/lib:.:/usr/share/php:/usr/share/pear:/var/www/owncloud') in /var/www/owncloud/lib/autoloader.php on line 142, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:10.738601 2014] [:error] [pid 14056] [client 84.162.13.99:58659] {"app":"PHP","message":"require_once(): Failed opening required '\\/var\\/www\\/owncloud\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/Driver\\/PDOStatement.php' (include_path='\\/var\\/www\\/owncloud\\/3rdparty\\/phpseclib\\/phpseclib\\/phpseclib:\\/var\\/www\\/owncloud\\/lib\\/private:\\/var\\/www\\/owncloud\\/config:\\/var\\/www\\/owncloud\\/3rdparty:\\/var\\/www\\/owncloud\\/apps:\\/var\\/www\\/owncloud\\/lib:.:\\/usr\\/share\\/php:\\/usr\\/share\\/pear:\\/var\\/www\\/owncloud') at \\/var\\/www\\/owncloud\\/lib\\/autoloader.php#142","level":3,"time":"2014-12-10T21:48:10+00:00"}, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:10.945873 2014] [core:crit] [pid 14112] (23)Too many open files in system: [client 127.0.0.1:53946] AH00529: /var/www/owncloud/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/owncloud/' is executable
[Wed Dec 10 22:48:10.972931 2014] [:error] [pid 14051] [client 84.162.13.99:58660] {"app":"PHP","message":"require_once(\\/var\\/www\\/owncloud\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/Driver\\/PDOStatement.php): failed to open stream: Too many open files in system at \\/var\\/www\\/owncloud\\/lib\\/autoloader.php#142","level":3,"time":"2014-12-10T21:48:10+00:00"}, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:10.972986 2014] [:error] [pid 14051] [client 84.162.13.99:58660] PHP Fatal error:  require_once(): Failed opening required '/var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php' (include_path='/var/www/owncloud/3rdparty/phpseclib/phpseclib/phpseclib:/var/www/owncloud/lib/private:/var/www/owncloud/config:/var/www/owncloud/3rdparty:/var/www/owncloud/apps:/var/www/owncloud/lib:.:/usr/share/php:/usr/share/pear:/var/www/owncloud') in /var/www/owncloud/lib/autoloader.php on line 142, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:10.973120 2014] [:error] [pid 14051] [client 84.162.13.99:58660] {"app":"PHP","message":"require_once(): Failed opening required '\\/var\\/www\\/owncloud\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/Driver\\/PDOStatement.php' (include_path='\\/var\\/www\\/owncloud\\/3rdparty\\/phpseclib\\/phpseclib\\/phpseclib:\\/var\\/www\\/owncloud\\/lib\\/private:\\/var\\/www\\/owncloud\\/config:\\/var\\/www\\/owncloud\\/3rdparty:\\/var\\/www\\/owncloud\\/apps:\\/var\\/www\\/owncloud\\/lib:.:\\/usr\\/share\\/php:\\/usr\\/share\\/pear:\\/var\\/www\\/owncloud') at \\/var\\/www\\/owncloud\\/lib\\/autoloader.php#142","level":3,"time":"2014-12-10T21:48:10+00:00"}, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:11.186848 2014] [core:crit] [pid 14056] (23)Too many open files in system: [client 127.0.0.1:53947] AH00529: /var/www/owncloud/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/owncloud/' is executable
[Wed Dec 10 22:48:11.261043 2014] [:error] [pid 13816] [client 84.162.13.99:58647] {"app":"PHP","message":"file_put_contents(\\/var\\/www\\/owncloud\\/data\\/josh\\/thumbnails\\/34471\\/1903-with-aspect.png): failed to open stream: Too many open files in system at \\/var\\/www\\/owncloud\\/lib\\/private\\/files\\/storage\\/local.php#160","level":3,"time":"2014-12-10T21:48:11+00:00"}, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:11.314399 2014] [core:error] [pid 14112] (23)Too many open files in system: AH02179: apr_socket_accept: (client socket)
[Wed Dec 10 22:48:11.666762 2014] [access_compat:error] [pid 14056] [client 127.0.0.1:53948] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
[Wed Dec 10 22:48:11.906062 2014] [:error] [pid 13816] [client 84.162.13.99:58647] {"app":"PHP","message":"require_once(\\/var\\/www\\/owncloud\\/lib\\/private\\/db\\/statementwrapper.php): failed to open stream: Too many open files in system at \\/var\\/www\\/owncloud\\/lib\\/autoloader.php#142","level":3,"time":"2014-12-10T21:48:11+00:00"}, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:11.906131 2014] [:error] [pid 13816] [client 84.162.13.99:58647] PHP Fatal error:  require_once(): Failed opening required '/var/www/owncloud/lib/private/db/statementwrapper.php' (include_path='/var/www/owncloud/3rdparty/phpseclib/phpseclib/phpseclib:/var/www/owncloud/lib/private:/var/www/owncloud/config:/var/www/owncloud/3rdparty:/var/www/owncloud/apps:/var/www/owncloud/lib:.:/usr/share/php:/usr/share/pear:/var/www/owncloud') in /var/www/owncloud/lib/autoloader.php on line 142, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:11.906284 2014] [:error] [pid 13816] [client 84.162.13.99:58647] {"app":"PHP","message":"require_once(): Failed opening required '\\/var\\/www\\/owncloud\\/lib\\/private\\/db\\/statementwrapper.php' (include_path='\\/var\\/www\\/owncloud\\/3rdparty\\/phpseclib\\/phpseclib\\/phpseclib:\\/var\\/www\\/owncloud\\/lib\\/private:\\/var\\/www\\/owncloud\\/config:\\/var\\/www\\/owncloud\\/3rdparty:\\/var\\/www\\/owncloud\\/apps:\\/var\\/www\\/owncloud\\/lib:.:\\/usr\\/share\\/php:\\/usr\\/share\\/pear:\\/var\\/www\\/owncloud') at \\/var\\/www\\/owncloud\\/lib\\/autoloader.php#142","level":3,"time":"2014-12-10T21:48:11+00:00"}, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:12.161323 2014] [access_compat:error] [pid 14056] [client 127.0.0.1:53950] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Wed Dec 10 22:48:12.376630 2014] [:error] [pid 13816] [client 127.0.0.1:34804] {"app":"PHP","message":"require_once(\\/var\\/www\\/owncloud\\/lib\\/private\\/db\\/statementwrapper.php): failed to open stream: Too many open files in system at \\/var\\/www\\/owncloud\\/lib\\/autoloader.php#142","level":3,"time":"2014-12-10T21:48:12+00:00"}
[Wed Dec 10 22:48:12.376703 2014] [:error] [pid 13816] [client 127.0.0.1:34804] PHP Fatal error:  require_once(): Failed opening required '/var/www/owncloud/lib/private/db/statementwrapper.php' (include_path='/var/www/owncloud/3rdparty/phpseclib/phpseclib/phpseclib:/var/www/owncloud/lib/private:/var/www/owncloud/config:/var/www/owncloud/3rdparty:/var/www/owncloud/apps:/var/www/owncloud/lib:.:/usr/share/php:/usr/share/pear:/var/www/owncloud') in /var/www/owncloud/lib/autoloader.php on line 142
[Wed Dec 10 22:48:12.376887 2014] [:error] [pid 13816] [client 127.0.0.1:34804] {"app":"PHP","message":"require_once(): Failed opening required '\\/var\\/www\\/owncloud\\/lib\\/private\\/db\\/statementwrapper.php' (include_path='\\/var\\/www\\/owncloud\\/3rdparty\\/phpseclib\\/phpseclib\\/phpseclib:\\/var\\/www\\/owncloud\\/lib\\/private:\\/var\\/www\\/owncloud\\/config:\\/var\\/www\\/owncloud\\/3rdparty:\\/var\\/www\\/owncloud\\/apps:\\/var\\/www\\/owncloud\\/lib:.:\\/usr\\/share\\/php:\\/usr\\/share\\/pear:\\/var\\/www\\/owncloud') at \\/var\\/www\\/owncloud\\/lib\\/autoloader.php#142","level":3,"time":"2014-12-10T21:48:12+00:00"}
[Wed Dec 10 22:48:12.691353 2014] [access_compat:error] [pid 13905] [client 127.0.0.1:53952] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Wed Dec 10 22:48:12.916043 2014] [:error] [pid 14057] [client 84.162.13.99:58661] PHP Fatal error:  require_once(): Failed opening required '/var/www/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php' (include_path='/var/www/owncloud/3rdparty/phpseclib/phpseclib/phpseclib:/var/www/owncloud/lib/private:/var/www/owncloud/config:/var/www/owncloud/3rdparty:/var/www/owncloud/apps:/var/www/owncloud/lib:.:/usr/share/php:/usr/share/pear:/var/www/owncloud') in /var/www/owncloud/lib/autoloader.php on line 142, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:13.167312 2014] [access_compat:error] [pid 13905] [client 127.0.0.1:53954] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Wed Dec 10 22:48:18.089368 2014] [access_compat:error] [pid 14057] [client 127.0.0.1:53956] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Wed Dec 10 22:48:18.544384 2014] [access_compat:error] [pid 14051] [client 127.0.0.1:53958] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Wed Dec 10 22:48:21.194411 2014] [access_compat:error] [pid 14051] [client 127.0.0.1:53960] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Wed Dec 10 22:48:21.585510 2014] [access_compat:error] [pid 13905] [client 127.0.0.1:53962] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Wed Dec 10 22:48:24.050511 2014] [access_compat:error] [pid 13905] [client 127.0.0.1:53964] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Wed Dec 10 22:48:24.238577 2014] [access_compat:error] [pid 14002] [client 127.0.0.1:53966] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Wed Dec 10 22:49:46.804260 2014] [access_compat:error] [pid 13816] [client 127.0.0.1:34825] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Wed Dec 10 22:49:49.961619 2014] [access_compat:error] [pid 14135] [client 127.0.0.1:34827] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Wed Dec 10 22:50:03.197754 2014] [access_compat:error] [pid 14132] [client 127.0.0.1:34836]

ownCloud log (data/owncloud.log)

The access denied message repeats quite often before this

{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#267","level":3,"time":"2014
-12-10T21:48:12+00:00"}
{"app":"PHP","message":"require_once(\/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/PDOStatement.php): failed to open stream: Too many open files in system at \/var\/www
\/owncloud\/lib\/autoloader.php#142","level":3,"time":"2014-12-10T21:48:12+00:00"}
{"app":"PHP","message":"require_once(): Failed opening required '\/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/PDOStatement.php' (include_path='\/var\/www\/owncloud\/3r
dparty\/phpseclib\/phpseclib\/phpseclib:\/var\/www\/owncloud\/lib\/private:\/var\/www\/owncloud\/config:\/var\/www\/owncloud\/3rdparty:\/var\/www\/owncloud\/apps:\/var\/www\/owncloud\/lib:.:\/usr\/sh
are\/php:\/usr\/share\/pear:\/var\/www\/owncloud') at \/var\/www\/owncloud\/lib\/autoloader.php#142","level":3,"time":"2014-12-10T21:48:12+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#267","level":3,"time":"2014
-12-10T21:48:13+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#267","level":3,"time":"2014
-12-10T21:48:13+00:00"}

The access denied message repeats quite often in between

{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#267","level":3,"time":"2014-12-10T21:50:39+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#267","level":3,"time":"2014-12-10T21:50:40+00:00"}
{"app":"core","message":"Login failed: 'username' (Remote IP: '141.70.81.151', X-Forwarded-For: '')","level":2,"time":"2014-12-10T21:50:48+00:00"}
{"app":"core","message":"Login failed: 'username' (Remote IP: '141.70.81.151', X-Forwarded-For: '')","level":2,"time":"2014-12-10T21:50:48+00:00"}

The login failes messages repeat very often after this

The .htaccess file is of course not writeable for the apache user, I set my permissions like this (according to the manual):

chown -R root:root /var/www/owncloud
chown www-data:www-data /var/www/owncloud/config/config.php
chown www-data:www-data /var/www/owncloud/config/
chown -R www-data:www-data /var/www/owncloud/data/
chown root:root /var/www/owncloud/data/.htaccess
chown www-data:www-data /var/www/owncloud/apps/

jGleitz avatar Dec 11 '14 13:12 jGleitz

Thanks a lot for reporting issues back to us!

We need some more information to properly support you with your issue!

Can I ask you to follow our guidelines for submitting bugs as described here: https://github.com/owncloud/core/blob/master/CONTRIBUTING.md

Thanks a lot!

LukasReschke avatar Dec 11 '14 13:12 LukasReschke

@PVince81 @MorrisJobke looks familiar:

{
    "app": "PHP",
    "message": "require_once(\/var\/www\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/PDOStatement.php): failed to open stream: Too many open files in system at \/var\/www
\/owncloud\/lib\/autoloader.php#142",
    "level": 3,
    "time": "2014-12-10T21:48:12+00:00"
}

LukasReschke avatar Dec 11 '14 13:12 LukasReschke

@jGleitz On which FS type is the ownCloud instance stored? (ext/fat/nfs/etc...)

LukasReschke avatar Dec 11 '14 13:12 LukasReschke

Possible related to https://github.com/owncloud/core/issues/10392 in some way.

@jGleitz Is XDebug installed on the server?

\cc @DeepDiver1975 FYI

LukasReschke avatar Dec 11 '14 13:12 LukasReschke

Do you have XDebug + PHP 5.6 ?

PVince81 avatar Dec 11 '14 13:12 PVince81

@LukasReschke vzfs . (It's a virtual server)

jGleitz avatar Dec 11 '14 13:12 jGleitz

@PVince81 PHP 5.5.9 XDebug is not installed (but I can of course install it, if that helps)

jGleitz avatar Dec 11 '14 13:12 jGleitz

Mhm, my best guesses are that either flock is not working correctly here or that we have some file handle leaks here and that messes up things…

… will provide a test script for that later this week or early next week …

LukasReschke avatar Dec 11 '14 17:12 LukasReschke

@jGleitz No. It just triggered a problem with the "too many files open". The question just want to drop this possible trouble-maker. ;)

MorrisJobke avatar Dec 11 '14 22:12 MorrisJobke

MorrisJobke - what is about my issue???? https://github.com/owncloud/music/issues/294 Maybe we will do smth to fix it???

sbh01 avatar Dec 12 '14 03:12 sbh01

Reading this from @jGleitz #9736 still seems to be a relevant issue; still without an answer.

Open files (Or possibly unclosed files) may be the problem; crashing a possible oc config read which defaults back to known config; which is then written to stateful config?

I have never had time to look in to it properly and also never had time to set up parallel envs for all diverse clients/client-versions that may have been propagating the problem.

AubreyHewes avatar Dec 13 '14 00:12 AubreyHewes

I want to inform you that this issue occured again on my installation. (Relevant because it obviously happens under 7.0.4, too.)

The behaviour was as described. The Logs were:

Apache

[Mon Dec 15 18:38:09.324852 2014] [:error] [pid 14482] [client 141.3.221.245:54484] PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 4104 bytes) in /var/www/owncloud/lib/private/log.php on line 154, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164
[Mon Dec 15 19:04:36.239735 2014] [:error] [pid 17221] [client 141.70.81.144:33168] {"app":"PHP","message":"shell_exec(): Unable to execute 'command -v libreoffice' at \\/var\\/www\\/owncloud\\/lib\\/private\\/preview\\/office.php#18","level":3,"time":"2014-12-15T18:04:36+00:00"}, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164
[Mon Dec 15 19:04:36.239929 2014] [:error] [pid 17221] [client 141.70.81.144:33168] {"app":"PHP","message":"shell_exec(): Unable to execute 'command -v openoffice' at \\/var\\/www\\/owncloud\\/lib\\/private\\/preview\\/office.php#20","level":3,"time":"2014-12-15T18:04:36+00:00"}, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164
[Mon Dec 15 19:04:36.242279 2014] [:error] [pid 17221] [client 141.70.81.144:33168] {"app":"PHP","message":"fopen(\\/var\\/www\\/owncloud\\/data\\/owncloud.log): failed to open stream: Too many open files in system at \\/var\\/www\\/owncloud\\/lib\\/private\\/log\\/owncloud.php#87","level":3,"time":"2014-12-15T18:04:36+00:00"}, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164
[Mon Dec 15 19:04:36.244867 2014] [:error] [pid 17030] [client 141.70.81.144:65254] PHP Fatal error:  Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (UTC)' in /var/www/owncloud/lib/private/log/owncloud.php:69\nStack trace:\n#0 /var/www/owncloud/lib/private/log/owncloud.php(69): DateTimeZone->__construct('UTC')\n#1 [internal function]: OC_Log_Owncloud::write('PHP', 'DateTimeZone::_...', 3)\n#2 /var/www/owncloud/lib/private/log.php(157): call_user_func(Array, 'PHP', 'DateTimeZone::_...', 3)\n#3 /var/www/owncloud/lib/private/log.php(74): OC\\Log->log(3, 'DateTimeZone::_...', Array)\n#4 /var/www/owncloud/lib/private/log/errorhandler.php(55): OC\\Log->critical('DateTimeZone::_...', Array)\n#5 [internal function]: OC\\Log\\ErrorHandler->onException(Object(Exception))\n#6 {main}\n  thrown in /var/www/owncloud/lib/private/log/owncloud.php on line 69, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164
[Mon Dec 15 19:04:36.245070 2014] [:error] [pid 17030] [client 141.70.81.144:65254] PHP Fatal error:  Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (UTC)' in /var/www/owncloud/lib/private/log/owncloud.php:69\nStack trace:\n#0 /var/www/owncloud/lib/private/log/owncloud.php(69): DateTimeZone->__construct('UTC')\n#1 [internal function]: OC_Log_Owncloud::write('PHP', 'Uncaught except...', 3)\n#2 /var/www/owncloud/lib/private/log.php(157): call_user_func(Array, 'PHP', 'Uncaught except...', 3)\n#3 /var/www/owncloud/lib/private/log.php(74): OC\\Log->log(3, 'Uncaught except...', Array)\n#4 /var/www/owncloud/lib/private/log/errorhandler.php(48): OC\\Log->critical('Uncaught except...', Array)\n#5 [internal function]: OC\\Log\\ErrorHandler->onShutdown()\n#6 {main}\n  thrown in /var/www/owncloud/lib/private/log/owncloud.php on line 69, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164
[Mon Dec 15 19:04:36.488168 2014] [:error] [pid 17237] [client 141.70.81.151:32133] PHP Fatal error:  Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (UTC)' in /var/www/owncloud/lib/private/log/owncloud.php:69\nStack trace:\n#0 /var/www/owncloud/lib/private/log/owncloud.php(69): DateTimeZone->__construct('UTC')\n#1 [internal function]: OC_Log_Owncloud::write('PHP', 'DateTimeZone::_...', 3)\n#2 /var/www/owncloud/lib/private/log.php(157): call_user_func(Array, 'PHP', 'DateTimeZone::_...', 3)\n#3 /var/www/owncloud/lib/private/log.php(74): OC\\Log->log(3, 'DateTimeZone::_...', Array)\n#4 /var/www/owncloud/lib/private/log/errorhandler.php(55): OC\\Log->critical('DateTimeZone::_...', Array)\n#5 [internal function]: OC\\Log\\ErrorHandler->onException(Object(Exception))\n#6 {main}\n  thrown in /var/www/owncloud/lib/private/log/owncloud.php on line 69
[Mon Dec 15 19:04:36.488482 2014] [:error] [pid 17237] [client 141.70.81.151:32133] PHP Fatal error:  Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (UTC)' in /var/www/owncloud/lib/private/log/owncloud.php:69\nStack trace:\n#0 /var/www/owncloud/lib/private/log/owncloud.php(69): DateTimeZone->__construct('UTC')\n#1 [internal function]: OC_Log_Owncloud::write('PHP', 'Uncaught except...', 3)\n#2 /var/www/owncloud/lib/private/log.php(157): call_user_func(Array, 'PHP', 'Uncaught except...', 3)\n#3 /var/www/owncloud/lib/private/log.php(74): OC\\Log->log(3, 'Uncaught except...', Array)\n#4 /var/www/owncloud/lib/private/log/errorhandler.php(48): OC\\Log->critical('Uncaught except...', Array)\n#5 [internal function]: OC\\Log\\ErrorHandler->onShutdown()\n#6 {main}\n  thrown in /var/www/owncloud/lib/private/log/owncloud.php on line 69
[Mon Dec 15 19:04:36.501729 2014] [:error] [pid 17236] [client 141.70.81.151:65439] PHP Fatal error:  Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (UTC)' in /var/www/owncloud/lib/private/log/owncloud.php:69\nStack trace:\n#0 /var/www/owncloud/lib/private/log/owncloud.php(69): DateTimeZone->__construct('UTC')\n#1 [internal function]: OC_Log_Owncloud::write('PHP', 'fopen(/var/www/...', 3)\n#2 /var/www/owncloud/lib/private/log.php(157): call_user_func(Array, 'PHP', 'fopen(/var/www/...', 3)\n#3 /var/www/owncloud/lib/private/log.php(74): OC\\Log->log(3, 'fopen(/var/www/...', Array)\n#4 /var/www/owncloud/lib/private/log/errorhandler.php(48): OC\\Log->critical('fopen(/var/www/...', Array)\n#5 [internal function]: OC\\Log\\ErrorHandler->onShutdown()\n#6 {main}\n  thrown in /var/www/owncloud/lib/private/log/owncloud.php on line 69
[Mon Dec 15 19:04:37.256028 2014] [core:error] [pid 17030] (23)Too many open files in system: AH02179: apr_socket_accept: (client socket)
[Mon Dec 15 19:04:43.063922 2014] [access_compat:error] [pid 17214] [client 127.0.0.1:41510] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:04:45.461393 2014] [access_compat:error] [pid 17221] [client 127.0.0.1:41513] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:04:49.715628 2014] [access_compat:error] [pid 17237] [client 127.0.0.1:41516] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:04:55.917557 2014] [access_compat:error] [pid 17237] [client 127.0.0.1:41518] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:04:57.286534 2014] [access_compat:error] [pid 17210] [client 127.0.0.1:41521] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:04:58.365590 2014] [access_compat:error] [pid 16943] [client 127.0.0.1:41522] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:04:59.357617 2014] [access_compat:error] [pid 17237] [client 127.0.0.1:41524] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:05:00.652355 2014] [access_compat:error] [pid 16943] [client 127.0.0.1:50611] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:05:03.739350 2014] [access_compat:error] [pid 17248] [client 127.0.0.1:50612] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:05:08.161074 2014] [access_compat:error] [pid 17243] [client 127.0.0.1:50614] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:05:08.487815 2014] [access_compat:error] [pid 17237] [client 127.0.0.1:50615] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:05:09.929949 2014] [access_compat:error] [pid 17237] [client 127.0.0.1:50616] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:05:09.995065 2014] [access_compat:error] [pid 16943] [client 127.0.0.1:50617] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:05:10.320169 2014] [access_compat:error] [pid 17237] [client 127.0.0.1:50618] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:05:16.606761 2014] [access_compat:error] [pid 16943] [client 127.0.0.1:50620] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:05:17.107570 2014] [access_compat:error] [pid 17237] [client 127.0.0.1:50621] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:05:26.192487 2014] [access_compat:error] [pid 17221] [client 127.0.0.1:50628] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:05:29.927170 2014] [access_compat:error] [pid 17261] [client 127.0.0.1:50629] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:05:31.060089 2014] [access_compat:error] [pid 17264] [client 127.0.0.1:50631] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:05:31.551917 2014] [access_compat:error] [pid 17259] [client 127.0.0.1:50632] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:07:18.255072 2014] [access_compat:error] [pid 17253] [client 127.0.0.1:50660] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:07:18.754595 2014] [access_compat:error] [pid 17243] [client 127.0.0.1:50661] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:07:57.246488 2014] [access_compat:error] [pid 17251] [client 127.0.0.1:50662] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:07:57.749724 2014] [access_compat:error] [pid 17255] [client 127.0.0.1:50663] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:08:13.588033 2014] [access_compat:error] [pid 17253] [client 127.0.0.1:50667] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:08:15.638107 2014] [access_compat:error] [pid 17267] [client 127.0.0.1:50668] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:08:20.618548 2014] [access_compat:error] [pid 17255] [client 127.0.0.1:41583] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:08:30.035300 2014] [access_compat:error] [pid 17237] [client 127.0.0.1:50674] AH01797: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Dec 15 19:08:30.055732 2014] [:error] [pid 17266] [client 141.70.81.144:44616] creating sqlite db, referer: http://joshuagleitze.de/owncloud/index.php

Owncloud

{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:04:45+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:04:49+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:04:55+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:04:57+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:04:58+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:04:59+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:05:00+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:05:02+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:05:08+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:05:08+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:05:09+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:05:09+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:05:10+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:05:16+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:05:17+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:05:26+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:05:29+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:05:31+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:05:31+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:07:18+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:07:18+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:07:57+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:07:57+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:08:13+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:08:15+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:08:20+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:08:30+00:00"}
{"app":"PHP","message":"file_put_contents(\/var\/www\/owncloud\/data\/.htaccess): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/setup.php#270","level":3,"time":"2014-12-15T18:08:31+00:00"}
{"app":"core","message":"Login failed: 'user1' (Remote IP: '84.162.0.149', X-Forwarded-For: '')","level":2,"time":"2014-12-15T18:08:32+00:00"}
{"app":"core","message":"Login failed: 'user1' (Remote IP: '84.162.0.149', X-Forwarded-For: '')","level":2,"time":"2014-12-15T18:08:32+00:00"}
{"app":"core","message":"Login failed: 'user1' (Remote IP: '84.162.0.149', X-Forwarded-For: '')","level":2,"time":"2014-12-15T18:08:32+00:00"}
{"app":"core","message":"Login failed: 'user1' (Remote IP: '84.162.0.149', X-Forwarded-For: '')","level":2,"time":"2014-12-15T18:08:32+00:00"}
{"app":"core","message":"Login failed: 'user2' (Remote IP: '141.3.208.9', X-Forwarded-For: '')","level":2,"time":"2014-12-15T18:08:33+00:00"}
{"app":"core","message":"Login failed: 'user2' (Remote IP: '141.3.208.9', X-Forwarded-For: '')","level":2,"time":"2014-12-15T18:08:33+00:00"}
{"app":"core","message":"Login failed: 'user2' (Remote IP: '141.3.208.9', X-Forwarded-For: '')","level":2,"time":"2014-12-15T18:08:33+00:00"}
{"app":"core","message":"Login failed: 'user2' (Remote IP: '141.3.208.9', X-Forwarded-For: '')","level":2,"time":"2014-12-15T18:08:33+00:00"}
{"app":"core","message":"Login failed: 'user1' (Remote IP: '84.162.0.149', X-Forwarded-For: '')","level":2,"time":"2014-12-15T18:08:34+00:00"}
{"app":"core","message":"Login failed: 'admin' (Remote IP: '84.162.0.149', X-Forwarded-For: '')","level":2,"time":"2014-12-15T18:08:50+00:00"}
{"app":"core","message":"Login failed: 'user3' (Remote IP: '95.114.62.122', X-Forwarded-For: '')","level":2,"time":"2014-12-15T18:08:53+00:00"}
{"app":"core","message":"Login failed: 'user3' (Remote IP: '95.114.62.122', X-Forwarded-For: '')","level":2,"time":"2014-12-15T18:08:53+00:00"}
{"app":"core","message":"Login failed: 'user3' (Remote IP: '95.114.62.122', X-Forwarded-For: '')","level":2,"time":"2014-12-15T18:08:53+00:00"}
{"app":"core","message":"Login failed: 'user3' (Remote IP: '95.114.62.122', X-Forwarded-For: '')","level":2,"time":"2014-12-15T18:08:53+00:00"}
{"app":"core","message":"Login failed: 'user2' (Remote IP: '141.70.81.151', X-Forwarded-For: '')","level":2,"time":"2014-12-15T18:08:54+00:00"}
{"app":"core","message":"Login failed: 'user2' (Remote IP: '141.70.81.151', X-Forwarded-For: '')","level":2,"time":"2014-12-15T18:08:54+00:00"}
{"app":"core","message":"Login failed: 'user2' (Remote IP: '141.70.81.151', X-Forwarded-For: '')","level":2,"time":"2014-12-15T18:08:54+00:00"}
{"app":"core","message":"Login failed: 'user2' (Remote IP: '141.70.81.151', X-Forwarded-For: '')","level":2,"time":"2014-12-15T18:08:54+00:00"}
{"app":"PHP","message":"Cannot modify header information - headers already sent at \/var\/www\/owncloud\/lib\/private\/json.php#17","level":3,"time":"2014-12-15T18:09:32+00:00"}
{"app":"PHP","message":"Cannot modify header information - headers already sent at \/var\/www\/owncloud\/lib\/private\/json.php#17","level":3,"time":"2014-12-15T18:09:35+00:00"}
{"app":"PHP","message":"Cannot modify header information - headers already sent at \/var\/www\/owncloud\/lib\/private\/json.php#17","level":3,"time":"2014-12-15T18:09:38+00:00"}
{"app":"PHP","message":"Cannot modify header information - headers already sent at \/var\/www\/owncloud\/lib\/private\/json.php#17","level":3,"time":"2014-12-15T18:09:41+00:00"}

jGleitz avatar Dec 15 '14 18:12 jGleitz

@jGleitz Set config_is_read_only to true in your config.php for now and make the file read-only as a work-around.

LukasReschke avatar Dec 15 '14 18:12 LukasReschke

Interesting pieces from the log:

sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23
[Wed Dec 10 22:48:08.377016 2014] [:error] [pid 14051] [client 84.162.13.99:58648] PHP Warning:  include(/var/www/owncloud/config/config.php): failed to open stream: Too many open files in system in /var/www/owncloud/lib/private/config.php on line 154, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
[Wed Dec 10 22:48:08.377098 2014] [:error] [pid 14051] [client 84.162.13.99:58648] PHP Warning:  include(): Failed opening '/var/www/owncloud/config/config.php' for inclusion (include_path='/var/www/owncloud/lib:.:/usr/share/php:/usr/share/pear') in /var/www/owncloud/lib/private/config.php on line 154, referer: https://joshuagleitze.de/owncloud/public.php?service=files&t=3c6420eb6c147bdbc6250e3dbfa07164&path=%2FWS%201%2FLA%2F%C3%9Cbung%2FInfo%2FFotos%2F2014-12-05
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 23```

LukasReschke avatar Dec 15 '14 18:12 LukasReschke

@LukasReschke, yeah, I'll do that.

jGleitz avatar Dec 15 '14 18:12 jGleitz

@jGleitz Can you let me know how you setup this server? - Which commands did you execute to install PHP and Apache? - Also did you change some default config options?

LukasReschke avatar Dec 16 '14 13:12 LukasReschke

Also when you execute something like lsof -u www-data | awk '{print $2}' | sort | uniq -c | sort -n what is the output? - Can you see some excessive spikes?

LukasReschke avatar Dec 16 '14 13:12 LukasReschke

@LukasReschke

lsof -u www-data | awk '{print $2}' | sort | uniq -c | sort -n
      1 PID
    155 1142
    156 934
    296 752
    297 31464
    297 903

jGleitz avatar Dec 16 '14 15:12 jGleitz

@LukasReschke I rented the server at a hosting Company (1&1). I guess it was set up from a default image for their virtual machines. PHP and Apache was already installed when I moved in. As I recall I have not made any changes except setting the timezone in PHP. I as well set up some virtual hosts in Apache, but that was already after the first incident of this bug. I know that there is a limit to the parallel opened files set by the VM the server is running in.

jGleitz avatar Dec 16 '14 15:12 jGleitz

Same here, also VM hosted by 1&1. Error occured first in ownCloud 7.0.4 (stable), using webdav. I set the config to read only, ~~which seems to work, but isn't nice at all.~~

Logs repeat these lines:

Error   PHP Use of undefined constant DEBUG - assumed 'DEBUG' at /home/owncloud/apps/ojsxc/appinfo/app.php#13
Debug   webdav  Sabre\DAV\Exception\NotAuthenticated: No basic authentication headers were found
Warning core    Login failed: '-hash-' (Remote IP: '95.91.0.0', X-Forwarded-For: '')

I cloud try to set up another cloud instance for testing purposes and for further investigation, if you want.

update1: Seems to be a problem with webdav. The /index.php/settings/admin "Connectivity Checks" sometimes shows errors with it.

update2: read_only doesn't work at all. Bug happily overwrites the file! Disabled my cloud temporarily, users are upset! :(

update3:

while true; do inotifywait -e modify config.php && cp config.php.backup config.php; done

update4: script of update3 didn't work.

while true; do inotifywait config.php && cp config.php.backup config.php; done

This script works, but re-writes the config everytime it is read.

The server is a VM container, which has limited resources. I read the container's logs today and found some red alerts:

  • dcachesize: The total size of dentry and inode structures locked in the memory.
  • tcpsndbuf: The total size of send buffers for TCP sockets, i.e. the amount of kernel memory allocated for the data sent from an application to a TCP socket, but not acknowledged by the remote side yet.
  • quotaugidlimit: Number of user/group IDs allowed for the Container internal disk quota.
  • numfile: The number of files opened by all Container processes.

powerswitch avatar Jan 08 '15 20:01 powerswitch