Help with Execvp error.

Urban Widmark urban at teststation.com
Wed Oct 31 10:01:01 GMT 2001


On Mon, 29 Oct 2001, Sterling Moses wrote:

> Greets. I am running the latest release version on Linux RedHat 7.2. I
[snip]
> [root at mobile smoses]# mount -t smbfs //paladin/software mnt
> Password:
> execvp of smbmnt failed. Error was No such file or directory.smbmnt
> failed: 1

If you are using RH7.2 rpms do:
ln -s /usr/sbin/smbmnt /usr/bin


Apparently RH7.2 rpms installs smbmnt in /usr/sbin, which is fine as long
as /usr/sbin is in the path of smbmount. If it is not smbmount looks in
BINDIR (which I believe is /usr/bin).

(Note: I haven't actually looked at the rpms, this is based on user 
 reports)

In any case, the error is as the message says. It can't find smbmnt.

/Urban





More information about the samba mailing list