Error Unable to fetch the cPanel user file for

Ahmed Abozaid

Registered
Jan 17, 2010
4
0
51
When modifying a particular account under Modify Account, the following error occurs when saving:

"Unable to fetch the cPanel user file for username"
 
Last edited:

Ahmed Abozaid

Registered
Jan 17, 2010
4
0
51
PHP:
[email protected] [/var/cpanel/users]# cat w22com
# cPanel -- If you edit this file directly you must run /usr/local/cpanel/scripts/updateuserdomains afterwards to rebuild the system caches.
# If you edit MAX_EMAIL_PER_HOUR or MAX_EMAIL_PER_HOUR-[domain] you must run /usr/local/cpanel/scripts/update_email_limits
BWLIMIT=unlimited
CONTACTEMAIL=
CONTACTEMAIL2=
DBOWNER=w22com
DEMO=0
DNS=w22com.net
DNS1=ns1.w22com.net
DNS2=ns2.w22com.net
DNS3=ns2.otherdomain.com
DNS4=ns1.otherdomain.com
FEATURELIST=default
HASCGI=1
IP=184.111.186.255
LANG=en
LOCALE=en
MAXADDON=0
MAXFTP=unlimited
MAXLST=unlimited
MAXPARK=0
MAXPOP=unlimited
MAXSQL=unlimited
MAXSUB=unlimited
MTIME=1307612130
OWNER=root
PLAN=magic
RS=x3
STARTDATE=1244554612
SUSPENDTIME=1304487577
USER=momo4host
notify_disk_limit=
notify_email_quota_limit=
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
What are the permissions and ownership on that file? Does that user exist in /etc/passwd, /etc/group and /etc/shadow locations?

Code:
ls -lah /var/cpanel/users/username
grep username /etc/passwd /etc/group /etc/shadow
Please replace username with the cPanel username.
 

filth80

Well-Known Member
Dec 11, 2009
89
0
56
"Unable to fetch the cPanel user file for traficho" . The problem is that the username for this account is different and i can't find "traficho" username anywhere.I deleted some time ago.What should i do?
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hello,

So this user is showing up as existing when the user doesn't exist and you are wanting this user wiped from the system? Have you checked these locations for the user?

Code:
grep traficho /etc/*
grep traficho /var/cpanel/users/*
grep -R traficho /var/cpanel/userdata/*
grep traficho /usr/local/apache/conf/httpd.conf
Thanks!