HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   cant create user (http://www.howtoforge.com/forums/showthread.php?t=5406)

t_ras 7th July 2006 19:35

cant create user
 
after giving up trying to get mail for a local user I decided to delete the user and create it as vuser in a site in ISPConfig, but every time itryed to create it, it says it allready exist.
I removed all traces of user (I think) including its file in /var/spool...still...
I also checked all tables if the string of the user name exist in them -it doesn't...
I try restarting server, recreating and redeletting it -no can do...

Any idea?

Hans 7th July 2006 20:06

Recycle bin
 
Maybe the user still excists in a recycle bin within ISPConfig...
If so, make it empty first to proceed.

t_ras 8th July 2006 09:18

nope, I tryed that too...

Hans 8th July 2006 09:23

Does the user still excists within your file /etc/postfix/virtusertable ?
If so, you know what to do...

t_ras 8th July 2006 09:48

no, I deleted from there too.

Hans 8th July 2006 10:45

Have a look at your database for ISPConfig.

In phpMyAdmin, fist select the ISPConfigdatabase (default= ispconfigdb) then go to isp_isp_user table and check your user records.
If you find the user which must be deleted, delete it by pressing the red cross.
Warning: be carefull do not screw your database!

At the other hand, if you can't find the user within the database it does not excists there.

till 8th July 2006 12:18

Quote:

Originally Posted by Hans
Have a look at your database for ISPConfig.

In phpMyAdmin, fist select the ISPConfigdatabase (default= ispconfigdb) then go to isp_isp_user table and check your user records.
If you find the user which must be deleted, delete it by pressing the red cross.
Warning: be carefull do not screw your database!

At the other hand, if you can't find the user within the database it does not excists there.

I do not recommend deleting records manually. If you delete only the record in the isp_isp_user table, you destry the referential integrity of the database, as the permission record in isp_nodes and the dependency record in isp_dep is not deleted.

Hans 8th July 2006 17:11

Thank you for your advise Till, i apriciate it of course, but do you have any other solution for t_ras?

If he can not create the user he wants and it is not visible in ISPConfig and not in /etc/postfix/virtusertable, what can he do now?

Strange no?

falko 9th July 2006 13:48

Quote:

Originally Posted by t_ras
after giving up trying to get mail for a local user I decided to delete the user and create it as vuser in a site in ISPConfig, but every time itryed to create it, it says it allready exist.
I removed all traces of user (I think) including its file in /var/spool...still...
I also checked all tables if the string of the user name exist in them -it doesn't...
I try restarting server, recreating and redeletting it -no can do...

Any idea?

Please check if that user is listed in /home/admispconfig/ispconfig/users. That file contains all usernames that existed on the system when ISPConfig was installed. Whenever you create a new user with ISPConfig, ISPConfig checks that file in order to avoid creating a user twice.

Hans 9th July 2006 14:39

Yes of course, that is better and should be checked first!

By the way, congratulations with Germany (3) - Portugal (1).
Holland could not make it against them :(


All times are GMT +2. The time now is 21:27.

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