lampp no Centos - incapaz de parar / iniciar - / opt / lampp / bin / gettext: erro ao carregar bibliotecas compartilhadas: libc.so.6

2

Eu tenho um lampp 5.6.28 instalado no Centos. Após uma atualização do yum, não consegui parar / iniciar o lampp devido a erros seguintes:

[root@giunone2 lampp]# ./lampp stop    
egrep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory    
egrep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory  
/bin/bash: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory   
egrep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory   
/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory     

id: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory   
/opt/lampp/share/xampp/xampplib: line 11: test: -ne: unary operator expected   
/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory    
XAMPP: /opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory    
apachectl returned 127.   
/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory  
XAMPP: hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory  
/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory  
/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory   
XAMPP: cat: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory  
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]  
/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory   
kill returned 1.

SOLUÇÃO DE PROBLEMA Eu descobri que remover a linha seguinte, tudo voltou ao trabalho OK

export LD_ASSUME_KERNEL = 2.2.5

    
por fman 20.07.2017 / 09:17

3 respostas

1

Se qualquer versão do Redhat ou do Centos tiver um 9 (cat / etc / redhat-release), este problema acontecerá. Como dito acima, edite / opt / lampp / lampp e comente a exportação LD_ASSUME_KERNEL = 2.2.5.

    
por 22.09.2017 / 18:21
0

Eu tive que fazer algo que é um pouco diferente do acima - mas eu sou muito, muito grato pelas postagens acima. Eu tentei as duas correções acima, mas recebi erros usando o CentOS 6.

O XAMPP agora inicia e funciona corretamente para mim quando comentei toda esta seção mencionada acima no script / opt / lampp / lampp --- de "temos esse novo red hat ...." até e incluindo o "fi". COMENTE TODAS AS LINHAS e tente iniciar a pilha do XAMPP.

    
por 24.01.2018 / 01:09
-3

edite / opt / lampp / lampp

Linha de comentário 436

#export LD_ASSUME_KERNEL=2.2.5

Uncomment linha 437

echo "XAMPP: DISABLE PNTL..."
    
por 18.10.2017 / 17:45

Tags