Jobs (DTS packages) hangs after Oracle Goes down ...

  • We have 4 SQL Server 2000 jobs in production which uses DTS packages to pull data from Oracle. These jobs used to fail and send failure notification repeatedly every weekend whenever Oracle Server goes down during downtime. After oracle comes up , jobs used to resume by itself with out requiring any manual interventions.

    Since last two weekend , after Oracle goes down - our four jobs gets hung reporting below error. But I don't see any issue with below error which says Oracle listener is not available as we already know it and used to see this error for last 2 years after oracle goes down.

    DTSRun: Loading... DTSRun: Executing... DTSRun OnStart: DTSStep_DTSDataPumpTask_2 DTSRun OnError: DTSStep_DTSDataPumpTask_2, Error = -2147467259 (80004005) Error string: [Microsoft][ODBC driver for Oracle][Oracle]ORA-12541: TNS:no listener Error source: Microsoft OLE DB Provider for ODBC Drivers Help file: Help context: 0 Error Detail Records: Error: -2147467259 (80004005); Provider Error: 12541 (30FD) Error string: [Microsoft][ODBC driver for Oracle][Oracle]ORA-12541: TNS:no listener Error source: Microsoft OLE DB Provider for ODBC Drivers Help file: Help context: 0 DTSRun OnFinish: DTSStep_DTSDataPumpTask_2 DTSRun: Package execution complete. Process Exit Code 1. The step failed.

    Now DBAs were not able to stop/restart these hung jobs - and ended up recreating Jobs to resolve the issue.

    Please advise what could have changed on SQL Server or Oracle suddenly which cause such issue.

  • this was resolved after recycling sql mail which was causing jobs to hung while sending alerts but there was no way to stop and start hung jobs.

    DBA team had to recreate jobs to resolve it and recycling sql mail resolved issue with alerts.

  • I would schedule a blackout window on SQL Server side so to accomodate Oracle side maintenance window.

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply