Problem:
When a user would log into a Digital Alpha running Digital Unix 3.2C and
CDE, the user would be immediately logged off. The following error
message was found in /usr/var/dt/Xerrors:
error (pid 28129): Trouble getting network interface configuration
What caused the problem:
When I restored some files for a user a while back, I did a cpio with
interactive rename and entered "/dev/null" for files that she did not want
to restore; this wrote a FILE /dev/null with backup as the owner and group
with 644 permissions that looked like:
alpha1:root:/# ls -als /dev/null
0 -rw-r--r-- 1 backup backup 0 Apr 17 14:21 /dev/null
Digital Support found the problem and solution. /dev/null should be a
character special device; I did the following:
alpha1:root:/# rm /dev/null
alpha1:root:/# mknod /dev/null c 2 2
alpha1:root:/# chmod 666 /dev/null
alpha1:root:/# ls -als /dev/null
0 crw-rw-rw- 1 root system 2, 2 Apr 17 15:08 /dev/null
This fixed the problem.
Tom Rioux
Received on Fri Apr 19 1996 - 19:18:23 NZST