Koozali.org: home of the SME Server

account exists as ibay - error

engsvang

account exists as ibay - error
« 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

gardnc

account exists as ibay - error
« Reply #1 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.

engsvang

ibay, problem
« Reply #2 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

DarkMirage

Re: ibay, problem
« Reply #3 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

engsvang

My problem corrected
« Reply #4 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