Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue May 03, 2005 2:23 pm 
Offline
Senior Newbie

Joined: Tue May 03, 2005 2:17 pm
Posts: 5
Okay, I'n not a total newbie with Debian or Apache but a bit rusty 8-) When I have downloaded apache with apt-get, when I run apachectl start apache always fails (and there is no other apache process running), suggestions on how to change this? Thanks!


Top
   
 Post subject:
PostPosted: Tue May 03, 2005 3:03 pm 
Offline
Senior Member
User avatar

Joined: Wed Mar 17, 2004 4:11 pm
Posts: 554
Website: http://www.unixtastic.com
Location: Europe
I've long since given up with apachectl. It doesn't seem to work on debian stable and
it isn't worth fixing.

Use the rc script /etc/init.d/apache.


Top
   
 Post subject:
PostPosted: Tue May 03, 2005 6:25 pm 
Offline
Senior Member
User avatar

Joined: Sat Oct 16, 2004 11:13 am
Posts: 176
Do you have a hostname set? I've found that apache will crash in debian if no hostname is set.
Code:
echo server1.example.com > /etc/hostname
/bin/hostname -F /etc/hostname

You will need to reboot the linode after doing this.


Top
   
 Post subject:
PostPosted: Tue May 03, 2005 7:20 pm 
Offline
Senior Newbie

Joined: Tue May 03, 2005 2:17 pm
Posts: 5
That works! I rebooted and when I ssh'd in it gave me my domain name. Apache works too!! Now one last pointer: do you know what file I update and/or what needs to be done to it so my DNS updates with Zoneedit correctly? Thanks man!!


Top
   
PostPosted: Tue May 03, 2005 9:08 pm 
Offline
Senior Newbie

Joined: Mon May 31, 2004 7:13 pm
Posts: 10
invalin wrote:
Okay, I'n not a total newbie with Debian or Apache but a bit rusty 8-) When I have downloaded apache with apt-get, when I run apachectl start apache always fails (and there is no other apache process running), suggestions on how to change this? Thanks!


Glad you've fixed it. Anybody else reading this, note that this can also be due to a bug in mod_php - apache refuses to start yet it doesn't report any errors.


Top
   
 Post subject:
PostPosted: Wed May 04, 2005 1:15 pm 
Offline
Senior Member
User avatar

Joined: Sat Oct 16, 2004 11:13 am
Posts: 176
invalin wrote:
Now one last pointer: do you know what file I update and/or what needs to be done to it so my DNS updates with Zoneedit correctly? Thanks man!!


Since teh IPs are static, you only need to edit your ZoneEdit settings once. You shouldn't need to update them after that.

Look here for details on how to setup ZoneEdit:

http://www.linode.com/forums/viewtopic.php?t=834


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group