Page 1 of 1

I install 1.6.3 on my Ubuntu Gutsy Gibbon (7.10) and ...

PostPosted: 24. September 2007 05:13
by jauhari
Got this problem,

Code: Select all
jauhari@jauhari-it03:/media/hdc3/Download$ sudo /opt/lampp/lampp start
/opt/lampp/lampp: line 74: arch: command not found
Starting XAMPP for Linux 1.6.3...
/opt/lampp/lampp: line 74: arch: command not found
/opt/lampp/lampp: line 74: arch: command not found
XAMPP: Starting Apache with SSL (and PHP5)...
/opt/lampp/lampp: line 74: arch: command not found
XAMPP: Starting MySQL...
/opt/lampp/lampp: line 74: arch: command not found
XAMPP: Starting ProFTPD...
XAMPP for Linux started.


How to solve this problem?
Please advice me and why this problem show up?

Best Regards

Jauhari

PostPosted: 10. October 2007 00:39
by slowyaroll
Perhaps your download was corrupt. First, remove that installation completely. Second, download the xampp file again. instead of running 'sudo command' try using sudo -i you'll then enter your password and you'll be the root user. then try unpacking the file and running its start file.

PostPosted: 11. October 2007 16:42
by masterlolo
Same errors for my side.
Migration from Feisty to Gutsy : I have this error.
I have downloaded again & reinstall : same error :cry:

Edit :
Ligne 74 is
Code: Select all
case `arch` in

In Gutsy, arch is no present :(

Edit2 :
At ligne 74 replace
Code: Select all
arch
by
Code: Select all
uname -m

PostPosted: 20. October 2007 22:59
by phill
oder auch:


Code: Select all
sudo nano /bin/arch

uname -m



Code: Select all
sudo chmod +x /bin/arch

PostPosted: 27. October 2007 17:36
by thierrybo
I don not have any /bin/arch on my Ubuntu Gutsy !?

The same error.

PostPosted: 31. October 2007 14:52
by joancg
I get the same error, when I start or stop xampp. I downloaded it again but it still doesn't work.

$ sudo /opt/lampp/lampp start
/opt/lampp/lampp: line 74: arch: command not found
Starting XAMPP for Linux 1.6.4...
/opt/lampp/lampp: line 74: arch: command not found
/opt/lampp/lampp: line 74: arch: command not found
XAMPP: Starting Apache with SSL (and PHP5)...
/opt/lampp/lampp: line 74: arch: command not found
XAMPP: Starting MySQL...
/opt/lampp/lampp: line 74: arch: command not found
XAMPP: Starting ProFTPD...
XAMPP for Linux started.

$ sudo /opt/lampp/lampp stop
/opt/lampp/lampp: line 74: arch: command not found
Stopping XAMPP for Linux 1.6.4...
/opt/lampp/lampp: line 74: arch: command not found
XAMPP: Stopping Apache with SSL...
/opt/lampp/lampp: line 74: arch: command not found
/opt/lampp/lampp: line 74: arch: command not found
XAMPP: Stopping MySQL...
/opt/lampp/lampp: line 74: arch: command not found
XAMPP: Stopping ProFTPD...
XAMPP stopped.

PostPosted: 31. October 2007 15:09
by masterlolo
Answer to correct this bug is reply to my previous post or on phill's post !
Please read the topic ! :D

PostPosted: 31. October 2007 15:38
by joancg
You're right, I misunderstood the answer. I tried it again and it seems that works. Thank you. :)

Gutsy Gibbon installation issue.

PostPosted: 01. November 2007 21:49
by pbgswd
line 74: arch: command not found

Hi there, I also had this problem today, Please allow me to restate the solution with a little more information.

I dont know that the download was corrupt. The arch file instructions are what worked. If you have been around Ubuntu for a few releases, you begin to notice that they change little things now and then. The arch file is probably a common feature across many linux distributions, but this is only a guess. Perhaps the good people at apachefriends will unhook xampp from the need for this file to be present in future releases. Or something.

So, create a file as root under /bin called arch, as in /bin/arch

as in #sudo vi /bin/arch
or #sudo emacs /bin/arch
or #sudo nano /bin/arch

Put this line, this one and only line in the file: uname -m

save file and exit.

Change permissions of this file as root: #sudo chmod +x /bin/arch

Restart Lampp, #sudo /opt/lampp/lampp start

I did all this and it worked fine.

thanks!!!

PostPosted: 08. November 2007 01:09
by pavel989
this really helped me out, tyvm!!

Re: Gutsy Gibbon installation issue.

PostPosted: 09. November 2007 08:04
by Takster
pbgswd wrote:line 74: arch: command not found

Hi there, I also had this problem today, Please allow me to restate the solution with a little more information.

I dont know that the download was corrupt. The arch file instructions are what worked. If you have been around Ubuntu for a few releases, you begin to notice that they change little things now and then. The arch file is probably a common feature across many linux distributions, but this is only a guess. Perhaps the good people at apachefriends will unhook xampp from the need for this file to be present in future releases. Or something.

So, create a file as root under /bin called arch, as in /bin/arch

as in #sudo vi /bin/arch
or #sudo emacs /bin/arch
or #sudo nano /bin/arch

Put this line, this one and only line in the file: uname -m

save file and exit.

Change permissions of this file as root: #sudo chmod +x /bin/arch

Restart Lampp, #sudo /opt/lampp/lampp start

I did all this and it worked fine.


pbgswd, thanks bro. 8)

PostPosted: 13. November 2007 08:23
by mwall
this worked great
BUT THEN I INSTALLED "PYTHON-ADDON-1.3" and apache won't start
Any fixes for this??

thanks