Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-29-2008, 08:26 PM
Neil
 
Posts: n/a
Default Problems With SQL Agent in SQL 7

Having problems with SQL Agent in SQL 7. Just noticed that my backup hasn't
been running since the 17th. Went into SQL Agent, and the 4 jobs that it
does (integrity checks, optimizations, transaction log backup, and db
backup) were all hanging -- still running "step 1" from the 18th.

I stopped SQL Agent and restarted it, and tried running the integrity
checks. It hung.

Stopped SQL Agent and restarted it and tried running optimizations. It hung.

Stopped SQL Agent and restarted it and tried running db backups. The backups
job runs three backups: master, msdb, and my database. Interestingly, the
backup job created a backup for master and msdb, but didn't create a backup
for my database. The job just continually showed that it was being processed
when I looked in EM, under Management, SQL Server Agent, Jobs.

I stopped SQL Agent again, and restarted it. Then I did a manual backup of
my database. The manual backup worked fine. Also, the database itself seems
to have been working fine these past 11 days. But, for some reason, SQL
Agent won't run the jobs for my database.

As noted, the last successful running of the jobs was on the 17th, between 4
and 5 a.m. On that same day, between 3 and 4 a.m., the sys admin applied
some Windows 2000 Server security updates and rebooted the server. Then the
jobs ran an hour later. Then, on the 18th, the integrity checks ran
successfully at 4:10. After that, nothing ran successfully.

Even stranger, still, are the SQL Server Logs.

The SQL Server logs show SQL Server stopping at 3:29 am on the 17th
(probably at the time of reboot), and then restarting at 3:35 am, and then
completing the backups of the three databases at 4:37 and 4:38 am. That's
all fine.

Then, that night, at 10:08 pm on the 17th, there's a log entry that reads:
"Using 'xpsql70.dll' version '2000.28.09' to execute extended stored
procedure 'xp_msver'"

Then, at 11:00 pm that same night, EVERY database was backed up (master,
model, msdb, Northwind, pubs, my database, and another I have there called
test1). They all got backed up at 11:00 pm on the 17th, even though I have
no maintenance plan that specifies that they should be backed up.

Then, after the 17th, according to the logs, those 7 databases got backed up
every night between 10 and 11 pm -- but at a different time each night:
10:41 on the 18th; then 10:37 the following night; then 10:41; then 10:42;
then 10:51; 10:57; etc. Clearly, these backups are happening at the end of
another job, which is taking longer and longer.

But the question still remains: what caused these 7 backups to happen in the
first place? The Windows 2000 Server updates that the admin applied the
morning of the 17th? And why do my regular Agent jobs not execute, but just
hang indefinitely?

Also, though the log shows these 7 backups running every night, I don't see
the backups anywhere. Looking at the properties for one of the log entries,
I see the following:

Database backed up with following information: Database: Northwind, creation
date and time: 2002/05/19(12:03:16), pages dumped: 371, first LSN: 26:426:1,
last LSN: 26:428:1, sort order: 52, striped: 0, number of dump devices: 1,
device information: (FILE=1, TYPE=VIRTUAL_DEVICE:
{'Northwind_00__8b6a35a5_2ead_4045_8bc2_c975392f00 20_'}).

So it's backing up to a virtual device, which explains why I don't see the
backups anywhere.

Anyway, any ideas as to what might be going on and how I may be able to fix
it so that my regular maintenance jobs and backups are able to run again
would be appreciated. Thanks!

Neil


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-29-2008, 08:26 PM
Roy Harvey (SQL Server MVP)
 
Posts: n/a
Default Re: Problems With SQL Agent in SQL 7

It has been a long time since I've worked with SQL Server 7.0, and I
don't have the docs handy, but the thought I have is that a third
party backup tool is running the database backups. As shipped SQL
Server can only back up to a disk file (local or remote) or a tape
drive physically attached to the server. However they provided hooks
for third party backup software vendors to write an agent that runs on
the SQL Server; the agent initiates the backup and routes the data to
the backup program running on a centralized system. That allows
backup directly to tape with the tape drive on another server.

Good luck!

Roy Harvey
Beacon Falls, CT

On Tue, 29 Apr 2008 14:43:33 GMT, "Neil" <nospam@nospam.net> wrote:

>Having problems with SQL Agent in SQL 7. Just noticed that my backup hasn't
>been running since the 17th. Went into SQL Agent, and the 4 jobs that it
>does (integrity checks, optimizations, transaction log backup, and db
>backup) were all hanging -- still running "step 1" from the 18th.
>
>I stopped SQL Agent and restarted it, and tried running the integrity
>checks. It hung.
>
>Stopped SQL Agent and restarted it and tried running optimizations. It hung.
>
>Stopped SQL Agent and restarted it and tried running db backups. The backups
>job runs three backups: master, msdb, and my database. Interestingly, the
>backup job created a backup for master and msdb, but didn't create a backup
>for my database. The job just continually showed that it was being processed
>when I looked in EM, under Management, SQL Server Agent, Jobs.
>
>I stopped SQL Agent again, and restarted it. Then I did a manual backup of
>my database. The manual backup worked fine. Also, the database itself seems
>to have been working fine these past 11 days. But, for some reason, SQL
>Agent won't run the jobs for my database.
>
>As noted, the last successful running of the jobs was on the 17th, between 4
>and 5 a.m. On that same day, between 3 and 4 a.m., the sys admin applied
>some Windows 2000 Server security updates and rebooted the server. Then the
>jobs ran an hour later. Then, on the 18th, the integrity checks ran
>successfully at 4:10. After that, nothing ran successfully.
>
>Even stranger, still, are the SQL Server Logs.
>
>The SQL Server logs show SQL Server stopping at 3:29 am on the 17th
>(probably at the time of reboot), and then restarting at 3:35 am, and then
>completing the backups of the three databases at 4:37 and 4:38 am. That's
>all fine.
>
>Then, that night, at 10:08 pm on the 17th, there's a log entry that reads:
>"Using 'xpsql70.dll' version '2000.28.09' to execute extended stored
>procedure 'xp_msver'"
>
>Then, at 11:00 pm that same night, EVERY database was backed up (master,
>model, msdb, Northwind, pubs, my database, and another I have there called
>test1). They all got backed up at 11:00 pm on the 17th, even though I have
>no maintenance plan that specifies that they should be backed up.
>
>Then, after the 17th, according to the logs, those 7 databases got backed up
>every night between 10 and 11 pm -- but at a different time each night:
>10:41 on the 18th; then 10:37 the following night; then 10:41; then 10:42;
>then 10:51; 10:57; etc. Clearly, these backups are happening at the end of
>another job, which is taking longer and longer.
>
>But the question still remains: what caused these 7 backups to happen in the
>first place? The Windows 2000 Server updates that the admin applied the
>morning of the 17th? And why do my regular Agent jobs not execute, but just
>hang indefinitely?
>
>Also, though the log shows these 7 backups running every night, I don't see
>the backups anywhere. Looking at the properties for one of the log entries,
>I see the following:
>
>Database backed up with following information: Database: Northwind, creation
>date and time: 2002/05/19(12:03:16), pages dumped: 371, first LSN: 26:426:1,
>last LSN: 26:428:1, sort order: 52, striped: 0, number of dump devices: 1,
>device information: (FILE=1, TYPE=VIRTUAL_DEVICE:
>{'Northwind_00__8b6a35a5_2ead_4045_8bc2_c975392f0 020_'}).
>
>So it's backing up to a virtual device, which explains why I don't see the
>backups anywhere.
>
>Anyway, any ideas as to what might be going on and how I may be able to fix
>it so that my regular maintenance jobs and backups are able to run again
>would be appreciated. Thanks!
>
>Neil
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-02-2008, 05:04 AM
Neil
 
Posts: n/a
Default Re: Problems With SQL Agent in SQL 7

Yes -- after I wrote the post, I found out that the backup is being
performed by the tape backup system's agent, which hooks into SQL Server.
The only thing is, this has been going on for years, and has never
interfered with SQL Server Agent before. Also, the tape backup agent's
backups never appeared in the SQL log before. (The software is Veritas
Agent, I believe.)

So, in summary:

1) Vertias Agent has been running for years doing nightly backup to tape,
without interfering with SQL Server Agent, and without its backups appearing
on the SQL Server log.

2) On 4/17, an update to Windows 2000 Server was installed, and, that
evening, the Veritas Agent backups started appearing on the SQL Server log.
(The sys admin swears he didn't update or change anything with Veritas Agent
or SQL Server -- only the Windows 2000 Server update.)

3) After the Veritas Agent backups started appearing on the SQL Server logs,
the night of 4/17, the regular SQL Server Agent maintenance and backup jobs
stopped working. They would execute, but would remain on "executing step 1"
indefinitely. When I tried to run each step manually, the results were the
same, with the exception of the backup. When I ran the SQL Server Agent
backup job manually, it did backup the master and msdb databases; but it
hung indefinitely when backing up my database.

So that's the situation. Now how to get out of it and get SQL Server Agent
to start working again.

Neil


"Roy Harvey (SQL Server MVP)" <roy_harvey@snet.net> wrote in message
news:uvke1454aqpg4rriceqh5uo3aenuedcktd@4ax.com...
> It has been a long time since I've worked with SQL Server 7.0, and I
> don't have the docs handy, but the thought I have is that a third
> party backup tool is running the database backups. As shipped SQL
> Server can only back up to a disk file (local or remote) or a tape
> drive physically attached to the server. However they provided hooks
> for third party backup software vendors to write an agent that runs on
> the SQL Server; the agent initiates the backup and routes the data to
> the backup program running on a centralized system. That allows
> backup directly to tape with the tape drive on another server.
>
> Good luck!
>
> Roy Harvey
> Beacon Falls, CT
>
> On Tue, 29 Apr 2008 14:43:33 GMT, "Neil" <nospam@nospam.net> wrote:
>
>>Having problems with SQL Agent in SQL 7. Just noticed that my backup
>>hasn't
>>been running since the 17th. Went into SQL Agent, and the 4 jobs that it
>>does (integrity checks, optimizations, transaction log backup, and db
>>backup) were all hanging -- still running "step 1" from the 18th.
>>
>>I stopped SQL Agent and restarted it, and tried running the integrity
>>checks. It hung.
>>
>>Stopped SQL Agent and restarted it and tried running optimizations. It
>>hung.
>>
>>Stopped SQL Agent and restarted it and tried running db backups. The
>>backups
>>job runs three backups: master, msdb, and my database. Interestingly, the
>>backup job created a backup for master and msdb, but didn't create a
>>backup
>>for my database. The job just continually showed that it was being
>>processed
>>when I looked in EM, under Management, SQL Server Agent, Jobs.
>>
>>I stopped SQL Agent again, and restarted it. Then I did a manual backup of
>>my database. The manual backup worked fine. Also, the database itself
>>seems
>>to have been working fine these past 11 days. But, for some reason, SQL
>>Agent won't run the jobs for my database.
>>
>>As noted, the last successful running of the jobs was on the 17th, between
>>4
>>and 5 a.m. On that same day, between 3 and 4 a.m., the sys admin applied
>>some Windows 2000 Server security updates and rebooted the server. Then
>>the
>>jobs ran an hour later. Then, on the 18th, the integrity checks ran
>>successfully at 4:10. After that, nothing ran successfully.
>>
>>Even stranger, still, are the SQL Server Logs.
>>
>>The SQL Server logs show SQL Server stopping at 3:29 am on the 17th
>>(probably at the time of reboot), and then restarting at 3:35 am, and then
>>completing the backups of the three databases at 4:37 and 4:38 am. That's
>>all fine.
>>
>>Then, that night, at 10:08 pm on the 17th, there's a log entry that reads:
>>"Using 'xpsql70.dll' version '2000.28.09' to execute extended stored
>>procedure 'xp_msver'"
>>
>>Then, at 11:00 pm that same night, EVERY database was backed up (master,
>>model, msdb, Northwind, pubs, my database, and another I have there called
>>test1). They all got backed up at 11:00 pm on the 17th, even though I have
>>no maintenance plan that specifies that they should be backed up.
>>
>>Then, after the 17th, according to the logs, those 7 databases got backed
>>up
>>every night between 10 and 11 pm -- but at a different time each night:
>>10:41 on the 18th; then 10:37 the following night; then 10:41; then 10:42;
>>then 10:51; 10:57; etc. Clearly, these backups are happening at the end of
>>another job, which is taking longer and longer.
>>
>>But the question still remains: what caused these 7 backups to happen in
>>the
>>first place? The Windows 2000 Server updates that the admin applied the
>>morning of the 17th? And why do my regular Agent jobs not execute, but
>>just
>>hang indefinitely?
>>
>>Also, though the log shows these 7 backups running every night, I don't
>>see
>>the backups anywhere. Looking at the properties for one of the log
>>entries,
>>I see the following:
>>
>>Database backed up with following information: Database: Northwind,
>>creation
>>date and time: 2002/05/19(12:03:16), pages dumped: 371, first LSN:
>>26:426:1,
>>last LSN: 26:428:1, sort order: 52, striped: 0, number of dump devices: 1,
>>device information: (FILE=1, TYPE=VIRTUAL_DEVICE:
>>{'Northwind_00__8b6a35a5_2ead_4045_8bc2_c975392f 0020_'}).
>>
>>So it's backing up to a virtual device, which explains why I don't see the
>>backups anywhere.
>>
>>Anyway, any ideas as to what might be going on and how I may be able to
>>fix
>>it so that my regular maintenance jobs and backups are able to run again
>>would be appreciated. Thanks!
>>
>>Neil
>>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-02-2008, 05:04 AM
Roy Harvey (SQL Server MVP)
 
Posts: n/a
Default Re: Problems With SQL Agent in SQL 7

I find it strange that the backups through Veritas never used to
appear in the SQL Server log. I would have expected them to always be
there.

I'm afraid I can't be of much help. Even when I used SQL Server 7.0,
I never used Agent to run anything. I was working in a shop that had
a sophisticated (and VERY expensive) batch scheduling tool which we
used for all our backups and maintenance.

It sounds like a possible permissions problem of some kind, but beyond
that I have no clue.

Good luck!

Roy Harvey
Beacon Falls, CT

On Wed, 30 Apr 2008 01:54:20 GMT, "Neil" <nospam@nospam.net> wrote:

>Yes -- after I wrote the post, I found out that the backup is being
>performed by the tape backup system's agent, which hooks into SQL Server.
>The only thing is, this has been going on for years, and has never
>interfered with SQL Server Agent before. Also, the tape backup agent's
>backups never appeared in the SQL log before. (The software is Veritas
>Agent, I believe.)
>
>So, in summary:
>
>1) Vertias Agent has been running for years doing nightly backup to tape,
>without interfering with SQL Server Agent, and without its backups appearing
>on the SQL Server log.
>
>2) On 4/17, an update to Windows 2000 Server was installed, and, that
>evening, the Veritas Agent backups started appearing on the SQL Server log.
>(The sys admin swears he didn't update or change anything with Veritas Agent
>or SQL Server -- only the Windows 2000 Server update.)
>
>3) After the Veritas Agent backups started appearing on the SQL Server logs,
>the night of 4/17, the regular SQL Server Agent maintenance and backup jobs
>stopped working. They would execute, but would remain on "executing step 1"
>indefinitely. When I tried to run each step manually, the results were the
>same, with the exception of the backup. When I ran the SQL Server Agent
>backup job manually, it did backup the master and msdb databases; but it
>hung indefinitely when backing up my database.
>
>So that's the situation. Now how to get out of it and get SQL Server Agent
>to start working again.
>
>Neil
>
>
>"Roy Harvey (SQL Server MVP)" <roy_harvey@snet.net> wrote in message
>news:uvke1454aqpg4rriceqh5uo3aenuedcktd@4ax.com.. .
>> It has been a long time since I've worked with SQL Server 7.0, and I
>> don't have the docs handy, but the thought I have is that a third
>> party backup tool is running the database backups. As shipped SQL
>> Server can only back up to a disk file (local or remote) or a tape
>> drive physically attached to the server. However they provided hooks
>> for third party backup software vendors to write an agent that runs on
>> the SQL Server; the agent initiates the backup and routes the data to
>> the backup program running on a centralized system. That allows
>> backup directly to tape with the tape drive on another server.
>>
>> Good luck!
>>
>> Roy Harvey
>> Beacon Falls, CT
>>
>> On Tue, 29 Apr 2008 14:43:33 GMT, "Neil" <nospam@nospam.net> wrote:
>>
>>>Having problems with SQL Agent in SQL 7. Just noticed that my backup
>>>hasn't
>>>been running since the 17th. Went into SQL Agent, and the 4 jobs that it
>>>does (integrity checks, optimizations, transaction log backup, and db
>>>backup) were all hanging -- still running "step 1" from the 18th.
>>>
>>>I stopped SQL Agent and restarted it, and tried running the integrity
>>>checks. It hung.
>>>
>>>Stopped SQL Agent and restarted it and tried running optimizations. It
>>>hung.
>>>
>>>Stopped SQL Agent and restarted it and tried running db backups. The
>>>backups
>>>job runs three backups: master, msdb, and my database. Interestingly, the
>>>backup job created a backup for master and msdb, but didn't create a
>>>backup
>>>for my database. The job just continually showed that it was being
>>>processed
>>>when I looked in EM, under Management, SQL Server Agent, Jobs.
>>>
>>>I stopped SQL Agent again, and restarted it. Then I did a manual backup of
>>>my database. The manual backup worked fine. Also, the database itself
>>>seems
>>>to have been working fine these past 11 days. But, for some reason, SQL
>>>Agent won't run the jobs for my database.
>>>
>>>As noted, the last successful running of the jobs was on the 17th, between
>>>4
>>>and 5 a.m. On that same day, between 3 and 4 a.m., the sys admin applied
>>>some Windows 2000 Server security updates and rebooted the server. Then
>>>the
>>>jobs ran an hour later. Then, on the 18th, the integrity checks ran
>>>successfully at 4:10. After that, nothing ran successfully.
>>>
>>>Even stranger, still, are the SQL Server Logs.
>>>
>>>The SQL Server logs show SQL Server stopping at 3:29 am on the 17th
>>>(probably at the time of reboot), and then restarting at 3:35 am, and then
>>>completing the backups of the three databases at 4:37 and 4:38 am. That's
>>>all fine.
>>>
>>>Then, that night, at 10:08 pm on the 17th, there's a log entry that reads:
>>>"Using 'xpsql70.dll' version '2000.28.09' to execute extended stored
>>>procedure 'xp_msver'"
>>>
>>>Then, at 11:00 pm that same night, EVERY database was backed up (master,
>>>model, msdb, Northwind, pubs, my database, and another I have there called
>>>test1). They all got backed up at 11:00 pm on the 17th, even though I have
>>>no maintenance plan that specifies that they should be backed up.
>>>
>>>Then, after the 17th, according to the logs, those 7 databases got backed
>>>up
>>>every night between 10 and 11 pm -- but at a different time each night:
>>>10:41 on the 18th; then 10:37 the following night; then 10:41; then 10:42;
>>>then 10:51; 10:57; etc. Clearly, these backups are happening at the end of
>>>another job, which is taking longer and longer.
>>>
>>>But the question still remains: what caused these 7 backups to happen in
>>>the
>>>first place? The Windows 2000 Server updates that the admin applied the
>>>morning of the 17th? And why do my regular Agent jobs not execute, but
>>>just
>>>hang indefinitely?
>>>
>>>Also, though the log shows these 7 backups running every night, I don't
>>>see
>>>the backups anywhere. Looking at the properties for one of the log
>>>entries,
>>>I see the following:
>>>
>>>Database backed up with following information: Database: Northwind,
>>>creation
>>>date and time: 2002/05/19(12:03:16), pages dumped: 371, first LSN:
>>>26:426:1,
>>>last LSN: 26:428:1, sort order: 52, striped: 0, number of dump devices: 1,
>>>device information: (FILE=1, TYPE=VIRTUAL_DEVICE:
>>>{'Northwind_00__8b6a35a5_2ead_4045_8bc2_c975392 f0020_'}).
>>>
>>>So it's backing up to a virtual device, which explains why I don't see the
>>>backups anywhere.
>>>
>>>Anyway, any ideas as to what might be going on and how I may be able to
>>>fix
>>>it so that my regular maintenance jobs and backups are able to run again
>>>would be appreciated. Thanks!
>>>
>>>Neil
>>>

>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-05-2008, 05:51 AM
Neil
 
Posts: n/a
Default Re: Problems With SQL Agent in SQL 7

BTW, followup: a server reboot cleared up the problem. D'oh!

"Roy Harvey (SQL Server MVP)" <roy_harvey@snet.net> wrote in message
news:rtmf14pqn6ilkr3nv4nvtl5m6k8gh1jgad@4ax.com...
>I find it strange that the backups through Veritas never used to
> appear in the SQL Server log. I would have expected them to always be
> there.
>
> I'm afraid I can't be of much help. Even when I used SQL Server 7.0,
> I never used Agent to run anything. I was working in a shop that had
> a sophisticated (and VERY expensive) batch scheduling tool which we
> used for all our backups and maintenance.
>
> It sounds like a possible permissions problem of some kind, but beyond
> that I have no clue.
>
> Good luck!
>
> Roy Harvey
> Beacon Falls, CT
>
> On Wed, 30 Apr 2008 01:54:20 GMT, "Neil" <nospam@nospam.net> wrote:
>
>>Yes -- after I wrote the post, I found out that the backup is being
>>performed by the tape backup system's agent, which hooks into SQL Server.
>>The only thing is, this has been going on for years, and has never
>>interfered with SQL Server Agent before. Also, the tape backup agent's
>>backups never appeared in the SQL log before. (The software is Veritas
>>Agent, I believe.)
>>
>>So, in summary:
>>
>>1) Vertias Agent has been running for years doing nightly backup to tape,
>>without interfering with SQL Server Agent, and without its backups
>>appearing
>>on the SQL Server log.
>>
>>2) On 4/17, an update to Windows 2000 Server was installed, and, that
>>evening, the Veritas Agent backups started appearing on the SQL Server
>>log.
>>(The sys admin swears he didn't update or change anything with Veritas
>>Agent
>>or SQL Server -- only the Windows 2000 Server update.)
>>
>>3) After the Veritas Agent backups started appearing on the SQL Server
>>logs,
>>the night of 4/17, the regular SQL Server Agent maintenance and backup
>>jobs
>>stopped working. They would execute, but would remain on "executing step
>>1"
>>indefinitely. When I tried to run each step manually, the results were the
>>same, with the exception of the backup. When I ran the SQL Server Agent
>>backup job manually, it did backup the master and msdb databases; but it
>>hung indefinitely when backing up my database.
>>
>>So that's the situation. Now how to get out of it and get SQL Server Agent
>>to start working again.
>>
>>Neil
>>
>>
>>"Roy Harvey (SQL Server MVP)" <roy_harvey@snet.net> wrote in message
>>news:uvke1454aqpg4rriceqh5uo3aenuedcktd@4ax.com. ..
>>> It has been a long time since I've worked with SQL Server 7.0, and I
>>> don't have the docs handy, but the thought I have is that a third
>>> party backup tool is running the database backups. As shipped SQL
>>> Server can only back up to a disk file (local or remote) or a tape
>>> drive physically attached to the server. However they provided hooks
>>> for third party backup software vendors to write an agent that runs on
>>> the SQL Server; the agent initiates the backup and routes the data to
>>> the backup program running on a centralized system. That allows
>>> backup directly to tape with the tape drive on another server.
>>>
>>> Good luck!
>>>
>>> Roy Harvey
>>> Beacon Falls, CT
>>>
>>> On Tue, 29 Apr 2008 14:43:33 GMT, "Neil" <nospam@nospam.net> wrote:
>>>
>>>>Having problems with SQL Agent in SQL 7. Just noticed that my backup
>>>>hasn't
>>>>been running since the 17th. Went into SQL Agent, and the 4 jobs that it
>>>>does (integrity checks, optimizations, transaction log backup, and db
>>>>backup) were all hanging -- still running "step 1" from the 18th.
>>>>
>>>>I stopped SQL Agent and restarted it, and tried running the integrity
>>>>checks. It hung.
>>>>
>>>>Stopped SQL Agent and restarted it and tried running optimizations. It
>>>>hung.
>>>>
>>>>Stopped SQL Agent and restarted it and tried running db backups. The
>>>>backups
>>>>job runs three backups: master, msdb, and my database. Interestingly,
>>>>the
>>>>backup job created a backup for master and msdb, but didn't create a
>>>>backup
>>>>for my database. The job just continually showed that it was being
>>>>processed
>>>>when I looked in EM, under Management, SQL Server Agent, Jobs.
>>>>
>>>>I stopped SQL Agent again, and restarted it. Then I did a manual backup
>>>>of
>>>>my database. The manual backup worked fine. Also, the database itself
>>>>seems
>>>>to have been working fine these past 11 days. But, for some reason, SQL
>>>>Agent won't run the jobs for my database.
>>>>
>>>>As noted, the last successful running of the jobs was on the 17th,
>>>>between
>>>>4
>>>>and 5 a.m. On that same day, between 3 and 4 a.m., the sys admin applied
>>>>some Windows 2000 Server security updates and rebooted the server. Then
>>>>the
>>>>jobs ran an hour later. Then, on the 18th, the integrity checks ran
>>>>successfully at 4:10. After that, nothing ran successfully.
>>>>
>>>>Even stranger, still, are the SQL Server Logs.
>>>>
>>>>The SQL Server logs show SQL Server stopping at 3:29 am on the 17th
>>>>(probably at the time of reboot), and then restarting at 3:35 am, and
>>>>then
>>>>completing the backups of the three databases at 4:37 and 4:38 am.
>>>>That's
>>>>all fine.
>>>>
>>>>Then, that night, at 10:08 pm on the 17th, there's a log entry that
>>>>reads:
>>>>"Using 'xpsql70.dll' version '2000.28.09' to execute extended stored
>>>>procedure 'xp_msver'"
>>>>
>>>>Then, at 11:00 pm that same night, EVERY database was backed up (master,
>>>>model, msdb, Northwind, pubs, my database, and another I have there
>>>>called
>>>>test1). They all got backed up at 11:00 pm on the 17th, even though I
>>>>have
>>>>no maintenance plan that specifies that they should be backed up.
>>>>
>>>>Then, after the 17th, according to the logs, those 7 databases got
>>>>backed
>>>>up
>>>>every night between 10 and 11 pm -- but at a different time each night:
>>>>10:41 on the 18th; then 10:37 the following night; then 10:41; then
>>>>10:42;
>>>>then 10:51; 10:57; etc. Clearly, these backups are happening at the end
>>>>of
>>>>another job, which is taking longer and longer.
>>>>
>>>>But the question still remains: what caused these 7 backups to happen in
>>>>the
>>>>first place? The Windows 2000 Server updates that the admin applied the
>>>>morning of the 17th? And why do my regular Agent jobs not execute, but
>>>>just
>>>>hang indefinitely?
>>>>
>>>>Also, though the log shows these 7 backups running every night, I don't
>>>>see
>>>>the backups anywhere. Looking at the properties for one of the log
>>>>entries,
>>>>I see the following:
>>>>
>>>>Database backed up with following information: Database: Northwind,
>>>>creation
>>>>date and time: 2002/05/19(12:03:16), pages dumped: 371, first LSN:
>>>>26:426:1,
>>>>last LSN: 26:428:1, sort order: 52, striped: 0, number of dump devices:
>>>>1,
>>>>device information: (FILE=1, TYPE=VIRTUAL_DEVICE:
>>>>{'Northwind_00__8b6a35a5_2ead_4045_8bc2_c97539 2f0020_'}).
>>>>
>>>>So it's backing up to a virtual device, which explains why I don't see
>>>>the
>>>>backups anywhere.
>>>>
>>>>Anyway, any ideas as to what might be going on and how I may be able to
>>>>fix
>>>>it so that my regular maintenance jobs and backups are able to run again
>>>>would be appreciated. Thanks!
>>>>
>>>>Neil
>>>>

>>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:22 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145