CPanel User Files - Restoring?

idn

Well-Known Member
Aug 18, 2001
61
0
306
What to do, what to do.....

Is there anything that can be done to rebuild CPANEL USER FILES (the ones that contain the username, ip, reseller/owner, etc) if all I have is the /home/ drives for them......

My datacenter reinstalled cpanel, therefore all of the /usr/ files for cpanel were cleared... Im stuck in a **** hole, and i dont think its going to be easy to get out..

any info would be greatly appreciated.

cPanel.net Support Ticket Number:
 

idn

Well-Known Member
Aug 18, 2001
61
0
306
alright..

i have the /var/cpanel/user files back,however apache still tells me that the usernames in the CONF file are bad.

cPanel.net Support Ticket Number:
 

dgbaker

Well-Known Member
PartnerNOC
Sep 20, 2002
2,531
9
343
Toronto, Ontario Canada
cPanel Access Level
DataCenter Provider
That's probably because those users and groups have not been recreated on the system.

Any time a system is rebuilt the accounts also need to be recreated. Check in /etc/passwd and you'll probably see that the user ids are not in there.

cPanel.net Support Ticket Number:
 

idn

Well-Known Member
Aug 18, 2001
61
0
306
Yep, that was the prob. I realized that about 5 mins after I posted, and ran the rebuildetcpasswd script.

cPanel.net Support Ticket Number: