Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop drivers dvd email error excel excel 2003 firefox hard drive hardware hdmi hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem recovery router safe mode screen slow sound spyware tdlwsp.dll trojan vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
somehow or another i broke /dev/null

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
Gibble's Avatar
Distinguished Member with 27,127 posts.
 
Join Date: Oct 2001
Location: Striking or Scoring
Experience: The Alpha and Omega
26-Apr-2002, 03:35 PM #1
somehow or another i broke /dev/null
my log.mail (sendmail) reported that permission was denied to /dev/null, this is what is looks like now, but it should be a character device, should it not?

#ls -l null
-rw-r----- 1 root disk 210 Apr 26 14:43 null

shouldn't it be:
crw-r----- 1 root disk 210 Apr 26 14:43 null

I also have another sendmail error:
Can't create transcript file ./xfg3QJmcZ00655: Permission Denied

This one I don't even have a clue how to fix!
__________________
izme: You know...it's kind of nice to sit atop Civilized debate and look down below on all of the uncivilized master debating we are here...just out of the fight zone

Gibble: Now you know what it's like to be Canadian.
codejockey's Avatar
Senior Member with 1,410 posts.
 
Join Date: Feb 2002
26-Apr-2002, 04:08 PM #2
Your /dev/null should definitely be a character device. You might also look at the permissions, since the ones you gave suggest that only root can both read and write to /dev/null (/dev/null is one of the few files that probably should be world-writable; read permission is less important, but probably should be available to everyone as well). For reference, my /dev/null looks like: crw-rw-rw- 1 root sys 1, 3 Jul 17 1994 /dev/null.

Your second problem (sendmail) is a bit tricky, since you have only a relative pathname. However, the filename looks like the results of tempnam (), so you might check the permissions on /tmp (a long shot, I know, but you never know ...). Depending on how sendmail is invoked (shell script wrapper, etc.) you may be able to run it in debug mode (-d) or use set -x in the calling script to see a bit more of what's going on. There's also the syslog output (/var/log/* on my system) that may provide a clue.

Sorry I can't be of more help; I gave up on sendmail a long time ago, as it seemed to be more trouble than it was worth. I run qmail and have never looked back.

Hope this helps.
__________________
The slowest component still sits at the keyboard.
Gibble's Avatar
Distinguished Member with 27,127 posts.
 
Join Date: Oct 2001
Location: Striking or Scoring
Experience: The Alpha and Omega
26-Apr-2002, 04:25 PM #3
I got it all fixed allready, thanks for the reply though

Well not exactly "fixed" it works like it did before, I can sendmail but it won't retrieve mail for my domain, oh well...sending was the important thing atm
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 02:39 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.