Ubuntu and Xampp installation Help

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

Ubuntu and Xampp installation Help

Postby DavidRanieri » 06. May 2006 13:17

Any help or suggestions on installing xampp with ubuntu will be appreciated.
Thanks You,

David Ranieri
DavidRanieri
 
Posts: 2
Joined: 06. May 2006 13:01

Re: Ubuntu and Xampp installation Help

Postby skuipers » 07. May 2006 08:35

What's the problem? It is not more complicated than has been written here. Works perfectly for me with Ubuntu.
skuipers
 
Posts: 99
Joined: 21. January 2005 16:27
Location: The Netherlands

I did the install with the instructions, but ....

Postby herranen » 11. May 2006 14:31

root@ubuntu:~# /opt/lampp/lampp start
Starting XAMPP for Linux 1.5.2...
/opt/lampp/share/lampp/phpstatus: line 4: /opt/lampp/bin/php: No such file or directory
XAMPP: Starting Apache with SSL ...
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: line 206: /opt/lampp/bin/my_print_defaults: No such file or directory
/opt/lampp/bin/mysql.server: line 209: /opt/lampp/bin/my_print_defaults: No such file or directory
XAMPP: Starting ProFTPD...
XAMPP: /opt/lampp/lampp: line 302: /opt/lampp/sbin/proftpd: No such file or directory
XAMPP: Error 127! Couln't start ProFTPD!
XAMPP for Linux started.
root@ubuntu:~#


The system is Ubuntu Dapper Server, 6.0x
herranen
 
Posts: 3
Joined: 11. May 2006 14:29

Postby Onyx » 19. February 2007 20:48

Same thing here, Edgy (6.10), 64-bit version
Onyx
 
Posts: 1
Joined: 19. February 2007 20:47

Shot in the dark

Postby needindeed » 27. March 2007 15:18

Are you using SE Linux?

I'm using Gentoo btw but this sounds like a SE prob. or something such.
needindeed
 
Posts: 2
Joined: 27. March 2007 14:27

same deal

Postby leeric » 20. April 2007 17:19

i had exactly the same problem. im running feisty ubuntu. heres the whacky part: i fixed it without downloading a dif version or anything, as well as a few other problems i encountered. i cannot remember how i fixed it.... just recently i re-installed it and have the same problem again - only i don't remember how i fixed it in the first place! as soon as i figure it out i will post it tho.
leeric
 
Posts: 1
Joined: 20. April 2007 17:16

Postby maxnorris » 21. April 2007 17:26

It's running just fine on my Ubuntu Server Edgy/6.10 box, minus a few quirks that can't be chalked up to my being reasonably new with Linux.

Complete guess though, it sounds like it wasn't extracted properly. (Either didn't extract the whole thing, or it didn't extract with the subdirectories and such)

Code: Select all
tar xvfz xampp-linux-1.6.1.tar.gz -C /opt


That will extract the archive, complete with subdirectories and such.

Also, make sure you're running as root when you're doing this, or the permission system will bite you on the butt and not extract properly. Same goes for starting the server, making it auto-start and such too.
maxnorris
 
Posts: 17
Joined: 21. August 2006 06:51

Re: I did the install with the instructions, but ....

Postby MrQuincle » 23. April 2007 20:12

herranen wrote:/opt/lampp/share/lampp/phpstatus: line 4: /opt/lampp/bin/php: No such file or directory

I had exactly the same. It seems that there is a version that can be downloaded from a mirror from sourceforge that does not have a symbolic link (/opt/)lampp/bin/php in it. I downloaded again, and now the same XAMPP package is 50.4 instead of 50.3 MB. So probably there are some other things adjusted too.

And I'm on Ubuntu Feisty Fawn and have just downloaded XAMPP 1.6.1 from http://sourceforge.net/project/showfile ... e_id=60248

Now I'm thinking about it.... On downloading it, I opened it by mistake instead of saving the thing. And choose "Save As..." in the package manager on Ubuntu later on. Apparently, the symbolic links aren't stored in that case. What leads to the mentioned problem. This is rather the cause of the problem, than a mirror having a different version, that would be too implausible
MrQuincle
 
Posts: 2
Joined: 23. April 2007 20:07

Re: I did the install with the instructions, but ....

Postby MrQuincle » 23. April 2007 20:20

Tip:
sudo ln -s /opt/lampp/lampp /etc/init.d/lampp

With this symbolic link, you can start lampp as each other service.
MrQuincle
 
Posts: 2
Joined: 23. April 2007 20:07

Help. I've looked all over and i'm still stuck

Postby tanpantsman » 20. May 2007 07:54

I am really stuck and don't know where else to go
I downloaded Ubuntu 7.04 desktop version and xampp 1.6.1
when I go to extract it with the tar xvfz xampp-linux-1.6.1.tar.gz -C /opt command, most of it extracts correctly until here:

lampp/share/mysql/portuguese/errmsg.txt
lampp/share/mysql/romanian/
lampp/share/mysql/romanian/errmsg.sys
tar: Skipping to next header

gzip: stdin: invalid compressed data--crc error

gzip: stdin: invalid compressed data--length error
tar: Child returned status 1
tar: Error exit delayed from previous errors

this happens even after i delete the /opt/lampp folder

what do I do?

Thanks in advance

-Tanpantsman
tanpantsman
 
Posts: 2
Joined: 20. May 2007 07:47

Postby Dave_L » 20. May 2007 13:57

tanpantsman:

Did you check the integrity of the downloaded file?

gzip -tv xampp-linux-1.6.1.tar.gz
User avatar
Dave_L
 
Posts: 212
Joined: 23. October 2004 00:43

i think that was the problem

Postby tanpantsman » 20. May 2007 17:03

i just checked it and it gave me this


gzip -tv xampp-linux-1.6.1.tar.gz
xampp-linux-1.6.1.tar.gz:
gzip: xampp-linux-1.6.1.tar.gz: invalid compressed data--crc error

gzip: xampp-linux-1.6.1.tar.gz: invalid compressed data--length error



so i'm assuming it's corrupt and I'll go download it again.
Thanks a lot!

-Tanpantsman
tanpantsman
 
Posts: 2
Joined: 20. May 2007 07:47

Soution for Ubuntu FF 64bit

Postby cvokk » 23. May 2007 18:21

Hi, I´m in 64bit Ubuntu Feisty Fawn 7.04, had the same problems
sudo apt-get install ia32-libs
helped me.

Regards
Vitek
cvokk
 
Posts: 1
Joined: 23. May 2007 18:18

Re: I did the install with the instructions, but ....

Postby fredriley » 25. December 2007 19:02

herranen wrote:root@ubuntu:~# /opt/lampp/lampp start
Starting XAMPP for Linux 1.5.2...
/opt/lampp/share/lampp/phpstatus: line 4: /opt/lampp/bin/php: No such file or directory
XAMPP: Starting Apache with SSL ...
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: line 206: /opt/lampp/bin/my_print_defaults: No such file or directory
/opt/lampp/bin/mysql.server: line 209: /opt/lampp/bin/my_print_defaults: Nosuch file or directory
XAMPP: Starting ProFTPD...
XAMPP: /opt/lampp/lampp: line 302: /opt/lampp/sbin/proftpd: No such file or directory
XAMPP: Error 127! Couln't start ProFTPD!
XAMPP for Linux started.
root@ubuntu:~#


The system is Ubuntu Dapper Server, 6.0x


Just for info, I get a similar error, after a straightforward installation of Feisty Fawn:

Starting XAMPP for Linux 1.6.5a...
/opt/lampp/share/lampp/phpstatus: line 4: /opt/lampp/bin/php: No such file or directory
XAMPP: Starting Apache with SSL ...
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...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.


That's after twice downloading and unpacking XAMPP Linux 1.6.5a from Sourceforge. What would be nice would be if someone could explain what Error 127 is... I did search the boards for "error 127" but of course got rather too many hits, including any message that mentioned the localhost IP...

No bother, though. I run XAMPP fine on Windoze and as a portable app on a USB stick, and run MAMP on my Macbook, so it's not crucial that I have it going on my Linux box as I've other development platforms - I can install mySQL and PHP separately or find another 'all-in-one' package. I just report this to show that the original poster isn't alone.

A bit thanks to all the XAMPP developers for the product - it's been very useful to me on Windows machines. A very handy application has been to use it with portableapps to put dynamic websites using PHP/mySQL onto a stick and carry them around to demonstrate, something I couldn't do any other way.

Oh, and you're using one tough captcha - I've got good eyesight but had to look pretty damn carefully at it before figuring out the string ;-|

Cheers

Fred

PS: A quick update on the above. The file /opt/lampp/logs/error_log is zero bytes, and the apachestart.log file reads:
error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory


Ok, enough of this on Xmas Day - I'm off to eat a mince pie :)
fredriley
 
Posts: 1
Joined: 25. December 2007 18:52


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 2 guests