Chkconfig not working on OEL 5.7 (services are not stopped during reboot)

Hi all,
I am trying to use chkconfig to configure a "service" on Oracle Linux 5.7 .
I noticed that the script is called during system boot with the "start" option, but it is not called during system shutdown !
The script is:
[root@srv-db5 ~]# cat /etc/init.d/oradb
#!/bin/bash
# chkconfig: 35 99 10
# description: Starts and stops Oracle processes
# Set ORA_HOME to be equivalent to the $ORACLE_HOME
# from which you wish to execute dbstart and dbshut;
# Set ORA_OWNER to the user id of the owner of the
# Oracle database in ORA_HOME.
ORA_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
ORA_OWNER=oracle
case "$1" in
'start')
/bin/echo "" >> /tmp/oradb.log 2>&1
/bin/echo "$0 start - `/bin/date` " >> /tmp/oradb.log 2>&1
touch /var/lock/subsys/dbora
'stop')
/bin/echo "$0 stop - `/bin/date` " >> /tmp/oradb.log 2>&1
/bin/echo "" >> /tmp/oradb.log 2>&1
rm -f /var/lock/subsys/dbora
esac
# End of script oradb
chkconfig can read it:
[root@srv-db5 ~]# chkconfig --add oradb
[root@srv-db5 ~]# chkconfig --list oradb
oradb 0:off 1:off 2:off 3:on 4:off 5:on 6:off
[root@srv-db5 ~]#
and chkconfig creates all the expected symlinks :
[root@srv-db5 ~]# find /etc/ -type l -iname "*oradb*" -exec ls -l \{} \; | sort
lrwxrwxrwx 1 root root 15 Dec 6 11:51 /etc/rc.d/rc0.d/K10oradb -> ../init.d/oradb
lrwxrwxrwx 1 root root 15 Dec 6 11:51 /etc/rc.d/rc1.d/K10oradb -> ../init.d/oradb
lrwxrwxrwx 1 root root 15 Dec 6 11:51 /etc/rc.d/rc2.d/K10oradb -> ../init.d/oradb
lrwxrwxrwx 1 root root 15 Dec 6 11:51 /etc/rc.d/rc3.d/S99oradb -> ../init.d/oradb
lrwxrwxrwx 1 root root 15 Dec 6 11:51 /etc/rc.d/rc4.d/K10oradb -> ../init.d/oradb
lrwxrwxrwx 1 root root 15 Dec 6 11:51 /etc/rc.d/rc5.d/S99oradb -> ../init.d/oradb
lrwxrwxrwx 1 root root 15 Dec 6 11:51 /etc/rc.d/rc6.d/K10oradb -> ../init.d/oradb
if Itry to manually issue "service oradb start | stop " everything works fine:
[root@srv-db5 ~]# > /tmp/oradb.log
[root@srv-db5 ~]# service oradb start
[root@srv-db5 ~]# cat /tmp/oradb.log
/etc/init.d/oradb start - Tue Dec 6 12:01:14 CET 2011
[root@srv-db5 ~]# service oradb stop
[root@srv-db5 ~]# cat /tmp/oradb.log
/etc/init.d/oradb start - Tue Dec 6 12:01:14 CET 2011
/etc/init.d/oradb stop - Tue Dec 6 12:01:23 CET 2011
but if I do a reboot, I see that my script has not been called during system shutdown :
[root@srv-db5 ~]#
[root@srv-db5 ~]# cat /tmp/oradb.log
/etc/init.d/oradb start - Tue Dec 6 12:01:14 CET 2011
/etc/init.d/oradb stop - Tue Dec 6 12:01:23 CET 2011
/etc/rc5.d/S99oradb start - Tue Dec 6 12:03:50 CET 2011
[root@srv-db5 ~]#

Perhaps the problem isn't your dbora script, but some other stop script that stops the shutdown execution, or e.g. removing the dbora file inside the /var/lock/subsys directory, and then when K10dbora is involved, it believes dbora is not running and hence does not need to be shut down.
See if you have anything in /etc/rc0.d that might conflict with the K10dbora script.
What happens if you change:
# chkconfig: 35 99 10
to
# chkconfig: 35 99 01
and reconfigure, so that the dbora script is called before K02, etc.?
Edited by: Dude on Dec 6, 2011 6:37 AM

Similar Messages

  • Services are in stop condition

    Hi,
    We installed Dev & Quality systems for PI/XI-7.0 on same host,
    We are taking central SLD on Dev for Quality system,
    We are following note-940309,regarding this note we have to change the client for the following services 1) AI_DIRECTORY_<sid> 2) AI_RUNTIME_<SID> 3) LCRSAPRFC_<SID> 4) SAPSLDAPI_<SID>, after changing the client-100,these services are in stop condition,
    which Gateway number we have to give either DEV & Quality System,
    what else we have to change
    when we are execute tcode SXMB_IFR on Quality system it is pointing to DEV system,
    regards,
    haribabu

    Hi,
    We installed Dev & Quality systems for PI/XI-7.0 on same host,
    We are taking central SLD on Dev for Quality system,
    We are following note-940309,regarding this note we have to change the client for the following services 1) AI_DIRECTORY_<sid> 2) AI_RUNTIME_<SID> 3) LCRSAPRFC_<SID> 4) SAPSLDAPI_<SID>, after changing the client-100,these services are in stop condition,
    which Gateway number we have to give either DEV & Quality System,
    what else we have to change
    when we are execute tcode SXMB_IFR on Quality system it is pointing to DEV system,
    regards,
    haribabu

  • Client VPN doesn't work until reload; all other services are fine

    We have a 1800 router running 12.4.x that is acting up.  Every week or 2, client vpn connectivity stops working on it (clients receive a ' reason 412; the remote peer is no longer responding' when trying to connect).  All other traffic running through that router continues to work fine (site to site, nat, etc).  If we run a 'clear ip nat translation', then ONE client can reconnect, but any subsequent clients cannot.  So, basically one at a time.  the only 'fix' is a reboot of the router.  any suggestions on where to start troubleshooting?
    thanks!                  

    Matt,
    Did you disable NAT-T on this device?
    http://www.cisco.com/en/US/products/ps6120/products_tech_note09186a00807e0aca.shtml#solution01
    Thanks,
    Tarik Admani
    *Please rate helpful posts*

  • Int'l keyboard settings not saved during reboot

    I have a G5 tower that I updated to Leopard. Generally, everything seems fine but there is one thing that is irritating:
    I have US English set as my main keyboard, but I often switch to Japanese and Korean to insert a few characters. So, in my keyboard set up I have US English, Japanese, Korean and the the Character Palette.
    After the Leopard update, whenever I have to reboot the system these settings are not saved and I have to go back in and add the various keyboard set ups. I want US English as the main keyboard, but after a reboot Japanese is the default.
    Note: I bought the system in Japan a few years ago when I was based there.
    Thank you for any advice/help.

    It fixed itself somehow

  • Mail service on start/stop of services ...

    Hi,
    Please let me know the way to send mail when services are started/stopped in oracle application 11.5.10.2. How to configure this on ibm aix 5.3.
    Thanks,
    Sai Ram

    There is a way to configure emails on startup/shutdown of Concurrent Manager service - but I'm not aware about any such configuration around other services (eg. Apache, Apps Listener, Forms Server etc..)
    I think you'll have to do this outside Oracle's scripts if you wish to set this up - either by wrapping the calls to seeded scripts in your own custom script, or if you want a periodical probing, then via use of cron/scheduler depending on the OS you're on.
    Hope that helps.
    Regards,
    Rakesh
    PS : In addition to the Concurrent Managers, I think you should be also able to achieve this for database services if you wish to do that - by use of startup and shutdown database triggers.

  • Telnet session not working in OEL -5

    Telnet session not working in OEL -5
    ==============================
    1. Installed xinetd and telnet-server packages on the box.
    2. Enabled the xinetd service.
    # service xinetd start
    # chkconfig xinetd on
    Telnet still not working. Please help.
    Lily.

    Re-ran the /etc/init.d/xinetd restart command. Telnet cannot connect and this is what I get:
    Unencrypted connection refused. Goodbye.
    Below is the telnet.cfg
    ==================
    # default: on
    # description: The telnet server serves telnet sessions; it uses \
    #     unencrypted username/password pairs for authentication.
    service telnet
         flags          = REUSE
         socket_type     = stream
         wait          = no
         user          = root
         server          = /usr/sbin/in.telnetd
         log_on_failure     += USERID
         disable          = no
    ===================

  • Breakpoints not working when debugging OC4J web service

    I am attempting to debug the PL/SQL web service autogenerated as part of the EMP_FETCHER tutorial example. My code has been compiled with debug information and the classes I wish to debug are not in my exclusions list.
    When using the embedded OC4J container, I've verified that it is starting up in debug mode in the log. Setting breakpoints in the Emp_Fetcher class on the line commencing
    __sJT_st = __sJT_ec.prepareOracleCall...
    however seems to have no effect. Running my web service client does not cause the web service to stop on the selected breakpoint.
    I've also tried remote debugging of the same web service on a separate database server. While I have been able to start OC4J on the server in debug mode, and connect to it from JDeveloper, setting of breakpoints seems to have no effect. I've monitored the TCP traffic on port 4000. It shows activity during the initial connection, but no traffic when I manipulate breakpoints in JDeveloper. I would have expected some traffic as breakpoints are added and removed.
    Any assistance would be appreciated.
    Regards
    Michael

    Hi Mithun Dha
    I am facing same problem !
    please let me know what is SICF user name and how to change it ?
    I am using MSS PCR application (MSS role, Personal Change Request which is standard application on portal and it calls BADI at backend, it was working fine till yday suddenly its not stopping at the ext breakpoint in BADI)
    thank you
    b

  • BB 9220 Curve- Internet Services are not working

    I had a problem with BB internet activation; My sim is already activated with BB BIS plan (pay as you go - etisalat UAE)
    I was under the impression that the brand new device must be having some issue and went for the replacement with the seller with a condition that it should be tested before the replacement billing; they are agreed and they tested with 3 new devices, all are brand new pieces and they opened packing infornt of me. I had the same issue, I could not get BB BIS service on any of these devices;
    The second part of troubleshooting; I put my sim in another handset which is already working with another sim but same provider. It just started working with my sim. All the services are active.
    I reported the same with the service provider as they told me to replace the handset and check. They are still working on this issue and now started blaming the device.
    I also contacted BB tollfree support and waiting their updates in this.
    What I have observed in both the cases
    New devices not pulling the service book entries from the service provider.
    Working BB device has already pulled those provider's provisioning service book entries and thats the reason it worked. ( I am forced to believe so)
    Anyone had come across such a situation before; please respond. I strongly believe the service book entries are pushed from the service provider, in my case thats not happening. Its a limited knowledge  the experience with the handset I did troubleshooting for the past one week. If I am wrong please correct me. thanks in advance.

    Hey raneeshcr,
    Welcome to the BlackBerry Support Community Forums.
    Thanks for the question.
    Can you send me a private message with your PIN number so I can investigate further?
    Thank you.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • What does it mean if my location services are turned on, but not working?

    What does it mean if my location services are turned on, but not working?  It has always worked before.  It is turned on in Settings but when I try to use an app that requires location services, it says they are not on, and the little arrow is not appearing at the top of the screen.

    thank you...I tried this immediately after noticing but to no avail. I thought the phone died but I kept seeing the light on so I googled some things and it says it may be watered damaged and I'm not sure how.

  • TS3992 i got problem updating my iphone 3g. my phone doesn't work now. it says no service and can not be activated.beside that it says insert sim even it has sim. please help me.

    i got problem updating my iphone 3g. my phone doesn't work now. it says no service and can not be activated.beside that it says insert sim even it has sim. please help me.

    I have just created this account to tell you that nothing would change if you restored your phone.
    The first NO SIM nuisance happened just a week ago. Nothing had been done to the phone before that. I pressed HOME + POWER buttons to restart the phone and SIM card was successfully recognized as if nothing had happened. Then I had a lucky week, not reminded of this issue at all.
    Today, however, the same problem keeps annoying me. I've used the same method to heal the phone but all I have done seems more like a placebo. So I tried the ultimate solution, restroing it in iTunes.
    Ridicuously, the moment I finished basic setup on the newly restored phone, the same NO SIM CARD INSTALLED message poped up.
    So IMO, it's not what you should do to erase and restore your phone.
    Plus, I called my native carrier and they said no such problems have been submitted. And since my nano SIM card is quite new (three months old), I'm not going to replace it.
    I googled this problem and found something on a Hong Kong webpage. The author of that thread points out that there is a flaw in the SIM card tray that prevents the phone from successfully recognizing SIM cards.
    And I really hope Apple could probe into this issue and give official solutions other than restarting / restoring the phone like an idiot.

  • Hi no none of my other data services are working normally and when I try to send my picture messages it says not delivered and tells me it's unable to send.

    Hi no none of my other data services are working normally and when I try to send my picture messages it says not delivered and tells me it's unable to send.

    Hello Joe,
    I found a few resources you can use to troubleshoot the iMessage issues you are experiencing. 
    I recommend reviewing this article first:
    iOS: Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    If your Apple ID is activated in the Messages Settings and you still cannot send and receive iMessages, I recommend following the steps in the section titled "If you still can't send or receive iMessages" in the following article:
    iOS: Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Location services do not work when my MBP or iPad are in the basement

    I thought location services work based on wifi, yet my MBP when in the basement even though it is on wifi location services won't work. The same with my iPad wifi, in the basement the location services are unavailable. The iPhone, however location services work fine deep in the basement. I am trying to understand this, could anyone explain. This wasn't a problem with OS Mavericks that I remember.

    Location services works based on there being a known WiFi access point in the Apple Access Point database.
    While not in the basement, you are likely seeing neighboring WiFi access points which are geo-located as opposed to yours which apparently is not.
    I have heard that the database gets populated by iPhone and cellular iPads being located by cellular, then associating that location with WiFi access points visible to the iDevice.
    I also believe they used the SkyHook Wireless database at one time, and may still do so. http://www.skyhookwireless.com/submit-access-point
    You can submit your WiFi Access Point and geo-location which may or may not help.

  • My location services are not working in my ipad 3.  ...... What shall I do?? Any suggestions???

    Whenever I try to see my location,,,,, I can't why??

    First, verify that location services are on and that the app you are using has been granted privledges to use it. Look in Settings > Privacy > Location Services.
    Alos, if you have WiFi-only iPad, it does not contain a built-in GPS chip - only the 3G models do. Apple relies on a database of WiFi hot spot locations and it could be that your hotspot and those around you have never made it into that database.
    What have you done to troubleshoot already? What were the results?
    Have you read this support article about Location Services?

  • Sharepoint 2013 search error - The search application 'Search Service Application 1' on server is not provisioned.Confirm that the Microsoft SharePoint Foundation Timer service and Central Administration service are running on the server.

    Hi All,
    I'm getting the below error in My SHarepoint 2013 search Administration page.
    Crawler background activity - The search application 'Search Service Application 1' on server ""  is not provisioned. Confirm that the Microsoft SharePoint Foundation Timer service and Central Administration service are running
    on the server.
    and when i click on Crawl Log and content source
    it throws the below error
    The search service is currently offline. Visit the Services on Server page in SharePoint Central Administration to verify whether
    the service is enabled. This might also be because an indexer move is in progress
    When i check the search status
    Get-SPEnterpriseSearchServiceInstance, it shows all the components are online.
    As of now search service application is online and search is working.But not sure why it throws the above error.
    I have restarted timer service,search service in services.msc and cleared the sharepoint cache as well.
    But no luck,This is happening in my prodcution environment.
    Any help will be greatly appreciated.
    There are the logs i have found
    05/23/2014 13:03:22.71 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://dca-app-617:90/_admin/search/listcontentsources.aspx?appid=e830c1b3%2Dc3e4%2D4097%2D85fd%2Daa5248346d2e) d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.71 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=, ClaimsCount=0 d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.73 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.79 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Server Search Administration djs2 High [Forced due to logging gap, cached @ 05/23/2014 13:03:22.76, Original Level: VerboseEx] {0} d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.79 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Server Database 8acb High [Forced due to logging gap, Original Level: VerboseEx] Reverting to process identity d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.80 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Server Search Administration djj1 High Unable to find application 'b9c8106c-c7ed-4eb3-96c9-ae1881ffb695' d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Server Search Administration djj1 High Unable to find application 'b9c8106c-c7ed-4eb3-96c9-ae1881ffb695' d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation General 8nca Medium Application error when access /_admin/search/listcontentsources.aspx, Error=The search service is currently offline. Visit the Services
    on Server page in SharePoint Central Administration to verify whether the service is enabled. This might also be because an indexer move is in progress.   at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.ErrorHandler(Object
    sender, EventArgs e)     at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.OnError(EventArgs e)     at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()    
    at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep
    step, Boolean& completedSynchronously) d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Runtime tkau Unexpected Microsoft.SharePoint.SPException: The search service is currently offline. Visit the Services on Server page in SharePoint Central
    Administration to verify whether the service is enabled. This might also be because an indexer move is in progress.    at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.ErrorHandler(Object sender, EventArgs e)    
    at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.OnError(EventArgs e)     at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
    Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()    
    at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep
    step, Boolean& completedSynchronously) d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation General ajlz0 High Getting Error Message for Exception Microsoft.SharePoint.SPException: The search service is currently offline. Visit the Services on
    Server page in SharePoint Central Administration to verify whether the service is enabled. This might also be because an indexer move is in progress.     at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.ErrorHandler(Object
    sender, EventArgs e)     at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.OnError(EventArgs e)     at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()    
    at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep
    step, Boolean& completedSynchronously) d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation General aat87 Monitorable  d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation DistributedCache ah24q Unexpected SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts are present in the farm. d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation DistributedCache ah24w Unexpected Unexpected Exception in SPDistributedCachePointerWrapper::InitializeDataCacheFactory for usage 'DistributedViewStateCache'
    - Exception 'System.InvalidOperationException: SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts present in the farm.     at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()'. d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation General ajb4s Monitorable ViewStateLog: Failed to write to the velocity cache:
    http://dca-app-617:90/_admin/search/listcontentsources.aspx?appid=e830c1b3-c3e4-4097-85fd-aa5248346d2e d4c6939c-b10d-4000-6d95-14caeefe67df
    05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://dca-app-617:90/_admin/search/listcontentsources.aspx?appid=e830c1b3%2Dc3e4%2D4097%2D85fd%2Daa5248346d2e)).
    Execution Time=109.695855199474 d4c6939c-b10d-4000-6d95-14caeefe67df
    Anil Loka

    Please try below mentioned steps:
    1. Central Administration > Monitoring > Review job definitions > Look for following timer job "Application Server Administration Service Timer Job" > Disable
    2. Then open windows administrative services (services.msc), stop SharePoint Timer Service
    3. Clear SharePoint Timer configuration cache by following steps mentioned in below blog:
    http://blogs.msdn.com/b/jamesway/archive/2011/05/23/sharepoint-2010-clearing-the-configuration-cache.aspx
    4. Start SharePoint Timer Service and give it a few seconds so that the new XML files from the location you deleted then are re-populated.
    5.Central Administration > Monitoring > Review job definitions > Look for following timer job "Application Server Administration Service" Timer Job > Enable
    Please ensure that you mark a question as Answered once you receive a satisfactory response.

  • Function module to release a work permit attached to a service order.

    Hi,
    We have a requirement of automating the process of work permit release attached to service order.
    I am looking for a function module / BAPI for releasing the work permit attached to a service order by passing service order number and permit ID/Name.
    If any of you have come accrose such one please share.
    Thanks
    Achuthanandan

    Hello Philip
    The following function modules should be useful:
       - CY_PRIMARY_SELECTION            - Function module for selection of orders for the work center
       - CY_SECONDARY_SELECTION          - Check for additional criteria
       - CR_CAPACITY_AVAILABLE_PERIODS   - Reads the available capacity from work center
       - HR_PERSON_READ_TIME_INFO        - Reads the available capacity from person (modification)
       - CY_GET_PART_CAPACITY            - used only for the first period to read backlog
       - CY_LOAD_DISTRIBUTION            - Distribution key
    Please observe that these are simple function modules, not BAPIs, That means, they were developed to be used on the SAP internal programs and they are not supported by SAP when used in custom programs.
    BR
    Caetano

Maybe you are looking for