Article ID: 6232, created on Apr 9, 2009, last review on May 10, 2014

  • Applies to:
  • Plesk 8.x for Linux/Unix


The following error is shown when open domain hosting configuration page at Domains -> <domain name> -> Setup:

0: /opt/psa/admin/plib/common_func.php3:190
    psaerror(string 'Domain ID is invalid.')
1: /opt/psa/admin/htdocs/domains/hosting/phosting_setup.php:17

What causes the problem?


Plesk Apache cannot write session information into session files /usr/local/psa/admin/sessions/sess_*.
This may be caused by 100% of disc space usage for main partitions or incorrect permissions to directories under /usr/local/psa/admin.


You may check disc space usage with command dh -h
If you see 100% of disc space usage for some partition, for example:

~# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/md4              289M  248M   27M  91% /
/dev/md1               16G   15G     0 100% /usr
/dev/md0              9.7G  115M  9.1G   2% /var

then you need to remove some files in under this partition (/usr) to release disc space.

If there is enough disc space bug the problem still persists, verify the permissions:

~# ls -l /usr/local/psa/admin/ | egrep 'libexec|sbin|sessions'
drwxr-xr-x  2 root psaadm  4096 2009-04-03 12:00 libexec
dr-xr-x---  2 root psaadm  4096 2009-04-07 03:27 sbin
drwxrwx---  2 root psaadm  4096 2009-04-09 09:07 sessions

If the permissions are different you need to correct them. Use the following command:

~# chgrp -R psaadm /usr/local/psa/admin/libexec
~# chgrp -R psaadm /usr/local/psa/admin/sbin
~# chgrp psaadm /usr/local/psa/admin/sessions

After the change you should restart Plesk Apache:

~# /etc/init.d/psa restart1
Stopping Plesk...                                                     done
Starting Plesk...                                                     done

b8ef5052d936e902043e41759118114e a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF