Show All Users not listing all - timeout

aodat2

Verified User
Joined
May 9, 2006
Messages
38
Hi guys,

It seems that my DA is acting up again. I have done nothing on it and yet it seems that something went wrong again with DA somehow.

Anyways my problem is quite serious. After logging in as an Admin User, it seems that when I try to click on "Show All Users", it will list till a certain user and then it will stop listing after that and just timeout.

It will list all users from A till S and then it will stop listing any other users after that. Users with T, U, V, W, X, Y and Z won't get listed at all. It basically stays dead at the point where it list till S.... then it will say "Transferring data from ... " and stay like that for quite some time and then just timeout. The rest of my list down there will not be seen.

Since I wanted to check on a few things and change the DNS of a client, I also tried looking into "DNS Administration" and the same thing happens. It still lists till S... and won't go further than that.

I've never had anything like this before. I'm kinda stuck and if anyone has ever came across such a thing or if anyone could help me get this resolved, I would really appreciate it a lot.

Just to add some info in here, I don't think that the nightly run is working as well. It seems that the email count reset is not working for my client with the username that begins with T as well. As they complain that they can't send out emails and we had to reset their email count to 0 manually.

Also seems that backup is not working as well. The file /usr/local/directadmin/data/task.queue will never get done and just sits there accumulating more and more requests.

What has happened to my DA?

Thanks a bunch in advance. :)
 
Last edited:
Hello,

You should check directadmin error logs located in /var/log/directadmin/ using root shell access, or in Log Viewer of directadmin.
If logs don't give a clue, then you might need to run directadmin in debug mode and see what does it complain about.

My guess would be, that if your usernames are made from shortened domain names, then a user has a domain with bad chars in its name.

Anyway without logs and debugging there is nothing to say more helpful.

Please note, some active members of these forums can solve your issue in terms of a commerce server. I'm also available for this kind of a job.
 
After going through debug mode... this is basically what I got...

Command::doCommand(/CMD_ALL_USER_SHOW)
Command::doCommand(/CMD_ALL_USER_SHOW) : finished
Command::run: finished /CMD_ALL_USER_SHOW
Sockets::handshake - begin
Sockets::handshake - end
Cannot find first space after where GET or POST should be

At the point where I got the "Cannot find first space after where GET or POST should be", it reaches the domain where it could not display so...

What is the problem that causes this?

Any help would be very much appreciated.
 
Considering the fact that I have WHMCS setup to that, I have terminated the user and everything is now back to normal.

This is what happens when I try to add that user again...

Sockets::handshake - begin
Sockets::handshake - end
InternalText::init(authentication)
/CMD_ACCOUNT_USER
0: Accept-Encoding: gzip, deflate
1: Accept-Language: en-US,en;q=0.5
2: Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
3: Connection: keep-alive
4: Content-Length: 162
5: Content-Type: application/x-www-form-urlencoded
6: Cookie: session=3Kp6PvcPr08MTTAqPYMdkVNa8TQ6XVVapIhFDHc2IkPjEXXb5tDpNaNT1nZZJ276
7: Host: www.(mydomain).com:2222
8: Referer: http://www.(mydomain).com:2222/HTM_ACCOUNT_USER_CREATE
9: User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0
Request Headers: **************
0: Accept-Encoding: gzip, deflate
1: Accept-Language: en-US,en;q=0.5
2: Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
3: Connection: keep-alive
4: Content-Length: 162
5: Content-Type: application/x-www-form-urlencoded
6: Cookie: session=3Kp6PvcPr08MTTAqPYMdkVNa8TQ6XVVapIhFDHc2IkPjEXXb5tDpNaNT1nZZJ276
7: Host: www.(mydomain).com
8: Referer: http://www.(mydomain).com:2222/HTM_ACCOUNT_USER_CREATE
9: User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0
**************
Post string:
Authentication::authenticated: client_ip=219.92.173.193 client_command=CMD_ACCOUNT_USER
Authentication::check_referer(referer=http://www.(mydomain).com:2222/HTM_ACCOUNT_USER_CREATE, origin=(null))
Checking referer http://www.(mydomain).com:2222/HTM_ACCOUNT_USER_CREATE to www.(mydomain).com:2222
Referer check passed: www.(mydomain).com=www.(mydomain).com 2222/HTM_ACCOUN=2222
InternalText::init(user)
InternalText::init(command)
InternalText::init(system)
Admin::isAllowedToExecute(/CMD_ACCOUNT_USER)
Admin::isAllowedToExecute(/CMD_DOMAIN)
Reseller::isAllowedToExecute(/CMD_DOMAIN)
User::isAllowedToExecute(/CMD_DOMAIN)
Command::doCommand(/CMD_ACCOUNT_USER)
Command::doCommand(/CMD_ACCOUNT_USER) : finished
Command::run: finished /CMD_ACCOUNT_USER
Send::sendData(/HTM_TEMPLATE) sendNothing=0
Send::sendData: DONE. Sent: 6048 bytes


This is what will come up on my Browser...

directadmin_probforum.jpg


Ps. I changed the domain name personally... so there is a valid domain there. Just not putting it out in public.
 
Last edited:
The domain of your user might need to be puny-encoded if it contains any national chars. I don't see any other possible reason.
 
The funny thing is that the domain and everything works perfectly the first few days.

After that, it seems that the problem starts arising and this is 1 of them. There's no other problems about 1 week ago.

Seems kinda funny and strange.
 
No it is not...

It is just a normal domain name. English to be exact. Normal characters... tawhed.net. Nothing special in place, nothing wrong at all.

Now that I've restored it, the problem comes back...

=========================================

Sockets::handshake - begin
Sockets::handshake - end
InternalText::init(authentication)
Sockets::handshake - begin
Sockets::handshake - end
InternalText::init(authentication)
/CMD_ALL_USER_SHOW
0: Accept-Encoding: gzip, deflate
1: Accept-Language: en-US,en;q=0.5
2: Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
3: Connection: keep-alive
4: Cookie: session=3Kp6PvcPr08MTTAqPYMdkVNa8TQ6XVVapIhFDHc2IkPjEXXb5tDpNaNT1nZZJ276
5: Host: www.(mydomain).com:2222
6: User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0
Request Headers: **************
0: Accept-Encoding: gzip, deflate
1: Accept-Language: en-US,en;q=0.5
2: Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
3: Connection: keep-alive
4: Cookie: session=3Kp6PvcPr08MTTAqPYMdkVNa8TQ6XVVapIhFDHc2IkPjEXXb5tDpNaNT1nZZJ276
5: Host: www.(mydomain).com
6: User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0
**************
Authentication::authenticated: client_ip=219.92.173.193 client_command=CMD_ALL_USER_SHOW
InternalText::init(user)
InternalText::init(command)
InternalText::init(system)
Admin::isAllowedToExecute(/CMD_ALL_USER_SHOW)
Admin::isAllowedToExecute(/CMD_DOMAIN)
Reseller::isAllowedToExecute(/CMD_DOMAIN)
User::isAllowedToExecute(/CMD_DOMAIN)
Command::doCommand(/CMD_ALL_USER_SHOW)
InternalText::init(table)
InternalText::init(suspension)
Command::doCommand(/CMD_ALL_USER_SHOW) : finished
Command::run: finished /CMD_ALL_USER_SHOW
Send::sendData(/CMD_ALL_USER_SHOW) sendNothing=0
Send::sendData: DONE. Sent: 34217 bytes
Cannot find first space after where GET or POST should be

=========================================

Here we go with the site not really showing everything again.

directadmin_probforum2.jpg
 
Try to run /usr/local/directadmin/scripts/fix_da_user.sh for that user and domain in a root shell:


Code:
/usr/local/directadmin/scripts/fix_da_user.sh

DirectAdmin data restore (beta)

Usage: /usr/local/directadmin/scripts/fix_da_user.sh <username> <user|reseller|admin> (<domain>)
 
Ran that... Doesn't even do anything at all...

[root@server1 aodat2]# /usr/local/directadmin/scripts/fix_da_user.sh tawhedne user tawhed.net
[root@server1 aodat2]#

Page still stays the same.

This problem is really strange. Have never heard of a domain not showing up before. But if you ping that domain, you'll see that it can ping perfectly. Just listing it, showing it, accessing it and all is not working.
 
Try the same for

/usr/local/directadmin/scripts/fix_da_user.sh <reseller_name> reseller
/usr/local/directadmin/scripts/fix_da_user.sh <admin_name> admin
 
Back
Top