Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: engsvang on June 20, 2005, 09:25:35 PM

Title: account exists as ibay - error
Post by: engsvang on June 20, 2005, 09:25:35 PM
When i try to make a ibay named phpsysinfo again, i get the follwing message

"Operation status report
The account "phpsysinfo" is an existing system account."

I have the same problem for another ibay. Else it is no problem with create/delete a ibay from SME SERVER

Please help
Rolf
Title: account exists as ibay - error
Post by: gardnc on June 22, 2005, 12:24:26 AM
It is not possible on an SME to have a user and an ibay of the same name.  Sounds like you either already have a user of the name phpsysinfo or an existing ibay.
Title: ibay, problem
Post by: engsvang on June 22, 2005, 04:21:13 PM
Hi
I have priviously created a ibay named phpsysinfo and fileexchange, and earlier i deleted them. And now i cant create them again, sme server somehow remembers the old one. But when i enter ibay, they are not presented and if i enter the directory home, e-smith, ibay they are not listed
Title: Re: ibay, problem
Post by: DarkMirage on June 22, 2005, 05:12:11 PM
Quote from: "engsvang"
earlier i deleted them


I believe you may be experiencing a "ibay-deleted" issue. Something may have gone wrong in the deletion of this ibay

First you should check if the account exists in the accounts database:
Code: [Select]
db accounts show phpsysinfo

This will probably tell you it's there, and give you the current properties.
Do not do the following if it says other then:
phpsysinfo=ibay
or
phpsysinfo=ibay-deleted
Anything else would mean the account really does exist.. And you would need to take care of that specific type of account.

You can try to delete the ibay manually. Do this at your own risk...
If the above command told you phpsysinfo=ibay-deleted you can ignore the following:
Code: [Select]
db accounts settype phpsysinfo ibay-deleted

Then run the event to delete the ibay:
Code: [Select]
/sbin/e-smith/signal-event ibay-delete phpsysinfo

Check for error messages:
Code: [Select]
tail -100 /var/log/messages | more
(The last 100 lines might be overkill...)
You should resolve any errors that came up before continuing.

Delete the account:
Code: [Select]
db accounts delete phpsysinfo
and try to create the ibay again...

Hth
Title: My problem corrected
Post by: engsvang on June 23, 2005, 06:59:42 PM
Hi
Tks for your help, with the db command it was possible to delete and create again.

Regards
Rolf