Skip to content
AppUnix
  • cPanel Logs: Access, Apache, Email, Error, FTP, MySQL, WHM

Categoria: cPanel

Ruby ao tentar acessar um site sob cpanel força o download do arquivo

23/11/2016 by OwnServer

Nada de pânico, outrora ensinamos como resolver erro 500 do ruby sob cpanel, agora é muito simples.

Verifique se o /tmp está com as permissões para o acesso ao ruby (isto, em caráter de testes pode ser comprovado com chmod 7777 no /tmp).

Caso esteja sanado é permissão.

PS: após ajustar permissões reinicie o ror (/etc/init.d/ror stop e /etc/init.d/ror start).

The RPM DB is corrupt CPANEL WHM (como resolver)

23/11/2016 by OwnServer

Se a mensagem que você está recebendo for:

An automatic check on (Host Name) found the RPM database to be corrupted. An attempt was made to automatically fix the database but it was not successful. Please resolve this problem on your system. A backup of the original state of the RPM database directory can be found at /var/lib/rpm.rebuild.backup*

Tente as seguintes soluções logado no console (como root):

1
2
3
mkdir /root/old_rpm_dbs/
mv /var/lib/rpm/__db* /root/old_rpm_dbs/
rpm --rebuilddb

Se o erro persistir, logando no console (como root) rode:

1
/scripts/rpmup

1
<strong>Caso resolva com este comando, ok, se ocorrer o erro abaixo é por que sua biblioteca GLIBC não estão 100%:</strong>

1
2
rpm: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
/usr/bin/perl: error while loading shared libraries: libresolv.so.2: cannot open shared object file: No such file or directory

1
<strong>Veja se está ok com o seguinte comando:</strong>

1
rpm -q glibc

1
<strong>Se a resposta for:</strong>

1
<strong>package glibc is not installed</strong>

1
<strong>Vamos instalar o pacote:</strong>

1
yum --enablerepo=updates-testing --enablerepo=testing install glibc-devel

1
 

Cpanel com ruby apresentando Status: 500 Internal Server Error Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2)

23/11/2016 by OwnServer

Se esse erro aparece para você, caso já tenha resolvido o problema junto ao Mysql (reiniciar o mesmo) faça o seguinte:

1
ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock

Depois

Service mysql restart

Se o problema ainda persistir com o Ruby on Rails reinicie o mesmo,

1
/etc/rc.d/init.d/ror restart

O problema deve estar sanado.

Navegação por posts

  • Previous
  • 1
  • 2

Pesquisa

Categorias

  • Blog
  • cPanel
  • How Tos
  • Linux
  • Mac Os
  • MySQL
  • Wordpress

#Apoiadores

Patrocinador

Registre-se e ganhe $25



© 2023 AppUnix | Built using WordPress and MxGuard