How do I fix this authentication error on my Plesk server: “Authentication Error - can't grab global config from db. (6006) Pl

This often occurs when Urchin is running as the wrong user or when the ‘/usr/local/urchin’ directory is owned by the wrong user. This is usually because the server is running Plesk. To resolve this issue, first check to see which user is running Urchin.


[root@server root]# ps -aux | grep urchin
root      9857  0.0  0.0  3476 1640 ?        S    13:03   0:00 /usr/local/urchin/bin/urchinwebd -f /usr/local/urchin/var/urchinwebd.conf
nobody    9858  0.0  0.0  3488 1784 ?        S    13:03   0:00 /usr/local/urchin/bin/urchinwebd -f /usr/local/urchin/var/urchinwebd.conf
nobody    9859  0.0  0.0  3488 1784 ?        S    13:03   0:00 /usr/local/urchin/bin/urchinwebd -f /usr/local/urchin/var/urchinwebd.conf
nobody    9860  0.0  0.0  3488 1780 ?        S    13:03   0:00 /usr/local/urchin/bin/urchinwebd -f /usr/local/urchin/var/urchinwebd.conf
nobody    9861  0.0  0.0  3476 1632 ?        S    13:03   0:00 /usr/local/urchin/bin/urchinwebd -f /usr/local/urchin/var/urchinwebd.conf
nobody    9862  0.0  0.0  3476 1632 ?        S    13:03   0:00 /usr/local/urchin/bin/urchinwebd -f /usr/local/urchin/var/urchinwebd.conf
psaadm    9864  0.0  0.0   664  404 ?        S    13:03   0:00 /usr/local/urchin/bin/urchind
nobody    9866  0.0  0.0  3476 1644 ?        S    13:03   0:00 /usr/local/urchin/bin/urchinwebd -f /usr/local/urchin/var/urchinwebd.conf
nobody    9964  0.0  0.0  3476 1644 ?        S    13:38   0:00 /usr/local/urchin/bin/urchinwebd -f /usr/local/urchin/var/urchinwebd.conf
root     10021  0.0  0.0  3680  668 pts/1    S    13:39   0:00 grep urchin
[root@server root]#


As you can see, it is running as the user nobody. On Plesk machines, this should be run as the user ‘psaadm’. To correct this issue you need to edit the following files.


/usr/local/urchin/var/urchinwebd.conf.template
/usr/local/urchin/var/urchinwebd.conf


In those files, locate these directives.


User nobody
Group nobody


You will need to change them to this.


User psaadm
Group psaserv


Then make sure that the ‘/usr/local/urchin’ directory is owned by psaadm.


chown -R psaadm:psaserv /usr/local/urchin

Your rating: None