Showing posts with label access. Show all posts
Showing posts with label access. Show all posts

Friday, March 9, 2012

Log shipping error

I m getting following error in copy/restore operation
"The process cannot access the file because it is being used by another
process."
This come against the file first_file_000000000000.trn every time copy
restore is done. Only first time it went successful. Error number is 32.
Please tell me how to avoid thisVSS
You could be getting this messaqge because it is trying to restore the log
before the copy is finished. How often do you backup and copy the transaction
log?
There is a setting for load delay. The default is 0, you could try setting
that to wait longer for the copy to finish.
Hope this helps
John
"VSS" wrote:
> I m getting following error in copy/restore operation
> "The process cannot access the file because it is being used by another
> process."
> This come against the file first_file_000000000000.trn every time copy
> restore is done. Only first time it went successful. Error number is 32.
> Please tell me how to avoid this
>
>|||VSS wrote:
> I m getting following error in copy/restore operation
> "The process cannot access the file because it is being used by another
> process."
> This come against the file first_file_000000000000.trn every time copy
> restore is done. Only first time it went successful. Error number is 32.
> Please tell me how to avoid this
>
Isn't it obvious what you need to do? The error message tells you that
some other process is using the file that you're trying to copy/restore.
Not a SQL Server problem. You need to figure out what is using that
file. Take a look at http://www.sysinternals.com for some utilities
that will help you figure that out.
Tracy McKibben
MCDBA
http://www.realsqlguy.com

Log shipping error

I m getting following error in copy/restore operation
"The process cannot access the file because it is being used by another
process."
This come against the file first_file_000000000000.trn every time copy
restore is done. Only first time it went successful. Error number is 32.
Please tell me how to avoid thisVSS
You could be getting this messaqge because it is trying to restore the log
before the copy is finished. How often do you backup and copy the transactio
n
log?
There is a setting for load delay. The default is 0, you could try setting
that to wait longer for the copy to finish.
Hope this helps
John
"VSS" wrote:

> I m getting following error in copy/restore operation
> "The process cannot access the file because it is being used by another
> process."
> This come against the file first_file_000000000000.trn every time copy
> restore is done. Only first time it went successful. Error number is 32.
> Please tell me how to avoid this
>
>|||VSS wrote:
> I m getting following error in copy/restore operation
> "The process cannot access the file because it is being used by another
> process."
> This come against the file first_file_000000000000.trn every time copy
> restore is done. Only first time it went successful. Error number is 32.
> Please tell me how to avoid this
>
Isn't it obvious what you need to do? The error message tells you that
some other process is using the file that you're trying to copy/restore.
Not a SQL Server problem. You need to figure out what is using that
file. Take a look at http://www.sysinternals.com for some utilities
that will help you figure that out.
Tracy McKibben
MCDBA
http://www.realsqlguy.com

Monday, February 20, 2012

Log Shipping accross the WAN?

Can I setup Log Shipping accross the WAN if I enable very specific firewall
rules to allow access to MSSQL. (ie. WAN IP on port 1440 to WAN IP2 on 1440
)
Has anyone tried this? Is it as simple as opening up that port, or are ther
e
a whole host of ports to open up.Hi
Log shipping relies on a file copy from one server to another, so you need
the NT Challenge Response ports (135, 137, 138, 139) and 445. Then you need
to port that SQL Server listens on, which is generally 1433, depending on
your installation.
Look at http://www.speedguide.net/ports.php to see what ports I list and if
it is UDP or TCP.
Regards
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"Soul_Chicken" <Soul_Chicken@.discussions.microsoft.com> wrote in message
news:DC13165D-15E8-4A71-99BC-DA2B9AC4AE9C@.microsoft.com...
> Can I setup Log Shipping accross the WAN if I enable very specific
> firewall
> rules to allow access to MSSQL. (ie. WAN IP on port 1440 to WAN IP2 on
> 1440)
> Has anyone tried this? Is it as simple as opening up that port, or are
> there
> a whole host of ports to open up.
>|||In article <#4rPey6kFHA.1996@.TK2MSFTNGP10.phx.gbl>, mike@.epprecht.net
says...
> Hi
> Log shipping relies on a file copy from one server to another, so you need
> the NT Challenge Response ports (135, 137, 138, 139) and 445. Then you nee
d
> to port that SQL Server listens on, which is generally 1433, depending on
> your installation.
> Look at http://www.speedguide.net/ports.php to see what ports I list and i
f
> it is UDP or TCP.
Connections between SQL Servers in different locations (WAN to WAN)
should be done through a VPN tunnel and not exposed directly to the
Internet - there is no reason to expose a SQL server to the Internet.
spam999free@.rrohio.com
remove 999 in order to email me

Log Shipping accross the WAN?

Can I setup Log Shipping accross the WAN if I enable very specific firewall
rules to allow access to MSSQL. (ie. WAN IP on port 1440 to WAN IP2 on 1440)
Has anyone tried this? Is it as simple as opening up that port, or are there
a whole host of ports to open up.Hi
Log shipping relies on a file copy from one server to another, so you need
the NT Challenge Response ports (135, 137, 138, 139) and 445. Then you need
to port that SQL Server listens on, which is generally 1433, depending on
your installation.
Look at http://www.speedguide.net/ports.php to see what ports I list and if
it is UDP or TCP.
Regards
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"Soul_Chicken" <Soul_Chicken@.discussions.microsoft.com> wrote in message
news:DC13165D-15E8-4A71-99BC-DA2B9AC4AE9C@.microsoft.com...
> Can I setup Log Shipping accross the WAN if I enable very specific
> firewall
> rules to allow access to MSSQL. (ie. WAN IP on port 1440 to WAN IP2 on
> 1440)
> Has anyone tried this? Is it as simple as opening up that port, or are
> there
> a whole host of ports to open up.
>|||In article <#4rPey6kFHA.1996@.TK2MSFTNGP10.phx.gbl>, mike@.epprecht.net
says...
> Hi
> Log shipping relies on a file copy from one server to another, so you need
> the NT Challenge Response ports (135, 137, 138, 139) and 445. Then you need
> to port that SQL Server listens on, which is generally 1433, depending on
> your installation.
> Look at http://www.speedguide.net/ports.php to see what ports I list and if
> it is UDP or TCP.
Connections between SQL Servers in different locations (WAN to WAN)
should be done through a VPN tunnel and not exposed directly to the
Internet - there is no reason to expose a SQL server to the Internet.
--
spam999free@.rrohio.com
remove 999 in order to email me

Log Shipping accross the WAN?

Can I setup Log Shipping accross the WAN if I enable very specific firewall
rules to allow access to MSSQL. (ie. WAN IP on port 1440 to WAN IP2 on 1440)
Has anyone tried this? Is it as simple as opening up that port, or are there
a whole host of ports to open up.
Hi
Log shipping relies on a file copy from one server to another, so you need
the NT Challenge Response ports (135, 137, 138, 139) and 445. Then you need
to port that SQL Server listens on, which is generally 1433, depending on
your installation.
Look at http://www.speedguide.net/ports.php to see what ports I list and if
it is UDP or TCP.
Regards
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"Soul_Chicken" <Soul_Chicken@.discussions.microsoft.com> wrote in message
news:DC13165D-15E8-4A71-99BC-DA2B9AC4AE9C@.microsoft.com...
> Can I setup Log Shipping accross the WAN if I enable very specific
> firewall
> rules to allow access to MSSQL. (ie. WAN IP on port 1440 to WAN IP2 on
> 1440)
> Has anyone tried this? Is it as simple as opening up that port, or are
> there
> a whole host of ports to open up.
>
|||In article <#4rPey6kFHA.1996@.TK2MSFTNGP10.phx.gbl>, mike@.epprecht.net
says...
> Hi
> Log shipping relies on a file copy from one server to another, so you need
> the NT Challenge Response ports (135, 137, 138, 139) and 445. Then you need
> to port that SQL Server listens on, which is generally 1433, depending on
> your installation.
> Look at http://www.speedguide.net/ports.php to see what ports I list and if
> it is UDP or TCP.
Connections between SQL Servers in different locations (WAN to WAN)
should be done through a VPN tunnel and not exposed directly to the
Internet - there is no reason to expose a SQL server to the Internet.
spam999free@.rrohio.com
remove 999 in order to email me