[SOLVED] netconsole working great - local journal's now almost empty

the kernel command line never worked for me.
I realized I had network init disabled in the bios.  Enabling bios init did not let netconsole start either at the boot parameters, or  the entry in   /etc/modules-load.d/
The service that loads the module after the network comes up works (additional note at end)
[Unit]
Description= kernel kmsg to network
Description=/etc/systemd/system/netconsole.service
#wants maybe more appropriate; I didn't want to add stop handling to this; Requires would try to stop this if the network goes down
Wants=network.target
[Service]
ExecStart=-/usr/bin/modprobe netconsole
[Install]
WantedBy=multi-user.target
are these (observations on netconsole setup) candidates to include on the wiki?
to the question at hand, the local log's almost empty - no entries for USB device insertions (these go to the target machine), udev/dbus stuff that I used to get from mozilla  ... tons of stuff that used to be in there.
I had to reinstall Arch, I'm still recovering so that complicates matters: I may have had an old systemd setup that wrote too much.
this does write to the local log
/usr/bin/systemd-cat -t "sams systemd log test" /usr/bin/echo "WORKING DIR CHANGED TO"
/usr/bin/systemd-cat -t "sams systemd log test" /usr/bin/pwd
/usr/bin/systemd-cat -t "sams systemd log test" /usr/bin/echo "STARTING TAR"
/usr/bin/systemd-cat -t "sams systemd log test" /usr/bin/printf "\033[1;35mSTARTING TAR TEST END COLOR\033[0m COLOR ENDED"
/usr/bin/systemd-cat -t "sams systemd log test" /usr/bin/printf "\033[1;35mSTARTING TAR"
/usr/bin/systemd-cat -t "sams systemd log test" /bin/tar cf $TARfile
/usr/bin/systemd-cat -t "sams systemd log test" echo "failed, exiting"
/usr/bin/systemd-cat -t "sams systemd log test" /usr/bin/printf "\033[0m"
/usr/bin/systemd-cat -t "sams systemd log test" \
/usr/bin/systemd-cat -t "sams systemd log test" \
/usr/bin/systemd-cat -t "sams systemd log test" /usr/bin/ls -x --color=always /home/sam/bin
/usr/bin/stat * -c '%s %Y %n' | sort -n -k 2 |/usr/bin/tail -n3 | /usr/bin/systemd-cat -t "sams systemd log test"
/usr/bin/systemd-cat -t "sams systemd log test" /usr/bin/echo "backup filenames: "
the issue now is, the local journal's empty of a lot of stuff that used to show up.
this page's solution
http://www.burtonini.com/wordpress/2013 … o-project/
Update: when the journal starts up systemd will stop logging to the console, so if you want to get all systemd messages also pass systemd.log_target=kmsg.
(I may have misunderstood; that sentence may have meant ... "if you want to get all systemd messages"  TO THE REMOTE machine)
did not work (to restore the local entries), neither did these (taken from the systemd man page, SIGRTMIN+26, SIGRTMIN+27, SIGRTMIN+28)
sync;sync;kill -60 1
sync;sync;kill -61 1
sync;sync;kill -62 1
these latter command do report (on the netconsole'd remote machine) that the journal target has changed but nothing in the local journal.
anything else to try to restore the local entries?
the promised end note;
cat /etc/modprobe.d/netconsole.conf
options netconsole [email protected]/eno1,@192.168.12.51/00:03:29:d9:6f:2c
Last edited by Sanjeev K Sharma (2015-04-25 10:43:34)

I got stuck on thinking about netconsole - finally I realized it was indeed the reinstall I had done
That reinstall took away the users added to the systemd-journal group.

Similar Messages

  • X-FI worked great for one day, now system won't boot up - NMI: Parity Check / Memory Parity Er

    I can get the system to come up in safe mode, but can't get it to come up normally. I installed the card on Saturday and it worked great with no issues (played about 4 hours of WoW with it). The machine booted up fine at least 3 times yesterday. This morning, it won't come up normally at all: BSoD:
    NMI: Parity Check / Memory Parity Error - The System has Halted
    I made a restore point prior to installing the X-FI drivers yesterday, so I am going to go ahead and go back to that point and hope the system comes up. If it does, then there is a serious problem with the X-FI drivers.
    My system is a standard Intel chipset running a Pentium 4, 3.8 Ghz - single core, non-64 bit with 2 Gigs of Ram.
    I will post back on here if I have any luck with the restore point.

    Memory chips are pretty vulnerable these days. The first week I had my PC I tested my memory with memtest and all was fine. A week later, I began getting BSODs, but every time because of a different driver or module. So I retested it and it wasn't OK anymore. Send it back, got a new one. Worked for a month, then same problems! The 3rd time was the good one... The memory lasted, but my Power Supply broke! After replacing everything is fine for a year now... I don't know if there is any connection, but I think my PSU was eating my memory sticks.
    But anyway, I hope your BSOD is just a "statistical" one.

  • [SOLVED]Netcfg works great manually, but when using the daemon it wont

    I installed netcfg a really long time ago following the arch wiki. When I first installed it and set everything up, it was all working perfectly.
    For the past three or four months Ive been having problems where netcf daemon is failing to connect (home wireless network 256bit wep). It takes about 20 seconds just waiting and eventually says failed. If I log in and run the command manually (sudo netcfg home-wifi) it connect perfectly fine every time.
    Ive tried everything I can think of including different QUIRKS and changing permissions on the profiles but nothing works. I also tried using the netcfg menu but it doesnt work like that either. I went over the wiki page again thinking something might have chnaged, but its all the same. I even reinstalled and configured again but still nothing.
    heres my rc.conf
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
    # in the hardware clock being left untouched (useful for virtualization)
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="en_US.UTF-8"
    HARDWARECLOCK="UTC"
    TIMEZONE="America/New_York"
    KEYMAP="us"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
    # MOD_BLACKLIST: Prevent udev from loading these modules
    # MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
    # NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
    MOD_AUTOLOAD="yes"
    #MOD_BLACKLIST=() #deprecated
    MODULES=(acpi-cpufreq cpufreq_ondemand vboxdrv loop)
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
    HOSTNAME="Arch"
    # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    # - prefix an entry in INTERFACES with a ! to disable it
    # - no hyphens in your interface names - Bash doesn't like it
    # DHCP: Set your interface to "dhcp" (eth0="dhcp")
    # Wireless: See network profiles below
    #Static IP example
    #eth0="dhcp"
    eth0="dhcp"
    INTERFACES=(eth0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.0.1"
    ROUTES=(!gateway)
    # Enable these network profiles at boot-up. These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network.d
    # This now requires the netcfg package
    NETWORKS=(home-wifi)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    DAEMONS=(syslog-ng crond hal cpufreq !network net-profiles @netfs @alsa @sensors @mpd)
    What gets me is that it actually takes longer to fail then it does when I manually connect. It times out for like 20 seconds, but when I manually connect its almost instantaneous.
    Last edited by tjwoosta (2010-03-02 05:31:37)

    I had arch installed on my Sony VAIO, had this problem, and then fixed it somehow.  That was several months ago, recently I fried the laptop so I just reinstalled and can't remember.  But now I have a "solution"  haha
    this is kind of silly how I got it to work, though.
    I created another profile "home-wifi-boot" with a short timeout, this is called from rc.conf.
    then I put "/usr/bin/netcfg home-wifi" in my /etc/rc.local  , which is exactly the same but has a 30 sec timeout.
    This just does the same thing as I was doing manually, runs netcfg a second time.  It works for me!
    Last edited by jamba (2010-02-14 15:30:58)

  • Everything worked great til yesterday. Now no back arrow, tabs don't work,Yikes! Put it back the way it was!!

    I tried to reinstall but that didn't work. There is no back arrow, the tabs don't work, they just open up but there is no place to type anything in. I loaded google chrome to use in the meantime but I don't like it. This jproblem just happened..everything was fine until yesterday.

    Try hitting '''F11''', you may have inadvertently switched to Full Screen mode.

  • HT4534 I installed facetime on my computer in May 2011. It worked great at first,but now the volume goes out when I am on calls.What can I do to stop this from happening? Its not my speakers,I have used Skype and Google+ and the volume never goes out.

    The volume on my facetime goes out very frequently. I can hear the person just fine, but they can not hear me. I have checked my app store to see if there have been any updates to the version of facetime that I bought in May 2011 and it's not. Is there anything that I can do to fix this problem?
    By the way it is not my speakers. I have used Google+ and Skype, and they both work just fine and the volume does not go out.

    Thanks, it seems that it doesn't like to play games, which is a bit of a bummer as i bought this specifically because it was capable of doing that.  To be fair, it is capable... I just need to get used to a sound like sitting by a washing machine on spin cycle...  Wish they would make people aware of this in the Apple Store, its very misleading and not at all desireable.

  • Smart print worked great on first use now only generates a blank page

    Using IE8 on XP Pro SP3. Installed Smart Print(SP). Activated. Opened new IE browser session. Got web page I wanted to print. Hit Smart Print(SP) button. Exact text wanted was select by SP. Hit Print Preview. All selected text present on PP. Printed.
    Got next page. Hit SP. Exact text again selected. Hit PP. Got preview with Header-Footer only. Hit Print. Same Header-footer printed.
    Closed all IE browser sessions.
    Opened new IE browser session. Got page to print. Hit SP. Exact text selected by SP. Hit PP. Still got preview with Header-Footer only. Print same also.
    Used >>File>Print Preview. All of printable webpage on PP...just not with SP?

    Hello Dave,
    Its nice to see such a explanatory question. As per my understanding of your problem, event on sort begin triggers for the first record of the internal table and making the flag as TRUE. So you just put another condition in the COMMAND node as SY-TABIX NE 1. So it skips for the first record.
    COMMAND generate a new page if condition new page switch = TRUE " & SY-TABIX NE 1

  • [SOLVED][Bluetooth Headset] Speaker works great, microphone not :(

    Hello everyone,
    Thanks to this topic, I manage to have ALSA recognize my bluetooth headset correctly (originally I use it on my phone, works great).
    My problem now is : the speaker part is working correctly (I can hear sounds coming from mplayer or aplay on test files) but I can't record any sound ! The only thing I can get is a noisy, continuous scratch sound when I try very basic commands like :
    arecord -D btheadset -f S16_BE blah.wav
    My .asoundrc file :
    pcm.btheadset {
    type plug
    slave {
    pcm {
    type bluetooth
    device 00:1D:82:B4:59:19
    profile "auto"
    hint {
    show on
    description "BT Headset"
    ctl.btheadset {
    type bluetooth
    Is there any way to get that functionnal ? Am I doing something wrong ?
    Thanks for your help.
    Last edited by nsarko (2010-09-01 20:18:52)

    I found myself on http://ubuntuforums.org/archive/index.p … 44715.html
    Following your advice, I try this configuration :
    pcm.bluetoothraw {
    type bluetooth
    pcm.bluetooth {
    type plug
    slave {
    pcm bluetoothraw
    and that does not the trick

  • My IPhone 5 will not turn on, I had a new screen I stalled, all working great, the next day I was flying so turn off the phone and since trying to turn back in again,,, I receive many lines of white text stating incorrect shutdown please help

    hhello, please help if you can,,,
    i had a new screen installed, everything working fine, as was using the phone, the next day I was flying so turn off the phone in the usual way...
    oon arrival turned the phone on, received a slow acting black background with the apple sign visual, but never moved from that......... So tried a reset still the same just left looking at the apple sing in the middle if the screen,makes it there for 5 mins but still never turn on completely,,,,,
    again I tried,,,,,, again I tried a reset, then started to received lines of white writing, about 4-5 lines slowly like it was being typed, which stateed INCORRECT SHUTDOWN, ????????? then took out my MacBook air, to connect to ITunes to see whaypt I could do,
    i tunes did not find the phone as would normally so opened ITunes manually, still did not find the Iphone,,,,,
    Any Ideas please, as it is useless stuck in the drawer, I am an apple user, an quite knowledgable having other Iphine 5, IPad air and Mac,,,,, I am stuck,,,,
    PLease Help,my hank you in advance

    SharmFarm wrote:
    Good ev Ning Mario49    firstly I would like to say a great thank you for your attention to trying to help me,,,,,    i have looked at the links and will try everything stated first thing…
    Hi Mario,,,,
    I tried everything in your reply,,, thank you again,, I had done that once before and all was working great,,
    I have just now tried the Reinstall via iTunes, about 20 into the download, the iTunes logo on the phone disappeared, and the Apple Logo appeared again,,, I waited until the iTunes stated that the download had finished, and the install was in progress,,,
    Nothing happened, still the Apple Logo was visual on the screen, iTunes never recognised the phone which it was on my iTunes account previously,,,
    Still just a bunch of lines, maybe 5 or 6 so small writing,, I personally can not read what it is telling me, someone said it reads, incorrect shutdown,,,????????
    Please advise,???
    I am now at a loss,,, I really became excited when I saw the iTunes icon after putting the phone into restore,,,???
    Thank you again
    D

  • 2.1 Works great!

    Hello since this is my first post i am just going to say hello!
    I have a 8GB Iphone on the Rogers network in Canada and the 2.1 Update has done wonders to my phone i live kinda out in the sticks but am 5 minutes away from 3G Before i would get 2 to 3 bars in that area now its full the contacts load allot faster and the typing has no more lag the phone was working great before but is now even better!
    I still do wish they would of made it so texting could use the landscape feature but other then that this update has made the phone 100% more reliable.
    I was thinking about skipping the update because of all the topics and bad experience but i took the leap and could not be more happy! Great job apple
    -Cheers!

    My honest and true experiences with 2.1:
    -Seems faster, although there is a noticeably small lag that occurs between touching the application and when it actually opens
    -More stable in many more areas than before, applications crashed a lot less
    -iPod has new option of displaying the albums under the songs which is a nice touch and use of space
    -For me, battery life was dreaful
    Before 2.1: iPhone on sleep for 12 hours usually got me at least 95% battery life
    On 2.1 update: iPhone on sleep for 12 hours drained down to only 35% full...
    Nothing has changed in settings, battery made worse for me.
    -The Settings app reduced in time in opening
    What usually took 8 seconds to load up has dropped to about 4 seconds on average.

  • EReader on my iPod Touch works great...

    I am a book reader. I love my new iPod Touch 2G. I found eReader 2.0.1 works great with it.
    Now my son who, gasp... has a PSP -3000 wants to read e-books also. We can't get him a iPod Touch... yet, so does anyone know of a reader that will let him read e-books on his PSP like I can on my iPod Touch? I searched the net and came up with no real answer. I thought if any one knows how it can be done, the people that come here would.
    -Apple //GS

    Well I did learn that there is no current way to read eBooks on the PSP platform. There is a work-a-round however. That is why I love my iPod Touch. It can do lots more then the other systems in it's category. And searching he web is not the end all be all place for information. This place is
    -Apple //GS

  • Time Machine works great and then.....................

    Time Machine has worked great since December and now I get an error message which has happened five times since I upgraded to 10.5.3. The error message says, "backup failed with error: target volume is read-only". The Console says,"Macintosh /System/Library/CoreServices/backupd196". Not sure why this continues to happen. Have 107.4GB remaining on the Maxtor 260 external HD. Any idea's?? HELP!!

    Sorry for the wait:-( I opened the folder and the dates are May 2008. I am just wondering where the documents from December - May are? Why can't I see the Time Machine dates between December and May? Why would any back up material expire? Why would Time Machine "remove" any data that's supposed to be backed up? Here's what I posted on another forum, without result....
    Time Machine has worked excellent from December to May, without incident. The first week in May I started to get error messages that the backup volume was too large for the existing GB available. It was saying that it required 108.0GB but that only 107.4GB was available. The external HD is 250GBs and there's NO way that it's full. Then the backups just stopped. I added programs to the "do not back up list", to no avail. The back ups just stopped. The error messages said something about "read only". Then one day, they started again. I cannot figure out why. THEN, I opened Time Machine to find that ALL the history from December to May was gone!!!! Where I used to be able to click on any date on the sidebar in Time Machine and go to that day, to see what was backed up....I cannot do this any longer! ALL the back up is gone! Where did ALL this back up go? What the heck happened?? Now Time Machine says," 206.1GB available of 232.8GB" Cannot figure out what happened?? Any ideas??

  • HT4528 My wife had a problem with her iPhone 5C with no voice on th Maps app.  I visited my local Apple store and they said the problem was in iCloud.  We did a new install and it works great now.  Now my iPhone 5 has the same problem.

    My wife had a problem with her iPhone 5C with no voice on the Maps app.  I visited my local Apple store and they said the problem was in iCloud.  We did a new install and it works great now.  Now 4 days later my iPhone 5 that is tied to the same iCloud has the same problem with the Maps app.  I really don't want to go through a new set-up with my iPhone 5.  What's going on with iCloud?

    I had major issues with the iPhone 4s battery, however it’s resolved.
    The tech who set the phone up at the Apple store did so with little training.
    if you have a mobile me account. First go and move all your data to the cloud by going on your computer and logging in at me.com/move. The cloud has replaced mobile me, so there is no need for those two accounts
    Also make sure that for any of your email accounts you set them up to fetch, not push. My tech person set them all to have the email servers push data to the phone. The new iphone4s antenna is extremely strong so it will continually try to access stuff that is pushed–***** a lot of battery life doing this. It makes it worse if you have exchange 2010 accounts. Something about changes made to exchange really suck battery life from devices that access such accounts.
    turning of locator and the push notifications from facebook--they have a lot!

  • Okay so I set up my Time Capsule already and is now backing up 2 of my iMacs. Works great. What I want to know is how to use the TC to directly store files? I want to do this to delete some files but still have them on the TC for future reference..

    Okay so I set up my Time Capsule already and is now backing up 2 of my iMacs. Works great. What I want to know is how to use the TC to directly store files? I want to do this to delete some files on iMac 20inch but still have them on the TC for future reference..eg some movies on iTunes. I want to directly save them on the drive so I can delete them from iTunes and gain some storage. (Ps on iMac 20 inch (it's almost full - 320 GB) when I enter time machine, a tab comes up on finder which reads "Time Machine backups" it's able to be ejected like a disc or a connected device. On the iMac 20 inch, I dragged some files onto there as if using it like a hard drive. Is this the correct method? Then I went to my 27inch iMac and saw the "Time Machine Backups" hoping to see the files I dragged from the 20inch iMac. But the files were not there except a folder that said "Backups.backupdb". Can someone help me?

    It's not a good idea to use a network disk for both Time Machine backups and other things.  By design Time Machine will eventually consume all the space on its output disk, which will then cause problem for your other files.  I'd store those other files on an external disk connected to the Time Capsule.  The problem with that is that Time Machine will only back up files that are local to your Mac.  That means that you'll only have one copy of the files on or attached to your Time Capsule.
    By the way, you've been misled by poor field labeling on this forum into typing a large part of your message into the field intended for the subject.  In the future just type a short summary of your post into that field and type the whole message into the field below that.

  • TS3276 I'm now having trouble getting mac mail to work on my mac. The mobile me account works great on iphone and ipad but it won't connect to my mail account. Password is correct. What else can I do? Using OS10.68

    I'm now having trouble getting mac mail to work on my mac. The mobile me account works great on iphone and ipad but it won't connect to my mail account. Password is correct. What else can I do? Using OS10.68

    HI,
    The Apple IDs from @mac.com and @me.com (Older MobileMe and more recent iCloud Names) are also Valid AIM Screen names.
    Any other sort of Apple ID is not a Valid AIM Name.
    A Google ID that is associated with Google Mail Account (And has "Talk" enable on your Google Settings) can be used in iChat as  Jabber Name/ID.  (Google Run  Jabber server).
    Jabber and AIM are different IM Services and it is not easy or straight forward to add Buddies from one Service to the Buddy List of another.  (As A Starting point consider it "impossible")
    iChat 4 and 5 have links to the registration page of @Mac.com here with a "Get an iChat Account" button in the add (Account) screen  (You select @mac.com or MobileMe and then press the Button - Choosing AIM and then pressing the button used to lead to the AIM registration page but AIM moved their page).
    Apple IDs can be any valid email (or an @mac.com or iCloud registration)
    Therefore you could make a Google ID into an Apple ID.
    However this will not be a valid AIM Screen Name the way @mac.com or MobileMe/iCloud ones are.
    Valid AIM Screen Names in Table (pic)
    7:46 PM      Monday; December 5, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • I have a iMac destop 10.6.2 and use the AOL Mail web site with your Firefox Browser. It has worked great for years. I update the firefox to 6.1 and now I cannot send images using the Firefox browser. With Safari browser it works fine.

    I use AOL mail - http://www.aol.com/ with my Firefox 6.1 browser. Before updating aol mail worked great with firefox for years. Now when I try to send ( upload) messages with a file or images I always get the reading " there was a technical problem and I should try again". Messages with NO files or images go through just fine. I have cleared the Firefox history, the cache and cookies and the problem remained the same. The question is does this problem have something to do with the latest update ? AOL are still only familar with the 3.6 Firefox versions. Thanks

    Well I guess I was too optimistic. Since last posting I have had three hang events, one during reboot. When the login dialog box came up I clicked on it and it hung.
    However I do have a new data point. I have enabled the remote login (sshd). I have discovered that when the system hangs like I described above, I can still log in via SSH from my Windows system. The shell appears normal, but when I tried a "killall Safari" command the OS crashed hard. After a hard reset, the system hung during the login process. Again I could login remotely, and that time I executed a "sudo reboot" via the remote session. That cleared the display to all-blue but did not successfully reboot.
    Can anyone suggest what to try via the remote login to help diagnose what is happening? I am familiar with typical Linux architecture but the differences in Mac OS X are leaving me a bit disoriented.

Maybe you are looking for