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.

Curl version mismatch

Discussion in 'General Discussion' started by mickael, Jan 16, 2017.

Tags:
  1. mickael

    mickael Member

    Joined:
    Aug 3, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello

    I explain my problem:

    Code:
    Installation of Unrealircd4.0.10 (Download - UnrealIRCd) :
    cd /home/irc/unreal4/Unreal4.0
    
    In what directory do you want to install UnrealIRCd?
    (Note: UnrealIRCd 4 will need to be installed somewhere.
     If this directory does not exist it will be created.)
    [/home/irc/unreal4/unrealircd4] ->
    OK
    
    What should the default permissions for your configuration files be? (Set this to 0 to disable)
    It is strongly recommended that you use 0600 to prevent unwanted reading of the file
    [0600] ->
    OK
    
    If you want, you can manually enter the path to OpenSSL/LibreSSL here.
    In most cases you can leave this blank and it will be detected automatically.
    [] ->
    OK
    
    Do you want to enable remote includes?
    This allows stuff like this in your configuration file:
    include "http://www.somesite.org/files/opers.conf";
    [Yes] ->
    OK
    
    Do you want me to automatically download and install curl for you?
    [Yes] ->
    No
    
    [PROBLEME]
    Specify the directory you installed libcurl to
    [] ->
    The only place is: : /opt/curlssl
    
    Do you want to enable prefixes for chanadmin and chanowner?
    This will give +a the & prefix and ~ for +q (just like +o is @)
    Supported by the major clients (mIRC, xchat, epic, eggdrop, Klient,
    PJIRC, irssi, CGI:IRC, etc.)
    This feature should be enabled/disabled network-wide.
    [Yes] ->
    OK
    
    How far back do you want to keep the nickname history?
    [2000] ->
    OK
    
    What is the maximum sendq length you wish to have?
    [3000000] ->
    OK
    
    How many file descriptors (or sockets) can the IRCd use?
    [1024] ->
    OK
    
    Would you like to pass any custom parameters to configure?
    See  `./configure --help' and write them here:
    [] ->
    OK
    
    
    make
    
    make install
    
    * UnrealIRCd is now installed.
    * Leave this directory and run "cd /home/irc/unreal4/unrealircd4" now
    * Directory layout:
     * Base directory: /home/irc/unreal4/unrealircd4
      * Configuration files: /home/irc/unreal4/unrealircd4/conf
      * Log files: /home/irc/unreal4/unrealircd4/logs
      * Modules: /home/irc/unreal4/unrealircd4/modules
    * To start/stop UnrealIRCd run: /home/irc/unreal4/unrealircd4/unrealircd"
    
    * Consult the documentation online at:
      * Main Page - UnrealIRCd documentation wiki
      * FAQ - UnrealIRCd documentation wiki
    * You may also wish to install a cron job to ensure UnrealIRCd is always running:
      * Cron job - UnrealIRCd documentation wiki
    
    Again, be sure to change to the /home/irc/unreal4/unrealircd4 directory!
    
    
    cd /home/irc/unreal4/unrealircd4
    ./unrealircd start
    Starting UnrealIRCd
    [!!!] Curl version mismatch: compiled for '7.38.0', library is '7.19.7'
    [!!!] Header<->library mismatches can make UnrealIRCd *CRASH*! Make sure you don't have multiple versions of openssl installed (eg: one in /usr and one in /usr/local). And, if you recently upgraded them, be sure to recompile UnrealIRCd.
     _   _                      _ ___________  _____     _
    | | | |                    | |_   _| ___ \/  __ \   | |
    | | | |_ __  _ __ ___  __ _| | | | | |_/ /| /  \/ __| |
    | | | | '_ \| '__/ _ \/ _` | | | | |    / | |    / _` |
    | |_| | | | | | |  __/ (_| | |_| |_| |\ \ | \__/\ (_| |
     \___/|_| |_|_|  \___|\__,_|_|\___/\_| \_| \____/\__,_|
                               v4.0.10
    
      using PCRE2 10.22 2016-07-29
      using TRE 0.8.0 (BSD)
      using OpenSSL 1.0.1e-fips 11 Feb 2013
      using libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
    
    Loading IRCd configuration..
    Configuration loaded without any problems.
    Loading tunefile..
    Initializing SSL..
    Dynamic configuration initialized.. booting IRCd.
    UnrealIRCd is now listening on the following addresses/ports:
    IPv4: *:9850
    IPv6: *:9850
    UnrealIRCd started.
    [02:57:43] irc@srv1 [~/unreal4/unrealircd4]#
    (The irc server is running, work)
    
    
    Look the problem here:

    [!!!] Curl version mismatch: compiled for '7.38.0', library is '7.19.7'
    [!!!] Header<->library mismatches can make UnrealIRCd *CRASH*! Make sure you don't have multiple versions of openssl installed (eg: one in /usr and one in /usr/local). And, if you recently upgraded them, be sure to recompile UnrealIRCd.


    How do we handle that?

    I have Centos 6.5 with Cpanel


    [02:44:43] irc@srv1 [~]# cat /etc/redhat-release
    CentOS release 6.5 (Final)



    Salutations
     
    #1 mickael, Jan 16, 2017
    Last edited by a moderator: Jan 17, 2017
  2. anushkumar

    anushkumar Well-Known Member

    Joined:
    May 14, 2005
    Messages:
    57
    Likes Received:
    1
    Trophy Points:
    158
    cPanel Access Level:
    Root Administrator
    Hello,

    Check if you have multiple php versions configured and see if a different curl version is assigned to them. You may want to ensure you assign the right php version if that is the case.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,285
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you verify if this system uses EasyApache 3, or EasyApache 4?

    Thanks!
     
  4. mickael

    mickael Member

    Joined:
    Aug 3, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    it is EasyApache 3.


    Salutations
     
  5. mickael

    mickael Member

    Joined:
    Aug 3, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi

    Code:
    [09:02:04] irc@srv1 [~/unreal4/unrealircd4]# ./unrealircd start
    Starting UnrealIRCd
     _   _                      _ ___________  _____     _
    | | | |                    | |_   _| ___ \/  __ \   | |
    | | | |_ __  _ __ ___  __ _| | | | | |_/ /| /  \/ __| |
    | | | | '_ \| '__/ _ \/ _` | | | | |    / | |    / _` |
    | |_| | | | | | |  __/ (_| | |_| |_| |\ \ | \__/\ (_| |
     \___/|_| |_|_|  \___|\__,_|_|\___/\_| \_| \____/\__,_|
                               v4.0.10
    
      using PCRE2 10.22 2016-07-29
      using TRE 0.8.0 (BSD)
      using OpenSSL 1.0.1e-fips 11 Feb 2013
      using libcurl/7.51.0 OpenSSL/1.0.1e zlib/1.2.3 c-ares/1.12.0 libssh2/1.4.2
    
    Loading IRCd configuration..
    Configuration loaded without any problems.
    Loading tunefile..
    Initializing SSL..
    Dynamic configuration initialized.. booting IRCd.
    UnrealIRCd is now listening on the following addresses/ports:
    IPv4: *:9850
    IPv6: *:9850
    UnrealIRCd started.
    [09:02:17] irc@srv1 [~/unreal4/unrealircd4]#
    
    It's fixed, you fixed it ?!
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,285
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    No changes were made to EasyApache 3 related to cURL. The following thread offers instructions on using a custom cURL version on EasyApache 3:

    cURL with AsynchDNS

    Thank you.
     
Loading...

Share This Page