The Laughing Cow
02-26-2002, 02:24 PM
Has anyone else noticed in Cpanel/WHM that if you delete a domain and then readd it with exactly the same user/pass and all details, it then doesn't work properly?
I seem to have this problem and wonder if its just me?
Your not the only one. By the way, did you just recently create the account in questions? I have heard that this problem is caused by the account being created and deleted to quickly. I havent had a chance to investigate further yet. I believe the only known cure is to delete everything related to the account manually.
The Prohacker
02-26-2002, 07:39 PM
Cpanel, have bugs? Never...... *gasp* sarcasim
I've had the same problem, I had several accounts halfway disappear, so I had to remake them... To fix this, edit your /etc/passwd, and remove the line with the user's name on it.. Then save and make the account via WHM, that should fix it....
The Laughing Cow
02-26-2002, 07:45 PM
I have had this with both new but also an old account which i did it with today.
This editing thing - can I do this even though I am a reseller? I still have near-none SSH/Telnet knowledge on RH 7.1
On that point- does anyone have URL's of some simple Linux starting guides?
The Prohacker
02-26-2002, 07:47 PM
Originally posted by The Laughing Cow
This editing thing - can I do this even though I am a reseller? I still have near-none SSH/Telnet knowledge on RH 7.1
If your a reseller.. No, sorry, I assumed that you had root access, you'll have to ask your host to fix this problem.. Sorry....
JumpDomain
02-26-2002, 09:55 PM
Hello,
I believe that CPanel uses SafeFile to lock a file for added protection. If you see a file such as /etc/passwd.lock then the lock was never cleared so when CPanel tries to delete the line from that file it will just "skip" it. Just remove the file with a .lock after it and it will fix this problem. Of course, you cannot do this as a reseller though :)
Perfecthost
03-01-2002, 11:20 PM
I ran across something similar last week. I had set up a test account and later terminated it. Unfortunately, it still showed up when I listed the accounts in WHM. I did the following:
cd /var/cpanel/users
rm (username)
y
However, I still found traces of the test account in /etc/proftpd (I believe it was). Always little bits and pieces you have to clean up, it seems.
-Lamar