ESYU: Autocreate issue를 위한 Debug file 생성 방법

Purpose
Oracle Purchasing - Version: 11.5.8 ~
PO Autocreate issue 발생시 문제 해결을 위해 Debug file을 생성하는 방법에
대한 설명을 목적으로 한다.
Solution
Autocreate debug utility는 11i_PRC_PF.H (patch 2320032) version 즉 11.5.8
version 부터 가용하다.
System Administrator로 log-in 후 specific user(autocreate 생성자) level로
아래 profile options 값을 setting 한다.
-. Set the FND Debug Log Enabled: Yes
-. Set the FND Debug Log Level: Statement
-. Set the FND Debug Log Module: PO
Oracle Application을 log-out 후 위 profile option 값을 setting 한 user로 log-in을
다시 한다.
Autocreate를 통해 PO를 생성합니다. PO가 정상적으로 생성되거나 failed 될 것이다.
Log file을 monitor 하는 방법:
As System Administrator Go to Help-> Dignostics-> Logging -> View
Search System Logs page가 pop up 될 것이다.
특정 parameter나 아래 모든 parameters에 값을 입력 후 log를 view 할 수 있다.
Level: Statement(optional)
View : %PO_INTERFACE_S% ( For Autocreate)
Posted After and Posted Before: Log를 보고자 원하는 date
press GO
다음 Module name을 가진 logs를 조회:
%PO_INTERFACE_S%
Download All을 이용하면 log file을 excel file로 export 할 수있다.
Delete All을 이용하여 log statements는 remove 된다.
Reference
Note 220747.1

Similar Messages

  • ESYU: R12 - R12 Trace/Debug file을 생성하는 방법

    Purpose
    Version: 12.0
    Information in this document applies to any platform.
    R12에서 Trace와 Debug file 생성 방법을 알아본다.
    Solution
    1. Navigate Responsibility: System Administrator> Profile> System>Query
    User: Trace를 생성할 user 명을 입력
    Profile: Initialization SQL Statement - Custom
    2. User columne에 아래의 내용을 입력
    begin fnd_ctl.fnd_sess_ctl('','','TRUE','TRUE','LOG','ALTER SESSION SET EVENTS='||''''||'10046 TRACE NAME CONTEXT FOREVER,LEVEL 12'||''''); end;
    3. 입력한 내용을 저장
    FND debug messages를 생성:
    4. Navigate Responsibility: System Administrator> Profile> System>Query
    User: Debug를 생성할 user 명을 입력
    Profile: FND:%Debug%
    5. 아래 profile options 값을 user level로 set
    FND: Debug Log Enabled Yes
    FND: Debug Log Filename <empty>
    FND: Debug Log Level STATEMENT
    FND: Debug Log Mode Asynchronous with Cross-Tier Sequencing
    FND: Debug Log Module %
    6. 입력한 내용을 저장
    Example:
    7. Navigate: Payables Responsibility> Other> Request> Run> Select and Submit the Report
    (특정 Report를 실행한다)
    8. Trace 와 FND Debug messages를 disable
    9. FND Debug message를 찾기위해 아래 query를 실행
    select log_sequence, timestamp, module,message_text
    from fnd_log_messages fnd
    where trunc(timestamp) = trunc(sysdate)
    and (module like '%xla.%' or module like '%ap.%')
    and trunc(timestamp) = trunc(sysdate)
    order by timestamp;
    SELECT log_sequence, message_text,substr(module,1,100)
    FROM fnd_log_messages msg
    , fnd_log_transaction_context tcon
    WHERE msg.TRANSACTION_CONTEXT_ID = tcon.TRANSACTION_CONTEXT_ID
    AND tcon.TRANSACTION_ID= /*Give the request id of accounting program*/
    ORDER BY LOG_SEQUENCE desc
    Debugging의 활성화를 위해 아래 profile option을 사용:
    FND: Debug Log Enabled : Yes
    FND: Debug Log Level : Statement
    Debug message를 얻기 위해 아래 query 문을 사용:
    SELECT substr(module,1,70), MESSAGE_TEXT, timestamp, log_sequence
    FROM fnd_log_messages msg, fnd_log_transaction_context tcon
    WHERE msg.TRANSACTION_CONTEXT_ID = tcon.TRANSACTION_CONTEXT_ID
    AND tcon.TRANSACTION_ID = <your child request ID>
    ORDER BY LOG_SEQUENCE
    10. 아래 SQL을 이용해 trace file이 생성되는 위치를 확인, raw trace와 tkprof'd trace
    file을 upload
    select value
    from v$parameter
    where name = 'user_dump_dest';
    Reference
    Note 458371.1

  • OPM과 OM ISSUE 해결을 위해 LOG FILE을 생성 및 검색하는 방법

    제품 : MFG_OM
    작성날짜 : 2005-11-09
    OPM과 OM ISSUE 해결을 위해 LOG FILE을 생성 및 검색하는 방법
    ===========================================================
    PURPOSE
    Customer에게 Oralce Processing Manufacturing(OPM)/Order Management(OM)
    issue 해결을 위해 Log file을 생성하고 검색하는 방법을 알고 이를 고객에게
    전달할 수 있다.
    Explanation
    OPM 고객이 Order process 중 fail이 발생 했을 경우,fails 된 Order process
    에 따라 우리는 관련된 log file을 받기를 원한다.
    예를 들면;
    a) Order pad에 문제가 있다면 사용자는 Tools > Debug을 'On'으로 setting
    함으로써 log file을 생성할 수 있다.
    이는 Order pad 자체에서 행할수 있고 좀 더 자세한 사항은 아래의 step2 에
    설명되어져 있다.
    b) 만약 pick release가 fails 된다면 OPM support는 'pick release
    generation' concurrent manager log file을 요구하게 된다.
    좀 더 자세한 사항은 아래 step4 에 설명되어져 있다.
    c) 만약 Transact process move order form(manual allocation screen)의
    allocation 작업이나 pick confirm이 fails 이라면 support는 생성되는
    OPMLOG***를 받기를 원할 것이다.
    좀 더 자세한 사항은 아래 step5 에 설명되어져 있다.
    d) 만약 Order Management/Inventory Interface가 fail 이라면 support는
    'Interface Trip Stop' concurrent 실행중에 생성된 log file을 받기를 원할
    것이다. 자세한 사항은 step5 에 설명되어져 있다.
    OM/OPM issues를 위한 Log files의 생성 및 검색 방법
    1. utl_file_dir parameter 값을 얻기 위해 아래의 sql을 실행한다.
    select value
    from v$parameter
    where name like 'utl_file_dir';
    2. OM: Debug Directory profile option 값으로 step1의 결과값이 setting
    되어져 있는지 확인한다.
    3. Order pad에서 log file 생성:
    1) OM: Debug level profile을 '5'로 setting
    2) Order pad에서 Tools > Debug를 ON, lof file name을 적어 놓는다.
    3) Issue를 재현하고 step1 결과로 나온 경로에서 log file을 검색한다.
    4. Pick release concurrent log file을 생성하기 위해서는 profile option
    OM: Debug level을 '5' setting 후 pick release를 concurrent manager
    mode로 수행한다.
    Application의 view requests 화면에서 log file을 검색할 수 있다.
    5. Transact move order form에서 'manual allocation' 진행시의 log file을
    생성하기 위해서 아래의 steps을 따른다.
    1) Step2에서 지정한 경로에서 'OPMLOG****' file을 remove 한다.
    2) Manual allocation을 수행한다.
    3) 'OPMLOG***' log file이 생성될 것이며, '****'는 session id 값이다.
    Session id 값은 application 화면의 Help > Tools > Examine의
    $Profiles/db_session_id 위에서 찾을 수 있다.
    4) Pick confirm에 관련된 log는 2)번 step을 제외하고, pick confirm을
    수행하여 생성할 수 있다.
    6. Interface Trip Stop(ITS)가 실행되는 중의 log file을 생성하기 위해서는
    OM: Debug level profile option 값을 Interface Trip Stop을 실행하기
    전에 '5'로 setting 한다.
    Interface Trip Stop을 실행하기전에 'Defer' checkbox가 uncheck 되어
    있는지 확인해야 하며, 이 log file은 Application의 view requests 화면
    에서 검색할 수 있다.
    Reference Documents
    Note 290069.1

  • Issue with File Download(messageDownload) on Search Page.

    Hi,
    I created a custom OAF search page which fetches values from one table. The document in getting stored in my custom table in a BLOB colums and NOT in FND_LOBS.
    The table has 3 collumns along with others:
    1st is primary key (Record_Seq) ==> number data type
    2nd to store actual file name (File1Name) ==> varcahar2 data type
    3rd to store the actual uploaded data (File1Data) ==> BLOB data type
    The reason for having the “File1Name” is so that I can display the original file name of the document that was uploaded, instead of just the “view” in the search page results .
    On the File1Data BLOB and created a messageDownload for that under query results table with following details:
    ID : File1Data
    ItemStyle : messageDownload
    FileMIME Type : pdf
    Datatype : BLOB
    View Instance : LacEmpExposureVO1
    view Attribute : File1Name
    File View Attribute : File1Data
    When I click on the "File1Name" data hyperlink, it is opening only the first document corresponding to the first record in the search page results.
    For example, If my search page returns 10 rows then when I click on the file1name on any row, It is open the first row file name only.
    I have a primary key column(RECORD_SEQ) in the Table / EO / VO which is displayed in the search page results.
    Also one weird thing is happening:
    If I try to do this more than 2 times then it is opening the update page with the first record from the search page results…
    I tried to print the context and it is nul the first time, But the second time then context is changing to "update". Dont know how this is happening????
    Any advice is greatly appreciated as it is very crucial for me to get this resolved ASAP. I have looked at several forums and did a lot of things as advised in the forums . But nothing seems to work for me.
    Thanks,
    Mir
    CO code for the search page
    ===========================
    if (pageContext.getParameter("Create")!= null)
    System.out.println("Into LacEmpExposureCO in PROCESS FORM REQUEST with Context of CREATE");
    pageContext.setForwardURL
    ("OA.jsp?page=/lac/oracle/apps/lac/lacempexposure/webui/LacEmpExposureCreatePG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, //Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
    OAWebBeanConstants.IGNORE_MESSAGES);
    else if ("update".equals(pageContext.getParameter(EVENT_PARAM)))
    System.out.println("Into LacEmpExposureCO in PROCESS FORM REQUEST with Context of UPDATE");
    System.out.println("LacEmpExposureCO ==> RecordSeq in PROCESS FORM REQUEST is: " + RecordSeq);
    HashMap params = new HashMap(1);
    params.put("RecordSeq", RecordSeq);
    pageContext.setForwardURL
    ("OA.jsp?page=/lac/oracle/apps/lac/lacempexposure/webui/LacEmpExposureUpdatePG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    params,
    true, //Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO, // Do not display breadcrumbs
    OAWebBeanConstants.IGNORE_MESSAGES);
    else {           
    String strEvent = pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM);
    System.out.println(strEvent);
    System.out.println("Into the last ELSE part in LacEmpExposureCO.java");

    Duplicate post -- Issue with File Download(messageDownload) on Search Page.

  • How do I find the program that is creating a debug file

    Hi,
    I have a bunch of debug files in /usr/tmp directory on a Unix box. I am using Oracle Apps 11i. How do I find which program is causing this file?
    There content of the debug files does not have much information to point to any particular program.
    Thanks
    Asgar

    Thanks for the update.
    The user is oracle and group is dba. I know from the name of the file that it is coming from oracle apps (somewhere in a custom program).
    Asgar

  • Is there an issue using file vault 2 on a Mac fusion drive

    is there an issue using file vault 2 on a Mac fusion drive

    I'm using that configuration and it works for me. There have been some reports of kernel panics with FileVault and SSD's. The cause is unknown. Chances are you'll be fine, but make good backups.

  • Issue with file to file in PI 7.3 (Splitting huge files)

    Hi All,
    Need your help in fixing the issue with file splitting
    We are doing some sample scenarios(file to file) on PI 7.3 server.
    We are trying to split a 10MB file by using the 'Advanced Mode' option in the sender file adapter. We gave max split file size as 2MB. The file got split into 5 chunks and was successfully sent to receiver file adapter. In receiver adapter we are able to see that. But in the target folder only 1 file was seen with size 2MB. All other chunks were missing. We need to have the whole data sent from source to target.
    How to fix this issue? please provide your inputs.
    Thanks and Regards,
    Lakshmi Narayana

    PI 7.3 has capable of processing larger size files.
    Questions:
    Have you picked EOIO quality of service? Hope you dont do mapping or content conversion for this file?
    have you seen this link
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a06d79f3-d094-2e10-1a81-f4d802d0bcf1?QuickLink=index&overridelayout=true
    http://help.sap.com/saphelp_nw73/helpdata/en/44/682BCD7F2A6D12E10000000A1553F6/frameset.htm

  • Issue with file name in receiver Communication channel

    Hi Experts,
      I am sending the files from SAP Application server to third party Application server.
    In my source folder i have different types of files with different names.
    but i need to pickup the files which is coming as of type sss_3300_was.txt and sss_3400_was.txt.
    what would be the logic for this.what my understanding is if i put sss_* it will works.
    If suppose the file is Exist in the folder as sss_3300_was.txt , so it will picked up and places in target folder.
    and next time if the file type is sss_3400_was.txt then that will pick up and places in the target folder.
    my question is, in the receiver comm channel what would be the file name scheme. i have tried with * and / but system has not been accepted as * can not be given.
    Kindly suggest what should i put in Receiver CommChanne file name sheme.
    Appreciate your inputs
    Thanks,
    Bhaskar

    Hi Satish,
    Thanks for your valuable inputs.
    Actually i need to change the subjet when i am asking other question...
    first thing is suppose i have 10 files like sss_3100_was, sss_3300_was, sss_3400_was........sss_3900_was  in the sender application folder and should be moved to receiver [target] folder with the same name.
    as you said mentioned above below is my undertsanding, please correct me if i am wrong.
    In sender cc
    1.  i will give file name as sss_*
    2. i will flag ASMA and also check file name.
    In receiver cc
    1. I will give file name as sss_*
    2. i will flag ASMA and also check the file name
    The above is my understanding with respect to your inputs,  is it correct?
    in receiver cc i have tried file name scheme as sss_*  but when i see the receiver CC log its telling that * is not allowed.
    may be i have not flaged ASMA at that time, but now i will flag ASMA in receiver CC dose it works? just need to confirm from you.
    Regarding seconf issue.
    when file is picking up from the source folder from SAP Application server as i can see file is picking up well and posting in third party folder and even in the sender cc and receiver cc logs i could see all shown in success.But when i see in the SXMB_MONI in the inbound interface the data are coming in the special charater format like @$??? and so on.But when i checked in SAP Appl server the same file contains the three lines of data like material number purchase order number and so on and it is Text file.
    below mentioned are done configs for sender CC by me.
    MP: file
    TP: NFS [as  it is SAP appl server]
    filepath:/
    file name: sss_*
    file type :text
                   add time stamp
                   ..... and so on
    Kindly advise me if any changes are required and also provide me inputs in case any correction.
    Thanks,
    Bhaskar Reddy

  • SHIPPING EXECUTION에 대해 DEBUG FILE을 생성하는 방법

    제품: Applications
    작성날짜 : 2006-05-30
    SHIPPING EXECUTION에 대해 DEBUG FILE을 생성하는 방법
    ==========================================
    PURPOSE
    Shipping Execution에 대해 Debug file을 생성하는 방법을 기술함.
    Explanation
    Log file을 생성하기 위한 여러 방법들이 있으며, 이는 다음과 같은 patch level에 의해 결정된다.
    A. debug file from the Shipping Transaction or Quick Ship forms in
    version 11.5.9 or higher.
    B. debug file for Pick Release in version 11.5.9 (Family pack I)
    or higher.
    C. debug file for Pick Release prior to version 11.5.9
    D. debug file for Interface Trip Stop - SRS in version 11.5.9
    (Family pack I) or higher.
    E. debug file for Interface Trip Stop - SRS prior to version
    11.5.9 (Family pack I).
    F. debug file for an API in version 11.5.9 (Family pack I) or higher:
    G. debug file for an API prior version 11.5.9 (Family pack I):
    A. To generate a debug file from the Shipping Transaction or
    Quick Ship forms in version 11.5.9 (Family pack I) or higher:
    1. Set the following profile options:
    OM: Debug Level - set to 5
    WSH: Debug Enabled - set to Yes
    WSH: Debug Level - set to Statement
    WSH: Debug Log Directory - any directory that can be written to by
    the database
    여기서, 설정하는 directory는 다음을 check하여야 합니다.
    To check, run the following SQL statement:
    Code:
    select value from v$parameter
    where name = 'utl_file_dir'
    Set profile option WSH: Debug Log Directory at the Site
    & Application Level.
    2. Shipping form --> Tools
    Debug box를 check. ==> This will print out a file name
    - NOTE down this file name.
    3. Perform the action you wish to debug.
    4. Tools --> uncheck Debug box.
    5. After you have completed generating the debug file,
    set profile OM: Debug Level back to 0
    WSH: Debug Enabled set to No
    6. step 1의 debug directory밑에 debug file이 생성됨.
    B. To generate debug information for Pick Release in version 11.5.9 or
    higher:
    1. Set the following profile options:
    OM: Debug Level - set to 5
    INV: Debug Level - set to 10
    WSH: Debug Enabled - set to Yes
    WSH: Debug Level - set to Statement
    2. Release Sales Order for Picking form --> Tools
    ==>check the Debug box.
    3. Submit the pick release.
    4. Provide "Pick Selection List Generation" log file.
    C. To generate debug for Pick Release prior to version 11.5.9 :
    1. Set the following profile options:
    OM: Debug Level - set to 5
    INV: Debug Level - set to 10
    2. Release Sales Order for Picking form --> Tools
    ==>check the Debug box.
    3. Submit the pick release.
    4. Provide "Pick Selection List Generation" log file.
    D. To generate debug for Interface Trip Stop - SRS in 11.5.9 or higher:
    1. Set the following profile options:
    OM: Debug Level - set to 5
    INV: Debug Level - set to 10
    WSH: Debug Enabled - set to Yes
    WSH: Debug Level - set to Statement
    Set the Debug Level parameter to 1 (Debugging ON) .
    2. Submit the job.
    3. Provide the log file.
    E. To generate debug for Interface Trip Stop - SRS prior to 11.5.9:
    1. Set the following profile options:
    OM: Debug Level - set to 5
    INV: Debug Level - set to 10
    Set the Debug Level parameter to 1 (Debugging ON) .
    2. Submit the job.
    3. Provide the log file.
    F. To generate debug for an API in 11.5.9 or higher:
    1. Set the following profile options:
    OM: Debug Level - set to 5
    INV: Debug Level - set to 10
    WSH: Debug Enabled - set to Yes
    WSH: Debug Level - set to Statement
    WSH: Debug Log Directory - set to a valid writeable directory path
    2. Add the following line of code in the wrapper script which calls
    the API:
    Code:
    DECLARE
    l_file_name VARCHAR2(32767);
    l_return_status VARCHAR2(32767);
    l_msg_data VARCHAR2(32767);
    l_msg_count NUMBER;
    BEGIN
    fnd_profile.put('WSH_DEBUG_MODULE','%');
    fnd_profile.put('WSH_DEBUG_LEVEL',WSH_DEBUG_SV.C_STMT_LEVEL);
    wsh_debug_sv.start_debugger
    (l_file_name,l_return_status,l_msg_data,l_msg_count);
    3. Submit the job.
    4. Provide the log file.
    G. To generate debug for an API prior to 11.5.9 (Family pack I):
    1. Set the following profile options:
    OM: Debug Level - set to 5
    INV: Debug Level - set to 10
    2. Add the following line of code in the wrapper script which calls
    the API:
    Code:
    oe_debug_pub.initialize;
    oe_debug_pub.SetDebugLevel(5);
    DBMS_OUTPUT.PUT_LINE('Debug File = '
    ||OE_DEBUG_PUB.G_DIR||'/'||OE_DEBUG_PUB.G_FILE);
    3. Submit the job.
    4. Provide the log file.
    Example
    Reference Documents
    Note#290432.1

  • We are looking for a software which converts SWF to MP4, we found many software which does the job but issue is file size is not optimize.  We found Adobe captivate 6 which gives optimum quality with good output but thing is we do not have batch process i

    Hi
    We are looking for a software which converts SWF to MP4, we found many software which does the job but issue is file size is not optimize.
      We found Adobe captivate 6 which gives optimum quality with good output but thing is we do not have batch process in captivate 6. so we request you to create a plugin or give a best option which have batch render quality and optimize in file size,

    Captivate is e-learning development software not a dedicated video convertor, you are better off trying something like Adobe Media Encoder or Super.

  • Adobe plugin creates junk debug files: 'C:\\nppdf32Log\\debuglog.txt'

    Hello,
    latest Adobe Reader for Linux (9.5.5) - its plugin for firefox named nppdf32.so creates junk debug files named: 'C:\\nppdf32Log\\debuglog.txt' in directories from where a firefox was executed.
    This happens since Acrobat Reader 9.5.1 release.
    How to make Adobe fixing this bug?
    How to contact them efficiently?
    This bug exists since 9.5.1 dated 04/09/2012 and Adobe do not care. Fix is trivial for Adobe: disable debug logging in release versions and stop using Windows path 'C:\\nppdf32Log\\debuglog.txt' in Linux products.
    Workaround for this bug is trivial: open in hex editor: nppdf32.so file installed by Adobe Reader, go to position 0x0002193a in this file (or simply search for C:\ - there is only one place), and replace string:
    C:\\nppdf32Log\\debuglog.txt
    with:
    /dev/null
    Because string /dev/null is shorter than C:\\nppdf32Log\\debuglog.txt fill remainings of previous string with hex zeroes: 00 to keep everything in place.
    Come on Adobe what's wrong with you! Why you do not provide such simple fix by yourself! It's 3 minutes of primitive work!

    Here are few solutions:
    1. You can configure firefox to open pdf in external application like acroread. This way plugin problem is bypassed. - I use it this way. It looks to be faster this way.
    2. "C:\nppdf32Log\debuglog.txt" is created every time in directory from where you executed firefox/opera/other browser and opened any pdf file in browser. So this is not only home directory. You can fix this problem by yourself by hex editing nppdf.so file and replacing C:\nppdf32Log\debuglog.txt path in this file with /dev/null path. See my post here for detailed instructions: http://forums.adobe.com/thread/1253800

  • Issue opening files.

    Hi,
    I've recently been having issues opening files from clients where I get a message telling me the file was created in a newer version of Adobe - this has occurred with both my InDesign CS6 and Illustrator CS6.  I have made sure the software is updated but the issue keeps coming up, can anybody offer any advice?

    Probably created in Adobe Creative Cloud.
    You can get a trial of Creative Cloud that will last 30 days - and see if you can open the files from there.
    It's always best to work on the same version of InDesign as the file was created in.

  • Debug mode configuration debug-file

    Hello,
    we have doployed a j2ee-application on was 7.0, netweaver2004s, SP11.
    Oon Tomcat and resin there are nor problems, but running uon was .7.0 there appear exceptions.
    How can we configure the debug-mode on was 7.0 and the debug-File?
    Best regards
    Oliver Prodinger

    Hi Oliver,
    Here is the link to the documentation:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/66/547f09281d464b951c9a3a6b06a12d/frameset.htm
    HTH!
    -Vladimir

  • [SOLVED]Couldn't open file for 'Log debug file /var/log/tor/debug.log'

    Hello,
    I'm trying to run a tor relay on my arch linux box. Trying to launch the tor daemon, here's the log via
    $ systemctl status tor.service
    May 20 11:53:10 arch tor[21726]: May 20 11:53:10.877 [notice] Tor v0.2.4.21 (git-505962724c05445f) running on Linux with Libevent 2.0.21-stable and OpenSSL 1.0.1g.
    May 20 11:53:10 arch tor[21726]: May 20 11:53:10.877 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
    May 20 11:53:10 arch tor[21726]: May 20 11:53:10.877 [notice] Read configuration file "/etc/tor/torrc".
    May 20 11:53:10 arch tor[21726]: May 20 11:53:10.909 [notice] Opening Socks listener on 127.0.0.1:9050
    May 20 11:53:10 arch tor[21726]: May 20 11:53:10.909 [notice] Opening OR listener on 0.0.0.0:9798
    May 20 11:53:10 arch tor[21726]: May 20 11:53:10.000 [warn] Couldn't open file for 'Log debug file /var/log/tor/debug.log': Permission denied
    May 20 11:53:10 arch tor[21726]: May 20 11:53:10.000 [notice] Closing partially-constructed Socks listener on 127.0.0.1:9050
    May 20 11:53:10 arch tor[21726]: May 20 11:53:10.000 [notice] Closing partially-constructed OR listener on 0.0.0.0:9798
    May 20 11:53:10 arch tor[21726]: May 20 11:53:10.000 [warn] Failed to parse/validate config: Failed to init Log options. See logs for details.
    May 20 11:53:10 arch tor[21726]: May 20 11:53:10.000 [err] Reading config failed--see warnings above.
    May 20 11:53:10 arch systemd[1]: tor.service: main process exited, code=exited, status=255/n/a
    May 20 11:53:10 arch systemd[1]: Unit tor.service entered failed state.
    Why the tor daemon cannot write into /var/log/tor/debug.log ?
    Here's my /etc/group
    root:x:0:root
    bin:x:1:root,bin,daemon
    daemon:x:2:root,bin,daemon
    sys:x:3:root,bin
    adm:x:4:root,daemon,nue
    tty:x:5:
    disk:x:6:root
    lp:x:7:daemon
    mem:x:8:
    kmem:x:9:
    wheel:x:10:root,nue
    ftp:x:11:
    mail:x:12:
    uucp:x:14:
    log:x:19:root
    utmp:x:20:
    locate:x:21:
    rfkill:x:24:
    smmsp:x:25:
    http:x:33:
    games:x:50:
    lock:x:54:
    uuidd:x:68:
    dbus:x:81:
    network:x:90:
    video:x:91:
    audio:x:92:
    optical:x:93:
    floppy:x:94:
    storage:x:95:
    scanner:x:96:
    power:x:98:
    nobody:x:99:
    users:x:100:
    systemd-journal:x:190:
    nue:x:1000:
    avahi:x:84:
    lxdm:x:121:
    polkitd:x:102:
    git:x:999:
    transmission:x:169:
    vboxusers:x:108:
    tor:x:43:
    mysql:x:89:
    Last edited by giuscri (2014-05-20 12:18:56)

    SidK wrote:You must have modified your torrc to print to that log file. systemd starts the service as the tor user (see /usr/lib/systemd/system/tor.service). So if if you want to log to a file the tor user must have write access to it. By default however tor it set to log to the journal, which doesn't require any special permissions.
    Yes. I did edit the torrc file since I wanted the log to be store in that file. Indeed
    ## Logs go to stdout at level "notice" unless redirected by something
    ## else, like one of the below lines. You can have as many Log lines as
    ## you want.
    ## We advise using "notice" in most cases, since anything more verbose
    ## may provide sensitive information to an attacker who obtains the logs.
    ## Send all messages of level 'notice' or higher to /var/log/tor/notices.log
    #Log notice file /var/log/tor/notices.log
    ## Send every possible message to /var/log/tor/debug.log
    Log debug file /var/log/tor/debug.log
    ## Use the system log instead of Tor's logfiles
    Log notice syslog
    ## To send all messages to stderr:
    #Log debug stderr
    I missed the file systemd uses to choose who's the process owner.
    Course, I could edit /usr/lib/systemd/system/tor.service such that root will become the process owner; or, I could add the user I use everyday in the root group, then change the permission of /var/log/tor/debug.log such that it will be writable also for the folks in the root group.
    Yet they both seems to be a bit unsafe ...
    What is the best choice, to you guys?
    Thanks,

  • X2-02 camera issues - .nrw files not converting to...

    I've got X2-02 and am experiencing the same problem on this link: http://discussions.nokia.com/t5/Cseries/C2-02-camera-issues-nrw-files-not-converting-to-jpeg-files/m...
    I tried all of the tricks mentioned and nothing became fruitful in converting the files to jpeg (viewable on PC).
    Anyone who has a solution to this, kindly post it here...!
    Moderator's Note: We have moved your post and changed the title into a subject-related title. This is to keep the forum organized and let other forum users easily see and respond to this post.

    imranshahab,
    Welcome to Nokia Discussions!
    Try this online image convertion site: http://bit.ly/1dyiDQm
    Or try sending the .nrw files to another bluetooth capable phone and see if it does convert the file to jpeg after receiving it.
    Good luck

Maybe you are looking for

  • Error in copy of BCALV_TREE_SIMPLE_DEMO

    I copied BCALV_TREE_SIMPLE_DEMO  to a z version, changed it with own structure DATA: gt_sflight      TYPE zhpa_vakantie_struc OCCURS 0, "sflight OCCURS 0,      "Output-Table now when running an error occurs, i think this has to do with the screen col

  • Help needed - Planning Server 2012 solution, DC/Exchange/SQL/RDP host/Remote apps etc

    Hi All, I have a client needing me to provide a Windows server based solution for their business. I have limited experience with Server 2012, although I have worked with 2008R2 and SBS2011, I am needing some guidance with this 2012 project. The clien

  • Sharpening in ACR has stopped working

    I always open files as smart objects. When I sharpen a photo in ACR and open in Photoshop the sharpening doesn't appear; if I reopen in ACR, the changes I have made to radius are there, but the stregnth is zero. I have tried this on numerous photos,

  • ERROR : COLLECT_OVERFLOW_TYPE_P

    hi all, i made a report in which i take data from Ztable but problem is that when there are less amount of data in Ztable then its coming correctly but if there are many number of data then its giving run time error 'COLLECT_OVERFLOW_TYPE_P'. can any

  • Acrobat 9.0 & Vista

    Is there a rpoblem between Vista and Acrobat. I have pruchase Photoshop Elements 6 and Acrobat 9.0 upgrade for my new PC and It does not load. I get an error message of "Error 1321. The Installer has insufficient privileges to modify the file C;\Prog