Entries in /var/log/errors.log once per second - how to troubleshoot

This happens once per sec
tail -f errors.log
Nov 12 14:08:38 localhost udevd[266]: timeout: killing '/sbin/modprobe -bv pci:v00008086d00002E22sv00001458sd0000D000bc03sc00i00' [296]
Nov 12 14:08:39 localhost udevd[266]: timeout: killing '/sbin/modprobe -bv pci:v00008086d00002E22sv00001458sd0000D000bc03sc00i00' [296]
Nov 12 14:08:40 localhost udevd[266]: timeout: killing '/sbin/modprobe -bv pci:v00008086d00002E22sv00001458sd0000D000bc03sc00i00' [296]
Nov 12 14:08:41 localhost udevd[266]: timeout: killing '/sbin/modprobe -bv pci:v00008086d00002E22sv00001458sd0000D000bc03sc00i00' [296]
Nov 12 14:08:42 localhost udevd[266]: timeout: killing '/sbin/modprobe -bv pci:v00008086d00002E22sv00001458sd0000D000bc03sc00i00' [296]
Nov 12 14:08:43 localhost udevd[266]: timeout: killing '/sbin/modprobe -bv pci:v00008086d00002E22sv00001458sd0000D000bc03sc00i00' [296]
Nov 12 14:08:44 localhost udevd[266]: timeout: killing '/sbin/modprobe -bv pci:v00008086d00002E22sv00001458sd0000D000bc03sc00i00' [296]
Nov 12 14:08:45 localhost udevd[266]: timeout: killing '/sbin/modprobe -bv pci:v00008086d00002E22sv00001458sd0000D000bc03sc00i00' [296]
Nov 12 14:08:46 localhost udevd[266]: timeout: killing '/sbin/modprobe -bv pci:v00008086d00002E22sv00001458sd0000D000bc03sc00i00' [296]
Nov 12 14:08:47 localhost udevd[266]: timeout: killing '/sbin/modprobe -bv pci:v00008086d00002E22sv00001458sd0000D000bc03sc00i00' [296]
Nov 12 14:08:48 localhost udevd[266]: timeout: killing '/sbin/modprobe -bv pci:v00008086d00002E22sv00001458sd0000D000bc03sc00i00' [296]
Nov 12 14:08:49 localhost udevd[266]: timeout: killing '/sbin/modprobe -bv pci:v00008086d00002E22sv00001458sd0000D000bc03sc00i00' [296]
Output of dmesg contains several of these:
[ 1320.309919] INFO: task modprobe:296 blocked for more than 120 seconds.
[ 1320.309924] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 1320.309927] modprobe D 00000000fffea784 0 296 266 0x00000004
[ 1320.309933] ffff880147549aa8 0000000000000082 ffff880100000000 ffffffff81147e7d
[ 1320.309939] ffff88014772d640 ffff880147549fd8 ffff880147549fd8 ffff880147549fd8
[ 1320.309945] ffffffff8189d020 ffff88014772d640 ffff880147549ab8 0000000000000296
[ 1320.309950] Call Trace:
[ 1320.309960] [<ffffffff81147e7d>] ? new_slab+0x1fd/0x2d0
[ 1320.309967] [<ffffffff81225c17>] ? idr_get_empty_slot+0x117/0x300
[ 1320.309988] [<ffffffffa02bc58b>] ? drm_mode_crtc_set_gamma_size+0x2b/0x70 [drm]
[ 1320.309995] [<ffffffff81226127>] ? idr_get_new_above_int+0x17/0x80
[ 1320.310001] [<ffffffff81406d1f>] schedule+0x3f/0x60
[ 1320.310007] [<ffffffff812eb939>] vga_get+0x119/0x1b0
[ 1320.310013] [<ffffffff8105adf0>] ? try_to_wake_up+0x290/0x290
[ 1320.310040] [<ffffffffa0fdf0cf>] intel_modeset_init+0x66f/0x1c30 [i915]
[ 1320.310059] [<ffffffffa0f81200>] ? i915_stolen_to_phys+0x90/0x90 [i915]
[ 1320.310078] [<ffffffffa0f81260>] ? i915_switcheroo_can_switch+0x60/0x60 [i915]
[ 1320.310098] [<ffffffffa0f84068>] i915_driver_load+0xf38/0x17a0 [i915]
[ 1320.310104] [<ffffffff812eedee>] ? device_register+0x1e/0x30
[ 1320.310116] [<ffffffffa02ba626>] ? drm_sysfs_device_add+0x86/0xb0 [drm]
[ 1320.310127] [<ffffffffa02b68df>] ? drm_get_minor+0x21f/0x2f0 [drm]
[ 1320.310139] [<ffffffffa02b8da9>] drm_get_pci_dev+0x199/0x2c0 [drm]
[ 1320.310162] [<ffffffffa10073f7>] i915_pci_probe+0x1b/0x1d [i915]
[ 1320.310168] [<ffffffff8124c76c>] local_pci_probe+0x5c/0xd0
[ 1320.310175] [<ffffffff8124cfb1>] pci_device_probe+0x101/0x120
[ 1320.310182] [<ffffffff812f156e>] driver_probe_device+0x7e/0x1b0
[ 1320.310187] [<ffffffff812f174b>] __driver_attach+0xab/0xb0
[ 1320.310192] [<ffffffff812f16a0>] ? driver_probe_device+0x1b0/0x1b0
[ 1320.310198] [<ffffffff812f16a0>] ? driver_probe_device+0x1b0/0x1b0
[ 1320.310204] [<ffffffff812f052c>] bus_for_each_dev+0x5c/0x90
[ 1320.310210] [<ffffffff812f11fe>] driver_attach+0x1e/0x20
[ 1320.310215] [<ffffffff812f0e50>] bus_add_driver+0x1a0/0x270
[ 1320.310222] [<ffffffff812f1cb6>] driver_register+0x76/0x140
[ 1320.310229] [<ffffffff8124df16>] __pci_register_driver+0x56/0xd0
[ 1320.310235] [<ffffffff8108a71d>] ? notifier_call_chain+0x4d/0x70
[ 1320.310246] [<ffffffffa02b8fea>] drm_pci_init+0x11a/0x130 [drm]
[ 1320.310262] [<ffffffffa1031000>] ? 0xffffffffa1030fff
[ 1320.310279] [<ffffffffa103108b>] i915_init+0x8b/0x8d [i915]
[ 1320.310285] [<ffffffff81002040>] do_one_initcall+0x40/0x180
[ 1320.310291] [<ffffffff810a2be1>] sys_init_module+0x91/0x200
[ 1320.310297] [<ffffffff8140a442>] system_call_fastpath+0x16/0x1b
Last edited by graysky (2011-11-12 19:09:56)

It looks like your video card, or lack of a module installed for it, is causing the panics. 
My suggestions: 
Please post a video card manufacturer, and model...of your video card, and some system details, and  more information.
Please paste any files or code, etc, by forum pasting guidelines please.
First, I  would like to see a list of all modules you are blacklisting (in /etc/modprobe.d/) and  if any are in /etc/rc.conf
Secondly, have you done a 'pacman -Syyu' in console to update your system?
Thirdly, can you paste to us, (and using forum pasting guidelines)  the output of 'lspci -v'
Also, are you using 32-bit or 64-bit kernel?  (uname -m) and your Arch install version is?  (uname -r)
Also, please elaborate more on your Arch Install. 
a) Gnome, KDE, etc ?
b) X11 ?
c) and have you installed "xf86-video-intel"
---end
*** all the below  are not fully necessary, unless you believe a card or plug is badly seated/inserted ****
a) shutdown and turn off power to computer, and then unplug it,
b) then open your case,
c) THIS STEP IS IMPORTANT: make sure you are not making static like rubbing on a carpet.
d) touch the metal case inside the computer with both hands for a few secs (clears a static charge)
    before you touch anything else inside your computer.
e) and find your video card, make sure it is seated and inserted fully.
f) sometimes you have to remove the card, and put it back in.
g) Close the computer case, and make sure all connections are secure and tight.
Last edited by Kilzool (2011-12-02 23:34:46)

Similar Messages

  • How to Specify the Log File address as RootDir/Logs/Error.log in Log4j

    I have a web application,
    How to configure the log4j Rolling file Appender in that.
    I want to logs to be redirected to the RootDir/logs/Error.log.
    Currently, I m using following configuration:
    # This file must live on the classpath of the jvm
    # Set root logger level to DEBUG and log to both stdout and rollingFile appenders
    # (see below for their definitions)
    # The set of possible levels are: DEBUG, INFO, WARN, ERROR and FATAL
    log4j.rootLogger=INFO, stdout, R
    ####### Console appender ######
    log4j.appender.stdout=org.apache.log4j.ConsoleAppender
    log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
    # Pattern to output the caller's file name and line number.
    # The pattern: Date Priority (Filename:Line Number) - Message\n
    log4j.appender.stdout.layout.ConversionPattern=%d %-5p (%F:%L) - %m%n
    #### Second appender writes to a file
    log4j.appender.R=org.apache.log4j.RollingFileAppender
    log4j.appender.R.File=Error.log
    # Control the maximum log file size
    log4j.appender.R.MaxFileSize=100KB
    # Archive log files (one backup file here)
    log4j.appender.R.MaxBackupIndex=1
    log4j.appender.R.layout=org.apache.log4j.PatternLayout
    log4j.appender.R.layout.ConversionPattern=%d %-5p (%F:%L) - %m%n
    Thanks for your replies in advance.

    Please follow the following steps, will work.
    To enable log4j logging to a file on lunar pages do the following:
    1) Create a servlet class that will initialize log4j. Here is
    the code:
    package logging;
    import org.apache.log4j.PropertyConfigurator;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class Log4jInit extends HttpServlet {
    public
    void init() {
    String prefix = getServletContext().getRealPath("/");
    String file = getInitParameter("log4j-init-file");
    // if the log4j-init-file is not set, then no point in trying
    if(file != null) {
    PropertyConfigurator.configure(prefix+file);
    public
    void doGet(HttpServletRequest req, HttpServletResponse res) {
    2) In your web.xml file add the following entry:
    <servlet>
    <servlet-name>log4j-init</servlet-name>
    <servlet-class>logging.Log4jInit</servlet-class>
    <init-param>
    <param-name>log4j-init-file</param-name>
    <param-value>WEB-INF/classes/log4j.lcf</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    3) Create a log4j.lcf file located in your WEB-INF/classes directory
    as with the following entries:
    log4j.rootLogger=debug, R
    # yourdirectory below is where your site lives.
    log4j.appender.R=org.apache.log4j.RollingFileAppender
    log4j.appender.R.File=/home/yourdirectory/public_html/logs/out.log
    log4j.appender.R.MaxFileSize=500KB
    # Keep one backup file
    log4j.appender.R.MaxBackupIndex=1
    log4j.appender.R.layout=org.apache.log4j.PatternLayout
    log4j.appender.R.layout.ConversionPattern=%d %-5p [%c] %m%n
    4) Add logging to your class. Here is an example:
    import org.apache.log4j.Logger;
    public class Example {
    static Logger logger = Logger.getLogger(Example.class);
    public void doSomething() {
    logger.debug("testing logging");
    5) make sure you have the log4j-1.2.8.jar file located in your WEB-INF/lib directory.
    That should do it!

  • Horrible video skip / lag problem - once per second in all apps!

     I built a new system last month (my first AMD) and I am having a really aggravating problem. In all games and all video playback I get an annoying skip once per second, every second. It affects sound during gameplay but not during movie or mp3 playback. It even happens with the visualization mode in Windows Media Player.
    My system is as follows: MSI K8N Neo4-F, A64 3200+ venice core, MSI 6800GT 256MB PCI-E, two sticks of Corsair valueselect DDR400 512MB each, 500 watt PS, 160GB 7200 SATA HDD. Most recent NVIDIA drivers for everything. WinXP Pro with SP2 and all updates, DX9C. Nothing overclocked, all settings standard.
    I have tried the following solutions:
    1) BIOS upgrades, started with 1.4, installed 1.5, MSI tech support gave me 1.6b2 and I installed that. No luck with any of them.
    2) Memory, installed per MSI directions, but I've tried all legal combinations, including one stick at a time. No change.
    3) full format and reinstall of WinXP. No luck.
    4) Switching between WinXP IDE drivers and NVidia drivers, with and without RAID drivers, No luck.
    5) Removal of 6800GT PCI-E card and replacing with Ancient 8MB PCI Permedia2 video card. Problem still persists.
    6) Disable onboard sound and LAN. No luck.
    7) Running Fedora core 4 on second partition. Installed Nvidia video drivers, tried some games. THIS WORKS! No hitch, no skip, no nothing. Framerates are noticably slower but very stable. In WinXP I saw framerates bounce all over the place, from 230 FPS down to about 70 with one game. That same game on Linux ran smoothly at about 166 FPS with only occasional slight drops. The big FPS drops in Windows usually came right after one of the skips but didn't occure after every skip.
    Right now I'm stumped. Linux uses totally different drivers for sound, LAN and SATA support. Some of those drivers don't fully use the Nforce4 chipset's features, maybe that's part of the difference.

    Thanks TireSmoke:
    I had found that sticky, but I took your advice and went thorugh it in detail last night.  Lots of great info, fixes tweaks and tools, sadly none of them fixed my problem.  The lag problem most people are reporting is not really like the wierd problem I am having.  I have tried the recoommended fixes with ablsolutely no change in my system's behavior.
    I am beginning to suspect a faulty motherboard component.
    Russ_XP:
    I think you are correct about fast writes.  I googled the heck out of that last night and couldn't find any reference to enabling or disabling fast writes on PCI-E.
    The drive is SATA-1.  The Neo4-F is not SATA-2 enabled (there is a hack for it though).  From memory I think it's a Western Digital WD1600-something, 7200 RPM dirve.  I've tried it on both SATA buses and tried disabling the unused bus in BIOS.
    I'm pretty sure I can dig up an old PATA drive somewhere and give that a try.
    Gpalmer:
    True enough, and I don't have these problems under Fedora.  Sadly this is a cross-platform game development box, I need both XP and Fedora working.
    Black_God:
    Nope, this is a clean install.  Although I wonder, could any of the built in XP update and security tools be causing this?  I have disabled Windows firewall and virus protection monitoring.

  • FF 4Beta seems to be continuously refreshing itself 2-5 times per second - how to stop this ?

    FF 4Beta seems to be continuously refreshing itself 2-5 times per second - how do I stop this from occurring.

    FF 4Beta seems to be continuously refreshing itself 2-5 times per second - how do I stop this from occurring.

  • Thousands of "clock_get_time() failed" entries in WebServer (Apache) error log

    We are running Server.app 2.2.1 on OS X 10.8.4. The "Websites" service is enabled. When viewing the WebServer > error_log in Console, we see thousands and thousands of these entries:
    clock_get_time() failed: (ipc/rcv) invalid name
    There is no date/time prefix for each entry, i.e. that's the whole line. There are so many of these entries, in fact, that recently the log had grown to well over 6 GB in size which I suspect caused some recent kernel panics related to httpd, because when I deleted this gigantic log the panics stopped.
    The messages are still happening, but not perpetually, and the log is growing once again. What could be causing them? The only log entries prior to them starting are harmless "file does not exist" entries.
    A few facts about our "Websites" service setup:
    1) It's operating correctly. No obvious problems.
    2) We are storing our "service data" on a volume other than the startup volume as allowed by the Server.app GUI.
    3) We have the "Enable PHP web applications" checkbox checked.
    4) For the server website, we have "Enable Server Side includes", "Allow overrides using .htaccess files", and "Allow CGI execution" enabled.
    5) In order to enable user sites to load, i.e. server.name.com/~username, we have manually uncommented one line in /Library/Server/Web/Config/apache2, making sure that file permissions remained as they were:
         Include /private/etc/apache2/extra/httpd-userdir.conf
    Thank you for whatever insights or suggestions the community can offer.

    UPDATE: In roughly 12 hours the log file has grown from about 11 MB to over 1 GB. The cause of the bloat is the same repeating message. Perhaps not so coincidentally, another kernel panic (and automatic restart) occured today. The panic report blames httpd. See below.
    Thanks to any and all who can help shed some light on this.
    =====================
    Interval Since Last Panic Report:  458821 sec
    Panics Since Last Report:          6
    Fri Aug 16 14:41:15 2013
    panic(cpu 6 caller 0xffffff8003e44078): "zalloc: \"ipc ports\" (24378039 elements) retry fail 3, kfree_nop_count: 0"@/SourceCache/xnu/xnu-2050.24.15/osfmk/kern/zalloc.c:1826
    Backtrace (CPU 6), Frame : Return Address
    0xffffff81d48f3d60 : 0xffffff8003e1d626
    0xffffff81d48f3dd0 : 0xffffff8003e44078
    0xffffff81d48f3eb0 : 0xffffff8003e13dcb
    0xffffff81d48f3f10 : 0xffffff8003e14e12
    0xffffff81d48f3f50 : 0xffffff8003e22acc
    0xffffff81d48f3f70 : 0xffffff8003ea6536
    0xffffff81d48f3fb0 : 0xffffff8003ece9e3
    BSD process name corresponding to current thread: httpd
    Mac OS version:
    12E55
    Kernel version:
    Darwin Kernel Version 12.4.0: Wed May  1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64
    Kernel UUID: 896CB1E3-AB79-3DF1-B595-549DFFDF3D36
    Kernel slide:     0x0000000003c00000
    Kernel text base: 0xffffff8003e00000
    System model name: MacPro5,1 (Mac-F221BEC8)
    System uptime in nanoseconds: 100774199676748
    vm objects:17414880
    vm object hash entri:2186880
    VM map entries:3022800
    pagetable anchors:1421312
    pv_list:6119424
    vm pages:295862760
    kalloc.64:4026368
    kalloc.128:4730880
    kalloc.256:5365760
    kalloc.512:1961984
    kalloc.1024:2105344
    kalloc.2048:1331200
    kalloc.4096:2658304
    kalloc.8192:3129344
    ipc ports:4290534864
    semaphores:1886281920
    threads:1930600
    uthreads:1143856
    vnodes:21401160
    namecache:8208960
    HFS node:26396128
    HFS fork:7200768
    cluster_write:4419360
    buf.4096:2551808
    buf.8192:97034240
    ubc_info zone:3929688
    pfrkentry:2338848
    vnode pager structur:2186880
    Kernel Stacks:3604480
    PageTables:74792960
    Kalloc.Large:20237339
    Backtrace suspected of leaking: (outstanding bytes: 690624)
    0xffffff8003e43d29
    0xffffff8003e15769
    0xffffff8003e339c3
    0xffffff8003e566bc
    0xffffff8003e20b3d
    0xffffff8003e10448
    0xffffff8003e1961b
    0xffffff8003ea6536
    last loaded kext at 167506238195: com.apple.filesystems.smbfs          1.8.4 (addr 0xffffff7f86078000, size 229376)
    last unloaded kext at 125891310058: com.apple.driver.AppleIntel8254XEthernet          3.1.1b1 (addr 0xffffff7f84982000, size 69632)
    loaded kexts:
    com.apple.filesystems.smbfs          1.8.4
    com.apple.driver.AudioAUUC          1.60
    com.apple.driver.AppleHWSensor          1.9.5d0
    com.apple.filesystems.autofs          3.0
    com.apple.iokit.IOBluetoothSerialManager          4.1.4f2
    com.apple.driver.AppleTyMCEDriver          1.0.2d2
    com.apple.driver.AGPM          100.12.87
    com.apple.driver.AppleMikeyHIDDriver          122
    com.apple.driver.AppleHDA          2.3.7fc4
    com.apple.driver.AppleUSBDisplays          357
    com.apple.driver.AppleUpstreamUserClient          3.5.10
    com.apple.driver.AppleMCCSControl          1.1.11
    com.apple.kext.AMDFramebuffer          8.1.2
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.driver.AppleMikeyDriver          2.3.7fc4
    com.apple.AMDRadeonAccelerator          1.0.8
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport          4.1.4f2
    com.apple.driver.ApplePolicyControl          3.4.5
    com.apple.driver.AppleLPC          1.6.0
    com.apple.driver.ACPI_SMC_PlatformPlugin          1.0.0
    com.apple.driver.AppleRAID          4.0.6
    com.apple.driver.XsanFilter          404
    com.apple.iokit.IOAHCIBlockStorage          2.3.1
    com.apple.driver.Oxford_Semi          3.1.7
    com.apple.iokit.SCSITaskUserClient          3.5.5
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.BootCache          34
    com.apple.driver.AppleFWOHCI          4.9.6
    com.apple.driver.AppleUSBHub          5.5.5
    com.apple.driver.AirPort.Brcm4331          615.20.17
    com.apple.driver.Intel82574L          2.3.0b5
    com.apple.driver.AppleAHCIPort          2.5.2
    com.apple.driver.AppleUSBEHCI          5.5.0
    com.apple.driver.AppleUSBUHCI          5.2.5
    com.apple.driver.AppleEFINVRAM          1.7
    com.apple.driver.AppleRTC          1.5
    com.apple.driver.AppleHPET          1.8
    com.apple.driver.AppleACPIButtons          1.7
    com.apple.driver.AppleSMBIOS          1.9
    com.apple.driver.AppleACPIEC          1.7
    com.apple.driver.AppleAPIC          1.6
    com.apple.driver.AppleIntelCPUPowerManagementClient          196.0.0
    com.apple.nke.applicationfirewall          4.0.39
    com.apple.security.quarantine          2.1
    com.apple.driver.AppleIntelCPUPowerManagement          196.0.0
    com.apple.kext.triggers          1.0
    com.apple.iokit.IOSerialFamily          10.0.6
    com.apple.driver.DspFuncLib          2.3.7fc4
    com.apple.iokit.IOAudioFamily          1.8.9fc11
    com.apple.kext.OSvKernDSPLib          1.6
    com.apple.iokit.IOSurface          86.0.4
    com.apple.iokit.IOBluetoothFamily          4.1.4f2
    com.apple.iokit.IOAcceleratorFamily          74.5.1
    com.apple.driver.AppleSMBusController          1.0.11d0
    com.apple.driver.AppleSMBusPCI          1.0.11d0
    com.apple.iokit.AppleBluetoothHCIControllerUSBTransport          4.1.4f2
    com.apple.driver.AppleHDAController          2.3.7fc4
    com.apple.iokit.IOHDAFamily          2.3.7fc4
    com.apple.driver.AppleGraphicsControl          3.4.5
    com.apple.iokit.IONDRVSupport          2.3.7
    com.apple.kext.AMD5000Controller          8.1.2
    com.apple.kext.AMDSupport          8.1.2
    com.apple.iokit.IOGraphicsFamily          2.3.7
    com.apple.iokit.IOFireWireIP          2.2.5
    com.apple.driver.AppleSMC          3.1.4d2
    com.apple.driver.IOPlatformPluginLegacy          1.0.0
    com.apple.driver.IOPlatformPluginFamily          5.3.0d51
    com.apple.driver.AppleUSBHIDKeyboard          170.2
    com.apple.driver.AppleHIDKeyboard          170.2
    com.apple.driver.AppleUSBMergeNub          5.5.5
    com.apple.iokit.IOSCSIReducedBlockCommandsDevice          3.5.5
    com.apple.driver.AppleUSBHIDMouse          175.8
    com.apple.iokit.IOUSBHIDDriver          5.2.5
    com.apple.driver.AppleHIDMouse          175.8
    com.apple.driver.AppleUSBComposite          5.2.5
    com.apple.iokit.IOSCSIBlockCommandsDevice          3.5.5
    com.apple.iokit.IOFireWireSerialBusProtocolTransport          2.1.1
    com.apple.iokit.IOFireWireSBP2          4.2.2
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          3.5.5
    com.apple.iokit.IOBDStorageFamily          1.7
    com.apple.iokit.IODVDStorageFamily          1.7.1
    com.apple.iokit.IOCDStorageFamily          1.7.1
    com.apple.iokit.IOAHCISerialATAPI          2.5.1
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.5.5
    com.apple.iokit.IOFireWireFamily          4.5.5
    com.apple.iokit.IOUSBUserClient          5.5.5
    com.apple.iokit.IO80211Family          530.4
    com.apple.iokit.IONetworkingFamily          3.0
    com.apple.iokit.IOAHCIFamily          2.3.1
    com.apple.iokit.IOUSBFamily          5.6.0
    com.apple.driver.AppleEFIRuntime          1.7
    com.apple.iokit.IOHIDFamily          1.8.1
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.sandbox          220.3
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.security.TMSafetyNet          7
    com.apple.driver.DiskImages          345
    com.apple.iokit.IOStorageFamily          1.8
    com.apple.driver.AppleKeyStore          28.21
    com.apple.driver.AppleACPIPlatform          1.7
    com.apple.iokit.IOPCIFamily          2.7.3
    com.apple.iokit.IOACPIFamily          1.4
    com.apple.kec.corecrypto          1.0
    Model: MacPro5,1, BootROM MP51.007F.B03, 4 processors, Quad-Core Intel Xeon, 3.2 GHz, 16 GB, SMC 1.39f11
    Graphics: ATI Radeon HD 5770, ATI Radeon HD 5770, PCIe, 1024 MB
    Memory Module: DIMM 1, 4 GB, DDR3 ECC, 1066 MHz, 0x802C, 0x31384A53463531323732415A2D3147344431
    Memory Module: DIMM 2, 4 GB, DDR3 ECC, 1066 MHz, 0x802C, 0x31384A53463531323732415A2D3147344431
    Memory Module: DIMM 3, 4 GB, DDR3 ECC, 1066 MHz, 0x802C, 0x31384A53463531323732415A2D3147344431
    Memory Module: DIMM 4, 4 GB, DDR3 ECC, 1066 MHz, 0x802C, 0x31384A53463531323732415A2D3147344431
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8E), Broadcom BCM43xx 1.0 (5.106.98.100.17)
    Bluetooth: Version 4.1.4f2 12041, 2 service, 11 devices, 1 incoming serial ports
    Network Service: Ethernet 1, Ethernet, en0
    PCI Card: ATI Radeon HD 5770, sppci_displaycontroller, Slot-1
    Serial ATA Device: HL-DT-ST DVD-RW GH61N
    Serial ATA Device: WDC WD1001FALS-41Y6A1, 1 TB
    Serial ATA Device: Hitachi HDS722020ALA330, 2 TB
    Serial ATA Device: Hitachi HDS722020ALA330, 2 TB
    USB Device: hub_device, apple_vendor_id, 0x9130, 0xfa200000 / 2
    USB Device: Apple Optical USB Mouse, apple_vendor_id, 0x0304, 0xfa210000 / 5
    USB Device: Keyboard Hub, apple_vendor_id, 0x1006, 0xfa230000 / 4
    USB Device: Apple Keyboard, apple_vendor_id, 0x024f, 0xfa232000 / 6
    USB Device: Apple Cinema Display, apple_vendor_id, 0x9222, 0xfa220000 / 3
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x5a100000 / 2
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0x5a110000 / 3
    USB Device: TRIPP LITE UPS, 0x09ae  (Tripp Lite), 0x2007, 0x3d100000 / 2
    FireWire Device: unknown_device, OWC Mercury Elite-AL Pro RAID, 800mbit_speed
    FireWire Device: built-in_hub, 800mbit_speed
    FireWire Device: OXFORD IDE Device, KANO TECH, 800mbit_speed

  • Amavis is logging error messages every 10 seconds

    Hello,
    I noticed today that amavisd started to report error messages to the console log every 10 seconds as follows:
    4/13/10 9:25:26 AM org.amavis.amavisd[617] Can't send SIG 0 to process [62]: Operation not permitted at /usr/bin/amavisd line 11203.
    4/13/10 9:25:26 AM com.apple.launchd[1] (org.amavis.amavisd[617]) Exited with exit code: 1
    4/13/10 9:25:26 AM com.apple.launchd[1] (org.amavis.amavisd[617]) Exited with exit code: 1
    4/13/10 9:25:26 AM com.apple.launchd[1] (org.amavis.amavisd) Throttling respawn: Will start in 10 seconds
    This block of messages repeats itself every 10 seconds.
    This began after I restarted the server after it apparantly crashed last night. Otherwise, there were no changes to the system.
    Running Leopard Server 10.5.8 on an intel mac mini.
    I am wondering how to stop this?

    Found the following blog post at Geek Foibles which solved the problem:
    +AMAVISD NOT STARTING AFTER RESTARTING MAC OS X SERVER+
    +February 6, 2009, 4:31 am+
    +Filed under: Uncategorized | Tags: amavisd, bug, mac os x server, mail, spam filtering+
    +I had a recent spot of trouble with Mac OS X Server for a client who has mail services running. Due to a hardware issue I had to force off the server, but when I started it back up I noticed that while Postfix would accept mail from senders, it wouldn’t actually deliver it to the destination mailbox. Instead, I’d get this message in mail.log:+
    +postfix/error[7063]: 56118A83885: to=<[email protected]>, relay=none, delay=4776, delays=4776/0/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)+
    +The complaint that it wasn’t delivering mail due to an inability to connect to the local host suggested some sort of mail filter not running, of which there are two on Mac OS X Server: clamav (used for virus scanning) and amavisd (used for spam filtering). In my case it was easy to narrow it down, since clamav wasn’t enabled. I checked amavis.log and found that it hadn’t been updated since I’d restarted, so it seemed clear it wasn’t launching. By looking in system.log I could see launchd was trying to start it repeatedly since it was enabled in Server Admin, but it kept failing:+
    +Feb 5 23:59:36 hq org.amavis.amavisd[5404]: Can't send SIG 0 to process [68]: Operation not permitted at /usr/bin/amavisd line 11203.+
    +Feb 5 23:59:36 hq com.apple.launchd[1] (org.amavis.amavisd[5404]): Exited with exit code: 1+
    +Feb 5 23:59:36 hq com.apple.launchd[1] (org.amavis.amavisd): Throttling respawn: Will start in 10 seconds+
    +It was trying to kill process 68, which in my case was kadmind. This didn’t make sense since kadmind deals with Kerberos, something spam filtering has nothing to do with. Fortunately amavisd is a Perl script and it was giving me the line number, so I was able to open it and hunt down the offending code. I found that when amavisd starts, it looks to see if there’s already a PID file (located at /var/amavis/amavisd.pid), gets the PID out of that file and then tries to kill said PID. So, if another copy of amavisd is already running when you start it, it kills the old one so that they don’t conflict. Problem is, in my case the PID file was stale: it hadn’t been cleaned up after amavisd’s last run since I’d had to force off the system, and now the PID was in use by another, unrelated process that it doesn’t have permission to kill.+
    +amavisd does check to see if the PID file was created before the last system startup, which would allow it to ignore stale PID files, but it only does this after trying to kill the old process. This bug was fixed in December in version 2.6.2 of amavis, but unfortunately for Mac OS X Server users, Apple uses version 2.5.1 from May of 2007.+
    +Removing the stale PID file resolved the issue. Its removal allowed launchd’s next automatic attempt to start amavisd to succeed, then a few minutes later Postfix’s mail queue manager started being able to deliver all the mail queued during the downtime to the appropriate mailboxes.+

  • How can I do certain things once per second?

    I need to perform things that would take more than 1 second.
    And they need to be repeated each second.
    How can I make them happen in a precise time schedule?
    Solved!
    Go to Solution.

    A timed loop is one option, but on Windows not the best. Well, to be precise: Windows itself is no good choice if you require determinism.
    I would rather go for a normal while loop with a "Wait Until Next Multiple (ms)" wait function configured for 1000 ms. Depending on the code in the loop, you would probable "miss" iterations though....(which is also true for timed loops)
    Norbert 
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Arch logging errors (/var/logs)

    i got two problems i'd like to solve maybe their cause is the same.
    first: is global arch logging. that's my ls -l of /var/log/
    -rw-r--r-- 1 root root      0   Apr 21 11:27 acpid.log
    -rw-r--r-- 1 root root      0   Apr  7 22:13 acpid.log.1
    -rw-r--r-- 1 root root      0   Apr 21 11:27 auth.log
    -rw-r--r-- 1 root root      0   Apr  7 22:14 auth.log.1
    -rw-r--r-- 1 root root   1092 Nov  7 02:52 boot
    -rw------- 1 root root   1152 Mar 17 08:06 btmp
    drwxr-xr-x 2 root root     72 Nov  7 16:56 ConsoleKit
    -rw-r--r-- 1 root root      0    Apr  7 22:14 crond
    -rw-r--r-- 1 root root      0    Apr 21 11:27 daemon.log
    -rw-r--r-- 1 root root      0    Apr  7 22:18 daemon.log.1
    -rw-r--r-- 1 root root  39494 Apr 22 13:18 dmesg.log
    -rw-r--r-- 1 root root      0    Apr 21 11:27 errors.log
    -rw-r--r-- 1 root root      0    Apr  7 22:18 errors.log.1
    -rw-r--r-- 1 root root      0    Apr 21 11:27 everything.log
    -rw-r--r-- 1 root root      0    Apr  7 22:18 everything.log.1
    -rw------- 1 root root  32032 Apr 22 12:03 faillog
    drwxrwx--T 2 root gdm    1392 Apr 22 13:18 gdm
    drwxr-xr-x 2 root root    368 Apr 21 11:27 httpd
    -rw-r--r-- 1 root root      0 Apr 21 11:27 kernel.log
    -rw-r--r-- 1 root root      0 Apr  7 22:19 kernel.log.1
    -rw-r--r-- 1 root root 292292 Apr 22 12:03 lastlog
    -rw-r--r-- 1 root root      0 Apr 21 11:27 messages.log
    -rw-r--r-- 1 root root      0 Apr  7 22:19 messages.log.1
    drwxr-xr-x 2 root root     48 Feb 26 06:56 old
    -rw-r--r-- 1 root root 151881 Apr 22 13:42 pacman.log
    -rw-r--r-- 1 root root     86 Apr 22 13:18 pm-powersave.log
    -rw-r--r-- 1 root root   6049 Apr 20 10:21 pm-suspend.log
    -rw-r--r-- 1 root root      0 Apr 21 11:27 syslog.log
    -rw-r--r-- 1 root root      0 Apr  7 22:19 syslog.log.1
    -rw-r--r-- 1 root root      0 Apr 21 11:27 user.log
    -rw-r--r-- 1 root root      0 Apr  7 22:19 user.log.1
    -rw-rw-r-- 1 root root 407424 Apr 22 13:29 wtmp
    -rw-rw-r-- 1 root root 415488 Apr  7 18:36 wtmp.1
    -rw-r--r-- 1 root root  13947 Apr 22 13:18 Xorg.0.log
    -rw-r--r-- 1 root root  14486 Apr 22 13:17 Xorg.0.log.old
    all files, that have dublicate name with .1 at the end, are always empty and as time goes by files with the same name but with .2, .3, .4 appear but also empty. It looks like arch is trying to create logs but something goes wrong and nothing is logged.
    second: i got errors from cron if i do run-cron /etc/cron.daily/ related to log files:
    sudo run-cron /etc/cron.daily/
    error: syslog-ng:1 duplicate log entry for /var/log/crond.log
    error: found error in /var/log/messages.log /var/log/auth.log /var/log/mail.log /var/log/kernel.log /var/log/errors.log /var/log/daemon.log /var/log/user.log /var/log/iptables.log /var/log/everything.log /var/log/syslog.log /var/log/acpid.log /var/log/crond.log /var/log/lpr.log /var/log/uucp.log /var/log/news.log /var/log/ppp.log /var/log/debug.log , skipping
    looks like the files r corrupted or something. please help find out the reasons and fix things up.

    I think it has to do with the group log having write permissions...
    # ls -l /var/log/
    total 8240
    drwxr-xr-x 2 root root 4096 Mar 31 01:38 ConsoleKit/
    drwxr-xr-x 2 root root 4096 Apr 4 03:52 httpd/
    drwxr-xr-x 2 http http 4096 Apr 18 03:45 lighttpd/
    drwxr-xr-x 2 root root 4096 Feb 25 23:56 old/
    -rw-r----- 1 root log 29283 Apr 22 11:05 auth.log
    -rw-r----- 1 root log 71395 Apr 18 03:26 auth.log.1
    -rw-r----- 1 root log 62225 Apr 11 03:17 auth.log.2
    -rw-r----- 1 root log 121945 Apr 4 03:41 auth.log.3
    -rw------- 1 root root 0 Mar 29 02:00 btmp
    -rw-r----- 1 root log 6622 Apr 22 09:17 crond.log
    -rw-r----- 1 root log 10756 Apr 18 03:45 crond.log.1
    -rw-r----- 1 root log 10340 Apr 11 03:45 crond.log.2
    -rw-r----- 1 root log 8809 Apr 4 03:45 crond.log.3
    -rw-r----- 1 root log 63451 Apr 22 11:01 daemon.log
    -rw-r----- 1 root log 101060 Apr 18 03:42 daemon.log.1
    -rw-r----- 1 root log 103755 Apr 11 03:37 daemon.log.2
    -rw-r----- 1 root log 72875 Apr 4 03:36 daemon.log.3
    -rw-r--r-- 1 root root 32631 Apr 19 03:27 dmesg.log
    -rw-r----- 1 root log 2881 Apr 21 23:22 errors.log
    -rw-r----- 1 root log 162980 Apr 17 09:55 errors.log.1
    -rw-r----- 1 root log 30491 Apr 9 21:54 errors.log.2
    -rw-r----- 1 root log 31213 Apr 3 18:38 errors.log.3
    -rw-r----- 1 root log 276636 Apr 22 11:01 everything.log
    -rw-r----- 1 root log 1196453 Apr 18 03:45 everything.log.1
    -rw-r----- 1 root log 374844 Apr 11 03:45 everything.log.2
    -rw-r----- 1 root log 610588 Apr 4 03:45 everything.log.3
    -rw------- 1 root root 24144 Apr 22 10:25 faillog
    -rw-r----- 1 root log 185643 Apr 22 10:25 kernel.log
    -rw-r----- 1 root log 1051728 Apr 18 02:02 kernel.log.1
    -rw-r----- 1 root log 250567 Apr 11 03:27 kernel.log.2
    -rw-r----- 1 root log 521352 Apr 3 18:38 kernel.log.3
    -rw-r--r-- 1 root root 293752 Apr 22 10:25 lastlog
    -rw-r----- 1 root log 229278 Apr 22 11:01 messages.log
    -rw-r----- 1 root log 959109 Apr 18 03:42 messages.log.1
    -rw-r----- 1 root log 309842 Apr 11 03:37 messages.log.2
    -rw-r----- 1 root log 489801 Apr 4 03:36 messages.log.3
    -rw-r--r-- 1 root root 77695 Apr 22 10:42 pacman.log
    -rw-r--r-- 1 root root 86 Apr 19 13:23 pm-powersave.log
    -rw-r----- 1 root log 825 Apr 19 03:27 syslog.log
    -rw-r----- 1 root log 1387 Apr 15 15:39 syslog.log.1
    -rw-r----- 1 root log 738 Apr 9 11:36 syslog.log.2
    -rw-r----- 1 root log 1600 Mar 31 00:02 syslog.log.3
    -rw-r----- 1 root log 16287 Apr 22 10:15 user.log
    -rw-r----- 1 root log 24546 Apr 17 03:45 user.log.1
    -rw-r----- 1 root log 626 Apr 11 03:27 user.log.2
    -rw-r----- 1 root log 416 Mar 30 04:12 user.log.3
    -rw-r----- 1 root log 6622 Apr 22 09:17 uucp.log
    -rw-r----- 1 root log 10756 Apr 18 03:45 uucp.log.1
    -rw-r----- 1 root log 10340 Apr 11 03:45 uucp.log.2
    -rw-r----- 1 root log 8809 Apr 4 03:45 uucp.log.3
    -rw-rw-r-- 1 root root 471552 Apr 22 10:25 wtmp
    -rw-r--r-- 1 root root 150528 Apr 1 03:21 wtmp.1
    -rw-r--r-- 1 root wheel 16308 Apr 22 10:25 Xorg.0.log
    -rw-r--r-- 1 root users 23624 Apr 22 10:25 Xorg.0.log.old
    Did you chown -R root:root /var/log on Apr 7?

  • Errors.log took over /var partition estate

    I have 2GB /var partition with reiserfs filesystem, but it get full after 24 hours and the culprit is errors.log
    errors.log
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    May 25 08:32:39 Kandalf-ArchLinux NOHZ: local_softirq_pending 08
    so on and on... I had to dump this log every now and then to be able to boot into desktop enviroment.
    and another issues i have, my processor is running at wrong cpu freq.
    processor : 0
    vendor_id : GenuineIntel
    cpu family : 6
    model : 15
    model name : Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
    stepping : 6
    cpu MHz : 900.000
    cache size : 4096 KB
    physical id : 0
    siblings : 2
    core id : 0
    cpu cores : 2
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 10
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
    bogomips : 4900.57
    clflush size : 64
    processor : 1
    vendor_id : GenuineIntel
    cpu family : 6
    model : 15
    model name : Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
    stepping : 6
    cpu MHz : 900.000
    cache size : 4096 KB
    physical id : 0
    siblings : 2
    core id : 1
    cpu cores : 2
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 10
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
    bogomips : 4897.20
    clflush size : 64
    How do i set it at max 2.4Ghz?
    Last edited by firestrife (2007-05-25 16:06:06)

    I had the same thing going on (full /var after a day).
    Google told me to append nohz=off to my kernel line in /boot/grub/menu.lst
    Since then there are no more errors in the log-files. Could be a bug in the kernel and/or ndiswrapper (or somehow related)
    Last edited by n8schicht (2007-06-07 10:26:22)

  • Error Log Location

    Hello Community,
    Earlier this week, a support ticket was opened for a NetWeaver WebAS ABAP instance having trouble printing.  I found the root cause; it was an inaccurate profile parameter (rspo/host_spool/print).
    Tracking down the problem was a bit cumbersome....  Not only did the output request properly generate, but the print event finished successfully (albeit no printing took place).  I couldn't find any log files from the WebAS that indicated that an external command was failing to execute.
    Where would a log for an invalid shell/OS command be found? Was there a more efficient way to solve this problem?
    1.) Print from SAP (db02 -> users -> print -> sp01 -> print directly)
        --> print successful, but nothing printed
    2.) Print from the OS as <sid>adm (lp -d device file.txt)
        --> print successful
    3.) Checked output device in SPAD
        --> everything looks kosher
    4.) Checked for entries in  /var/spool/lp/logs/requests
        --> only requests from OS print requests recorded
    5.) Scratched my head for a bit
    6.) Checked profile parameter "rspo/host_spool/print"
        --> facepalm
    Regards,
    Zach Shay

    Orkun,
    Thank you for the reply.  In this particular instance, the print command was trying to run a script that did not exist.
    In case you are not familiar with *nix environments, here is a little background.  When a command is successfully executed from a shell, it typically returns "0."  If there is an error, the return value is typically non-zero.
    [root@xxx ~]$ doesNotExist.sh
    doesNotExist.sh: Command not found.
    [root@xxx ~]$ echo "$?"
    1
    [root@xxx ~]$ echo "$?"
    0
    doesNotExist.sh doesn't exist, so an error message is printed, and 1 is returned.  $? is a shell variable for the current return code.  Since printing the current return code succeeded, echo returned 0 (as demonstrated by the second echo command).
    Does WebAS ABAP have the ability to recognize when an OS command returns non-zero?  If so, where would this be logged?
    Thank you,
    Zach

  • IPv6 log error messages

    I recently did an upgrade with pacman (the updates included a new kernel so I'm guessing that has something to do with my issue). Since then I've had this error appear at least 43759 times in my /var/log/errors.log files:
    localhost NetworkManager[809]: <error> [1322431974.973396] [nm-system.c:1061] nm_system_replace_default_ip6_route(): (eth0): failed to set IPv6 default route: -1
    Has anyone else been getting this error? It's filled all my log rotations and I suspect it's causing some other issues as well.
    Thanks,
    Jon

    Please see show mod below. The only thing similar is the CSM card in slot 8
    show module
    Mod Ports Card Type Model Serial No.
    1 2 Catalyst 6000 supervisor 2 (Active) WS-X6K-SUP2-2GE SAL0652AXRJ
    3 16 SFM-capable 16 port 1000mb GBIC WS-X6516-GBIC SAL0652ALHJ
    4 16 SFM-capable 16 port 1000mb GBIC WS-X6516-GBIC SAL0652AJZT
    6 16 SFM-capable 16 port 1000mb GBIC WS-X6516-GBIC SAL0723EMDG
    8 0 SLB Application Processor Complex WS-X6066-SLB-APC SAD075004W3
    10 6 Firewall Module WS-SVC-FWM-1 SAD080801A7
    11 48 SFM-capable 48 port 10/100/1000mb RJ45 WS-X6548-GE-TX SAD0750060X
    12 16 SFM-capable 16 port 10/100/1000mb RJ45 WS-X6516-GE-TX SAL0717CD2U
    13 16 SFM-capable 16 port 10/100/1000mb RJ45 WS-X6516-GE-TX SAL0716C3LN
    Mod MAC addresses Hw Fw Sw Status
    1 0009.1245.3010 to 0009.1245.3011 3.11 7.1(1) 12.2(17d)SXB Ok
    3 0009.11f1.c200 to 0009.11f1.c20f 5.3 6.3(1) 8.3(0.110)BO Ok
    4 0005.7487.6458 to 0005.7487.6467 5.3 6.3(1) 8.3(0.110)BO Ok
    6 000d.2907.9a20 to 000d.2907.9a2f 5.5 6.3(1) 8.3(0.110)BO Ok
    8 0002.fcc1.813c to 0002.fcc1.8143 1.7 4.1(2) Ok
    10 000e.847f.a1a0 to 000e.847f.a1a7 3.0 7.2(1) 2.2(1) Ok
    11 000e.83cf.70c0 to 000e.83cf.70ef 7.0 7.2(1) 8.3(0.110)BO Ok
    12 000c.ce3e.81e8 to 000c.ce3e.81f7 2.5 6.3(1) 8.3(0.110)BO Ok
    13 000b.5ff9.afd8 to 000b.5ff9.afe7 2.5 6.3(1) 8.3(0.110)BO Ok
    Mod Sub-Module Model Serial Hw Status
    1 Policy Feature Card 2 WS-F6K-PFC2 SAL0652ASZD 3.3 Ok
    1 Cat6k MSFC 2 daughterboard WS-F6K-MSFC2 SAL06499JMP 2.5 Ok
    11 Cisco Voice Daughter Card WS-F6K-VPWR-GE SAD074801PV 1.0 Ok

  • Write SharePoint Custom Error logs into physical location

    Hi
       I need to programmatically write a custom error logs using SPDiagnosticsService class into my custom physcial location.
       But when i use SPDiagnosticsService it will write error logs into 15hive\logs folder instead i want to write into my physical location(say C:\Logs\Error.log)
       How to achieve this?
    Regards,
    Siva

    Hi,
    SPDiagnosticsService has a property 'loglocation' and it only points to one location. I reckon, you can not use one location for SharePoint log, another one for custom log - if you use SPDiagnosticsService. What I do for my SharePoint projects is, create
    a custom logger, which wrap the SPDiagnosticsService inside. Then My Logger class write the log into some custom location (configurable through web.config or by other means) as well as pass it to SPDiagnosticsService. Having a custom log file for custom solution
    helps to find problem very quickly and easily - which would be difficult if you would need to go through large log files. So I can suggest, write a custom logger, wrap SPDiagnosticsService  inside the cutom logger. Then on every Log Event, write in your
    cusotm file and if you want you can pass the event to SPDiagnosticsService  also.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • CO Pulse Frequency doesn't actually generate 1 Pulse per Second?

    Hello all,
    I have a VI layed out in the attachment below.  I seem to have a lack of understanding on how to program this VI here.  I just don't understand what is possibly going wrong.
    The VI is very basic.  The frequency has been set to 1, and the units are Hertz.  To me, this means that the program should send one pulse to my linear actuator ONCE per second.  I have a simple pulse counter set up in the VI as well to count how many pulses are actually being sent (using the DAQ assistant).  Why is it that when I run the program, I get around 300 pulses per second?  Raising the value makes it goes slightly faster, but lowering the value doesn't really make it go any slower.  There seems to be no real correlation between the input frequency and the actual number of pulses that are sent.
    I just simply want a program that I can input "1 pulse per second" or however many pulses I want per second and have the card send ONE pulse per second (or however many is input).  Where do I start?  I have a whole program written out and ready to go, but this basic concept here completely eludes me. 
    Thanks,
    James
    Attached:  1) Picture of concept that I'm completely baffled about  2) VI of my program which said concept is being used in
    Solved!
    Go to Solution.
    Attachments:
    Voltage vs Distance SM v1.1.vi ‏475 KB
    COPulseFreq.jpg ‏75 KB

    In the simple image, you are running a loop as fast as possible (there's no timing mechanism).  Inside that loop, you configure the pulse task, start it, then immediately stop and clear it.  You need to create the channel and configure the timing outside the while loop, before it starts, and you need to clear the task outside the loop as well, after the while loop terminates.  Depending on what you want to do, you may be able to move the task start outside the loop as well, or just let the task auto-start.
    You'll need to restructure your VI a bit.  I can't tell if you want to clear the task after each step, or just change the frequency.  If it's just the frequency, you can use DAQmx Write to change it; if you need to start and stop the task, you'll need some logic to do that once each time you want to restart (you may get an error if you start a task that's already running).  There's no need for "Is Task Done?" since you're not using the output for anything.
    EDIT: Also, it is always a good idea to put a wait inside loops that execute indefinitely.  Otherwise they will spin as fast as possible, consuming all available processor time and preventing other code from running.  If you configure your counter task properly the loop timing won't affect the pulse rate (because that's done in hardware) but there's no need to run the loop that fast.

  • Error message in Bridge CS6 -- how to fix?

    I'm getting an error message in Bridge CS6.
    I'm trying to create a Journal with Filmstrip with 42 items.  The creation process stops after several photos -- 32 last time -- and I get an error messgae saying "Gallery creation stopped because of unknown error - sorry." 
    Any idea how to troubleshoot this?

    While having very less experience with Web Gallery I used Bridge CC (same output module as CS6) to create one with 42 files in a journal with filmstrip without problems
    The preview only is capable of showing 20 max but saving the file to my drive I had no problem viewing it in my browser with all 42 files.
    I have a Mac with OSX 10.8 and Bridge CC
    Can you provide more details about your set up?
    Did it work before?
    Are all the files able t pen and view in PS, are they not to big, what file type and size are you using?

  • Errors in /var/log/alf.log?

    When I look in /var/log/alf.log all I see is entries like this:
    SecCodeCreateWithPID error:: No such process
    What does it mean?
    socketfilterfw shows up in the Activity Monitor, so it appears that Apple's application firewall is not completely dead. How would I best test whether it is functioning properly?
    Glenn

    1) lxdm is in /usr/sbin
    [dean@PsyMadness ~]$ which lxdm
    /usr/sbin/lxdm
    2) AFAIK lxdm does not use .xinitrc
    edit: Maybe you are trying to run /usr/bin/lxdm (which doesn't exist) in inittab and the correct one in DAEMONS in rc.conf
    Last edited by Terminator (2012-05-30 09:05:54)

Maybe you are looking for

  • Need suggestion in BENEFITS for a STD Plan

    My client has STD plan with standard 60% and 100% coverage, But the no. of weeks employee gets 100% coverage depends on employee's years of service. And the cost is 1.45 per $1000 of coverage....max 12,000 Ex:   <u>Years of Service</u>         -     

  • After a reboot my iPhone 6 Plus now has someone else's Apple ID as the login??? I bought the phone 3 months ago brand new!

    The title says it all. Some background info: 1. I purchased the iPhone 6 Plus new in the box at Target on January 10 2015.  The phone has only ever been mine, and it was not a refurbished device. 2. Absolutely no one else has access to my PC or iTune

  • Port forwarding difficult to set up, or doesn't wo...

    Hello, I have a BT Home Hub 5 and needed to forward the ports for a couple of programs i use. Terefore i went  on 192.168.254 to set up the forwarding of the ports. Before that set up a static Ip in the router in the classic way (cmd - ipconfig all -

  • Horizontal video tearing in xfce and ion graphics (nvidia)

    Hello all, I have arch + xfce running no problems, but there is significant horizontal video tearing when I play videos (in vlc or firefox/flash). I have already enabled 'Sync to VBlank' within the nvidia-utils control panel. I think the problem aris

  • SWTOR .exe icon does not show correctly

    right after updating to 16.0.2 the .exe launcher icon for Star Wars The Old Republic changed from the default swtor icon to the generic 'windows page' icon. this is the exe launcher icon on my win 7 x64 task bar and in the start menu. removed both ic