LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   sshd : redirecting to systemctl (http://www.linuxquestions.org/questions/linux-software-2/sshd-redirecting-to-systemctl-923668/)

mohamed makhyoun 01-13-2012 05:42 PM

sshd : redirecting to systemctl
 
Dear all; opensuse 12.1

I am using mpirun of mpich1 to run an application and port 22 refused to connect.

I ran the command : sudo /etc/init.d/sshd start

The response was: redirecting to systemctl instead of starting the daemon.

I do not know how to solve this problem?

Best regard

M. Makhyoun

EricTRA 01-13-2012 11:18 PM

Hello,

I don't know openSUSE but if you're using systemd you could check/start/stop with:
Code:

systemctl status sssh.service
to check if the SSH server is running. Substitute status for start to start the service. If it errors out please post the output.

Kind regards,

Eric

mohamed makhyoun 01-14-2012 10:43 AM

sshd : redirecting to systemctl
 
Dear Sir:

By executing the code: systemctl start ssh.service

The output was: Failed to issue method call : unit ssh.service failed to load: see system logs.

I appreciate any help.

Best regard

M. Makhyoun

EricTRA 01-15-2012 12:58 AM

Hello,

Did you check the system logs as indicated by the error? If so what was mentioned in there?

Kind regards,

Eric

mohamed makhyoun 01-15-2012 05:11 PM

sshd : redirecting to systemctl
 
Hi Eric;

Thank you for your concern. How can I check system logs. ?

Best regard

M.M

EricTRA 01-16-2012 12:25 AM

Hello,

I don't know openSUSE, as indicated before, but following the normal directory structure, your logs are located in /var/log. So open a terminal and check /var/log/messages, /var/log/syslog using the commands less, more or open them in an editor for reviewing. Might I suggest you do some reading to get familiar with Linux since this is basic knowleged. This guide is a very good starting point to learn the basics of Linux.

Kind regards,

Eric


All times are GMT -5. The time now is 11:45 PM.