Skip to content

SSH and rc.d issues

I've used Arch in the past and haven't had these issues before, but after a little bit of a hiatus I came back to Arch which usually happens after I sleep with other distros for a while. Anyways I'm having two issues and not really sure where to go with it. One is I can't ssh into anything. I'm just instantly getting Could not resolve into blank.blank: Name or service not known. I checked with a few other people and it's working for them and my account still works on other computers.

Second when I go to rc.d restart for a daemon I'm getting rc.d command not found, which has never happened before and a google search has not been the least bit helpful.

I appreciate the help in advance.

EDIT: SSH is kind of fixed, when I ssh into the IP instead of username@site.net it works

7 points9 comments
Open on Reddit
About this post
Posted
Archived
Score
7 · 100% up
Kind
Text
ID
ifict

9 comments

Are you typing the full path to the daemon without spaces?

sudo /etc/rc.d/sshd restart

If you're sshing using a hostname instead of IP make sure that you can resolve names. If not check /etc/resolv.conf to make sure that you have a DNS server IP there.

4 points
unknown author5 hidden

solved the rc.d problem.

all I have in resolv.conf is a domain and a nameserver

3 points

I'm having two issues and not really sure where to go with it

This has nothing to do with Arch. Stop looking for "arch solutions". Your resolver is not configured properly, fix your DNS. Ubuntu or Arch makes no difference. Second issue is your PATH, if you are not the super user /sbin might not be in your PATH.

0 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.