search for: tns

Displaying 20 results from an estimated 37 matches for "tns".

Did you mean: tls
2006 Mar 28
2
Problem with generating a scaffold with an Oracle DB
...create app/views/admin exists test/functional/ dependency model exists app/models/ exists test/unit/ exists test/fixtures/ create app/models/product.rb create test/unit/product_test.rb create test/fixtures/products.yml ORA-12537: TNS:connection closed What is the problem here, because according to my tutorial in the fine book "Agile webdevelopment with Rails" it should create view components. Does anyone see the problem here? Thanks in advance! -Tom -- Posted via http://www.ruby-forum.com/.
2003 Sep 24
1
64-bit Oracle interface
...ection. I can instantiate a driver using drv <- Oracle(). But when I try to connect to my database using dbConnect (dbConnect(drv, dbname="xxx", username="xxx", password="xxx")) I get the message: Error in oraNewConnection(drv, ...) : RS-DBI driver: (ORA-12154: TNS:could not resolve service name) When I use oraNewConnection (oraNewConnection(drv,username="xxx", password="xxx")) I get the message: Error in oraNewConnection(drv, username = "pheno", password = "pheno") : RS-DBI driver: (ORA-12541: TNS:no listener...
2010 Dec 15
3
ORA-12514: TNS:listener d oes not currently know of service requested in connect descriptor (OCIEr
Hi I am a new to ROR and learning this framework from various tutorials. I have my new application and had the rails generate scaffold get going but after this when I first ran the rake db:migrate I got this ERROR! ORA-12514: TNS:listener d oes not currently know of service requested in connect descriptor (OCIError) I''m using database which is on a server and have used the tnsnames.ora configs so my database.yml looks like development: adapter: oracle_enhanced database: contrl username: ucontrl password:...
2010 Jun 22
0
Working cludge [Re: SSOAP fails with .types[[1]] : subscript out of bounds]
...mobyRequest)) Hope that helped, Yours, Steffen "./MassBank_Instruments" that works: <?xml version="1.0"?> <wsdl:definitions name="MOBY_Central_Generated_WSDL" targetNamespace="http://biomoby.org/Central.wsdl" xmlns:tns="http://biomoby.org/Central.wsdl" xmlns:xsd1="http://biomoby.org/CentralXSDs.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdl="http://sch...
2010 Apr 27
3
"ORA-12154: TNS:..." error after successful oracle connection
...;', ''//xxxx:1521/ xxxxx.xxx.org'').exec(''SELECT 1 from dual'') {|r| puts r.join}" I got "1.0" as output and I got my prompt back. So, I went back to the RoR app that I am working on, started WEBrick in Radrails but I got this error: ORA-12154: TNS:could not resolve the connect identifier specified RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace env.c:257:in oci8lib.so C:/web/IPSO/app/controllers/attending_ips_controller.rb:140:in `get_most_recent_record'' C:/web/IPSO/app/controllers/attending_ips_...
2005 Jul 27
7
Oracle OCI8, or "am I going crazy?"
All of a sudden, on three different systems, the "server_ip_address/sid_name" syntax in database.yml has stopped working for me. I can''t even do a OCI8.new(blah blah blah) statement from an IRB shell. I get "ORA-12541: TNS:no listener", or some variant, depending on how I phrase it. On systems where I have a real deal client installed, and OCI can find the tnsnames file, I can still connect using the sid name by itself. Did something change? I''ve tried it with the trunk and 0.13.1. Thanks, --Wilson....
2008 Apr 04
1
Oracle connection problem
ORA-12154: TNS:could not resolve the connect identifier specified I''ve updated rails to 2.0.2 and I start having a problem with oracle connection. I installed activerecord-oracle-adapter, and changed oci to oracle in database.yml but I keep getting the oracle error ORA-12154: TNS:could not resolve the...
2011 Sep 02
3
problems with oracle xe server connection
...duction: adapter: oracle_enhanced database: 127.0.0.1/orak username: orak password: oraclepass next i''m doing simple scaffold, and trying to rake db:create result: rake db:create Please provide the SYSTEM password for your oracle installation >oraclepass rake aborted! ORA-12514: TNS:listener does not currently know of service requested in connect descriptor Tasks: TOP => db:create (See full trace by running task with --trace) but I can connect with sqlplus orak/oraclepass-savSHZN5Fh8qMp+WYRx65w@public.gmane.org i had not work with oracle before, i had search with the googl...
2010 Jun 01
12
Wine & Pro/Intralink
...1/05/2010 8.51 2,374 ptcsetup.bat 31/05/2010 8.51 1,763 ptcstatus.bat 31/05/2010 8.51 1,541 replicate_folder.bat 31/05/2010 8.51 1,546 subscribe_package.bat 31/05/2010 8.51 1,518 sync_names.bat 31/05/2010 8.51 1,279 tnsping.bat 13 files 63,427 bytes 2 directories 66,792,452,096 bytes free C:\ptc\proiclient3.4\bin>proilink3.4.bat fixme:exec:SHELL_execute flags ignored: 0x00000100 Non ? stato possibile eseguire l'applicazione, o nessuna applicazione ? associata con il file...
2005 Jul 27
1
Problem connection to oracle
...ustomer < ActiveRecord::Base set_primary_key "customerno" set_table_name ="TMP.CUSTOMERS" end c = Customer.find(10027566) ============== TMP is the schema name this is the error message: /usr/local/lib/ruby/site_ruby/1.8/oci8.rb:161:in `attach'': ORA-12154: TNS:could not resolve service name (OCIError) from /usr/local/lib/ruby/site_ruby/1.8/oci8.rb:161:in `initialize'' from /usr/local/lib/ruby/site_ruby/1.8/oci8.rb:161:in `do_ocicall'' from /usr/local/lib/ruby/site_ruby/1.8/oci8.rb:161:in `initialize''...
2004 Jun 02
4
Transient coding: AAC vs. Vorbis
...sidue configurations since the size of the residue vectors can be 1*128, 2*128, 3*128, ..., 7*128 and 8*128=1024. <p>Back to Vorbis I: What can be done to minimize pre-echos without increasing bitrate that much ? How about temporal noise shaping ? "Impossible!", you may say. Well, TNS is not a buil-in Vorbis feature like in AAC. But it doesn't HAVE to. TNS can be done either by coding the MDCT spectrum by 1) LPC-Filter + quantized LPC residual OR 2) using an NSQ (noise shaping quantizer) The AAC format allows method 1. But Method 2 could be done for both (Vorbis and AAC) w...
2006 Mar 16
3
Connecting to Oracle8i
...e rails-1.0.0 framework using gem successfully 3. i tried connecting to oracle using all possible combination in the database.yml file (in the DATABASE and the HOST entry) but failed with the nonexistent oci adapter (ActiveRecord::AdapterNotFound) exception, for example : - blank in DATABASE, full tns name entry in HOST, and vice versa - blank in HOST, sid name entry in DATABASE, and vice versa - both field with full tns name - both field with only sid name 4. so i tried re-installing only the activerecord (1.13.2) using gem and also the latest oci8 driver (ruby-oci8-0.1.14-mswin32.rb) again, bu...
2006 Oct 11
0
Mechanize: save and cancel doesn''t work in JSPWiki: Firefox header
This the header from Firefox to the JSPWiki server when submitting the form. There is also the redirect, but I only copied the POST. POST /coswiki/Edit.jsp?page=OldWikiNewWikiDiff HTTP/1.1 Host: tns-fbu-22-091.corp.telenor.no:880 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9 ,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,de...
2007 Nov 15
0
Problems connecting to remote Oracle DB on windows using active record
I am trying to connect to an older oracle DB remotely, I think version 8 or 9. I downloaded the instant client stuff from oracle and copied oci.dll and oraociei10.dll to my windows/system folder (windows XP) I get the error. C:\rb-play>ar_connect_ss.rb env.c:257:in oci8lib.so: ORA-12514: TNS:listener does not currently know of serv ice requested in connect descriptor (OCIError) from c:/ruby/lib/ruby/site_ruby/1.8/oci8.rb:228:in `initialize'' from c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/ active_recor d/connection_adapters/oracle_adapter.rb:585:in `...
2004 Jul 03
0
[Bug 1495] New: 2.6.x generates protocol stream error running as server daemon on HP-UX 11.11
...o contact from a client workstation or from the local server, the following behavior is seen: $ /usr/local/bin/rsync262 -an gordie:: emerald emerald-htdocs emerald-help emerald4-htdocs emerald5-htdocs emerald6-htdocs tinman-htdocs tinman-cgi tinman-j2ee tinman-j2ee_903 tinman-forms tinman-reports tns $ /usr/local/bin/rsync262 -an gordie::tns /tmp rsync: connection unexpectedly closed (24 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(342) The same error occurs when using 2.6.0 and 2.6.2 as the server; it appears to be independent of the client rsync rev...
2010 Jul 14
2
Error while connecting to Oracle using RODBC package
...this connection. Following is my code to connect library(RODBC) channel <- odbcConnect("Vikrant") I am getting following error. 1: In odbcDriverConnect("DSN=Vikrant") : [RODBC] ERROR: state NA000, code 12288, message [Microsoft][ODBC driver for Oracle][Oracle]ORA-12514: TNS:listener does not currently know of service requested in connect descriptor 2: In odbcDriverConnect("DSN=Vikrant") : [RODBC] ERROR: state 01000, code 0, message [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (s...
2007 Oct 23
3
Ruby on Rails and Oracle
...hing to do with database.yml, this is how my database.yml looks: development: adapter: oci database: 127.0.0.1:1521/XE username: system password: y1984nip0359 host: 127.0.0.1 And this is the Error that i get: -> http://127.0.0.1:3000/blog OCIError in BlogController#index ORA-12514: TNS:listener does not currently know of service requested in connect descriptor RAILS_ROOT: C:/ruby/bin/blog/script/../config/.. Application Trace | Framework Trace | Full Trace env.c:257:in oci8lib.so Any help? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------...
2008 Jun 11
6
how to create new database to oracle ?
i have rails-2.1.0 my database.yml development: adapter: oracle database: pe username: or password: or >rake db:create >rake db:version --->Current version: 0 >rake db:migrate rake aborted! ORA-12154: TNS:could not resolve the connect identifier specified (See full trace by running task with --trace) is above idea is possible, then how ? and i thing i should give service name into some *.ora files.... i don''t know how to give and what file it is .. can any one help me -- Posted via http...
2017 Jun 30
2
Simplest way of executing a non-blocking (async) python AGI script?
...#agi = AGI() def f(name): sys.stdin.close() sys.stdout.close() sys.stderr.close() os.close(0) # close C's stdin stream os.close(1) # close C's stdout stream os.close(2) # close C's stderr stream time.sleep(2) f = open('/var/lib/asterisk/agi-bin/tns/testing/testout.txt', 'w') f.write(name) f.close() if __name__ == '__main__': print('before process') mp.set_start_method('fork') q = mp.Queue() p = mp.Process(target=f, args=('asterisk',)) p.start() sys.exit() On 30 Jun...
2008 Aug 29
1
DB stop&start
Hi I need a script to automatically Starting/Stopping an Oracle 10g DB on CentOS5.2 64bit i.e lsnrctl start/stop db start/stop emctl start/stop dbconsole" Any help? -- Madunix_at_Gmail Sysadmin "Computers are useless. They can only give you answers" - Pablo Picasso "Never trust a computer you can't throw out a window." - Steve Wozniak -------------- next part