Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Feb 2003
    Location
    Gothenburg, Sweden
    Posts
    324

    Default dnsOnly - stunnel and port 2087

    Hi,
    Had to reinstall one of our dns servers this night and ran into some problems with the dnsonly install - haven't used it in a year or two. It seems it has quite a few bugs right now, which may or may not be fixed with some tweaks here and there.

    I got bind working but I can't get stunnel to start up.. Whatever I do (i've read through most/all of the stunnel threads here already), it just refuses.. I've recompiled stunnel from cpanel sources (4.15) and symbolic linked it to /usr/bin/stunnel4.15local and /usr/sbin/stunnel and checked that stunnel isn't running and added it to the stopstunnel script.

    Running out of options - I logged a ticket with cPanel staff but am afraid I can't wait much longer..

    I've also added cpanel user manually since there wasnt one and stunnel was complaining about cpanel GID not found. I changed the cpanel root to /usr/local/cpanel

    This is the error from messages:
    May 18 06:27:40 dns1 stunnel: LOG5[3939:3086448864]: stunnel 4.15 on i686-pc-linux-gnu with OpenSSL 0.9.7a Feb 19 2003
    May 18 06:27:40 dns1 stunnel: LOG5[3939:3086448864]: Threading:PTHREAD SSL:ENGINE Sockets:POLL,IPv4 Auth:LIBWRAP
    May 18 06:27:40 dns1 stunnel: LOG5[3939:3086448864]: 500 clients allowed
    May 18 06:27:40 dns1 stunnel: LOG3[3952:3086448864]: chroot: No such file or directory (2)

    twitter: oderland_david

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Feb 2003
    Location
    Gothenburg, Sweden
    Posts
    324

    Default

    Solved..
    The directory it was looking for wasnt created.. /usr/local/cpanel/var/run/stunnel

    var/run/stunnel wasnt there.. none of em
    And then I had to chown cpanel to em.. so stunnel could create a pid file.

    twitter: oderland_david

Similar Threads & Tags
Similar threads

  1. Can't connect to port 2087!
    By digdoug in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-08-2008, 01:07 PM
  2. DNSonly port 2087 problem. Very weird problem
    By web2corp in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 04-12-2007, 03:23 AM
  3. Can't access WHM through port 2087
    By alex2k in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-30-2006, 11:58 AM
  4. How do I get port 2087 open?
    By BianchiDude in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-02-2005, 09:33 PM
  5. SSL problem, i can not see 2087 port
    By gara in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-06-2005, 12:32 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube