Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[root@ray ~]# chkconfig sshd on
[root@ray ~]# service sshd restart
Restarting sshd (via systemctl): Job failed. See system logs and 'systemctl status' for details.
[FAILED]
[root@ray ~]# service sshd start
Starting sshd (via systemctl): Job failed. See system logs and 'systemctl status' for details.
[FAILED]
[root@ray ~]# systemctl status
Too few arguments.
[root@ray ~]# systemctl status ssh
Failed to issue method call: Unit name ssh is not valid.
[root@ray ~]# systemctl status sshd
Failed to issue method call: Unit name sshd is not valid.
[root@ray ~]# setup
[root@ray ~]# service ssh restart
ssh: unrecognized service
[root@ray ~]# systemctl enable sshd.service
sshd.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig sshd on
[root@ray ~]# service ssh restart
ssh: unrecognized service
[root@ray ~]# service sshd restart
Restarting sshd (via systemctl): Job failed. See system logs and 'systemctl status' for details.
[FAILED]
[root@ray ~]# system-config-firewall
/usr/share/system-config-firewall/fw_gui.py:2369: GtkWarning: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.396UDW': No such file or directory
gtk.main()
/usr/share/system-config-firewall/fw_gui.py:2369: GtkWarning: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
gtk.main()
[root@ray ~]# systemctl start sshd.service
Job failed. See system logs and 'systemctl status' for details.
[root@ray ~]# systemctl start sshd.service
Job failed. See system logs and 'systemctl status' for details.
[root@ray ~]# service sshd restart
Restarting sshd (via systemctl): Job failed. See system logs and 'systemctl status' for details.
[FAILED]
[root@ray ~]# service sshd status
sshd.service - LSB: Start up the OpenSSH server daemon
Loaded: loaded (/etc/rc.d/init.d/sshd)
Active: failed since Thu, 03 May 2012 08:58:38 -0400; 1min 6s ago
Process: 24070 ExecStart=/etc/rc.d/init.d/sshd start (code=exited, status=255)
CGroup: name=systemd:/system/sshd.service
[root@ray ~]# 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:off 2:on 3:on 4:on 5:on 6:off
[root@ray ~]# chkconfig --level 345 sshd on
[root@ray ~]# 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:off 2:on 3:on 4:on 5:on 6:off
[root@ray ~]# service sshd start
Starting sshd (via systemctl): Job failed. See system logs and 'systemctl status' for details.
[FAILED]
So i have tried everything I can think of to get sshd to bloody start. Now i can ssh out, but I need to be able to ssh in to my system. Also the firewall is off and IIRC i have disabled SELinux too.
Code:
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
Any suggestions, directions, help is greatly appreciated. Thanks.
May 3 08:14:23 ray gnome-screensaver-dialog: PAM unable to dlopen(/lib/security/pam_fprintd.so): /lib/security/pam_fprintd.so: cannot open shared object file: No such file or directory
May 3 08:14:23 ray gnome-screensaver-dialog: PAM adding faulty module: /lib/security/pam_fprintd.so
May 3 08:14:28 ray unix_chkpwd[23507]: password check failed for user (ray)
May 3 08:14:28 ray gnome-screensaver-dialog: pam_unix(gnome-screensaver:auth): authentication failure; logname= uid=500 euid=500 tty=:0.0 ruser= rhost= user=ray
May 3 08:14:28 ray gnome-screensaver-dialog: gkr-pam: the password for the login keyring was invalid.
May 3 08:14:30 ray gnome-screensaver-dialog: PAM unable to dlopen(/lib/security/pam_fprintd.so): /lib/security/pam_fprintd.so: cannot open shared object file: No such file or directory
May 3 08:14:30 ray gnome-screensaver-dialog: PAM adding faulty module: /lib/security/pam_fprintd.so
May 3 08:50:44 ray su: PAM unable to dlopen(/lib/security/pam_fprintd.so): /lib/security/pam_fprintd.so: cannot open shared object file: No such file or directory
May 3 08:50:44 ray su: PAM adding faulty module: /lib/security/pam_fprintd.so
May 3 08:50:48 ray su: pam_unix(su-l:session): session opened for user root by ray(uid=500)
sadly im not sure how to interpret this information.
That is all is all of the data from today in /var/log/secure
May 3 00:40:23 ray dbus-daemon: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
May 3 00:40:24 ray dbus-daemon: [system] Successfully activated service 'org.freedesktop.PackageKit'
May 3 01:40:23 ray dbus-daemon: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
May 3 01:40:24 ray dbus-daemon: [system] Successfully activated service 'org.freedesktop.PackageKit'
May 3 02:40:23 ray dbus-daemon: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
May 3 02:40:24 ray dbus-daemon: [system] Successfully activated service 'org.freedesktop.PackageKit'
May 3 03:40:23 ray dbus-daemon: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
May 3 03:40:24 ray dbus-daemon: [system] Successfully activated service 'org.freedesktop.PackageKit'
May 3 04:40:23 ray dbus-daemon: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
May 3 04:40:24 ray dbus-daemon: [system] Successfully activated service 'org.freedesktop.PackageKit'
May 3 05:40:23 ray dbus-daemon: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
May 3 05:40:24 ray dbus-daemon: [system] Successfully activated service 'org.freedesktop.PackageKit'
May 3 06:40:23 ray dbus-daemon: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
May 3 06:40:24 ray dbus-daemon: [system] Successfully activated service 'org.freedesktop.PackageKit'
May 3 07:40:23 ray dbus-daemon: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
May 3 07:40:24 ray dbus-daemon: [system] Successfully activated service 'org.freedesktop.PackageKit'
May 3 08:20:11 ray pulseaudio[18674]: ratelimit.c: 1484 events suppressed
May 3 08:23:53 ray pulseaudio[18674]: ratelimit.c: 1074 events suppressed
May 3 08:28:03 ray pulseaudio[18674]: ratelimit.c: 961 events suppressed
May 3 08:35:23 ray pulseaudio[18674]: ratelimit.c: 988 events suppressed
May 3 08:35:58 ray pulseaudio[18674]: ratelimit.c: 927 events suppressed
May 3 08:36:23 ray pulseaudio[18674]: ratelimit.c: 1129 events suppressed
May 3 08:40:23 ray dbus-daemon: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
May 3 08:40:24 ray dbus-daemon: [system] Successfully activated service 'org.freedesktop.PackageKit'
May 3 08:43:19 ray pulseaudio[18674]: ratelimit.c: 1133 events suppressed
May 3 08:44:22 ray pulseaudio[18674]: ratelimit.c: 962 events suppressed
May 3 08:51:14 ray systemd[1]: sshd.service: control process exited, code=exited status=255
May 3 08:51:14 ray systemd[1]: Unit sshd.service entered failed state.
May 3 08:51:24 ray systemd[1]: sshd.service: control process exited, code=exited status=255
May 3 08:51:24 ray systemd[1]: Unit sshd.service entered failed state.
May 3 08:54:34 ray yum[23795]: Updated: openssh-5.6p1-36.fc15.i686
May 3 08:54:34 ray yum[23795]: Updated: openssh-clients-5.6p1-36.fc15.i686
May 3 08:54:36 ray systemd[1]: Reloading.
May 3 08:54:36 ray yum[23795]: Updated: openssh-server-5.6p1-36.fc15.i686
May 3 08:54:38 ray dbus-daemon: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
May 3 08:54:38 ray dbus-daemon: [system] Successfully activated service 'org.freedesktop.PackageKit'
May 3 08:54:43 ray systemd[1]: Reloading.
May 3 08:54:47 ray systemd[1]: sshd.service: control process exited, code=exited status=255
May 3 08:54:47 ray systemd[1]: Unit sshd.service entered failed state.
May 3 08:54:51 ray systemd[1]: sshd.service: control process exited, code=exited status=255
May 3 08:54:51 ray systemd[1]: Unit sshd.service entered failed state.
May 3 08:55:12 ray pulseaudio[18674]: ratelimit.c: 946 events suppressed
May 3 08:55:36 ray system-config-network[23939]: rm //etc/sysconfig/networking/profiles//default/resolv.conf
May 3 08:55:36 ray system-config-network[23939]: ln //etc/resolv.conf //etc/sysconfig/networking/profiles//default/resolv.conf
May 3 08:56:42 ray systemd[1]: Reloading.
May 3 08:56:42 ray systemd[1]: Reloading.
May 3 08:56:56 ray systemd[1]: sshd.service: control process exited, code=exited status=255
May 3 08:56:56 ray systemd[1]: Unit sshd.service entered failed state.
May 3 08:58:26 ray systemd[1]: sshd.service: control process exited, code=exited status=255
May 3 08:58:26 ray systemd[1]: Unit sshd.service entered failed state.
May 3 08:58:35 ray systemd[1]: sshd.service: control process exited, code=exited status=255
May 3 08:58:35 ray systemd[1]: Unit sshd.service entered failed state.
May 3 08:58:38 ray systemd[1]: sshd.service: control process exited, code=exited status=255
May 3 08:58:38 ray systemd[1]: Unit sshd.service entered failed state.
May 3 08:59:41 ray pulseaudio[18674]: ratelimit.c: 922 events suppressed
May 3 09:00:29 ray systemd[1]: Reloading.
May 3 09:00:57 ray systemd[1]: sshd.service: control process exited, code=exited status=255
May 3 09:00:57 ray systemd[1]: Unit sshd.service entered failed state.
May 3 09:02:28 ray pulseaudio[18674]: ratelimit.c: 1034 events suppressed
May 3 09:04:18 ray pulseaudio[18674]: ratelimit.c: 942 events suppressed
May 3 09:05:18 ray pulseaudio[18674]: ratelimit.c: 969 events suppressed
May 3 09:05:24 ray pulseaudio[18674]: ratelimit.c: 1030 events suppressed
May 3 09:10:18 ray pulseaudio[18674]: ratelimit.c: 1130 events suppressed
May 3 09:19:45 ray pulseaudio[18674]: ratelimit.c: 1132 events suppressed
May 3 09:20:29 ray pulseaudio[18674]: ratelimit.c: 391 events suppressed
May 3 09:22:39 ray pulseaudio[18674]: ratelimit.c: 893 events suppressed
May 3 09:33:15 ray pulseaudio[18674]: ratelimit.c: 281 events suppressed
May 3 09:34:23 ray pulseaudio[18674]: ratelimit.c: 286 events suppressed
May 3 09:39:40 ray pulseaudio[18674]: ratelimit.c: 1529 events suppressed
May 3 09:40:23 ray dbus-daemon: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
May 3 09:40:24 ray dbus-daemon: [system] Successfully activated service 'org.freedesktop.PackageKit'
May 3 10:10:09 ray pulseaudio[18674]: ratelimit.c: 883 events suppressed
May 3 10:10:42 ray pulseaudio[18674]: ratelimit.c: 1033 events suppressed
May 3 10:28:10 ray pulseaudio[18674]: ratelimit.c: 1010 events suppressed
May 3 10:37:14 ray pulseaudio[18674]: ratelimit.c: 962 events suppressed
May 3 10:39:28 ray pulseaudio[18674]: ratelimit.c: 870 events suppressed
May 3 10:40:23 ray dbus-daemon: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
May 3 10:40:24 ray dbus-daemon: [system] Successfully activated service 'org.freedesktop.PackageKit'
May 3 10:40:32 ray pulseaudio[18674]: ratelimit.c: 926 events suppressed
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.