Get IP of interface

I have a computer with two interfaces (eht0 and eth1). This computer receives broadcast datagrams from any interface...
I would like to know the ip address of the interface in which arrive the datagram.
How can I get the ip address of MY interface from the ip address of the datagram's sender??
Thanks
Edited by: Joaquin_S on Feb 3, 2008 11:55 AM
Edited by: Joaquin_S on Feb 3, 2008 11:58 AM

ejp is right...I want to know which interface were they received on, and with this information ensamble a new datagram containing server's ip.
i.e.
eth0 192.168.1.10
eth1 200.200.1.10
if the server receives a datagram from 192.168.1.123 I want to send it back a datagram which contains "192.168.1.10" inside (not in the header).
if the server receives a datagram from 200.200.1.12... response containing "200.200.1.10"
Note: the datagram is broadcast...so I cant take the destination ip address as the server address
I was searching through the net but I couldn't find an answer, unless you do what ejp says:
Until then the OP has no option but to bind a DatagramSocket to each interface and receive via them all.I've found a solution...but is in the client...when the client receives the datagram with the response it takes the ip address of the sender...and this is the ip of the server's interface.
Thank you anyway!
Edited by: Joaquin_S on Feb 4, 2008 5:12 AM

Similar Messages

  • I press reset and now i can't get into router interface?

    Yestoday i was just experimenting with my router. I set up a restriction for 12am to 12:05am to see if it will block my sister's internet just for the fun.
    However it did not work.
    Today my internet was slow because of my sister's laptop. Probably downloading some soft of content. I decide to press the reset button therefore her connection would be taken off.
    However  now i want to fix that. I understand how to get into my router's interface:
    -By going to my computer and then typing 192.168.1.1 on top...
    -Yestoday when i did that it worked. I was able to get into router interface, but now i can't. It gives me "cannot find server"
    I don't understand why i can't get into my router's set up~
    Can this be fixed?

    it might be that the reaosn why you're not accessing up the router's set-up page is because the computer connected to it is not getting a valid IP adress already...
    to check this...
    go to START, then RUN
    type in cmd
    in the command line, type in ipconfig
    take note of your IP adress... that's the computer IP adress..
    Now, take note of your default gateway... that is equivalent to your router's IP adress...
    in the same window, type in (ping default gateway #) ping 192.168.1.1 . if it replies, then your router's interface should be able to open up
    launch internet explorer, then type in http://192.168.1.1
    "a helping hand in a community makes the world a universe"

  • Getting the network interface up in solaris 10

    Hi,
    I am a solaris newbie and am trying to get the network interface up on solaris 10. I have set the required details in
    /etc/hostname.if
    /etc/hosts
    /etc/inet/ipnodes
    /etc/inet/netmasks
    /etc/defaultrouter
    yet on the startup i get a message "failed to bring up IPv4 interfaces : interfacename"
    And when the server starts up after giving the command "ifconfig if up"
    the network interface comes up.
    I need to get the interface up on the startup itself.
    can anyone help me on this ?????
    Thanks in advance,

    ... and of course, you need compatible hardware.
    But you failed to tell anyone what Ethernet adapter you're trying to use.
    Is it on the HCL ? http://www.sun.com/bigadmin/hcl/
    If it requires third party driver software, did you install that as well ?
    You failed to tell anyone whether you're installing to Solaris x86 or to Solaris SPARC.
    ( For example, a PeeCee NIC will generally just not work in a SPARC system. )

  • Can't get the Home interface of a Session bean,please!

    when I run a client of a SessionBean,(use command "java ....";
    the Exception was thrown:
    java.lang.ClassCastException
    at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:293)
    at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)
    at clientTest.ClientTest.main(ClientTest.java:35)
    the mothed main() :
    java.util.Properties jndiProperties = new java.util.Properties();
    jndiProperties.put("java.naming.provider.url","iiop://localhost:3700");
    jndiProperties.put("java.naming.factory.initial","com.sun.jndi.cosnaming.CNCtxFactory");
    try {
    javax.naming.directory.DirContext jndiCtx = new javax.naming.directory.InitialDirContext(jndiProperties);
    Object obj = jndiCtx.lookup("ejb/Stock");
    System.out.println(obj);
    StockHome sh = (StockHome)PortableRemoteObject.narrow(obj, StockHome.class); //exception was thrown
    }catch (javax.naming.NamingException ne) {
    ne.printStackTrace();
    } catch (Exception e){
    e.printStackTrace();
    Must I run it in the jar file deployed to appServer?
    it's very inconvenient!
    Thanks!!

    Hello
    Inline there are the answers
    [email protected] (Grand Gana) wrote:
    Hi !
    I want to know how to get the local interface of a session ejb from a
    jsp page ???
    My session ejb is in a jar, and my jsp page is in a war. (they're not
    together in a ear)You cannot call your EJB by a local interface by this way.
    The war and the ejb-jar must be in the same ear.
    This is due to classloading architecture.
    I can have access to a remote interface of an other session ejb from
    a
    jsp page doing :
         InitialContext ctx = new InitialContext();
         Object objref = ctx.lookup("article.ArticleManagerHome");
         ArticleManagerHome home = (ArticleManagerHome)
    PortableRemoteObject.narrow(objref,
    ArticleManagerHome.class);
    But I can't have access to the local interface from the same jsp page
    doing :
         MyManagerLocalHome home = (MyManagerLocalHome)ctx.lookup
    ("article.MyManagerLocalHome");
    I get the following error :
    javax.naming.NameNotFoundException: Unable to
    resolve 'article.ArticleManagerLocalHome' Resolved: 'article'
    Unresolved:'ArticleManagerLocalHome' ; remaining
    name 'ArticleManagerLocalHome' This is another problem.
    Check the jndi name in the ejb-deployment descriptor or check the jndi on your
    server to verify that a local interface implementation has been bound to it.
    >
    What should I do ???
    (I don't want to put them in the same ear)
    An EJB reference in the web.xml of my war ??? How ?
    A lookup with java/comp/... ??? How ?
    I don't understand !!! It's so difficult to do simple things !
    Bloody EJBs !!!Noooooo ;)
    But I can agree with you on local interfaces ....
    The J2EE specs speak about "same virtual machine" ....
    But classloading architecture "speaks about" "same classloader" (same ejb-jar)
    or "related classloaders" (war and ejb in same ear).
    I think something is still missing ....
    >
    TIA
    JCMark

  • Just reinstalled CS6 Masters Collection and now I get the cloud interface and cannot open adobe premiere

    Just reinstalled CS6 Masters Collection, due to a PC infection that required reinstalling everything, I deactivated the previous install before formatting the hard drive for the fresh install of windows 7 and all the other programs. Now I get the cloud interface that opens every time I boot the PC and cannot find any of the programs that are apart of the CS6 Master collection. I can download some of them but the only one that stays on my PC is Photoshop and I cannot download or open adobe CS6 premiere Pro, Encore opens instead. What the heck?

    lrfrustrated wrote:
    I just downloaded Adobe XI onto my macbook air and now I cannot save or print any PDF files. Will not let me do Print-Save as PDF, and if i do Save as i get a message saying that the file is corrupted. I had NO PROBLEMS at all doing this many times until i downloaded the new version. I have uninstalled and reinstalled, to no avail. I am super frustrated.
    Print>Save as PDF - uses Preview (part of OS X), so Adobe Reader should have no effect on that at all.
    As to the "damaged file" error, simply uninstalling the Reader app won't affect it. Do the following:
    Mac HD/Library/Internet Plug-ins
    Trash the AdobePDFViewer.plugin and AdobePDFViewerNPAPI.plugin files
    Mac HD/Applications
    Trash the Adobe Reader app
    [user]/Library/Preferences
    Trash the com.adobe.Reader.plist file
    To access the [user]/Library, hold the "Option" key and click "Go" from the FInder menu.
    Mac HD/Library/Application Support/Adobe
    Trash the Reader folder (the whole folder)
    Empty the Trash.
    Download the FULL installer here: http://get.adobe.com/reader/enterprise/
    Quit your browser and reinstall Reader.
    Launch it from the Applications folder and accept the license agreement.
    You should have no problems downloading PDFs with Safari.
    Unfortunately, ANY PDF that says it's damaged.... is. You'll have to trash them.

  • Cannot export zoneset, getting the error ""interface not isolated""

    Customer is trying to run the command "zoneset export vsan <VSAN ID> and is getting the error "interface not isolated". Looking the manuals, it sounds that the interface should not really be isolated. The customer has a new mds 9124 and is trying to integrate it in the san that has another mds9513 and a brocade. The domain if of the new mds is 100. The mds9513 domain id is 99 and the brocade domain id is 98. The interop mode is 1 in all the switches. Does someone has any idea what is happening?

    onal instruments\lookout". Even though when I use windows explorer I can plainly see the file in that directory. I have tried re-installing the software and that does not seem to help. Is there a step that I am missing. I never had this problem with 4.0.1.Sukesh Puri
    well i think that u are creating the web page but the paths u are giving in web export options are arbitrary..like u are export it to the local directory in the hark disk and in the server url u are giving the arbitrary path but not accessing it till now...to correct this option see the code of the u'r generated html page and see from where it is retrieving code just change the url to the local folder instead of server url given of required ddl..

  • How do I get the Ceridian Interface for Canadian Payroll?

    Hi gurus,
    We are implementting Core HRMS in Multiple Business Group. This is my question How do I get the Ceridian Interface for UK, Italy and Canadian Payroll?
    with regards
    Surya

    Hi Robmtu,
    You can find the direct download here.

  • Getting Error while Interfacing the Data in OM

    Hi Gurus,
    i am getting following error while i am running the interface in order management for interface the data into standard tables
    the error is as follows
    "This Customer's PO Number is referenced by another order" . This error is for the header table
    "You are trying to insert an existing order or update an order that does not exist. Please enter a correct operation code. ;" . This error is for the Lines table
    can anyone help me out wat is the cause and solution for it.
    any inputs is highly appreciable.
    thanks

    Hi,
    Please refer to following metalink document :
    Sales Order Import Fails With Error Customer Po Number Referenced By Another Ord [ID 778895.1]
    Regards,
    Vikas

  • How to get active network interface name?

    Hi All,
    Can any one tell me how to get the currently active network interface name (Local Area Connection/ Wireless Network Connection/ other) either by using java SDK or win32 API.
    Is there any function to get the active network interface name in java/win32?
    Is there any procedure for it to get from observing registry keys.
    I found NetworkInterface class in java but not yet succesful in getting the display name of active network interface.
    Can anyone help me with partial code?
    Please help me.

    Use getLocalHost() then retreive the list of NetworkInterfaces and cycle through them until you find the one that has that address.

  • Get/set message interface name in adapter module

    Hello,
    From an adapter module, I'd like to get or even set the Message Interface name of the message that is handed over to the function "process" of the adapter module.
    I've got two context's, sessioncontext and modulecontext. With both contexts, you can get values from that context. I'm not sure which context has the message interface name of the message currently being processed, and I'm also not sure what that value is called (moduleContext.getContextData("name");).
    The reason for this is that sometimes you'd like to do something different depending on the type of message being processed.
    If anyone knows how to do this, I'd be glad to hear.
    Thanks in advance for any advice!
    Greetings, Walter.

    Hi Walter,
    It is fairly easy to get the interface name. When you have extracted the XIMessage there is a parameter, which allows you get the Action, where you can get the interface name.
    I have tried to change the interface name. You need to create a new message an copy the content from the old message over to this. This is a little tricky and I'm not able to get any code samples for you.
    /daniel

  • Getting Error in Interface

    Hi ,
    I have created a interfcace having some left joins in between tables.
    But when i execute this interface i am getting following error at step 3 LOAD data.
    java.lang.NumberFormatException
         at java.math.BigDecimal.<init>(BigDecimal.java:459)
         at java.math.BigDecimal.<init>(BigDecimal.java:728)
         at com.sunopsis.sql.SnpsQuery.updateExecStatement(SnpsQuery.java:2077)
         at com.sunopsis.sql.SnpsQuery.addBatch(SnpsQuery.java:122)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeUpdate(SnpSessTaskSql.java:3034)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders(SnpSessTaskSql.java:729)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2815)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:322)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:237)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:794)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:662)
    But when i execute the same codeon DB it works fine and insert rows without any problem.
    All source and target tables are of Oracle.
    I am bit of stuck over here. :(
    Please help me out. :)
    FYR giving code of step load data.
    select     
         MTP_LINEUP.SPEED     C1_S1,
         TABLE_PATTERN.PATTERN     C2_PATTERN,
         to_date(to_char(MTP_CONVERSION.YEAR),'RR')      C3_CREATED,
         MTP_LINEUP.LOAD_SINGLE     C4_LS1,
         MTP_LINEUP.LOAD_DUAL     C5_LD1,
         MTP_CONVERSION.LINEUP_IND     C6_LUP,
         MTP_CONVERSION.BPC     C7_BSJCODE,
         TABLE_SIZE.RIM     C8_RIM,
         TABLE_SIZE.WIDTH     C9_WIDTH,
         TABLE_SIZE.SERIES     C10_SERIE,
         DECODE(TABLE_CUSTOMER.OE,'true','OE','TR')     C11_USE,
         TABLE_BCAT.BRAND     C12_BRAND,
         DAI.MUNO     C13_MUNO,
         NVL(DAI.RRW,0.0)     C14_RRW,
         DAI.ABC     C15_ABC,
         Case
         When TABLE_SIZE.SERIES IS NULL Then to_char(TABLE_SIZE.WIDTH)
         Else to_char(TABLE_SIZE.WIDTH)||'/'||to_char(TABLE_SIZE.SERIES)
    End      C16_PLT,
         Case
    When length(to_char(nvl2(MTP_CONVERSION.IPC,MTP_CONVERSION.IPC,MTP_CONVERSION.MTP))) <5 then to_char('0'||to_char(nvl2(MTP_CONVERSION.IPC,MTP_CONVERSION.IPC, MTP_CONVERSION.MTP)))
    Else to_char(nvl2(MTP_CONVERSION.IPC,MTP_CONVERSION.IPC, MTP_CONVERSION.MTP))
    End      C17_MASTERPRODUCTID,
         MTP_CONVERSION.PRODUCT_DESCRIPTION     C18_DESCRIPTION,
         TABLE_BCAT_SALES.BUDG_CAT_SALES     C19_PRODUCTGROUPID,
         MTP_CONVERSION.MTP     C20_MTPCODE,
         TABLE_SIZE.SIZE_DESIGNATION     C21_TYRESIZE,
         GLOBAL_CATEGORY.GLOBAL_CATEGORY     C22_GLOBALCATEGORY,
         TABLE_BCAT_SALES.BUDG_CAT_SALES     C23_NEWBCAT,
         MTP_CONVERSION.IPC     C24_IPCCODE,
         Case
    When length(to_char(nvl2(MTP_CONVERSION.IPC,MTP_CONVERSION.IPC,MTP_CONVERSION.MTP))) <5 then to_char('0'||to_char(nvl2(MTP_CONVERSION.IPC,MTP_CONVERSION.IPC, MTP_CONVERSION.MTP)))
    Else to_char(nvl2(MTP_CONVERSION.IPC,MTP_CONVERSION.IPC, MTP_CONVERSION.MTP))
    End
         C25_PRODUCTCODE,
         TABLE_BCAT_SALES.BUDG_GROUP_SALES      C26_BUDGETGROUP,
         MTP_CONVERSION.PRODUCT_DESCRIPTION     C27_DESCRIPTIONLNG,
         DECODE(TABLE_PATTERN.WINTER,'No','Summer','Winter')      C28_SEASON,
         TABLE_LOAD_CAT.PR     C29_PLYRATE,
         TABLE_INFL_TYPE.INFL_TYPE_ABR     C30_INFLATIONTYPE,
         TABLE_CUSTOMER.CUSTOMER     C31_CUSTOMER,
         VEHICLE.VEHICLE     C32_VEHICLE,
         to_date(nvl(DAI.MPDATE,'20000101'),'YYYYMMDD')      C33_EARLIESTMPDATE,
         WARRANTY.MTP_WARR     C34_OEWAR,
         to_date(DAI.LAUNCHDATE,'YYYYMMDD')      C35_LAUNCHDATE,
         NVL(DAI.GROSSWEIGHT,0.0)     C36_WEIGHTGROSS,
         NVL(DAI.VOLUME,0)     C37_VOLUME,
         LINEUP.OPERATIONAL_MFO     C38_MFO,
         LINEUP.OPERATIONAL_LSCM_SOURCE     C39_LSCMSOURCE,
         LINEUP.OPERATIONAL_POLE     C40_POLE,
         LINEUP.OPERATIONAL_SOURCING     C41_SOURCING
    from     OMPODI.LINEUP LINEUP, OMPODI.MTP_LINEUP MTP_LINEUP, OMPODI.GLOBAL_CATEGORY GLOBAL_CATEGORY, OMPODI.TABLE_PATTERN TABLE_PATTERN, OMPODI.TABLE_BCAT_SALES TABLE_BCAT_SALES, OMPODI.TABLE_CUSTOMER TABLE_CUSTOMER, OMPODI.TABLE_SIZE TABLE_SIZE, OMPODI.DAILYMATMAS DAI, OMPODI.TABLE_BCAT TABLE_BCAT, OMPODI.TABLE_INFL_TYPE TABLE_INFL_TYPE, OMPODI.TABLE_LOAD_CAT TABLE_LOAD_CAT, OMPODI.WARRANTY WARRANTY, OMPODI.VEHICLE VEHICLE, OMPODI.MTP_CONVERSION MTP_CONVERSION
    where     (1=1)
    And (TABLE_BCAT_SALES.BUDG_GROUP_SALES in ('PSR','CVR','4x4'))
    And (MTP_CONVERSION.MTP=GLOBAL_CATEGORY.MTP (+))
    AND (MTP_CONVERSION.MTP=MTP_LINEUP.MTP (+))
    AND (MTP_CONVERSION.MTP=VEHICLE.MTP (+))
    AND (MTP_CONVERSION.MTP=LINEUP.MTP (+))
    AND (MTP_CONVERSION.MTP=WARRANTY.MTP (+))
    AND (MTP_CONVERSION.IPC=DAI.MATERIALNUMBER (+))
    AND (MTP_LINEUP.CUSTOMER_CODE=TABLE_CUSTOMER.CUSTOMER_CODE (+))
    AND (MTP_LINEUP.LOAD_CAT_CODE=TABLE_LOAD_CAT.LOAD_CAT_CODE (+))
    AND (MTP_LINEUP.INFL_TYPE_CODE=TABLE_INFL_TYPE.INFL_TYPE_CODE (+))
    AND (MTP_LINEUP.SIZE_CODE=TABLE_SIZE.SIZE_CODE (+))
    AND (MTP_LINEUP.BCAT_CODE=TABLE_BCAT.BCAT_CODE (+))
    AND (MTP_LINEUP.PATTERN_CODE=TABLE_PATTERN.PATTERN_CODE (+))
    AND (MTP_LINEUP.BCATS_CODE=TABLE_BCAT_SALES.BCATS_CODE)
    and
    targte is as
    insert into OMPODI.C$_0NEWBSMASTERTYRE
         C1_S1,
         C2_PATTERN,
         C3_CREATED,
         C4_LS1,
         C5_LD1,
         C6_LUP,
         C7_BSJCODE,
         C8_RIM,
         C9_WIDTH,
         C10_SERIE,
         C11_USE,
         C12_BRAND,
         C13_MUNO,
         C14_RRW,
         C15_ABC,
         C16_PLT,
         C17_MASTERPRODUCTID,
         C18_DESCRIPTION,
         C19_PRODUCTGROUPID,
         C20_MTPCODE,
         C21_TYRESIZE,
         C22_GLOBALCATEGORY,
         C23_NEWBCAT,
         C24_IPCCODE,
         C25_PRODUCTCODE,
         C26_BUDGETGROUP,
         C27_DESCRIPTIONLNG,
         C28_SEASON,
         C29_PLYRATE,
         C30_INFLATIONTYPE,
         C31_CUSTOMER,
         C32_VEHICLE,
         C33_EARLIESTMPDATE,
         C34_OEWAR,
         C35_LAUNCHDATE,
         C36_WEIGHTGROSS,
         C37_VOLUME,
         C38_MFO,
         C39_LSCMSOURCE,
         C40_POLE,
         C41_SOURCING
    values
         :C1_S1,
         :C2_PATTERN,
         :C3_CREATED,
         :C4_LS1,
         :C5_LD1,
         :C6_LUP,
         :C7_BSJCODE,
         :C8_RIM,
         :C9_WIDTH,
         :C10_SERIE,
         :C11_USE,
         :C12_BRAND,
         :C13_MUNO,
         :C14_RRW,
         :C15_ABC,
         :C16_PLT,
         :C17_MASTERPRODUCTID,
         :C18_DESCRIPTION,
         :C19_PRODUCTGROUPID,
         :C20_MTPCODE,
         :C21_TYRESIZE,
         :C22_GLOBALCATEGORY,
         :C23_NEWBCAT,
         :C24_IPCCODE,
         :C25_PRODUCTCODE,
         :C26_BUDGETGROUP,
         :C27_DESCRIPTIONLNG,
         :C28_SEASON,
         :C29_PLYRATE,
         :C30_INFLATIONTYPE,
         :C31_CUSTOMER,
         :C32_VEHICLE,
         :C33_EARLIESTMPDATE,
         :C34_OEWAR,
         :C35_LAUNCHDATE,
         :C36_WEIGHTGROSS,
         :C37_VOLUME,
         :C38_MFO,
         :C39_LSCMSOURCE,
         :C40_POLE,
         :C41_SOURCING
    )

    Hi Mahesh,
    It is really tough to debug even if you provide code here since you have data and metadata. I would suggest to run the query you provided in DB and see which column is thowing this error. I do not think this is an issue with ODI.
    Regards,
    K

  • Can I get Bi lingual interface having 2 languages on my iPhone

    I use language preferences I wonder if I can get 2 languages side by side on the user interface
    I have a serious question for my research. If you had Arabic and another language side by side on computer user interface
    Edit menu example:
            Eng الإنجليزية Arabic العربية  Japanese اليابانية
           copy                نسخة       コビー
           paste               لصق    ベースト
           Delete             حذف      ディリート
    Would it be useful to learn a language at the same time learning Computer and Computer terms in another
    language.

    sheffi wrote:
    I use language preferences I wonder if I can get 2 languages side by side on the user interface
    No, not unless you create and install your  own localization files.  The iPad seems a bit small for such a feature to me.
    The place to ask Apple for it is
    http://www.apple.com/feedback/ipad.html
    I really doubt it serves any purpose for you to keep repeating this stuff you have already been asking since last June elsewhere:
    https://discussions.apple.com/thread/3093796

  • Problems getting ODBC SQL Interface to work for Essbase 11.1.1.3

    Hi folks.
    We're running Essbase 11.1.1.3 on Linux (32 bit) and I want to use the ODBC SQL Interface to load fact data.
    We have run the SQL Interface install .sh script successfully, then restarted the Essbase agent, and have modified the ODBC.ini file to use the Oracle Wire Protocol driver.
    I enter the SQL query in the rule Data Prep Editor in EAS (File | Open SQL) and when I hit "OK/Retrieve" I get the error "Failed to Establish Connection with SQL Database Server."
    The application log file says:
    ODBC Layer Error: [S1000] ==> [[DataDirect][ODBC Oracle Wire Protocol driver]TNS-12154: TNS:could not resolve the connect identifier specified]
    [Wed Oct  6 15:31:26 2010]Local/appx/Plan1/username/Info(1021014)
    ODBC Layer Error: Native Error code [0]
    [Wed Oct  6 15:31:26 2010]Local/appx/Plan1/username/Error(1021001)
    Failed to Establish Connection With SQL Database Server. See log for more information
    [Wed Oct  6 15:31:26 2010]Local/EXECDEV/Plan1/username/Warning(1080014)
    Transaction [ 0x6b0001( 0x4cacce8e.0xe4d2f ) ] aborted due to status [6].
    Any suggestions?
    Edited by: user12087276 on Oct 6, 2010 3:39 PM

    Have you followed the info here :- How to define a relational data source in (odbc.ini) V11 Essbase?
    You don't need to run Inst-SQL.sh
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Problem getting subsonic web interface to work

    I posted this in the subsonic forums and have not received any reply.
    I had Subsonic running nicely on Debian, but I have now switched my server OS to Arch. I installed the package in the AUR (https://aur.archlinux.org/packages.php?ID=35954), which is based on the standalone version of subsonic, but I have not been able to connect to the web interface once the server is started.
    The variables in subsonic.sh look like this:
    SUBSONIC_HOME=/var/subsonic
    SUBSONIC_HOST=127.0.0.1
    SUBSONIC_PORT=4040
    SUBSONIC_HTTPS_PORT=4041
    SUBSONIC_CONTEXT_PATH=/
    SUBSONIC_MAX_MEMORY=100
    SUBSONIC_PIDFILE=/var/subsonic/subsonic.pid
    SUBSONIC_DEFAULT_MUSIC_FOLDER=/var/subsonic/music
    SUBSONIC_DEFAULT_PODCAST_FOLDER=/var/subsonic/podcasts
    SUBSONIC_DEFAULT_PLAYLIST_FOLDER=/var/subsonic/playlists
    I have what I believe are suitable permissions on all of the needed folders:
    drwxr-xr-x 2 root root 4096 Jul 16 11:49 db
    -rw-r--r-- 1 root root 3003 Jul 15 19:49 Getting Started.html
    drwxr-xr-x 3 root root 4096 Jul 15 20:43 jetty
    -rw-r--r-- 1 root root 35819 Jul 15 19:49 LICENSE.TXT
    drwxr-xr-x 2 root root 4096 Jul 15 21:19 music
    drwxr-xr-x 2 root root 4096 Jul 16 11:38 playlists
    drwxr-xr-x 2 root root 4096 Jul 16 11:38 podcasts
    -rw-r--r-- 1 root root 540 Jul 15 19:49 README.TXT
    -rw-r--r-- 1 root root 846961 Jul 15 20:45 subsonic13.index
    -rw-r--r-- 1 root root 10805794 Jul 15 19:49 subsonic-booter-jar-with-dependencies.jar
    -rw-r--r-- 1 root root 688 Jul 16 11:54 subsonic.log
    -rw-r--r-- 1 root root 5 Jul 16 11:48 subsonic.pid
    -rw-r--r-- 1 root root 98 Jul 16 11:49 subsonic.properties
    -rwxr-xr-x 1 root root 5067 Jul 16 11:40 subsonic.sh
    -rw-r--r-- 1 root root 9403 Jul 16 11:49 subsonic_sh.log
    -rw-r--r-- 1 root root 18871786 Jul 15 19:49 subsonic.war
    drwxr-xr-x 2 root root 4096 Jul 15 20:44 transcode
    When I run the subsonic.sh script, I get this:
    Started Subsonic [PID 3231, /var/subsonic/subsonic_sh.log]
    'ps aux' confirms it is running:
    root 3231 22.4 2.6 237256 54236 pts/4 Sl 11:48 0:15 java -Xmx100m -Dsubsonic.home=/var/subsonic -Dsubsonic.host=127.0.0.1 -Dsubsonic.port=4040 -Dsubsonic.httpsPort=4041 -Dsubsonic.contextPath=/ -Dsubsonic.defaultMusicFolder=/var/subsonic/music -Dsubsonic.defaultPodcastFolder=/var/subsonic/podcasts -Dsubsonic.defaultPlaylistFolder=/var/subsonic/playlists -Djava.awt.headless=true -jar subsonic-booter-jar-with-dependencies.jar
    But 'lsof -i' shows no ports are actually open for subsonic and when I try to go to the server on port 4040 in a browser, it won't load the page. I can't access the web interface either on the server itself or on my laptop. I have also tried the secure port with no joy.
    I have added 'java: ALL' and 'subsonic: ALL' lines to hosts.allow. Not sure whether or not this is necessary.
    /var/subsonic_sh.log: http://pastie.org/2237984
    /var/subsonic.log:
    [2011-07-17 17:12:17,504] INFO DaoHelper - Checking database schema.
    [2011-07-17 17:12:19,213] INFO DaoHelper - Done checking database schema.
    [2011-07-17 17:12:20,222] INFO SearchService - Automatic index creation scheduled to run every 1 day(s), starting at Mon Jul 18 03:00:00 PDT 2011
    [2011-07-17 17:12:20,712] INFO PodcastService - Automatic Podcast update scheduled to run every 24 hour(s), starting at Sun Jul 17 17:17:20 PDT 2011
    [2011-07-17 17:12:24,164] INFO NetworkService - Deleted port mapping for port 80
    [2011-07-17 17:17:20,706] INFO PodcastService - Starting scheduled Podcast refresh.
    [2011-07-17 17:17:20,709] INFO PodcastService - Completed scheduled Podcast refresh.
    I don't see anything that looks like an error message in this.

    What would help people to be able to suggestion useful solutions? Am I missing information?

  • WRT54G v.1.1 can't get on my interface "192.168.1.1"

    Hello, I'm having problems getting into my user interface, and I can't get on any website with my router connected, I try using 192.168.1.1 on internet i.e. and firebox. I also got my default IP  through, ipconfig/ all and that did not work, I also try to renewed my IP with ipconfig/renew, no go. All my connections are the way they should be, I even try connecting my router by itself to my PC change the IP address and nothing. Can't someone please help, my router was working when I first plug it but I forgot my wep security and press the reset button on the back and that's when everything started to fail..............

    As you want to Upgrade your router's firmware you can try the TFTP Utility...
    Download TFTP Utility 36.0 KB...
    Download Firmware 2.95 MB...
    Double click the TFTP.exe file and click run :
    For Server- Enter the IP Address of the router that you assigned.  By default, the router is 192.168.1.1...
    For Password- Enter the password you assigned the router. By default, the router’s password is “admin”.
    For File- Click the triple “…” button and browse for the .bin firmware file...
    Click Upgrade button to start upgrading.  A progress bar should show up to show the progress.
    Once the Upgrade is done press and hold the reset button for 30 seconds...Release the reset button...Unplug the power cable from your router, wait for 30 seconds and re-connect the power cable...Now re-configure your router...

Maybe you are looking for