Cannot delete alias if the referenced object does not exist

My JavaScript does not alias in OSX when the referenced object no longer exists. The bug occurs on a network volume when the referenced object has been deleted or moved from another system. Do you have any idea how to remove/relpace this alias dead with JavaScript? Why it is not possible to remove an alias with a missing object? Thank you for helping me!

myShortcut.remove ();

Bildschirmfoto 2012-03-21 um 10.52.26.png

Hmm. I have no problem removing broken aliases created in the Finder, but am not able to delete the symlinks broken on remote filesystems created with ln -s (or withile.createAlias ()f). Seems to be a bug for me, as the broken symbolic link can be deleted otherwise (in the Finder or with rm ). I guess you can use doScript() and an Applescript script:

app.doScript('tell application "Finder" to delete POSIX file "' + myShortcut.fsName + '"', ScriptLanguage.APPLESCRIPT_LANGUAGE);

Slow, however. You can use a 'do shell script' Applescript with rm but the multiple levels of bids and escape are a puzzle.

Jeff

Tags: InDesign

Similar Questions

  • Save for precedent: the "Attachment" object does not exist in the previous version

    I'm trying to save a very simple VI from LabVIEW 2013 SP1 to LabVIEW 2009 but I get this strange error.  The VI contains only basic ex that are available in all versions of LabVIEW (shift logical AND Select,<=, u8). ="" when="" i="" try="" to="" save="" it="" for="" labview="" 2009,="" it="" gives="" me="" the="" following="">

    Missing object.  The "Attachment" object does not exist in the previous version.

    I thought first of all it had to do with being possessed by a lvclass, but even after that I removed the class (and unplugged from the lvclass) it always gives me this warning.

    When I try to open it with 2009, it will fail to load the schema-block (error 6).

    The next thing I tried was to copy the block diagram for a new VI and re - create the connector pane, but that doesn't change anything.

    Any ideas?

    Maybe "attachment" made reference to an attached comment (the arrow of a free label for an object on the diagram). I don't expect the presence of attached comments to cause a SFPed VI to not open, but it's the only thing I can think of. Try to remove any comment attached to your diagram and SFPing and see if that solved the problem.

  • Homepage is CNN. When Firefox is launched, says TAB not FOUND. The requested object does not exist on this server. The link you followed is that is exceeded in

    Cannot get to CNN.com at all. I can get to CNN.com if I use IE. This problem just started. I have already removed/reinstalled Firefox today. He worked for a while and then when I restart/shutdown, the problem is back.

    I called AT & T even if they are not my provider & CSR said someone else had called today and said they had the same problem. AT & T wouldn't let me speak to technical support. I called my provider and they do not help because I could get on the Internet.

    All of a sudden, when I went down to the current provider w / my phone, I restarted my PC (for the umpteenth time) and VOILA! My problem is solved. Someone did something, but I'll never know.

    Thanks for the help.

  • ORA-21700: object does not exist or is marked for deletion - nested table

    Hi, please see my procedure. It comes to delete records in a table whose primary keys will be given in comma separated format.

    but he triggers the following error

    ORA-21700: object does not exist or is marked for deletion
    ORA-06512: at the 'scott '. PKG_COUNTRY', line 4598
    ORA-06512: at line 10
    Pr_Del_Regional_DtlORA-21700: object does not exist or is marked for deletion
    Process is complete.
    Disconnection from the database tfo_user-watson.


    / * In format on 12/05/2011 14:47 (trainer more v4.8.7) * /.



    Varchar_table. ARRAY TYPE IS VARCHAR2 (5); -in the scope of package


    PROCEDURE Pr_Del_Regional_Dtl)
    pi_v_country_id IN VARCHAR2, seperateed comma for deletion
    po_results ON sys_refcursor
    )
    IS
    l_varchar_table varchar_table: = varchar_table ();
    BEGIN
    pr_split_varchar_values (pi_v_country_id, l_varchar_table); -divides: separation by a comma to the nested table.

    DELETE FROM regional_setup
    WHERE country_id IN (SELECT *)
    TABLE (l_varchar_table)); -removed
    EXCEPTION
    WHILE OTHERS
    THEN
    DBMS_OUTPUT. Put_line ("Pr_Del_Regional_Dtl" |) SQLERRM);
    LIFT;
    END Pr_Del_Regional_Dtl;

    split-
    PROCEDURE pr_split_varchar_values)
    pi_v_values IN VARCHAR2,
    op_varchar_table ON varchar_table
    )
    IS
    l_v_value VARCHAR2 (3000);
    l_value VARCHAR2 (10);
    I PLS_INTEGER: = 0;
    BEGIN
    op_varchar_table: = varchar_table ();
    l_v_value: = pi_v_values;

    IN all, LENGTH (l_v_value) > 0
    LOOP
    i: = i + 1;

    IF INSTR (l_v_value, ",") > 0
    THEN
    op_varchar_table. EXTEND;
    op_varchar_table (i): =.
    LTRIM (RTRIM (SUBSTR (l_v_value, 0, INSTR (l_v_value, ",") - 1)));
    ON THE OTHER
    op_varchar_table. EXTEND;
    op_varchar_table (i): = LTRIM (RTRIM (l_v_value));
    l_v_value: = ";
    END IF;

    l_v_value: =.
    SUBSTR (l_v_value, INSTR (l_v_value, ",") + 1,
    LENGTH (l_v_value));
    END LOOP;
    END pr_split_varchar_values;

    Thanks in advance
    TYPE varchar_table IS TABLE OF VARCHAR2(5); -- in package scope
    

    Have you declared in package or database? Remember, local collection cannot be used in the SQL statement.

  • Cannot install the printer. The print processor does not exist.

    Windows 7 Enterprise 64 bit.  I am able to install HP LaserJet printers but no virtual printer.  I can not load the XPS from Windows printer or Print to OneNote.  I also tried to load more than one PDF printer and none of them work.  The error I keep gettig to "cannot install the printer.  The print processor does not exist. »

    Any ideas would be appreciated.

    My laptop has been reloaded from a picture, and I was not able to start the print spooler at all. I have studied the issue and cleaned files and registry entries and was able to print on real printers, but not virtual. That's when I asked the question.

    Finished reimage the computer again, and once again, I could not start the print service. We discovered that the image that the laptop was built from was actually a VMWare virtual machine, so we started to look in that direction.   We had to delete the following entry in the registry and rebooting, how the print spooler began to work very well.

    [Print HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors\ThinPrint for VMWare Port Monitor]

    You wanted to post this in case someone else ran into a similar problem.

    This is what worked for me.

    I copy the files from the print processor from another machine to work with the same architecture as the one who has the problem (x 86 or x 64).

    Step 1: Stop the print spooler service.

    Step 2: Copy all the files and folders on the system to work under C:\Windows\System32\spool\prtprocs\x64.

    Step 3: Make a backup of the system files listed in the C:\Windows\System32\spool\prtprocs\x64 problem.

    Step 4: Paste the files that you copy from the system of work in the case of the United Nations, the problem system.

    Step 5: Start the print spooler service.

    Try to connect or install your net printer and it should work now.

    I hope this work for all of you.

  • OIC-21700: object does not exist or is marked for deletion

    version: 11.2.0.4.0

    Hello guys, I have a user that when accessing a us01.tab1 of the table becomes the "BEAK-21700: object does not exist or is marked for deletion" error.

    when its "select * of us01.tab1 ' it's getting that error."

    but he is able to access this table if he types in individual column names of the table "select < column-1 >, < column-2 >, < column-3 > us01.tab1.

    the user is also able to "select count (*) from us01.tab1.

    It's just with "select *", is having problems with. "" It has all created necessary synonyms.

    Now when I do a "select * from us01.tab1" I get the result I wanted. As far as I see it, there is nothing wrong with the table, it is in a valid state and it does not exist in the schema us01.

    Can one help me to find what I'm missing here.

    Thank you

    The problem with that was the nested tables. I have granted execute privileges on tables nested and created of synonyms for the nested tables, and it worked. Thanks for the suggestions guys.

  • I have itunes 12.4.  When I try to add a new song to icloud music library I see the following message: results of genius cannot be updated because the iTunes Store does not recognize your iTunes library. "Then said to turn off genius, no not such optio

    I have itunes 12.4.  When I try to add a new song to icloud music library I see the following message: "Genius results cannot be updated because the iTunes store does not recognize your iTunes library."  He then ordered me to turn off Genius, and then turn it back on.  There is no option.  Othe impossible of access devices correspond to these songs via itunes.  Any help would be appreciated.

    Hello Subocz E M.

    Thank you for using communities of Apple Support. I see that you had problems adding pieces and turn off Genius. I know how it is important to be able to add music to iTunes. I'm happy to help you.

    Since you are being invited to turn off Genius, you can add music, please use the following information to resolve these two issues:

    Turn on or off the Genius

    If iCloud music library is enabled, you cannot disable Genius.

    Choose file > library > Genius (toggle Genius).

    Turning off the Genius Genius Genius Shuffle shuts and and the Genius Mix.

    12 iTunes for Mac: use Shuffle Genius, Genius or Genius Mix playlists

    Have an amazing day!

  • error 1075 the dependency service does not exist or has been marked for deletion

    Im trying to find solutions for this error with windows vista. The only solutions with microsoft in the VISTA section is for xp machines. Go figure. Im trying to reboot the Client DHCP service and this is the error I get. (error 1075 the dependency service does not exist or has been marked for deletion). I tried to fix the registry key to match a working vista machine, but it did not work. This is the registry that I corrected. HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\DHCP

    Just delete the registry entry and restart the system. It should work perfectly. It worked for me.

    1. Click Start, click run, type regedit in the Open box, and then click OK.
    2. In the registry editor, find and then click the following registry subkey:
      HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\DHCP
    3. Right click on the entry DependOnService , and then click remove instead of change
  • "Windows cannot connect to the printer. The print processor does not exist.

    I am trying to connect to a printer on my home network.  LaserJet 1020. Who lives on a different computer on windows 7.  It works fine on his 'home' of that Win 7 cannot connect to the printer. but when I try to network I get this message.  "Unable to connect to the printer. The print processor does not exist.  I downloaded a new driver from HP without success.  All of the suggestions.  Thanks in advance.

    Print processor which is using?  Properties of the printer, Advanced Print processor.   See if changing to wil Winprint allow the connection of the printer. Note the current so you can change back if required. Alan Morris Windows printing team; Here Microsoft Knowledge Base search: http://support.microsoft.com/search/Default.aspx?adv=1

  • How to solve error 1075 the dependency service does not exist or has been marked as deleted by sharing my internet conection as temporary ad - hoc wifi connection? Windows 7

    For 6 months I have been successfully using my based ad hoc temporary internet connection wifi connection to aid Assistant ICS (internet connection sharing) on my computer laptop windows7, but last night my microsoft security essential antivrus detected and removed Trojan win64 sirefef. "" B and after that, I have this error 1075 "the dependency service does not exist or has been marked as deleted" whenever I tried to make the new ad - hoc wifi based connection to share my main internet connection for my other devices

    I was looking for a response, and since I met the same sirefef of virus variants. (x), after the removal of virus, that I remembered the place, that he has done.

    C:\WINDOWS\Microsoft.NET\assembly\GAC_MSIL

    As a solution, I think that if a system component is damaged I shuould fix first.

    In fact, I did a full upgrade to Windows 7 (build even) with the OS DVD.

    I must mention about the extraordinary capabilities of Windows 7 on the upgrade.

    After all the upgrade process which took about 2 hours to "Installation of Windows 7" discovered that .NET framework 4.0 is damaged and repaired. And I could start ICS.

    Without all this hassle if you could try to reinstall .net Framework 4.0, I think that this problem will disappear.

  • Windows could not start the IKE and Authip IPsec keying service modules on the local computer. Error 1075 the dependency service does not exist or has been marked for deletion.

    Hi, I'm trying start the IKE and AUTHOP service from the SERVICES screen but I get this error:

    Windows could not start the IKE and Authip IPsec keying service modules on the local computer.  Error 1075 the dependency service does not exist or has been marked for deletion.

    original title: ike and authip error 1075 the dependency service does not exist or has been marked for deletion

    Hello

    Remember to make changes to the computer before the show?

    You can follow the below methods:

    Method 1: Restart Windows and try to start the Security Center service.

    If you still receive the same error, make sure that the WMI service is launched and running:

    (a) click Start, run , and then type Services.msc

    (b) double-click Windows Management Instrumentation

    (c) set its startup type to Automatic

    (d) click Start to start the service, and then click OK

    (e) restart Windows.

    Method 2: Restart the service

    Windows logs an error if the service IKE and AuthIP IPsec Keying Modules or the driver does not start, or suddenly, they end.

    To restart the IKE and AuthIP IPsec Keying Modules service:

    To perform this procedure, you must have membership in the local Administrators group, or must you have been delegated the appropriate authority.

    (a) restart the service. You can do this from a command prompt or in the snap-snap-in Services Microsoft Management Console (MMC). Do one of the following:

    ·         Start an administrative command prompt. Click Start, click principally made programs, Accessories, right-click guest, and then click run as administrator. At the command prompt, run the command net start ikeext.

    ·         Click Start, type services.msc in the Search box and press ENTER. In the column name of the Services snap-in, right-click on IKE and AuthIP IPsec Keying Modulesand then click Start.

    (b) if the attempt to restart the service fails, restart the computer. This forces all related and dependent services to restart.

    (c) if the error persists after restarting the computer, then the executable files for the driver or service may be damaged, and the operating system must be reinstalled.

    Note:

    You can check that the IKE and AuthIP IPsec Keying Modules (IKEEXT) service runs by using the Component Services Microsoft Management Console (MMC) or the net start command line tool.

    You can check the link: http://technet.microsoft.com/en-us/library/cc733299 (WS.10) .aspx

    Method 3: Run a scan of the System File Checker.

    http://support.Microsoft.com/kb/929833

    It will be useful.

  • LaserJet P3010: Cannot install the printer. The print processor does not exist

    I have a LaserJet P3010 Series PCL 6. It gives me the following error when I try and add it to our print server: "unable to install the printer. The print processor does not exist. "Regardless of what kind of IP config I use, the test page I always manually print has 0.0.0.0 for everything, even with the manual entry of IP. It is brand new, fresh out of the box, and I installed a few of them before. There seems to be 2 sets of link one of them lights flashes green (even without a CAT cable) and the other shows not all colors. (I think that's the main, judging by its location). I know that the cable is good, but also over all cable infrastructure. Should I have a defective printer? Or did I miss something...

    Problem solved. Use another port.

  • TNS-12545: Connect failed because target host or object does not exist

    Hi all

    I have two hosts with me. 1 host1 and 2. host2. Host1 have ORCL database. And when I'm doing the tnsping to host2 for database ORCL I get error below.

    [oracle@host2 ~] $ hostname

    host2.example.com

    [oracle@host2 ~] $ tnsping ORCL

    AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on 5 April 2014 20:31:40

    Copyright (c) 1997, 2009, Oracle.  All rights reserved.

    Use settings files:

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = host1.example.com) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORCL)))

    TNS-12545: Connect failed because target host or object does not exist

    Here's my tns annually involves Details:

    on host1:

    [oracle@host1 admin] $ listener.ora more

    listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora

    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = ORCL. WORLD)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    (SID_NAME = ORCL)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host1.example.com) (PORT = 1521))

    )

    )

    ADR_BASE_LISTENER = / u01/app/oracle

    [oracle@host1 admin] $ more tnsnames.ora

    tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora

    # Generated by Oracle configuration tools.

    ORCL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host1.example.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = ORCL)

    )

    )

    MYTEST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host2.example.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = MYTEST)

    )

    )

    LSNRCTL > status

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=host1.example.com) (PORT = 1521)))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production

    Start date April 5, 2014 20:09:33

    Uptime 0 days 0 h 25 min 1 sec

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file

    The listener log file /U01/app/Oracle/diag/tnslsnr/host1/listener/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=host1.example.com) (PORT = 1521)))

    Summary of services...

    Service "ORCL" has 1 instance (s).

    Instance "ORCL", State LOAN, has 1 operation for this service...

    Service "ORCL. The WORLD' has 1 instance (s).

    Instance "ORCL", status UNKNOWN, has 1 operation for this service...

    Service 'ORCLXDB' has 1 instance (s).

    Instance "ORCL", State LOAN, has 1 operation for this service...

    The command completed successfully

    On host2:

    [oracle@host2 admin] $ listener.ora more

    listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora

    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = MYTEST. WORLD)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    (SID_NAME = MYTEST)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host2.example.com) (PORT = 1521))

    )

    )

    ADR_BASE_LISTENER = / u01/app/oracle

    [oracle@host2 admin] $ tnsname.ora more

    TNSNAME.ora: no such file or directory

    [oracle@host2 admin] $ more tnsnames.ora

    MYTEST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host2.example.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = MYTEST)

    )

    )

    ORCL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host1.example.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = ORCL)

    )

    )

    Please help me what I do in configuring the listener and tns.

    Kind regards

    Michel

    fb767351-A660-4b18-9a9f-73bc141f6a0c wrote:

    Hi all

    I have two hosts with me. 1 host1 and 2. host2. Host1 have ORCL database. And when I'm doing the tnsping to host2 for database ORCL I get error below.

    [oracle@host2 ~] $ hostname

    host2.example.com

    [oracle@host2 ~] $ tnsping ORCL

    AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on 5 April 2014 20:31:40

    Copyright (c) 1997, 2009, Oracle.  All rights reserved.

    Use settings files:

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = host1.example.com) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORCL)))

    TNS-12545: Connect failed because target host or object does not exist

    If your entry for "ORCL" tnsnames decided to 'contact' indicated info.  He tried to send a ping packet to the server identified by "(HOST = host1.example.com)". "  Oracle tns transmitted the request to the network stack of BONES for the resolution and routing.  Here, 'host1.example.com' host name could not be resolved to an IP address, or if it was, it was an IP address that is a dead-end.

    Here's my tns annually involves Details:

    We see the details necessary out of your tnsping tns.  Since the application never had the host (as is obvious in the error message), nothing about the questions of the listener - he never got.

    on host1:

    As your example tnsping host2, and says that the error message obvious host1 is nowhere to be found, like the listener, none of the files of configuration on host1 question - demand ever on host1.

    [oracle@host1 admin] $ listener.ora more

    listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora

    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = ORCL. WORLD)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    (SID_NAME = ORCL)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host1.example.com) (PORT = 1521))

    )

    )

    ADR_BASE_LISTENER = / u01/app/oracle

    [oracle@host1 admin] $ more tnsnames.ora

    tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora

    # Generated by Oracle configuration tools.

    ORCL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host1.example.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = ORCL)

    )

    )

    MYTEST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host2.example.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = MYTEST)

    )

    )

    LSNRCTL > status

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=host1.example.com) (PORT = 1521)))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production

    Start date April 5, 2014 20:09:33

    Uptime 0 days 0 h 25 min 1 sec

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file

    The listener log file /U01/app/Oracle/diag/tnslsnr/host1/listener/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=host1.example.com) (PORT = 1521)))

    Summary of services...

    Service "ORCL" has 1 instance (s).

    Instance "ORCL", State LOAN, has 1 operation for this service...

    Service "ORCL. The WORLD' has 1 instance (s).

    Instance "ORCL", status UNKNOWN, has 1 operation for this service...

    Service 'ORCLXDB' has 1 instance (s).

    Instance "ORCL", State LOAN, has 1 operation for this service...

    The command completed successfully

    On host2:

    Okay, the problem being that a client on host2 couldn't solve a connection to hos1, these could be revealing.

    [oracle@host2 admin] $ listener.ora more

    listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora

    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = MYTEST. WORLD)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    (SID_NAME = MYTEST)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host2.example.com) (PORT = 1521))

    )

    )

    ADR_BASE_LISTENER = / u01/app/oracle

    Except that in the example, we work with, host2 is the customer, trying to reach a database on host1.  Any listener on host2 is totally irrelevant.

    [oracle@host2 admin] $ tnsname.ora more

    TNSNAME.ora: no such file or directory

    [oracle@host2 admin] $ more tnsnames.ora

    MYTEST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host2.example.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = MYTEST)

    )

    )

    ORCL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = host1.example.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = ORCL)

    )

    )

    It's the only tns configuration file that is important for the problem at hand.  And we already knew what he said, since the output of your command of tnsping.

    Please help me what I do in configuring the listener and tns.

    Kind regards

    Michel

    Is "host1.exampl.com" the real hostname of your machine "host1"?  Or you made that blur in your ad - thing quite legitimate to do this for security reasons.

    Whatever, this is not really a matter of tns, unless of course 'host1.example.com' is really what you put in the tnsnames file, but your server "host1" became really something else.

    Assuming that 'host1.example.com' is the correct value, debugging starts with the following:

    [oracle@host2 admin] $ ping host1.example.com

    [oracle@host2 admin] $ tracerout host1.example.com

  • ORA-12545: Connect failed because target host or object does not exist

    Hi all

    I am not able to connect database remotely. I have two servers with the name U.S. and localhost. Here are my coordinates tns:

    Details of the host server we:

    [oracle@US admin] $ more tnsnames.ora

    tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora

    # Generated by Oracle configuration tools.

    PROD =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = EN)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = prod. WORLD)

    )

    )

    PROD_STBY =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = prod. WORLD)

    )

    )


    [oracle@US admin] $ more sysconfig

    Networking = yes

    NETWORKING_IPV6 = yes

    HOSTNAME = US.localdomain


    [oracle@US admin] $ more/etc/hosts

    # Do not remove the next line, or various programs

    # requiring a network functionality will fail.

    127.0.0.1 localhost.localdomain localhost

    : US.localdomain6 1 U.S.

    Remote Ping US server location:

    [oracle@US admin] $ ping 192.168.188.131

    PING 192.168.188.131 (192.168.188.131) 56 (84) bytes of data.

    64 bytes from 192.168.188.131: icmp_seq = 1 ttl = 64 time = 0,662 ms

    64 bytes from 192.168.188.131: icmp_seq = 2 ttl = 64 time = 0,558 ms

    64 bytes from 192.168.188.131: icmp_seq = 3 ttl = 64 time = 0,566 ms

    64 bytes from 192.168.188.131: icmp_seq = 4 ttl = 64 time = 0,603 ms

    64 bytes from 192.168.188.131: icmp_seq = 5 ttl = 64 time = 0.575 ms

    ^ C

    -192.168.188.131 - ping statistics

    5 packets transmitted, 5 received, 0% packet loss, time 4002ms

    RTT min/avg/max/leg = 0.558/0.592/0.662/0.048 ms

    Details of the server remote localhost:

    [oracle@localhost admin] $ more tnsnames.ora

    PROD =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = EN)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = prod. WORLD)

    )

    )

    PROD_STBY =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = prod. WORLD)

    )

    )


    [oracle@localhost admin] $ cat/etc/hosts

    # Do not remove the next line, or various programs

    # requiring a network functionality will fail.

    127.0.0.1 localhost.localdomain localhost

    : 1 localhost6.localdomain6 localhost6


    [oracle@localhost admin] $ cat sysconfig

    Networking = yes

    NETWORKING_IPV6 = yes

    HOSTNAME = localhost.localdomain

    [oracle@localhost admin] $ listener.ora more

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = prod. WORLD)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    (SID_NAME = prod)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain) (PORT = 1521))

    )

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    )

    )

    ADR_BASE_LISTENER = / u01/app/oracle

    [oracle@localhost admin] $ lsnrctl status


    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 4 February 2014 16:49:36

    Copyright (c) 1991, 2009, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521)))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production

    Start date February 4, 2014 16:42:09

    Uptime 0 days 0 h 7 min 26 sec

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file

    The listener log file /U01/app/Oracle/diag/tnslsnr/localhost/listener/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=localhost.localdomain) (PORT = 1521)))

    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))

    Summary of services...

    Service "prod. The WORLD' has 1 instance (s).

    Instance "prod", status UNKNOWN, has 1 operation for this service...

    The command completed successfully

    Location of ping to the server hosting remote localhost:

    [oracle@localhost admin] $ ping 192.168.188.130

    PING 192.168.188.130 (192.168.188.130) 56 (84) bytes of data.

    64 bytes from 192.168.188.130: icmp_seq = 1 ttl = 64 time = 1.57 ms

    64 bytes from 192.168.188.130: icmp_seq = 2 ttl = 64 time = 0,223 ms

    64 bytes from 192.168.188.130: icmp_seq = 3 ttl = 64 time = 0,577 ms

    64 bytes from 192.168.188.130: icmp_seq = 4 ttl = 64 time = 0,571 ms

    64 bytes from 192.168.188.130: icmp_seq = 5 ttl = 64 time = 0,568 ms

    ^ C

    -192.168.188.130 - ping statistics

    5 packets transmitted, 5 received, 0% packet loss, time 4006ms

    RTT min/avg/max/leg = 0.223/0.703/1.578/0.458 ms

    Connection database target mode ensures via RMAN:

    [oracle@localhost admin] $ rman target sys/oracle_4U@PROD auxiliary sys/oracle_4U@PROD_STBY


    Recovery Manager: release 11.2.0.1.0 - Production on Tue Feb 4 16:56:45 2014

    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-00554: initialization of the package manager internal collection failed

    RMAN-04005: target database error:

    ORA-12545: Connect failed because target host or object does not exist

    Please let me know the cause of this error and it please help me how can I solve it.

    Kind regards

    Michel

    OK, so you have a software firewall (IPTables) running.  By default, it will not be configured to accept connections on port 1521.  You have two options...

    (1) disable the firewall completely.  Run these commands to do this...

    stop /etc/init.d/iptables

    chkconfig iptables off

    The first command stops the service.  The second command prevents revived at every restart of the OS.

    (2) add an exception to the firewall for port 1521.  I'm not a Linux expert, but it should be something like this...

    Change the configuration of IPTables with vi...

    VI/etc/sysconfig/iptables

    Add a new rule as follows...

    -A of ENTRY m state - state NEW-m tcp tcp - dport 1521-j ACCEPT Pei

    Save and close, and then restart the IPTables service...

    /etc/init.d/iptables restart

    NOTE: you must always change the name of this server to something other than "localhost".

  • Error failed with error 0 x 80070424: the specified service does not exist as an installed service.

    I have DSL and a wireless printer that work well when the system starts; EXCEPT the desktop icons disappeared so I can't manage them! If I stop DSL through the system icons, I get the following error messages when I try to restart or to solve problems: do you know what are the services that I need to install/reboot?

    Diagnosis of network adapter

    Network location detection

    Info Using the Internet connection at home

    Identification of network adapter

    error Failed with error 0 x 80070424: the specified service does not exist as an installed service.

    HTTP, HTTPS, FTP Diagnostic

    HTTP, HTTPS, FTP connectivity

    warn HTTP: Error 12007 connecting to www.microsoft.com: the server name or address cannot be resolved
    warn HTTPS: Error 12007 connecting to www.microsoft.com: the server name or address cannot be resolved
    warn FTP (passive): error 12007 connecting to FTP.Microsoft.com: the server name or address cannot be resolved
    warn HTTP: Error 12007 connecting to www.hotmail.com: the server name or address cannot be resolved
    warn FTP (active): error 12007 connecting to FTP.Microsoft.com: the server name or address cannot be resolved
    warn HTTPS: Error 12007 connecting to www.passport.net: the server name or address cannot be resolved
    error Could not make an HTTP connection.
    error Could not make an HTTPS connection.
    error Could not make an FTP connection.

    Diagnosis of last run time: 16/05/12 16:09:47

    Diagnosis of network adapter

    Network location detection

    Info Using the Internet connection at home

    Identification of network adapter

    error Failed with error 0 x 80070424: the specified service does not exist as an installed service.

    HTTP, HTTPS, FTP Diagnostic

    HTTP, HTTPS, FTP connectivity

    warn HTTP: Error 12007 connecting to www.microsoft.com: the server name or address cannot be resolved
    warn HTTPS: Error 12007 connecting to www.microsoft.com: the server name or address cannot be resolved
    warn FTP (passive): error 12007 connecting to FTP.Microsoft.com: the server name or address cannot be resolved
    warn HTTP: Error 12007 connecting to www.hotmail.com: the server name or address cannot be resolved
    warn HTTPS: Error 12007 connecting to www.passport.net: the server name or address cannot be resolved
    warn FTP (active): error 12007 connecting to FTP.Microsoft.com: the server name or address cannot be resolved
    error Could not make an HTTP connection.
    error Could not make an HTTPS connection.
    error Could not make an FTP connection.

    Thanks for your attempt to solve my problem.

    Curiously he solved my problem of network while solving what has proved to be a problem with the firewall of Windows (see below): who knew?

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-Security/Windows-XP-Security-Service-Center-error-1060-and/1476c2b6-8161-4ccd-a69f-93292b5152da

Maybe you are looking for

  • Key combination does not respond before the start

    Hello. I have a macbook pro 13 "2015 retina. The problem I have is the same as the title, but it's not regular "choose the appropriate settings startup disk' because I tried already several times. Mind you, none of these problems remain once Mac OS s

  • AT-MIO16XE-10

    Hasta con what version of Windows works una DAQ-AT-MIO16XE-10; y hasta con cual version of LabVIEW? Qué Pentium can serve para instalar dicha DAQ? Por favor contestar a [email protected] MUCHAS gracias

  • How can I get the numbers and the name of the piece?

    How can I get a # and compatibility for Pavillion DV7-4065dx parts list. Especially need to get low basic coverage.

  • Hello I have a problem whit my battery

    Hello so as the topic title says I have a little bit of problem my battery leptop I'm all time I do not use the battery out then once weekly iv a replace Pentecost on the power pluged use until she hase 10% more and one House, then I plug in the powe

  • BlackBerry Smartphones Custom Dictionary, machine learning does not appear in the dictionary.

    My phone automatically learned a lot of bad words, I typed in Miss.  On my old 8100 PEARL I just go into the custom dictionary and delete them.  On my 8200 they do not appear in the list at all. Show words that I entered manually, but I can't remove