xampp-linux won't start error 127 [Solved]

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

xampp-linux won't start error 127 [Solved]

Postby Yan » 22. November 2012 22:52

Hi,

I installed xampp-linux-1.8.1 on Ubuntu 12.04. There was no opt directory in my root folder so I created one. I get the following errors when I try to start lampp:

root@yan-Aspire-5715Z:~# /root/opt/lampp/lampp start
cat: /opt/lampp/lib/VERSION: No such file or directory
/root/opt/lampp/lampp: line 126: /opt/lampp/share/lampp/selinux: No such file or directory
Starting XAMPP for Linux ...
/root/opt/lampp/lampp: line 133: /opt/lampp/share/lampp/nogroupcheck: No such file or directory
cat: /opt/lampp/lib/VERSION: No such file or directory
/root/opt/lampp/lampp: line 126: /opt/lampp/share/lampp/selinux: No such file or directory
cat: /opt/lampp/lib/VERSION: No such file or directory
/root/opt/lampp/lampp: line 126: /opt/lampp/share/lampp/selinux: No such file or directory
/root/opt/lampp/lampp: line 506: /opt/lampp/share/lampp/phpstatus: No such file or directory
XAMPP: Starting Apache...
/root/opt/lampp/lampp: line 226: /opt/lampp/bin/apachectl: No such file or directory
XAMPP: Error 127! Couldn't start Apache!
/root/opt/lampp/lampp: line 233: /opt/lampp/share/lampp/diagnose: No such file or directory
cat: /opt/lampp/lib/VERSION: No such file or directory
/root/opt/lampp/lampp: line 126: /opt/lampp/share/lampp/selinux: No such file or directory
XAMPP: Starting MySQL...
/root/opt/lampp/lampp: line 253: /opt/lampp/bin/mysql.server: No such file or directory
XAMPP: Couldn't start MySQL!
cat: /opt/lampp/lib/VERSION: No such file or directory
/root/opt/lampp/lampp: line 126: /opt/lampp/share/lampp/selinux: No such file or directory
/root/opt/lampp/lampp: line 140: /opt/lampp/share/lampp/alladdons: No such file or directory
XAMPP for Linux started.


I think that means things are missing from the installation. I read a post that said it might be a permissions issue, so I ran the following:

root@yan-Aspire-5715Z:~/opt/lampp/bin# ls -1
a2p
ab
apachectl
apr-1-config
apreq2-config
apu-1-config
apxs
autopoint
bdftogd
bsqldb
c2ph
CA
CA.pl
CA.sh
c_hash
checkgid
c_info
c_issuer
c_name
comp_err
config_data
config.m4
corelist
cpan
cpan2dist
cpanp
cpanp-run-perl
crc32
c_rehash
curl
curl-config
dbilogstrip
dbiprof
dbiproxy
dbish
dbl2png
dbmmanage
defncopy
derb
der_chop
dprofpp
enc2xs
envvars
envvars-std
fcgistarter
find2perl
freebcp
freetype-config
ftpasswd
ftpcount
ftpdctl
ftpmail
ftpquota
ftptop
ftpwho
gd2copypal
gd2topng
gdparttopng
gdtopng
genbrk
gencfu
gencnval
genctd
genrb
GET
gettext
gettextize
h2ph
h2xs
HEAD
htcacheclean
htdbm
htdigest
htpasswd
httpd
httxt2dbm
iconv
icu-config
img2swf
infocmp
infotocap
innochecksum
instmodsh
isamchk
isamlog
json_pp
ldapadd
ldapcompare
ldapdelete
ldapexop
ldapmodify
ldapmodrdn
ldappasswd
ldapsearch
ldapurl
ldapwhoami
libmcrypt-config
libnetcfg
libpng12-config
libpng-config
listaction
listaction_d
listfdb
listjpeg
listmp3
listswf
listswf_d
logresolve
lwp-download
lwp-dump
lwp-mirror
lwp-request
lwp-rget
makeconv
makefdb
Makefile.in
makeswf
make_win_binary_distribution
make_win_src_distribution
ming-config
mp2bug
mp2doc
msgattrib
msgcat
msgcmp
msgcomm
msgconv
msgen
msgexec
msgfilter
msgfmt
msggrep
msginit
msgmerge
msgunfmt
msguniq
msql2mysql
myisamchk
myisam_ftdump
myisamlog
myisampack
my_print_defaults
mysql
mysqlaccess
mysqlaccess.conf
mysqladmin
mysqlbinlog
mysqlbug
mysqlcheck
mysql_client_test
mysql_config
mysql_convert_table_format
mysqld_multi
mysqld_safe
mysqldump
mysqldumpslow
mysql_find_rows
mysql_fix_extensions
mysql_fix_privilege_tables
mysqlhotcopy
mysqlimport
mysql_install_db
mysql_plugin
mysql_secure_installation
mysql.server
mysql_setpermission
mysqlshow
mysqlslap
mysqltest
mysql_tzinfo_to_sql
mysql_upgrade
mysql_waitpid
mysql_zap
ncurses5-config
ngettext
openssl
openssl_fips_fingerprint
ora_explain
pack_isam
pcre-config
pcregrep
pcretest
pear
peardev
pearize
pecl
perl
perl5.14.2
perlbug
perlcc
perldoc
perlivp
perlthanks
perror
phar
phar.phar
php
php-5.4.7
php-cgi
php-cgi-5.4.7
php-config
php-config-5.4.7
phpize
phpize-5.4.7
piconv
pkgdata
pl2pm
png2dbl
png2swf
pngtogd
pngtogd2
pod2html
pod2latex
pod2man
pod2text
pod2usage
podchecker
podselect
POST
prove
prxs
psed
pstruct
ptar
ptardiff
ptargrep
pwhich
raw2adpcm
replace
reset
resolveip
resolve_stack_dump
rotatelogs
s2p
sabcmd
sablot-config
shasum
showtable
splain
sqlite
sqlite3
suexec
swftocxx
swftoperl
swftophp
swftopython
swftotcl
tack
tdspool
tic
toe
tput
tset
tsql
uconv
unzzip
wcmgr
webalizer
webazolver
webpng
xgettext
xml2-config
xmlcatalog
xmllint
xrpcomp
xslt-config
xsltproc
xsubpp
xtstat
yapp
ysh
zipdetails
zzcat
zzdir
zzxorcat
zzxorcopy
zzxordir


If anybody knows what any of this means :oops: I'd appreciate your help. Thanks in advance...
Yan
 
Posts: 12
Joined: 22. November 2012 22:38
XAMPP Version: 5.6.3
Operating System: Ubuntu 12.04 + xampp-linux

Re: xampp-linux won't start error 127

Postby Nobbie » 23. November 2012 13:35

Yan wrote:Hi,

I installed xampp-linux-1.8.1 on Ubuntu 12.04. There was no opt directory in my root folder so I created one.


But you did it horribly wrong. The "root" folder does NOT mean the folder /root, but means / only (the top level folder of your system is the root and the folder is called root folder).

Therefor, you MUST NOT install Xampp into /root/opt, but instead into /opt

All other erros are subsequent errors of this wrong installaion, because lampp must be executed in /opt/lampp and NOT in /root/opt/lampp. This is hardcoded into the binaries.
Nobbie
 
Posts: 6579
Joined: 09. March 2008 13:04

Re: xampp-linux won't start error 127

Postby Yan » 23. November 2012 17:49

:shock: Thanks! I deleted /root/opt :oops: and reinstalled to /opt. It works just beautifully. Thanks for newbie-sitting.
Yan
 
Posts: 12
Joined: 22. November 2012 22:38
XAMPP Version: 5.6.3
Operating System: Ubuntu 12.04 + xampp-linux


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 6 guests