New install, perl problems - bug?

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
zim_mike
Outstanding Member
Outstanding Member
Posts: 330
Joined: Sat Sep 13, 2014 3:26 am

New install, perl problems - bug?

Post by zim_mike »

Installing zimbra 8.7.11 onto centos7, following these directions;
https://wiki.zimbra.com/wiki/Zimbra_Rel ... stallation

One weird thing and I don't know if zimbra knows about this but during the install, there are always these errors.

mkdir /opt/zimbra/perl5: Permission denied at /usr/share/perl5/vendor_perl/local/lib.pm line 269


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.


After install;

# su zimbra
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.
zim_mike
Outstanding Member
Outstanding Member
Posts: 330
Joined: Sat Sep 13, 2014 3:26 am

Re: New install, perl problems - bug?

Post by zim_mike »

How is it possible that I am the only person experiencing this? I am following the instructions as posted by someone with Zimbra I suppose. I would think that someone at zimbra would be concerned at what is happening here.

I cannot find an answer anywhere and cannot move forward installing the server.
HELP!
User avatar
jorgedlcruz
Zimbra Alumni
Zimbra Alumni
Posts: 2782
Joined: Thu May 22, 2014 4:47 pm

Re: New install, perl problems - bug?

Post by jorgedlcruz »

Hi Zim,
Which Operating System are you using? The error it's saying not having enough permissions. Really weird.
Jorge de la Cruz https://jorgedelacruz.es
Systems Engineer at Veeam Software https://www.veeam.com/
zim_mike
Outstanding Member
Outstanding Member
Posts: 330
Joined: Sat Sep 13, 2014 3:26 am

Re: New install, perl problems - bug?

Post by zim_mike »

Hi, thank you for the reply.

I'm using Centos7 with the initial packages installed and the OS fully updated. Nothing else on it, it was a minimal install and would be dedicated to zimbra.
zim_mike
Outstanding Member
Outstanding Member
Posts: 330
Joined: Sat Sep 13, 2014 3:26 am

Re: New install, perl problems - bug?

Post by zim_mike »

I'm trying it again and see more information I can share.

Running Post Installation Configuration:
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.
Operations logged to /tmp/zmsetup.20170725-103614.log
Installing LDAP configuration database...done.
Setting defaults...

The /tmp log shows;
Tue Jul 25 10:36:15 2017 *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_java_home='/opt/zimbra/common/lib/jvm/java' 2> /dev/null
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.

In /etc/passwd, the user is created.
zimbra:x:995:992::/opt/zimbra:/bin/bash
zim_mike
Outstanding Member
Outstanding Member
Posts: 330
Joined: Sat Sep 13, 2014 3:26 am

Re: New install, perl problems - bug?

Post by zim_mike »

I tried again, this time, creating the /opt/zimbra/perl5 directory manually, making it full read/write (777) and the owner, zimbra.
The installer completed this time however, there is nothing in the perl5 directory so????

The new server works perfectly, receiving and sending.
Thanks for your time on this, hope what I've posted can help you find the problem and fix it.
Post Reply