[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: why do I get 'execvp: No such file or directory'



> Thanks Matthias and Forrest for the responses so far:
> 
>>> add something like "export PATH=$PATH:/usr/local/bin" to
>>> have the function...
> 
> I am afraid that did not do it...
> 
>>> Did you do a `/sbin/service atalkd start`?
> 
> The script in inet.d is called atalk, without the "d". Doing "service
> atalk start" repeats the error I was getting (the execvp stuff).
> 
> 
> Thanks again. I am getting very frustrated with appletalk, which is
> supposed to be a simple thing to get running!!
> 
> Marcelo

It IS a path related error.

Basically, something required to be run is not in the path.
I got this problem when I wrote a program used in startup that
uses execvp() to create a subprocess but my path didn't include
the command I wanted to run (standard mistake I often make ...
it works when I test it but then in CRON or startup it doesn't
work becuase the path is different - of course :-)

You'll need to work out what it is trying to run and add that
to the path.

-- 
-Cheers
-Andrew

MS ... if only he hadn't been hang gliding!





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]