Zimbra 8.8.15 fresh installation perl5: Permission denied error

Ask questions about your setup or get help installing ZCS server (ZD section below).
User avatar
zimico
Advanced member
Advanced member
Posts: 124
Joined: Mon Nov 14, 2016 8:03 am
Location: Vietnam
ZCS/ZD Version: 8.8.12
Contact:

Zimbra 8.8.15 fresh installation perl5: Permission denied error

Postby zimico » Fri Aug 16, 2019 12:23 pm

Dear all,
We do 8.8.15 OSE fresh installation on Centos 7. Post installation show the following errors:
Running Post Installation Configuration:

Code: Select all

/opt/zimbra/bin/zmlocalconfig: line 83: exec: java: not found
/opt/zimbra/bin/zmlocalconfig: line 83: exec: java: not found
/opt/zimbra/bin/zmlocalconfig: line 83: exec: java: not found
Attempting to create directory /opt/zimbra/perl5
mkdir /opt/zimbra/perl5: Permission denied at /usr/share/perl5/vendor_perl/local/lib.pm line 269.
BEGIN failed--compilation aborted.
/opt/zimbra/bin/zmlocalconfig: line 83: exec: java: not found
Attempting to create directory /opt/zimbra/perl5
mkdir /opt/zimbra/perl5: Permission denied at /usr/share/perl5/vendor_perl/local/lib.pm line 269.
BEGIN failed--compilation aborted.
/opt/zimbra/bin/zmlocalconfig: line 83: exec: java: not found
Operations logged to /tmp/zmsetup.20190816-190804.log
Installing LDAP configuration database...done.
Setting defaults.../opt/zimbra/bin/zmlocalconfig: line 83: exec: java: not found
/opt/zimbra/bin/zmjava: line 59: /bin/java: No such file or directory
/opt/zimbra/bin/zmlocalconfig: line 83: exec: java: not found
/opt/zimbra/bin/zmjava: line 59: /bin/java: No such file or directory
/opt/zimbra/bin/zmlocalconfig: line 83: exec: java: not found
/opt/zimbra/bin/zmjava: line 59: /bin/java: No such file or directory
/opt/zimbra/bin/zmlocalconfig: line 83: exec: java: not found
/opt/zimbra/bin/zmjava: line 59: /bin/java: No such file or directory
/opt/zimbra/bin/zmlocalconfig: line 83: exec: java: not found
/opt/zimbra/bin/zmjava: line 59: /bin/java: No such file or directory

We already did disable selinux, remove and reinstall zimbra the can not resolve. Does anybody meet this issue?

Best regards,
Minh.


User avatar
zimico
Advanced member
Advanced member
Posts: 124
Joined: Mon Nov 14, 2016 8:03 am
Location: Vietnam
ZCS/ZD Version: 8.8.12
Contact:

Re: Zimbra 8.8.15 fresh installation perl5: Permission denied error

Postby zimico » Fri Aug 16, 2019 1:45 pm

After completely uninstall zimbra as guided in https://wiki.zimbra.com/wiki/UnInstalli ... a_on_Linux, I reinstall and only have perl mkdir permission error:

Code: Select all

Attempting to create directory /opt/zimbra/perl5
mkdir /opt/zimbra/perl5: Permission denied at /usr/share/perl5/vendor_perl/local/lib.pm line 269.
BEGIN failed--compilation aborted.
Attempting to create directory /opt/zimbra/perl5
mkdir /opt/zimbra/perl5: Permission denied at /usr/share/perl5/vendor_perl/local/lib.pm line 269.
BEGIN failed--compilation aborted.


I have another well running 8.8.12 server and do not see /opt/zimbra/perl5 directory. Hence, I ignore this error and continue with installation process and see this error again when zimbra tries to start servers:

Code: Select all

Starting servers...Attempting to create directory /opt/zimbra/perl5
mkdir /opt/zimbra/perl5: Permission denied at /usr/share/perl5/vendor_perl/local/lib.pm line 269.
BEGIN failed--compilation aborted.

And then:

Code: Select all

Creating galsync account for default domain...failed.

Code: Select all

[root@mail ~]# su - zimbra
Last login: Fri Aug 16 20:39:45 +07 2019 on pts/0
Attempting to create directory /opt/zimbra/perl5
mkdir /opt/zimbra/perl5: Permission denied at /usr/share/perl5/vendor_perl/local/lib.pm line 269.
BEGIN failed--compilation aborted.
[zimbra@mail ~]$ zmcontrol -v
Release 8.8.15_GA_3829.RHEL7_64_20190718141144 RHEL7_64 FOSS edition.
[zimbra@mail ~]$ zmcontrol status
Host mail.trunghaugroup.com
        amavis                  Running
        antispam                Running
        antivirus               Running
        ldap                    Running
        logger                  Running
        mailbox                 Running
        memcached               Running
        mta                     Running
        opendkim                Running
        proxy                   Running
        service webapp          Running
        spell                   Running
        stats                   Running
        zimbra webapp           Running
        zimbraAdmin webapp      Running
        zimlet webapp           Running
        zmconfigd               Running
[zimbra@mail ~]$

Maybe I will reinstall OS and Zimbra.

Regards,
Minh.
User avatar
zimico
Advanced member
Advanced member
Posts: 124
Joined: Mon Nov 14, 2016 8:03 am
Location: Vietnam
ZCS/ZD Version: 8.8.12
Contact:

Re: Zimbra 8.8.15 fresh installation perl5: Permission denied error

Postby zimico » Fri Aug 16, 2019 4:39 pm

I reinstall OS and Zimbra. Everything seems to be ok but at last step:

Code: Select all

Starting servers...Search error: Unable to determine enabled services from ldap.
Enabled services read from cache. Service list may be inaccurate.
done.
Installing common zimlets...
        com_zimbra_adminversioncheck...failed. This may impact system functionality.
        com_zimbra_attachcontacts...failed. This may impact system functionality.
        com_zimbra_attachmail...failed. This may impact system functionality.
        com_zimbra_bulkprovision...failed. This may impact system functionality.
        com_zimbra_cert_manager...failed. This may impact system functionality.
        com_zimbra_clientuploader...failed. This may impact system functionality.
        com_zimbra_date...failed. This may impact system functionality.
        com_zimbra_email...failed. This may impact system functionality.
        com_zimbra_mailarchive...failed. This may impact system functionality.
        com_zimbra_phone...failed. This may impact system functionality.
        com_zimbra_proxy_config...failed. This may impact system functionality.
        com_zimbra_srchhighlighter...failed. This may impact system functionality.
        com_zimbra_tooltip...failed. This may impact system functionality.
        com_zimbra_url...failed. This may impact system functionality.
        com_zimbra_viewmail...failed. This may impact system functionality.
        com_zimbra_webex...failed. This may impact system functionality.
        com_zimbra_ymemoticons...failed. This may impact system functionality.
        com_zextras_chat_open...failed. This may impact system functionality.
        com_zextras_drive_open...failed. This may impact system functionality.
Finished installing common zimlets.
Restarting mailboxd...done.
Creating galsync account for default domain...failed.

I haven't had so much trouble when installing zimbra before...

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 5 guests