Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 7th December 2007, 23:40
bradhawk bradhawk is offline
Join Date: Nov 2007
Posts: 35
Thanks: 1
Thanked 0 Times in 0 Posts
Exclamation URGENT HELP NEEDED!! HTTPD Problem!!

So, earlier today I was changing some stuff in the following files:

I was trying to set up subdomains outside of using ispconfig. I download, edited and then upload the files several times via Filezilla. Now I have a problem.

When I try to start apache2 it fails.
When I try the command
/etc/init.d/apache2 restart
i get the following error
* Restarting web server apache2
httpd (no pid file) not running      [fail]
I've done some research and have started and stopped httpd using the command
/root/ispconfig/httpd/bin/apachectl start
Even when httpd is started I still get the above error. Please help!!
Reply With Quote
Sponsored Links
Old 8th December 2007, 02:13
bradhawk bradhawk is offline
Join Date: Nov 2007
Posts: 35
Thanks: 1
Thanked 0 Times in 0 Posts

Okay, so I'm not exactly sure what changed, but I'm glad that Ubuntu makes backups of files. I restored the /etc/apache2/apache2.conf file and the error went away. Then copy and pasted from the corrupt files ( the newly copied file was missing the ispconfig information ). When I copied that information in the error came back. So I looked through the virtual hosts ispconfig file and notice that in one of the subdomains that I had played with I hadn't changed back the error logs path to the correct path. When I changed it it worked. Who knows.
Reply With Quote
Old 8th December 2007, 09:05
Hans Hans is offline
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,263
Thanks: 216
Thanked 649 Times in 295 Posts

Originally Posted by bradhawk
I was trying to set up subdomains outside of using ispconfig.
If you've installed ISPConfig as your Hosting Control Panel, please do use it and try to avoid manual configurations as much as possible.
I mean, when you can do it with ISPConfig, please use it.

You should not edit the file /etc/apache2/vhosts/Vhost_ispconfig.conf at all. When you change something for a site within ISPConfig, the file /etc/apache2/vhosts/Vhost_ispconfig.conf will be overwritten time after time.

I saw your post to late to help you, but i think you did it well.
Restoring the original (configuration) files was a good idea.

And about your creating your subdomains. It's easy to create them within ISPConfig:
On the basis tab of the new site choose the name of your subdomain within the host field and the name of the main domain within the domain field. Make sure that the new subdomain is pointing to your server within DNS-records.

MrHostman | Managed Hosting

Last edited by Hans; 8th December 2007 at 09:12.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 13:20
Urgent! SMTP/SASL problem after Kernel update teves Installation/Configuration 17 27th March 2007 12:24
URGENT Web_ problem itgroup Installation/Configuration 11 12th August 2006 18:23
Apache and Tomcat problem! Urgent maroonworks Server Operation 3 24th February 2006 16:14
istalled fine (Fedora core 4) but HTTPD problem edge Installation/Configuration 11 14th December 2005 13:28

All times are GMT +2. The time now is 22:25.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.