Installation failed due to fatal error (errors in function copy and read in the file.php)
Permalink
Hi,
I'm new to Concrete5. I tried to install it on server. I followed the instruction onhttp://www.youtube.com/watch?v=lfm9RaLT8TI,... it seemed to be really easy. I copied files, set up rights and started installation. But it failed due to errors:
Warning: copy(/mnt/swraid/data/h/hnutimysli.cz/www/concrete/config/../config/install/files/3712/8536/9023/inneroptics_dot_net_aspens.jpg) [function.copy]: failed to open stream: Too many open files in /mnt/swraid/data/h/hnutimysli.cz/www/concrete/helpers/file.php on line 91
Warning: copy(/mnt/swraid/data/h/hnutimysli.cz/www/concrete/config/../config/install/files/7012/8536/9026/inneroptics_dot_net_starfish.jpg) [function.copy]: failed to open stream: Too many open files in /mnt/swraid/data/h/hnutimysli.cz/www/concrete/helpers/file.php on line 91
Warning: copy(/mnt/swraid/data/h/hnutimysli.cz/www/concrete/config/../config/install/files/7112/8536/9026/inneroptics_dot_net_portland.jpg) [function.copy]: failed to open stream: Too many open files in /mnt/swraid/data/h/hnutimysli.cz/www/concrete/helpers/file.php on line 91
Warning: copy(/mnt/swraid/data/h/hnutimysli.cz/www/concrete/config/../config/install/files/8512/8536/9025/inneroptics_dot_net_new_zealand_sheep.jpg) [function.copy]: failed to open stream: Too many open files in /mnt/swraid/data/h/hnutimysli.cz/www/concrete/helpers/file.php on line 91
Warning: copy(/mnt/swraid/data/h/hnutimysli.cz/www/concrete/config/../config/install/files/9112/8536/9025/inneroptics_dot_net_canyonlands.jpg) [function.copy]: failed to open stream: Too many open files in /mnt/swraid/data/h/hnutimysli.cz/www/concrete/helpers/file.php on line 91
Warning: dir(/mnt/swraid/data/h/hnutimysli.cz/www/concrete/config/../config/install/files/thumbnails/3712/8536/9023) [function.dir]: failed to open dir: Too many open files in /mnt/swraid/data/h/hnutimysli.cz/www/concrete/helpers/file.php on line 79
Fatal error: Call to a member function read() on a non-object in /mnt/swraid/data/h/hnutimysli.cz/www/concrete/helpers/file.php on line 80
After that it didn't continue. So I tried reach the site again. Installation screen appeared, so I entered the data and started the installation again.
But I received an error: There are already 119 tables in this database. Concrete must be installed in an empty database.
Could anyone help me to resolve that?
What caused the described errors? How can I avoid them?
Is it possible to continue somehow in current installation or I have to empty the database and start it again?
Thank you
Lomikel
I'm new to Concrete5. I tried to install it on server. I followed the instruction onhttp://www.youtube.com/watch?v=lfm9RaLT8TI,... it seemed to be really easy. I copied files, set up rights and started installation. But it failed due to errors:
Warning: copy(/mnt/swraid/data/h/hnutimysli.cz/www/concrete/config/../config/install/files/3712/8536/9023/inneroptics_dot_net_aspens.jpg) [function.copy]: failed to open stream: Too many open files in /mnt/swraid/data/h/hnutimysli.cz/www/concrete/helpers/file.php on line 91
Warning: copy(/mnt/swraid/data/h/hnutimysli.cz/www/concrete/config/../config/install/files/7012/8536/9026/inneroptics_dot_net_starfish.jpg) [function.copy]: failed to open stream: Too many open files in /mnt/swraid/data/h/hnutimysli.cz/www/concrete/helpers/file.php on line 91
Warning: copy(/mnt/swraid/data/h/hnutimysli.cz/www/concrete/config/../config/install/files/7112/8536/9026/inneroptics_dot_net_portland.jpg) [function.copy]: failed to open stream: Too many open files in /mnt/swraid/data/h/hnutimysli.cz/www/concrete/helpers/file.php on line 91
Warning: copy(/mnt/swraid/data/h/hnutimysli.cz/www/concrete/config/../config/install/files/8512/8536/9025/inneroptics_dot_net_new_zealand_sheep.jpg) [function.copy]: failed to open stream: Too many open files in /mnt/swraid/data/h/hnutimysli.cz/www/concrete/helpers/file.php on line 91
Warning: copy(/mnt/swraid/data/h/hnutimysli.cz/www/concrete/config/../config/install/files/9112/8536/9025/inneroptics_dot_net_canyonlands.jpg) [function.copy]: failed to open stream: Too many open files in /mnt/swraid/data/h/hnutimysli.cz/www/concrete/helpers/file.php on line 91
Warning: dir(/mnt/swraid/data/h/hnutimysli.cz/www/concrete/config/../config/install/files/thumbnails/3712/8536/9023) [function.dir]: failed to open dir: Too many open files in /mnt/swraid/data/h/hnutimysli.cz/www/concrete/helpers/file.php on line 79
Fatal error: Call to a member function read() on a non-object in /mnt/swraid/data/h/hnutimysli.cz/www/concrete/helpers/file.php on line 80
After that it didn't continue. So I tried reach the site again. Installation screen appeared, so I entered the data and started the installation again.
But I received an error: There are already 119 tables in this database. Concrete must be installed in an empty database.
Could anyone help me to resolve that?
What caused the described errors? How can I avoid them?
Is it possible to continue somehow in current installation or I have to empty the database and start it again?
Thank you
Lomikel
http://drupal.org/node/474152#comment-1779744...
Here's quotes from there:
"The problem is a maximum open files limite PER users !
We add several web servers, so several new Apache2 VirtualHost... and Apache2 (www-data) reach the 1024 maximum open files..."
you can check with (default is maximum 1024 open files)
ulimit -a
or
ulimit -n
you can modify with