XAMPP installation doesn't work

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

XAMPP installation doesn't work

Postby guasaa » 26. November 2010 11:08

Once I have followed theese steps:

tar xvfz xampp-linux-1.7.3a.tar.gz -C /opt

PS: my machine has a 64 bit processor, so I followed this trick I found in Internet:

commenting the lines relative to the 64 bits checking on the file /opt/lampp/lampp.

But I get theese errors (some of them in spanish):

$ sudo /opt/lampp/lampp start
Starting XAMPP for Linux 1.7.3a...
/opt/lampp/share/lampp/phpstatus: línea 4: /opt/lampp/bin/php: No existe el archivo o directorio (no such file or directory)
XAMPP: Starting Apache with SSL ...
/opt/lampp/bin/apachectl: 102: /opt/lampp/bin/httpd: not found
XAMPP: Error 127! Couldn't start Apache!
XAMPP: Starting diagnose...
XAMPP: Sorry, I've no idea what's going wrong.
XAMPP: Please contact our forum http://community.apachefriends.org/f/
XAMPP: Starting MySQL...
/opt/lampp/bin/mysql.server: 260: /opt/lampp/bin/my_print_defaults: not found
/opt/lampp/bin/mysql.server: 263: /opt/lampp/bin/my_print_defaults: not found
XAMPP: Couldn't start MySQL!
XAMPP: Starting ProFTPD...
XAMPP: /opt/lampp/lampp: línea 327: /opt/lampp/sbin/proftpd: No existe el archivo o directorio
XAMPP: Error 127! Couln't start ProFTPD!
XAMPP for Linux started.

In other machine I had apache, mysql and php installed and didn't get this error (I had others instead, so I am trying the complete XAMPP pack).


Does anyone know what can I do to solve this problem?


Thank you
guasaa
 
Posts: 4
Joined: 26. November 2010 11:00

Re: XAMPP installation doesn't work

Postby JonB » 26. November 2010 18:16

perhaps try running the LAMPP script without clever tips from the internet :roll:

http://www.apachefriends.org/en/xampp-linux.html
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: XAMPP installation doesn't work

Postby guasaa » 26. November 2010 18:23

I followed those instructions at first, Captain Obvious :roll:
guasaa
 
Posts: 4
Joined: 26. November 2010 11:00

Re: XAMPP installation doesn't work

Postby JonB » 26. November 2010 20:16

Well it would be instructive to know a couple of things -

like - what distribution are you trying to install on?

and uhhh - what were the errors BEFORE you tried to cleverly fix things.

In other machine I had apache, mysql and php installed and didn't get this error (I had others instead, so I am trying the complete XAMPP pack).


This indicates the large possibility that you fundamentally don't understand one part or another of the process.

BTW - copping an attitude when it is 'your problem', isn't the best way to get a solution.

this is a very very accurate set of notes on how to get help on the internet

http://www.catb.org/esr/faqs/smart-questions.html

:shock:
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: XAMPP installation doesn't work

Postby guasaa » 26. November 2010 20:44

Weren't you copping an attitude at first? It's not me wanting to go Captain Obvious here too, though.

Well, let's stop pissing ourselves.

I forgot to tell you the distribution I am using: Ubuntu 10.04. I found tutorials for this distribution which sent me to the official one.

I Installed PHP, MySQL and Apache in one Virtual Machine with the same characteristics and I found myself not knowing how to register the services in the php.ini. Then I tried to install XAMPP in a new virtual machine with the same characteristics, having the compatibility problem because of my using a 64 bits machine, which XAMPP can't work with. Then I used that filthy trick to hide the compatibility problem, but I got stuck into the errors I told before.
:D
guasaa
 
Posts: 4
Joined: 26. November 2010 11:00

Re: XAMPP installation doesn't work

Postby JonB » 26. November 2010 22:34

I won't belabor any points here, BUT i think you misspeak yourself on '64bits machine', i think you mean 64bits version of Linux distribution, which is a different thing entirely.

These are 'old' links - but they may be useful to you -
http://ubuntuforums.org/showthread.php?t=719110
http://brainstorm.ubuntu.com/idea/2993/
& a few more -
https://help.ubuntu.com/community/32bit_and_64bit

You also, it turns out, decided that the fact you were installing in a virtual machine wasn't terribly important either. Please tell me, how exactly was anyone to figure the problem out???

It looks like the 'real issue' is "how can I install XAMPP on Ubuntu 64bit distributions" - is that the straightforward version?

At this point we are at the 'endpoint' of my specific knowledge based on real-life personal experience, so anything after this point is 'best guess'.

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: XAMPP installation doesn't work

Postby guasaa » 01. December 2010 11:15

It worked! thanks a lot man. Solved with this helpful thread you posted: http://ubuntuforums.org/showthread.php?t=719110

As I thought, It was a 32-64 bits compatibility problem. The solution was to install ia32-libs.
guasaa
 
Posts: 4
Joined: 26. November 2010 11:00

Re: XAMPP installation doesn't work

Postby JonB » 01. December 2010 16:44

Good - I'm glad it worked. :D

I guess we can now also dispel the Urban Myth/Internet Rumor that only Windows has problems with 64/32 bit compatibility :) BTW - Some distributions of Linux don't have that particular issue, I don't mean to suggest switching, as learning a new distribution is a major task. I run Centos, Fedora and Suse myself, but with the native LAMP stacks, not 'our' LAMPP/XAMPP.

Good Luck with your project.
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: XAMPP installation doesn't work

Postby royani » 07. December 2010 10:52

sudo: /opt/lampp/lampp: command not found

how do i fix it ?
royani
 
Posts: 1
Joined: 07. December 2010 10:47

Re: XAMPP installation doesn't work

Postby greno » 07. December 2010 17:22

royani wrote:sudo: /opt/lampp/lampp: command not found

how do i fix it ?


You might try installing XAMPP first:

http://www.apachefriends.org/en/xampp.html

Go to XAMPP for Linux link.

Step 2 is installation.
greno
 
Posts: 54
Joined: 04. October 2006 19:25

Re: XAMPP installation doesn't work

Postby lspear76 » 08. December 2010 05:09

I can't install XAMPP on Linux. I'm new to Linux and can't figure out what I'm doing wrong.

I downloaded XAMPP and it's in my Downloads directory. I try to extract the tar file and it won't work.

tar xvfz xampp-linux-1.7.3a.tar.gz -c/opt

I get the error:

tar: You may not specify more than one `-Acdtrux' or `--test-label' option
Try `tar --help' or `tar --usage' for more information.
lspear76@ubuntu:~/Downloads$

Any suggestions?
lspear76
 
Posts: 1
Joined: 08. December 2010 03:37

Re: XAMPP installation doesn't work

Postby Nobbie » 08. December 2010 10:24

lspear76 wrote:Any suggestions?


Do not type in the tar-Command manually (you did and you did wrong!). Copy & paste it instead.
Nobbie
 
Posts: 8770
Joined: 09. March 2008 13:04

Re: XAMPP installation doesn't work

Postby knightlife » 08. December 2010 13:11

Hello there!

I am trying to install XAMPP as a requirement to upload a virtual store called prestashop. The system I am running is ubuntu 10.04 lt. Thing is I do not know whether my pc is 32 or 64 bits. I just recently moved to ubuntu tired of Windows and do not know much about this new adventure. Anyway, I had previously installed osCommerce and have apache server and phpmyadmin installed ok but then I decided to switch to this other online store Prestashop. I have downloaded the latest xampp package being XAMPP-LINUX-1.7.3a.tar.gz and followed the installation instructions as featured below but I am getting an error message featured below:
$ sudo su
$ cd ./Escritorio
$ tar zxvf xampp-linux-1.7.3a.tar.gz -C /opt

norman@norman-laptop:~$ sudo /opt/lampp/lampp start
Starting XAMPP for linux 1.7.3a...
XAMPP: Starting Apache with SSL (and PHP5)
XAMPP: Error 1! Couldnt start Apache!
XAMPP: Starting Diagnose
XAMPP: Sorry, I have no idea whats going wrong.
XAMPP: Please contact our forum http:// http://community.apachefriends.org/f/

XAMPP: Starting MySQL
XAMPP: Could not start MySQL
XAMPP: Starting ProFTPD...
XAMPP for linux started
norman@norman-laptop:~$

I would really appreciate it if someone would be kind enough to give me a hand with this problem. I do not know what to do or how to carry on.

Muchas gracias.

Norm.
knightlife
 
Posts: 1
Joined: 08. December 2010 12:49

Re: XAMPP installation doesn't work

Postby greno » 08. December 2010 16:52

knightlife wrote:XAMPP: [b]Error 1! Couldnt start Apache!


This is answered in the FAQ:
http://www.apachefriends.org/en/faq-xampp-linux.html.

You should try starting there.


-Gerry
greno
 
Posts: 54
Joined: 04. October 2006 19:25


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 12 guests