public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-amd64] daemons won't start
@ 2005-11-23 16:01 DR GM SEDDON
  2005-11-23 16:06 ` Craig Webster
  0 siblings, 1 reply; 13+ messages in thread
From: DR GM SEDDON @ 2005-11-23 16:01 UTC (permalink / raw
  To: gentoo-amd

Hello,
I've tried gnome services, rc-update.  I cannot get sshd or dhcp to 
start at boot.  dhcpcd start eth0 starts networking.  If I 
'/etc/init.d/sshd start' I get 'Error: not enough args'.  Can anyone help?
Gavin
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-amd64] daemons won't start
  2005-11-23 16:01 [gentoo-amd64] daemons won't start DR GM SEDDON
@ 2005-11-23 16:06 ` Craig Webster
  2005-11-23 16:22   ` DR GM SEDDON
  0 siblings, 1 reply; 13+ messages in thread
From: Craig Webster @ 2005-11-23 16:06 UTC (permalink / raw
  To: gentoo-amd64

Hi DR GM SEDDON <gavin.m.seddon@manchester.ac.uk>,
> I've tried gnome services, rc-update.  I cannot get sshd or dhcp to 
> start at boot.  dhcpcd start eth0 starts networking.  If I 
> '/etc/init.d/sshd start' I get 'Error: not enough args'.  Can anyone help?

Try running 
/usr/sbin/sshd -d -d -d -e -f /etc/ssh/sshd_config
and seeing what it spits out.

What does you /etc/init.d/sshd file contain?

C
-- 
Craig Webster | web: http://xeriom.net/  | Monkey see, monkey do: Okay.
Xeriom.NET    | tel: +44 (0)131 516 8595 | Monkey top post: Bad monkey.
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-amd64] daemons won't start
  2005-11-23 16:06 ` Craig Webster
@ 2005-11-23 16:22   ` DR GM SEDDON
  2005-11-23 16:27     ` Ian McCulloch
  0 siblings, 1 reply; 13+ messages in thread
From: DR GM SEDDON @ 2005-11-23 16:22 UTC (permalink / raw
  To: gentoo-amd64

Craig Webster wrote:

>Hi DR GM SEDDON <gavin.m.seddon@manchester.ac.uk>,
>  
>
>>I've tried gnome services, rc-update.  I cannot get sshd or dhcp to 
>>start at boot.  dhcpcd start eth0 starts networking.  If I 
>>'/etc/init.d/sshd start' I get 'Error: not enough args'.  Can anyone help?
>>    
>>
>
>Try running 
>/usr/sbin/sshd -d -d -d -e -f /etc/ssh/sshd_config
>and seeing what it spits out.
>  
>

'/etc/sssh/sshd_config no such file or dir'.  This is likely the prob, 
how do I fix?

>What does you /etc/init.d/sshd file contain?
>script for running ssh, do you need to see it?
>C
>  
>

-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-amd64] daemons won't start
  2005-11-23 16:22   ` DR GM SEDDON
@ 2005-11-23 16:27     ` Ian McCulloch
  2005-11-23 16:31       ` DR GM SEDDON
  0 siblings, 1 reply; 13+ messages in thread
From: Ian McCulloch @ 2005-11-23 16:27 UTC (permalink / raw
  To: gentoo-amd64



On Wed, 23 Nov 2005, DR GM SEDDON wrote:

> Craig Webster wrote:
> 
> > Hi DR GM SEDDON <gavin.m.seddon@manchester.ac.uk>,
> > 
> > 
> > > I've tried gnome services, rc-update.  I cannot get sshd or dhcp to
> > > start at boot.  dhcpcd start eth0 starts networking.  If I
> > > '/etc/init.d/sshd start' I get 'Error: not enough args'.  Can anyone
> > > help?
> > > 
> > > 
> > 
> > Try running /usr/sbin/sshd -d -d -d -e -f /etc/ssh/sshd_config
> > and seeing what it spits out.
> > 
> > 
> 
> '/etc/sssh/sshd_config no such file or dir'.  This is likely the prob, how do
> I fix?

Was that a typo?  it should be /etc/ssh/sshd_config, not 
/etc/sssh/sshd_config (extra 's').

Cheers,
Ian
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-amd64] daemons won't start
  2005-11-23 16:27     ` Ian McCulloch
@ 2005-11-23 16:31       ` DR GM SEDDON
  2005-11-23 18:36         ` Craig Webster
  2005-11-23 22:04         ` Drake Donahue
  0 siblings, 2 replies; 13+ messages in thread
From: DR GM SEDDON @ 2005-11-23 16:31 UTC (permalink / raw
  To: gentoo-amd64

Ian McCulloch wrote:

>On Wed, 23 Nov 2005, DR GM SEDDON wrote:
>
>  
>
>>Craig Webster wrote:
>>
>>    
>>
>>>Hi DR GM SEDDON <gavin.m.seddon@manchester.ac.uk>,
>>>
>>>
>>>      
>>>
>>>>I've tried gnome services, rc-update.  I cannot get sshd or dhcp to
>>>>start at boot.  dhcpcd start eth0 starts networking.  If I
>>>>'/etc/init.d/sshd start' I get 'Error: not enough args'.  Can anyone
>>>>help?
>>>>
>>>>
>>>>        
>>>>
>>>Try running /usr/sbin/sshd -d -d -d -e -f /etc/ssh/sshd_config
>>>and seeing what it spits out.
>>>
>>>
>>>      
>>>
>>'/etc/sssh/sshd_config no such file or dir'.  This is likely the prob, how do
>>I fix?
>>    
>>
>
>Was that a typo?  it should be /etc/ssh/sshd_config, not 
>/etc/sssh/sshd_config (extra 's').
>
>Cheers,
>Ian
>  
>
yes, sorry.
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-amd64] daemons won't start
  2005-11-23 16:31       ` DR GM SEDDON
@ 2005-11-23 18:36         ` Craig Webster
  2005-11-24 10:09           ` DR GM SEDDON
  2005-11-23 22:04         ` Drake Donahue
  1 sibling, 1 reply; 13+ messages in thread
From: Craig Webster @ 2005-11-23 18:36 UTC (permalink / raw
  To: gentoo-amd64

On 23 Nov 2005, at 16:31, DR GM SEDDON wrote:
> Ian McCulloch wrote:
>> On Wed, 23 Nov 2005, DR GM SEDDON wrote:
>>> '/etc/sssh/sshd_config no such file or dir'.  This is likely the  
>>> prob, how do
>>> I fix?
>>
>> Was that a typo?  it should be /etc/ssh/sshd_config, not /etc/sssh/ 
>> sshd_config (extra 's').
>>
> yes, sorry.

So err... what's the output without the typo?

Yours,
Craig
--
Craig Webster | t: +44 (0)131 516 8595 | e: craig@xeriom.net
Xeriom.NET    | f: +44 (0)709 287 1902 | w: http://xeriom.net



-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-amd64] daemons won't start
  2005-11-23 16:31       ` DR GM SEDDON
  2005-11-23 18:36         ` Craig Webster
@ 2005-11-23 22:04         ` Drake Donahue
  2005-11-24 10:22           ` DR GM SEDDON
  1 sibling, 1 reply; 13+ messages in thread
From: Drake Donahue @ 2005-11-23 22:04 UTC (permalink / raw
  To: gentoo-amd64

The exact message received when you run "rc-update add sshd default"?
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-amd64] daemons won't start
  2005-11-23 18:36         ` Craig Webster
@ 2005-11-24 10:09           ` DR GM SEDDON
  2005-11-24 11:10             ` Craig Webster
  0 siblings, 1 reply; 13+ messages in thread
From: DR GM SEDDON @ 2005-11-24 10:09 UTC (permalink / raw
  To: gentoo-amd64

Craig Webster wrote:

> On 23 Nov 2005, at 16:31, DR GM SEDDON wrote:
>
>> Ian McCulloch wrote:
>>
>>> On Wed, 23 Nov 2005, DR GM SEDDON wrote:
>>>
>>>> '/etc/sssh/sshd_config no such file or dir'.  This is likely the  
>>>> prob, how do
>>>> I fix?
>>>
>>>
>>> Was that a typo?  it should be /etc/ssh/sshd_config, not /etc/sssh/ 
>>> sshd_config (extra 's').
>>>
>> yes, sorry.
>
>
> So err... what's the output without the typo?


> '/etc/ssh/sshd_config no such file or dir'.
>

-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-amd64] daemons won't start
  2005-11-23 22:04         ` Drake Donahue
@ 2005-11-24 10:22           ` DR GM SEDDON
  0 siblings, 0 replies; 13+ messages in thread
From: DR GM SEDDON @ 2005-11-24 10:22 UTC (permalink / raw
  To: gentoo-amd64

Drake Donahue wrote:

> The exact message received when you run "rc-update add sshd default"?

'sshd already installed in runlevel default skipping'
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-amd64] daemons won't start
  2005-11-24 10:09           ` DR GM SEDDON
@ 2005-11-24 11:10             ` Craig Webster
  2005-11-24 12:27               ` DR GM SEDDON
  0 siblings, 1 reply; 13+ messages in thread
From: Craig Webster @ 2005-11-24 11:10 UTC (permalink / raw
  To: gentoo-amd64

On 24 Nov 2005, at 10:09, DR GM SEDDON wrote:
> '/etc/ssh/sshd_config no such file or dir'.

That'll be a problem. It'll need a config file.

http://www.faqs.org/docs/securing/chap15sec122.html

Change the IP address and remove the AllowUsers directive (unless you  
want to restrict to a certain set of users).

Yours,
Craig
--
Craig Webster | t: +44 (0)131 516 8595 | e: craig@xeriom.net
Xeriom.NET    | f: +44 (0)709 287 1902 | w: http://xeriom.net



-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-amd64] daemons won't start
  2005-11-24 11:10             ` Craig Webster
@ 2005-11-24 12:27               ` DR GM SEDDON
  2005-11-24 12:31                 ` Craig Webster
  0 siblings, 1 reply; 13+ messages in thread
From: DR GM SEDDON @ 2005-11-24 12:27 UTC (permalink / raw
  To: gentoo-amd64

Craig Webster wrote:

> On 24 Nov 2005, at 10:09, DR GM SEDDON wrote:
>
>> '/etc/ssh/sshd_config no such file or dir'.
>
>
> That'll be a problem. It'll need a config file.
>
> http://www.faqs.org/docs/securing/chap15sec122.html
>
> Change the IP address and remove the AllowUsers directive (unless you  
> want to restrict to a certain set of users).
>
> Yours,
> Craig
> -- 
> Craig Webster | t: +44 (0)131 516 8595 | e: craig@xeriom.net
> Xeriom.NET    | f: +44 (0)709 287 1902 | w: http://xeriom.net
>
>
>
Thanks, but this didn't help
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-amd64] daemons won't start
  2005-11-24 12:27               ` DR GM SEDDON
@ 2005-11-24 12:31                 ` Craig Webster
  2005-11-24 13:18                   ` Brett Johnson
  0 siblings, 1 reply; 13+ messages in thread
From: Craig Webster @ 2005-11-24 12:31 UTC (permalink / raw
  To: gentoo-amd64

On 24 Nov 2005, at 12:27, DR GM SEDDON wrote:
> Craig Webster wrote:
>> On 24 Nov 2005, at 10:09, DR GM SEDDON wrote:
>>> '/etc/ssh/sshd_config no such file or dir'.
>> [...]
> Thanks, but this didn't help

Are you saying that after you added an sshd_config to /etc/ssh you  
still get the error '/etc/ssh/sshd_config no such file or dir'?

If not, perhaps you could post the output of the command I gave you  
now that it can find the file?

Yours,
Craig
--
Craig Webster | t: +44 (0)131 516 8595 | e: craig@xeriom.net
Xeriom.NET    | f: +44 (0)709 287 1902 | w: http://xeriom.net



-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-amd64] daemons won't start
  2005-11-24 12:31                 ` Craig Webster
@ 2005-11-24 13:18                   ` Brett Johnson
  0 siblings, 0 replies; 13+ messages in thread
From: Brett Johnson @ 2005-11-24 13:18 UTC (permalink / raw
  To: gentoo-amd64

Try running emerge -pv ssh and post the output here.

Craig Webster wrote:

> On 24 Nov 2005, at 12:27, DR GM SEDDON wrote:
>
>> Craig Webster wrote:
>>
>>> On 24 Nov 2005, at 10:09, DR GM SEDDON wrote:
>>>
>>>> '/etc/ssh/sshd_config no such file or dir'.
>>>
>>> [...]
>>
>> Thanks, but this didn't help
>
>
> Are you saying that after you added an sshd_config to /etc/ssh you  
> still get the error '/etc/ssh/sshd_config no such file or dir'?
>
> If not, perhaps you could post the output of the command I gave you  
> now that it can find the file?
>
> Yours,
> Craig
> -- 
> Craig Webster | t: +44 (0)131 516 8595 | e: craig@xeriom.net
> Xeriom.NET    | f: +44 (0)709 287 1902 | w: http://xeriom.net
>
>
>
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-11-24 13:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-23 16:01 [gentoo-amd64] daemons won't start DR GM SEDDON
2005-11-23 16:06 ` Craig Webster
2005-11-23 16:22   ` DR GM SEDDON
2005-11-23 16:27     ` Ian McCulloch
2005-11-23 16:31       ` DR GM SEDDON
2005-11-23 18:36         ` Craig Webster
2005-11-24 10:09           ` DR GM SEDDON
2005-11-24 11:10             ` Craig Webster
2005-11-24 12:27               ` DR GM SEDDON
2005-11-24 12:31                 ` Craig Webster
2005-11-24 13:18                   ` Brett Johnson
2005-11-23 22:04         ` Drake Donahue
2005-11-24 10:22           ` DR GM SEDDON

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox