How to run DirectAdmin in debug mode

If, for whatever reason, you need more information regarding what DirectAdmin is doing, you can run DirectAdmin in debug mode in order to get more output. There are many levels of debug, the higher level, the more info you'll get. Usually, running level 2000 is enough to give you most info. Anything higher is more for specific code debugging, so isn't usually needed.

To run DA in debug mode, type the following

[root@server]# cd /usr/local/directadmin
[root@server]# killall -9 directadmin
[root@server]# ./directadmin b2000
Debug set to level 2000
DirectAdmin 1.34.4
Accepting Connections on port 2222

You should get something similar to the above code.

Now, when you make connections to DA, the actions you run, requests you make will be displayed here.

To quit this mode, press ctrl-c, then type:

./directadmin d

which will load up DirectAdmin back in it's default “daemon” mode.

 
config/debug_mode.txt · Last modified: 2010/02/22 09:36 by muscardin
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki