NCSA 1.4 giving false "file permissions deny server access" errors

NCSA 1.4 giving false "file permissions deny server access" errors

Post by Ryan Remp » Sat, 18 Nov 1995 04:00:00

My service provider is having a strange problem in which NCSA httpd 1.4
gives hundreds of false "file permissions deny server access" errors. The
clues are as follows.

1. The server works fine when restarted, and the problem develops at an
apparently random time, usually between 4:00 PM and 8:00 PM.

2. The false errors are intermixed with succesful responses to http
requests. The same file and the same client can sometimes work and
sometimes fail within minutes.

3. The errors continue repeatedly until the server is restarted, at which
point all is well for a while.

The server was installed a couple of months ago and only started
experiencing this problem recently. The service provider thought that the
problem had been tracked down to a faulty disk drive, and replaced it.
This seemed to solve the problem for one day, but now it is back. I am
wondering if anyone has any experience with a problem like this, or an
idea what might be wrong.

I should add that I am not sure whether the NCSA httpd version is 1.4,
1.41 or 1.42 -- it is in the 1.4's somewhere.



1. "weof" operation in "mt" command gives "permission denied"


Some time ago I made a mistake and deleted my /dev directory.  Since
then, I have had to occasionally run the "mknod" command to create a
device here and there.  I did have a directory list of /dev, and I have
used that as a guide for which major and minor node numbers to use, and
which type of file to create.

Anyway, my Exabyte 8200 is /dev/nrst0, which is listed as:

  crw-rw-rw-   1 root     wheel      9, 128 Oct 29 09:30 /dev/nrst0

I am trying to write 2 eof marks after the end of file 0, so that I can
re-write file 1.  The sequence that I use for this on the the same tape
at work (and this works just fine) is:

  1) mt -f /dev/nrst0 asf 1   position after the first eof (after file 0)
  2) mt -f /dev/nrst0 bsf 1   position before the first eof
  3) mt -f /dev/nrst0 weof 2  make it look like file 0 is only file on tape
  4) mt -f /dev/nrst0 bsf 1   position after the first eof

When I try this with linux, the weof command (step 3) results in:

  mt: /dev/nrst0: Permission denied

Is this a problem with the driver, or is there something wrong with my
device definition.  According to the man page, I should be able to do
this under Linux pretty much the same as it works under SunOS.

There is no problem writing to the tape otherwise.

I have Slackware 2.x.


2. X keyboard mapping

3. INN gives 408 error "transfer permission denied"

4. socket error on APACHE v1.0

5. I get "file permissions deny server execution" on gif files in cgi-bin, why?

6. Printing problem with Linux 1.0.9

7. rcp gives "Permission Denied"???

8. Cannot install RedHat 8 with RAID1

9. Why does rsh give "Permission denied"?

10. rcp giving "rshd: 0826-813 Permission is denied" when trying copy

11. How "drop in" is Apache when replacing NCSA 1.4

12. SLIP SERVER: "access denied - no login file".