-
'tns run android' does not work with tns-template-drawer-navigation-vue
2020-12-26 09:01:4705-08 17:39:52.248 3670 4383 W ActivityManager: Force finishing activity org.nativescript.mydrawervue/com.tns.NativeScriptActivity</code></p><p>该提问来源于开源项目:NativeScript/android-runtime... -
Oracle 监听器无法启动(TNS-12555,TNS-12560,TNS-00525)
2019-10-17 10:37:55启动监听器无法打开,报错! 1 [oracle@localhost ~]$ ... 3 LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 06-AUG-2014 19:40:52 4 5 Copyright (c) 1991, 2009, Oracle. All rights reserved...启动监听器无法打开,报错!
1 [oracle@localhost ~]$ lsnrctl start 2 3 LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 06-AUG-2014 19:40:52 4 5 Copyright (c) 1991, 2009, Oracle. All rights reserved. 6 7 Starting /opt/oracle/11g/bin/tnslsnr: please wait... 8 9 TNSLSNR for Linux: Version 11.2.0.1.0 - Production 10 System parameter file is /opt/oracle/11g/network/admin/listener.ora 11 Log messages written to /opt/oracle/diag/tnslsnr/localhost/listener/alert/log.xml 12 Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521))) 13 TNS-12555: TNS:permission denied 14 TNS-12560: TNS:protocol adapter error 15 TNS-00525: Insufficient privilege for operation 16 Linux Error: 1: Operation not permitted 17 18 Listener failed to start. See the error message(s) above...
观察发现,提示没有权限:
查看.oracle文件:
[root@localhost ~]# ls -lrtd /var/tmp/.oracle drwxrwxrwt. 2 root root 4096 8\u6708 5 21:48 /var/tmp/.oracle [root@localhost ~]# ls -lrtd /tmp/.oracle drwxrwxrwt. 2 root root 4096 8\u6708 5 20:33 /tmp/.oracle
发现权限虽然是777,但是用户组和所有者不对,改成oracle:dba
[root@localhost ~]# chown -R oracle:dba /var/tmp/.oracle [root@localhost ~]# chown -R oracle:dba /tmp/.oracle [root@localhost ~]# ls -lrtd /tmp/.oracle drwxrwxrwt. 2 oracle dba 4096 8\u6708 5 20:33 /tmp/.oracle [root@localhost ~]# ls -lrtd /var/tmp/.oracle drwxrwxrwt. 2 oracle dba 4096 8\u6708 5 21:48 /var/tmp/.oracle
再次启动,成功!
-
Error: com.tns.NativeScriptException: Failed to find module ... when tns run android
2020-11-27 10:06:50JS: at RouterConfigLoader.load (file:///data/data/ch.inaffect.hcm/files/app/tns_modules//router/bundles/router.umd.js:4545:52) JS: at MergeMapSubscriber.project (file:///data/data/ch.inaffect.hcm/... -
启动oracle监听报错:TNS-12537 TNS-12560 TNS-00507 Linux Error
2013-01-06 10:12:05启动oracle监听报错: -bash-4.1$ lsnrctl ...LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 10-SEP-2012 14:52:29 Copyright (c) 1991, 2005, Oracle. All rights reserved. Starting /oracle/product/1启动oracle监听报错:
-bash-4.1$ lsnrctl start
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 10-SEP-2012 14:52:29
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting /oracle/product/10.2.0/db_1//bin/tnslsnr: please wait...
TNS-12537: TNS:connection closed
TNS-12560: TNS:protocol adapter error
TNS-00507: Connection closed
Linux Error: 29: Illegal seek
-bash-4.1$ exit
logout
原来是没加localhost.localdomain localhost
[root@localhost ~]# vi /etc/hosts
加入下面一行,就
127.0.0.1 localhost.localdomain localhost -
tns update ios is not working
2020-11-25 00:29:58The content of the current project file: /TestProjects/n12/platforms/ios/n12.xcodeproj/project.pbxproj and the new project file: /var/folders/qf/619q3nkx0fx88gd52_ffmz8hxrr56w/T/runtime-to-update11955... -
TNS-03505 名称无法解析
2015-06-16 17:22:19TNS-03505 名称无法解析 问题现象: [oracle@db01 admin]$ tnsping pri TNS Ping Utility for Linux: Version 11.2.0.4.0 - Production on 15-JUN-2015 21:57:52 Copyright (...TNS-03505 名称无法解析问题现象:
[oracle@db01 admin]$ tnsping pri TNS Ping Utility for Linux: Version 11.2.0.4.0 - Production on 15-JUN-2015 21:57:52 Copyright (c) 1997, 2013, Oracle. All rights reserved. Used parameter files: TNS-03505: Failed to resolve name [oracle@db01 admin]$ sqlplus system/oracle@pri SQL*Plus: Release 11.2.0.4.0 Production on Mon Jun 15 21:58:48 2015 Copyright (c) 1982, 2013, Oracle. All rights reserved. ERROR: ORA-12154: TNS:could not resolve the connect identifier specified Enter user-name: ^C
问题分析:
出现该问题的原因通常有两个:1、名称不存在 2、tns配置文件不存在。问题处理:
1、首先检查tnsnames.ora的所有配置信息,一切正常没有任何问题。
[oracle@db01 admin]$ cat tnsname.ora pri = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.50)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = woo) ) )
2、检查tnsnames.ora的文件及文件所属用户及用户组
[oracle@db01 admin]$ ll tnsnames.ora -rwxr--r-- 1 oracle oinstall 350 Jun 16 22:04 tnsname.ora #从这里来看也是没有问题,文件是属于oinstall用户组,及其所有权限也是Oracle
3、那么这个时候我们选择跳过tnsnames.ora通过手工登陆进行验证数据库是否正常
[oracle@db01 admin]$ sqlplus system/oracle@192.168.1.50/woo SQL*Plus: Release 11.2.0.4.0 Production on Tue Jun 16 22:34:40 2015 Copyright (c) 1982, 2013, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - Production With the Partitioning, Oracle Label Security, OLAP, Data Mining, Oracle Database Vault and Real Application Testing options SQL> select name from v$database; NAME --------- WOO SQL> select instance_name,status from v$instance; INSTANCE_NAME STATUS ---------------- ------------ woo OPEN SQL> --从这里我们可以看到,数据库肯定是没有问题的,那么下一步我们通过拿一个好的监听文件替换这个监听文件来处理该问题。
4、通过上传一个之前可用的监听配置文件进行对比
[oracle@db01 admin]$ ls listener.ora samples shrept.lst sqlnet.ora tnsname.ora tnsnames.ora [oracle@db01 admin]$ chmod u+x tnsnames.ora [oracle@db01 admin]$ ll total 24 -rwxr-xr-x 1 oracle oinstall 711 Jun 16 22:08 listener.ora drwxr-xr-x 2 oracle oinstall 4096 Jun 11 21:56 samples -rw-r--r-- 1 oracle oinstall 381 Dec 17 2012 shrept.lst -rw-r--r-- 1 oracle oinstall 221 Jun 16 21:59 sqlnet.ora -rwxr--r-- 1 oracle oinstall 350 Jun 16 22:31 tnsname.ora -rwxr--r-- 1 oracle oinstall 350 Jun 16 22:04 tnsnames.ora #这个是后面上传的 #通过对比,我发现之前手工些的那个文件名称不对,即使里面内容正确也无济于事。
5、通过修改替换监听文件,该问题得到解决:
[oracle@db01 admin]$ cat tnsname.ora > tnsnames.ora [oracle@db01 admin]$ rm -rf tnsname.ora [oracle@db01 admin]$ sqlplus system/oracle@pri SQL*Plus: Release 11.2.0.4.0 Production on Tue Jun 16 23:02:15 2015 Copyright (c) 1982, 2013, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - Production With the Partitioning, Oracle Label Security, OLAP, Data Mining, Oracle Database Vault and Real Application Testing options SQL> select name from v$database; NAME --------- WOO SQL> select instance_name,status from v$instance; INSTANCE_NAME STATUS ---------------- ------------ woo OPEN SQL> SQL> host ls -rtl total 20 -rw-r--r-- 1 oracle oinstall 381 Dec 17 2012 shrept.lst drwxr-xr-x 2 oracle oinstall 4096 Jun 11 21:56 samples -rw-r--r-- 1 oracle oinstall 221 Jun 16 21:59 sqlnet.ora -rwxr-xr-x 1 oracle oinstall 711 Jun 16 22:08 listener.ora -rwxr--r-- 1 oracle oinstall 350 Jun 16 23:02 tnsnames.ora SQL>
-
TNS-12518: TNS: 监听程序无法分发客户机连接
2013-02-28 15:16:56# lsnrctl service LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 02-12月-2010 15:1 5:52 C...# lsnrctl service
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 02-12月-2010 15:1
5:52
Copyright (c) 1991, 2005, Oracle. All rights reserved.
正在连接到 (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=lxjtcwdata1)(PORT=1521)))
服务摘要..
服务 "lxtz" 包含 2 个例程。
例程 "lxtz", 状态 UNKNOWN, 包含此服务的 1 个处理程序...
处理程序:
"DEDICATED" 已建立:2 已被拒绝:0
LOCAL SERVER
例程 "lxtz", 状态 READY, 包含此服务的 1 个处理程序...
处理程序:
"DEDICATED" 已建立:85 已拒绝:316 状态:ready
LOCAL SERVER
服务 "lxtzXDB" 包含 1 个例程。
例程 "lxtz", 状态 READY, 包含此服务的 1 个处理程序...
处理程序:
"D000" 已建立:0 已被拒绝:0 当前: 0 最大: 1002 状态: ready
DISPATCHER
(ADDRESS=(PROTOCOL=tcp)(HOST=lxjtcwdata1)(PORT=1170))
服务 "lxtz_XPT" 包含 1 个例程。
例程 "lxtz", 状态 READY, 包含此服务的 1 个处理程序...
处理程序:
"DEDICATED" 已建立:85 已拒绝:316 状态:ready
LOCAL SERVER
命令执行成功
2) 监听日志
02-12月-2010 14:57:43 * (CONNECT_DATA=(SID=lxtz)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.18)(PORT=1242)) * establish * lxtz * 0
02-12月-2010 14:57:43 * (CONNECT_DATA=(SID=lxtz)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.18)(PORT=1243)) * establish * lxtz * 12518
TNS-12518: TNS: 监听程序无法分发客户机连接
TNS-12560: TNS: 协议适配器错误
TNS-00530: 协议适配器错误
32-bit Windows Error: 233: Unknown error
02-12月-2010 14:57:44 * (CONNECT_DATA=(SID=lxtz)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.18)(PORT=1244)) * establish * lxtz * 12518
TNS-12518: TNS: 监听程序无法分发客户机连接
TNS-12560: TNS: 协议适配器错误
TNS-00530: 协议适配器错误
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/14710393/viewspace-754957/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/14710393/viewspace-754957/
-
tns doctor stuck on Verifying CocoaPods
2020-11-25 00:11:40<div><p><img width="1280" alt="screen shot 2016-06-12 at 4 22 03 am" src="https://cloud.githubusercontent.com/assets/10059011/15987840/858ca52a-3056-11e6-8dd2-330e82fb7834.png" /></p><p>该提问来源于... -
[2.5.*] tns run always add latest platform
2020-11-25 00:32:39<div><p><em>From on May 4, 2017 15:52</em></p> <p>I'm still using N 2.5.4 as I don't have time to upgrade to version 3 yet. <p>After I removed the iOS platform and re-added I noticed that the ... -
[TIP] [SOLVED] Nativescript Zip error on tns run ios and android
2021-01-02 07:25:42../node_modules/nativescript-app-sync/TNSLocalPackage.js 3:25-52 @ ../node_modules/nativescript-app-sync/app-sync.js @ ./main.ts </code></pre> <p>The following is the stacktrace: <pre>... -
Debugger not getting attached to the `tns run/emulate` command
2020-12-05 10:25:22I am using <code>tns --version</code> = <code>1.2.4 As it is documented here: https://docs.nativescript.org/runtimes/ios/debug/Debug I was using the <code>--debug-brk</code> for emulator. <code>... -
Failed to build for android after upgrading to TNS@4
2020-11-24 12:11:24on <code>tns build android</code></p> <pre><code> Failed to execute aapt com.android.ide.common.process.ProcessException: Failed to execute aapt at ... -
App won't compile - d.ts mismatch with tns-platform-declarations 4.2.0
2020-12-26 09:27:03<p><img alt="image" src="https://user-images.githubusercontent.com/2842123/43787874-b4265464-9a74-11e8-8c4d-52b85f2d8408.png" /></p> <p>More , if I remove this method , it yells on other things : <p>... -
Can't build app if both itself and its dependency have a dependency on tns-core-modules
2020-12-05 10:26:11Unable to apply changes on device: A77F52A9-0201-47A7-8523-1F7C0CFBD57C. Error is: Command xcodebuild failed with exit code 65. </code></pre> <p><strong>To Reproduce</strong></p> <ol><li>Create a ... -
java oracle集群12505_请教一个oracle 10g rac TNS-ORA12505 错误
2021-03-21 08:38:25刚接触oracle 10g,安装了一套rac 系统,但是远程连接的时候提示TNS-12505错误。相关日志如下:07-FEB-2013 08:39:52 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=lastrac2)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)... -
listener启不来,报TNS-12560: TNS:protocol adapter error Error: 2: No such file or directory
2009-07-08 15:41:00建立 /var/tmp/.oracle 并授权给oracle,重起监听。问题解决!补充一下 我的环境是 RHEL3 U2 + oracle9204原文来自:...$ lsnrctl startLSNRCTL for Solaris: Version 8.1.7.0.0 - Production on 29-APR-2004 13:43:52 -
TNS doctor does not detect if JDK is not installed and throws an error
2020-12-05 10:25:44at /Users/nsbuilduser/Work/node_modules/nativescript/lib/services/xcproj-service.js:17:52 at Function.settle (/Users/nsbuilduser/Work/node_modules/nativescript/node_modules/fibers/future.js:249:26) ... -
TNS Linux Error: 29: Illegal seek
2011-10-26 10:11:55问题: [oracle@tonyadmin]$lsnrctlstartLSNRCTLforLinux:Version10.2.0.1.0-Productionon26-OCT-201101:52:42Copyright(c)1991,2005,Oracle.Allrightsreserved.Starting/home/... -
ORA-12504: TNS: 监听程序在CONNECT_DATA 中未获得SERVICE_NA
2015-07-23 00:43:43vs2015客户端C#连接服务器的Oracle数据库,提示ORA-12504: TNS: 监听程序在CONNECT_DATA 中未获得SERVICE_NA  listener.ora内容:!... -
ORA-12154: TNS:could not resolve the connect identifier specified
2017-04-24 12:14:37[oracle@posts admin]$ rman target sys/Posp3571gre@pospm ...Recovery Manager: Release 11.2.0.3.0 - Production on Mon Apr 24 12:09:52 2017 Copyright (c) 1982, 2011, Oracle and/or its affiliates. -
sqlplus登录提示:ORA-12162:TNS:net service name is incorrectly specified错误
2017-06-18 15:30:00[root@localhost ~]# su - oracle [oracle@localhost ~]$ sqlplus '/as sysdba' ...SQL*Plus: Release 11.2.0.1.0 Production on Tue Apr 22 17:10:52 2014 Copyright (c) 1982, 2009, Oracle. All ... -
Vagrant Oracle ORA-12541:TNS:/var/www/core/db.class.php中没有听众
2015-02-16 17:55:39connect to database: ORA-12541: TNS:no listener' in /var/www/core/db.class.php:164 Stack trace: #0 /var/www/core/db.class.php(113): Db->connect('ssm_android', 'NtakmdVSYgsYSNii11...', '... -
xorg-x11-libs-6.8.2-1.EL.52.i386.rpm
2012-05-15 17:37:31在查询metalink时你会发现原因是由于缺少了libXp.so.6包,根据Oracle的解决方案需要安装... 修改完成后,重新启动listener (先用lsnrctl stop, 然后 lsnrctl start), 然后,使用tnsping 来测试一下是否配置正确: