Auto Boot on server startup ?

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

Auto Boot on server startup ?

Postby Guest » 05. October 2003 22:55

how do i setup xampp on linux 9 to startup with the system ?
Guest
 

Postby esCmo » 06. October 2003 12:51

Translated from the FAQ:
First, you have to find out what default runlevel your system is booting.
Code: Select all
egrep :initdefault: /etc/inittab

Mostly this will be 3 or 5.

Change to the directory that configures your runlevel, e.g if your runlevel is 3, change (command: cd) into /etc/rc.d/rc3.d

Now symlink /opt/lampp/lampp to S99lampp and K01lampp
Code: Select all
ln -s /opt/lampp/lampp S99lampp
ln -s /opt/lampp/lampp K01lampp


Now XAMPP for Linux should be started on every boot.
User avatar
esCmo
 
Posts: 59
Joined: 21. September 2003 22:01

Postby Guest » 08. October 2003 01:49

esCmo wrote:Translated from the FAQ:
First, you have to find out what default runlevel your system is booting.
Code: Select all
egrep :initdefault: /etc/inittab

Mostly this will be 3 or 5.

Change to the directory that configures your runlevel, e.g if your runlevel is 3, change (command: cd) into /etc/rc.d/rc3.d

Now symlink /opt/lampp/lampp to S99lampp and K01lampp
Code: Select all
ln -s /opt/lampp/lampp S99lampp
ln -s /opt/lampp/lampp K01lampp


Now XAMPP for Linux should be started on every boot.



so i edit this file ( /etc/inittab ) with the symlink code ( ln -s /opt/lampp/lampp S99lampp
ln -s /opt/lampp/lampp K01lampp )
Guest
 

Postby Guest » 08. October 2003 05:00

it was 5


i think i got it down now....
Guest
 

Postby esCmo » 08. October 2003 13:48

Anonymous wrote:so i edit this file ( /etc/inittab ) with the symlink code ( ln -s /opt/lampp/lampp S99lampp
ln -s /opt/lampp/lampp K01lampp )

You don't have to edit anything, just symlink /opt/lampp/lampp to /etc/rc.d/rc5.d/S99lampp and /etc/rc.d/rc5.d/K01lampp
User avatar
esCmo
 
Posts: 59
Joined: 21. September 2003 22:01

Postby Guest » 09. October 2003 02:02

got it to work , much thanks
Guest
 

Autoboot on Red Hat 9.0

Postby author » 13. October 2003 21:09

:) Another way of accomplishing autoboot--since Red Hat 9.0's server installation already has an older version of Apache, MySQL, and usually an FTP program running:

1) go to /etc/rc.d/init.d as root

2) move the httpd, mysqld, and whatever the FTP version you are running (in my case it was vsftpd) to somewhere else (I put them in the root directory just to get them out of the way).

3) do

cp /opt/lampp/lampp ./

4) restart the server (shutdown -r now)

That's it.... worked nicely for me.

--Ralph
--Ralph Roberts, CEO
aBOOKS / Creativity, Inc.
http://abooks.com
author
 
Posts: 2
Joined: 13. October 2003 20:59
Location: Alexander, North Carolina

Re: Auto Boot on server startup ?

Postby rajshardel » 12. July 2013 04:21

Friends Apache is already auto started along with dovecot saslauthd and postfix. The order start up boot is first dovecot then saslauthd then postfix then xampp. Web site gets loaded but I get postfix mail error but when I restart Lampp by command ./lampp restart in lampp directory at terminal postfix mail works.

What is the problem or what should be boot order if boot order is a problem.

These 2 files are already there in run level 5 and that is why lampp starts at boot. Dovecot , saslauthd and postfix status is also already showing started

ln -s /opt/lampp/lampp S99lampp
ln -s /opt/lampp/lampp K01lampp

Can anyone help to solve the problem of lampp restart to get postfix mail working.

Rajeev

Mobile : + 91 9810744101
rajshardel
 
Posts: 3
Joined: 12. July 2013 03:59
Operating System: linux

Re: Auto Boot on server startup ?

Postby rajshardel » 08. November 2013 09:18

Also before restart postfix and dovecot mail from gmail to server and from server to outlook is delivered but mail from website nobody using php code is delivered only after restart lampp once and thereafter mail is continuously delivered..

no errors in maillog and after lampp restart mail works with following logs:

jobseasily postfix/pickup[1801]: 00109124164: uid=99 from=<nobody>
Nov 7 20:42:10 jobseasily postfix/cleanup[12586]: 00109124164: message-id=<20131107151210.00109124164@localhost>
Nov 7 20:42:10 jobseasily postfix/qmgr[1802]: 00109124164: from=<nobody@localhost.localhost>, size=1467, nrcpt=1 (queue active)
Nov 7 20:42:10 jobseasily postfix/pickup[1801]: 141F8124128: uid=99 from=<nobody>
Nov 7 20:42:10 jobseasily postfix/cleanup[12586]: 141F8124128: message-id=<20131107151210.141F8124128@localhost>
Nov 7 20:42:10 jobseasily postfix/qmgr[1802]: 141F8124128: from=<nobody@localhost.localhost>, size=2303, nrcpt=2 (queue active)
Nov 7 20:42:12 jobseasily postfix/smtp[12592]: 141F8124128: to=<rajshardel@gmail.com>, relay=gmail-smtp-in.l.google.com[173.194.79.26]:25, delay=2.4, delays=0.13/0.01/0.95/1.3, dsn=2.0.0, status=sent (250 2.0.0 OK 1383837231 p2si2940376pbe.278 - gsmtp)
rajshardel
 
Posts: 3
Joined: 12. July 2013 03:59
Operating System: linux


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 24 guests