Sponsored Content
Top Forums UNIX for Advanced & Expert Users Has anyone seen this issue with the /dev/null? Post 28431 by oott on Wednesday 18th of September 2002 12:32:09 PM
Old 09-18-2002
Question Has anyone seen this issue with the /dev/null?

hello all,
I am working in a Hpux 11.0 64 bit environment. I am not sure if a third party software is doing this or not, but the admin to this server says it is not a server issue as he has check and double check logs and crons to verify this issue. My problem, is that every now and then, once and hour or so, the /dev/null device gets its permissions changed to read only.... As you know, this can be a big head-ache for a lot of processes and apps that use this particuar device. One major software that we are seeing a lot of incidents with is Oracle. It uses the /dev/null a lot and whenever the permissions gets changed, Oracle complains. I am also getting this message when I log into the server every now and then. So to work around this issue, the sysadmin has a cron that goes out and checks the permissions on the /dev/null device....but unfortunately cron only runs to the minute level and I need this to run at least every 3-5 seconds as we have files processing against Oracle constantly 24 X 7.....and I am not really comfortable with band aid approaches......Does anyone have any recommendations. This is starting to be a big issue for me now that this server is starting to be utilize a lot more than before...

thanks,
OS
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Q1 :/dev/null Q2 -A

Hi, Q1-What does nroff -ms > /dev/null Q2- What does mean -A under STAT column : ps aux |head -20 UTIL PID %CPU %MEM SZ RSS TTY STAT STIME TIME COMMAND root 516 93,0 0,0 12 12 - A 04 nov 3906:51 wait Thank you. (4 Replies)
Discussion started by: big123456
4 Replies

2. Shell Programming and Scripting

> /dev/null

hello all, In many shell scripts i found '> /dev/null' , i am not able to get this, will any one please explain why we are using this. thanks sudha (2 Replies)
Discussion started by: rrs
2 Replies

3. Solaris

What is /dev/tty /dev/null and /dev/console

Hi, Anyone can help My solaris 8 system has the following /dev/null , /dev/tty and /dev/console All permission are lrwxrwxrwx Can this be change to a non-world write ?? any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies

4. Shell Programming and Scripting

/dev/null

Hi expert, May I know what is the difference between below cron tab entry ? 0,12 * * * * /abc/myscript.sh > /dev/null 2>&1 0,12 * * * * /abc/myscript.sh (7 Replies)
Discussion started by: olaris
7 Replies

5. Shell Programming and Scripting

/dev/null what is the use of it?

when do you use the path /dev/null (3 Replies)
Discussion started by: webmunkey23
3 Replies

6. UNIX for Dummies Questions & Answers

/dev/null 2>&1 Versus /dev/null 2>1

How are these two different? They both prevent output and error from being displayed. I don't see the use of the "&" echo "hello" > /dev/null 2>&1 echo "hello" > /dev/null 2>1 (3 Replies)
Discussion started by: glev2005
3 Replies

7. Shell Programming and Scripting

Redirecting standard out to /dev/null goes to file "/dev/null" instead

I apologize if this question has been answered else where or is too elementary. I ran across a KSH script (long unimportant story) that does this: if ; then CAS_SRC_LOG="/var/log/cas_src.log 2>&1" else CAS_SRC_LOG="/dev/null 2>&1" fithen does this: /usr/bin/echo "heartbeat:... (5 Replies)
Discussion started by: jbmorrisonjr
5 Replies

8. Shell Programming and Scripting

Help with /dev/null Please

Hello All and a Happy New year to yous guys. I'm running the below command on my AIX box and it keeps giving me the message that the file doesn't exist. I know the file don't exist, but I don't want to see the error. 2>/dev/null doesn't work. bash-3.00$ ls -l C* | wc -l 2>/dev/null ls:... (2 Replies)
Discussion started by: bbbngowc
2 Replies

9. AIX

/dev/null file issue

Hi Experts, I Have a query. In one of my server I just came to know that there was /dev/null file which is a not a character file. Its just a normal file. I know the command to create the character file (/dev/null) but what is the procedure. Like should i delete /dev/null and create or... (7 Replies)
Discussion started by: jayadeava
7 Replies

10. Shell Programming and Scripting

2>/dev/null

Friends have the following problem a search may not find anything which would correct example: ls -ltr *prueba.txt | nawk '{ print $9 }' > Procesar.dat 2>/dev/null When he finds nothing gives me the following error ls: prueba.txt: No such file or directory because 2> / dev / null... (4 Replies)
Discussion started by: tricampeon81
4 Replies
SET_NET_DEFAULT(8)					      System Manager's Manual						SET_NET_DEFAULT(8)

NAME
s_n_d, set_net_default - select the default TCP/IP network SYNOPSIS
set_net_default: not found DESCRIPTION
This manual page is here because so many others refer to it. The set_net_default command does not exist under standard Minix, because the TCP/IP server only supports one network. The server under Minix-vmd supports four different networks, that can each be chosen as the default network. The TCP/IP library and commands do have a notion about a "default network" however, because the code is shared between the Minix versions. So if you want to venture into network programming then you should know about the devices and environment variables mentioned below to make your program compatible. (Especially since there is a plan to upgrade the TCP/IP server for standard Minix.) Options and environment to change the default Many TCP/IP programs implement the following options and environment variables to change the default devices set by set_net_default. The options are only implemented for low level programs where it makes sense to name a network device. The environment variables are used in all code. You can run a process and all its children connected to a different network by setting four environment variables. ETH_DEVICE=device -E device Device to use as raw ethernet device instead of the default /dev/eth. PSIP_DEVICE=device -P device Pseudo IP device to use instead of /dev/psip. IP_DEVICE=device -I device IP device to use instead of /dev/ip. TCP_DEVICE=device -T device TCP device to use. UDP_DEVICE=device -U device UDP device to use. FILES
/dev/eth[01] First and second raw ethernet. /dev/psip[01] First and second Pseudo IP network. /dev/ip[0123] IP devices for two ethernets and two Pseudo IP networks. /dev/tcp[0123] TCP devices for same four networks. /dev/udp[0123] UDP devices. /dev/eth, /dev/psip, /dev/ip, /dev/tcp, /dev/udp Devices for the default network, links to the devices above. Eth is only present if ethernet is the default, psip only for pseudo IP. SEE ALSO
ip(4), boot(8). AUTHOR
Kees J. Bot (kjb@cs.vu.nl) SET_NET_DEFAULT(8)
All times are GMT -4. The time now is 02:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy