LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 01-13-2012, 05:42 PM   #1
mohamed makhyoun
LQ Newbie
 
Registered: Dec 2011
Posts: 6

Rep: Reputation: Disabled
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
 
Old 01-13-2012, 11:18 PM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
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
 
Old 01-14-2012, 10:43 AM   #3
mohamed makhyoun
LQ Newbie
 
Registered: Dec 2011
Posts: 6

Original Poster
Rep: Reputation: Disabled
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
 
Old 01-15-2012, 12:58 AM   #4
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Hello,

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

Kind regards,

Eric
 
Old 01-15-2012, 05:11 PM   #5
mohamed makhyoun
LQ Newbie
 
Registered: Dec 2011
Posts: 6

Original Poster
Rep: Reputation: Disabled
sshd : redirecting to systemctl

Hi Eric;

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

Best regard

M.M
 
Old 01-16-2012, 12:25 AM   #6
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 15 - systemctl failures punt Fedora 5 05-31-2011 03:01 PM
Upgraded to Fedora 15 now OpenVPN doesn't work ... systemctl issue? Hanse42 Linux - Newbie 10 05-29-2011 10:32 AM
Starting sshd: /etc/init.d/sshd: line 113: /usr/sbin/sshd: Permission denied sumanc Linux - Server 5 03-28-2008 04:59 AM
FC4-Starting sshd: Privilege separation user sshd does not exist FAILED kiranherekar Fedora 5 12-29-2005 02:22 PM


All times are GMT -5. The time now is 02:58 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration