Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #21 (permalink)  
Old 06-07-2007, 12:42 PM
Former Zimbran
 
Posts: 5,606
Default

You can ignore the LDAP error if this is a clean install.

Try to reinstall perl
yum remove perl*
yum install perl*

jh
Reply With Quote
  #22 (permalink)  
Old 06-07-2007, 05:11 PM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

what does 'perl -v' return?

the error you are seeing is coming from an unthreaded perl binary trying to run the threaded zimbra perl libs.
Reply With Quote
  #23 (permalink)  
Old 06-07-2007, 05:55 PM
Intermediate Member
 
Posts: 23
Default

for me, I am not sure which one we are asking now. I am sorry for hijacking his thread.

Don

[root@mail ~]# perl -v

This is perl, v5.8.8 built for i686-linux

Copyright 1987-2006, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at The Perl Directory - perl.org, the Perl Home Page.

[root@mail ~]#
Reply With Quote
  #24 (permalink)  
Old 06-07-2007, 06:04 PM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

I believe that's a non-standard non-threaded perl, this is what I get on a fully up2date rhel4:

Quote:
[root@mozart ~]# perl -v

This is perl, v5.8.5 built for i386-linux-thread-multi

Copyright 1987-2004, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at Perl.com: The Source for Perl -- perl development, conferences, the Perl Home Page.
are you using a 3rd party rpm repository at all, like dag wiers or similar? i would hazard a guess that your perl has been replaced at some point.
Reply With Quote
  #25 (permalink)  
Old 06-08-2007, 07:14 AM
Intermediate Member
 
Posts: 23
Default

I believe when I first setup the system, I installed Perl from scratch and not using UP2date. That might have been my big mistake. However all the upgrades on Zimbra had gone pretty smoothly before. I did install some items from CPAN to run the backup script that is on this forum for the open source version of Zimbra.


Don
Reply With Quote
  #26 (permalink)  
Old 06-08-2007, 09:47 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

yes, you have a problem them. three options spring to mind:

1) if the current version of perl that you installed is installed elsewhere other than /usr/bin/perl, you're in luck. Install the RHEL perl, job done.

2) if not, you might try installing RHEL perl through relocation, then altering your path to call this by default. this is not recommended however, as /usr/bin/perl is hardcoded in various points through zimbra software.

3) uninstall your current perl, install RHEL perl. reinstall cpan mods to rhel.
Reply With Quote
  #27 (permalink)  
Old 06-08-2007, 10:19 AM
Intermediate Member
 
Posts: 23
Default

Ok it looks like it is installed in another location..

this is /usr/bin

[root@mail bin]# ls -lsa | grep perl
24 -rwxr-xr-x 1 root root 23775 Jul 24 2006 find2perl
56 -rwxr-xr-x 1 root root 50208 Oct 13 2004 foomatic-perl-data
16 -rwxr-xr-x 2 root root 15164 Jul 24 2006 perl
16 -rwxr-xr-x 2 root root 15164 Jul 24 2006 perl5.8.5
36 -rwxr-xr-x 1 root root 36807 Jul 24 2006 perlbug
20 -rwxr-xr-x 1 root root 17953 Jul 24 2006 perlcc
4 -rwxr-xr-x 1 root root 224 Jul 24 2006 perldoc
12 -rwxr-xr-x 1 root root 11667 Jul 24 2006 perlivp

[root@mail bin]# ./perl -v

This is perl, v5.8.5 built for i386-linux-thread-multi

Copyright 1987-2004, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at Perl.com: The Source for Perl -- perl development, conferences, the Perl Home Page.

[root@mail bin]# perl -v

This is perl, v5.8.8 built for i686-linux

Copyright 1987-2006, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at The Perl Directory - perl.org, the Perl Home Page.

[root@mail bin]# which perl
/usr/local/bin/perl
[root@mail bin]#

I appreciate all the help I am receiving.

Is there an easy way to install the RHEL perl?

Do I use rpm to do that?

Thanks

Don Hickey

Last edited by dhickey; 06-08-2007 at 10:44 AM..
Reply With Quote
  #28 (permalink)  
Old 06-08-2007, 12:23 PM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

you've already got it installed - the /usr/bin/perl you run returns the correct i386-thread-multi 5.8.5 version. the problem is you have /usr/local/bin in your path BEFORE /usr/bin. do 'echo $PATH' to see. move /usr/local/bin to after /usr/bin in your path and you should be ok.
Reply With Quote
  #29 (permalink)  
Old 06-08-2007, 03:29 PM
Intermediate Member
 
Posts: 23
Default

I appreciate all your help. I have been searching the internet and looking through my manuals on how to change the order of the PATH.

The say to look at my /etc/profile file and this is it's contents.

[root@mail etc]# cat profile
# /etc/profile

# System wide environment and startup programs, for login setup
# Functions and aliases go in /etc/bashrc

pathmunge () {
if ! echo $PATH | /bin/egrep -q "(^|$1($|" ; then
if [ "$2" = "after" ] ; then
PATH=$PATH:$1
else
PATH=$1:$PATH
fi
fi
}

# Path manipulation
if [ `id -u` = 0 ]; then
pathmunge /sbin
pathmunge /usr/sbin
pathmunge /usr/local/sbin
fi

pathmunge /usr/X11R6/bin after


# No core files by default
ulimit -S -c 0 > /dev/null 2>&1

USER="`id -un`"
LOGNAME=$USER
MAIL="/var/spool/mail/$USER"

HOSTNAME=`/bin/hostname`
HISTSIZE=1000

if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
INPUTRC=/etc/inputrc
fi

export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC

for i in /etc/profile.d/*.sh ; do
if [ -r "$i" ]; then
. $i
fi
done

unset i
unset pathmunge
[root@mail etc]#

I see where the variable $1 is moved either before or after the PATH, but I am not sure where they get $1. I am, as you can tell, not very programming literate.

Everyone has been very helpful, if someone could post a link or let me know how to change the order in the path I would appreciate it.

Thanks

Don
Reply With Quote
  #30 (permalink)  
Old 06-08-2007, 05:48 PM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

well if you just want a quick fix, just before this line:

Quote:
export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC
put 'PATH=/usr/bin:$PATH'

so you end up with:

PATH=/usr/bin:$PATH
export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC

then logout and log back in
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.