• 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

Resolved Mail Tab and Settings completely gone

daanse

Regular Pleskian
Hi,
i just found out that the Mail Settings (in Settings) and the Mail Tab on each Domain is completely gone?!
On Weekend i ran updates as always, nothing unusual.
Its Plesk Onyx on Debian 8.7.

Any Idea? I also ran Mail tab for a domain is missing from Plesk linux Commands without success.

On Dashboard the Fail2Ban also disappeared. And if i try to open the "Outgoing Emails Area" it says "No Access"

Any Ideas?
 
Hi daanse,

pls. check your ( possible ) settings at : => HOME > Tools & Settings > Custom View Settings
 
Hi @UFHH01 ,

there's nothing unusual there. Thank you for help.
Last thing i did was switching off DNS / Bind and now its weird.
Some Settings are missing and so on....
Frontend is not harmed but seems the Backend is messed up.

i ran repair Command:
Code:
Bootstrapper repair finished.
Errors occurred while performing the following actions: restore mail, fix WatchDog configuration.
Check '/var/log/plesk/install/plesk_17.0.17_repair.log' and '/var/log/plesk/install/plesk_17.0.17_repair_problems.log' for details.

the repair log:
Code:
done
Upgrade of Roundcube Web Based mail client configs and DB is not required - no previous version
 Trying to upgrade and repair Parallels Premium antivirus (DrWeb) service configuration (bootstrapper-prep stage)... Upgrade or repair for 'drweb' (stage 'bootstrapper-prep') is not required
done
 Trying to upgrade and repair Parallels Premium antivirus (DrWeb) service configuration (bootstrapper-post stage)... Upgrade or repair for 'drweb' (stage 'bootstrapper-post') is not required
done
 Trying to upgrade and repair Fail2Ban configuration (bootstrapper-prep stage)... Upgrade or repair for 'fail2ban' (stage 'bootstrapper-prep') is not required
done
 Trying to upgrade and repair Fail2Ban configuration (bootstrapper-post stage)... Upgrade or repair for 'fail2ban' (stage 'bootstrapper-post') is not required
done
 Trying to upgrade and repair Firewall service configuration... Upgrade or repair for 'firewall' (stage 'post') is not required
done
 Trying to stop service bind9... done
 Trying to register service bind9... done
 Trying to start service bind9... done
 Reconfiguring mail subsystem...
 Trying to execute mail_restore to synchronize mail server settings and Plesk Database... ==> Checking for: mailsrv_conf_init... ok
==> Checking for: mail_handlers_init... ok
==> Checking for: mailsrv_entities_dump... ok
==> Checking for: mail_admin_aliases... ok
==> Checking for: mail_auth_dump... fail
==> Checking for: mailman_lists_dump... ok
==> Checking for: mail_kav8_restore... ok
==> Checking for: mail_responder_restore... ok
==> Checking for: mail_imap_restore... fail
==> Checking for: mail_spam_restore... fail
==> Checking for: mail_grey_restore... ok
==> Checking for: mail_mailbox_restore... ok
==> Checking for: mail_spf_restore... ok
==> Checking for: mail_dk_restore... ok
==> Checking for: mail_drweb_restore... fail
==> Checking for: mail_outgoing_restore... fail
==> Checking for: mail_transport_restore... fail
Errors occured in mail restore procedure
Some utilities have exited with errors:
  /usr/lib/plesk-9.0/remote_mail_restore/mail_auth_dump
  /usr/lib/plesk-9.0/remote_mail_restore/mail_imap_restore
  /usr/lib/plesk-9.0/mail_spam_restore
  /usr/lib/plesk-9.0/mail_drweb_restore
  /usr/lib/plesk-9.0/remote_mail_restore/mail_outgoing_restore
  /usr/lib/plesk-9.0/remote_mail_restore/mail_transport_restore
 Reconfiguring Apache web server...
 Reconfiguring ProFTPD FTP server...
 Reconfiguring AWStats web statistics...
 Reconfiguring WatchDog...
PHP Fatal error:  Call to a member function configuration() on null in /opt/psa/admin/plib/modules/watchdog/wdlib.php on line 810
 Restoring SELinux contexts...
 Trying to register service sw-cp-server... done
 Trying to register service sw-engine... done
 Trying to register service courier-imapd... done
 Trying to register service courier-imaps... done
 Trying to register service courier-pop3d... done

==> Checking for: mailsrv_entities_dump... ok
==> Checking for: mail_admin_aliases... ok
==> Checking for: mail_auth_dump... fail
==> Checking for: mailman_lists_dump... ok
==> Checking for: mail_kav8_restore... ok
==> Checking for: mail_responder_restore... ok
==> Checking for: mail_imap_restore... fail
==> Checking for: mail_spam_restore... fail
==> Checking for: mail_grey_restore... ok
==> Checking for: mail_mailbox_restore... ok
==> Checking for: mail_spf_restore... ok
==> Checking for: mail_dk_restore... ok
==> Checking for: mail_drweb_restore... fail
==> Checking for: mail_outgoing_restore... fail
==> Checking for: mail_transport_restore... fail
Errors occured in mail restore procedure
Some utilities have exited with errors:
  /usr/lib/plesk-9.0/remote_mail_restore/mail_auth_dump
  /usr/lib/plesk-9.0/remote_mail_restore/mail_imap_restore
  /usr/lib/plesk-9.0/mail_spam_restore
  /usr/lib/plesk-9.0/mail_drweb_restore
  /usr/lib/plesk-9.0/remote_mail_restore/mail_outgoing_restore
  /usr/lib/plesk-9.0/remote_mail_restore/mail_transport_restore
 Reconfiguring Apache web server...
 Reconfiguring ProFTPD FTP server...
 Reconfiguring AWStats web statistics...
 Reconfiguring WatchDog...
PHP Fatal error:  Call to a member function configuration() on null in /opt/psa/admin/plib/modules/watchdog/wdlib.php on line 810
 Restoring SELinux contexts...
 Trying to register service sw-cp-server... done
 Trying to register service sw-engine... done
 Trying to register service courier-imapd... done
 Trying to register service courier-imaps... done
 Trying to register service courier-pop3d... done
 Trying to register service courier-pop3s... done
 Trying to register service drwebd... done
 Trying to register service spamassassin... done
 Trying to register service pc-remote... done
 Trying to register service psa... done
 Reconfiguring SSL ciphers and protocols...
 Trying to configure SSL ciphers and protocols for: ... done
 Regenerating web servers' configuration files...
 Cleaning active Panel sessions...

Bootstrapper repair finished.
Errors occurred while performing the following actions: restore mail, fix WatchDog configuration.

if i try to open Mail Settings via HOSTNAME:8443/plesk/server/mail/
i get following Error:
Code:
ERROR: Call to a member function getSMTPServerName() on null (class.ServerMailForm.php:667)

with the direct Link to DNS Template Settings (which is missing also) i got up the Settings Page and tried to disable BIND (this was the Last action on Server and it seems this caused some Problems)
following Error Accured:
Code:
Task execution failed: PHP Fatal error: Call to a member function getId() on null in /opt/psa/admin/plib/Dns/Synchronize/TaskReal.php on line 43 Details
: 0%

i have exactly this Problem: Mail Server Settings section is missing in Plesk, mail users cannot login

and ran some commands and got this ERrors:
Code:
# /usr/lib/plesk-9.0/remote_mail_restore/mail_auth_dump
This operation is not supported by the service node.

root@q-server:~# /usr/local/psa/admin/sbin/mchk --with-spam
==> Checking for: mailsrv_conf_init... ok
==> Checking for: mail_handlers_init... ok
==> Checking for: mailsrv_entities_dump... ok
==> Checking for: mail_admin_aliases... ok
==> Checking for: mail_auth_dump... fail
==> Checking for: mailman_lists_dump... ok
==> Checking for: mail_kav8_restore... ok
==> Checking for: mail_responder_restore... ok
==> Checking for: mail_imap_restore... fail
==> Checking for: mail_spam_restore... fail
==> Checking for: mail_grey_restore... ok
==> Checking for: mail_mailbox_restore... ok
==> Checking for: mail_spf_restore... ok
==> Checking for: mail_dk_restore... ok
==> Checking for: mail_drweb_restore... fail
==> Checking for: mail_outgoing_restore... fail
==> Checking for: mail_transport_restore... fail
Errors occured in mail restore procedure
Some utilities have exited with errors:
  /usr/lib/plesk-9.0/remote_mail_restore/mail_auth_dump
  /usr/lib/plesk-9.0/remote_mail_restore/mail_imap_restore
  /usr/lib/plesk-9.0/mail_spam_restore
  /usr/lib/plesk-9.0/mail_drweb_restore
  /usr/lib/plesk-9.0/remote_mail_restore/mail_outgoing_restore
  /usr/lib/plesk-9.0/remote_mail_restore/mail_transport_restore

PLesk repair dns will not work.
Code:
Restoring DNS server configuration

  Synchronize DNS zones with the DNS server? [Y/n] y
    Synchronizing DNS zones with the DNS server ..................... PHP Fatal error:  Call to a member function getPackageController() on null in /opt/psa/admin/plib/Repair/Dns.php on line 56
exit status 255

still nothing changed
 
Last edited:
its definitely since i tried to deactivate BIND as i don't need it anyways.
Is there some File which i can restore to make that Change back again?
As this Server is beeing real time backuped.
 
Hi daanse,

its definitely since i tried to deactivate BIND as i don't need it anyways.
Even if you don't need it, Plesk needs it for all possible options. Pls. don't switch it off, if you use DKIM - signing ( which is not only related to mail - settings, but as well to your DNS - entries! ). SPF - checking is the same thing here. ;)

Pls. consider to re-active options you switched off and try another "repair all" procedure ( and another one afterwards, to verify that all should be fine now :) )
 
Hi, its not possible to switch on or off the DNS Settings, therefore i completely removed bind and than F2B and WAF appeared and all Email Settings.
It was all gone in Backend and the Mails where not working anymore.
I ran another repair and its fine now with exception to DNS/ BIND.
i used your command "plesk repair all -v -y" and everything is fine but following not:
Code:
Synchronizing DNS zones with the DNS server ..................... PHP Fatal error:  Call to a member function getPackageController() on null in /opt/psa/admin/plib/Repair/Dns.php on line 56
exit status 255

This still persist even i have removed bind.

Regarding your last recommendation: Why leave Bind activated? We have DNS, Domains etc completely in extern Robot.
Or is DNS still need even if not used active?
 
Hi daanse,

Regarding your last recommendation: Why leave Bind activated? We have DNS, Domains etc completely in extern Robot.
Or is DNS still need even if not used active?
You will notice in your psa - database, that even if you switch of DNS on your server, you will have corresponding entries. It's a bit like saying, I love my car, but I don't use the integrated car radio, because I use my iPhone to play music. Will you remove the car radio out of your car?

This still persist even i have removed bind.
This issue will always be there, when you switched of DNS on your server, because the repair - "DNS" - feature from the Plesk Repair Utility depends on a ( local ) working DNS - server. ;)
 
Hi @UFHH01,

so i could try to reinstall Bind and see whats happening?
On Other Servers i also (only) switched off DNS and everything works since Weeks.
Maybe i don't understand correctly.

I always used plesks BIND to generate dkim, than i copied dkim and inserted that strings in my external Robot :) This was really easy. Otherwise i don't know why i would need that DNS. Alltough its currently removed completely and everything works (again) ...
On other Servers (some Weeks ago) i disabled BIND bit by bit.
On this Server i disabled it too and somehow it went crazy and was not turned off. I think there was some Errors which i didn't noticed .....
And today i wanted to turn off again and it didn't worked. See Errors above. So somehow its brooken.
 
Hi daanse,

so i could try to reinstall Bind and see whats happening?
Honestly, your answer to this thread took longer, than re-installing the DNS - server. :p

You choosed to remove the car radio, but forgot, that the integrated route planer is now gone as well and you can't locate your car over GPRS, because the integrated car radio holds as well the GPRS chip...


I will take some time to explain database entries in your psa - database and their domain - specific connections to tables/columns and possible issues may not instantly occure, if you switched of DNS completely on your server. Pls. consider to inspect all depending entries over phpMyAdmin for example and pls. take your time for this investigation, because you will need it. :)
 
Hello,

I had 2 days ago exactly the same problem as daanse : mail tabs and setting completly gone, as well as Fail2Ban and Health Monitor. But contrary to daanse, I hadn't made any change to BIND before the "bug".
I tried to stop BIND and to "repair all" Plesk with no success.
I uninstalled BIND as daanse did and my Plesk licence key as been ereased in this simple operation ! But after restoring the licence key, everything was back and OK again...

For information, it is Plesk 17.0.17, update 23 with every components and packages up to date...

Hope this can help.
 
Back
Top