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 not running ..

Discussion in 'General Discussion' started by hostmedic, Mar 30, 2005.

  1. hostmedic

    hostmedic Well-Known Member

    Joined:
    Apr 30, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Washington Court House, Ohio, United States
    cPanel Access Level:
    DataCenter Provider
    Version: 10.0.0-RELEASE_7 cPanel ID# 94472

    Problem: one of the Cpanel boxes we have we are unable to get Curl to run correctly.


    (OUCH I KNOW )

    anyhow when going into shell and then running curl via command line
    this shows

    Code:
    root@theplanetserver34 [/]# curl yahoo.com
    The document has moved here.


    however it hangs when doing

    Code:
    root@theplanetserver34 [/]# curl https://www.pnc.com




    or any other secure site


    We have to keep taking our customers needing to run Curl for any purpose and put on other servers -
    any clue ?




    I am thinking that just a curl reload would work - but dont want to hose the box either


    If curl was installed via binary could we take back off - ? I just want to make sure Cpanel doesnt decide to go crazy here.




    thanks


    ps:


    [/]# rpm -qa | grep curl
    curl-7.10.6-4.2
    curl-devel-7.10.6-4.2


    [/]# whereis curl
    curl: /usr/bin/curl /usr/local/bin/curl /usr/include/curl /usr/share/curl /usr/man/man1/curl.1 /usr/share/man/man1/curl.1.gz


    [/]# curl -V
    curl 7.13.1 (i686-pc-linux-gnu) libcurl/7.13.1 OpenSSL/0.9.7a zlib/1.1.4
    Protocols: ftp gopher telnet dict ldap http file https ftps
    Features: Largefile NTLM SSL libz
     
    #1 hostmedic, Mar 30, 2005
    Last edited: Mar 30, 2005
  2. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    I'm not sure how this is cpanel related exactly ? Curl is provided by your OS distribution ( from the looks of it, you're using either RHEL3 or CentOS3, which you failed to tell us ). Have you tried removing the rpm and re-installing ? I would have an admin check it out rather than complaining to cpanel over something that, at least from your post, appears not to be a cPanel related issue at all.

    For what its worth, i ran the above on a CentOS3.4 server, no hanging, no problems.

    Are you perhaps blocking ports you may need via a firewall ?
     
  3. hostmedic

    hostmedic Well-Known Member

    Joined:
    Apr 30, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Washington Court House, Ohio, United States
    cPanel Access Level:
    DataCenter Provider
    in short

    The reason I am going to Cpanel is because it was running fine and then just stopped...

    I have updated Cpanel and that is when it stopped.


    I have had an admin also try this and we were both stuck ...

    This is a RedHat Enterprise 3 box btw (guess that would help... lol)

    in short this is how an admin had installed curl before the cpanel update:

    wget http://curl.haxx.se/download/curl-7.13.1.tar.gz
    gzip -d curl-7.13.1.tar.gz
    tar -xvf curl-7.13.1.tar
    cd curl-7.13.1 (The directory may not be named that check if don't work)
    ./configure
    make
    make install


    I am not sure how to uninstall from here though ... guess thats what I am paying the admins for but they seem lost / stuck on this one.

    one thing I am going to try however is to do the ./configure in this method --- ./configure --with-ssl

    will let you know how it goes
     
    #3 hostmedic, Mar 30, 2005
    Last edited: Mar 30, 2005
  4. hostmedic

    hostmedic Well-Known Member

    Joined:
    Apr 30, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Washington Court House, Ohio, United States
    cPanel Access Level:
    DataCenter Provider
    ./configure --with-ssl

    no go

    bit lost on this one. . .
     
  5. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    I just noticed the version discrepancy.

    I'd say the reason you're having issues, is because you've taken it upon yourself ( or your admin has ) to install curl from source, rather than use the rpm's provided for you. Thats generally a no no on package based systems unless its absolutely necessary. Not only that, but installing a source package means that its not longer "legit" redhat enterprise, thus no support should be provided to you by cpanel at all.

    I would recommend you either

    1. remove the source install, and re-install the rpm's, or,
    2. remove the rpm's, review the install documentation for the source to ensure you don't need anything special in the configure line to use curl with ssl support ( I do believe this has to be specified ). Also make sure you have all the required dependancies and check for errors during install.
     
  6. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
  7. hostmedic

    hostmedic Well-Known Member

    Joined:
    Apr 30, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Washington Court House, Ohio, United States
    cPanel Access Level:
    DataCenter Provider
    make uninstall

    thats it ...

    just make uninstall



    thanks for the help everyone
     
Loading...

Share This Page