Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SSHD Failed i use autofix=safesshrestart but not working

Discussion in 'General Discussion' started by dlthhost, May 30, 2007.

  1. dlthhost

    dlthhost Member

    Joined:
    Sep 28, 2006
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    Bangkok, Thailand
    cPanel Access Level:
    Root Administrator
    Spec
    Linux Trustix 2.0
    WHM 10.8.0 cPanel 10.9.0-R10737
    Trustix i686 - WHM X v3.1.0

    i try https://202.xxx.xxx.xxx:2087/scripts2/doautofixer?autofix=safesshrestart

    i got message

    Requesting script ... Done.

    Executing script ...

    Attempting to locate sshd binaries installed on the system ...

    Located /usr/sbin/sshd

    Done.

    Killing exisiting sshd processes...

    Shutting down sshd: [ OK ]


    Done.

    configuring sshd to run on port 22

    /usr/sbin/sshd successfully started!

    root 12591 0.0 0.1 2676 1168 ? S 15:56 0:00 /usr/sbin/sshd -f /var/cpanel/safe_sshd


    root 12598 0.0 0.1 2676 1168 ? R 15:56 0:00 /usr/sbin/sshd -f /var/cpanel/safe_sshd



    Done.

    but i try /etc/init.d/sshd restart or service sshd restart not working

    i use ConfigServer Security&Firewall and TCP in/out open port 22 ready (Default config from ConfigServer Security&Firewall)

    but i upgrade openssl & openssh

    from (configure for openssl & openssh is correct ?)

    Upgrade OpenSSL

    cd /usr/src
    wget -c http://www.openssl.org/source/openssl-0.9.7e.tar.gz
    tar -zxf openssl-0.9.7e.tar.gz
    cd openssl-0.9.7e
    ./Configure --prefix=/usr linux-pentium
    make
    make test
    make install

    and

    Upgrade OpenSSH

    cd /usr/src
    wget -c http://ftp.belnet.be/packages/openbsd/OpenSSH/portable/openssh-3.9p1.tar.gz
    tar -xzf openssh-3.9p1.tar.gz
    cd openssh-3.9p1
    ./configure --prefix=/usr --sysconfdir=/etc/ssh --with-ssl-dir=/usr/src/openssl-0.9.7e --with-pam --without-zlib-version-check
    make
    make install
    /etc/init.d/sshd restart


    OpenSSH_4.4p1, OpenSSL 0.9.7e 25 Oct 2004


    /etc/init.d/sshd restart
    Shutting down sshd: [ OK ]
    Starting sshd: sshd re-exec requires execution with an absolute path
    [FAILED]
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice