Unix proces ntp gives wrong procescount in rz20

Hi admins,
I am trying to set up "ntp" process monitoring with ccm4x
I configured a ini file in /usr/sap/tmp/procmon called "P02_ABAP_30_procmon.ini"
The content of this file is:
=============================================
$PROC
Check if CUPS is running
cupsd USER=root CUSTOMGROUP=LINUXOSCOL
Check if the Name Server Cache Deamon is running
nscd USER=root CUSTOMGROUP=LINUXOSCOL
Check if the Time service is running
ntp USER=ntp CUSTOMGROUP=LINUXOSCOL
$
============================================
the processes are:
cups
root     15795 15751  0 Nov11 ?        00:00:00 socket://gn016p01.gn016.kpn-post.nl:9100/ 1 a01adm 0008fj8b.A01 1  /var/spool/cups/d00001-001
nscd
root      4542     1  0 Oct29 ?        00:00:27 /usr/sbin/nscd
ntpd
ntp       3708     1  0 Oct29 ?        00:00:01 /usr/sbin/ntpd -p /var/lib/ntp/var/run/ntp/ntpd.pid -u ntp -i /var/lib/ntp
In RZ20, under
=> SAP CCMS Monitor Templates
   + cia01_A01_10
       + Monitored Processes
           + ntp
               [ ] ntp: Process Count    0
           + nscd
               [ ] root: Process Count    1
           + cupsd
               [ ] root: Process Count    1
Why is the ntp process giving a count of 0 (zero)?
The other processes do give a count of 1 (one)

I changed the configfile as followed.
=================================================
This is a example dev_proc file
FOR Monitoring non SAP processes
$PROC
Check if CUPS is running
cupsd USER=root CUSTOMGROUP=LINUXOSCOL
Check if the Name Server Cache Deamon is running
nscd USER=root CUSTOMGROUP=LINUXOSCOL
Check if the Time service is running
ntp USER=ntp CUSTOMGROUP=LINUXOSCOL
$
End File
=================================================
Now, the procescount is correct.

Similar Messages

  • Wireless keyboard gives wrong letters

    wireless keyboard gives wrong letters

    [shameful mode on]
    Sorry. I don't have my Mac in front of me.
    I'm using windows right now.
    [shameful mode off]

  • CALCULATE_TAX_ITEM gives wrong values for Scess and HScess in PO Print

    Dear Friends,
    I am working with PO Print in smartforms hare the Fm CALCULATE_TAX_ITEM is gives wrong values for Scess and HEcess if I put the Gate pass (Basic Excise Duty) Manually.
    And one more Issue is as if I check any line item condition taxes than imediatly when I see the print the all line items Scee and HEcess displays same which I have saw.
    If there is a single line item in PO than there is no issue any way.
    kindly suggest to resolve the issue.
    Regards,
    D Tarun Kumar

    Hi,
    I had the same issue, that taxes on invoice tab of PO was not printed correctly on PO form by calling CALCULATE_TAX_ITEM.
    If you want to have the same tax value as komp-mwsbp, that use following form routine call before FB CALCULATE_TAX_ITEM.
    perform j_1b_save_tax_fields(saplmepo) using ekko ekpo lfa1.
    This is used in transaction me23n also.
    Kind regards,
    Tülay

  • Share with notification give wrong list item url

    Hi Experts,
    I am facing an issue with SharePoint notification email when sharing list item with users, the notification email gives wrong list item URL, in fact it gives strange URL like this (http://mycollection/sites/lists/list1/01_000)
    the strange thing that list item url is correct when sending share with notification if you apply it to document library, but it is not working well if you apply it to custom list!!
    can any body tell me whats wrong with SharePoint ? 

    Was it ever enabled. 
    Is this a restored list\library ?
    Do we have any workflow on same
    If this helped you resolve your issue, please mark it Answered

  • Have downloaded 5s iPhone. Instructions for activating iCloud gives wrong email address to verify account. How can I get around this problem and get my phone set up with iCloud

    Have downloaded 5s iPhone. Instructions for activating iCloud gives wrong email address to verify account. How can I get around this problem and get my phone set up with iCloud

    elhoseny wrote:
    ... Instructions for activating iCloud gives wrong email address to verify account..
    The Apple ID and Password that was Originally used to Activate the iDevice is required
    If you do not have that information you will not be able to use the Device.
    Activation Lock in iOS 7  >  http://support.apple.com/kb/HT5818

  • Setting the time automatically, or manually yet still gives wrong time.

    Ever since I've updated my 5c, the time keeps messing around. It's never the right time. I've tried manual and also set it automatically. It keeps delaying in time and gives wrong hour/minutes. I cannot set the alarm or do anything because the time is just wrong. I don't have a problem with my other apple devices regarding the new software update, it's just with this phone.

    Hello Basilsami,
    It sounds like your phone is not keeping the correct time and date, either when set to automatic, or manual. I recommend these troubleshooting steps from the article named:
    iOS: Troubleshooting issues with date and time
    http://support.apple.com/kb/ts3920
    Follow these steps. Test after each step to see if the issue is resolved.
    Ensure that the version of iOS on your device is up to date.
    If the option to enable date and time automatically is available, turn it on. Tap Settings > General > Date & Time.
    Ensure that your time zone is set up correctly. Tap Settings > General > Date & Time > Time Zone.
    If the incorrect date, time, or time zone is being set up automatically on the device, please notify your cellular provider. In the meantime, tap General > Date & Time and turn off Set Automatically. Then set the appropriate time and time zone manually.
    Note: The option to set automatically might not be available on all carriers in all countries.
    Additional Information
    Note: If you find that your device's time is incorrect after you sync with your computer, your computer's time may be incorrect. Verify the computer's time in System Preferences > Date & Time (you may want to select the checkbox to set the computer's date and time automatically).
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • Select for update gives wrong results. Is it a bug?

    Hi,
    Select for update gives wrong results. Is it a bug?
    CREATE TABLE TaxIds
    TaxId NUMBER(6) NOT NULL,
    LocationId NUMBER(3) NOT NULL,
    Status NUMBER(1)
    PARTITION BY LIST (LocationId)
    PARTITION P111 VALUES (111),
    PARTITION P222 VALUES (222),
    PARTITION P333 VALUES (333)
    ALTER TABLE TaxIds ADD ( CONSTRAINT PK_TaxIds PRIMARY KEY (TaxId));
    CREATE INDEX NI_TaxIdsStatus ON TaxIds ( NVL(Status,0) ) LOCAL;
    Insert into TAXIDS (TAXID, LOCATIONID, STATUS) Values (100101, 111, NULL);
    Insert into TAXIDS (TAXID, LOCATIONID, STATUS) Values (100102, 111, NULL);
    Insert into TAXIDS (TAXID, LOCATIONID, STATUS) Values (100103, 111, NULL);
    Insert into TAXIDS (TAXID, LOCATIONID, STATUS) Values (100104, 111, NULL);
    Insert into TAXIDS (TAXID, LOCATIONID, STATUS) Values (200101, 222, NULL);
    Insert into TAXIDS (TAXID, LOCATIONID, STATUS) Values (200102, 222, NULL);
    Insert into TAXIDS (TAXID, LOCATIONID, STATUS) Values (200103, 222, NULL);
    --Session_1 return TAXID=100101
    select TAXID from TAXIDS where LOCATIONID=111 and NVL(STATUS,0)=0 AND rownum=1 for update
    --Session_2 waits commit
    select TAXID from TAXIDS where LOCATIONID=111 and NVL(STATUS,0)=0 AND rownum=1 for update
    --Session_1
    update TAXIDS set STATUS=1 Where TaxId=100101;
    commit;
    --Session_2 return 100101 opps!?
    --Session_1 return TAXID=100102
    select TAXID, STATUS from TAXIDS where LOCATIONID=111 and NVL(STATUS,0)=0 AND rownum=1 for update
    --Session_2 waits commit
    select TAXID, STATUS from TAXIDS where LOCATIONID=111 and NVL(STATUS,0)=0 AND rownum=1 for update
    --Session_1
    update TAXIDS set STATUS=1 Where TaxId=100102;
    commit;
    --Session_2 return 100103                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    This is a bug. Got to be a bug.
    This should be nothing to do with indeterminate results from ROWNUM, and nothing to do with read consistency at the point of statement start time in session2., surely.
    Session 2 should never return 100101 once the lock from session 1 is released.
    The SELECT FOR UPDATE should restart and 100101 should not be selected as it does not meet the criteria of the select.
    A statement restart should ensure this.
    A number of demos highlight this.
    Firstly, recall the original observation in the original test case.
    Setup
    SQL> DROP TABLE taxids;
    Table dropped.
    SQL> 
    SQL> CREATE TABLE TaxIds
      2  (TaxId NUMBER(6) NOT NULL,
      3   LocationId NUMBER(3) NOT NULL,
      4   Status NUMBER(1))
      5  PARTITION BY LIST (LocationId)
      6  (PARTITION P111 VALUES (111),
      7   PARTITION P222 VALUES (222),
      8   PARTITION P333 VALUES (333));
    Table created.
    SQL>
    SQL> ALTER TABLE TaxIds ADD ( CONSTRAINT PK_TaxIds PRIMARY KEY (TaxId));
    Table altered.
    SQL>
    SQL> CREATE INDEX NI_TaxIdsStatus ON TaxIds ( NVL(Status,0) ) LOCAL;
    Index created.
    SQL>
    SQL>
    SQL> Insert into TAXIDS (TAXID, LOCATIONID, STATUS) Values (100101, 111, NULL);
    1 row created.
    SQL> Insert into TAXIDS (TAXID, LOCATIONID, STATUS) Values (100102, 111, NULL);
    1 row created.
    SQL> Insert into TAXIDS (TAXID, LOCATIONID, STATUS) Values (100103, 111, NULL);
    1 row created.
    SQL> Insert into TAXIDS (TAXID, LOCATIONID, STATUS) Values (100104, 111, NULL);
    1 row created.
    SQL> Insert into TAXIDS (TAXID, LOCATIONID, STATUS) Values (200101, 222, NULL);
    1 row created.
    SQL> Insert into TAXIDS (TAXID, LOCATIONID, STATUS) Values (200102, 222, NULL);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> Original observation:
    Session1>SELECT taxid
      2  FROM   taxids
      3  WHERE  locationid    = 111
      4  AND    NVL(STATUS,0) = 0
      5  AND    ROWNUM        = 1
      6  FOR UPDATE;
         TAXID
        100101
    Session1>
    --> Session 2 with same statement hangs until
    Session1>BEGIN
      2   UPDATE taxids SET status=1 WHERE taxid=100101;
      3   COMMIT;
      4  END;
      5  /
    PL/SQL procedure successfully completed.
    Session1>
    --> At which point, Session 2 returns
    Session2>SELECT taxid
      2  FROM   taxids
      3  WHERE  locationid    = 111
      4  AND    NVL(STATUS,0) = 0
      5  AND    ROWNUM        = 1
      6  FOR UPDATE;
         TAXID
        100101
    Session2>There's no way that session 2 should have returned 100101. That is the point of FOR UPDATE. It completely reintroduces the lost UPDATE scenario.
    Secondly, what happens if we drop the index.
    Let's reset the data and drop the index:
    Session1>UPDATE taxids SET status=0 where taxid=100101;
    1 row updated.
    Session1>commit;
    Commit complete.
    Session1>drop index NI_TaxIdsStatus;
    Index dropped.
    Session1>Then try again:
    Session1>SELECT taxid
      2  FROM   taxids
      3  WHERE  locationid    = 111
      4  AND    NVL(STATUS,0) = 0
      5  AND    ROWNUM        = 1
      6  FOR UPDATE;
         TAXID
        100101
    Session1>
    --> Session 2 hangs again until
    Session1>BEGIN
      2   UPDATE taxids SET status=1 WHERE taxid=100101;
      3   COMMIT;
      4  END;
      5  /
    PL/SQL procedure successfully completed.
    Session1>
    --> At which point in session 2:
    Session2>SELECT taxid
      2  FROM   taxids
      3  WHERE  locationid    = 111
      4  AND    NVL(STATUS,0) = 0
      5  AND    ROWNUM        = 1
      6  FOR UPDATE;
         TAXID
        100102
    Session2>Proves nothing, Non-deterministic ROWNUM you say.
    Then let's reset, recreate the index and explicity ask then for row 100101.
    It should give the same result as the ROWNUM query without any doubts over the ROWNUM, etc.
    If the original behaviour was correct, session 2 should also be able to get 100101:
    Session1>SELECT taxid
      2  FROM   taxids
      3  WHERE  locationid    = 111
      4  AND    NVL(STATUS,0) = 0
      5  AND    taxid         = 100101
      6  FOR UPDATE;
         TAXID
        100101
    Session1>
    --> same statement hangs in session 2 until
    Session1>BEGIN
      2   UPDATE taxids SET status=1 WHERE taxid=100101;
      3   COMMIT;
      4  END;
      5  /
    PL/SQL procedure successfully completed.
    Session1>
    --> so session 2 stops being blocked and:
    Session2>SELECT taxid
      2  FROM   taxids
      3  WHERE  locationid    = 111
      4  AND    NVL(STATUS,0) = 0
      5  AND    taxid         = 100101
      6  FOR UPDATE;
    no rows selected
    Session2>Of course, this is how it should happen, surely?
    Just to double check, let's reintroduce ROWNUM but force the order by to show it's not about read consistency at the start of the statement - restart should prevent it.
    (reset, then)
    Session1> select t.taxid
      2   from
      3    (select taxid, rowid rd
      4      from   taxids
      5      where  locationid = 111
      6      and    nvl(status,0) = 0
      7      order by taxid) x
      8   ,  taxids t
      9   where t.rowid = x.rd
    10   and   rownum = 1
    11   for update of t.status;
         TAXID
        100101
    Session1>
    --> Yes, session 2 hangs until...
    Session1>BEGIN
      2   UPDATE taxids SET status=1 WHERE taxid=100101;
      3   COMMIT;
      4  END;
      5  /
    PL/SQL procedure successfully completed.
    Session1>
    --> and then
    Session2> select t.taxid
      2   from
      3    (select taxid, rowid rd
      4      from   taxids
      5      where  locationid = 111
      6      and    nvl(status,0) = 0
      7      order by taxid) x
      8   ,  taxids t
      9   where t.rowid = x.rd
    10   and   rownum = 1
    11   for update of t.status;
         TAXID
        100102
    Session2>Session 2 should never be allowed to get 100101 once the lock is released.
    This is a bug.
    The worrying thing is that I can reproduce in 9.2.0.8 and 11.2.0.2.

  • 0CRM_OPPT_H  (Transaction RSA3 gives wrong result)

    Hi gurus,
    <b>0CRM_OPPT_H  (Transaction RSA3 gives wrong result)
    BBPCRM 4.0
    BW 3.50 version</b>
    I had enhanced the structure "crmt_bw_oppt_h"
    and also written a BADI to populate Opportunity header status.
    But when I run extract checker RSA3 for CRM data,
    I get wrong number of records.
    I am having 95 records for Opportunities header data.
    Data Records / Call = "100"
    Display Extr. Calls = "10"
    Above settings, I am retrieving only 61 records.
    <b>Data Records / Call = "1"
    Display Extr. Calls = "200"
    For the above settings in RSA3,
    I am able to retrieve 95 records correctly.</b>
    The problem is that in RSA1 transaction of BW 3.50 server also,
    61 records are being loaded from CRM server.
    <b>Could this be a Cache memory problem,
    Are any of my BASIS settings a cause for this problem?</b>
    Any help is really appreciated and will be rewarded.
    Thanks,
    Aby Jacob
    ========

    Dear Friends,
    <b>I had to do a small correction in my BADI code.
    I got a solution from Online SAP HELP portal.</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/eb/3e7cf4940e11d295df0000e82de14a/frameset.htm
    Notes on BADI Usage
    ====================
    The instance generated through the factory method should be declared
    as globally as possible or generally be passed as a parameter
    to ensure that the initialization process must be run as rarely as possible
    – just once would be best. In no case should you discard the instance as soon as
    it is generated or repeatedly run the initialization process in a loop.
    Within the adapter class interface,
    required database accesses are buffered locally,
    so that each access is executed once only.
    However, repeated initialization makes
    the buffer useless and dramatically reduces performance.
    Due to the local buffering, you can call Business-Add-In methods
    without having to expect considerable performance restrictions,
    even if no active implementations exist.
    Also, if the definition of the Business-Add-In is filter-dependent,
    a single instance is sufficient.
    However, you should not do without initialization altogether.
    Even if you could call static methods of the implementing
    class of the Business-Add-In implementation without an instance,
    you would lose the benefit of performance improvement through
    the Business-Add-Ins and the possibility of multiple use.
    If you switch the method type in the interface from the static method
    to the instance method at any time in the future,
    many code adjustments are required.
    In addition, you can no longer use default code that is provided.
    <b>Many Thanks to ROBIN
    and the whole SDN team</b>
    Aby Jacob ,,,,,

  • Since iCloud downloaded, mac pro has not been able to sync, unable to save info, bookmarks, lost all contact info, gives wrong info on laptop status

    since iCloud downloaded, mac pro has not been able to sync, unable to save info, bookmarks, lost all contact info, gives wrong info on laptop status, help please

    since iCloud downloaded, mac pro has not been able to sync, unable to save info, bookmarks, lost all contact info, gives wrong info on laptop status, help please

  • Time machine gives wrong size in lion 10.7.4

    The hard drive has a total size of 250 gb but time machine gives wrong size of 750 gb??

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Console in the page that opens.
    Select "system.log" from the file list. Enter "backupd" (without the quotes) in the String Matching text field. Post the messages from the last backup, beginning with "Starting standard backup."
    Post the log text, please, not a screenshot. If there are runs of repeated messages, post only one example of each. Do not post many repetitions of the same message.
    Some personal information, such as the names of your files, may be included — edit that out, too, but don’t remove the context.

  • HT5616 my iPhone i cloud verification email id i give wrong so what i can do the email changing?

    my iPhone i cloud verification email id i give wrong so what i can do the email changing?

    First off try and go into your IPhone manually through My Computer and cut photos or anything you can through the device to be able to free space up so that you can continue to do what you want to do with ITunes. This way you will be able to create a backup or do what you have to do to manage your information, photos and texts on your device a little better.

  • Why java gives wrong answer

    float f=40.3f;
    System.out.println(f%4);
    The answer for above must be 0.3 but java gives 0.29999924
    WHY????
    (This answer is ok for small calculations but it may give wrong answers for large calculations)

    float f=40.3f;
    System.out.println(f%4);
    The answer for above must be 0.3 but java gives
    0.29999924
    WHY????
    (This answer is ok for small calculations but it may
    give wrong answers for large calculations)Use BigDecimal with MathContext or roll your own Fraction class- this way any repeating decimal is represented exactly.
    Message was edited by:
    snic.snac

  • Issue with proc-ora-06550 wrong number or types of arguments in call to

    Hi....
    When i am running the flollwing procedure as
    SQL> exec Prc_WA_Default_Currt_flag(15445);
    the following error is thrown.......could someone help me and please let me know how this can be corrected.
    BEGIN Prc_WA_Default_Currt_flag(15445); END;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to
    'PRC_WA_DEFAULT_CURRT_FLAG'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    ***proc code****
    CREATE OR REPLACE procedure Prc_WA_Default_Currt_flag(Instance_Id_Upd_in in number,dummy1 out number) as
    Instance_Id_Upd1 number;
    dummy2 number;
    cursor c1 is select rwid from wa_temp_default;
    begin
    Instance_Id_Upd1:=Instance_Id_Upd_in;
    for i in c1 loop
    update default_event_log set current_flag=null,Instance_id_upd=Instance_Id_Upd1
    where rowid =i.rwid and load_date<(select currLoadtime from wa_batch where
    jobname='Default_event_log') and current_flag='Y';
    end loop;
    commit;
    for i in c1 loop
    update default_event_log set current_flag='Y'
    where load_date>=(select currLoadtime from wa_batch where
    jobname='Default_event_log') and rowid=i.rwid;
    end loop;
    commit;
    select to_number(Instance_Id_Upd1) into dummy1 from dual;
    end;
    /

    Hi,
    Since it contains an out parameter it has to run this way
    declare
    dummy_out number;
    begin
    prc_wa_default_currt_flag(15445,dummy_out);
    end;Regards
    Anurag

  • Numbers gives wrong answer.

    On my numbers (v3.1) spreadsheet on Mac (Mavericks, iMac , OSX 10.9.1), 83177.2-78342.53 comes out 4834.66999999999.  I'm pretty sure this is the wrong answer (there should be no repeating digit at the end.  What gives?

    John,
    this is a fact of compuing that there finite precision available.  People write very sophisticated and expensive libraries for extrememly large and small numbers.  At 11 decimal places you are past the believable, and reaonable, number of digits of precision.
    the error of 4834.66999999999 vs 4834.67 is:
    |4834.66999999999 - 4834.67| / 4834.67
    this is: 2.068e-13 percent
    I would suggest using the number of decimal places that are reasonable for your data and get something done rather than focusing on this detail.  It is not a problem and, while I am not an Apple employee, based on my experince as an embedded developer, and Electrical Engineer, and based on my experience with Apple you can expect no change with regard to this.
    If you are very interested in precision and range of digital values peruse this information:
    http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic
    and this:
    http://www.nongnu.org/hpalib/
    And this:
    https://gmplib.org

  • Help - importing album that when synched with store gives wrong info

    This has happened a few times, when I am importing one of my own discs, and i-tunes gets the track names etc from online, it offers me a number of options of discs with the same name, but without the option of seeing any more details about them. So I pick one, and it turns out that the track names are all in Chinese (or German, or just wrong). How do I remove the association with that disc and go back and associate it with the other disc (always hoping it will be right!), or do I just have to do it by hand and type the right track names in myself?
    Thanks for any help anyone can give me.

    Thanks for your swift response Chris.
    I am just astounded that this is the only solution. It would be such an easy thing for iTunes to have a check box, so that you could automatically keep tracks all on the same album regardless of artist.
    I have already imported my music and will have to now redo it with the amendments to each album as you suggested. I have hundreds of albums and this will take some time.
    This is disappointing.
    A.
    Message was edited by: Britami

Maybe you are looking for

  • How do I use my external harddrive with FCPX?

    So I have 1 TB external hard drive and want to back up my movie and media files using the hard drive so I don't take up a ton of space on my internal HD. How do I do it so it doesn't save onto my computer, and only my hard drive. Final Cut pro uses u

  • Photos are printing completely black?!

    I have an HP D110 printer and an iPad running iOS 4.3.1. When using AirPrint to print photos, the photos are printing completely black. I restored the factory settings on the printer. Emails are printing fine using AirPrint. So far neither HP or Best

  • Lens Profile Tool Addition – White Balance Offset Correction

    I have noticed that my Canon 17-40mm and 70-200mm F4 IS lenses have virtually identical color temperature and can use the same white balance setting. My Sigma 50mm F2.8 Macro lens is another story, requiring almost 200K and +15 change to White Balanc

  • Mac mini stopped 'seeing' airport express

    Yesterday my mac mini stopped being able to sustain a connection to my wireless network (cable modem connected to Airport Express base station). All the other computers on the network are still working fine; the mini will connect for a bit (at weaker

  • IPod will not upload files

    My 80 GB iPod crashed and prompted me to restore the settings. I did that and lost my music library. When I tried to upload it, I received two error messages: the first-- ERROR WINDOWS DELAY WRITE Windows was unable to save all the data for the file