Old 17th June 2011, 00:29
filipealvarez filipealvarez is offline
Join Date: Apr 2009
Posts: 34
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?


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
Old 17th June 2011, 10:49
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,986
Thanks: 840
Thanked 5,647 Times in 4,457 Posts

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
Old 17th June 2011, 14:55
filipealvarez filipealvarez is offline
Join Date: Apr 2009
Posts: 34
Thanks: 0
Thanked 1 Time in 1 Post

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

Have a great day!
Reply With Quote


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

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

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