problems with /dev/null ?

problems with /dev/null ?

Post by Dennis Grevenstei » Tue, 09 May 2000 04:00:00



Hi,

I recently installed Solaris 8 on my sparc. I try to install inn and
squid, but neither work.
You can see the error messages I get below:

inn:




After this the program is aborted. When I start innd directly
it seems to work.

squid:

2000/05/08 21:05:13| FD -1: fcntl F_GETFL: (9) Bad file number
2000/05/08 21:05:13| FD -1: fcntl F_GETFL: (9) Bad file number
2000/05/08 21:05:13| FD -1: fcntl F_GETFL: (9) Bad file number
2000/05/08 21:05:13| FD -1: fcntl F_GETFL: (9) Bad file number

when I start squid it creates 5 squid processes that use very much of
the systems recources and it writes the above error messages about
a hundert times in cache.log, before I can kill all squid processes.
I feeded deja with this info and I found articles about problems with
/dev/null on Linux. I don't know what the problem could be as
everything worked perfectly with Solaris7.
Do you have any ideas?

thanks
Dennis

 
 
 

problems with /dev/null ?

Post by Kjetil Torgrim Homm » Tue, 09 May 2000 04:00:00


[Dennis Grevenstein]

Something has deleted /dev/null, and the news account lacks write
access to /dev (if news had had write access, you would have a huge
plain file with "interesting" data in it by now ;-)

$ ls -lL /dev/null
crw-rw-rw-   1 root     sys       13,   2 May  8 22:49 /dev/null

To fix it:

Kjetil T.

 
 
 

problems with /dev/null ?

Post by Dennis Grevenstei » Tue, 09 May 2000 04:00:00




> Something has deleted /dev/null, and the news account lacks write
> access to /dev (if news had had write access, you would have a huge
> plain file with "interesting" data in it by now ;-)

> $ ls -lL /dev/null
> crw-rw-rw-   1 root     sys       13,   2 May  8 22:49 /dev/null

> To fix it:


Hi,

your were mostly right.
/dev/null had the following atributes:

bash-2.03# ls -al /dev/null
lrwxrwxrwx   1 root     other         27 May  8 23:10 /dev/null ->

I first tried to rebuild the link alllthough it seemed correct, but this

was not the problem and did not fix it. Then I looked in /devices.


crw-------   1 root     sys       13,  2 May  8 23:27

I chmod the attributes and now it works.


crw-rw-rw-   1 root     sys       13,  2 May  8 23:27

thanks
Dennis

 
 
 

1. Problem with /dev/null ad lpd

HELP!, I'm in urgent need of assistance, my lpd daemon will not start up
because it reports that it's permision is denied when trying to open
/dev/null.

It just started this morning up until last night it printed fine.
I didn't change anything while I was asleep?

I attempted to access /dev/null myself as root and emacs told me
/dev/null couldn't be opened.
I tried changing its permission but that didn't work.
I deleted it and re-made it (using makedev, i don't know the major and
minor numbers though) that didn't work.
I tried linking it to another file that didn't work.

I'm fresh out of ideas. Please help if you can, I need to print but bad.

Thanks in advance for any help you can provide.
--Alin Cosmanescu

2. QNX or RTLinux?

3. HELP: 2>&1 > /dev/null != 2>&- > /dev/null ???

4. Solaris System admin test?

5. cp /dev/null or cat /dev/null

6. ISO format on floppy

7. rsh machine -n 'command >&/dev/null </dev/null &'

8. Afterstep Pager

9. 2.4.6: /proc/null - counter for /dev/null traffic

10. dd if=/dev/racd0a of=/dev/null bs=20k

11. Printing to /dev/ecpp0, not /dev/null

12. cat /dev/null > /dev/rmt0 dangerous?