Syslogd -u not writing network messages to log file

i'm trying to get remote logging of airport bs debug level log message to work.
the airport bs it's doing it's part according to tcpdump:
# tcpdump -i en1 port syslog
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on en1, link-type EN10MB (Ethernet), capture size 96 bytes
11:56:39.332886 IP 10.0.1.1.syslog > 10.0.1.198.syslog: SYSLOG local0.notice, length: 71
12:01:10.037655 IP 10.0.1.1.syslog > 10.0.1.198.syslog: SYSLOG local0.notice, length: 71
12:07:57.786033 IP 10.0.1.1.syslog > 10.0.1.198.syslog: SYSLOG local0.debug, length: 100
etc...
config looks appropriate in /etc/syslog.conf:
local0.* /var/log/appfirewall.log
and the log file exists.
the syslog launchctl file says:
<string>/usr/sbin/syslogd</string>
<string>-u</string>
<string>-c 7</string>
and ps confirms that the options are working:
/usr/sbin/syslogd -u -c 7
but the log messages i see arriving from the bs aren't being written to the log file and don't see a network socket for the udp receiver in the netstat -a output.
i suspect that syslogd configuration may have been moved out of /etc and the airport help topics haven't been updated to reflect the new methods.
any ideas or pointers?

i found the answer. there's a section at the end of /System/Library/LaunchDaemons/com.apple.syslogd.plist that needs uncommenting to enable the udp listener.

Similar Messages

  • SQLScript , writing messages to log file

    Hi,
    We're developing SQLScript and executing them directly on Unix via Unix command HDBSQL. We use the -o keyword with HDBSQL to write messages like comments, custom errors into a log file. The only way we know how to force custom messages into the log file is the SELECT "Text" FROM DUMMY.
    Now our SQL consists of multiple procedures that may be called in a nested fashion i.e Proc 1 calls Proc 2 which in turn calls Proc 3. We noticed that the SELECT FROM DUMMY way of writing comments into the log only works if the procedure is the first procedure in the line of nested calls(Proc 1). SELECT FROM DUMMY from a  sub/nested procedure does not make it to the log file.
    Is there any other way we can achieve this? Other DBs have options like DBMS.output which work well in such scenarios.
    I would like to thank this group for being ever so helpful in all the issues we have faced so far.
    Regards,
    Nehal

    Hello,
    I do not agree. have you taken a look at Oracle9i Supplied PL/SQL Packages and Types Reference?
    You can use UTL_FILE and DBMS_OUTPUT to achieve exactly what you want.
    Rgds
    Fidel

  • RAISEERROR not shown in Agent Job Log File Viewer

    I use a RAISEERROR for a critical error in a CATCH. When the Job is run, it does fail but it gives the following message. How do i get my @Note to show in the Log File Viewer? Also, where is the log referenced 'WITH LOG'. I looked at the SQL Server Agent
    Log and did not see anything.
    Message
    Executed as user: NT AUTHORITY\SYSTEM. TCP Provider: The specified network name is no longer available. [SQLSTATE 08S01] (Error 64)  Communication link failure [SQLSTATE 08S01] (Error 64).  The step failed.
    DECLARE @Note VARCHAR(500) = 'RAISEERROR due to Critical error'
    RAISERROR (@Note, 20, 127) WITH LOG

    It says Target Local Server. I scripted out the job and proc and ran them on another SQL Server 2008 R2 and I got the expected results. Maybe the test SQL Server 2008 R2 environment I am using has some quirks (for lack of a more technical term)
    @VERSION on SQL Server where I get the  [SQLSTATE 08S01] (Error 64)
    Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (Intel X86)   Apr  2 2010 15:53:02   Copyright (c) Microsoft Corporation  Standard Edition on Windows NT 5.2 <X86> (Build 3790: Service Pack 2) (Hypervisor)
    @VERSION on SQL Server where I get expected results
    Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (Intel X86)   Apr  2 2010 15:53:02   Copyright (c) Microsoft Corporation  Developer Edition on Windows NT 6.0 <X86> (Build 6002: Service Pack 2) (Hypervisor)
    BELOW are the scripted out job and proc that I have been using to test the RAISERROR 
    -- scripted out job
    USE [msdb]
    GO
    /****** Object: Job [AATEST] Script Date: 12/15/2013 16:15:09 ******/
    IF EXISTS (SELECT job_id FROM msdb.dbo.sysjobs_view WHERE name = N'AATEST')
    EXEC msdb.dbo.sp_delete_job @job_id=N'2dd36995-fde6-491c-b4e2-85e8bdea6411', @delete_unused_schedule=1
    GO
    USE [msdb]
    GO
    /****** Object: Job [AATEST] Script Date: 12/15/2013 16:15:09 ******/
    BEGIN TRANSACTION
    DECLARE @ReturnCode INT
    SELECT @ReturnCode = 0
    /****** Object: JobCategory [[Uncategorized (Local)]]] Script Date: 12/15/2013 16:15:09 ******/
    IF NOT EXISTS (SELECT name FROM msdb.dbo.syscategories WHERE name=N'[Uncategorized (Local)]' AND category_class=1)
    BEGIN
    EXEC @ReturnCode = msdb.dbo.sp_add_category @class=N'JOB', @type=N'LOCAL', @name=N'[Uncategorized (Local)]'
    IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
    END
    DECLARE @jobId BINARY(16)
    EXEC @ReturnCode = msdb.dbo.sp_add_job @job_name=N'AATEST',
    @enabled=1,
    @notify_level_eventlog=0,
    @notify_level_email=0,
    @notify_level_netsend=0,
    @notify_level_page=0,
    @delete_level=0,
    @description=N'No description available.',
    @category_name=N'[Uncategorized (Local)]',
    @owner_login_name=N'FNXXX\eME', @job_id = @jobId OUTPUT
    IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
    /****** Object: Step [STEP1] Script Date: 12/15/2013 16:15:09 ******/
    EXEC @ReturnCode = msdb.dbo.sp_add_jobstep @job_id=@jobId, @step_name=N'STEP1',
    @step_id=1,
    @cmdexec_success_code=0,
    @on_success_action=1,
    @on_success_step_id=0,
    @on_fail_action=2,
    @on_fail_step_id=0,
    @retry_attempts=0,
    @retry_interval=0,
    @os_run_priority=0, @subsystem=N'TSQL',
    @command=N'EXEC aap1test',
    @database_name=N'Store01',
    @flags=0
    IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
    EXEC @ReturnCode = msdb.dbo.sp_update_job @job_id = @jobId, @start_step_id = 1
    IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
    EXEC @ReturnCode = msdb.dbo.sp_add_jobserver @job_id = @jobId, @server_name = N'(local)'
    IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
    COMMIT TRANSACTION
    GOTO EndSave
    QuitWithRollback:
    IF (@@TRANCOUNT > 0) ROLLBACK TRANSACTION
    EndSave:
    GO
    -- scripted out proc
    USE [Store01]
    GO
    /****** Object: StoredProcedure [dbo].[aap1test] Script Date: 12/15/2013 16:17:19 ******/
    IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[aap1test]') AND type in (N'P', N'PC'))
    DROP PROCEDURE [dbo].[aap1test]
    GO
    USE [Store01]
    GO
    /****** Object: StoredProcedure [dbo].[aap1test] Script Date: 12/15/2013 16:17:19 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE PROCEDURE [dbo].[aap1test]
    AS
    BEGIN
    RAISERROR ('************ i am here', 20, 127) WITH LOG -- bxg
    END
    GO

  • Printing messages in Log File and Output File using Dbms_output.put_line

    Hi,
    I have a requirement of printing messages in log file and output file using dbms_output.put_line instead of fnd_file.put_line API.
    Please let me know how can I achieve this.
    I tried using a function to print messages and calling that function in my main package where ever there is fnd_file.put_line. But this approach is not required by the business.
    So let me know how I can achieve this functionality.
    Regards
    Sandy

    What is the requirement that doesn't allow you using fnd_file.put_line?
    Please see the following links.
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Dbms_output.put_line+AND+Log+AND+messages&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=%22dbms_output.put_line+%22+AND+concurrent&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • EP log type INFO not written to the portal.log file

    All the log.info (where log is of type PortalRuntime Logger) statements in my code are not written  to the portal.log file.
    I have configured the portal_logger to log ALL but it seems to log only the FATAL and WARNING messages and not the INFO ones.I am on EP6 SP2
    Thanks
    Sid

    Let me rephrase my question.
    In the portal logs configuration (Sys Adm - Monitoring - Logging Console - portal_logger ) if you select ALL, should it not log messages of all types ( ERROR WARNING INFO )? When I select ALL for the portal_logger the portal.log doesn't display the log messages of type INFO (only the once of type ERROR or WARNING).

  • Not able to add new log file to the 11g database.

    Hi DBA's
    I am not able to add the log file i am getting error while adding the database.
    SQL> alter database add logfile group 3 ('/oracle/DEV/db/apps_st/data/log03a.dbf','/oracle/DEV/db/apps_st/data/log03a.dbf') size 50m reuse;
    alter database add logfile group 3 ('/oracle/DEV/db/apps_st/data/log03a.dbf','/oracle/DEV/db/apps_st/data/log03a.dbf') size 50m reuse
    ERROR at line 1:
    ORA-01505: error in adding log files
    ORA-01577: cannot add log file '/oracle/DEV/db/apps_st/data/log03a.dbf' - file
    already part of database
    SQL> select a.group#, member, a.status from v$log a, v$logfile b where a.group# = b.group# order by 1;
    GROUP# MEMBER STATUS
    1 /oracle/DEV/db/apps_st/data/log01a.dbf ACTIVE
    1 /oracle/DEV/db/apps_st/data/log01b.dbf ACTIVE
    2 /oracle/DEV/db/apps_st/data/log02a.dbf CURRENT
    2 /oracle/DEV/db/apps_st/data/log02b.dbf CURRENT
    Kindly help me to add the new log file to my database.
    Thanks,
    SG

    Hi Sawwan,
    V$LOGMEMBER was written in the document,
    I query the log members as bellow
    1)select a.group#, member, a.status from v$log a, v$logfile b where a.group# = b.group# order by 1;
    GROUP# MEMBER STATUS
    1 /oracle/DEV/db/apps_st/data/log01a.dbf INACTIVE
    1 /oracle/DEV/db/apps_st/data/log01b.dbf INACTIVE
    2 /oracle/DEV/db/apps_st/data/log02a.dbf CURRENT
    2 /oracle/DEV/db/apps_st/data/log02b.dbf CURRENT
    2)SQL> select group#,member,status from v$logfile;
    GROUP# MEMBER STATUS
    2 /oracle/DEV/db/apps_st/data/log02a.dbf
    2 /oracle/DEV/db/apps_st/data/log02b.dbf
    1 /oracle/DEV/db/apps_st/data/log01a.dbf
    1 /oracle/DEV/db/apps_st/data/log01b.dbf
    But i am littile bit confused that there is no group or datafile called " Group 3 and log03a.dbf" as per the above query, how can i drop tease group and datafile.
    and i crossverified in the data top the files are exist or not but those are not existing. but still i am getting the same error that i can't create that already exist.
    can issue the bellow queris to drop those group which i dont think so it will exist?
    SQL>alter database drop logfile group 3;
    Thanks in advance.
    Regards,
    SG

  • Writing messages to log file from database procedures

    Folks,
    Is there a way by which I will be able to write messages from a database procedure to a log file? I would like to know what a procedure is doing and if it has failed or suceeded just as we do in a Unix shell script where we can direct messages to a file.
    e.g. echo 'step 34 completed' >> $X_LOG
    Is there a log file in Oracle where we can check if a procedure has failed and what was the error. I am using Oracle 9i.
    Thanks.

    Hello,
    I do not agree. have you taken a look at Oracle9i Supplied PL/SQL Packages and Types Reference?
    You can use UTL_FILE and DBMS_OUTPUT to achieve exactly what you want.
    Rgds
    Fidel

  • Pptp error messages in log-files.

    Hi!
    I've got internet connection from my provider via VPN. After configuring network (article  Microsoft VPN client setup with pptpclient) internet works, but many error messages appears in daemon.log and messages.log like that:
    Jan  2 17:21:40 localhost pptp[4510]: anon log[decaps_gre:pptp_gre.c:414]: buffering packet 1541962 (expecting 1541920, lost or reordered)
    Jan  2 17:21:40 localhost pptp[4510]: anon log[decaps_gre:pptp_gre.c:414]: buffering packet 1541963 (expecting 1541920, lost or reordered)
    Jan  2 17:21:40 localhost pptp[4510]: anon log[decaps_gre:pptp_gre.c:414]: buffering packet 1541964 (expecting 1541920, lost or reordered)
    Jan  2 17:21:40 localhost pptp[4510]: anon log[decaps_gre:pptp_gre.c:414]: buffering packet 1541965 (expecting 1541920, lost or reordered)
    Jan  2 17:21:40 localhost pptp[4510]: anon log[decaps_gre:pptp_gre.c:414]: buffering packet 1541966 (expecting 1541920, lost or reordered)
    Jan  2 17:21:40 localhost pptp[4510]: anon log[decaps_gre:pptp_gre.c:414]: buffering packet 1541967 (expecting 1541920, lost or reordered)
    After a few days this two log files are bigger then 2Gb. Could you please help me find out the reason of this messages?
    Best regards.

    Hi, Joerg. Welcome to the Discussions.
    1. re: Smart Crash Reports error. "Smart Crash Reports" is an Unsanity hack. Either you installed it or it was perhaps installed by another of their hacks you have installed. In either case, that's a question for Unsanity to answer.
    2. re: The SpeedTools extension you cited. Check their documentation or their Web site for instructions on uninstalling the extension. You may be able to start up in Safe Mode (which prevents third-party kernel extensions from loading), then drag it from the Macintosh HD > System > Library > Extensions folder to your desktop, then restart your Mac. However, I'd check the SpeedTools documentation first. See my "Uninstalling applications" FAQ for important advice on uninstalling software.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X
    Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Warning 11 message in log files

    I had Sun One Identity Synchronization for Windows working with AD. I removed the Message Queue when I upgrade another DS on the machine which broke the Idsync. I have reinstalled the packages for IMS3_0_1 that I removed. The Message Queue is starting and appears to be loading the correct data. However, when I do a /etc/init.d/isw start, the Idsync does not come up and I get the following error messages in isw watchdog error.log file:
    [07/Jan/2005:15:53:42.351 -0700] INFO 10 "Log opened. Identity Synchronization for Windows build 2004.100.1537. Java runtime version is 1.4.2_04."
    [07/Jan/2005:15:53:42.398 -0700] WARNING 11 m1ldap "The WatchDog failed to start process [Process Id [1105138422385] Name [CNN101] Execution Interval [60000] ]"
    [07/Jan/2005:15:53:42.401 -0700] WARNING 11 m1ldap "The WatchDog failed to start process [Process Id [1105138422388] Name [Central Logger] Execution Interval [60000] ]"
    [07/Jan/2005:15:53:42.410 -0700] WARNING 11 m1ldap "The WatchDog failed to start process [Process Id [1105138422387] Name [System Manager] Execution Interval [60000] ]"
    [07/Jan/2005:15:53:42.413 -0700] WARNING 11 m1ldap "The WatchDog failed to start process [Process Id [1105138422386] Name [CNN100] Execution Interval [60000] ]"
    I have another instance of Idsyc running, and have started the Message Queue using -verbose to compare if the two are starting the same and they are. Would anyone be able to tell me what the Warning 11 messages mean?
    Thanks
    Randy

    Okay, this is resolved. I moved the jdk to another directory as well in an attempt to do some house cleaning. I thought I had made the necessary changes in all the right places. Just for the fun of it, I made a copy of the jdk to the original directory then everything started working again. So I am guessing that the Warning 11 message must mean that there is not a valid java executable for the components and subcomponenets to start.
    Well, that saves me a weekend of work. Now onto other things!
    Thanks
    Randy

  • Writing Error Messages to a file

    we want to write an error message to a file and are wondering what steps to take in doing so...
    thanks in advance

    You can try calling System.setOut() to a custom PrintStream which prints to both a file and stdout.
    The benefit of this is that you can keep calling System.out.*, or System.err.* and it prints normally in addition to printing to a file.
    I wrote a (buggy) logger you can try out which does this. You can use it, although I recommend you look into writing one yourself, as this is buggy (and, knowing myself, probably poorly coded):
    SVN Repository:
    http://timothyb89.homelinux.org/kdrepos/log5j/
    Custom PrintStream:
    http://timothyb89.homelinux.org/kdrepos/log5j/src/org/log5j/Logger.java
    (The LogFileManager ( http://timothyb89.homelinux.org/kdrepos/log5j/src/org/log5j/LogFileManager.java ) does the actual printing to the logfile)
    Note that you might want to try using System.setErr() instead of System.setOut() (and changing calls my Logger made to System.out to System.err as well).
    Hope it works (or you find a better way) ;-)

  • CSS 11800 show many server up/down message in log file

    My customer use css 11800 running 6.10 Build 304 software for server load-blance
    I config default http keepalive to probe the server status like below.
    service WWW2
    ip address 163.29.x.x
    keepalive type http
    active
    service WWW3
    ip address 163.29.x.x
    keepalive type http
    active
    Since last week,I found many server up/down message in sys.log file
    SEP 20 01:22:36 7/1 1145 NETMAN-2: Enterprise:Service Transition:dpsvr2 -> down
    SEP 20 01:22:41 7/1 1146 NETMAN-2: Enterprise:Service Transition:amd52 -> down
    SEP 20 01:24:26 7/1 1147 NETMAN-5: Enterprise:Service Transition:amd52 -> alive
    SEP 20 01:24:56 7/1 1148 NETMAN-5: Enterprise:Service Transition:dpsvr2 -> alive
    SEP 20 03:20:06 7/1 1149 NETMAN-2: Enterprise:Service Transition:WWW3 -> down
    SEP 20 03:20:16 7/1 1150 NETMAN-5: Enterprise:Service Transition:WWW3 -> alive
    SEP 20 07:00:57 7/1 1151 NETMAN-2: Enterprise:Service Transition:www5 -> down
    SEP 20 07:01:11 7/1 1152 NETMAN-5: Enterprise:Service Transition:www5 -> alive
    The server status change down to up,almost during 20 sec only,and We can access the server without any problem at the same time
    Does this is a software bug.If not,How do I trace this problem,thks!!

    capture a sniffer trace to see exactly what's going on.
    Going to the server with a browser may work because using GET/POST method, but the CSS configured the way you did will use a HEAD method which could be a problem for your server.
    The server could be slow to respond as well.
    Try to increase the keepalive frequence since the timeout is linked to the frequency.
    Finally, you may want to configure a url to poll with the command 'keepalive uri .....'
    Once again, by simply sniffing between the CSS and the server, you will know exactly where is the problem.
    Gilles.

  • How to Write Soap Message to Log File

    Hello users,
    Is there a config setting that causes soap messages to be written to the server log. I'm using JBoss/Turnkey. I found a reference in the JBoss documentation (Ch 5 J2EE Web Services) that offers this guidance:
    (5.4. Monitoring webservices requests)
    When processing web services requests, it is often useful to be able to observe the actual messages being passed between the client and the server. JBoss logs this information in the org.jboss.axis.transport.http.AxisServlet category.
    To enable web services logging, add the following debug category to the log4j.xml file:
    <category name="org.jboss.axis.transport.http.AxisServlet">
    <priority value="DEBUG"/>
    </category>
    When enabled, all SOAP requests and responses will be logged to the server.log file.
    Tried it but not working yet. Thanks for any help.
    Jesse

    http://www.google.com/search?q=java+web+service+tutorial&meta=

  • Show RMAN  message in log file and screen at same time

    Is there any way I can save all RMAN message in a log file and also show on standar out (screen).
    Thanks

    Hi,
    You can try a shell script like this if you are using linux:
    #!/bin/sh
    # Name: test_backup
    # Author: Tad_cs
    # Description: Executes backup using the RMAN
    export ORACLE_HOME=$1
    export ORACLE_SID=$2
    export LOG_DIR=$3
    # Variables:
    SCRIPT="test_backup"
    data_log=`date '+%y-%m-%d_%H:%M:%S'`
    logfile=${LOG_DIR}/${SCRIPT}-${data_log}.log
    # Execution of script backup of rman:
    $ORACLE_HOME/bin/rman <<EOF > $logfile
    connect target rman/rman
    connect catalog rman/rman
    run { execute script test_backup; }
    EOF
    exitSo, While the script is performing, you can open other screen, search for
    the log that is generating, and see the contents using:
    tail -f log_file_name.logIs this you need?
    []´s

  • Write error messages in log file.

    Hi,
    I want to use a log file to store messages instead of server log. Can anybody give me idea.
    Thankyou.....

    Hi, could DBA check MS SQL Server connection logs???
    May be server has some limits (for example sessions, memory and e.t.c.)

  • Job console messages in log file

    Hi All,
    Is there a log file which logs the job console messages...where is it located ...we are on V11.1.2.,,....We have a issue with Job console validation......when a EPMA planning application is validated...it has some errors....but when we try to open the attachment to get more details...a new window opens and closes immediatly...
    how can we check the error messages?

    In IE try going to Internet Options > Security > Custom Level > Downloads > File Downloads > enable
    This should allow the text file to open when you try to open the attachment.
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • View for files and links

    Can we have a view to display all the files posted and all the links pasted on the chat window (Quick access). This would be specific to each group / individual. 

  • Best method to sync 2 iPhones, access same library, but different apps

    My wife and I just got 2 iPhones 16GB 3GS. We currently have just 1 iTunes account (don't want a second one) and store all music on our desktop computer. Most of the music is files from CD's that I've had on the computer for way longer than we've had

  • PowerBook 160   Powerbook Video Cable: how to connect to mdern flat monitor?

    I wish to connect a Macintosh PowerBook 160 (very old) to a modern flat monitor. I have got the Macintosh PowerBook Video Cable that connects with one end with the Powerbook and has a sub-D 15 (two rows of holes) female connector on the other end. Wh

  • Premiere Pro crash on startup - Sony Vaio

    Hi. I have had Premiere Pro CC 2014 - Trial version working for the past 4-5 days (~19 Nov 2014), but now it crashes on loading at the splash screen stage with the following signature. [Note it takes about 30-60 seconds to get to the splash screen wh

  • How to move my photos from PC to Mac (just imported from PSE!)?

    I just loaded up LR1.0 and imported my library (about 15000 images) from PS Elements 4.0. Huzzah! It worked perfectly, including all keywords and even the keyword hierarchy. So far, life is very good, indeed. Now, there are two more steps, and I'm no