Xampp Launcher on Linux wont work 100%...

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

Xampp Launcher on Linux wont work 100%...

Postby tripleshift » 04. June 2006 09:56

hi everybody,
i hate to bother, but this little problem is getting me a bit weary because i can't find a solution nor understand where or what i'm doing wrong.

i set lampp to launch just apache and mysql through "lamp start" and when i use the command line everything is perfect.

i've never been able to have it fully launched (unless i set it not to run in terminal and the sudo session is still on) with a menu or desktop shortcut.

what happens is that apache is launched while mysql command seems not to be executed due to the terminal automatically closing after the last command (start mysql indeed) is given.

my laucher is set to run in terminal (to give passwd) and has this command:
Code: Select all
sudo /opt/lampp/lampp start

i tried to append "&" but nothing changed

i really hope someone can help to figure out if there is an error in what i'm doing or if this isn't plain possible or how can i fix it.

bye
tripleshift

...
I left my good sign in the other pants
tripleshift
 
Posts: 2
Joined: 04. June 2006 09:24

Postby crusty_collins » 05. June 2006 20:43

What shell are you using?
Alternatly I would put the start/stop in my /etc/rc3.d
Take a look at the scripts already there to get an idea of what they do.

OR Try the following from a script.
#!/bin/ksh
/opt/lampp/lampp start

in a scrip which you redirect to `2>&1 &` (will give output to stdout)
crusty_collins
 
Posts: 6
Joined: 05. June 2006 20:30
Location: Chicago

Postby tripleshift » 06. June 2006 10:42

crusty_collins wrote:What shell are you using?

bash it is

crusty_collins wrote:Alternatly I would put the start/stop in my /etc/rc3.d
Take a look at the scripts already there to get an idea of what they do.

i guess this is to load xampp on startup, which is not what i'm looking for.
unfortunately my knowlegde of those init files isn't quite enough to get it done anyway.

crusty_collins wrote:
OR Try the following from a script.
#!/bin/ksh
/opt/lampp/lampp start

in a scrip which you redirect to `2>&1 &` (will give output to stdout)

what would this do?
i'm sorry maybe i should have a deeper knowlegde of scripting stuff to understand, but this is not the case.

the purpose of this topic is to understand what is wrong with my method and if someone else has experienced it.
i doubt i'm the first, i just think i wasn't able to find or nobody made a fuss of it.

to get it short, i don't know how to do the script you suggested, and i don't even know if is what i need, but i'm thankful anyway for your contribution.

bye
tripleshift

...
I left my good sign in the other pants
tripleshift
 
Posts: 2
Joined: 04. June 2006 09:24

command not found

Postby umesh » 07. June 2006 10:13

helo wen ever am giving command frm bash.....
root@localhost lampp#lampp start
bash: lampp: command not found

this is error ...so am unable to install lampp....

how 2 solve dis prob?

umesh
umesh chavan
pune, india
+91-94220 31200
umesh
 
Posts: 2
Joined: 07. June 2006 08:58


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 29 guests