Linux Newbie help
 help / color / mirror / Atom feed
* ssh error message
@ 2002-09-07  9:01 Peter
  0 siblings, 0 replies; 13+ messages in thread
From: Peter @ 2002-09-07  9:01 UTC (permalink / raw)
  To: linux

Hi,

when booting I get the following message:

  starting ssh: execvp: No such file or directory  [failed]

I uninstalled openssh, reinstalled, still I get the same message.

How do I correct this?

Thanks & regards

-- 
Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

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

* re: ssh error message
@ 2002-09-07 13:50 Alan Womack
  2002-09-09  0:46 ` Peter
  0 siblings, 1 reply; 13+ messages in thread
From: Alan Womack @ 2002-09-07 13:50 UTC (permalink / raw)
  To: Majordomo leben.com

Can you post the portion of your log entries which show some details?  You may have to turn on debugging features to get the output.

  >>  when booting I get the following message:

 >>  starting ssh: execvp: No such file or directory  [failed]

 >>  I uninstalled openssh, reinstalled, still I get the same message.

 >>  How do I correct this?

 >>  Thanks & regards

 >>  -- 
 >>  Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

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

* Re: ssh error message
  2002-09-07 13:50 ssh error message Alan Womack
@ 2002-09-09  0:46 ` Peter
  2002-09-10  2:25   ` lawson_whitney
  0 siblings, 1 reply; 13+ messages in thread
From: Peter @ 2002-09-09  0:46 UTC (permalink / raw)
  To: Alan Womack, linux-newbie

Thanks!

arwbackup@worldnet.att.net said:
> Can you post the portion of your log entries which show some details?
> You may have to turn on debugging features to get the output.


Sep  8 09:52:46 philonline apmd: apmd startup succeeded
Sep  8 09:52:46 philonline sshd: Starting sshd:
Sep  8 09:52:46 philonline sshd: execvp: No such file or directory
Sep  8 09:52:46 philonline sshd:  failed
Sep  8 09:52:46 philonline sshd: execvp: No such file or directory
Sep  8 09:52:46 philonline sshd: 
Sep  8 09:52:46 philonline rc: Starting sshd:  failed
Sep  8 09:52:35 philonline rc.sysinit: Mounting proc filesystem:  succeeded 

]$ /sbin/service sshd status
sshd is stopped

]$ /sbin/service sshd start 
Starting sshd:execvp: No such file or directory
                                                           [FAILED]

In setup-system-services sshd is enabled.

There is a man age for execvp and execve which to understand is beyond my 
training.

In man execve I find under ERRORS:
ENOENT The  file  filename  or a script or ELF interpreter
              does not exist, or a shared library needed for file
              or interpreter cannot be found.

How do I find that out which of these might be the cause of the error?

Regards
-- 
Peter



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

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

* Re: ssh error message
@ 2002-09-09  3:23 Alan Womack
  2002-09-10  2:19 ` Peter
  0 siblings, 1 reply; 13+ messages in thread
From: Alan Womack @ 2002-09-09  3:23 UTC (permalink / raw)
  To: Majordomo leben.com; +Cc: pfheiss

Do you have the file:

/etc/ssh/sshd_config?

Please try running sshd from the command prompt.

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

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

* Re: ssh error message
  2002-09-09  3:23 Alan Womack
@ 2002-09-10  2:19 ` Peter
  0 siblings, 0 replies; 13+ messages in thread
From: Peter @ 2002-09-10  2:19 UTC (permalink / raw)
  To: Alan Womack, linux-newbie


arwbackup@worldnet.att.net said:
> Do you have the file:
> /etc/ssh/sshd_config?

Yes I have that file.
]# locate /etc/ssh/sshd_config
/etc/ssh/sshd_config


]$ /etc/rc.d/init.d/sshd start 
Starting sshd:execvp: No such file or directory
                                                           [FAILED]
> Please try running sshd from the command prompt. 

There is no sshd to run; I mean in one of the (s)bin directories.

locate sshd
/etc/rc.d/init.d/sshd
/etc/rc.d/rc0.d/K25sshd
/etc/rc.d/rc1.d/K25sshd
/etc/rc.d/rc2.d/S55sshd
/etc/rc.d/rc3.d/S55sshd
/etc/rc.d/rc4.d/S55sshd
/etc/rc.d/rc5.d/S55sshd
/etc/rc.d/rc6.d/K25sshd
/etc/log.d/conf/services/sshd.conf
/etc/log.d/conf/services/sshd2.conf
/etc/log.d/scripts/services/sshd
/etc/log.d/scripts/services/sshd2

locate ssh
/usr/bin/ssh-add
/usr/bin/ssh
/usr/bin/ssh-keygen
/usr/bin/ssh-agent
/usr/bin/ssh-keyscan

Regards
-- 
Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

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

* Re: ssh error message
  2002-09-09  0:46 ` Peter
@ 2002-09-10  2:25   ` lawson_whitney
  2002-09-12  2:42     ` Peter
  0 siblings, 1 reply; 13+ messages in thread
From: lawson_whitney @ 2002-09-10  2:25 UTC (permalink / raw)
  To: pfheiss; +Cc: arwbackup, linux-newbie

On Mon, 9 Sep 2002, Peter wrote:
>
> Sep  8 09:52:46 philonline apmd: apmd startup succeeded
> Sep  8 09:52:46 philonline sshd: Starting sshd:
> Sep  8 09:52:46 philonline sshd: execvp: No such file or directory

Aha! sshd.  I thought it was odd to try to run ssh as a daemon.

try "file /usr/sbin/sshd"
"ldd /usr/sbin/sshd" for details on shared library problems;
see if user 0 can run it from the command line:
"/usr/sbin/sshd"

Lawson
---oops---





________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today!  For your FREE software, visit:
http://dl.www.juno.com/get/web/.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

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

* Re: ssh error message
       [not found] <CPIMSSMTPU02DqSkcJs00001c50@cpimssmtpu02.email.msn.com>
@ 2002-09-11 10:07 ` Peter
  0 siblings, 0 replies; 13+ messages in thread
From: Peter @ 2002-09-11 10:07 UTC (permalink / raw)
  To: linux-newbie, arwbackup


arwbackup@worldnet.att.net said:
> It appears you will have to compile sshd.  Mine resides in /usr/local/
> sbin

> are you running redhat where you can use a binary rpm or do you need
> to compile from source?

I am running RH72. I can't find a file called sshd in any of the CDs there is 
only openssh.

-- 
Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

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

* Re: ssh error message
  2002-09-10  2:25   ` lawson_whitney
@ 2002-09-12  2:42     ` Peter
  2002-09-12  5:22       ` Ray Olszewski
  0 siblings, 1 reply; 13+ messages in thread
From: Peter @ 2002-09-12  2:42 UTC (permalink / raw)
  To: linux-newbie


lawson_whitney@juno.com said:

> On Mon, 9 Sep 2002, Peter wrote: >
> Sep  8 09:52:46 philonline apmd: apmd startup succeeded
> Sep  8 09:52:46 philonline sshd: Starting sshd:
> Sep  8 09:52:46 philonline sshd: execvp: No such file or directory
> Aha! sshd.  I thought it was odd to try to run ssh as a daemon.

> try "file /usr/sbin/sshd" "ldd /usr/sbin/sshd" for details on shared
> library problems; see if user 0 can run it from the command line: "/
> usr/sbin/sshd" 

]# ldd /usr/sbin/sshd
ldd: /usr/sbin/sshd: No such file or directory.

In none of the /bin /sbin directories is there any sshd file and I do not know 
in which  program it is hidden in any of the install CDs of RH7.2.

These programs are installed:
openssh-3.1p1-3
openssh-askpass-3.1p1-3
openssh-askpass-gnome-3.1p1-3
openssh-clients-3.1p1-3

Regards
-- 
Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

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

* Re: ssh error message
  2002-09-12  2:42     ` Peter
@ 2002-09-12  5:22       ` Ray Olszewski
  2002-09-12  8:30         ` Carl
  2002-09-12  9:24         ` Arthur Othieno
  0 siblings, 2 replies; 13+ messages in thread
From: Ray Olszewski @ 2002-09-12  5:22 UTC (permalink / raw)
  To: Peter, linux-newbie

Peter -- if ldd cannot find sshd at its normal install location, then 
either you did not install it (no matter what you think you did) or you 
installed it to a non-standard location.

To check the second possibility, see if (as root) "find / -name sshd" 
returns anything. If it does, then you can probably just creater a symlink 
in /usr/sbin/  to the real location.

As to the packages (what you call "programs") you say are installed ... 
that version of OpenSSH is the current one. The Debian equivalent, "ssh", 
installs both server (sshd) and client (ssh). From the assortment of 
package names you list, I'd *guess* that RH has the server and client 
separated.

So if "find" does not turn it up for you, I'd try re-installing the 
openssh-3.1p1-3 package (it's likely to be the server, since another is 
middle-named "clients")  and seeing if that helps.

At 10:42 AM 9/12/02 +0800, Peter wrote:

>lawson_whitney@juno.com said:
>
> > On Mon, 9 Sep 2002, Peter wrote: >
> > Sep  8 09:52:46 philonline apmd: apmd startup succeeded
> > Sep  8 09:52:46 philonline sshd: Starting sshd:
> > Sep  8 09:52:46 philonline sshd: execvp: No such file or directory
> > Aha! sshd.  I thought it was odd to try to run ssh as a daemon.
>
> > try "file /usr/sbin/sshd" "ldd /usr/sbin/sshd" for details on shared
> > library problems; see if user 0 can run it from the command line: "/
> > usr/sbin/sshd"
>
>]# ldd /usr/sbin/sshd
>ldd: /usr/sbin/sshd: No such file or directory.
>
>In none of the /bin /sbin directories is there any sshd file and I do not 
>know
>in which  program it is hidden in any of the install CDs of RH7.2.
>
>These programs are installed:
>openssh-3.1p1-3
>openssh-askpass-3.1p1-3
>openssh-askpass-gnome-3.1p1-3
>openssh-clients-3.1p1-3




--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski					-- Han Solo
Palo Alto, California, USA			  ray@comarre.com
-------------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

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

* Re: ssh error message
  2002-09-12  5:22       ` Ray Olszewski
@ 2002-09-12  8:30         ` Carl
  2002-09-12  9:24         ` Arthur Othieno
  1 sibling, 0 replies; 13+ messages in thread
From: Carl @ 2002-09-12  8:30 UTC (permalink / raw)
  To: linux-newbie


>
>
>As to the packages (what you call "programs") you say are installed ... that version of OpenSSH is the current one. The Debian equivalent, "ssh", installs both server (sshd) and client (ssh). From the assortment of package names you list, I'd *guess* that RH has the server and client separated.

RedHat do split it out into client and server

The server rpm is openssh-server.

--
Carl

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

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

* Re: ssh error message
  2002-09-12  5:22       ` Ray Olszewski
  2002-09-12  8:30         ` Carl
@ 2002-09-12  9:24         ` Arthur Othieno
  1 sibling, 0 replies; 13+ messages in thread
From: Arthur Othieno @ 2002-09-12  9:24 UTC (permalink / raw)
  To: Ray Olszewski; +Cc: Peter, linux-newbie



Ray Olszewski wrote:

> Peter -- if ldd cannot find sshd at its normal install location, then 
> either you did not install it (no matter what you think you did) or you 
> installed it to a non-standard location.
> 
> To check the second possibility, see if (as root) "find / -name sshd" 
> returns anything. If it does, then you can probably just creater a 
> symlink in /usr/sbin/  to the real location.
> 
> As to the packages (what you call "programs") you say are installed ... 
> that version of OpenSSH is the current one. The Debian equivalent, 
> "ssh", installs both server (sshd) and client (ssh). From the assortment 
> of package names you list, I'd *guess* that RH has the server and client 
> separated.
> 
> So if "find" does not turn it up for you, I'd try re-installing the 
> openssh-3.1p1-3 package (it's likely to be the server, since another is 
> middle-named "clients")  and seeing if that helps.
> 
> At 10:42 AM 9/12/02 +0800, Peter wrote:
> 
>> lawson_whitney@juno.com said:
>>
>> > On Mon, 9 Sep 2002, Peter wrote: >
>> > Sep  8 09:52:46 philonline apmd: apmd startup succeeded
>> > Sep  8 09:52:46 philonline sshd: Starting sshd:
>> > Sep  8 09:52:46 philonline sshd: execvp: No such file or directory
>> > Aha! sshd.  I thought it was odd to try to run ssh as a daemon.
>>
>> > try "file /usr/sbin/sshd" "ldd /usr/sbin/sshd" for details on shared
>> > library problems; see if user 0 can run it from the command line: "/
>> > usr/sbin/sshd"
>>
>> ]# ldd /usr/sbin/sshd
>> ldd: /usr/sbin/sshd: No such file or directory.
>>
>> In none of the /bin /sbin directories is there any sshd file and I do 
>> not know
>> in which  program it is hidden in any of the install CDs of RH7.2.
>>
>> These programs are installed:
>> openssh-3.1p1-3
>> openssh-askpass-3.1p1-3
>> openssh-askpass-gnome-3.1p1-3
>> openssh-clients-3.1p1-3


As Ray pointed out above, you have not installed the ssh daemon. From the above list, one can fairly conclude 

that only the ssh clients are installed on your system. Therefore, you should install the daemon, which resides

in the openssh-server-3.1p1-3.XXXX.rpm package (where XXX may be i386, 
i486, etc). This rpm is probably on the 2nd installtion CD. Hope that helps.

Arthur


> 
> 
> 
> 
> -- 
> -------------------------------------------"Never tell me the 
> odds!"--------
> Ray Olszewski                    -- Han Solo
> Palo Alto, California, USA              ray@comarre.com
> ------------------------------------------------------------------------------- 
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
> 
> 


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

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

* Re: ssh error message
@ 2002-09-13  2:40 Peter
  2002-09-13  2:56 ` Ray Olszewski
  0 siblings, 1 reply; 13+ messages in thread
From: Peter @ 2002-09-13  2:40 UTC (permalink / raw)
  To: linux

Alleluia,

Thanks to all!

rpm -i /mnt/cdrom/RedHat/RPMS/openssh-server-3.1p1-3

]$ su -c '/sbin/service sshd start'
Password: 
Starting sshd:                                             [  OK  ]

ray@comarre.com said:
> As to the packages (what you call "programs")

That's what we called them before the PCs were around, ;-).

Regards 

-- 
Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

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

* Re: ssh error message
  2002-09-13  2:40 Peter
@ 2002-09-13  2:56 ` Ray Olszewski
  0 siblings, 0 replies; 13+ messages in thread
From: Ray Olszewski @ 2002-09-13  2:56 UTC (permalink / raw)
  To: linux

At 10:40 AM 9/13/02 +0800, Peter wrote:
>[...]
>ray@comarre.com said:
> > As to the packages (what you call "programs")
>
>That's what we called them before the PCs were around, ;-).

Not really. At least I didn't, either then or now.

I was attempting to distinguish an actual program, such as sshd (that is, 
either an executable binary or source code that can be either compiled or 
interpreted), from a package that contained that program, maybe an 
associated init script, a man page and other documentation, possibly sample 
config files, and whatever else the packager thought worth including(or the 
packaging system requires).

The distinction was meaningful back in mainframe days, and it remains 
meaningful today. Packages often contain programs, but they are not the 
same thing as programs.

In the context of troubleshooting your problem, drawing the distinction was 
cogent, since the problem was that you were mistaken about which package 
actually contained the program you wanted to run.


--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski					-- Han Solo
Palo Alto, California, USA			  ray@comarre.com
-------------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

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

end of thread, other threads:[~2002-09-13  2:56 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-07 13:50 ssh error message Alan Womack
2002-09-09  0:46 ` Peter
2002-09-10  2:25   ` lawson_whitney
2002-09-12  2:42     ` Peter
2002-09-12  5:22       ` Ray Olszewski
2002-09-12  8:30         ` Carl
2002-09-12  9:24         ` Arthur Othieno
  -- strict thread matches above, loose matches on Subject: below --
2002-09-13  2:40 Peter
2002-09-13  2:56 ` Ray Olszewski
     [not found] <CPIMSSMTPU02DqSkcJs00001c50@cpimssmtpu02.email.msn.com>
2002-09-11 10:07 ` Peter
2002-09-09  3:23 Alan Womack
2002-09-10  2:19 ` Peter
2002-09-07  9:01 Peter

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