I am having the same problem and I get to solve using "rm -rf .cpanel-datastore/", but whenever I create a new account the problem returns in the control panel (x) of the customer
In cPanel x
---------
Unable to create datastore file /home/loginclient/.cpanel-datastore/apache_LISTSUBDOMAINS_0: Bad file descriptor
--------
and in MySQL Account Maintenance in x
---------
DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 at /usr/local/cpanel/Cpanel/Mysql.pm line 826, line 541. DBD::mysql::st fetchrow_arrayref failed: fetch() without execute() at /usr/local/cpanel/Cpanel/Mysql.pm line 827, line 541.
--------
I solve the problem today but the following day the problem returns after the "/scripts/upcp".
I´m try /scripts/upcp --force and restart cpanel
What do I make? Please, can anybody help me?
Regards
Germano