Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 32

Thread: Big install issues form linux tech

  1. #21
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

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

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

    jh

  2. #22
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    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.

  3. #23
    Join Date
    Feb 2006
    Posts
    23
    Rep Power
    9

    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 ~]#

  4. #24
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    Default

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

    [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.

  5. #25
    Join Date
    Feb 2006
    Posts
    23
    Rep Power
    9

    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

  6. #26
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    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.

  7. #27
    Join Date
    Feb 2006
    Posts
    23
    Rep Power
    9

    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 09:44 AM.

  8. #28
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    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.

  9. #29
    Join Date
    Feb 2006
    Posts
    23
    Rep Power
    9

    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

  10. #30
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    Default

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

    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

Similar Threads

  1. Replies: 38
    Last Post: 08-15-2007, 11:45 PM
  2. Install on (64bit !) SUSE Linux Entreprise Server 10
    By fillide in forum Installation
    Replies: 1
    Last Post: 07-04-2007, 09:06 AM
  3. Antivirus suddenly stop
    By kowell in forum Administrators
    Replies: 17
    Last Post: 03-27-2007, 04:05 AM
  4. A couple of install issues -- MX and domain
    By Storm16 in forum Installation
    Replies: 2
    Last Post: 10-31-2006, 10:31 AM
  5. Replies: 3
    Last Post: 09-24-2006, 08:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •