--- Michael Stauber <bq (at mark) solarspeed.net> wrote:
>
> 1.) In the past there was already a site with the group name "site70" on
> the
> server and it got deleted. Unfortunately some files belonging to users of
>
> that group or some files belonging to the group "site70" itself were not
> deleted when the site was erased.
>
> Now when you try to create a site and it assigns "site70" as group name,
> it
> first tries to create the webspace (group directory for "site70"), but
> that
> directory may already be present from the previous site with that group
> name.
I had never reached that number before this issue. I had tried to delete
what was site59 and apparently it didn't delete everything. It went
downhill from there. So...
> 2.) The more likely cause: Your user and/or group info stored in the PAM
> database is corrupted and the group "site70" cannot be created.
>
> In that case one of the easiest solutions would be to convert the box
> from PAM
> to Shadow, as outlined in the forum posting whose URL you posted.
>
> If you're uncomfortable to do the conversion "by hand", then please read
> this:
>
>
http://www.solarspeed.net/otrs/public.pl?Action=PublicFAQ&CategoryID=3&ItemID=38
>
> It offers a much simpler way of converting the system.
OK, I have done that. I was now able to create the new site. But it is not
allowing me to create a user. It hasn't affected existing users. I can
still log in via FTP under other sites. At first go, I wasn't using a
strong enough password, and it warned me, so I changed to what I thought
would be a strong password for a new user: op9TZi76b9576 (same length and
similar to the p/w I actually used)
I didn't get a warning this time, it just returned me to a blank "Add User"
screen, but this one without the ability to make the user a Site
Administrator. Still no joy in getting a user added.
Tried again after a few minutes, and this time I get a warning:
A user account could not be created because of a system error.
In /var/log/messages:
Jun 6 12:28:03 admin cced(smd)[7922]: client 6:[48:5564]: CREATE "User"
"fullName" "=" "Dan K" "ftpDisabled" "=" "0" "capLevels" "=" "&siteAdmin&"
"sortName" "=" "" "emailDisabled" "=" "0" "volume" "=" "/home"
"description" "=" "" "name" "=" "username" "password" "=" xxx
"stylePreference" "=" "trueBlue" "site" "=" "site75" "enabled" "=" "1"
"localePreference" "=" "browser"
Jun 6 12:28:03 admin cced(smd)[7930]: client [0:7929] has admin rights
Jun 6 12:28:03 admin cced(smd)[7931]: client [0:7929] has admin rights
Jun 6 12:28:03 admin cced(smd)[7932]: client [0:7929] has admin rights
Jun 6 12:28:03 admin cced(smd)[7922]: handler
handlers/base/user/handle_user.pl failed
Jun 6 12:28:04 admin cced(smd)[7922]: client 6:[48:5564]: CREATE failed
--
Dan Kriwitsky