The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

LibXML.xs:1493: error

Discussion in 'General Discussion' started by sehh, Oct 12, 2014.

  1. sehh

    sehh Well-Known Member

    Joined:
    Feb 11, 2006
    Messages:
    579
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Europe
    Last week, after a typical daily update, upcp started failing with:

    Code:
    [20141012.235520]      [5834] LibXML.xs:1493: error: syntax error before "reader"
    [20141012.235520]      [5834] LibXML.xs: In function `LibXML_set_reader_preserve_flag':
    [20141012.235520]      [5834] LibXML.xs:1502: error: `reader' undeclared (first use in this function)
    [20141012.235520]      [5834] LibXML.xs:1502: error: (Each undeclared identifier is reported only once
    [20141012.235520]      [5834] LibXML.xs:1502: error: for each function it appears in.)
    [20141012.235520]      [5834] LibXML.xs: At top level:
    [20141012.235520]      [5834] LibXML.xs:1507: error: syntax error before "reader"
    [20141012.235520]      [5834] LibXML.xs: In function `LibXML_get_reader_preserve_flag':
    [20141012.235520]      [5834] LibXML.xs:1516: error: `reader' undeclared (first use in this function)
    [20141012.235520]      [5834] make: *** [LibXML.o] Error 1
    [20141012.235520]      [5834] FAIL
    [20141012.235520]      [5834] ! Installing XML::LibXML::Common failed. See /home/.cpanm/build.log for details.
    
    build.log says:

    Code:
    cpanm (App::cpanminus) 1.6916 on perl 5.008008 built for i686-linux
    Work directory is /home/.cpanm/work/1413147354.7736
    You have make /usr/bin/make
    Falling back to HTTP::Tiny 0.029
    You have /bin/tar: tar (GNU tar) 1.14
    Copyright (C) 2004 Free Software Foundation, Inc.
    This program comes with NO WARRANTY, to the extent permitted by law.
    You may redistribute it under the terms of the GNU General Public License;
    see the file named COPYING for details.
    Written by John Gilmore and Jay Fenlason.
    You have /usr/bin/unzip
    You have Cpanel::HttpRequest 2.1
    Searching on cpanmetadb ...
    Source: fastest CPAN mirror ... Curses::UI is up to date. (0.9609)
    Source: fastest CPAN mirror ... --> Working on XML::LibXML::Common
    Fetching http://mirror.leaseweb.com/CPAN///authors/id/S/SH/SHLOMIF/XML-LibXML-2.0116.tar.gz
    -> OK
    Unpacking XML-LibXML-2.0116.tar.gz
    Entering XML-LibXML-2.0116
    Checking configure dependencies from META.json
    Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.98)
    Configuring XML-LibXML-2.0116
    Running Makefile.PL
    -> OK
    Checking dependencies from MYMETA.json ...
    Checking if you have XML::SAX 0.11 ... Yes (0.99)
    Checking if you have base 0 ... Yes (2.07)
    Checking if you have warnings 0 ... Yes (1.05)
    Checking if you have parent 0 ... Yes (0.225)
    Checking if you have ExtUtils::MakeMaker 6.56 ... Yes (6.98)
    Checking if you have vars 0 ... Yes (1.01)
    Checking if you have strict 0 ... Yes (1.03)
    Checking if you have Test::More 0 ... Yes (1.001006)
    Checking if you have XML::NamespaceSupport 1.07 ... Yes (1.09)
    Building XML-LibXML-2.0116
    -> FAIL Installing XML::LibXML::Common failed. See /home/.cpanm/build.log for details.
    Source: fastest CPAN mirror ... Already tried XML-LibXML-2.0116. Skipping.
    Source: fastest CPAN mirror ... XML::SAX is up to date. (0.99)
    Source: fastest CPAN mirror ... XML::SAX::Expat is up to date. (0.51)
    
    any suggestions please?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,697
    Likes Received:
    657
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  3. sehh

    sehh Well-Known Member

    Joined:
    Feb 11, 2006
    Messages:
    579
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Europe
    Before we go on a goose chase, I didn't post any updates on this issue because I found out that this particular server is the only one we have left still in an old cPanel version which has come to its EOL (WHM 11.32.7).

    I would guess that something broke over the years and since its in an eof of life state, it is no longer fixed.

    *edit*

    Is there a way to at least upgrade from 11.32 to 11.38?


     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,697
    Likes Received:
    657
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You can update the "CPANEL=" entry in /etc/cpupdate.conf to the following:

    Code:
    CPANEL=11.38
    Save the file, and then force an update of cPanel via:

    Code:
    /scripts/upcp --force
    If this completes successfully, then it's likely a good idea to proceed with updating cPanel to a newer version.

    Thank you.
     
  5. sehh

    sehh Well-Known Member

    Joined:
    Feb 11, 2006
    Messages:
    579
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Europe
    The CPANEL= entry already says "11.38" (probably because that is what I selected via the WHM interface?). But all upgrade attempts fail with:

    Code:
    fatal,Newer releases of cPanel & WHM are not compatible with your operating system. Upgrade your OS, or use the <A HREF=../scripts2/updateconf>Update Preferences screen</A> to select a Long-Term Support release for use with your OS. Please see our <A HREF=http://docs.cpanel.net/twiki/bin/view/AllDocumentation/InstallationGuide/OperatingSystemEOL target="_blank">OS End of Life policy</A> for more information
    
    The above contents are also seen in the file: /var/cpanel/update_blocks.config
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,697
    Likes Received:
    657
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  7. sehh

    sehh Well-Known Member

    Joined:
    Feb 11, 2006
    Messages:
    579
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Europe
    Here we go:

    CentOS release 4.9 (Final)
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,697
    Likes Received:
    657
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    CentOS 4 is EOL and no longer supported. You will need to backup your accounts to a remote location and install an updated OS, or transfer the accounts to a new server that uses CentOS 6.

    Thank you.
     
  9. sehh

    sehh Well-Known Member

    Joined:
    Feb 11, 2006
    Messages:
    579
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Europe
    heh yea I figured that much.

    It is the last server that we've got left in this state. Eventually we'll go around and move it.
     

Share This Page