• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Error Adding A New Domain

Status
Not open for further replies.

aidiny

New Pleskian
When trying to add a new domain, i get the following error in red:

Internal error.
ERROR: Call to a member function getWebServerFPAdminSysUser() on a non-object (Apache.php:730)

Search for related Knowledge Base articles

The domain is added but no hosting settings

Any idea why this is occurring?

Runnung Ubuntu 12.04
 
May I suggest you try out first the following:

Rebuild the vhosts with:

Code:
 /usr/local/psa/admin/sbin/httpdmng --reconfigure-all

and if that fails to resolve then a bootstrapper repair could help also with

Code:
/usr/local/psa/bootstrapper/pp11.0.9-bootstrapper/bootstrapper.sh repair
 
Gives me a php error

PHP Fatal error: Call to a member function deleteAdditionalConfigFiles() on a non-object in /opt/psa/admin/plib/api-common/Httpdmng.php on line 148
 
Please, specify the version of Plesk (with MU).

Show me result of command:
# plesk db "select * from ServiceNodeEnvironment where name = \"WEB_Server\""
 
hi,

/usr/local/psa/admin/sbin/httpdmng --reconfigure-all

results in:

PHP Fatal error: Call to a member function deleteAdditionalConfigFiles() on a non-object in /usr/local/psa/admin/plib/api-common/Httpdmng.php on line 148



/usr/local/psa/bootstrapper/pp11.5.30-bootstrapper/bootstrapper.sh repair

resulting in:

Regenerating web servers' configuration files...
PHP Fatal error: Call to a member function deleteAdditionalConfigFiles() on a non-object in /usr/local/psa/admin/plib/api-common/Httpdmng.php on line 148
Warning: web server configuration is broken. We will try to repair it. This operation can take a lot of time, please do not interrupt the process.
Unable to rebuild web server configuration, possible there are broken domains
Trying to reconfigure web-server configurations skipping broken domains... PHP Fatal error: Call to a member function deleteAdditionalConfigFiles() on a non-object in /usr/local/psa/admin/plib/api-common/Httpdmng.php on line 148



mysql> select * from ServiceNodeEnvironment where name = "WEB_Server";
+---------------+------------+------------+--------+
| serviceNodeId | section | name | value |
+---------------+------------+------------+--------+
| 1 | webservice | WEB_Server | Apache |
+---------------+------------+------------+--------+
1 row in set (0.00 sec)


Its plesk 11.5.30 MU29

any help is very appriciated.

Greetings
Oliver


-----

EDIT:

Of course Merphy is on the stage aswell:

After some checking ( i was manuelly running the plesk-installer script ) i saw:

yum Error: rpmdb open failed

I corrected this with:

rm -rf /var/lib/rpm/__db*
rpm --rebuilddb

After that i run

/usr/local/psa/bootstrapper/pp11.5.30-bootstrapper/bootstrapper.sh repair

again, still resulting in error.

After checking

/etc/httpd/conf/plesk.conf.d/vhosts

i saw that there has been a symlink without existing target.

I manually deleted it.

And run

/usr/local/psa/bootstrapper/pp11.5.30-bootstrapper/bootstrapper.sh repair
and
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all

successfully again. It seems to work now

Greetings
Oliver
 
Last edited:
Status
Not open for further replies.
Back
Top