Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Getting Apache to Start automatically, Apache in mydsl but server doesn't start< Next Oldest | Next Newest >
godfearerdsl Offline





Group: Members
Posts: 5
Joined: June 2006
Posted: June 16 2006,00:19 QUOTE

I have found apache in the mydsl net download area and have installed it. Upon reboot, the server doesn't restart, even though  it was running before reboot.  I have used the "top" command in order to see what is running, and there are no httpd services running until I manually go to DSL|myDSL|Apache-2.0.54|start.  I assume that I could issue a start service command within .xinitrc from the /ramdisk/home/dsl folder, but haven't been able to find what command should be issued.  Any ideas?

For your information, I am running a Gateway P5-120 120MHz machine with 48 MB ram and hda1 with 300 MB holding the source files, hda2 at about 2.2 GB, and hda3 at about 700 MB allowing swapping.  I have a Frugal install with Grub as the boot loader.
Back to top
Profile PM 
kerry Offline





Group: Members
Posts: 706
Joined: April 2006
Posted: June 16 2006,02:24 QUOTE

You just have to look in /.fluxbox/mydsl.menu for the command. It should be ->
sudo /opt/wwwroot/bin/apachectl start

So try adding that to .xinitrc under torsmo if you want it to start no matter what desktop you use.
Back to top
Profile PM 
godfearerdsl Offline





Group: Members
Posts: 5
Joined: June 2006
Posted: June 16 2006,03:35 QUOTE

Thanks for pointing out the mydsl.menu!  That really helps.  Here is the line I added:

sudo /opt/wwwroot/bin/apachectl start &

I don't know exactly what "&" does, but it seemed important.

I rebooted and it seems to be working now.  Thanks kerry!
Back to top
Profile PM 
2 replies since June 16 2006,00:19 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Getting Apache to Start automatically

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code