Problems moving XAMPP to different partition

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

Problems moving XAMPP to different partition

Postby dcoughler » 25. June 2008 03:31

I'm running out of space on my main partition, and I thought I would move my XAMPP install. Here's what I did:

In a console using as root
1) cp -r /opt/lampp /partition2/lampp
2) del -r /opt/lampp
3) ln -s /partition2/lampp

In a new terminal window, I type:

sudo /opt/lampp/lampp start

This is what I get:

Code: Select all
/opt/lampp> sudo /opt/lampp/lampp start
/bin/sh: symbol lookup error: /bin/sh: undefined symbol: BC
Starting XAMPP for Linux 1.6.6...
/bin/bash: symbol lookup error: /bin/bash: undefined symbol: BC
/bin/bash: symbol lookup error: /bin/bash: undefined symbol: BC
/bin/bash: symbol lookup error: /bin/bash: undefined symbol: BC
/bin/bash: symbol lookup error: /bin/bash: undefined symbol: BC
/bin/bash: symbol lookup error: /bin/bash: undefined symbol: BC
XAMPP for Linux started.
/opt/lampp>


More info, if this helps:

/opt/lampp> tail -2 /opt/lampp/logs/error_log
[Thu Jun 19 11:01:00 2008] [notice] Apache/2.2.8 (Unix) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8e PHP/5.2.5 mod_apreq2-20051231/2.6.0 mod_perl/2.0.2 Perl/v5.10.0 configured -- resuming normal operations
[Thu Jun 19 11:03:23 2008] [notice] caught SIGTERM, shutting down
/opt/lampp> cat /opt/lampp/logs/apachestart.log
/opt/lampp>

http://localhost returns a "page not found" error. It used to work before I moved the folder. Ideas?[/code]
dcoughler
 
Posts: 3
Joined: 19. June 2008 13:25

Postby Dave_L » 25. June 2008 14:14

I would have used "cp -a" instead of "cp -r", to ensure that everything was preserved.

In #3, did you mean to post: ln -s /partition2/lampp /opt/lampp ?

Did you shut down XAMPP or reboot before trying to start it in its new location?
User avatar
Dave_L
 
Posts: 212
Joined: 23. October 2004 00:43

Postby dcoughler » 25. June 2008 14:23

Dave_L wrote:I would have used "cp -a" instead of "cp -r", to ensure that everything was preserved.

In #3, did you mean to post: ln -s /partition2/lampp /opt/lampp ?

Did you shut down XAMPP or reboot before trying to start it in its new location?


Yes, I made a typo in #3. I had it the correct way.


It looks like I got it to work. I just needed 3 more steps;

4) Re-install XAMPP to /opt (as per the installation instructions) to recreate the symbolic links correctly
5) chmod -R 777 /opt/lampp
6) reboot

No, this isn't a very secure installation, but I'm using it as a development environment, so I'm not overly concerned about the security.

Cheers!
dcoughler
 
Posts: 3
Joined: 19. June 2008 13:25


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 5 guests