Help: problems with 'w', 'who' and 'last'

Help: problems with 'w', 'who' and 'last'

Post by Ted Sariysk » Thu, 31 Dec 1998 04:00:00



Recently I upgraded our machines from RedHat5.1 to
RedHat5.2. Everything is OK, but now three machines behave
strange with w, who and last. last returns trash:



still logged in
p1       21.pv.reshsg                  Wed Dec 31 16:00 -
16:00  (00:00)
dialin33 p1                            Wed Dec 31 16:00 -
16:00  (00:00)
...

w and who give only the top line and empty body:

 10:03am  up 7 days, 19:52,  0 users,  load average: 0.00,
0.00, 0.00

PCPU  WHAT

I copied these executables from machines where they behave
well along with /var/log/wtmp file and for a while this
fixed the problem, but after a couple of minutes the problem
appeared again. It seems that there is a reference data set
that is updated periodically ... I really have no idea what
is going on.

Is there an easier way to fix this problem than reinstalling
the OS?

Thanks. Ted

 
 
 

1. Help:How to use 'router','mailq','zmailer' etc?

Hi.  My school doesn't offer slip/ppp connection, so I'm force
to use a program call 'slirp' to emulate ppp.  One good thing about
slirp is that it can execute a program and route it to a particular port
of your choice.  For example, I can get slirp to execute 'smtpserver -n'
and redir it to port 25, so I can send out e-mail this way.  I would
like to retrieve email to my home computer also.  I hope by learning how
to use the 'router', 'mailq', and 'zmailer' command, I can do it.  Can
someone please tell me how?  I assume that I have to start one of the
program and then redir it to port 110.  Please help.
--
Lin, Xu(Vincent)      University of Toronto(Computer Engineering)

Please visit the Nanjing Massacre Memorial Webpage at:
        http://www.cnd.org/njmassacre/index.html
"The greatness of a mind is determined by the depth of its suffering" -
Nausicaa
"Our lives are like the wind...or like the sounds.  We come into being,
resonate with each other... then fade away." - Nausicaa

2. Is this US Robotics 56k modem supported?

3. Help with 'user', 'w', 'who' commands

4. No jpeg or gif pics in KDE2

5. Simple 'sed', 'awk', 'cut' problem

6. Complex people -

7. Where's Finger's 'last login' info stored?

8. Kerberos on OpenBSD/mac68k

9. Pls help: 'efax' and 'diald' don't quite get along

10. Problems with installing two Linux's - 'setup' and 'lilo'

11. 'double' or 'dbl' or 'dble', the disk space utilty

12. sed -e 's/\'a\'/\';\'/' ?

13. What is 'stty', 'term' & 'tty'