#1  
Old 16th June 2011, 23:29
filipealvarez filipealvarez is offline
Junior Member
 
Join Date: Apr 2009
Posts: 29
Thanks: 0
Thanked 1 Time in 1 Post
Default How can I recreate /etc/group

Hi all, How can I force ispconfig to recreate /etc/group file?

Look:

root@web:~# cat /etc/passwd|nl|tail -n2
318 web743:x:5391:5149::/var/www/clients/client153/web743:/bin/false
319 web745:x:5392:5004::/var/www/clients/client2/web745:/bin/false

root@web:~# cat /etc/shadow|nl|tail -n2
318 web743:!:15139:0:99999:7:::
319 web745:!:15141:0:99999:7:::

root@web:~# cat /etc/group|nl|tail -n2
187 client142:x:5130:www-data
188 sshusers:x:5131:web206,web150,web5,web6,web16,web4 0,web43,web44,web45,web47,web49,web50,web51,web52, web54,web55,web56,web57,web218,web62,web63,web64,w eb66,web70,web72,web73,web74,web75,web76,web,web72 0,web745


So When i try to start apache, i get the follow error:


* Starting web server apache2 apache2: bad group name client212


Please someone help, i'm getting crazy with this =(

Thank you so much
Reply With Quote
Sponsored Links
  #2  
Old 17th June 2011, 09:49
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

There is no caommand available to recreate all groups. The only way to let ispconfig do this is by removing all website symlinks of the sites were the group is missing (not the ones starting with 000-...) in the /etc/apache2/sites-enabled directory. Thne start apache, login to ispconfig and edit a value in every affected website (e.g. increase quota) and click on save. ISPConfig will then write the new website config and create the group again and activate the site.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 17th June 2011, 13:55
filipealvarez filipealvarez is offline
Junior Member
 
Join Date: Apr 2009
Posts: 29
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

Thanks Till, I did your suggestion and now everything is working again

Have a great day!
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 Users Permissions guimnk Installation/Configuration 14 14th April 2011 18:26
/etc/group playcraft General 5 17th September 2010 15:14
The easiest way to recreate /var/www/webX directory cvladan Installation/Configuration 1 9th May 2009 14:30
Can't recreate deleted user / e-mail address kentis Installation/Configuration 2 16th July 2008 22:04
Recreate email Felipe General 3 13th December 2005 21:45


All times are GMT +2. The time now is 13:46.


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