"_setutent: Can't open utmp file: No such file or directory"??

"_setutent: Can't open utmp file: No such file or directory"??

Post by Yue-Herng Li » Fri, 30 Dec 1994 18:00:33



Hi all,

I have Slackware 2.0 installed on my system and upgraded to XFree 3.1
recently without any problem. However, after I upgraded to gcc 2.6.2,
libc-4.6.27, and ld.so.1.5.2, whenever I use xterm, color_xterm, or
even w, message "_setutent: Can't open utmp file: No such file or directory"
appeared. Is there anyway I can fix it??

Thanks,
YH

 
 
 

"_setutent: Can't open utmp file: No such file or directory"??

Post by Bruce Scott T » Fri, 30 Dec 1994 20:36:28



> Hi all,

> I have Slackware 2.0 installed on my system and upgraded to XFree 3.1
> recently without any problem. However, after I upgraded to gcc 2.6.2,
> libc-4.6.27, and ld.so.1.5.2, whenever I use xterm, color_xterm, or
> even w, message "_setutent: Can't open utmp file: No such file or directory"
> appeared. Is there anyway I can fix it??

You need the file /etc/utmp to be created during boot; in the Slackware
releases the file /etc/rc.d/rc.S has this bit right before the filesystems
mount:

/bin/rm -f /etc/mtab* /etc/nologin /etc/utmp

cat /dev/null >> /etc/utmp

The rm initialises things and then the cat creates the file /etc/utmp.

Have the new libraries changes the search path such that this file is
expected in a different place?

--
Gruss,
Dr Bruce Scott                             The deadliest bullshit is
Max-Planck-Institut fuer Plasmaphysik       odorless and transparent


 
 
 

"_setutent: Can't open utmp file: No such file or directory"??

Post by M. Shawn East » Fri, 30 Dec 1994 20:41:00


: Hi all,

: I have Slackware 2.0 installed on my system and upgraded to XFree 3.1
: recently without any problem. However, after I upgraded to gcc 2.6.2,
: libc-4.6.27, and ld.so.1.5.2, whenever I use xterm, color_xterm, or
: even w, message "_setutent: Can't open utmp file: No such file or directory"
: appeared. Is there anyway I can fix it??

I had to create a link to /var/adm/utmp from /etc/utmp after I
upgraded libc. Subsequent problems compiling my kernel foced me
to go back to libc-4.5.24 though. #:-<

Shawn.

: Thanks,
: YH

--
           /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\  
          / /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\ \  
         / /                  M. Shawn Easter                    \ \

 
 
 

"_setutent: Can't open utmp file: No such file or directory"??

Post by Yue-Herng Li » Sun, 01 Jan 1995 18:20:18





>: Hi all,

>: I have Slackware 2.0 installed on my system and upgraded to XFree 3.1
>: recently without any problem. However, after I upgraded to gcc 2.6.2,
>: libc-4.6.27, and ld.so.1.5.2, whenever I use xterm, color_xterm, or
>: even w, message "_setutent: Can't open utmp file: No such file or directory"
>: appeared. Is there anyway I can fix it??

>I had to create a link to /var/adm/utmp from /etc/utmp after I
>upgraded libc. Subsequent problems compiling my kernel foced me
>to go back to libc-4.5.24 though. #:-<

>Shawn.

>: Thanks,
>: YH

>--
>           /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\  
>          / /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\ \  
>         / /                  M. Shawn Easter                    \ \


Thanks, this solved my problem :-)
YH
 
 
 

1. "w"(ho) causes "_setutent: Can't open utmp file"

I have been having the same problem... it seems to be a problem with
the location (??) of the utmp file... under previous version of the
kernel/libraries, the typical location was /etc... I am also not sure
exactly what I changed to affect this... I believe its presumed
location is in files.h, which is set to /etc on my system.. strange..

Help would be much appriciated...

--Jeremy S. Hartman

--http://www.cs.umbc.edu/~jhartm2

2. Installing KDE and affect on other window managers

3. _STILL_ get "_setutent: Can't open utmp file.."

4. TMC-850xxx and ZIP drive

5. Slackware Error Message?

6. "_setutent: can't open utmp file" after upgrade

7. Help! Can't get Zip Drive to Work on Win95!!!!

8. _setutent: Can't open utmp file: No such file or directory

9. _setutent Can't open utmp file: No such file or directory

10. _setutent: Cant'open utmp file:No such file or directory

11. _setutent: Can't open utmp file: No such file or directory