Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

smrsh: "foo.php" not available for sendmail programs (stat failed)

8 views
Skip to first unread message

Simon

unread,
Nov 16, 2009, 3:50:49 PM11/16/09
to
Hi

I am set up a sym-lnk to foo.php and checked that it appears to be
linked ok.

I've also done this with "php", and it doesn't report any problems
with this.

I've chmod foo.php to 755.

But still this error bounces back.

Any help would be greatly appreciated.

Andrzej Adam Filip

unread,
Nov 16, 2009, 4:23:40 PM11/16/09
to

Have you "scanned" the FAQ?

http://www.sendmail.org/faq/section3#3.34
What does "foo not available for sendmail programs" mean?

--
[pl>en Andrew] Andrzej Adam Filip : an...@onet.eu : Andrze...@gmail.com
Open-Sendmail: http://open-sendmail.sourceforge.net/
Being overloaded is the sign of a true Debian maintainer.
-- JHM on #Debian

Simon

unread,
Nov 16, 2009, 4:32:13 PM11/16/09
to
On Nov 16, 9:23 pm, Andrzej Adam Filip <a...@onet.eu> wrote:

> Simon <sdeba...@googlemail.com> wrote:
> > I am set up a sym-lnk to foo.php and checked that it appears to be
> > linked ok.
>
> > I've also done this with "php", and it doesn't report any problems
> > with this.
>
> > I've chmod foo.php to 755.
>
> > But still this error bounces back.
>
> > Any help would be greatly appreciated.
>
> Have you "scanned" the FAQ?
>
> http://www.sendmail.org/faq/section3#3.34
> What does "foo not available for sendmail programs" mean?
>
> --
> [pl>en Andrew] Andrzej Adam Filip : a...@onet.eu : Andrzej.Fi...@gmail.com

> Open-Sendmail:http://open-sendmail.sourceforge.net/
> Being overloaded is the sign of a true Debian maintainer.
>   -- JHM on #Debian

Hi

Thanks for your reply.

Yes, I have. It tells you to set up a sym-lnk to php, which I've
done.

It doesn't complain about php.

It only complains about my script "foo.php"

Simon

unread,
Nov 16, 2009, 4:34:25 PM11/16/09
to

sorry..

It actually tells you to set up the sym-lnk to the program "foo".
Sorry, I've read a LOT online while trying to fix this.

I've done that also, as explained in my first post.

Simon

unread,
Nov 17, 2009, 2:54:45 PM11/17/09
to

This turned out to be a permissions issue.

I moved the php script to the /etc/smrsh/ directory and it all
worked. Any pointers as to how to solve this so I can put the php
script back where it belongs would be great.

0 new messages