• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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