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 30th April 2010, 17:10
deerhuntre deerhuntre is offline
Junior Member
 
Join Date: Apr 2010
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default Upgraded to ISPConfig-2.2.35, lost /root/ispconfig/httpd etc

I upgraded Fedora 10 to 11, then 11 to 12. Then, I updated to ISPConfig-2.2.35. The directories under /root/ispconfig/ are all gone except the isp directory.

This occurred during the upgrade/installation, by the way:

Code:
Preparing files. Please wait a moment...
cp: cannot stat `/root/ispconfig/httpd/conf/ssl.*': No such file or directory
Just for snicks, I recreated (mkdir httpd) and re-ran the ISPConfig-2.2.35 install. The directories were again removed.

Below are the errors when I start the ispconfig server.


Code:
/etc/init.d/ispconfig_server: line 45: /root/ispconfig/httpd/bin/apachectl: No such file or directory
/etc/init.d/ispconfig_server: line 48: /root/ispconfig/php/php: No such file or directory
/etc/init.d/ispconfig_server: line 52: /home/admispconfig/ispconfig/tools/clamav/bin/freshclam: Permission denied
I do have nightly backups and can restore as necessary, but if there's a better way to recover from this and complete the upgrade, I would rather do that. Please let me know the best approach to complete the upgrade or fix the issue.

Thank you!!

Last edited by deerhuntre; 30th April 2010 at 17:26.
Reply With Quote
Sponsored Links
  #2  
Old 30th April 2010, 18:08
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

The y were removed because the ispconfig update could not be completed. The reason is that there are most likely some missing packages. Run:

mkdir /rror/ispconfig

then run the ispconfig upadte again and when it sops, scroll in your shell content to find the first error message (which is somewhere in the compile output) and post it there.

As alternative, go trough this guide step by step:

http://www.howtoforge.com/perfect-se...64-ispconfig-2

and make sure that all the packages are installed. The run the mkdir command from above and then the update again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 30th April 2010, 19:47
deerhuntre deerhuntre is offline
Junior Member
 
Join Date: Apr 2010
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default shell content output results--error

Please let me know if this is not what you were looking for:

Code:
===> src/support
make[2]: Entering directory `/home/xyz/software/install_ispconfig/compile_aps/apache_1.3.41/src/support'
gcc -c  -I../os/unix -I../include   -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208131 -DUSE_HSREGEX -DEAPI `../apaci` htpasswd.c
htpasswd.c:101: error: conflicting types for ‘getline’
/usr/include/stdio.h:653: note: previous declaration of ‘getline’ was here
make[2]: *** [htpasswd.o] Error 1
make[2]: Leaving directory `/home/xyz/software/install_ispconfig/compile_aps/apache_1.3.41/src/support'
make[1]: *** [build-support] Error 1
make[1]: Leaving directory `/home/xyz/software/install_ispconfig/compile_aps/apache_1.3.41'
make: *** [build] Error 2
ERROR: Could not make Apache
cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/aps.tar.gz': No such file or directory
mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory
mv: cannot stat `binaries/clamav.tar.gz': No such file or directory
mv: cannot stat `binaries/cronolog': No such file or directory
mv: cannot stat `binaries/cronosplit': No such file or directory
mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
mv: cannot stat `binaries/zip': No such file or directory
mv: cannot stat `binaries/unzip': No such file or directory
tar: spamassassin.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
mv: cannot stat `spamassassin': No such file or directory
tar: uudeview.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
mv: cannot stat `uudeview': No such file or directory
tar: clamav.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
mv: cannot stat `clamav': No such file or directory
tar: aps.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
mv: cannot stat `ispconfig_tmp': No such file or directory
cp: cannot stat `dist.info': No such file or directory
All prerequisites are fulfilled.
Here we go...
chmod: cannot access `./install.php': No such file or directory

./setup2: line 1090: mysql_config: No such file or directory
./setup2: line 1091: httpd: No such file or directory
./setup2: line 1092: httpd2: No such file or directory
./setup2: line 1093: httpd2: No such file or directory
./setup2: line 1103: ip_addresses: No such file or directory
./setup2: line 1105: /root/ispconfig/php/php: No such file or directory
./setup2: line 1106: /root/ispconfig/dist.info: No such file or directory
Restarting some services...
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
[Fri Apr 30 11:24:54 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
./setup2: line 1143: [: ==: unary operator expected
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Shutting down ISPConfig system...
/etc/rc.d/init.d/ispconfig_server: line 66: /root/ispconfig/httpd/bin/apachectl: No such file or directory
ISPConfig system stopped!
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Starting ISPConfig system...
/etc/rc.d/init.d/ispconfig_server: line 45: /root/ispconfig/httpd/bin/apachectl: No such file or directory
/etc/rc.d/init.d/ispconfig_server: line 48: /root/ispconfig/php/php: No such file or directory
ISPConfig system is now up and running!
Congratulations! Your ISPConfig system is now installed. If you had to install quota, please take the steps described in the installation manual. Otherwise your system is now available without reboot.

./setup2: line 1189: cd: /home/xys/software/install_ispconfig/compile_aps/../..: No such file or directory

Last edited by deerhuntre; 30th April 2010 at 19:49.
Reply With Quote
  #4  
Old 30th April 2010, 20:00
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

See step 16 of the tutorial:

http://www.howtoforge.com/perfect-se...ispconfig-2-p5
__________________
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:
deerhuntre (30th April 2010)
  #5  
Old 30th April 2010, 20:42
deerhuntre deerhuntre is offline
Junior Member
 
Join Date: Apr 2010
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default

AAAhhhh! It works!

Thank you so very much! I had to rebuild my ssl certs and once done, all was good.

I really appreciate your help!
Reply With Quote
  #6  
Old 4th May 2010, 12:11
hahni hahni is offline
Member
 
Join Date: Dec 2007
Posts: 67
Thanks: 1
Thanked 0 Times in 0 Posts
Question

I have the same problems, but with Ubuntu 10.04LTS

__

cp: cannot stat `/root/ispconfig/httpd/conf/ssl.*': No such file or directory
__

Step 16 is the same like in the Ubuntu-Tut. But it could not fix my problems.
__________________
björn hahnefeld InformationsTechnologien * Regensburg
.::. Magento - TYPO3 - Webdesign Regensburg .::.

Internet: http://www.hahnefeld.de
E-Mail: bjoern@hahnefeld.de

Last edited by hahni; 4th May 2010 at 14:23.
Reply With Quote
  #7  
Old 5th May 2010, 16:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

What are the outputs of
Code:
ls -la /root/ispconfig/
and
Code:
ls -la /home/admispconfig/
?
__________________
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
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 3.0.1 released till General 36 29th March 2009 14:30
Loads of mysql connections to dbispconfig StrikerNL General 2 5th March 2009 14:31
ISPConfig 3.0.0.7 Beta released till General 78 24th December 2008 11:47
Lost connection during install ISPconfig with server comedit Installation/Configuration 9 7th August 2006 14:57
Installed 2.2.5 but lost content in ISPconfig comedit Installation/Configuration 8 3rd August 2006 10:48


All times are GMT +2. The time now is 14:49.


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