[RESOL]after running net8 easy config php no longer connects with ora_logon

fixed by adding .WORLD to the ora_logon command :)
servers:
oracle 8i 8.1.7.4.0 remotely located called PROD
windows 2000 server running IIS and php 4.3.4 net8
above windows server was passed down to me so initial setup was done by someone else
I needed to update the TSNNAMES.ora file to add a connection to a new oracle database (DEV) on the 2K web server. I located the tnsnames.ora file in c:\orant\net80\admin and created a backup.
I then ran the net8 easy config to create the new tns name
I tested the new database with a php file that uses $dbh = ora_login("$user@DEV","$Pass");
this failed for the new SID. I checked and noticed also that all my old php files pointing to PROD where also failing with the dreaded ORA-12154: TNS:could not resolve service name.
Now because this was only a quick test to check on the new TNSname I copyed back my old TNSNAMES.ORA file to the c:\orant\net80\admin directory. Problem is all of my php files still give the same error message.
I started testing
pngtns PROD == "OK"
tried to login the way I use to login with the GUI sqlplus
Username = user@PROD
Pass = Pass
HOST = {left blank}
this gives me the ORA-12154: TNS:could not resolve service name error. It use to work like this
I then tried
Username = user
Pass = Pass
HOST = PROD
This worked and I was able to successfully run a query
Username = user
Pass = Pass@PROD
HOST = {left blank}
This also works
I then went to the command line and ran sqlplus username@PROD/Pass
It returns ORA-12154: TNS:could not resolve service name. and askes me for a username
I put in username@PROD
then it prompts
Password: I put in my password here and it works, and connect me to the server
I tried to change my scripts to ora_login("user","Pass@PROD"); and it produces a
ORA-12203: TNS:unable to connect to destination.
Unfortunatly I cannot for the life of me get oci8 functionality to work with this version of php. If I add it to the extensions and uncomment it from php.ini it hangs the whole server. And at this point I'm woried about screwin more things up.
Any help is very appreciated.
I verified and setup environmental variables for TNS_ADMIN, and ORACLE_HOME
I put DEV back in because it made no difference with or without it in the tnsnames.ora file.
files:
TNSNAMES:
# C:\ORANT\NET80\ADMIN\TNSNAMES.ORA Configuration File:C:\orant\net80\admin\tnsnames.ora
# Generated by Oracle Net8 Assistant
CMEXAMPLE.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = CM_SERVER)(PORT = 1610))
(ADDRESS = (PROTOCOL = TCP)(HOST = LSNR_SERVER)(PORT = 1521))
(CONNECT_DATA = (SID = ORCL))
(SOURCE_ROUTE = YES)
TCPEXAMPLE.WORLD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Production1)(PORT = 1521))
(CONNECT_DATA = (SID = ORCL))
NMPEXAMPLE.WORLD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = NMP)(Server = FinanceServer1)(Pipe = ORAPIPE))
(CONNECT_DATA = (SID = ORCL))
PROD.WORLD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = PRODHOST)(PORT = 1525))
(CONNECT_DATA = (SID = PREM))
EXTPROC_CONNECTION_DATA.WORLD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(Key = EXTPROC0))
(CONNECT_DATA = (SID = extproc))
BEQ-LOCAL.WORLD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = BEQ)(PROGRAM = oracle80)(ARGV0 = oracle80ORCL)(ARGS = '(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=BEQ)))'))
(CONNECT_DATA = (SID = ORCL))
SPXEXAMPLE.WORLD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = SPX)(Service = Server_lsnr))
(CONNECT_DATA = (SID = ORCL))
DEV.WORLD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = devhostname)(PORT = 15021))
(CONNECT_DATA = (SID = DEV))
TCP-LOOPBACK.WORLD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
(CONNECT_DATA = (SID = ORCL))
I removed all the extra stuff and left only PROD and DEV. I get the exact same results.
SQLNET::
# C:\ORANT\NET80\ADMIN\SQLNET.ORA Configuration File:C:\orant\net80\admin\sqlnet.ora
# Generated by Oracle Net8 Assistant
NAME.DEFAULT_ZONE = world
NAMES.DEFAULT_DOMAIN = world
#sqlnet.authentication_services = (NONE)
SQLNET.EXPIRE_TIME = 0
SQLNET.ENCRYPTION_SERVER = requested
SQLNET.ENCRYPTION_CLIENT = requested
NAMES.DIRECTORY_PATH= (TNSNAMES, HOSTNAME)
Message was edited by:
user483446

Tony,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
- Check all of the other support tools and options available at
http://support.novell.com.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://support.novell.com/forums)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://support.novell.com/forums/faq_general.html
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://support.novell.com/forums/

Similar Messages

  • HT4623 I just updated my iphone 5 to the latest update: 6.1.2  After update was complete, I can no longer connect with my local network, apps no longer are transfered to my phone.  I lost all of my apps and music and can't get them from my computer to my

    Has anyone else had trouble with update 6.1.2 for I phone?  After the update, I can't get back on my network (password is correct), ICLOUD doesn't transfer my downloads, nothing seems to work.  It saved my calandar and address book, but lost all of my apps and music (except for a few songs, figure that out) and I can't get them back.  Any suggestions?

    I had this problem post 6.1. Not sure if it was a coincidence, but I'd just recently changed my password after being convinced I'd been hacked, due to being told I was entering my password wrongly, repeatedly by iCloud / iTunes.  It turns out my iCloud account on my Settings -> Mail, Contacts and Calendars was listed as Inactive.  Putting in my details, turning off Contacts over iCloud (thus deleting them) and turning them back on again, repopulated my contacts from iCloud with numbers attached to them.

  • Oracle Net8 Easy Config

    Hi all,
    i installed 8i with W/in2K on p4 and it's run well.
    i installed also forms 6i and when i tried to run Oracle Net8 Easy Config to configure the connection it does not work.
    So, Pls help me to be able to run it and configure the connection.
    Best Regards.
    hany

    use this method to create ur connect string
    edit the tnsname.ora. u can find this file in drive:\oracle81\network\admin directory
    copy this code bellow code with respective changes
    ORCL=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = name of the hostmachine)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = database sid)
    here orcl is a connect string name
    host is the name of ur host or ip address of ur host
    service_name is ur database sid
    save the file
    use orcl as connect string
    regards
    babjee

  • Memory reference error with Net8 easy config

    I've installed the Oracle 9iDS in the Windos 2000 professional. This i have installed in ORAIDS sepate directory with oracle home as ORAIDS. Using Net8 easy config i can establish the connection with oracle server. Then after, I've also installed the Developer with Forms 6I in the same computer in different directory ORAD2k with sepate home ORAD2K. for this I tried to establish a connection through "Oracle Net8 Easy Config". While i select the menu item "Oracle Net8 Easy Config", it gives me an error :
    The instruction at "0x00010111" referenced memory at "0x016286e0". The memory could not be "written".
    Click on OK to terminate the program
    Click on CANCEL to debug the program.
    Can somebody tell me how to make a connection from Developer (Forms6I and Reports 6I)
    Thank you.

    Hi,
    Copy tnsnames.ora file from ORAIDS/network/admin this path to ORAD2K/network/admin path.
    I hope it will work fine.
    -Neeraj

  • Oracle net8 easy config Problem

    i am not able configure Oracle net8 easy config in oracle forms & Reports.When i click the Oracle net8 easy config shortcut,then the window is not shown .After that there is no action .i am using P4 1.7GHz with 128DDR RAM.
    How can i retrive this problem.
    Thanks
    Cyril

    You can modify script file "..\orant\NET80\ADMIN\tnsnames.ora"
    LOCAL.WORLD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = DB Server name)(PORT = 1521))
    (CONNECT_DATA = (SID = ORCL))
    HAFEEZ

  • Net8 Easy config problem on Win2000 server

    After installing the Form6i on the server win2000, I try to start Net8 Easy Config but nothing happens. I couldn't connect to the 8i database in Form6i either. It seems the service name couldn't be resolved. I tried to manually config the file TNSNAMES.ORA. It didn't work either. Is there anything I can do?

    You can modify script file "..\orant\NET80\ADMIN\tnsnames.ora"
    LOCAL.WORLD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = DB Server name)(PORT = 1521))
    (CONNECT_DATA = (SID = ORCL))
    HAFEEZ

  • Problem in Oracle net8 easy config. URGENT

    Dear All,
    I need your favour, actually i instatlled Forms6i on windows XP it is installed successfully and every component(Forms, Reports) are opening without any problem. But whne i am going to configure my Net Services through Oracle Net8 Easy config it is giving close illegal operation,
    Note: i do not have any oracle product installed on my m/c except forms6i.
    Please send me some solution as early as possible.
    Thanx a Lot
    Krishna

    Windows XP is not yet a certified platform.
    That said, why not modify your tnsnames.ora file manually using a text editor.
    Regards,
    Robin Zimmermann
    Forms Product Management.

  • Forms 6i - Oracle Net8 Easy Config Problem in Pentium4 Machine

    Hello to All:
    I've installed the software successfully, but I couldn't open the Oracle Net8 Easy Config in Win. 2000 and Pentium 4 machine. It gave an error message "jre.exe has generated errors and will be closed by window. You will need to restart the program". I restarted the machine, but it's still gave the same error. I also tried to add code in tnsnames.ora, it didn't help either.
    I need some help please,
    Thanks in advance,
    TD

    You can modify script file "..\orant\NET80\ADMIN\tnsnames.ora"
    LOCAL.WORLD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = DB Server name)(PORT = 1521))
    (CONNECT_DATA = (SID = ORCL))
    HAFEEZ

  • Not able to do Net8 Easy config Please Help!!!

    I have installed oracle 8i and oracle designer 6i on my pc with
    win98. when i try to use net8 easy config, it asks for Host
    Name, i tried to give the name of the machine and database name,
    i receive message ora-12224 error message. I would like to know
    what to input for host name and is there any other method in
    installing designer.
    Thanks
    Shivakumar

    After the installation go to your oracle home directory or the
    designer home directory and in that find the file called
    tnsnames.ora (usually located in \\home\network or net80\admin\).
    edit the file and add an entry something like below
    alias.world =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1521))
    (CONNECT_DATA =
    (SID = oracledatabase_sid)
    where alias -> is aany name suffixed with .world.
    hostname -> is the name of the host, if possible in the
    hostname give the IP address of the machine.
    oracledatabase_sid -> is the sid the oracle database to which
    you will connect usual values would be ora817, orcl etc.
    This should help.

  • After running Software update, I can no longer run, open, sync or use iTunes in any way. PLEASE what happened??

    I was running the newest version of Snow Leopard, and after running Software update, I can no longer run, open, sync or use iTunes in any way. PLEASE what happened?
    I really regret that I said "OK" to Software Update message... after Software Update of these updates on 7-26-11:
    Migration Assistant Update for Mac
    Mac OSX 10.6.8 Supplemental Update
    Safari
    iTunes
    Remote Desktop Client Update
    Now I get a message:
    iTunes cannot be opened because of a problem
    Check with developer to make sure iTunes works with this version of Mac OSX. You may need to reinstall the application. Be sure to install any available updates for the application and Mac OSX.
    Process:         iTunes [5092]
    Path:            /Applications/iTunes.app/Contents/MacOS/iTunes
    Identifier:      com.apple.iTunes
    Version:         ??? (???)
    Build Info:      iTunes-10315501~1
    Code Type:       X86 (Native)
    Parent Process:  launchd [111]
    Date/Time:       2011-07-26 12:08:18.568 -0500
    OS Version:      Mac OS X 10.6.8 (10K540)
    Report Version:  6
    Interval Since Last Report:          504736 sec
    Crashes Since Last Report:           20
    Per-App Crashes Since Last Report:   13
    Anonymous UUID:                      B8B5EE28-970A-4E79-949B-EA2DD6E6DAA2
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Crashed Thread:  0
    Dyld Error Message:
      Library not loaded: @loader_path/libgnsdk_musicid.1.8.2.dylib
      Referenced from: /Applications/iTunes.app/Contents/MacOS/iTunes
      Reason: image not found
    Binary Images:
    0x8fe00000 - 0x8fe4162b  dyld 132.1 (???) <A4F6ADCC-6448-37B4-ED6C-ABB2CD06F448> /usr/lib/dyld
    Model: Macmini3,1, BootROM MM31.00AD.B00, 2 processors, Intel Core 2 Duo, 2.26 GHz, 2 GB, SMC 1.35f1
    Graphics: NVIDIA GeForce 9400, NVIDIA GeForce 9400, PCI, 256 MB
    Memory Module: global_name
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x90), Broadcom BCM43xx 1.0 (5.10.131.42.4)
    Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports
    Network Service: Ethernet, Ethernet, en0
    Serial ATA Device: Hitachi HTS543216L9SA02, 149.05 GB
    Serial ATA Device: OPTIARC DVD RW AD-5680H
    USB Device: External HDD, 0x1058  (Western Digital Technologies, Inc.), 0x0704, 0x24100000 / 2
    USB Device: Hub, 0x0424  (SMSC), 0x2507, 0x26400000 / 2
    USB Device: iMic USB audio system, 0x077d, 0x07af, 0x26440000 / 4
    USB Device: Hub, 0x0424  (SMSC), 0x2502, 0x26470000 / 3
    USB Device: Deskjet D4300 series, 0x03f0  (Hewlett Packard), 0x1f04, 0x26471000 / 5
    USB Device: GD-0608-U, 0x056a  (WACOM Co., Ltd.), 0x0021, 0x04700000 / 4
    USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8242, 0x04500000 / 3
    USB Device: Hub in Apple Pro Keyboard, 0x05ac  (Apple Inc.), 0x1003, 0x04300000 / 2
    USB Device: Apple Optical USB Mouse, 0x05ac  (Apple Inc.), 0x0307, 0x04310000 / 6
    USB Device: Apple Pro Keyboard, 0x05ac  (Apple Inc.), 0x020b, 0x04330000 / 5
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x06100000 / 2
    USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8216, 0x06110000 / 5
    FireWire Device: unknown_device, Unknown
    FireWire Device: d2 DVDRW FW, LaCie, Up to 400 Mb/sec

    Same thing happened to me and I get the same error message. These are the programs that don't work
    mail
    keynote
    pages
    all Office 2011 programs
    safari

  • Power PC G4 running OS 10.5.8 no longer sync with iPad iOS7, what's up?

    Power PC G4 running OS 10.5.8 no longer sync with iPad iOS7, what's up?

    Leopard (OS X 10.5) came out in October, 2007.  iOS 7 came out in October, 2013.
    You need an absolute minimum of OS X 10.6.8 (Snow Leopard) to run iTunes 11 which can sync devices using iOS 7.
    In the U.S., you could purchase Snow Leopard here:
    http://store.apple.com/us/product/MC573Z/A/mac-os-x-106-snow-leopard
    ... then update it to OS X 10.6.8.
    UPDATE -- Sorry!  I don't think you have an Intel processor Mac, and therefore cannot run Snow Leopard.  You need a new computer to sync using iOS 7.
    Message was edited by: sberman

  • Orcale Net8  Easy Config not display

    I try to configure my forms builder to access the data base but when I click Oracle Net Easy Config , it is not display for me any thing to start the steps of configuration...any one have idea about the problem and how to solve

    After the installation go to your oracle home directory or the
    designer home directory and in that find the file called
    tnsnames.ora (usually located in \\home\network or net80\admin\).
    edit the file and add an entry something like below
    alias.world =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1521))
    (CONNECT_DATA =
    (SID = oracledatabase_sid)
    where alias -> is aany name suffixed with .world.
    hostname -> is the name of the host, if possible in the
    hostname give the IP address of the machine.
    oracledatabase_sid -> is the sid the oracle database to which
    you will connect usual values would be ora817, orcl etc.
    This should help.

  • I can no longer connect with others using FaceTime after the mandatory update

    I updated my iPad software and now when I try to connect with someone using FaceTime I can never fully connect.
    Can anyone help me or seen this issue?

    Unable to make or receive FaceTime calls after April 16, 2014
    http://support.apple.com/kb/TS5419
    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Set Up Alert Sounds
    http://www.quepublishing.com/articles/article.aspx?p=1873027&seqNum=3
    Extra FaceTime IDs
    http://tinyurl.com/k683gr4
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Fix Can’t Sign Into FaceTime or iMessage iOS 7
    http://ipadtutr.com/fix-login-facetime-imessage-ios-7/
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    iOS 7 allows you to block phone numbers or e-mail addresses from contacting you via the Phone, FaceTime, or Messages
    http://howto.cnet.com/8301-11310_39-57602643-285/you-can-block-people-from-conta cting-you-on-ios-7/
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457#19087457
    How to watch FaceTime calls on the big screen with Apple TV
    http://www.imore.com/daily-tip-ios-5-airplay-mirroring-facetime
    Send an iMessage as a Text Message Instead with a Quick Tap & Hold
    http://osxdaily.com/2012/11/18/send-imessage-as-text-message/
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    How to Receive SMS Messages on an iPad
    http://yourbusiness.azcentral.com/receive-sms-messages-ipad-16776.html
    Apps for Texting http://appadvice.com/appguides/show/apps-for-texting
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • T410 running Windows 7 not detecting HP LP3065 connected with DisplayPort to DVI Dual-Link

    I am running Windows 7 on a Thinkpad T410.  I have an HP LP3065 monitor connected to it using an Accell DisplayPort to DVI Dual-Link adapter.  Windows 7 does not detect the monitor.  The NVIDIA drivers are up to date and I have tried powering the Accell adaptor with multiple USB ports.  I do not know if there is a problem with the adaptor or if Windows 7 is just unable to see the monitor with this combination.
    Could someone please let me know how I can diagnose this?  Thank you in advance.

    Similar issue: my T410 does not detect LG W2343T-PF (1920x1080) connected with DisplayPort to DVI Dual-Link Cable
    T410 with integrated graphics
    Type: 2516
    BIOS: 1.09 (2010-01-07)
    Embedded Controller: 1.03
    Windows7 Pro x64
    drivers are up-to-date with Lenovo
    the same DP to DVI Dual-link cable was able to connect to Dell 1280x1024 monitor in my office.
    Maybe I should used single link DVI cable.
    I will do more testing this evening
    (1) to test the connection on difference 1280x1024 monitor this evening at my home
    (2) try different cable - something link DP to DVI Single-link cable
    Meanwhile, just want to check others experient working with DisplayPort on T410/T510 as I really need to use dual external mornitor with my T410.

  • How to run an iPhoto Diashow using a beamer connected with a macbookair by HDMI wire

    How I have to do to run a iphoto diashow using a mcbookair connected (monitor connection) by wire with e beamer?
    Thanks in advance

    .

Maybe you are looking for