Koozali.org: home of the SME Server

Removing ibays

Noah

Removing ibays
« on: December 20, 2000, 12:55:22 AM »
I recently removed an ibay.  Now, if I try to re-create it or create a user with the same name, I get an error and I am told: "[the ibay]  is an existing ibay-deleted account".  Is there anyway to re-use deleted ibay names?

Charlie Brady

RE: Removing ibays
« Reply #1 on: December 20, 2000, 01:30:33 AM »
Noah wrote:

> I recently removed an ibay.  Now, if I try to re-create it or
> create a user with the same name, I get an error and I am told:
> "[the ibay]  is an existing ibay-deleted account".
> Is there anyway to re-use deleted ibay names?

You are probably running a beta version of 4.0.  If not, you should look through your system and httpd log files to identify an error message which occured at the time of the failed i-bay deletion. If you find it, please send it in email to bugs@e-smith.com.

If you have upgraded your system to version 4.0.1, then you can delete the remnants of that account by doing (assuming that your i-bay was called "blah"):

/sbin/e-smith/db accounts delete blah

You could instead edit /home/e-smith/accounts and delete the line containing "blah=ibay-deleted".

Regards

Charlie

Noah

RE: Removing ibays
« Reply #2 on: December 20, 2000, 01:56:52 AM »
Charlie Brady wrote:

> You are probably running a beta version of 4.0.  If not, you

I am running 4.0.1.  By error, I meant the message displayed on the e-smith manager after I tried re-creating the ibay.  There was no error in the httpd log.

> If you have upgraded your system to version 4.0.1, then you can
> delete the remnants of that account by doing (assuming that
> your i-bay was called "blah"):
>
> /sbin/e-smith/db accounts delete blah

This worked and now everything is fine.  Is there a reason why this is not done automatically when the ibay is deleted?

> You could instead edit /home/e-smith/accounts and delete the
> line containing "blah=ibay-deleted".
>

I was just about to do this, but I decided to ask for help first.  Thanks for you quick response.

Noah

Charlie Brady

RE: Removing ibays
« Reply #3 on: December 20, 2000, 02:11:47 AM »
Noah wrote:

> Charlie Brady wrote:
>
> > You are probably running a beta version of 4.0.  If not,
> you
>
> I am running 4.0.1.

Were you running 4.0.1 when you deleted the i-bay?

>  By error, I meant the message displayed on
> the e-smith manager after I tried re-creating the ibay.

No. I mean the error in your log file when you deleted the i-bay.

> > > /sbin/e-smith/db accounts delete blah
>
> This worked and now everything is fine.  Is there a reason why
> this is not done automatically when the ibay is deleted?

It is done automatically at the end of the i-bay deletion process. The fact that it was not done indicates that the i-bay deletion process did not complete. This was a known problem in one of the 4.0 betas. We have not seen it since, so we'd like you to look for any evidence of the cause in your system and apache error log files at the time of the i-bay deletion.

Thanks

Charlie