Cache connectivity fails  in RWB

Hi Experts,
I have a freshly installed and configured PI 7.0 system.
I tried to run a simple file to file scenario, but the input file was never picked up.
When I went to RWB and did a cache connectivity test I get the following error
Cache notification from Integration Directory failedError when accessing the System Landscape Directory
detailed error
No SLD elements of type SAP_XIAdapterFramework found
In communication channel monitoring, I dont see that communication channel at all...
I also see that in SLD -> TechSystem -> ExchangeInfrastructure
RWB and AdapterEgine are on domain abc.def and IR,ID and IS are on domain uvw.xyz
Is this an error??? how can we correct this?
I have already gone thru and applied note 764176
PLs help m eout
Regards,
Teja

Hello Siddesh,
That note helped, thank you, Im now able to see the adapter engine in RWB.
How ever when i do the cache connectivity test it says
No information available about cache notification from Integration Directory
Also in SLD->TechnicalSystems->ExchangeInfrastructure
AE  -> Domain X
Domain X -> Domain X
Domain Y -> Domain Y
IR -> Domain Y
ID -> Domain Y
IS -> Domain Y
RWB -> Domain X
Is it because of this???
I have already applied note 764176...how can i correct it?
Regards,
Teja

Similar Messages

  • Cache-Connectivity-Test in RWB

    Hello gurus,
    when we are starting a Cache-Connectivity-Test in RWB what might be the error:
    com.sap.aii.ib.server.abapcache.CacheRefreshException: Unable to find an associated SLD element (source element: SAP_XIIntegrationServer, [CreationClassName, SAP_XIIntegrationServer, string, Name,* is.73.10*, string], target element type: SAP_BusinessSystem)
    We can also cannot see the Domain - see [screenshot|http://koekce.com/XI/domainxi.PNG]
    Could someone help?
    Best Regards,
    FK

    Hi,
    Check these:
    0) Go to RWB-->Cache Connectivity Test and check the status.. and run the refresh over there
    1) execute SLDCHECK in XI box
    2) Go to SXI_CACHE and refresh the cache also delete the Adapter metadata
    3) Check the SAP BASIS SWCV is imported into IntegratioN Repository
    4) Refersh the Adapter Metadata cache in SLD>Adminisration>Cache Overview ->Adapter Metadata Cache Refresh
    this doc may help u :https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/08438c77-0501-0010-50a0-e39fe8fa0446
    Hope it helps
    Regards,
    Surya

  • Cache Connectivity Test in RWB fails

    Hi Guys,
    When I go to RWB in Cache Connectivity Test, I get the following error:
    " Error during last test run executed by EGKATZIOS, on 10 u039Du03BFu03B5 2009 3:35:37 u03BCu03BC: Error executing testClientServerException exception:Communication with JMS server failed
    com.sap.aii.ib.core.clmgmt.ChangeListMgmtException: Communication with JMS server failed"
    Any ideas ?
    Also in IR, in Cache Notifications, remain in Red Status "Not Yet Started" and I have to manually Execute them.
    Which I realized is related to an error I get when I activate the Change List in IR "Communication with JMS server failed Repeat the last action. If the problem continues to occur after multiple attempts, contact your system administrator to check the availability of the JMS provider service". However, activation works with a second attempt.
    Everything else, SXI_CACHE, HTTP Connections, SLDCHECK, Service Users, HTTP and JMS services in VA work fine.

    Hi,
    Pls follow this path,
    login to J2EE Visual aadmin>cluster>services.JMS connector>runtime(Righ hand side tab)->check the factories / destinations (if anything is in red color X mark).
    Ask your basis admin to correct this.Final possible solution is to restart the server....
    Hope dis will help.
    Regds,
    Pinangshuk.

  • Cache connectivity fails

    Hi Experts,
    We have done some configurations in SLD for XI system ,scenario is like several systems will be connecting to Central SLD system.
    After all the configurations have been completed and when we test the cache connectivity,it will successful on first attempt and further attempts  it fails.
    *Error is Cache notification from integration repository failed error when accessing the integration directory*
    We have tried like deleting the cache notifications from IR , ID and refresh the cache like java cache refresh ,delta cache refresh,full cache refresh.
    Eventhough all we tried and test the cache connectivity it fails.
    Please help on this issue.

    Hi Experts,
    The Notes 939592 and 720717 are not applicable to our problem because  we have migrated the configurations of the existing SLD system to new SLD system(New System installed) to reduce the Load on the existing SLD system.
    We have done the necessary configurations for the new SLD system in our PI system and when we test the cache connectivity test in the component monitoring in RWB,it is failing .
    So please suggest and help in resolving the problem to make the cache connectivity test successful.
    Thanks
    Pradeep

  • PI : unable to connect to IR with cache connectivity test via RWB

    Hi,
    Please help to resolve the issues.
    Server Details: SAP PI 7.0, SUNSOLARIS with DB2.
    PI server was working fine  without  any issues  for the past 2 weeks, Unfortunately  issue is the connection failure.
    PI services were unable to interlink internally.
    cache connection Test Error Below:
    Connection to system null using application null lost. Detailed information: Error accessing "http://sap-02.aig.com:50000/rep/conntest/int?" with user "PIRWBUSER". Response code is 404, response message is "Not Found"
    SLDCHECK done with success,SPROXY no issues,
    users are not locked & password not changed.
    Thanks,
    Bala

    After full cache refresh. with SXI_CACHE i got cache error "UPDATE" detail error as below.
    com.sap.aii.ib.server.abapcache.CacheRefreshException: Connection to system REPOSITORY using application REPOSITORY lost. Detailed information: Error accessing "http://sap-02.aig.com:50000/rep/hmi_service_swc_manager/int?container=any" with user "PIDIRUSER". Response code is 404, response message is "Not Found"
         at com.sap.aii.ibdir.server.abapcache.content.CacheSwc.addContent(CacheSwc.java:63)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:360)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:324)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.processHTTPRequest(CacheRefreshRequest.java:145)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.handleHTTPRequest(CacheRefreshRequest.java:103)
         at com.sap.aii.ibdir.web.abapcache.HmiMethod_CacheRefresh.process(HmiMethod_CacheRefresh.java:67)
         at com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:169)
         at com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:178)
         at com.sap.aii.utilxi.hmis.sbeans.HmisBeanImpl.process(HmisBeanImpl.java:86)
         at com.sap.aii.utilxi.hmis.sbeans.HmisLocalLocalObjectImpl1_0.process(HmisLocalLocalObjectImpl1_0.java:144)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:290)
         at com.sap.aii.utilxi.hmis.web.workers.HmisExternalClient.doWork(HmisExternalClient.java:75)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:496)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doGet(HmisServletImpl.java:640)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)

  • RWB - Cache Connectivity Test - Adapter Engine shows error

    Hello Friends,
    In our one production system (PI 7.1), while do 'Cache Connectivity Test' from RWB -> Component Monitoring, it shows the following error for Adapter Engine under Integration Directory.
    Error:
    Cache notification from Integration Directory failed Error when accessing the System Landscape Directory.
    No SLD elements of type SAP_XIAdapterFramework found
    But, Integration Server - ABAP, Integration Server - JAVA shows green color. The messages are flowing through the Adapter Engine fine. i.e I am seeing 2 Adapter Engines under Integration Server in Component Monitoring. One Adapter Engine is in grey and another Adapter Engine shows green color.
    When I click the grey color adapter engine, it immediately turns to red color and some different host name url is displayed (http://<wronghost>:53000/AdapterFramework/rtc).
    So, what could be the problem ?
    Kindly clarify, friends.
    Thanking you.
    Kind regards,
    Jegathees P.

    Hello Jegathees
    Apply the solution in note #804124 HTTP communication with XI Adapter Engine fails. Set the parameters:
    SLD.selfregistration.hostName     
    SLD.selfregistration.httpPort     
    SLD.selfregistration.httspPort    
    as described in the note.
    Regards
    Mark

  • RWB Component Monitoring - Cache Connectivity Test failure

    Hi,
    I have done the Cache Connectivity test in RWB-Component monitoring.
    For the Integration Server - Integration Engine XYZ.
    I am getting error
    Result of Self-Test
       Can the SLD be reached?   ... Details  OK
       Does the Integration Engine know the business system?   ... Details   OK
       Are roles in SXMS_CONF_ITEMS and SLD consistent?   ... Details  Error
       Is Web service security available?   ... Details 
    The error message os
    Details for 'Are roles in SXMS_CONF_ITEMS and SLD consistent?'
    Inconsistent roles. System Landscape: Integration Server. SXMSGLOBAL: Application System 
    How to solve this issue.
    Regards
    Farhat

    Hi
    Use Tcode SXMB_ADM -> integration engine ,Assign proper Client to Integration Server.
    look this similar thread
    Are roles in SXMS_CONF_ITEMS and SLD consistent?

  • When i doing cache connectivity test , i am getting below error

    When i doing cache connectivity test , i am getting below error, could you please suggest me what action need's to be done
    Integration repository, Integration Directory,Integration server ABAP, Integration server java is green, only adapter engine is showing red.
    Attempt to fetch cache data from Integration Directory failed; cache could not be updated
    [Fetch Data]: Unable to find an associated SLD element (source element: SAP_BusinessSystem, [CreationClassName, SAP_BusinessSystem, string, Name, BS_PI_DEV, string], target element type: SAP_BCSystem
    [Fetch Data]: com.sap.aii.ib.server.abapcache.CacheRefreshException: Unable to find an associated SLD element (source element: SAP_BusinessSystem, [CreationClassName, SAP_BusinessSystem, string, Name, BS_PI_DEV, string], target element type: SAP_BCSystem)
    at com.sap.aii.ibdir.server.abapcache.content.CacheCPA.addContent(CacheCPA.java:490)
    at com.sap.aii.ibdir.server.abapcache.content.CacheCPA.addContent(CacheCPA.java:155)
    at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:388)
    at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:326)
    at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.processHTTPRequest(CacheRefreshRequest.java:145)
    at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.handleHTTPRequest(CacheRefreshRequest.java:103)
    at com.sap.aii.ibdir.web.abapcache.HmiMethod_CacheRefresh.process(HmiMethod_CacheRefresh.java:67)
    at com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:169)
    at com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:178)
    at com.sap.aii.utilxi.hmis.sbeans.HmisBeanImpl.process(HmisBeanImpl.java:86)
    at com.sap.aii.utilxi.hmis.sbeans.HmisLocalLocalObjectImpl1_0.process(HmisLocalLocalObjectImpl1_0.java:144)
    at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:290)
    at com.sap.aii.utilxi.hmis.web.workers.HmisExternalClient.doWork(HmisExternalClient.java:75)
    at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:496)
    at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doPost(HmisServletImpl.java:634)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    com.sap.aii.ib.bom.landscape.SLDElementNotFoundException: Unable to find an associated SLD element (source element: SAP_BusinessSystem, [CreationClassName, SAP_BusinessSystem, string, Name, BS_PI_DEV, string], target element type: SAP_BCSystem)
    at com.sap.aii.ib.server.sldquery.SLDQuery.dammiIlMioCentralAdapterFramework(SLDQuery.java:70)
    at com.sap.aii.ibdir.server.abapcache.content.CacheCPA.addContent(CacheCPA.java:191)
    at com.sap.aii.ibdir.server.abapcache.content.CacheCPA.addContent(CacheCPA.java:155)
    at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:388)
    at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:326)
    at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.processHTTPRequest(CacheRefreshRequest.java:145)
    at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.handleHTTPRequest(CacheRefreshRequest.java:103)
    at com.sap.aii.ibdir.web.abapcache.HmiMethod_CacheRefresh.process(HmiMethod_CacheRefresh.java:67)
    at com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:169)
    at com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:178)
    at com.sap.aii.utilxi.hmis.sbeans.HmisBeanImpl.process(HmisBeanImpl.java:86)
    at com.sap.aii.utilxi.hmis.sbeans.HmisLocalLocalObjectImpl1_0.process(HmisLocalLocalObjectImpl1_0.java:144)
    at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:290)
    at com.sap.aii.utilxi.hmis.web.workers.HmisExternalClient.doWork(HmisExternalClient.java:75)
    at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:496)
    at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doPost(HmisServletImpl.java:634)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    [Data Evaluation]:

    Check Surya's reply: Cache-Connectivity-Test in RWB
    The same procedure in detail manner is given in this How-to guide:
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0332b2a-eb97-2910-b6ba-dbe52a01be34
    Are you using any Business System? If yes then make sure that you have imported it properly into ID....in this case ID --> Environment --> Clear SLD Cache.
    Regards,
    Abhishek.

  • CPA Cache Connectivity test fails

    Hi All,
    We are facing the following issues that have to do with the Adapter Engine:
    1) In RWB, the Adapter Engine is in error/red status with the following details: Adapter Engine, message: fatal DeleteJob (Default Delete Job) failed.
    2) In RWB, the Cache Connectivity Test fails with the following error: Communication with JMS server failed.
    3) The CPA Cache refresh gives erros.
    Any ideas? There are no Service users locked, SLDCHECK works fine etc.

    Hi,
    It seems to like problem with your JMS Connector.
    For this, login into Visual admin -->cluster >services>JMS connector-->runtime (tab)->check the factories / destinations.  Please contact with your basis team, they will might be helpful to you. After that restart your server, it will solve your issue. 
    Regards,
    P.Rajesh
    Edited by: Rajesh_1113 on Jun 5, 2011 9:01 AM

  • Cache Connectivity Test fails for PI on MSCA

    Hi all,
    I experience the following problem with newly installed PI 7.0 SP12 system on MSCA.
    When I go to RWB and press "Cache Connectivity Test" I got the following error for central adapter engine:
    Attempt to fetch cache data from Integration Directory failed; cache could not be updated
    [Fetch Data]: Unable to find an associated SLD element (source element: SAP_XIIntegrationServer, [CreationClassName, SAP_XIIntegrationServer, string, Name, is.74.sapxi03, string], target element type: SAP_BusinessSystem)
    Tx: SLDCHECK - reports no problems.
    Tx:SLDAPICUST - is set to virtual host name and port.
    Appreciate your help.

    hi,
    here u have to clear the delta cache in SXI_CACHE.
    Open Tcode SXI_CACHE -
    >from menu  XI Runtime cache----->start Delta Cache Refresh(F6     or  CNTRL + F6 )
    reward points  if helpful
    regards
    sreeni

  • Cache Connectivity Test - RWB

    Hello All,
    In RWB - Cache Connectivity Test,
    Integration Server - JAVA --> Green Status
    Central Adapter Engine --> Green Status
    But
    Integration Sever - ABAP --> RED Status
    Error is
    http connection to "http://<HOST NAME>:50100/sap/xi/cache?sap-client=100" returns the status code "404" in response
    Please can anybody provide suggestion as to why this error persists?
    Regards,
    Ramesh P

    Hi! Ramesh,
    Once do cache refesh and use this URL
    http://host:port/CPACache/refresh?mode=full
    I think you are unable to login right first ssign these roles and then try also please make sure whether you have done all cache refresh or not
    J2ee                           ABAP
    xi_af_cpa_monitor = SAP_XI_MONITOR_J2EE, SAP_XI_ADMINISTRATOR_J2EE, SAP_XI_CONFIGURATOR_J2EE, SAP_XI_DISPLAY_USER_J2EE
    xi_af_cpa_invalidate = SAP_XI_ID_SERV_USER
    okay
    Thanks
    Amar Srinivas Eli
    Reward POints if useful

  • Cache connectivity test failing

    Hi XI Experts,
    The cache connectivity test fails in our XI system. The error appears as:
    Cache notification from Integration Repository failedError when accessing the Integration Directory.
    This happens almost daily at the same hour of the day. Can you tell me what items I can check within the system?
    Thanks in advance.
    Regards,
    Regina

    Hi,
    did you have a look at this doc:
    https://websmp204.sap-ag.de/~sapdownload/011000358700003163902004E/HowTo_handle_XI_30_Caches.pdf
    Regards,
    michal

  • Connection failed whenever I try to access the App Store

    Whenever I try to access the App Store from my iMac, after a second or two I just get 'Connection failed.'
    It isn't my password or login as I am able to access this perfectly from my iPad and iPhone.
    What I have tried:
    Different connections (ethernet/wireless)
    Connecting to iTunes first (this works fine), then going into the App Store and trying it again
    Deleting ~/Library/Preferences/com.apple.appstore.plist, ~/Library/Preferences/com.apple.storeagent.plist, ~/Library/Caches/com.apple.appstore/Cache.db
    pretty much everything on "connection failed" mac app store
    I am using Mavericks 10.9 if that is any help.
    Thanks

    To give some more information:
    In the console app I had a look at some of the messages I am getting when I try to access the app store. I get 20-odd lines of:
    02/08/2014 12:29:40.000 kernel[0]: Sandbox: App Store(1017) deny file-write-data /private/var/db/mds/system/mds.lock
    Anyone know what this means? Obviously I am being denied access to something! I have only had this Mac for a few days and don't profess to be that knowledgable about them at all so any info is appreciated.
    Thanks

  • Cronjob: ssh connection fails

    Hi Forums,
    I have a bash script which does some tasks on a remote server via ssh. The connection uses a private/public key without a passphrase as this seems to be the only way to connect via ssh in a cronjob. If I execute the script manually, then it works and connects to the remote server. If the script is run as cronjob, then it doesn't work and this error message appears in the crond log:
    CMDOUT (ssh: Could not resolve hostname ###HOSTSNAME###: Name or service not known)
    The network connection is set up manually (not by DHCP) in the rc.conf and a nameserver entry in the resolv.conf. Could this be the reason or why else could the connection fail when executed as a cronjob?
    Last edited by clownfish (2012-06-27 16:42:12)

    Cron doesn't use your existing shell environment unless you tell it to.
    You should use something like keychain, ssh-agent, or gpg-agent. This allows you to maintain the security of having a passphrase while allowing you to source those keys for use in scripts and cronjobs. That way you just type in the passphrase once (at boot time, or another time of your choosing).
    I use this snippet in .bashrc to ask to for passphrases if they aren't already cached:
    ### SSH and GPG KEY HANDLING ###
    keys="logo_rsa web_rsa github_rsa"
    if [ "$(hostname)" != 'homeserver' ];then
    keys="$keys id_rsa"
    fi
    type -P keychain &>/dev/null || { echo "I require keychain but it's not installed. Aborting." >&2; }
    eval $(keychain -q --eval $(echo "$keys"))
    Then to use in a cronjob or script, source the keys much the same way:
    # Source SSH keys
    type -P keychain &>/dev/null || { echo "I require keychain but it's not installed. Aborting." >&2; exit 1; }
    eval `keychain --noask --eval --agents ssh id_rsa` || exit 1
    You can do this same thing with just ssh-agent or gpg-agent --- just takes a few more lines of code. Some googling and man page reading will lead you in the right direction
    Scott
    Last edited by firecat53 (2012-06-27 15:36:04)

  • Can't over ride "Secure connection failed", no over ride option shows.

    Secure Connection Failed
    I have connected to this page many times before.
    Emptied cache and cookies last night. Now FF won't allow
    site. There is no "Allow" option showing on warning screen.
    How can I over ride/ allow?
    An error occurred during a connection to ohiomeansjobs.com.
    The OCSP server has no status for the certificate.
    (Error code: sec_error_ocsp_unknown_cert)

    My friend has found a workaround:
    [7/24/14, 10:08:46 AM] Andy Nowakowski: go to 'about:config' in a new tab
    [7/24/14, 10:09:13 AM] Andy Nowakowski: toggle security.use_mozillapkix_verification
    [7/24/14, 10:09:23 AM] Andy Nowakowski: and it will return to previous behavior
    found on the bugzilla :)
    ''(fixed pref name - c)''

Maybe you are looking for

  • ***** Highly Critical URGENT *****

    Our BASIS guys have done the system copy/refresh from the prod box to preprod BI. I want to know what BI Configurations / Functional Tasks has to be done after the refresh. Could you please give me BEST advice. which transactions to look for etc... P

  • Can I make a 'Contact Form' in Fireworks CS4?

    I would like to inbed a simple 'Contact Form' into one of the webpages that I am creating in Fireworks CS4 so that people could type a message, and then it would go straight to my email. Any help that you could provide will be appreciated! Thank You!

  • CS6 crashes almost immediately after startup of a program

    It doesn't matter after I run PS, Illustrator, or Premiere Pro, as soon as I start a CS6 application, it will load for a few seconds only, and then crash out.  I do not get any warning or messages to know what is the reason for this happening.  I hav

  • Error in downloading. refer to windows-activity

    Hi, When downloading video, there is a message "one error occured during downloadig, Refer to Windows-Activity". Video file can only be saved as webarchive instead of  flv (no given choice). Any idea how to fix the problem? Note that the problem aris

  • MacBook will not shut down or go to sleep

    My MacBook is not shutting down or going to sleep. When I try to shut down: The desktop disappears as normal but then the plain blue screens appears (with the little circle down the bottom which spins (not the beach ball)) and it just stays there for