Unable to connect to local host
Hi,
I have 64 bit operating system and got installed SQL Server Management Studio of 64 bit and the problem I am facing is unable to connect to local host, I have database mdf/ldf files in my local system and unable to connect to local system
tried localname/SQLEXPRESS and it did not work.
SQL Server Management Studio is not enough, you also need to install SQL Server instance.
http://www.orcsweb.com/blog/mark-newnam/how-to-install-sql-server-2012-express-edition/
Keerthi Deep | Blog SQLServerF1 |
Facebook
Similar Messages
-
JDev - Debugger unable to connect to local process.
Hi,
JDeveloper-11.1.1.5.0
Iam able to execute the project in run mode. If I try to execute the same project in Debug mode, getting a message as
'Listening for transport dt_socket at address: 4003'
Debugger unable to connect to local process.
Process exited.
Earlier, I was able to debug the application. Since last few days, facing the issue
Please suggest, if you have any.
Thanks,
MSR.Hi,
Thanks for your response .
Sorry for delay in response. Actually I was on vacation since last few days.
Finally able to fix the issue. Issue is due to change in C:\Windows\System32\drivers\etc\hosts file. It's been updated for some other reason. Now I've updated the file with required changes. Now able to fix the issue.
-Samba -
Debugger unable to connect to local process
I am going thru the JDeveloper Introduction Tutorial and when I try to debug the application I get the following error in the message window:
C:\JDev\jdk\bin\javaw.exe -ojvm -XXdebug,quiet,port1069 -classpath C:\JDev\jdev\mywork\MyFirstApp\MyProject\classes myproject.Dog
Debugger unable to connect to local process.
Process exited.
I am using Windows XP Professional
JDeveloper 10.1.3.4.3673
If I just run the application then it works.
I also have the Sun Java JDK installed, as well as Eclipse and NetBeans installed.
I tried reinstalling JDeveloper but the debug function still does not work.
Any help will be highly appreciated.
Thanks,
RaffyI am trying to debug a JSP application and each time I try to debug I get the error:
[Starting OC4J using the following ports: HTTP=8989, RMI=23893, JMS=9239.]
C:\oracle\jdk\bin\javaw.exe -ojvm -XXdebug,quiet,port2774 -classpath C:\oracle\j2ee\home\oc4j.jar com.evermind.server.OC4JServer -config C:\oracle\jdev\system\oc4j-config\server.xml
Debugger attempting to connect to local process.[waiting for the server to complete its initialization...]
Debugger unable to connect to local process. Go into the Tools > Preferences, and under Debugger, modify the "Connection Retry Setting" and increase the number of attempts.
Hope this helps,
Rob -
I am unable to connect to IPP host, and therefore cannot print
fyi:
IPP (Internet printing protocol)
IPP is a relatively new (1999) protocol based on the HTTP protocol. With IPP, more job-related data is transmitted than in the other protocols. CUPS uses IPP for internal data transmission. This is the preferred protocol for a forwarding queue between two CUPS servers. The name of the print queue is necessary to configure IPP correctly.
The port number for IPP is 631.
http://www-uxsup.csx.cam.ac.uk/pub/doc/suse/suse9.2/suselinux-adminguide_en/ch12 s04.html
This thread, suggest by the new forum software! has some interesting info:
https://discussions.apple.com/message/13100324#13100324 -
Help! Unable to connect to any hosts
Hi i'm new to jdbc and am having problems when trying to connect to the mysql database (with connectorj), i get the following error:
Unable to connect to any hosts due to exception: java.net.ConnectException Connection refused.
Its looks like the problem is with this line:
Connection connection = DriverManager.getConnection("jdbc:mysql://www.thedom.com/db?user=name&password=pass");
My full source is below:
import java.sql.*;
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import javax.swing.*;
public class TestDB
public static void main(String[] arguments)
TestDB db = new TestDB();
TestDB()
try
Class.forName("com.mysql.jdbc.Driver").newInstance();
Connection connection = DriverManager.getConnection("jdbc:mysql://198.64.146.121/vanljab?user=vanljab&password=WsW6S4WD");
Statement statement = connection.createStatement();
ResultSet resultSet = statement.executeQuery(
"Select * from vanljab.products where 1");
while (resultSet.next())
/* System.out.print(resultSet.getString("name"));
System.out.print(" ");
System.out.print(resultSet.getString("time"));
System.out.print(" ");
System.out.print(resultSet.getString("date"));
System.out.print(" ");
System.out.print(resultSet.getString("num_of_people"));
System.out.println();
statement.close();
connection.close();
catch (SQLException sqlException)
System.out.println("SQL: " + sqlException.getMessage());
catch (ClassNotFoundException classNotFoundException)
System.out.println("Driver not right: " +
classNotFoundException.getMessage());
catch (Exception instantiationException)
System.out.println("Instantiation error: " +
instantiationException.getMessage());found the problem, needed to change this line
Connection connection = DriverManager.getConnection("jdbc:mysql://www.thedom.com/db?user=name&password=pass");
to this adding mysql to the domain name
Connection connection = DriverManager.getConnection("jdbc:mysql://mysql.thedom.com/db?user=name&password=pass"); -
from the xserv where i am setting up a website i cannot access local host which is preventing me from setting up phpmyadmin config file. I open safari and type in http://localhost/ and i get the error message cannot connect to local host. I can access the server using the ip (no domain setup yet). I am a novice at setting up web serves in the mac/apache environment so i may have missed a simple step somewhere. Any help would be appreciated.
Hi, and a warm welcome to the forums!
No expert here, but have you tried http://127.0.0.1 ?
Might get better help in the xserve, or Server forums here. -
Cisco ASA 5505 IPsec client VPN - Cannot connect to local hosts
I have created a Cisco IPsec vpn on my ASA using the VPN creation wizard. I am able to successfully connect to the vpn and seemingly join the network, but after I connect I am unable to connect to or ping any of the hosts on the network.
Checking the ASA I can see that a VPN session is open and my client reports that it is connected. If I attempt to ping the client from the ASA all packets are dropped.
I suspect it may be an issue with my firewall, but I am not really sure where to begin.
Here is a copy of my config, any pointers or tips are aprpeciated:
hostname mcfw
enable password Pt8fQ27yMZplioYq encrypted
passwd 2qaO2Gd6IBRkrRFm encrypted
names
interface Ethernet0/0
switchport access vlan 400
interface Ethernet0/1
switchport access vlan 400
interface Ethernet0/2
switchport access vlan 420
interface Ethernet0/3
switchport access vlan 420
interface Ethernet0/4
switchport access vlan 450
interface Ethernet0/5
switchport access vlan 450
interface Ethernet0/6
switchport access vlan 500
interface Ethernet0/7
switchport access vlan 500
interface Vlan400
nameif outside
security-level 0
ip address 58.13.254.10 255.255.255.248
interface Vlan420
nameif public
security-level 20
ip address 192.168.20.1 255.255.255.0
interface Vlan450
nameif dmz
security-level 50
ip address 192.168.10.1 255.255.255.0
interface Vlan500
nameif inside
security-level 100
ip address 192.168.0.1 255.255.255.0
ftp mode passive
clock timezone JST 9
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
object-group network DM_INLINE_NETWORK_1
network-object host 58.13.254.11
network-object host 58.13.254.13
object-group service ssh_2220 tcp
port-object eq 2220
object-group service ssh_2251 tcp
port-object eq 2251
object-group service ssh_2229 tcp
port-object eq 2229
object-group service ssh_2210 tcp
port-object eq 2210
object-group service DM_INLINE_TCP_1 tcp
group-object ssh_2210
group-object ssh_2220
object-group service zabbix tcp
port-object range 10050 10051
object-group service DM_INLINE_TCP_2 tcp
port-object eq www
group-object zabbix
port-object eq 9000
object-group protocol TCPUDP
protocol-object udp
protocol-object tcp
object-group service http_8029 tcp
port-object eq 8029
object-group network DM_INLINE_NETWORK_2
network-object host 192.168.20.10
network-object host 192.168.20.30
network-object host 192.168.20.60
object-group service imaps_993 tcp
description Secure IMAP
port-object eq 993
object-group service public_wifi_group
description Service allowed on the Public Wifi Group. Allows Web and Email.
service-object tcp-udp eq domain
service-object tcp-udp eq www
service-object tcp eq https
service-object tcp-udp eq 993
service-object tcp eq imap4
service-object tcp eq 587
service-object tcp eq pop3
service-object tcp eq smtp
access-list outside_access_in remark http traffic from outside
access-list outside_access_in extended permit tcp any object-group DM_INLINE_NETWORK_1 eq www
access-list outside_access_in remark ssh from outside to web1
access-list outside_access_in extended permit tcp any host 58.13.254.11 object-group ssh_2251
access-list outside_access_in remark ssh from outside to penguin
access-list outside_access_in extended permit tcp any host 58.13.254.10 object-group ssh_2229
access-list outside_access_in remark http from outside to penguin
access-list outside_access_in extended permit tcp any host 58.13.254.10 object-group http_8029
access-list outside_access_in remark ssh from outside to hub & studio
access-list outside_access_in extended permit tcp any host 58.13.254.13 object-group DM_INLINE_TCP_1
access-list outside_access_in remark dns service to hub
access-list outside_access_in extended permit object-group TCPUDP any host 58.13.254.13 eq domain
access-list dmz_access_in extended permit ip 192.168.10.0 255.255.255.0 any
access-list dmz_access_in extended permit tcp any host 192.168.10.251 object-group DM_INLINE_TCP_2
access-list public_access_in remark Web access to DMZ websites (mediastudio/civicrm)
access-list public_access_in extended permit object-group TCPUDP any object-group DM_INLINE_NETWORK_2 eq www
access-list public_access_in remark General web access. (HTTP, DNS & ICMP and Email)
access-list public_access_in extended permit object-group public_wifi_group any any
access-list inside_nat0_outbound extended permit ip 192.168.0.0 255.255.255.0 192.168.10.0 255.255.255.0
access-list inside_nat0_outbound extended permit ip 192.168.0.0 255.255.255.0 192.168.20.0 255.255.255.0
access-list inside_nat0_outbound extended permit ip any 192.168.0.80 255.255.255.240
access-list inside_nat0_outbound extended permit ip any 192.168.0.64 255.255.255.192
pager lines 24
logging enable
logging timestamp
logging buffered notifications
logging trap notifications
logging asdm debugging
logging from-address [email protected]
logging recipient-address [email protected] level warnings
logging host dmz 192.168.10.90 format emblem
logging permit-hostdown
mtu outside 1500
mtu public 1500
mtu dmz 1500
mtu inside 1500
ip local pool OfficePool 192.168.0.80-192.168.0.90 mask 255.255.255.0
ip local pool VPN_Pool 192.168.0.91-192.168.0.99 mask 255.255.255.0
no failover
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 60
global (outside) 1 interface
global (dmz) 2 interface
nat (public) 1 0.0.0.0 0.0.0.0
nat (dmz) 1 0.0.0.0 0.0.0.0
nat (inside) 0 access-list inside_nat0_outbound
nat (inside) 1 0.0.0.0 0.0.0.0
static (inside,outside) tcp interface 2229 192.168.0.29 2229 netmask 255.255.255.255
static (inside,outside) tcp interface 8029 192.168.0.29 www netmask 255.255.255.255
static (dmz,outside) 58.13.254.13 192.168.10.10 netmask 255.255.255.255 dns
static (dmz,outside) 58.13.254.11 192.168.10.30 netmask 255.255.255.255 dns
static (inside,dmz) 192.168.10.0 192.168.0.0 netmask 255.255.255.0 dns
static (dmz,inside) 192.168.0.251 192.168.10.251 netmask 255.255.255.255
static (dmz,public) 192.168.20.30 192.168.10.30 netmask 255.255.255.255 dns
static (dmz,public) 192.168.20.10 192.168.10.10 netmask 255.255.255.255 dns
access-group outside_access_in in interface outside
access-group public_access_in in interface public
access-group dmz_access_in in interface dmz
route outside 0.0.0.0 0.0.0.0 58.13.254.9 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
dynamic-access-policy-record DfltAccessPolicy
http server enable
http 192.168.0.0 255.255.255.0 inside
http 59.159.40.188 255.255.255.255 outside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
sysopt noproxyarp dmz
sysopt noproxyarp inside
crypto ipsec transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac
crypto ipsec transform-set ESP-DES-SHA esp-des esp-sha-hmac
crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac
crypto ipsec transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
crypto ipsec transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac
crypto ipsec transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
crypto ipsec transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
crypto ipsec transform-set TRANS_ESP_3DES_SHA esp-3des esp-sha-hmac
crypto ipsec transform-set TRANS_ESP_3DES_SHA mode transport
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set pfs group1
crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5
crypto map inside_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
crypto map inside_map interface inside
crypto map outside_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
crypto map outside_map interface outside
crypto map public_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
crypto map public_map interface public
crypto isakmp enable outside
crypto isakmp enable public
crypto isakmp enable inside
crypto isakmp policy 5
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
crypto isakmp policy 10
authentication pre-share
encryption des
hash sha
group 2
lifetime 86400
telnet timeout 5
ssh 59.159.40.188 255.255.255.255 outside
ssh 192.168.0.0 255.255.255.0 inside
ssh timeout 20
console timeout 0
dhcpd dns 61.122.112.97 61.122.112.1
dhcpd auto_config outside
dhcpd address 192.168.20.200-192.168.20.254 public
dhcpd enable public
dhcpd address 192.168.10.190-192.168.10.195 dmz
dhcpd enable dmz
dhcpd address 192.168.0.200-192.168.0.254 inside
dhcpd enable inside
threat-detection basic-threat
threat-detection statistics access-list
threat-detection statistics host number-of-rate 2
no threat-detection statistics tcp-intercept
ntp server 130.54.208.201 source public
webvpn
group-policy DefaultRAGroup internal
group-policy DefaultRAGroup attributes
dns-server value 61.122.112.97 61.122.112.1
vpn-tunnel-protocol l2tp-ipsec
group-policy CiscoASA internal
group-policy CiscoASA attributes
dns-server value 61.122.112.97 61.122.112.1
vpn-tunnel-protocol IPSec
username mcit password 4alT9CZ8ayD8O8Xg encrypted privilege 15
tunnel-group DefaultRAGroup general-attributes
address-pool VPN_Pool
default-group-policy DefaultRAGroup
tunnel-group DefaultRAGroup ipsec-attributes
pre-shared-key *****
tunnel-group ocmc type remote-access
tunnel-group ocmc general-attributes
address-pool OfficePool
tunnel-group ocmc ipsec-attributes
pre-shared-key *****
tunnel-group CiscoASA type remote-access
tunnel-group CiscoASA general-attributes
address-pool VPN_Pool
default-group-policy CiscoASA
tunnel-group CiscoASA ipsec-attributes
pre-shared-key *****
class-map inspection_default
match default-inspection-traffic
policy-map type inspect dns preset_dns_map
parameters
message-length maximum client auto
message-length maximum 512
policy-map global_policy
class inspection_default
inspect dns preset_dns_map
inspect ftp
inspect h323 h225
inspect h323 ras
inspect ip-options
inspect netbios
inspect rsh
inspect rtsp
inspect skinny
inspect esmtp
inspect sqlnet
inspect sunrpc
inspect tftp
inspect sip
inspect xdmcp
service-policy global_policy global
smtp-server 192.168.10.10
prompt hostname context
call-home
profile CiscoTAC-1
no active
destination address http https://tools.cisco.com/its/service/oddce/services/DDCEService
destination address email [email protected]
destination transport-method http
subscribe-to-alert-group diagnostic
subscribe-to-alert-group environment
subscribe-to-alert-group inventory periodic monthly
subscribe-to-alert-group configuration periodic monthly
subscribe-to-alert-group telemetry periodic daily
Cryptochecksum:222d6dcb583b5f5abc51a2251026f7f2
: end
asdm location 192.168.10.10 255.255.255.255 inside
asdm location 192.168.0.29 255.255.255.255 inside
asdm location 58.13.254.10 255.255.255.255 inside
no asdm history enableHi Conor,
What is your local net ? I see only one default route for outside network. Dont you need a route inside for your local network.
Regards,
Umair -
Unable to connect to local server
Folks:
When I tried to access an older Mac running Leopard (10.5.8) from my MacBook Pro running Mavericks (Finder: Go: Connect to Server: LocalServer), I was unable to connect and received a message,
'There was a problem connecting to the server "LocalServer". The server may not exist or is unavailable at this time. Check the server name or IP address, check your network connection, and then try again."
I tried deleting any keychain refrerence to local computer.
I tried deleting the list of recent servers from the Finder.
I tried restarting both my laptop and the local server.
Nothing,
There is a local server icon under the "Shared" section of the sidebar of the Finder browsing window. I can find no way to delete this listing.
I can access the the Mavericks MBP from the old Leopard server via remote login, but I was unable access the old Leopard server from the new Mavericks running MBP.
I finally achiveved access by
1) Turning on SMB sharing for my account on the local server
System Preferences: Sharing: File Sharing: Options: SMB Sharing: MyAccount then storing my password.
2) On my MBP, connecting via smb.
Finder: Go: Connect to Server: [Enter smb://Localserver.local]
It finally worked, BUT … after successfully connecting to the local server, I now have TWO listings for Localserver in my Finder browser window, the live link and the old link which still says "Connecting."
I can't figure out how to get rid of the earlier afp link, OR how to make it work. I would prefer to use AFP as the SMB notation from both computers indicates that the storage of my password is not as secure.
Restaring the computer doesn't help.
I had a similiar problem when I upgraded to Mountain Lion, and I tried many of the same tricks to no avail. That problem seems to have fixed itself.
Anybody have any bright ideas?
Thanks much.I should have been more clear. This is on an 8-core Intel XServe.
I was able to use Server Admin locally on the machine for weeks. Now I can't. Nothing has changed or been altered on the machine during that period.
I can not connect to the server via Server Admin remotely or locally. I can connect via SSH, ARD, etc. and the system is still serving NFS just fine, so it's just the process that handles communication with Server Admin that is non responsive.
Something interesting from the syslog:
qt1 servermgrd[44258]: servermgr_accounts: noteDirectorySearchPolicyChanged (reopening nodes)
qt1 servermgrd[44258]: -[AccountsRequestHandler(AccountsOpenDirectoryHelpers) openLocalLDAPNodeIfNeeded]: dsLocalLDAP = (null) , error = Error Domain=com.apple.OpenDirectory Code=2000 UserInfo=0x1066a16c0 "Unable to open Directory node with name /LDAPv3/127.0.0.1."
qt1 DirectoryService[31]: DirectoryService has 42000 internal references open (due to clients), warning limit is 2000.
These lines repeated apprx. every 30 secs until I bounced the servermgrd. Now, I see that entry whenever I try to connect to the local server via Server Admin.
Now, this system is not a LDAP server, but I understand OSXS still uses LDAP for local directory info... I've tried restarting the related directory services as well, but still no joy.
It looks like my only recourse is a reboot, which is really not a great option for a dedicated file server. Am I the only one who has ever encountered this issue of Server Admin eventually losing contact with a server? -
Trouble connecting to local host on ipod touch
When I try to connect to the local host in Safari on my ipod touch 2G, I get this message: "Safari cannot open the page because it could not connect to the server." Any ideas?
See this previus iPad discussion
https://discussions.apple.com/thread/2523772?start=0&tstart=0 -
Unable to connect to local database
I am running 8.1.7 and iSQL*Plus on one machine (duh). I am able to login to remote databases via isqlplus but cannot seem to login to the very database that was installed in order to get the isqlplus working, the one on the same machine. Do I need to do anything funky with the connect string? I know I am able to connect via regular SQL*Plus (but in that case, no connect string is necessary). All I get it the generic "Unable to connect, please try again" message. Thanks for the help...NOT!
Robert,
You can either leave the Oracle Connection Identifier field empty, or just enter the SID. Either way, it should connect. Use the same syntax you would in command line SQL*Plus.
Alison
iSQL*Plus Team -
Server Admin unable to connect to local server
Hey all. I've been using SLS to serve a Promise RAID via NFS for a few weeks now, and it's been stable and smooth. I've had Server Admin open all that time so I could watch the network usage graph via ARD. Today, Server Admin can no longer connect to the local server. I've tried stopping and starting com.apple.servermgrd but it still cannot connect. Is my only option at this point a reboot?
Has anyone else experienced this on SLS? I've always had stability issues with Server Admin in the past, but I'd been told the issues had been addressed in SLS. Could someone verify this? ThanksI should have been more clear. This is on an 8-core Intel XServe.
I was able to use Server Admin locally on the machine for weeks. Now I can't. Nothing has changed or been altered on the machine during that period.
I can not connect to the server via Server Admin remotely or locally. I can connect via SSH, ARD, etc. and the system is still serving NFS just fine, so it's just the process that handles communication with Server Admin that is non responsive.
Something interesting from the syslog:
qt1 servermgrd[44258]: servermgr_accounts: noteDirectorySearchPolicyChanged (reopening nodes)
qt1 servermgrd[44258]: -[AccountsRequestHandler(AccountsOpenDirectoryHelpers) openLocalLDAPNodeIfNeeded]: dsLocalLDAP = (null) , error = Error Domain=com.apple.OpenDirectory Code=2000 UserInfo=0x1066a16c0 "Unable to open Directory node with name /LDAPv3/127.0.0.1."
qt1 DirectoryService[31]: DirectoryService has 42000 internal references open (due to clients), warning limit is 2000.
These lines repeated apprx. every 30 secs until I bounced the servermgrd. Now, I see that entry whenever I try to connect to the local server via Server Admin.
Now, this system is not a LDAP server, but I understand OSXS still uses LDAP for local directory info... I've tried restarting the related directory services as well, but still no joy.
It looks like my only recourse is a reboot, which is really not a great option for a dedicated file server. Am I the only one who has ever encountered this issue of Server Admin eventually losing contact with a server? -
Unable to connect to local database ( without using tnsname )
hi guys
i have 2 database running on local machine.
db1 SID - orcl (install 1st)
db2 SID - unicode (install later)
Today i shutdown unicode database and stop its respective services.
on dos
i done a sqlplus scott/tiger, i got an error
ORA-12560: TNS:protocol adapter error
therefore
i done a
set ORACLE_SID=orcl
and i still get the same error.
Therefore i done the another way round. I shutdown orcl database, stop its services and STARTED unicode database and its services.
I have remove the ORACLE_SID enviroment variable.
Now, i issue in command prompt
sqlplus scott/tiger
i am connected to the unicode database!
Now i shutdown unicode database and startup ORCL database..
and i issue a
sqlplus scott/tiger@ORCL..
I HAVE No problem connecting to it..
May i know why do i have to provide the TNSname for ORCL database and i do not have to for the UNICODE database..
Both are local on my database.
what is wrong ?
by the way, i am on XP.
thanks!hi paul,
sorry for the late reply.
I was out of town this weekend.
thank you so much for replying..
Here is my test results.
inside command prompt
(started both services - OracleServiceOrcl and OracleServiceUnicode)
set ORACLE_SID=orcl
sqlplus / as sysdba;
sys@orcl> exit
set ORACLE_SID=unicode
sqlplus / as sysdba;
sys@unicode> exit
Well, if i explicity set the ORACLE_SID, it works..
So out of curiousity, i done this testing..
1) connect to both database and shut them down
2) stop their services
3) start only ORCL service
4) close and reopen command prompt to remove the ORACLE_SID enviroment var
sqlplus / as sysdba;
Error: ORA-12560: TNS: protocol adapter error
ok..
5)now i stop the ORCL service
6) and i start the UNICODE service
then i issue
sqlplus / as sysdba;
sys@unicode>
I have got no local or two_Task variable set, i have got no oracle_sid, nor oracle_home environment variable set.
Any idea paul ?
Hope to hear your advice.
Best Regards,
Noob -
Unable to connect to local database... (what hsould i do ?)
hi guys,
I am having this error when i startup my LOCAL database. it says
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00132: syntax error or unresolved network name 'LISTENER'
i revert back everything to very very basic.
now in my
LISTENER.ORA
I have only this.
# listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = szejie)(PORT = 1521))
IN my TNSNAMES.ORA
i have got this,
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = szejie)(PORT = 1521)
IN MY pfile or SPFILE, i have got this
*.local_listener='LISTENER'
WHEN I type STARTUP in SQLPLUS, i still got this error
SYS@orcl on 07-MAR-09> startup
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00132: syntax error or unresolved network name 'LISTENER'
WILL PMON, automatically register my ORCL service with the the LISTENER ?
What should i do ?
Please help thanks.
Best Regards,
NoobHello,
Are you trying to register different port than default port 1521?
Do this or take local_listener completly out of your pfile and try with out
Edit your sqlnet.ora and add the value of NAMES.DEFAULT_DOMAIN to the alias in the tnsnames.ora:
set the domain to "world"
*sqlnet.ora:*
NAMES.DEFAULT_DOMAIN=world
init.ora:
LOCAL_LISTENER=LISTENER
In order to resolve this issue with LISTENER, it is necessary to add the domain "world" to the tnsnames.ora file entry
Or Edit init.ora file and remove loca_listener from it.
sqlplus "/as sysdba"
sql> startup nomount pfile='/path_to_pfile/init.ora'; -- it will process all the init.ora parameter and let you know if you have to resolve more
If successfully processed
sql> alter database mount;
sql> alter database open;
Once successfully opened, then shutdown it down
sql> shutdown immediate;
sql> create spfile from pfile='/path_to_pfile/init.ora';
sql>startup;Regards -
Hi,
Having an issue redirecting to a local printer when using a remote desktop session initiated through from a Essentials 2012 R2 server via remote web workspace on a Win 8.1 client, it doesn't pick up the Local printer, or even give the option of which
local resources to use on connection, just goes straight through and displays the remote desktop on connection.
I know its not a server global policy issue as it works fine on a Win 7 client with the same user being able to print locally whilst in a RD session
Any idea's as to how I can resolve this issue and enable local redirected printing or at least give me the options of specifiying which resources to connect on the local machine at the start of a session.
It's complicated I think as the essentials box is acting as the gateway so I cannot setup a session directly, the certificates are all working correctly so I am confused as to whats causing the issue.
Any help would be appreciated.Hi,
Thank you for posting in Windows Server Forum.
Please try to connect the printer with IP address and check the result. You can go through beneath article might helpful in your case.
Windows Server 2012 Essentials : Add a Network Printer
Try to change the selected print drivers:
1. Return back to the Devices and Printers window
2. Double click on your printer, and then double click on Customize your printer
3. Click on the Advanced tab, and change the print driver to the one we just installed.
4. If you wish, you can also click on the Sharing tab, and make the printer available.
More information.
Installing Network Printer to Windows Server 2012 Essentials
Hope it helps!
Thanks,
Dharmesh -
Unable to connect to local Exchange 2013 server when opening Exchange Management shell
Hi Everyone
Yesterday evenything was working fine, and then this morning, I`m unable to establish a connection with the Exchange shell. I receive the following errors. Any help is appreciated.
Welcome to the Exchange Management Shell!
Full list of cmdlets: Get-Command
Only Exchange cmdlets: Get-ExCommand
Cmdlets that match a specific string: Help *<string>*
Get general help: Help
Get help for a cmdlet: Help <cmdlet name> or <cmdlet name> -?
Show quick reference guide: QuickRef
Exchange team blog: Get-ExBlog
Show full output for a command: <command> | Format-List
Tip of the day #55:
Want to view the mounted status of all mailbox databases? Type:
Get-MailboxDatabase -Status | Format-Table Name, Server, Mounted
VERBOSE: Connecting to C-EXCH02.BLCLAB.CA.
New-PSSession : [c-exch02.blclab.ca] Connecting to remote server c-exch02.blclab.ca failed with the following error
message : The client cannot connect to the destination specified in the request. Verify that the service on the
destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service
running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following
command on the destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see
the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
gTransportException
+ FullyQualifiedErrorId : CannotConnect,PSSessionOpenFailed
VERBOSE: Connecting to C-EXCH02.BLCLAB.CA.
New-PSSession : [c-exch02.blclab.ca] Connecting to remote server c-exch02.blclab.ca failed with the following error
message : The client cannot connect to the destination specified in the request. Verify that the service on the
destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service
running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following
command on the destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see
the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
gTransportException
+ FullyQualifiedErrorId : CannotConnect,PSSessionOpenFailed
VERBOSE: Connecting to C-EXCH01.BLCLAB.CA.
New-PSSession : [c-exch01.blclab.ca] Connecting to remote server c-exch01.blclab.ca failed with the following error
message : The client cannot connect to the destination specified in the request. Verify that the service on the
destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service
running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following
command on the destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see
the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
gTransportException
+ FullyQualifiedErrorId : CannotConnect,PSSessionOpenFailed
VERBOSE: Connecting to C-EXCH02.BLCLAB.CA.
New-PSSession : [c-exch02.blclab.ca] Connecting to remote server c-exch02.blclab.ca failed with the following error
message : The client cannot connect to the destination specified in the request. Verify that the service on the
destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service
running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following
command on the destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see
the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
gTransportException
+ FullyQualifiedErrorId : CannotConnect,PSSessionOpenFailed
VERBOSE: Connecting to C-EXCH01.BLCLAB.CA.
New-PSSession : [c-exch01.blclab.ca] Connecting to remote server c-exch01.blclab.ca failed with the following error
message : The client cannot connect to the destination specified in the request. Verify that the service on the
destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service
running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following
command on the destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see
the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
gTransportException
+ FullyQualifiedErrorId : CannotConnect,PSSessionOpenFailed
Failed to connect to an Exchange server in the current site.
Enter the server FQDN where you want to connect.:
VERBOSE: Connecting to .
New-PSSession : Cannot bind parameter 'ConnectionUri'. Cannot convert value
"http:///powershell?serializationLevel=Full;ExchClientVer=15.0.516.32;clientApplication=ManagementShell;TargetServer="
to type "System.Uri". Error: "Invalid URI: The hostname could not be parsed."
At line:1 char:30
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [New-PSSession], ParameterBindingException
+ FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.PowerShell.Commands.NewPSSessionCommand
[PS] C:\Windows\system32>
Ernie Prescott
Updated information.
I can succussfully connect to the exchange powershell from a remote computer, using this method.
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri
http://<FQDN of Exchange 2013 Client Access server>/PowerShell/ -Authentication Kerberos
Import-PSSession $Session
So the problem is localised on the server.
RegardsHi
Try the steps for Error 1 on this link
http://www.petenetlive.com/KB/Article/0000477.htm
Hope it will help
Cheers
If you have any feedback on our support, please click
here
Zi Feng
TechNet Community Support
Maybe you are looking for
-
My iPhone 4S ios5 has suddenly stopped letting me connect to any wifi. The wifi line in settings has gone grey, reads 'no wifi' and does not respond to touch. How do I get reconnected?
-
View Link sql window is non editable
Hi All, I am creating view link between two views using wizard, but when I reach view link sql window it is blank and non editable. any ideas on this? Thanks in advance. Hitesh
-
Cannot update to Itunes 10.6.1
I am trying to update my IPhone 4 to version 5.1, which requires ITunes 10.6.l. When I start the update and get to the Apple Software Update screen, the only item that appears to update is Quiktime 7.7.1 and it is checked. I hit to install 1 item, an
-
Best way to clean your screen?
What's the best way to clean the screen on a MacBook? Should I just turn it off and thoroughly wipe it down with the cloth that it came with? Or would something like a damp paper towel be better?
-
Remove "My documents" link in LXDE?
Can this be done? I have a conky setup that uses that area and because of how that works, I'm left with the icon cut in half, looking pretty awkward. I tried letting Openbox manage my desktop, but that just left me with a whole bunch of headaches. Ca