XAMPP 1.8 on Redhat 6.3

Problems with the Linux version of XAMPP, questions, comments, and anything related.

XAMPP 1.8 on Redhat 6.3

Postby bullethole » 26. July 2013 15:15

I have a redhat 6.3 server which for various reasons I can not upgrade. I'm trying to upgrade from XAMPP 1.7 to 1.8 but when i try and start 1.8 I get

sh-4.1# sh -x ./lampp
+ case $(osguess) in
++ osguess
++ test -f /etc/redhat-release
++ egrep '9 ' /etc/redhat-release
+ export XAMPP_OS
+ export XAMPP_ROOT
+ . /share/xampp/xampplib
./lampp: line 66: /share/xampp/xampplib: No such file or directory

So it looks like osguess is failing because I'm on RH6. so i changed the script to look for 6.3 and i get
sh-4.1# sh -x ./lampp start
+ case $(osguess) in
++ osguess
++ test -f /etc/redhat-release
++ egrep 6.3 /etc/redhat-release
++ echo rh9
++ return 0
+ XAMPP_OS=Linux
+ XAMPP_ROOT=/opt/lampp
+ export XAMPP_OS
+ export XAMPP_ROOT
+ . /opt/lampp/share/xampp/xampplib
++ export GETTEXT=/opt/lampp/bin/gettext
++ GETTEXT=/opt/lampp/bin/gettext
++ export TEXTDOMAIN=xampp
++ TEXTDOMAIN=xampp
++ bon=''
++ boff=''
++ for i in gawk mawk nawk awk
++ for j in /usr/bin /bin /usr/local/bin
++ test -f /usr/bin/gawk
++ awk=/usr/bin/gawk
++ break
++ test /usr/bin/gawk '!=' ''
++ break
++ test /usr/bin/gawk = ''
++ cat /opt/lampp/lib/VERSION
+ version=1.8.2-0
+ bon=''
+ boff=''
+ lc=/opt/lampp/etc/xampp
+ de=false
+ case $LANG in
+ export de
+ case `uname -m` in
++ uname -m
+ /opt/lampp/bin/php -v
+ :
++ osguess
++ test -f /etc/redhat-release
++ egrep 6.3 /etc/redhat-release
++ echo rh9
++ return 0
+ test rh9 = rh9
+ export LD_ASSUME_KERNEL=2.2.5
+ LD_ASSUME_KERNEL=2.2.5
+ LIBRARY_PATH=/opt/lampp/lib
+ test -f /opt/lampp/etc/xampp/oraclelib
++ osguess
++ test -f /etc/redhat-release
++ egrep 6.3 /etc/redhat-release
egrep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
+ test '' = macosx
+ test -z
+ export LD_LIBRARY_PATH=/opt/lampp/lib
+ LD_LIBRARY_PATH=/opt/lampp/lib
+ iswebmin=false
+ test -d /opt/lampp/webmin
++ osguess
++ osguess
++ test -f /etc/redhat-release
++ egrep 6.3 /etc/redhat-release
egrep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
+ test '' = linux
++ osguess
++ test -f /etc/redhat-release
++ egrep 6.3 /etc/redhat-release
egrep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
+ test '' = macosx
+ case $1 in
++ /opt/lampp/bin/gettext 'Starting XAMPP for %s %s...'
/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
+ printf '\n' Linux 1.8.2-0

+ checkRoot
+ description=
++ id -u
id: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
+ test -ne 0
/opt/lampp/share/xampp/xampplib: line 11: test: -ne: unary operator expected
+ error=0
+ startApache
+ apachedefines=
+ ssl=0
+ php=0
+ test -f /opt/lampp/etc/xampp/startssl
+ ssl=1
+ apachedefines=' -DSSL'
+ true
+ php=1
+ apachedefines=' -DSSL -DPHP'
++ /opt/lampp/bin/gettext 'Starting %s...'
/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
+ printf 'XAMPP: ' Apache
XAMPP: + testrun /opt/lampp/logs/httpd.pid httpd
+ test -f /usr/ucb/ps
+ ps=ps
+ test -f /opt/lampp/logs/httpd.pid
+ return 1
+ testport 80
+ egrep '[.:]80 .*LISTEN'
+ netstat -an
netstat: 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
+ return 1
+ test 1 -eq 1
+ testport 443
+ egrep '[.:]443 .*LISTEN'
+ netstat -an
netstat: 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
+ return 1
++ /opt/lampp/bin/httpd -t -DSSL -DPHP
+ syntaxCheckMessage='/opt/lampp/bin/httpd: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory'
+ test 127 -ne 0
+ /opt/lampp/bin/gettext -s fail.
/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
+ echo '/opt/lampp/bin/httpd: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory'
/opt/lampp/bin/httpd: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
+ return 1
+ error=1
+ startMySQL
++ /opt/lampp/bin/gettext 'Starting %s...'
/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
+ printf 'XAMPP: ' MySQL
XAMPP: ++ hostname
hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
+ testrun /opt/lampp/var/mysql/.pid mysqld
+ test -f /usr/ucb/ps
+ ps=ps
+ test -f /opt/lampp/var/mysql/.pid
+ return 1
+ testport 3308
+ egrep '[.:]3308 .*LISTEN'
egrep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
+ netstat -an
netstat: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
+ return 1
+ test 0 -ne 0
+ /opt/lampp/bin/gettext -s ok.
/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
+ return 0
+ test -f /opt/lampp/etc/xampp/startftp
+ startProFTPD
+ /opt/lampp/bin/mysql.server start
++ /opt/lampp/bin/gettext 'Starting %s...'
/bin/sh: error while loading shared libraries: libdl.so.2: 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
+ printf 'XAMPP: ' ProFTPD
XAMPP: + testrun /opt/lampp/var/proftpd.pid proftpd
+ test -f /usr/ucb/ps
+ ps=ps
+ test -f /opt/lampp/var/proftpd.pid
+ return 1
+ testport 21
+ egrep '[.:]21 .*LISTEN'
egrep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
+ netstat -an
netstat: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
+ return 1
+ testport 21
+ egrep '[.:]21 .*LISTEN'
egrep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
+ netstat -an
netstat: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
+ return 1
+ /opt/lampp/sbin/proftpd
+ test 127 -ne 0
+ /opt/lampp/bin/gettext -s fail.
/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 -s 'Contents of \"%s\":'
/opt/lampp/bin/gettext: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
+ printf '\n' /opt/lampp/var/proftpd/start.err

+ cat /opt/lampp/var/proftpd/start.err
cat: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
+ return 1
+ error=1
+ false
+ exit 1


so something is not picking up the shared libraries, which are in the system. I did install the 64bit package of xampp
bullethole
 
Posts: 5
Joined: 01. December 2010 18:52

Re: XAMPP 1.8 on Redhat 6.3

Postby Altrea » 26. July 2013 16:11

We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: XAMPP 1.8 on Redhat 6.3

Postby bullethole » 29. July 2013 12:52

I used that post to resolve the inital problem of not having XAMPP_OS set, but now it can't find any of the shared libraries (e.g. libc.so.6 - which does exist). If i force the LD_LIBRARY_PATH environment variable to the right location for the 64bit version of the library i get "id: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory", setting to point to the 32bit version and I get XCOFF errors because its trying to load a 32bit library into a 64 bit build.
bullethole
 
Posts: 5
Joined: 01. December 2010 18:52

Re: XAMPP 1.8 on Redhat 6.3

Postby Beltran » 29. July 2013 16:37

We have fixed this issue in both XAMPP versions:1.8.2-1 (with PHP 5.4) and 1.8.3-0 (with PHP 5.5)

Thanks for reporting it.
User avatar
Beltran
Power-User
 
Posts: 170
Joined: 22. March 2013 12:29
XAMPP version: 10
Operating System: Windows, Linux, OS X


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 67 guests