Error Updating dbindex cache in server
I get an error when updating the dbindex cache (as in one mail you suggested to me) as follows:
--------------------------------------------------------
myuser@mysite [~]# usr/local/cpanel/bin/dbindex
-bash: usr/local/cpanel/bin/dbindex: No existe el fichero o el directorio
myuser@mysite [~]# /usr/local/cpanel/bin/dbindex
Error: /var/cpanel/databases/dbindex.db.json, No existe el fichero o el directorio
The system failed to lock the file “/var/cpanel/databases/dbindex.db.json” because of an error: Permiso denegado at /usr/local/cpanel/Cpanel/Transaction/File/Base.pm line 101.
Cpanel::Transaction::File::Base::new("Cpanel::Transaction::File::JSON", "path", "/var/cpanel/databases/dbindex.db.json") called at /usr/local/cpanel/bin/dbindex line 43
bin::dbindex::run() called at /usr/local/cpanel/bin/dbindex line 34
------------------------------------
thanks
--------------------------------------------------------
myuser@mysite [~]# usr/local/cpanel/bin/dbindex
-bash: usr/local/cpanel/bin/dbindex: No existe el fichero o el directorio
myuser@mysite [~]# /usr/local/cpanel/bin/dbindex
Error: /var/cpanel/databases/dbindex.db.json, No existe el fichero o el directorio
The system failed to lock the file “/var/cpanel/databases/dbindex.db.json” because of an error: Permiso denegado at /usr/local/cpanel/Cpanel/Transaction/File/Base.pm line 101.
Cpanel::Transaction::File::Base::new("Cpanel::Transaction::File::JSON", "path", "/var/cpanel/databases/dbindex.db.json") called at /usr/local/cpanel/bin/dbindex line 43
bin::dbindex::run() called at /usr/local/cpanel/bin/dbindex line 34
------------------------------------
thanks