[ssh_x509] SSHX509 Startup script issue

ssh_x509 at roumenpetrov.info ssh_x509 at roumenpetrov.info
Mon Jun 8 16:29:08 EEST 2020


Hi Guys,

I'm getting following error while starting sshx509 with startup script, it
would great if someone can send working sshx509 startup script

tcp        0      0 0.0.0.0:5140            0.0.0.0:*               LISTEN
     32220/nrpe
tcp6       0      0 :::5140                 :::*                    LISTEN
     32220/nrpe
udp        0      0 10.10.0.160:123         0.0.0.0:*
    10122/ntpd
udp        0      0 127.0.0.1:123           0.0.0.0:*
    10122/ntpd
udp        0      0 0.0.0.0:123             0.0.0.0:*
    10122/ntpd
udp6       0      0 fe80::8e2:14ff:fec1:123 :::*
     10122/ntpd
udp6       0      0 ::1:123                 :::*
     10122/ntpd
udp6       0      0 :::123                  :::*
     10122/ntpd
root at ses:~# netstat -tunlp |grep ^C
root at ses:~# /etc/init.d/sshx509 start
+ set -e
+ test -x /usr/local/sbin/sshd
+ umask 022
+ test -f /etc/default/sshx509
+ . /etc/default/sshx509
+ SSHD_OPTS=
+ . /lib/lsb/init-functions
+ run-parts --lsbsysinit --list /lib/lsb/init-functions.d
+ [ -r /lib/lsb/init-functions.d/20-left-info-blocks ]
+ . /lib/lsb/init-functions.d/20-left-info-blocks
+ [ -r /lib/lsb/init-functions.d/40-systemd ]
+ . /lib/lsb/init-functions.d/40-systemd
+ _use_systemctl=0
+ [ -d /run/systemd/system ]
+ prog=sshx509
+ service=sshx509.service
+ systemctl -p LoadState --value show sshx509.service
+ state=loaded
+ [ loaded = masked ]
+ [ 30485 -ne 1 ]
+ [ -z  ]
+ readlink -f /etc/init.d/sshx509
+ [ loaded != not-found ]
+ _use_systemctl=1
+ systemctl -p CanReload --value show sshx509.service
+ [ yes = no ]
+ [ 1 = 1 ]
+ set +e
+ set +u
+ [ xstart = xstart -o xstart = xstop -o xstart = xrestart -o xstart =
xreload -o xstart = xforce-reload -o xstart = xtry-restart -o xstart =
xstatus ]
+ systemctl_redirect /etc/init.d/sshx509 start
+ local s
+ local rc
+ local prog=sshx509
+ local command=start
+ s=Starting sshx509 (via systemctl)
+ service=sshx509.service
+ systemctl is-system-running
+ OUT=degraded
+ [ degraded != degraded ]
+ [ start = status ]
+ log_daemon_msg Starting sshx509 (via systemctl) sshx509.service
+ [ -z Starting sshx509 (via systemctl) ]
+ log_daemon_msg_pre Starting sshx509 (via systemctl) sshx509.service
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ [ -t 1 ]
+ [ xxterm != x ]
+ [ xxterm != xdumb ]
+ [ -x /usr/bin/tput ]
+ [ -x /usr/bin/expr ]
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ [ -z ]
+ FANCYTTY=1
+ true
+ echo -n [....]
[....] + [ -z sshx509.service ]
+ echo -n Starting sshx509 (via systemctl): sshx509.service
Starting sshx509 (via systemctl): sshx509.service+ log_daemon_msg_post
Starting sshx509 (via systemctl) sshx509.service
+ :
+ /bin/systemctl --no-pager start sshx509.service




Job for sshx509.service failed because a timeout was exceeded.
See "systemctl status sshx509.service" and "journalctl -xe" for details.
+ rc=1
+ [ start = status ]
+ log_end_msg 1
+ [ -z 1 ]
+ local retval
+ retval=1
+ log_end_msg_pre 1
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ [ -t 1 ]
+ [ xxterm != x ]
+ [ xxterm != xdumb ]
+ [ -x /usr/bin/tput ]
+ [ -x /usr/bin/expr ]
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ [ -z 1 ]
+ true
+ true
+ /usr/bin/tput setaf 1
+ RED=
+ /usr/bin/tput setaf 2
+ GREEN=
+ /usr/bin/tput setaf 3
+ YELLOW=
+ /usr/bin/tput op
+ NORMAL=
+ /usr/bin/tput civis
+ /usr/bin/tput sc
+ /usr/bin/tput hpa 0
+ [ 1 -eq 0 ]
+ [ 1 -eq 255 ]
+ /bin/echo -ne [FAIL
[FAIL+ /usr/bin/tput rc
+ /usr/bin/tput cnorm
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ [ -t 1 ]
+ [ xxterm != x ]
+ [ xxterm != xdumb ]
+ [ -x /usr/bin/tput ]
+ [ -x /usr/bin/expr ]
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ [ -z 1 ]
+ true
+ true
+ /usr/bin/tput setaf 1
+ RED=
+ /usr/bin/tput setaf 3
+ YELLOW=
+ /usr/bin/tput op
+ NORMAL=
+ [ 1 -eq 0 ]
+ [ 1 -eq 255 ]
+ /bin/echo -e  failed!
 failed!
+ log_end_msg_post 1
+ :
+ return 1
+ return 1
+ exit 1

Regards,
Mudassir


More information about the ssh_x509 mailing list