OVH Community, your new community space.

Problemon con Cpanel


djbill
27/09/2013, 09:33
Cita Publicado inicialmente por DMZ_HOST
EDITO: Ni siquiera puedo reiniciarlo para ver que pasa... me sale el siguiente error: error while loading shared libraries: /lib64/libnih.so.1: cannot read file data: Input/output error
Buenas, para reiniciar el servidor entra por SSH y ejecuta el comando siguiente como usuario root o con sudo; depende de tu configuracion: reboot

Un saludo.

tfwfactory
26/09/2013, 20:27
Has realizado un upgrade ultimamente de Cpanel , por el log parece un error del RPM y que se ha creado también un problema de permisos en diferentes carpetas y librerias compartidas

Mira si esto puede servirte :

https://forums.cpanel.net/f34/check_...ue-346261.html


Corre otra vez el comando :

/usr/local/cpanel/scripts/check_cpanel_rpms --fix

Puedes contactar al soporte de Cpanel te atenderán y resolverán el problema sin tener que preocuparte de nada más , saludos

DMZ_HOST
26/09/2013, 19:07
Hola, acabo de llegar del trabajo y veo que mi servidor se ha vuelto majara.

Tiene cpanel instalado y hace un rato que llegaron un par de email que ya me hacian temer lo peor.

Problems were detected with Cpanel- provided files wiche are RPM controlled. If you did not make these changes intentionally, you can correct them by running:
> /usr/local/cpanel/scripts/check_cpanel_rpms --fix. Y a continuacion un monton de RPMS...

Si ejecuto ese comando por ssh, me devuelve lo siguiente:

Código:
Failed to write lock file: /var/cpanel/cpanel.config.lock: Bad file descriptor at /usr/local/cpanel/Cpanel/SafeFileLock.pm line 17.
[2013-09-26 20:05:07 +0200] warn [check_cpanel_rpms] could not acquire a lock for '/var/cpanel/cpanel.config' at /usr/local/cpanel/Cpanel/SafeFile.pm line 254
        Cpanel::SafeFile::_safe_open(IO::Handle=GLOB(0x11fc768), '<', '/var/cpanel/cpanel.config', CODE(0xbb32a0), 'safeopen') called at /usr/local/cpanel/Cpanel/SafeFile.pm line 30
        Cpanel::SafeFile::safeopen(IO::Handle=GLOB(0x11fc768), '<', '/var/cpanel/cpanel.config') called at /usr/local/cpanel/Cpanel/Config/LoadConfig.pm line 143
        Cpanel::Config::LoadConfig::loadConfig('/var/cpanel/cpanel.config', HASH(0xc1f5b0), undef, undef, undef, 1, HASH(0x11fc648)) called at /usr/local/cpanel/Cpanel/Config/LoadCpConf.pm line 160
        Cpanel::Config::LoadCpConf::loadcpconf() called at /usr/local/cpanel/Cpanel/RPM/Versions/Directory.pm line 41
        Cpanel::RPM::Versions::Directory::init('Cpanel::RPM::Versions::Directory', HASH(0xa3fbe0)) called at /usr/local/cpanel/Cpanel/RPM/Versions/Directory.pm line 20
        Cpanel::RPM::Versions::Directory::new('Cpanel::RPM::Versions::Directory', HASH(0xa3fbe0)) called at /usr/local/cpanel/Cpanel/RPM/Versions/File.pm line 165
        Cpanel::RPM::Versions::File::init('Cpanel::RPM::Versions::File', HASH(0xa3fb98)) called at /usr/local/cpanel/Cpanel/RPM/Versions/File.pm line 79
        Cpanel::RPM::Versions::File::new('Cpanel::RPM::Versions::File', HASH(0xa3fb98)) called at /usr/local/cpanel/scripts/check_cpanel_rpms line 68
        scripts::check_cpanel_rpms::script('scripts::check_cpanel_rpms', '--fix') called at /usr/local/cpanel/scripts/check_cpanel_rpms line 24
warn [check_cpanel_rpms] could not acquire a lock for '/var/cpanel/cpanel.config'
[2013-09-26 20:05:07 +0200] warn [Cpanel::Config::LoadConfig] Unable to open /var/cpanel/cpanel.config: No such file or directory at /usr/local/cpanel/Cpanel/Config/LoadConfig.pm line 232
        Cpanel::Config::LoadConfig::loadConfig('/var/cpanel/cpanel.config', HASH(0xc1f5b0), undef, undef, undef, 1, HASH(0x11fc648)) called at /usr/local/cpanel/Cpanel/Config/LoadCpConf.pm line 160
        Cpanel::Config::LoadCpConf::loadcpconf() called at /usr/local/cpanel/Cpanel/RPM/Versions/Directory.pm line 41
        Cpanel::RPM::Versions::Directory::init('Cpanel::RPM::Versions::Directory', HASH(0xa3fbe0)) called at /usr/local/cpanel/Cpanel/RPM/Versions/Directory.pm line 20
        Cpanel::RPM::Versions::Directory::new('Cpanel::RPM::Versions::Directory', HASH(0xa3fbe0)) called at /usr/local/cpanel/Cpanel/RPM/Versions/File.pm line 165
        Cpanel::RPM::Versions::File::init('Cpanel::RPM::Versions::File', HASH(0xa3fb98)) called at /usr/local/cpanel/Cpanel/RPM/Versions/File.pm line 79
        Cpanel::RPM::Versions::File::new('Cpanel::RPM::Versions::File', HASH(0xa3fb98)) called at /usr/local/cpanel/scripts/check_cpanel_rpms line 68
        scripts::check_cpanel_rpms::script('scripts::check_cpanel_rpms', '--fix') called at /usr/local/cpanel/scripts/check_cpanel_rpms line 24
warn [Cpanel::Config::LoadConfig] Unable to open /var/cpanel/cpanel.config: No such file or directory
Can't use an undefined value as a symbol reference at /usr/local/cpanel/Cpanel/SafeFile.pm line 68.

Si hago un yum update, me devuelve esto otro:

Código:
'import site' failed; use -v for traceback
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   cannot import name urlgrab

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.6.6 (r266:84292, Jul 10 2013, 22:48:45)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)]

If you cannot solve this problem yourself, please go to
the yum faq at:
  http://yum.baseurl.org/wiki/Faq
¿Que ha podido pasar? ¿como resuelvo este marrón? no he tocado nada en absoluto, tan solo alojo webs personales y para colmo en todas aparece un error 500, llevaba casi 2 meses que ni reiniciarlo. Lo único especial que tenia es que se actualizaba solo el servidor a las 3 de la mañana si no me equivoco...

EDITO: Ni siquiera puedo reiniciarlo para ver que pasa... me sale el siguiente error: error while loading shared libraries: /lib64/libnih.so.1: cannot read file data: Input/output error