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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th September 2007, 09:24
AlArenal AlArenal is offline
Senior Member
 
Join Date: Feb 2007
Location: Germany
Posts: 104
Thanks: 1
Thanked 5 Times in 5 Posts
Unhappy Unintentionally deleted /root/ispconfig/

Hi!

I unintentionally deleted /root/ispconfig/ on one of my Debian Etch 64 Bit boxes. The automatic webserver restart did not work anymore, therefore I had to comment out the CustomLog entry in /etc/apache2/apache2.conf to be able to start the web server.

I'm now curious what to do to get things going again. I downloaded ISPC again and began the install process, but stopped it immediately because it did not seem to recognize the current installation and I didn't want to further mess up my box.

May I just copy /root/ispconfig from another Debian Etch 64 Bit box or is there another way?
Reply With Quote
Sponsored Links
  #2  
Old 18th September 2007, 10:17
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,576
Thanks: 792
Thanked 4,980 Times in 3,901 Posts
Default

Please run:

mkdir /root/ispconfig

Then run the ISPConfig setup script from your fresh downloaded version, ISPConfig will perform a update then.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 18th September 2007, 11:27
AlArenal AlArenal is offline
Senior Member
 
Join Date: Feb 2007
Location: Germany
Posts: 104
Thanks: 1
Thanked 5 Times in 5 Posts
Default

Thanks, Till!

But at the end of the install process I get:

Code:
Starting ftp server: proftpd - setting default address to 127.0.0.1
.
Shutting down ISPConfig system...
/root/ispconfig/httpd/bin/apachectl stop: httpd (no pid file) not running
ISPConfig system stopped!
Starting ISPConfig system...
/root/ispconfig/httpd/bin/apachectl startssl: httpd could not be started
ISPConfig system is now up and running!
Herzlichen Glueckwunsch! Ihr ISPConfig-System ist jetzt installiert. Falls Sie Quota nachinstalliert haben, fuehren Sie noch die in der Installationsanleitung beschriebenen Schritte durch. Ansonsten ist Ihr System jetzt ohne Reboot einsatzbereit.

srv002:~/install_ispconfig#
Trying to start ISPC manually I get:

Code:
srv002:~/install_ispconfig# /etc/init.d/ispconfig_server start
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
Starting ISPConfig system...
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
/root/ispconfig/httpd/bin/apachectl startssl: httpd could not be started
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
FreshClam is already running!
ISPConfig system is now up and running!
srv002:~/install_ispconfig#
I think it may have to do with a missing SSL certificate, that got deleted as well?
Reply With Quote
  #4  
Old 18th September 2007, 12:04
jnsc jnsc is offline
rotaredoM
 
Join Date: Mar 2006
Location: Lausanne, Switzerland
Posts: 525
Thanks: 10
Thanked 170 Times in 77 Posts
Default

ISPConfig deletes the directory after the installation. You get this messages because you are in an non existing directory. Just type
Code:
cd
this should solve your problem.
Reply With Quote
  #5  
Old 18th September 2007, 12:34
AlArenal AlArenal is offline
Senior Member
 
Join Date: Feb 2007
Location: Germany
Posts: 104
Thanks: 1
Thanked 5 Times in 5 Posts
Default

ISPC just keeps on pretending it is running, but in fact, it is not.

Code:
srv002:~# /etc/init.d/ispconfig_server start
Starting ISPConfig system...
/root/ispconfig/httpd/bin/apachectl startssl: httpd could not be started
FreshClam is already running!
ISPConfig system is now up and running!

Last edited by AlArenal; 18th September 2007 at 15:12.
Reply With Quote
  #6  
Old 18th September 2007, 16:18
AlArenal AlArenal is offline
Senior Member
 
Join Date: Feb 2007
Location: Germany
Posts: 104
Thanks: 1
Thanked 5 Times in 5 Posts
 
Default

Okay, I got it!

Just had to tweak around a bit until I got a chance to run "make certificate" in ISPC's apache sources and had to insert the certificate files into the installation.

Finally I got it back up and runnning again
Reply With Quote
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
No files deleted after user deleted fareasd General 1 28th August 2007 14:44
Upgrade causes the removal of /root/ispconfig due to compile failure lawrenceong Feature Requests 3 24th April 2007 13:25
Recyle bin not emptying, DNS entries not deleted dcy747 General 3 26th March 2007 16:56
domains not deleted nenad Installation/Configuration 3 23rd September 2006 19:48
The reseller was not deleted. Hellbound General 2 6th September 2005 10:05


All times are GMT +2. The time now is 09:56.


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