Installation Error
Hi,
We tried to install Anturis into our WHM but we keep getting this error message
Too many (1024) failed attempts to create a temp file based on “/home/anturis/.cpanel/nvdata.cache”! The last tried file was “/home/anturis/.cpanel/nvdata.cache.tmp.40871816”, and the last error was: No such file or directory
at /usr/local/cpanel/Cpanel/FileUtils/Write.pm line 87. Cpanel::FileUtils::Write::_write_to_tmpfile("/home/anturis/.cpanel/nvdata.cache", "{}", 416, CODE(0x2391440)) called at /usr/local/cpanel/Cpanel/FileUtils/Write.pm line 51 Cpanel::FileUtils::Write::overwrite("/home/anturis/.cpanel/nvdata.cache", "{}", 416) called at /usr/local/cpanel/Cpanel/NVData.pm line 74 Cpanel::NVData::_savecache() called at /usr/local/cpanel/Cpanel/NVData.pm line 167 Cpanel::NVData::_loadcache(1) called at /usr/local/cpanel/Cpanel/NVData.pm line 198 Cpanel::NVData::_get("anturis_login") called at /usr/local/cpanel/Cpanel/NVData.pm line 213 Cpanel::NVData::NVData_fetch("anturis_login", "", 1) called at /usr/local/cpanel/Anturis/Storage.pm line 15 Anturis::Storage::fetch("anturis_login") called at /usr/local/cpanel/Anturis/API.pm line 21 Anturis::API::get_login() called at /usr/local/cpanel/whostmgr/docroot/anturis/index.cgi line 36 main::print_page() called at /usr/local/cpanel/whostmgr/docroot/anturis/index.cgi line 26
For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.
Please advise
Answer
Hi,
In accordance with the log string:
Too many (1024) failed attempts to create a temp file based on "/home/anturis/.cpanel/nvdata.cache"! The last tried file was "/home/anturis/.cpanel/nvdata.cache.tmp.40871816", and the last error was: No such file or directory
please check that:
- anturis user have rw access to /home/anturis/
- anturis user have disk quote to /home/anturis/
- amount of open files is significant less than open files limit
Hi Ilya,
drwx------ 2 anturis anturis 4.0K Nov 12 12:14 anturis/
anturis user should already have rw access to /home/anturis
for the other 2 points, I'm not sure how to check that. Please advise.
I'm encountering the same problem, is there any informations about the solution?
I also tried to do
/opt/anturis/collect_info.sh > info.txt
But the server replyied with another error
root@sv1 [/home/jack/anturis-whm-plugin]# which: no plesk in (/usr/local/jdk/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin)
Hi all,
Looks like some update of cpanel broke our plugin. We are investigating this issue right now.
Hi,
Sorry for the delay. Workaround for this issue create folder /home/anturis/.cpanel , create file nvdata.cache in it and set appropriate rights. To do this please execute this commands:
mkdir /home/anturis/.cpanel
touch /home/anturis/.cpanel/nvdata.cache
chown anturis:anturis -R /home/anturis/.cpanel/
We will fix it the new version.
Hi after adding the directory and file and setting proper permissions. I now get this error
Could not open “/proc/user_beancounters” for reading: Permission denied at /usr/local/cpanel/Cpanel/Sys/Hardware/Memory/Vzzo.pm line 61.
I tried to chmod the file but server gives me permission denied
I did the "workaround" and still get this, on three servers.
Software error:
Too many (1024) failed attempts to create a temp file based on “/home/anturis/.cpanel/nvdata.cache”! The last tried file was “/home/anturis/.cpanel/nvdata.cache.tmp.28483331”, and the last error was: Permission denied at /usr/local/cpanel/Cpanel/FileUtils/Write.pm line 87. Cpanel::FileUtils::Write::_write_to_tmpfile("/home/anturis/.cpanel/nvdata.cache", "{}", 416, CODE(0x1a9e4d0)) called at /usr/local/cpanel/Cpanel/FileUtils/Write.pm line 51 Cpanel::FileUtils::Write::overwrite("/home/anturis/.cpanel/nvdata.cache", "{}", 416) called at /usr/local/cpanel/Cpanel/NVData.pm line 74 Cpanel::NVData::_savecache() called at /usr/local/cpanel/Cpanel/NVData.pm line 167 Cpanel::NVData::_loadcache(1) called at /usr/local/cpanel/Cpanel/NVData.pm line 198 Cpanel::NVData::_get("anturis_login") called at /usr/local/cpanel/Cpanel/NVData.pm line 213 Cpanel::NVData::NVData_fetch("anturis_login", "", 1) called at /usr/local/cpanel/Anturis/Storage.pm line 15 Anturis::Storage::fetch("anturis_login") called at /usr/local/cpanel/Anturis/API.pm line 21 Anturis::API::get_login() called at /usr/local/cpanel/whostmgr/docroot/anturis/index.cgi line 36 main::print_page() called at /usr/local/cpanel/whostmgr/docroot/anturis/index.cgi line 26
For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.
root@c101 [~]# cd /home/anturis/.cpanel/
root@c101 [/home/anturis/.cpanel]# ls -la
total 0
drwxr-xr-x. 2 anturis anturis 25 Dec 25 23:14 ./
drwx------. 3 1195 icons 86 Dec 25 23:14 ../
-rw-r--r--. 1 anturis anturis 0 Dec 25 23:14 nvdata.cache
root@c101 [/home/anturis/.cpanel]#
We no longer support whm/cpanel. Plugin will be removed from our web site soon. Sorry for the inconvenience.
To remove plugin from your server please execute the following command:
/opt/anturis/uninstall-whm-plugin.sh
To uninstall agent run script uninstall-anturis-agent.sh in /opt/anturis/
Customer support service by UserEcho
We no longer support whm/cpanel. Plugin will be removed from our web site soon. Sorry for the inconvenience.
To remove plugin from your server please execute the following command:
/opt/anturis/uninstall-whm-plugin.sh
To uninstall agent run script uninstall-anturis-agent.sh in /opt/anturis/