Cannot stop and start CCMS agent

Hi experts,
I'm new to SAP and here we have problem on sapccmsr agent not running. Previously the sapccmsr was running fine until one day it is not. When i tried to start the application, it says that theres another CCMS agent running with the profile:
bcuser> code/libs/sapccmsr -DCCMS pf=saploc/oscol.pfl
INFO: CCMS agent sapccmsr working directory is /sbdc/sapbc47/Server/packages/SAPMonitoring/saploc/PRFCLOG/sapccmsr
INFO: CCMS agent sapccmsr config file is /sbdc/sapbc47/Server/packages/SAPMonitoring/saploc/PRFCLOG/sapccmsr/csmconf
INFO: Central Monitoring System is [M04]. (found in config file)
INFO: Checking shared memory status of sapccmsr
Another CCMS Agent is already running with this profile.
EXITING with code 0
bcuser> ps -ef | grep sapccmsr | grep -v grep
bcuser>
And when i tried to stop the sapccmsr manually, it failed:
bcuser> code/libs/sapccmsr -stop pf=saploc/oscol.pfl
INFO: CCMS agent sapccmsr working directory is /sbdc/sapbc47/Server/packages/SAPMonitoring/saploc/PRFCLOG/sapccmsr
INFO: CCMS agent sapccmsr config file is /sbdc/sapbc47/Server/packages/SAPMonitoring/saploc/PRFCLOG/sapccmsr/csmconf
INFO: Setting Stop Flag for sapccmsr
INFO: Waiting for background process to stop...
INFO: Background process has not stopped after 10 seconds.
INFO: Process might be busy..
INFO: Please try again.
EXITING with code -1
bcuser>
Yeah i think it is because there is no sapccmsr processes running!
My question is; how to force the sapccmsr to start? I already delete the sapccmsr.pid but no success.
The last resort would be to restart the box but unfortunately, thats not the feasible option... for the time being...
Please help....
Thanks in advance

try to execute execute ./sapccmsr pf=/usr/sapSID/SYS/profile/PROFILE -j2ee -initshm
filter on
INFO: Attached to Shared Memory Key 73 (size 60000000), no pool used
so you see the size of the shared memory is 60000000
then execute on solaris
ipcs -ma |grep 60000000
this will result in keys with size 60000000
m 108039 0x4761 rw-r--- eppadm sapsys eppadm sapsys 1 60000000 4955 20441 11:40:28 11:40:28 8:30:38
m 5744 0x3d9d rw-r--- yppadm sapsys yppadm sapsys 1 60000000 29224 29224 15:22:23 15:22:24 15:22:23
m 30323 0x3f91 rw-r--- yppadm sapsys yppadm sapsys 1 60000000 29480 29480 15:22:33 15:22:35 15:22:33
m 150522485 0x46fd rw-r--- eppadm sapsys eppadm sapsys 4 60000000 21181 5909 12:05:31 12:05:31 17:03:39
in this case there are 4 with size 60000000 our instance EPP both ccms agents had a problem so we cleaned those 2 entries
ipcrm -m 108039 -m 150522485
afterwards the agents were able to start

Similar Messages

  • Stopping and Starting CCM.

    Hello All,
    Is there a certain order to shut down CCM's? If so what are they. Should I shut down the Sub and Then Pub. and Start them in a reverse order?
    Thanks in Advance.

    I'm not sure that the shutdown order is as important as the start up order.
    Whether your starting or re-booting the servers, you should start with the publisher, then the DHCP server, then the subscribers. That's the order the TAC has recommended on several occassions and it's worked well for us.
    I do recall that some special database stuff happens if the subscriber can't communicate to the publisher after a while, so, working with that, I would suggest that the publisher is shut down last.

  • Srvctl on 11.2.0.3 does not stop and start listeners

    I recently installed the Grid software under the "grid" user on RH5. Clusterware and ASM run under GRID_HOME, the single instance database runs under ORACLE_HOME. I have created 2 listeners on non-default ports (manually using entried in listener.ora) and then added to srvctl (srvctl add listerner -l LISTENER_XPT -o /app/oracle/product/dhome_1 -p "TCP:1523" -- in ORACLE_HOME.
    When stopping the listener using:
    oracle@#####>srvctl stop listener -l LISTENER_XPT -- note starting with oracle user in ORACLE_HOME. Below is from "/app/grid/product/11.2.0/grid/log/server_name/agent/ohasd/oraagent_grid/oraagent_grid.log
    2012-06-12 12:48:00.549: [ora.LISTENER_XPT.lsnr][1125030208] {0:0:1233} [check] (:CLSN00010:) TNS-00511: No listener
    2012-06-12 12:48:00.549: [ora.LISTENER_XPT.lsnr][1125030208] {0:0:1233} [check] (:CLSN00010:) Linux Error: 111: Connection refused
    2012-06-12 12:48:00.549: [ora.LISTENER_XPT.lsnr][1125030208] {0:0:1233} [check] (:CLSN00010:)Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1523)))
    2012-06-12 12:48:00.549: [ora.LISTENER_XPT.lsnr][1125030208] {0:0:1233} [check]
    **********FROM TAILING THE listener LOG ****************************
    TNS-01190: The user is not authorized to execute the requested listener command
    12-JUN-2012 12:44:12 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=v01orarac01w)(USER=grid))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER_XPT)(VERSION=186647296)) * status * 0
    TNS-01195: Listener rejected registration of endpoint "(ADDRESS=(PROTOCOL=TCP)(HOST=10.5.87.5)(PORT=1523)(IP=FIRST))"
    12-JUN-2012 12:50:02 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=v01orarac01w)(USER=grid))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER_XPT)(VERSION=186647296)) * status * 0
    TNS-01190: The user is not authorized to execute the requested listener command
    12-JUN-2012 15:12:58 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=v01orarac01w)(USER=grid))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER_ADMIN)(VERSION=186647296)) * status * 0
    12-JUN-2012 15:12:58 * version * 0
    12-JUN-2012 15:12:58 * service_register * LsnrAgt * 1195
    TNS-01195: Listener rejected registration of endpoint "(ADDRESS=(PROTOCOL=TCP)(HOST=********)(PORT=1524)(IP=FIRST))"
    12-JUN-2012 15:12:59 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=********)(USER=grid))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER_XPT)(VERSION=186647296)) * status * 0
    12-JUN-2012 15:13:05 * (CONNECT_DATA=(SID=PRDRAC01)(CID=(PROGRAM=perl)(HOST=********)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=*******)(PORT=41398)) * establish * PRDRAC01 * 0
    Why wouldnt the Oracle user not be able to start/stop a resource from ORACLE_HOME ? Any assistance would be helpful

    I just removed the listener out of the ORACLE_HOME and added it using srvctl to the GRID_HOME. Now I am able to stop and start.
    Still the question, why cant oracle user start an oracle_home managed resource. But the oracle user could start and stop using lsnrctl stop/start
    Below if the results from ps (note I just started listener from GRID_HOME):
    grid@PRODBLD:+ASM>ps -ef |grep lsnr
    grid 9114 1 0 09:40 ? 00:00:00 /app/grid/product/11.2.0/grid/bin/tnslsnr LISTENER_ADMIN -inherit
    grid 10348 1 0 Jun12 ? 00:00:00 /app/grid/product/11.2.0/grid/bin/tnslsnr LISTENER -inherit
    grid 20234 21990 0 09:49 pts/2 00:00:00 grep lsnr
    oracle 29926 1 0 Jun12 ? 00:00:00 /app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr LISTENER_XPT -inherit

  • SSRS Report queries begin running slowly, have to stop and start report server to restore performance

    We have had a production issue crop up twice now where reports begin running slowly seemingly at random.  
    When this happens we can see from running SQL Profiler that the report queries are taking an extremely long time to execute.  The same queries when run directly in management studio run quickly.  
    Initially I suspected parameter sniffing, and tried using OPTION (RECOMPILE) in the reports, as well as clearing out the particular query from the plan cache and running the SQL in SSMS to try and get a better plan etc but no amount of jiggery pokery by
    me could get the queries to run any faster.
    The really weird thing - is that stopping and starting the report server via the reporting services configuration manager instantly cures the problem.  
    I'd really love to know - why this might be?  Is it something to do with the report server closing and re-opening its connections to the database? That's the only sort of thing I can think of...any ideas? Anyone? Any suggestions would be much appreciated.
    LucasF

    Hi LucasF,
    In your scenario, usually we can monitor the execution log in Report Database. If you run below query, you can get the results how long the report takes to render (TimeRendering), how long to process the report(TimeProcessing) and how long to retrieve data
    from Database(TimeData). You can check the starttime and endtime to know the total time for executing a report.
    SELECT TOP1000 *FROM[ReportServer].[dbo].[ExecutionLog2]
    More details information, please reference to similar thread below:
    Steps for troubleshooting a slow SSRS 2014 server
    Troubleshooting Reports: Report Performance
    In SQL Server Reporting Services, a job will be created by SQL Server Agent if any of the following processes is underway:
    query execution on a remote or local database server
    report processing
    report rendering
    To cancel a job that is running on the report server, we can cancel the job directly or reduce the report execution time-out value in the SQL Server Management Studio and then will stop query execution. Please refer to the steps below:
    Open SQL Server Management Studio, and connect to "Reporting Services".
    Under the Report Server node, right-click on the "Jobs" folder and select "Refresh". Then, right-click on "Jobs" again and click "Cancel All Jobs".
    Right-click on the Report Server node and open the "Server Properties" dialog.
    Click the "Execution" option, and set the "Limit report execution to the following number of seconds:" to a much smaller number. After this issue is resolved, this configuration should revert to the previous state.  
    Reference:
    Managing a Running Process
    Setting Time-out Values for Report and Shared Dataset Processing
    In addition, we can also use the KILL Transact-SQL statement to terminate a normal connection by terminating the transactions that are associated with the specified session ID. For the details information, you can refer to:
    KILL (Transact-SQL)
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Script to stop and start Business Object and its components

    Hi Guru
    I have installed Business Objects and few of its componenents.
    Please assist where I can find a proper script to do a clean stop and start of its services.
    My server is Windows 2008 SP2.
    Target services to have a scripts are;
    1. MySQL server 5.1.
    2. Apache Tomcat 5.5.20.
    3. BW Publisher Service 12.
    4. Server Intelegence Agent.
    Appreciate some assistance here. Thanks!
    -Ace-

    All of those components are available as Windows services. You can use the relevant
    net stop
    commands to stop them.
    Regards,
    Stratos

  • How to stop and start only the process of Oracle Application Express?

    I'd like to know how to stop the process of Oracle Application Express on my server installed oracle express package.
    After installed Oracle Express edition, not only oracle database server processes but also Oracle Application Express, such as http server, is started automatically...
    I hope to stop and start Application Express on demand but is this feature enabled?

    Oracle Apex is an API, if that helps you understand / visualize. You do not start Apex process nor stop it.
    When an Apex session starts it starts calling the API.
    You can however start / stop the listener. It may be OHS, ApexListener and the J2EE container running it, OC4J or any other "server" that you are using.
    The built-in EPG is something like an API again, you cannot start / stop it but you can disable/enable it with DBMS_XDB.SETHTTPPORT API.
    Regards,

  • Stop and start databases

    I need to shutdown all my databases (ifs_Data and OEMREP), because computer people are going to run periodically a process to backup them. But I cannot find how to stop and start my oracle databases by commands (I need to create a bat file). I am using Win2000, Oracle 9 and iFS 9.0.1
    Thanks for the suggestions,

    This can be a procedure to shutdown a database:
    SET ORACLE_SID=<database_sid>
    sqlplus /nolog
    conn / as sysdba
    shutdown <option>;
    exit
    <option> = Abort ( Not recommendable ), Immediate, transactional, normal.
    Joel Pérez

  • How to STOP and START the BO EXPLORER/POLESTAR - LINUX

    Dear friends,
    Could you please let me know on How to STOP and START the BO EXPLORER/POLESTAR on LINUX platform?
    Thank you,
    Nikee

    Oracle Apex is an API, if that helps you understand / visualize. You do not start Apex process nor stop it.
    When an Apex session starts it starts calling the API.
    You can however start / stop the listener. It may be OHS, ApexListener and the J2EE container running it, OC4J or any other "server" that you are using.
    The built-in EPG is something like an API again, you cannot start / stop it but you can disable/enable it with DBMS_XDB.SETHTTPPORT API.
    Regards,

  • defunct process when stop and start web server

    Dear all,
    I am using Sun One Web Server 6.1 SP6. When i try to stop and then start the web server. The <defunct> process is generated (his parent PID points to webservd).
    The following is the result:
    1st stop and start the web server (defunct process is generated)
    2nd stop and start the web server (defunct process disappears)
    3rd stop and start the web server(defunct process is generated)
    4th stop and start the web server (defunct process disappears)
    Here is my magnus.conf
    ServerID www
    ServerName www.abc.edu.hk
    ErrorLog /i03_01/SUNWwbsvr616/https-www/logs/errors
    PidLog /i03_01/SUNWwbsvr616/https-www/logs/pid
    User nobody
    DNS off
    Security off
    ClientLanguage en
    AdminLanguage en
    DefaultLanguage en
    RqThrottle 512
    StackSize 131072
    Init fn="load-modules" funcs="caspreq,caspinit,casptrans" shlib="/i03_01/casp/module/sunos5_optimized/netscape_6.x/nes_casp2.so"
    Init fn="caspinit" casplib="/i03_01/casp/asp-server-3078"
    Init fn="load-modules" funcs="htaccess-init,htaccess-find" shlib="/i03_01/SUNWwbsvr616/plugins/htaccess/htaccess.so"
    Init fn="htaccess-init"
    Init access="/i03_01/SUNWwbsvr616/https-www/logs/access" format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% %Req->srvhdrs.content-length% \"%Req->headers.referer%\" \"%Req->headers.user-agent%\"" fn="flex-init"
    Init fn="load-modules" shlib="/i03_01/SUNWwbsvr616/bin/https/lib/libj2eeplugin.so" shlib_flags="(global|now)"
    TempDir /tmp/https-www-61c30017
    # Load modules for PHP
    Init fn="load-modules" funcs="php4_init,php4_execute,php4_auth_trans" shlib="/i03_01/SUNWwbsvr616/bin/libphp4.so"
    Init fn="php4_init" LateInit="yes" errorString="Failed to initialize PHP!" [php_ini="/i03_01/SUNWwbsvr616/https-www/config/php.ini"]
    # Enable statistics
    Init fn="stats-init" update-interval="5" virtual-servers="100" profiling="yes"
    any ideas? Thank

    - which OS & version are you running into this issue ?
    - By definition, defunct processes (or zombie processes) are processes that have exited prior to it's parent calling a wait() on it to get the return status .
    - couple of things I can think of to narrow down the cause of this issue
    1. disable ASP & php plugins and see if this still causes this issue
    2. try starting the web server with log level to finest and see fi you get any useful information from the server error logs
    hope this helps

  • Sound stops and starts with x-fi titanium pci e

    I am going nuts with this problem and creative support is not much help atm, so I have been troubleshooting myself. Whats going on is my sound stops, starts, and stutters a lot. It is pretty bad when I play music files but it is absolutely horrible when I watch videos like on CNN or YOU TUBE. It is like a old vinyl record skipping, except when this gets off a stutter, it races to where it should be on the time line. Also my creative console does not work right. I cannot use the equalizer, as the custom, rock, pop music select is greyed out and the box is checked to use the equlaizer. It also disappears when I click on a few tabs, like between speakers, bass, equalizer..then its just gone and I have to click the shortcut again to get it back.
    What I have done so far is un-install everything, and do a clean boot, then re-install and I have the same problems. Though I downloaded the creative console beta(2.6.49) and it seemed to have fixed my issues with that. But downloading the new drivers (2.7.8) does not fix the stopping and starting.
    Any suggestions?
    I should mention I use klipsitch speakers..2.1, I don't have surround sound anymore.
    Customer service had me run a registry cleaner and use it to uninstall everything creative. I used CCleaner, then used direct links to download drivers...again...(2.7.8) and a creative console(2.6.35)..guess what? It didn't work, same problems, though I downloaded and re-installed the beta for the creative console(2.6.49) and now it works fine. I also did all this under a clean boot..again.

    Check if "Play Stereo Mix using Digital Output" is checked in the Console launcher in Settings/Digital IO.

  • Order of stop and start of reporting services

    Hi All,
    I am using 11.1.1.3 version in my laptop,i want know the correct order of stop and start the services,please help me on this.
    Thanks
    Hypuser

    The full order list can be found at :- http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_install/ch05s02.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Music skips and stops and starts

    Hello, we have just got a nano to replace a 3rd gen iPod.
    I have around 50 gigs of music on a lacie USB drive, and the music plays flawlessly from here in iTunes.
    However once imported into the nano, there is distortion, jumps and clicks in the music and sometimes the song will just stop and start from the beginning.
    Any ideas?

    Gary,
    You chould check out this thread we have going.
    http://discussions.apple.com/thread.jspa?threadID=356911&tstart=0
    Toshiba Satellite P25-609   Windows XP Pro   Media Center Edition iPod Nano 2G (as black as my cold, dead heart)

  • How may I automatically stop and start Mail services at a set time please

    Hi folks. I was wondering if anyone could tell me how to automatically stop and start Mail services (or any other services) at a set time please in Leopard Server? Is there a script someone has created which might help?
    Cheers, David ( a realy newbie when it comes to administering OS X server)

    launchd works through a series of XML documents that define tasks to run, either at launch, on a time schedule, in response to network events, etc.
    So you'll need to create two .plists - one to start the mail server and one to stop it. They should be saved in /Library/LaunchDaemons. I'd suggest something like:
    /Library/LaunchDaemons/local.postfix.stop.plist:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple
    .com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
      <key>Label</key>
      <string>local.postfix.stop</string>
      <key>ProgramArguments</key>
      <array>
        <string>/usr/sbin/serveradmin</string>
        <string>stop</string>
        <string>mail</string>
      </array>
      <key>StartCalendarInterval</key>
      <dict>
        <key>Hour</key>
        <integer>1</integer>
        <key>Minute</key>
        <integer>00</integer>
      </dict>
    </dict>
    </plist>
    and /Library/LaunchDaemons/local.postfix.start.plist:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple
    .com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
      <key>Label</key>
      <string>local.postfix.start</string>
      <key>ProgramArguments</key>
      <array>
        <string>/usr/sbin/serveradmin</string>
        <string>start</string>
        <string>mail</string>
      </array>
      <key>StartCalendarInterval</key>
      <dict>
        <key>Hour</key>
        <integer>4</integer>
        <key>Minute</key>
        <integer>00</integer>
      </dict>
    </dict>
    </plist>
    You'll need to either use launchctl load /Library/LaunchDaemons/local.postfix.stop (or start) to load the tasks, or reboot your server.
    I'm curious, though, as to why you want to do this. Mail is typically one of the services that people want to run 24/7 so they don't miss out on any emails (even though SMTP can tolerate this). Why do you want to shut yours down?

  • MacBook Pro hard disk stops and starts

    Why does the hard disk on MacBook Pro stop and start every 15 minutes or so? All operations suddenly stop for five to ten seconds during the spin down. I don't recall this happening in OS 10.5. The preference "Put the hard disk to sleep when possible" is NOT ticked, therefore the drive should never spin down.
    Any ideas?

    Try resetting your SMC.   Resetting the System Management Controller  >>
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G + 120G OCZ Vertex 3 SSD Boot HD 

  • APEX 4.2 aligning issue of Stop and Start Grid Layout item

    My APEX application application is in the process of moving from 4.0 to 4.2.  I am experiencing an issue with aligning (left margin justified) of Stop and Start Grid Layout items that have a border around them.  Earlier I had an issue with the border itself not showing up in the 4.2 application.  I was able to resolve that with a workaround by adding inline code in the CSS section of the page: #P23_OFFICE_START_TBL {width:682; border:1px solid #369; margin:5px;}. This created the border which I needed, but there are 2 Stop and Start Grid Layout items that are indented and not aligning with the border of the previous line.  I have tried a number of different things but none of them have worked.  This seems like a very simple issue to fix but I am having a tough time resolving it.
    I tried to put the item in question in a different grid, which corrected the indention but then I lost the border around the item.  It seems that the above CSS code does not work on the new grid.  I also tried to put attributes such as margin-left:5px; float: left; clear: left; float: left, in the CSS code but that did not work, too.
    Any suggestions?
    Thanks
    Ajay K

    I deleted and added back the Stop and Start Grid Layout items not aligning properly.  This worked.  Apparently, the 4.0 to 4.2 upgrade did not handle/convert these items properly.  Deleting and adding them back resolved the issue.

Maybe you are looking for

  • Hints on Interactive Report's column headers

    Hi, I've used +"< spa.n title = "Hint" > Header < / span>"+ (the first 'spa.n' is so it doesn't interpret as code) to put hints on my report columns headers but found that, when using interactive report's tools, the column names that appear obviously

  • Ibook to desktop syncing best practices

    trying to keep my ibook in sync with my g5 desktop. Client projects in addition to the entourage data files, etc.. I've come across numerous scenarios and recommendations. Anyone with any best practice suggestions, ie: software, syncing scenarios, au

  • Best way to use Skype number with phones/PC?

    I am considering switching my home business phone to a Skype number.  The ideal useage solution would be to be able use Skype on my PC while at my desk, and route to the phone (or my cell) at other times. I see that you offer the FreeTalk Home adapte

  • GOS / TOA01 & ArchiveLink

    Hi, I would like to add my own entries in the GOS, save the file saved with this link in a specific place using the TOA01 table. so... what I have done -> Trans. SWO1 create my own entries -> Trans. OAC2 : create my doc type : ZBA_CC link to PDF file

  • Create directory with FileOutputStream

    I'm on a directory dir1. I write out = new FileOutputStream(./dir2/doc.html); and when I execute I have : ./dir2/doc.html : no such file or directory of course this directory doesn't exist. Is it possible that the constructor create the directory ? O