DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 21st June 2009
delboy's Avatar
delboy delboy is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 63
Thanked 0 Times in 0 Posts
Default Last message repeated x times

Keep getting "last message repeated 20 times" working as root in cli,it even appeared when I was editing /etc/ttys.
Done a bit of googling and it appears it may have something to do with my permissions,Im not very good with ownership problems,so I dont really know what info to give you.
ls -ld / shows.
drwxr-xr-x 20 root wheel
Reply With Quote
  #2   (View Single Post)  
Old 21st June 2009
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,074
Thanked 198 Times in 156 Posts
Default

What is the message being repeated?

If you're unsure, post your /var/log/messages
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #3   (View Single Post)  
Old 21st June 2009
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Real Name: Ben
Spam Refugee
 
Join Date: Jul 2008
Location: Rotterdam, The Netherlands
Posts: 337
Thanked 32 Times in 30 Posts
Default

Put this in /etc/rc.conf and run /etc/rc.d/syslogd restart. At least you'll know what's being repeated now.

Code:
syslogd_flags="-cc"
Reply With Quote
  #4   (View Single Post)  
Old 22nd June 2009
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

This is syslog's way of saving time/cycles. Instead of having to generate a timestamp for each repeated message, and writing each repeated message to disk, and slowing things down, if it detects more than a couple repeated log messages, it just tallies them instead.

Check /var/log/messages to find the line right above the "repeat x times" line. That will show you what is happening.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #5   (View Single Post)  
Old 22nd June 2009
delboy's Avatar
delboy delboy is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 63
Thanked 0 Times in 0 Posts
Default

The message being repeated is
cant exec getty usr/local/kde4/bin/kdem for port /dev/ttyv8 no such file or directory
I had prior to the repeated messages uninstalled kde4(not a mean feat) but forgot to change the line in /etc/ttys
it still read ttyv8 "/usr/local/kde4/bin/kdm -nodeamon xterm on secure
I have put this back to its original state,and have so far not had any repeated messages.
Please say that I have got it right coming from you I will feel so good.
Reply With Quote
  #6   (View Single Post)  
Old 24th June 2009
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

Reverting that line in /etc/ttys was the correct fix. It was pointing to a non-existent file, hence the error message. getty (or is it init) detects when a process that it is managing crashes and attempts to restart it. Which is why the message kept repeating, as getty was in a loop (start kdm, file not found, wait, repeat).
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #7   (View Single Post)  
Old 25th June 2009
delboy's Avatar
delboy delboy is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 63
Thanked 0 Times in 0 Posts
Default

Thank you phoenix,now I do feel good.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
run same command many times with diff args gosha Programming 21 30th May 2009 11:51 AM
repeat same command n times gosha Programming 8 12th March 2009 11:25 PM
Thanked X times in X posts johnlvs2run Feedback and Suggestions 6 18th May 2008 01:21 PM
Daemonforums very slow, times out a lot Weaseal Feedback and Suggestions 15 16th May 2008 12:44 AM


All times are GMT. The time now is 10:41 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick