Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th March 2009, 13:27
LazyEyes LazyEyes is offline
Junior Member
 
Join Date: Mar 2009
Location: Asia
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Account corruption, can't see sites anymore on ISPConfig 2 and CentOS 4

Hi guys, need some serious help. Server ran out of diskspace 2 days ago and that left me with corrupted /etc/group /etc/passwd is there anyway to restore these? Now none of my sites are running.

Entering ISPConfig's admin, I can't see each Client's Sites. It shows me "Warning: Invalid argument supplied for foreach() in /home/admispconfig/ispconfig/lib/plugins/isp_kunde_weblist.plugin.php on line 67"

Trying to save any changes to a site shows me "Warning: Invalid argument supplied for foreach() in /home/admispconfig/ispconfig/lib/classes/ispconfig_isp_web.lib.php on line 836"



Thanks in advance
Reply With Quote
Sponsored Links
  #2  
Old 11th March 2009, 00:31
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,386 Times in 4,231 Posts
Default

Do you have a backup of the passwd, shadow, and group file and the ispconfig mysql database?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 11th March 2009, 01:50
LazyEyes LazyEyes is offline
Junior Member
 
Join Date: Mar 2009
Location: Asia
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Till

I don't have a complete backup, my group/passwd/backup files only show a x for the passwords, so it looks like the system is restricting access to some privileges. I've manually edited the /etc/passwd for root and used pwconv to restore root and that seems to work fine.

But how do i restore the ispconfig accounts? MySQL information is intact.
Reply With Quote
  #4  
Old 11th March 2009, 05:23
LazyEyes LazyEyes is offline
Junior Member
 
Join Date: Mar 2009
Location: Asia
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok so I've restored the basic accounts like root and user, and I've managed to restart httpd. Now all the domains show the blue shared ip holding page "This IP address is shared. For access to the web site which you look for, enter its address instead of its IP."

How can I get my sites back?
Reply With Quote
  #5  
Old 11th March 2009, 09:37
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,386 Times in 4,231 Posts
Default

Do you have a backup of the ispconfig database?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 11th March 2009, 11:33
LazyEyes LazyEyes is offline
Junior Member
 
Join Date: Mar 2009
Location: Asia
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Okay reloaded a backup of the mysql files, found a corruption on one of the tables (probably from the diskspace error). Most of the sites are up, will attempt to recreate the problem ones.

Just a last question, I can't see my reseller's DNS accounts. Wondering why this is so.

Thanks Till!
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.0.7 Beta released till General 78 24th December 2008 11:47
ISPCONFIG Anti-Spam filter not causing problems for user account vestport Server Operation 16 12th August 2008 23:22
CentOS 5.1 - ISPConfig Installation completed but init.d/ispconfig_server not found?? tozden Installation/Configuration 1 15th May 2008 10:21
ISPConfig 2.3.2-dev released till General 9 4th June 2007 10:46
Install ISPConfig on CentOS Server, in brief gfts Tips/Tricks/Mods 11 4th April 2006 08:29


All times are GMT +2. The time now is 02:23.


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