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.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd September 2007, 01:19
JamesH106 JamesH106 is offline
Junior Member
 
Join Date: Feb 2007
Posts: 27
Thanks: 3
Thanked 0 Times in 0 Posts
Default Messed up installation

Hi,

I just got my new server. I installed ISPConfig on it perfectly, but then I accidentally deleted /root/ispconfig. In my haste I deleted /home/admispconfig and [insert other directory here] and tried to reinstall.

I've tried upwards of 3 times, each time unsuccessful.

How can I revert back to a "clean" system - no apache, bind, etc.. without reformatting?

I'm on Debian Etch.


Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 23rd September 2007, 12:51
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,704
Thanks: 819
Thanked 5,321 Times in 4,174 Posts
Default

If you deleted several directories beside /root/ispconfig and /home/admispconfig manually, you will have to reinstall your server as we can not tell you waht to do without knowing what was deleted exactly.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
JamesH106 (23rd September 2007)
  #3  
Old 23rd September 2007, 13:07
JamesH106 JamesH106 is offline
Junior Member
 
Join Date: Feb 2007
Posts: 27
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till
If you deleted several directories beside /root/ispconfig and /home/admispconfig manually, you will have to reinstall your server as we can not tell you waht to do without knowing what was deleted exactly.
I think I only remove /home/admispconfig, but after an unsuccessful reinstall I then deleted /root/ispconfig and /home/admispconfig.



Thanks,
James.
Reply With Quote
  #4  
Old 23rd September 2007, 13:13
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,704
Thanks: 819
Thanked 5,321 Times in 4,174 Posts
Default

Ok, if you just deleted these two directories, you dont have to reinstall your server.

1) Run the following commands to make sure that you really deleted ISPConfig:

rm -rf /home/admispconfig
rm -rf /root/ispconfig

2) Delete the ISPConfig database, the esaiest way is to delete the directory that is has the same name then the database in /var/lib/mysql/

3) Unpack the ispconfig installer tar.gz file in /tmp/ again and run the setup script to reinstall ISPConfig.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 23rd September 2007, 16:21
JamesH106 JamesH106 is offline
Junior Member
 
Join Date: Feb 2007
Posts: 27
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till
Ok, if you just deleted these two directories, you dont have to reinstall your server.

1) Run the following commands to make sure that you really deleted ISPConfig:

rm -rf /home/admispconfig
rm -rf /root/ispconfig

2) Delete the ISPConfig database, the esaiest way is to delete the directory that is has the same name then the database in /var/lib/mysql/

3) Unpack the ispconfig installer tar.gz file in /tmp/ again and run the setup script to reinstall ISPConfig.
Hi,

I reinstalled ISPConfig and created a domain, but I see the Shared IP page on it.

How can I sort this out?

Thanks.


EDIT: I gave it some time and then it worked. The problem I have now is with php files [Example]. I've enabled php in the site management.

Last edited by JamesH106; 23rd September 2007 at 16:36.
Reply With Quote
  #6  
Old 23rd September 2007, 19:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Quote:
Originally Posted by JamesH106
EDIT: I gave it some time and then it worked. The problem I have now is with php files [Example]. I've enabled php in the site management.
PHP is working now.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 23rd September 2007, 19:29
JamesH106 JamesH106 is offline
Junior Member
 
Join Date: Feb 2007
Posts: 27
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
PHP is working now.
Yeah. I had to manually mode php5.load and php5.conf to mods-enabled and add the php lines to Vhosts_ispconfig.conf, though

I also created some new domains. The DNS is working, but the Vhosts haven't been added to Vhosts_ispconfig.conf though. This might be because root saved the file - what user needs to own it?
Reply With Quote
  #8  
Old 24th September 2007, 14:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

What's the output of
Code:
ls -la /etc/apache2/vhosts
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 24th September 2007, 16:46
JamesH106 JamesH106 is offline
Junior Member
 
Join Date: Feb 2007
Posts: 27
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Hi,

The output is:

Code:
drwxr-xr-x 2 root root 1024 2007-09-23 11:31 .
drwxr-xr-x 8 root root 1024 2007-09-23 10:11 ..
-rw-r--r-- 1 root root 1985 2007-09-23 13:24 Vhosts_ispconfig.conf
-rw-r--r-- 1 root root 1811 2007-09-22 17:57 Vhosts_ispconfig.conf_22-09-07_17-57-11
-rw-r--r-- 1 root root 1811 2007-09-23 10:31 Vhosts_ispconfig.conf_23-09-07_10-32-00
-rw-r--r-- 1 root root 1811 2007-09-23 10:32 Vhosts_ispconfig.conf_23-09-07_10-32-23
-rw-r--r-- 1 root root 3118 2007-09-23 11:18 Vhosts_ispconfig.conf_23-09-07_11-18-59
-rw-r--r-- 1 root root 3118 2007-09-23 11:19 Vhosts_ispconfig.conf_23-09-07_11-19-12
-rw-r--r-- 1 root root 3118 2007-09-23 11:20 Vhosts_ispconfig.conf_23-09-07_11-20-24
-rw-r--r-- 1 root root 3118 2007-09-23 11:20 Vhosts_ispconfig.conf_23-09-07_11-20-55
-rw-r--r-- 1 root root 3118 2007-09-23 11:21 Vhosts_ispconfig.conf_23-09-07_11-21-06
-rw-r--r-- 1 root root 4489 2007-09-23 11:29 Vhosts_ispconfig.conf_23-09-07_11-29-18
-rw-r--r-- 1 root root 4474 2007-09-23 11:31 Vhosts_ispconfig.conf_23-09-07_11-31-01
Reply With Quote
  #10  
Old 25th September 2007, 20:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
 
Default

Take a look here: http://www.howtoforge.com/forums/sho...=date+appended

Rename one of the Vhosts_ispconfig.conf files with a date at the end to Vhosts_ispconfig.conf and run
Code:
httpd -t
That should tell you where the error is.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
JamesH106 (25th September 2007)
Reply

Bookmarks

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
ispconfig installation errors kcmohan Installation/Configuration 1 9th April 2007 20:14
Flash PLayer 9 Installation robertpolson Installation/Configuration 1 18th January 2007 09:15
newbie ububtu 6.0.6 error PHP binary line 816 davidsky73 Installation/Configuration 8 17th September 2006 11:51
I think I have messed up the upgrade badben Installation/Configuration 1 20th July 2006 12:46
ISPC install stops str2etboy Installation/Configuration 19 28th January 2006 07:18


All times are GMT +2. The time now is 05:55.


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