• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Mailsrv_conf_init... not found, skipped

Zoler0

New Pleskian
Hello Parallels Plesk forum,

I'm experiencing some issues using the plesk repair cli tools.

Linux:
CentOS 6.8

Plesk version:
Plesk Onyx
Version 17.0.17 Update #10

I'm trying to execute: plesk repair mail
But I receive this error: mchk failed: ==> Checking for: mailsrv_conf_init... not found

When I try to find the file it does find it... It seems like some configuration file is wrong?

7f5b4bd5f7.png


I hope some of you can help me fix this problem.

Kind regards,
Joost
 
Hi Zoler0,

pls. consider to use the commands:

Code:
plesk installer --select-product-id plesk --select-release-current --reinstall-patch --install-component base

plesk repair all -y -v
 
I've executed both, but still experiencing the same error.
When I go to the bin directory of parallels it shows me this. That's good right?

c6e14bd737.png


Kind regards,
Joost
 
Hi Zoler0,

pls. be informed, that you posted your thread here: => Home > Forum > Plesk Discussion > Plesk 12.x for Linux , while you stated to have Plesk Onyx installed. Plesk Onyx related threads should be created at: => Home > Forum > Plesk Discussion > Plesk Onyx


Back to your issue:

The files in the folder "/usr/local/psa/admin/bin/" are mostly SYMLINKS, as you can see. There is no SYMLINK at "/usr/local/psa/admin/bin" for "mailsrv_conf_init" and the file is not even located there. Why do you want to show the content of the folder "/usr/local/psa/admin/bin/" anyway? Because the script "mchk" ( in the folder "/usr/local/psa/admin/bin/" failed with exit code [1] ? Well, "exit code [1]" means = ERROR ( and the ERROR - description comes afterwards = mailsrv_conf_init... not found )


The file "mailsrv_conf_init" is located at "/usr/lib/plesk-9.0/mailsrv_conf_init" on your server, as you already investigated in your previous post.
A possible reason, why you might experience issues as described, can as well be a misconfiguration on your system, according to your operating system. On 32-bit ( ALL Linux + 32- AND 64-bit on Debian/Ubuntu ) - systems, the location "/usr/lib/plesk-9.0" is correct, but on 64-bit ( CentOS, FedoraCore, RedHat and SuSe ) - systems, the correct location would be "/usr/lib64/plesk-9.0".

Pls. post the output from your SSH - commands ( logged in as user "root" - - - and pls. DON'T use a screenshot, but COPY the output FROM your command line !!! ):
Code:
uname -a

ls -lah /usr/lib/plesk-9.0
ls -lah /usr/lib64/plesk-9.0
 
Excuse me for not posting on the right section of this forum.
This is the output of the commands:

Code:
[root@simplia plesk-9.0]# uname -a
Linux simplia.nl 2.6.32-573.12.1.el6.x86_64 #1 SMP Tue Dec 15 21:19:08 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[root@simplia plesk-9.0]# ls -lah /usr/lib/plesk-9.0
ls: cannot access /usr/lib/plesk-9.0: No such file or directory
[root@simplia plesk-9.0]# ls -lah /usr/lib64/plesk-9.0
total 5.6M
drwxr-xr-x.  9 root    root    4.0K Dec 11 11:57 .
dr-xr-xr-x. 60 root    root     36K Dec  5 12:53 ..
-rwxr-x---.  1 root    root     476 Oct 28 09:42 apskeyhandler
-rwxr-xr-x.  1 root    root    4.4K Nov 17 10:57 bouncemessage
-rwxr-xr-x.  1 root    root    1.8M Dec  8 03:48 composer.phar
drwxr-xr-x.  2 root    root    4.0K Dec  5 12:26 domain_rename
-rwxr-xr-x.  1 root    root     20K Oct 26 11:09 fix_php_session_dir_perms_trigger
-rwxr-xr-x.  1 root    root    1.4K Oct 28 09:42 git_ssh
-rwxr-x---.  1 root    root     62K Nov 24 11:04 gl_dbcleaner
-rwxr-x---.  1 root    root     37K Nov 24 11:06 install_maillog
-rwxr-x---.  1 root    root     22K Nov 17 10:55 install_sendmail_wrapper_postfix
-rwxr-x---.  1 root    root     23K Oct 28 09:42 install_suexec
-rwxr-x---.  1 root    root     12K Dec 11 11:57 key-handler
-rwxr-xr-x.  1 root    root     182 Oct 28 09:42 key-upgrade
-rwxr-x---.  1 root    root    1.9K Oct 28 09:42 key-upgrade8
-rwxr-xr-x.  1 root    root     32K Oct 28 09:50 logresolvemerge
-r-xr-x---.  1 root    root    120K Nov 17 10:56 mail_admin_aliases
-rwxr-x---.  1 root    root     33K Oct 28 09:41 maildir-migrate-courier
-rwxr-x---.  1 root    root    103K Nov 24 11:03 mail_dk_restore
-rwxr-x---.  1 root    root    148K Nov 24 11:04 mail_grey_restore
-rwxr-x---.  1 root    root     34K Nov 24 11:03 mail_handlers_init
-rwxr-x---.  1 root    root     89K Oct 28 09:39 mail_kav8_restore
-rwxr-x---.  1 root    root    221K Nov 24 11:03 mail_mailbox_restore
-r-xr-x---.  1 root    root     19K Nov 17 10:57 mailman_conf_init
-rwxr-x---.  1 root    root    254K Nov 17 10:57 mailman_lists_dump
-rwxr-x---.  1 root    root     88K Oct 28 09:39 mail_responder_restore
-rwxr-x---.  1 root    root     29K Nov 24 11:03 mail_restore
-rwxr-x---.  1 root    root     68K Oct 28 09:39 mail_spam_restore
-rwxr-x---.  1 root    root     34K Nov 24 11:03 mail_spf_restore
-r-xr-xr-x.  1 root    root     28K Nov 17 10:57 mailsrvanalog
-r-xr-x---.  1 root    root    688K Nov 17 10:56 mailsrv_conf_init
-r-xr-x---.  1 root    root    648K Nov 17 10:56 mailsrv_entities_dump
-r-xr-x---.  1 root    root     685 Nov 17 10:56 mailsrv_set_hostname
-rwxr-xr-x.  1 root    root     682 Oct 26 11:21 maxlifetime
drwxr-xr-x.  2 root    root    4.0K Dec  5 12:26 mysql
-rwxr-x---.  1 root    root     884 Oct 28 09:42 passwd_policy_checker
-rwxr-xr-x.  1 root    root    1.3K Nov 24 11:03 ph_dumper
-rwxr-xr-x.  1 root    root     16K Oct 26 11:09 php_session_cleaner
-r-xr-x---.  1 popuser popuser 6.7K Oct 28 09:39 pop3login
-r-xr-x---.  1 root    root    136K Nov 17 10:56 postfix_conf_set
-rwxr-xr-x.  1 popuser popuser 117K Nov 17 10:56 postfix-local
-rwxr-xr-x.  1 root    root     14K Nov 17 10:57 postfix-mailman
-rwxr-x---.  1 root    root    108K Nov 17 10:57 postfix-poplockdb-clean
-r-sr-xr-x.  1 root    root     64K Nov 17 10:55 postfix-sendmail-wrapper
-r-xr-x---.  1 postfix popuser  64K Nov 17 10:57 psa-pc-remote
-rwxr-x---.  1 root    root     40K Oct 28 09:43 psa_service
drwxr-xr-x.  2 root    root    4.0K Dec  5 12:26 remote_mail_restore
drwxr-xr-x.  2 root    root    4.0K Dec  5 12:26 services
-rwxr-xr-x.  1 root    root    7.1K Oct 28 09:43 ssh-banner
drwxr-xr-x.  2 root    root    4.0K Dec  5 12:26 statistics
drwxr-xr-x.  2 root    root    4.0K Dec  5 12:26 suexec
-rwxr-xr-x.  1 root    root    387K Aug 14  2015 sw-rsync
-rwxr-x---.  1 root    root    3.9K Oct 28 09:42 tomcat_upgrade_helper
-r-xr-x---.  1 popuser popuser  16K Nov 17 10:55 update-poplock
drwxr-xr-x.  2 root    root    4.0K Dec  5 12:26 vps_optimized_aspects

As you can see all files are in place... something really weird is going on.
Any other suggestions?

Kind regards,
Joost van Berkel
 
I have excluded kernel updates from my server because those results my OS to run in a kernel panic. Couldn't find out what's wrong with it yet. Can't have much down time. All other packages are updated to it latest versions.
 
Hi Zoler0,

well... sorry... but when you leave out essential parts with your server administration, it can't be guaranteed, ( nor expected ), that your current Plesk version and it's components work as expected. :(

Pls. consider to contact the Plesk Support => https://www.plesk.com/contact-us/support/ , so that advanced system administrators are able to investigate and solve your current issues/errors and they will as well update your linux operating system if you desire that. ;)
 
Back
Top