SSMS in Win8 Cannot detect another server in Win7 on LAN
Hi, i am developing a program with vb.net. I have a problem when connected program to database (SQL server). My problem like this :
I have 3 pc. PC-A, PC-B and PC-C. 3 pc is connected in LAN.
OS PC-A & PC-B is win7 sp1 32bit. OS PC-C is win8 64bit.
I install SQL server 2012 SP1 express edition with Advanced service [32 bit] on PC-A. In PC-C, i install SQL Server 2012 SP1 express edition with Advanced service [64 bit]. In PC-B, i don't install SQL Server.
My program can connect database on PC-A from PC-A and PC-B with connection string like this "Server=192.168.1.201\SQLEXPRESS;Initial Catalog=<my database name>;User ID=<my sql id>;Password=<my pass>"
When i run my program in PC-C to connect database on PC-A, i get error 26 (about server not found).
Then, i try to open SSMS in PC-C. On windows "Connect to Server", i choose Browse for Servers then click tab Network Servers. The list only show server in PC-C. Server in PC-A not show.
So, what can i do ? Is my problem because the different OS or different architecture or other ?
Check the below and start the service for SQL EXPRESS.
Services -> SQL Server (SQLEXPRESS)
Refer the below link if that helps you.
http://stackoverflow.com/questions/18140990/error-sql-network-interfaces-error-26-error-locating-server-instance-specif
Similar Messages
-
Cannot start instance of another server : correction
Correction : To the moderator of the newsgroup, please delete my other post with
the subject 'Cannot start instance of another server'.
In the console of WLS 6.1 SP3 on HP-UX, I have created another instance of a server
I called 'another_of_myserver' (in addition to the default myserver). When I
try to start another_of_myserver, it won't start and gives the following error
============================
<Nov 26, 2002 1:32:04 PM EST> <Error> <NodeManager> <Could not start server 'another_of_myserver'
via Node Manager - reason: '[SecureCommandInvoker: Could not create a socket to
the NodeManager running on host 'localhost:5555' to execute command 'another_of_myserver',
reason: Connection refused. Ensure that the NodeManager on host 'localhost' is
configured to listen on port '5555' and that it is actively listening]'>
===========================
What does it mean and how do I get it to start ?
Thanks for any help or suggestion.Athooya,
If you do not specify a weblogic.nodemanager.listenPort or
weblogic.nodemanager.listenAddress they will be set to the default.
So the listenAddress will be localhost and so not matching exactly the address
used by the remote
start. Please try to set the listen address of the Node Manager when it is
started. You can specify the address on which the Node Manager will listen for
requests from the
Administration Server with the following parameter: -Dweblogic.nodemanager.listenAddress=host
where host is the DNS name or IP address of the machine where the Node Manager
is started.
The default port on which the Node Manager will listen for requests
from the Administration Server is 5555. You can change this with the following
startup parameter:
-Dweblogic.nodemanager.listenPort=port
Refer to
http://edocs.bea.com/wls/docs61/adminguide/remotestart.html for additonal information.
Chuck Nelson
DRE
BEA Technical Support -
Cannot ping from zone or ping zone from another server
Hi all,
I've just setup a zone, configured the OS on it and booted it.
1) From the global zone I can ping the zone
2) From another server(s) I cannot ping the zone although I can ping the global zone
3) From the zone I cannot even ping the global zone let alone anything else
Any ideas whats gone wrong. the zone xml looks like:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE zone PUBLIC "-//Sun Microsystems Inc//DTD Zones//EN" "file:///usr/share/lib/xml/dtd/zonecfg.dtd.1">
<!--
DO NOT EDIT THIS FILE. Use zonecfg(1M) instead.
-->
<zone name="ivcp0.lon.oss.colt.net" zonepath="/zones/ivcp0.lon.oss.colt.net" autoboot="true">
<inherited-pkg-dir directory="/lib"/>
<inherited-pkg-dir directory="/platform"/>
<inherited-pkg-dir directory="/sbin"/>
<inherited-pkg-dir directory="/usr"/>
<inherited-pkg-dir directory="/opt/sfw"/>
<filesystem special="/home" directory="/home" type="lofs"/>
<network address="212.74.77.211/25" physical="bge1"/>
</zone>
zoneadm list -vc
ID NAME STATUS PATH
0 global running /
2 ptl1.lon.oss.colt.net running /zones/ptl1.lon.oss.colt.net
3 ptl1.dev.lon.oss.colt.net running /zones/ptl1.dev.lon.oss.colt.net
7 ivcp0.lon.oss.colt.net running /zones/ivcp0.lon.oss.colt.netMight help to send along the "ifconfig -a" and "netstat -rnv" output from both the global zone and the local zones that are having problems.
Traceroute might also help you isolate the problem -
Need to pull the data from one server to another server in SSMS using linked server
Hi, I have store proc which will take the parameters passed to it and store it in a table in that server. Now, this table data has to be pulled to another server table which is of same structure. But I need to do that in the same store proc which is in
first server. I have searched in online but could not figure it how to link connection between these two servers and pull data from the first sever to the second. Can anyone please helpYou can setup a linked server from Server A to Server B. Then you will be able to query server B from Server A.
eg: Assume you have a database test in Server B which has a table sample. From server A you could run this query to pull details.
Select * from ServerB.test.dbo.sample.
http://msdn.microsoft.com/en-us/library/ms188279.aspx
http://msdn.microsoft.com/en-us/library/ff772782.aspx#SSMSProcedure
You also have other options like distributed queries (openquery), check this blog
http://blog.sqlauthority.com/2007/10/06/sql-server-executing-remote-stored-procedure-calling-stored-procedure-on-linked-server/
Regards, Ashwin Menon My Blog - http:\\sqllearnings.com -
Workshop cannot start "localhost" server
Hi,
I'm using Workshop 10.3 (from Oracle Service Bus 10gR3) on a Windows XP machine.
I have to run my domains strictly on "localhost". I've edited the default OSB and Workshop domains (i.e. ${OSB_HOME}/osb_10.3/samples/domains/servicebus and ${OSB_HOME}/workshop_10.3/samples/domains/workshop) and defined a "<listen-address>" of "localhost". For example, the workshop domain's config.xml contains:
<server>
<name>cgServer</name>
<ssl>
<name>cgServer</name>
<enabled>true</enabled>
<listen-port>7002</listen-port>
</ssl>
<listen-port>7001</listen-port>
<listen-address>localhost</listen-address>
</server>
...When I start a server for either of the two domains from within the Workshop IDE, I get an error claiming that the server failed to start because it's occupied. For example, the OSB samples domain give the following error log:
!ENTRY com.bea.workshop.wls.core 1 2000 2010-03-31 14:04:19.114
!MESSAGE Server watcher[Oracle WebLogic Server v10.3 at localhost (OSB samples domain)]:running Weblogic detected, validating...
!ENTRY com.bea.workshop.wls.core 2 2 2010-03-31 14:04:19.192
!MESSAGE Unable to validate WebLogic domain.
Please make sure the running WebLogic instance is an Administration Server
!ENTRY com.bea.workshop.wls.core 4 4000 2010-03-31 14:04:19.630
!MESSAGE Another server (or another process) is running on the same TCP/IP port '7021'.
!ENTRY org.eclipse.wst.server.core 4 0 2010-03-31 14:04:19.661
!MESSAGE Server Oracle WebLogic Server v10.3 at localhost (OSB samples domain) failed to start.I can guarantee that there's nothing already running on port 7021/7022 (or 7001/7002 which is mentioned when I try to start the Workshop domain with the same failing result). If the server is not running I can see with "netstat" that nothing's using those ports and a telnet to either port will simply fail to connect to localhost.
In fact, the Workshop IDE simply thinks that the server process failed to start, when in fact it is running successfully. If I access (e.g. for OSB) http://localhost:7021/examplesWebApp/index.jsp I get the samples screen (in fact the browser is started on this address automatically) and can run the samples. I can also access the console by going to http://localhost:7021/console.
However, Workshop thinks the server is dead and I cannot publish/run projects on the server from within the IDE.
Any ideas why?The problem is related to the fact that the server does not accept connections using the T3 protocol.
For more details, see Can't connect to administration server using "t3" protocol
It has not been resolved, but I have an SR pending with Oracle support. -
Error: Recover-RecoverableItem : DPM cannot detect the volume
Hi,
We are currently extracting SQL backups from a secondary DPM server to copy to another device for long term archiving.
We are doing this with a powershell script.
We get this error message: Recover-RecoverableItem : DPM cannot detect the volume E:\ on SERVERNAME. (ID: 31085)
Here's the script:
Add-PSSnapin Microsoft.DataProtectionManager.PowerShell
Add-Type -Path "C:\Program Files\Microsoft DPM\DPM\bin\Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.SQL.dll"
$pg = get-protectiongroup –dpmservername SERVERNAME | where {$_.FriendlyName -eq "SQLSERVERS"}
$ds = get-datasource –protectiongroup $pg
$i = 0
$RestorePath = "D:\restore"
$DPMServerName = "SERVERNAME"
$rp= @(get-recoverypoint –datasource $ds[$i] | sort -Property RepresentedPointInTime -Descending);
$rp_to_restore=$rp[0];
$rop = New-RecoveryOption -SQL -Targetserver $DPMServerName -Recoverylocation CopyToFolder -RecoveryType Restore -TargetLocation $RestorePath
$RestoreJob = Recover-RecoverableItem -RecoverableItem $rp_to_restore -RecoveryOption $rop
Disconnect-DPMServer -DPMServerName $DPMServerName
exitHello,
Same problem here, DPM cannot detect the volume I:\ on server xxxxx (ID: 31085)
I've noticed, that the problem is appearing while trying to recover to my usb hdd, while is does recover to internal hdd normally. Some days ago it used to work fine with usb disk too. I don't know what happened.
Any help please??? -
OJEC1.0: Cannot detect and install the selected platform
Hi All
I try to setup the OJEC 1.0 SDK for Windows x86.
While adding the emulator located in C:\Program Files (x86)\Oracle\Oracle JavaME Embedded Client\1.0\emulator-platform as a new "Java ME CDC Platform Emulator" in the "Java Platform Manager" (Tools -> Java Platforms -> Add Platform), it throws "Cannot detect and install the selected platform" error.
This should be successfully done because of following the [Developer's Guide|http://docs.oracle.com/javame/config/cdc/cdc-opt-impl/ojmeec/1.0/install/html/z400009a1006487.html]
Here is my Netbeans's environmental information. The same error causes in the case of NetBeans 6.9.1.
Product Version: NetBeans IDE 7.0.1 (Build 201107282000)
Java: 1.7.0_01; Java HotSpot(TM) 64-Bit Server VM 21.1-b02
System: Windows 7 version 6.1 running on amd64; MS932; en (nb)
Any suggestion would be appreciated.
Regards,
--yoshiki(1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
http://majorgeeks.com/download.php?det=4459
(2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
(3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
(4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
(5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time? -
hi, i am trying to open and view a report that comes from another server with different odbc connection
i created a crystal report for a mysql database on my machine and everything works great
but we have other reports that come from other machines with different odbc connection
and this its not working when opens the report asks for credentials
and i cannot use the remote ip for these reports that come from other machine
question
if i cannot connect to remote ip to open the report
for each report i have to create a database the report database on my machine and then open the report ?
or there is some other way to open the report ?
i am using visual studio 2013 and mysql and
<add key="MYSQLODBCDRIVER" value="{MySQL ODBC 5.3 UNICODE Driver}"/>
thanksshort
i have a report that it was created on another server with a specific dsn
now i am trying to open the report on my machine
the database from the other server does not exist on my machine
the server machine where the report was created the ip its not accessible
question ?
can i open the report on my machine or its impossible ?
thanks -
Hi All,
I have been trying to fix this for days now. I have tried solutions in many articles but to no avail. So while the error message is something you may have seen may times, I just can't find a solution in my case.
This is the error:
And in text just in case the image isn't viewable:
"External Data Refresh Failed. We cannot locate a server to load the workbook Data Model. We were unable to refresh one or more data connections in this workbook. The following connections failed to refresh: ThisWorkBookDataModel."
What is worse is I have checked the ULS (SharePoint Trace Logs), the Event Viewer Logs and the OWA Logs and I cannot find a specific error that would help pin point the problem.
Excel Workbook
So what am I doing? I have an Excel 2013 workbook and I create an "SQL Server" connection to the AdventureWorksDW database, add a pivot table and a pivot chart, test in in Excel and all works fine.
I save the Excel workbook to SharePoint 2013 and then select "Data" then "Refresh All Connections" and then I get the error in the picture above.
Even more puzzling is I have another Excel workbook that also has pivot tables and pivot charts in the AdventureWorksDW2012Multidimensional cube database in "SQL Analysis Services" and this works fine. Hmmm.
My Environment
My environment is Windows 2008 R2 Server, SharePoint 2013 with the April Service Pack1 and a separate server with OWA2013 SP1. It has an SQL Server 2008 R2 database which has been upgraded to SQL Server 2012.
Data Model Settings
In Excel Services this is set to my server name which is "server-name". As I do not have instances all I can enter is the server name. As this works everywhere else including the workbook outside of SharePoint I do not think this is the problem.
But I could be wrong.
Unattended Account
I have set this up for the PowerPivot Services App and Excel Services App.
ODC Connections in Excel
I have tried all 3 authentication modes, Windows, Secure Store ID and "None" which is the unattended account. I have not tried the other connection types, should I?
Not in WOPI
I am not in WOPI mode.
AD Accounts
I have added permissions in the SharePoint Services and SQL Server, and as they work in Excel outside of SharePoint, I do not think it is a permissions issue. I could be wrong of course, but the problem is in one of SharePoint, OWA, AD,
SQL Server, Excel, and Windows Server.
Isolate the Error
Below is a list of errors I think are relevant but they do not tell me much. The SharePoint logs are not really giving me an error that tells me what to do and where to do it, or even why it cannot refresh, (perhaps not noticeable by the untrained eye).
Problem with SQL Server Not Analysis Services
So my cube database in analysis services works fine in SharePoint/OWA but not the databases in sql server. This is my best clue but I have no idea what it means. Why would it work with an Analysis Services connection but not an "SQL Server" connection?
It Works Outside of SharePoint
If I run the excel worksheet outside of SharePoint all works fine. When inside OWA this is where the refresh error occurs.
Errors from Event Viewer on SharePoint Server using ULS Viewer
"Failed to create an external connection or execute a query. Provider message: There are no servers available or actively being initialized., ConnectionName: , Workbook:"
"Refresh failed for 'ThisWorkbookDataModel' in the workbook 'http://server...'. [Session: 1.V22.26itT0lx8piNFeqtuGVhN214.5.en-US5.en-US36.98c0e158-9113-46e9-850e-edda81d9ed1c1.A1.N User: 0#.w|ad\testuser1]"
And an error in the ULS under the "Data Model" category:
"--> Check Deployment Mode (server-name): Fail (Expected: SharePoint, Actual: Multidimensional)."
This last error, as it turned out, defined the problem concisely, although I was yet to work out what it meant in some detail.I finally solved this myself (or should I say with the help of several key articles).
The refresh did not work because the database was not in "SharePoint Mode". Yes, SQL Server has modes, 3 of them in fact.
If you installed SharePoint to the default SQL instance which would be called <servername> then you cannot use this default instance for Excel 2013 workbooks in OWA 2013 because the refresh only works if the database is in SharePoint mode.
So what are these 3 modes? The Deployment Mode property in the msmdsrv.ini file has them as:
0 = Multidimensional mode (the default whenever you install SQL Server normally)
1 = PowerPivot for SharePoint mode
2 = Tabular mode mode
How do you know what mode you are in? That's easy, open SQL Studio Manager and connect to all your SQL database engine instances (ignore Analysis Services or SSRS as they are not database engines). If you only have the default instance then that is almost
definately in Multidimensional mode which is the default and what SharePoint installs its databases to.
You must have an instance called <servername>\POWERPIVOT. This instance is the "sharepoint mode" needed, and the default instance name when you install an SQL instance in this mode.
If you don't see <servername>\POWERPIVOT in SQL server then you are not in "sharepoint mode". It is more accurate to say, you do not have an instance that is in sharepoint mode. This is because you cannot simply switch modes on an SQL server.
You have to install a new instance in the required mode, thats the only way.
That's easy enough. Load up the SQL Server setup CD and run setup. Install a brand new instance and select "SQL Server PowerPivot for SharePoint" when you get there in the wizard.
Now you will have the default instance that stores all the SharePoint databases and that is in mode 0, and a new instance called <servername>\POWERPIVOT that is in mode 1. The "<servername>\POWERPIVOT" instance connection is what you
will use for Excel 2013 when rendering in OWA 2013.
You also need to ensure OWA 2013 is not in WOPI mode for Excel worksheets. See the last link below for more information about WOPI.
Next you should go to the Excel Service App in CA and click Data Model Settings and add the <servername>\POWERPIVOT instance.
Then you have to either turn off the firewall on the SQL server machine, or create an inbound rule on the Windows firewall to open the TCP port for the <servername>\POWERPIVOT instance:
1. Start Task Manager and then click Services to get the PID of the MSOLAP$InstanceName.
2. Run netstat –ao –p TCP from the command line to view the TCP port information for that PID.
Finally, you can now create Excel 2013 workbooks that run in OWA without refresh errors, as long as you are connecting to the <servername>\POWERPIVOT instance. Hooray.
REFERENCES
Look for the string "There are no servers available or actively being initialized" in this article:
http://blogs.msdn.com/b/analysisservices/archive/2012/08/02/verifying-the-excel-services-configuration-for-powerpivot-in-sharepoint-2013.aspx
Determine the server mode:
http://msdn.microsoft.com/en-au/library/gg471594(v=sql.110).aspx
Install the SharePoint PowerPivot instance (aka SharePoint mode)
http://msdn.microsoft.com/en-au/library/eec38696-5e26-46fa-bc83-aa776f470ce8(v=sql.110)
Open the port for the new SQL instance:
http://msdn.microsoft.com/en-us/library/ms174937(v=sql.110).aspx
Turn Off WOPI for Excel OWA
http://blogs.technet.com/b/excel_services__powerpivot_for_sharepoint_support_blog/archive/2013/01/31/powerpivot-for-sharepoint-browser-refresh-fails-data-refresh-not-supported-in-office-web-apps.aspx -
How to transport a custom bapi (written by me) to another server
Hello friends,
We have a software that is integrated with SAP. To make our software work with SAP, we have some custom bapis created on SAP side. We would like to transfer them to another server that is on a different network. After reading many documents and forums here is the what I have done and the problem that I am facing. Your help will be highly appreciated.
1.Started Transaction 'SE80'.
2.Created a test package called 'ZTRANSPORTTEST'.
3.Created a function group called 'ZTRANSPORTTESTFN' under that package.
4.Created a function module under the group called 'ZTRANSFUNCTION'
NOTE: Just saved and activated without adding any code since I won't be using this function
for anything other than to test the Transport Feature.
5. Clicked on the button that said 'Transport Organizer' and saw the list of requests including the
EC1K900083one that I just created.
6. I tried to release it by 'RIGHT CLICKING'
It waited for few seconds with the message....."code inspector checks running.".
Then it failed with an error message as follows
Error in pre-export methods for request EC1K900083
NOTE: I have made sure that everything is activated properly, since I read on a forum that this
error may occur if something is not activated properly. So I have done this step over
and over again making sure that everything is activated properly.
7. I then started Transaction 'SE09' and saw the request 'EC1K900083' under the released tree with a 'CHECK' Mark.
However, when I sent to /usr/SAP/trans/data and /usr/SAP/trans/Cofiles, I didn't find the transport data there.
Has anyone done this before and if so what am I doing wrong? Your suggestions or feedback will be highly appreciated.
Thanks
RamHello Friends,
Thanks for all the responses. I got the following response from SAP TECH SUPPORT which is not very encouraging and so I am just closing this.
Thanks
Ram
===========================================================================
30.04.2009 - 11:40:29 EST - Reply by SAP
Dear Mr Ram,
Thanks for explaining it once again.
The package is just container for development objects that belong together, in that they share the same system, transport layer, and
customer delivery status. Please check the below link http://help.sap.com/saphelp_nw70/helpdata/en/ea/c05da3f01011d3964000a0c94260a5/frameset.htm
As I understand correctly you want to 'export' your development outside of your SAP system domain. For that either you can do it using 'Externalsystems'. 'External systems' are a special form of virtual systems. A real SAP System is used in their place to perform actions on the transport directory. They are different from virtual systems in that they have their own transport directory that you can freely choose, you can use external systems to:
-Write transport requests to exchangeable data media
-Read transport requests from exchangeable data media
-Send transports to other transport domains using an intermediate directory
-Send transports to other transport domains using an intermediate directory
If you want to transport between systems in different domains, we recommend that you link domains with 'domain links'. There must be a
permanent network connection between the systems in the two domains, similar to the connection between systems within the same domain.
I would recommend to take a look in the documentation available in SAP Online help for further information on how to setup this
complex transport landscape. I hope this information helps you to setup the transport system.
Or you simply create a transport request of type 'transport of copy' and input target system and client (which you should know) system as
target system include the objects (bapi) in the request. This ensure that requests will only be imported into that system. Other systems willnot be touched.
'Transport of copies' type transports do not get automatically added to the next buffer after they have been imported into a system. When creating a 'Transport of copies' transport the target system must be specified as this type of transport does not respect the defined transport routes outlined in TMS.
You can use this request type to transport objects to a specified SAP System using Transports of copies. The objects are transported with the version they have in the current SAP System. The original location of the objects remains unchanged. There is no delivery to another SAP System.
But we at AGS we cannot suggest, as the nature of your request indicates this is a consulting issue rather than a software error.
Customer Support's charter, under the SAP maintenance agreement, is to handle software or system defects in the standard delivered R/3 product. Please refer the note 1054121.
So you have to seek assistance from SAP's Remote Consulting Service which is billable.
I am sorry that I could not give you more positive reply in this case.
With warm regards,
Sajiv
Active Global Support - Technology
========================================================================= -
Error while duplicate database from one server to another server
Hi there,
I am practicing duplicate database from one single database server to another server. Hardware and driver path on 2 machines is the same. Here are my steps:
--------------------- Clone site:
1. modify listener.ora with content:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
ADR_BASE_LISTENER = /u01/app/oracle
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
(SID_NAME= orcl)
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = ON
2. stop and start listener again, message show like :
Service “orcl” has 1 instance(s).
Instance “orcl”, status UNKNOWN, has 1 handler(s) for this service…
The command completed successfully
3. create pfile from spfile.
4. shutdown and startup nomount with pfile is new pfile create from step 3.
--------------------------------------- Source site
1. modify tnsnames.ora with content like:
VVCOREDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = vvcoredb)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 10.254.1.235) (PORT=1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
2. run command from rman like these:
rman> connect target sys@vvcoredb
rman> target database Password:
rman> connect auxiliary sys@orcl
rman> auxiliary database Password:
rman> DUPLICATE TARGET DATABASE to orcl from active database spfile nofilenamecheck;
Then the result show below:
Starting Duplicate Db at 24-SEP-12
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=63 device type=DISK
contents of Memory Script:
backup as copy reuse
targetfile '/u01/app/oracle/product/11.2.0/db_1/dbs/spfilevvcoredb.ora' auxiliary format
'/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora' ;
sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''";
executing Memory Script
Starting backup at 24-SEP-12
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=74 device type=DISK
Finished backup at 24-SEP-12
sql statement: alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''
contents of Memory Script:
sql clone "alter system set db_name =
''ORCL'' comment=
''duplicate'' scope=spfile";
shutdown clone immediate;
startup clone nomount;
executing Memory Script
sql statement: alter system set db_name = ''ORCL'' comment= ''duplicate'' scope=spfile
Oracle instance shut down
connected to auxiliary database (not started)
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 09/24/2012 17:44:12
RMAN-03015: error occurred in stored script Memory Script
RMAN-04014: startup failed: ORA-01261: Parameter db_recovery_file_dest destination string cannot be translated
ORA-01262: Stat failed on a file destination directory
Linux-x86_64 Error: 2: No such file or directory
I don't know what wrong with my pfile? I specify correct my pfile on clone site like this:
orcl.__db_cache_size=1476395008
orcl.__java_pool_size=16777216
orcl.__large_pool_size=16777216
orcl.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
orcl.__pga_aggregate_target=1342177280
orcl.__sga_target=1979711488
orcl.__shared_io_pool_size=0
orcl.__shared_pool_size=436207616
orcl.__streams_pool_size=0
*.audit_file_dest='/u01/app/oracle/admin/orcl/adump'
*.audit_trail='db'
*.compatible='11.2.0.0.0'
*.control_files='/u01/app/oracle/oradata/orcl/control01.ctl','/u01/app/oracle/flash_recovery_area/orcl/control02.ctl'
*.db_block_size=8192
*.db_domain=''
*.db_name='orcl'
*.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area/vvcoredb'
*.db_recovery_file_dest_size=4070572032
*.diagnostic_dest='/u01/app/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
*.memory_target=3313500160
*.open_cursors=300
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.undo_tablespace='UNDOTBS1'
Please suggest me do i miss some steps when try to duplicate database?
Any suggestions are welcome.
Thanks in advance!
P/s: Sorry for my bad English.Oh god, it worked. Thank you. But i got another problem like this:
duplicate target database to orcl from active database spfile set "db_recovery_file_dest" = "/u01/app/oracle/flash_recovery_area/vvcoredb" nofilenamecheck;
Starting Duplicate Db at 24-SEP-12
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=63 device type=DISK
contents of Memory Script:
backup as copy reuse
targetfile '/u01/app/oracle/product/11.2.0/db_1/dbs/spfilevvcoredb.ora' auxiliary format
'/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora' ;
sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''";
executing Memory Script
Starting backup at 24-SEP-12
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=74 device type=DISK
Finished backup at 24-SEP-12
sql statement: alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''
contents of Memory Script:
sql clone "alter system set db_name =
''ORCL'' comment=
''duplicate'' scope=spfile";
sql clone "alter system set db_recovery_file_dest =
''/u01/app/oracle/flash_recovery_area/vvcoredb'' comment=
'''' scope=spfile";
shutdown clone immediate;
startup clone nomount;
executing Memory Script
sql statement: alter system set db_name = ''ORCL'' comment= ''duplicate'' scope=spfile
sql statement: alter system set db_recovery_file_dest = ''/u01/app/oracle/flash_recovery_area/vvcoredb'' comment= '''' scope=spfile
Oracle instance shut down
connected to auxiliary database (not started)
Oracle instance started
Total System Global Area 3307048960 bytes
Fixed Size 2217872 bytes
Variable Size 1811941488 bytes
Database Buffers 1476395008 bytes
Redo Buffers 16494592 bytes
contents of Memory Script:
sql clone "alter system set db_name =
''VVCOREDB'' comment=
''Modified by RMAN duplicate'' scope=spfile";
sql clone "alter system set db_unique_name =
''ORCL'' comment=
''Modified by RMAN duplicate'' scope=spfile";
shutdown clone immediate;
startup clone force nomount
backup as copy current controlfile auxiliary format '/u01/app/oracle/oradata/vvcoredb/control01.ctl';
restore clone controlfile to '/u01/app/oracle/recovery_area/vvcoredb/control02.ctl' from
'/u01/app/oracle/oradata/vvcoredb/control01.ctl';
alter clone database mount;
executing Memory Script
sql statement: alter system set db_name = ''VVCOREDB'' comment= ''Modified by RMAN duplicate'' scope=spfile
sql statement: alter system set db_unique_name = ''ORCL'' comment= ''Modified by RMAN duplicate'' scope=spfile
Oracle instance shut down
Oracle instance started
Total System Global Area 3307048960 bytes
Fixed Size 2217872 bytes
Variable Size 1811941488 bytes
Database Buffers 1476395008 bytes
Redo Buffers 16494592 bytes
Starting backup at 24-SEP-12
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile copy
copying current control file
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 09/24/2012 18:42:09
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 09/24/2012 18:42:09
ORA-17628: Oracle error 19505 returned by remote Oracle server
I have a comment that source site doesn't have flash_recovery_area, instead it's name is recovery_area, is it problem?
Edited by: 788420 on Sep 24, 2012 4:44 AM -
HP ENVY 4500 Printer "Error. Cannot connect to Server"
Hey everybody,
I work in IT and have a client that recently purchased a HP Envy 4500 all-in-one. She called me to install it for her and I got it set up with no problems. After a few days she told me that her printer wouldn't scan. It was giving her this error message;
"Error. Cannot connect to Server. Check Server name and address."
She has this computer connected via USB and I have already reinstalled the driver and ran the HP Print and Scan Doctor with no success. I have tried a lot of other solutions that people have been posting with the same issue but none have worked. This has become a huge issue and I don't see HP trying to find a solution. If no soultion will fix this, then I will be returning this printer for her and getting something that works.
Any help would be greatly appreciated,
bbritt91Hi bbritt91,
Welcome to the HP Support Forums. I understand that you are getting a connection error message when trying to use the scan to email feature of your Envy 4500 printer.
To be able to use the scan to email feature the printer must be setup with web services which requires the printer to be connected to your wireless network with an active internet connection. I have included the Getting Started with ePrint document for reference.
If the printer has been setup with a wireless connection, please set a manual IP address and manual DNS server for the printer. I have included a link to another post with the steps, including screen shots, on how to do this. Please don’t worry that the screen shots are for a Photosmart 7510, the steps are the same.
Please let me know how it goes.
Regards,
Happytohelp01
Please click on the Thumbs Up on the right to say “Thanks” for helping!
Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
I work on behalf of HP -
Office Network cannot detect MBP
Hi,
My office is using Windows Server. I managed to connect to my server drives but the centralised printer and scanner cannot detect my MBP in the configuration setting. Without being detected on the centralised scanner, I cannot scan documents to my MBP.
Thanks.Hi,
My office is using Windows Server. I managed to connect to my server drives but the centralised printer and scanner cannot detect my MBP in the configuration setting. Without being detected on the centralised scanner, I cannot scan documents to my MBP.
Thanks. -
How to copy file to another server from database using FTP in oracle
How to copy file to another server from database using FTP in oracle.
Please do the needfaul.Billy Verreynne wrote:
BluShadow wrote:
Not to mention that some FTP servers can return more than one return message per operation whereas others may return one message for the same operation.I had the problem using the LIST command to determine if a file exists on the server. Cannot be determined via the FTP server's return code. Which means parsing and checking the text response from the server to the command. And this vary from server to server.
But the basics were quite easy to code. The entire package is 500 lines, includes comments and blank lines for formatting, and supports the basic FTP client command set. Not really a complex piece of software to write - but I found that many developers seem to think that writing network socket software is complex. Not really the case...Mine's a big larger, but incorporates functionality similar to what Chris provided in his, such as being able to use SQL to query a remote file using pipelined functions, or functionality to write the results of a query directly to a remove file.
:) -
Oracle VM Server 2.2 Linux Guest cannot ntp to server properly
Hi All,
I have installed a VM guest Oracle Linux Enterprise 5U6 in Oracle VM server 2.2. I follow below procedure to config NTP in VM server.
https://blogs.oracle.com/virtualization/entry/configuring_ntp_services_for_oracle
However, when I apply the NTP configuration with VM server itself on the Guest, it detects the NTP server in high jitter value. Even though the stratrum is lower than the local host, It still cannot use that server as NTP source. Here is some information about the NTP debug and IP address.
IP Address:
Oracle VM Server: 172.16.8.100
VM Guest: 172.16.8.102
Debug on VM Guest:
# ntpdate -d 172.16.8.100
26 Mar 13:54:18 ntpdate[697]: ntpdate [email protected] Tue Dec 8 20:30:45 UTC 2009 (1)
Looking for host 172.16.8.100 and service ntp
host found : 172.16.8.100
transmit(172.16.8.100)
receive(172.16.8.100)
transmit(172.16.8.100)
receive(172.16.8.100)
transmit(172.16.8.100)
receive(172.16.8.100)
transmit(172.16.8.100)
receive(172.16.8.100)
transmit(172.16.8.100)
server 172.16.8.100, port 123
stratum 3, precision -20, leap 00, trust 000
refid [172.16.8.100], delay 0.02585, dispersion 0.00037
transmitted 4, in filter 4
reference time: d31a8fd0.c06d7d27 Mon, Mar 26 2012 13:48:48.751
originate timestamp: d31a9168.774cbbe0 Mon, Mar 26 2012 13:55:36.466
transmit timestamp: d31a911b.138bdec5 Mon, Mar 26 2012 13:54:19.076
filter delay: 0.02725 0.02614 0.02585 0.02626
0.00000 0.00000 0.00000 0.00000
filter offset: 77.38879 77.38864 77.38926 77.38931
0.000000 0.000000 0.000000 0.000000
delay 0.02585, dispersion 0.00037
offset 77.389261
26 Mar 13:54:19 ntpdate[697]: step time server 172.16.8.100 offset 77.389261 sec
High jitter to the server but actualyl they are on the single box
# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
172.16.8.100 172.16.90.1 3 u 47 64 3 0.265 2704.42 2488.59
LOCAL(0) .LOCL. 10 l 44 64 3 0.000 0.000 0.004
Thanks.
Rgds,
JackyHi Avi,
Thanks for your reply. Due to we do not have Oracle VM Manager, I did configure the VM guest to point the internal NTP server (172.16.90.1) which is mapped by Oracle VM server, but the high jitter is still existed while the guest can ntpq the NTP server. Thanks.
Oracle VM Server
#ntpstat
synchronised to NTP server (172.16.90.1) at stratum 3
time correct to within 56 ms
polling server every 1024 s
#ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
*172.16.90.1 10.1.22.230 2 u 551 1024 377 0.355 0.292 0.065
172.16.190.1 .INIT. 16 u - 1024 0 0.000 0.000 0.000
LOCAL(0) .LOCL. 10 l 46 64 377 0.000 0.000 0.001
VM Guest Oracle Linux
# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
172.16.90.1 10.1.22.230 2 u 61 64 3 0.432 252.261 3169.53
172.16.190.1 .INIT. 16 u - 64 0 0.000 0.000 0.000
LOCAL(0) .LOCL. 10 l 34 64 7 0.000 0.000 0.008
# ntpstat
synchronised to local net at stratum 11
time correct to within 448 ms
polling server every 64 s
# ntpdate -d 172.16.90.1
26 Mar 15:47:15 ntpdate[27478]: ntpdate [email protected] Tue Dec 8 20:30:45 UTC 2009 (1)
Looking for host 172.16.90.1 and service ntp
host found : 172.16.90.1
transmit(172.16.90.1)
receive(172.16.90.1)
transmit(172.16.90.1)
receive(172.16.90.1)
transmit(172.16.90.1)
receive(172.16.90.1)
transmit(172.16.90.1)
receive(172.16.90.1)
transmit(172.16.90.1)
server 172.16.90.1, port 123
stratum 2, precision -20, leap 00, trust 000
refid [172.16.90.1], delay 0.02594, dispersion 0.00052
transmitted 4, in filter 4
reference time: d31aa515.a637fc1e Mon, Mar 26 2012 15:19:33.649
originate timestamp: d31aabaf.06173915 Mon, Mar 26 2012 15:47:43.023
transmit timestamp: d31aaba2.61117b52 Mon, Mar 26 2012 15:47:30.379
filter delay: 0.02631 0.02605 0.02594 0.02594
0.00000 0.00000 0.00000 0.00000
filter offset: 12.64269 12.64337 12.64397 12.64443
0.000000 0.000000 0.000000 0.000000
delay 0.02594, dispersion 0.00052
offset 12.643971
26 Mar 15:47:30 ntpdate[27478]: step time server 172.16.90.1 offset 12.643971 sec
Rgds,
Jacky
Maybe you are looking for
-
Hi -- I have a Macbook Air on OS X Lion 10.7.5 & I'm trying to transfer files to a WD external hard drive on ExFAT. It seems that every time I transfer the files, mostly videos &music, they are successfully done. However, when I go to check the folde
-
How to make WBS element field in Notification a mandatory.
How to make WBS element field in Notification a mandatory. Should I use USer Exit. In cutomization I didnt find ant standard customization
-
Distiller and the lack of a PDF printer
I am new to Mac so please forgive any ignorant questions I may ask. I had some previous experience with Acrobat Pro on Windows and there I recall two things happening: Distiller seemed to be launched at boot up. There was a PDF printer present in the
-
Outlook 2010 only pick up the default printer, ignore the manually selected printer.
when I want to print paper through word or excel, I select printer-A, I got the paper from printer-A, which is fine. but in Outlook 2010, I did the same selection of Printer-A, and the outlook show the printer-A had been selected, but the paper was c
-
I have lost my 'On My Mac' Calendars
I had to recently unselect my Calendars & Reminders iCloud connection under System Preferences, and of course my iCloud iCal entries disappeared, but when I reticked Calendars & Reminders and got my iClould calendars back it did not reestablish my On