
22nd July 2011, 01:38 AM
|
|
Registered User
|
|
Join Date: Dec 2008
Posts: 7

|
|
chkconfig sshd returns _nothing_ in new Fedora15 install
I've had no problems remoting into my fedora box before but, after a clean wipe and install of Fedora 15, I can't seem to catch a break.
I've tried to set up the service already, per Google'd howto's specific to F15, including turning off SELinux. When I have chkconfig list...
[root@icarus malkor]# chkconfig --list
I get...
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
abrt-ccpp 0:off 1:off 2:off 3:on 4:off 5:on 6:off
abrt-oops 0:off 1:off 2:off 3:on 4:off 5:on 6:off
auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
backuppc 0:off 1:off 2:off 3:off 4:off 5:off 6:off
btseed 0:off 1:off 2:off 3:off 4:off 5:off 6:off
bttrack 0:off 1:off 2:off 3:off 4:off 5:off 6:off
cgconfig 0:off 1:off 2:on 3:on 4:on 5:on 6:off
cgred 0:off 1:off 2:off 3:off 4:off 5:off 6:off
cpuspeed 0:off 1:on 2:on 3:on 4:on 5:on 6:off
cups 0:off 1:off 2:on 3:on 4:on 5:on 6:off
dnsmasq 0:off 1:off 2:off 3:off 4:off 5:off 6:off
ebtables 0:off 1:off 2:off 3:off 4:off 5:off 6:off
firstboot 0:off 1:off 2:off 3:off 4:off 5:off 6:off
gfs2 0:off 1:off 2:off 3:off 4:off 5:off 6:off
gpsd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
hddtemp 0:off 1:off 2:off 3:off 4:off 5:off 6:off
httpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
ip6tables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
ipsec 0:off 1:off 2:off 3:off 4:off 5:off 6:off
iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
irda 0:off 1:off 2:off 3:off 4:off 5:off 6:off
iscsi 0:off 1:off 2:off 3:on 4:on 5:on 6:off
iscsid 0:off 1:off 2:off 3:on 4:on 5:on 6:off
ksm 0:off 1:off 2:off 3:on 4:on 5:on 6:off
ksmtuned 0:off 1:off 2:off 3:on 4:on 5:on 6:off
libvirt-guests 0:off 1:off 2:on 3:on 4:on 5:on 6:off
libvirtd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
lirc 0:off 1:off 2:off 3:off 4:off 5:off 6:off
lvm2-monitor 0:off 1:on 2:on 3:on 4:on 5:on 6:off
mdmonitor 0:off 1:off 2:on 3:on 4:on 5:on 6:off
multipathd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
mysqld 0:off 1:off 2:off 3:off 4:off 5:off 6:off
netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off
netfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off
network 0:off 1:off 2:off 3:off 4:off 5:off 6:off
nfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off
nfslock 0:off 1:off 2:off 3:on 4:on 5:on 6:off
openvpn 0:off 1:off 2:off 3:off 4:off 5:off 6:off
pcscd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
portreserve 0:off 1:off 2:on 3:on 4:on 5:on 6:off
psacct 0:off 1:off 2:off 3:off 4:off 5:off 6:off
rpcbind 0:off 1:off 2:on 3:on 4:on 5:on 6:off
rpcgssd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
rpcidmapd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
rpcsvcgssd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
sandbox 0:off 1:off 2:off 3:off 4:off 5:on 6:off
saslauthd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
sendmail 0:off 1:off 2:on 3:on 4:on 5:on 6:off
smolt 0:off 1:off 2:on 3:on 4:on 5:on 6:off
snmpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
snmptrapd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
speech-dispatcherd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
sshd 0:off 1:on 2:on 3:on 4:on 5:on 6:off
wpa_supplicant 0:off 1:off 2:off 3:off 4:off 5:off 6:off
xinetd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
ypbind 0:off 1:off 2:off 3:off 4:off 5:off 6:off
zvbid 0:off 1:off 2:off 3:off 4:off 5:off 6:off
xinetd based services:
chargen-dgram: off
chargen-stream: off
daytime-dgram: off
daytime-stream: off
discard-dgram: off
discard-stream: off
echo-dgram: off
echo-stream: off
rsync: off
tcpmux-server: off
tftp: off
time-dgram: off
time-stream: off
Also did...
[root@icarus etc]# chkconfig --list sshd
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
sshd 0:off 1:on 2:on 3:on 4:on 5:on 6:off
...so SSH is listed, and I'm in my normal runlevel: multiuser w/ KDE. After checking the man page for chkconfig, I tried...
[root@icarus malkor]# chkconfig ssh
...which returned nothing.
I then tried...
[root@icarus malkor]# chkconfig /etc/init.d/sshd
...and, to make sure I was using the correct one, I did ...
[root@icarus malkor]# which sshd
/usr/sbin/sshd
Wheh I tried with that full-path-filename, however, I got the same result...
[root@icarus malkor]# chkconfig /usr/sbin/sshd
When I 'ls -l' each copy of ssh, I got...
-rwxr-xr-x. 1 root root 4600 Jul 14 08:05 /etc/init.d/sshd
-rwxr-xr-x. 1 root root 548648 Jul 14 08:05 /usr/sbin/sshd
...so neither is a link: both appear to be executable and the script in init.d _does_ point to the actual program in /usr/sbin.
I then tried...
[root@icarus malkor]# service sshd status
...which got me.
sshd.service - LSB: Start up the OpenSSH server daemon
Loaded: loaded (/etc/rc.d/init.d/sshd)
Active: active (exited) since Wed, 20 Jul 2011 20:06:58 -0500; 9h ago
Process: 954 ExecStart=/etc/rc.d/init.d/sshd start (code=exited, status=0/SUCCESS)
Main PID: 1084 (code=exited, status=255)
CGroup: name=systemd:/system/sshd.service
I tried to Google 'service sshd status' to find out what I _should_ see, but all I found were error-reports. I could find no good, current examplar.
Checked a couple of other things...
[root@icarus etc]# ps -ef | grep ssh
malkor 1467 1338 0 Jul20 ? 00:00:00 /usr/bin/ssh-agent /etc/X11/xinit/Xclients
root 8140 2457 0 06:48 pts/0 00:00:00 grep --color=auto ssh
[root@icarus malkor]#
[root@icarus malkor]# service sshd status
sshd.service - LSB: Start up the OpenSSH server daemon
Loaded: loaded (/etc/rc.d/init.d/sshd)
Active: active (exited) since Wed, 20 Jul 2011 20:06:58 -0500; 9h ago
Process: 954 ExecStart=/etc/rc.d/init.d/sshd start (code=exited, status=0/SUCCESS)
Main PID: 1084 (code=exited, status=255)
CGroup: name=systemd:/system/sshd.service
Read a few more 'man' pages and tried...
[root@icarus malkor]# chkconfig ssh on
error reading information on service ssh: No such file or directory
And, finally, I can't even ssh into my own localhost.
I'll provide whatever else is needed: I'm just spun round right now and don't know what to do next. Thanks for the help!
|