[prev in list] [next in list] [prev in thread] [next in thread]
List: wuftpd-questions
Subject: RE: syslog: fopen on /dev/null failed, errno 13
From: "Loo, Peter" <Peter.Loo () bannerhealth ! com>
Date: 2002-08-22 14:10:36
[Download RAW message or body]
Here is what I did:
As root, I copied /usr/bin/ls to /home/ftpdir/etc/ls,
then
using mknod I created /home/ftpdir/dev/null.
I hope this helps.
Peter
-----Original Message-----
From: Mike Shelby [mailto:Mike.Shelby@noaa.gov]
Sent: Thursday, August 22, 2002 5:12 AM
To: Loo, Peter
Subject: Re: syslog: fopen on /dev/null failed, errno 13
Peter,
I'm getting the same thing. What do you mean you copied /usr/bin/ls and
/dev/null to the path? I don't quite understand this. Do you mean you
just created a hard link with the -s option using ln?
-Mike
Loo, Peter wrote:
> Right before I received your email, I copied /usr/bin/ls and /dev/null to the path \
> and the error has gone away.
> -----Original Message-----
> From: Ian Duplisse [mailto:i.duplisse@cablelabs.com]
> Sent: Wednesday, August 21, 2002 12:11 PM
> To: Loo, Peter
> Subject: RE: syslog: fopen on /dev/null failed, errno 13
>
>
> That won't work. You can't follow a symbolic link outside of a chrooted path. If \
> it is the same filesystem, you could hard-link it.
> -----Original Message-----
> From: Loo, Peter [mailto:Peter.Loo@bannerhealth.com]
> Sent: Wednesday, August 21, 2002 1:02 PM
> To: Ian Duplisse
> Cc: wuftpd-questions@wu-ftpd.org
> Subject: RE: syslog: fopen on /dev/null failed, errno 13
>
>
>
> Hi Ian,
>
> Yes, I do.
>
> lrwxrwxrwx 1 root system 9 Aug 21 11:34 null -> /dev/null
>
> -----Original Message-----
> From: Ian Duplisse [mailto:i.duplisse@cablelabs.com]
> Sent: Wednesday, August 21, 2002 11:50 AM
> To: Loo, Peter
> Subject: RE: syslog: fopen on /dev/null failed, errno 13
>
>
> If you have a chrooted environment, does /dev/null exist under that path?
>
> -----Original Message-----
> From: Loo, Peter [mailto:Peter.Loo@bannerhealth.com]
> Sent: Wednesday, August 21, 2002 11:59 AM
> To: cfowler
> Cc: wuftpd-questions@wu-ftpd.org
> Subject: RE: syslog: fopen on /dev/null failed, errno 13
>
>
>
> The permission is set as:
>
> crw-rw-rw- 1 root system 2, 2 Aug 21 10:50 /dev/null
>
> -----Original Message-----
> From: cfowler [mailto:cfowler@outpostsentinel.com]
> Sent: Wednesday, August 21, 2002 10:53 AM
> To: Loo, Peter
> Cc: wuftpd-questions@wu-ftpd.org
> Subject: Re: syslog: fopen on /dev/null failed, errno 13
>
>
> Looks like permissions on /dev/null are incorrect. Sadly.
>
>
> [root@cfowler tmp]# ./errno 13
> Permission denied
>
>
> On Wed, 2002-08-21 at 11:29, Loo, Peter wrote:
>
> > Hi All,
> >
> > Can someone please tell me why I am getting this message in my syslog?
> >
> > Aug 21 07:54:44 ftpserver ftpd[5266]: syslog: fopen on /dev/null failed, errno 13
> >
> > Thanks.
> >
> >
> >
--
-=*=-=*=-=*=-=*=-=*=-
Mike Shelby Mike.Shelby@noaa.gov
National Ocean Service/NOAA http://www.nos.noaa.gov/
1305 East-West Highway, N/MB62 Communications and Education Division
SSMC4, Suite 9167 (301) 713-3000x203
Silver Spring, MD 20910
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic