Gethostbyaddr failing for private IP addresses

We are having problems with reverse DNS resolution for our private IP addresses. We first noticed this when our syslog-ng was not displaying name in the log entries, but rather IP addresses.
Nslookup and dig reversed resolved the addresses fine, so we don�t think the issue is in DNS.
We further narrowed down the source of the problem when we wrote a small C program that called gethostbyaddr for the private address. This program also failed to reverse resolve the addresses.
We decided to snoop the traffic to our DNS server. What we saw was that no packets were being sent. In other words our Solaris server didn�t even try to query DNS for the reverse resolution.
Is there a flag or setting somewhere in Solaris that we can adjust to have reverse resolution for private IP addresses sent to our DNS servers?
Thanks�
Mike

Make sure the addresses aren't already present in /etc/hosts or /etc/inet/ipnodes. Otherwise it probably won't attempt to use DNS.
Darren

Similar Messages

  • Segment Builder: Attribute "E-mail address maintained" for private accounts

    Hello,
    in CRM Marketing you have the possibility to segment on the attribute "E-mail address maintained". This attribute is part of the standard infoset CRM_MKTTG_BP_ADDR. This attribute checks if field FLAGCOMM6 in table ADRC is flagged. This field is marked when an e-mail adress is maintained for corporate accounts. Anyway, this flag ist not set, if the e-mail address for private accounts is maintained.
    Why is this flag only set for corprate accounts and what do I have to do if I also want to have an attribute in segmentation to check if an e-mail address is maintained for a private account.
    Thanks for your help.
    Regards
    Miriam

    Hello Miriam,
    if you want to check the email address (private acccount), you can't use the standard infoset CRM_MKTTG_BP_ADDR, because this infoset include the tables but000, but020 and adrc.
    You need the table but051 there is a attribute SMTP_ADDRESS. After you created a infoset with this table you can create a filter with this attribute SMTP_ADDRESS, which check if the field is empty.
    Best regards, Jasmin

  • Failed to get IP address for Local Host (2) , OPMNCTL: opmn start failed

    HI,
    Hi, I have installed on Oracle 10g on Redhat Enterprise Linux V.2.1 . I was able to start OEM without any issues. Recently I had changed the static IP address and I couldn't able to start OPMNCTL and getting the following error while starting opmnctl start. error message is as follows.
    Failed to get IP address for local host(2).....
    Failed to get IP address for local host(2).....
    Failed to get IP address for local host(2).....
    my current configuration in /etc/hosts file is as follows.
    127.0.0.1 localhost.localdomain servername
    After going through some of threads available in Oracle, I have added the static IP address in the /etc/hosts but still I am getting the same error.
    my new hosts file is as follows.
    127.0.0.1 localhost.localdomain servername
    10.21.253.102 localhost.localdomain servername
    I don't know why this is looking for localhost (2). I did not set up any local host (2) and I could not see anything in my network confiuration also.
    could you please help me in this issue? I appreciate your help in this regard.
    Thanks
    venkat

    Hi, i think that the application server part is looking for a /etc/hosts entry
    in this format:
    127.0.0.1 localhost
    As i noticed, this is used for internal communication.
    Try this entry as is, without a domain...

  • Bypass proxy for FQDN with private ip addresses

    We have Windows 7 with IE 11
    We need this IE behavior:
    "to all FQDN names that resolves to local (private) ip addresses - do not use proxy."
    how can we implement this?
    ("Bypass Proxy Server for Local Addresses" Option don't work as needed)

    Hi,
    Please take a check to see if the following KB article could help here:
    Internet Explorer Uses Proxy Server for Local IP Address Even if the "Bypass Proxy Server for Local Addresses" Option Is Turned On
    The cause: By default, only host names are checked when the Bypass proxy server for local addresses option is turned on.
    The resolution here is :
    To bypass a range of IP addresses or a specific domain   name, specify the addresses in the proxy exception list:   
    In Internet Explorer, on the Tools menu, click Internet Options.
    On the Connections tab, click LAN Settings.
    Click Advanced, and type the appropriate information in the
    Exceptions area.
    Hope this may help
    Best regards
    Michael Shao
    TechNet Community Support

  • LOG Q0I= NiIBindSocket: bind (98: Address already in use) [nixxi.cpp 3740] [Thr 140207008876384] *** ERROR = NiIBindSocket: SiBind failed for hdl 17/sock 7

    Dear All ,
    I am installing SAP Netveiwer 7.2 with oracle 11 g database in suse linux 11  but i am getting one error in Start instance phase , my message server is not getting connected , when i am trying to start manually  then my instance is connected but in this phase sap check message server is up or not , here i am attaching log of message server where i am getting error  , if any buddy knw Plz help me ....
    log file -
    trc file: "dev_ms.new", trc level: 1, release: "720"
    [Thr 140207008876384] Tue Jun 10 01:34:56 2014
    [Thr 140207008876384] ms/http_max_clients = 500 -> 500
    [Thr 140207008876384] MsSSetTrcLog: trc logging active, max size = 52428800 bytes
    systemid   390 (AMD/Intel x86_64 with Linux)
    relno      7200
    patchlevel 0
    patchno    413
    intno      20020600
    make       multithreaded, Unicode, 64 bit, optimized
    pid        7294
    [Thr 140207008876384] ***LOG Q01=> MsSInit, MSStart (Msg Server 1 7294) [msxxserv_mt. 2280]
    [Thr 140207008876384] SigISetDefaultAction : default handling for signal SIGCHLD
    [Thr 140207008876384] ***LOG Q0I=> NiIBindSocket: bind (98: Address already in use) [nixxi.cpp 3740]
    [Thr 140207008876384] *** ERROR => NiIBindSocket: SiBind failed for hdl 17/sock 7
        (SI_EPORT_INUSE/98; I4; ST; 0.0.0.0:3601) [nixxi.cpp    3740]
    [Thr 140207008876384] *** ERROR => MsSCommInit: NiBufListen(sapmsINI) (rc=NIESERV_USED) [msxxserv_mt. 12225]
    [Thr 140207008876384] *** ERROR => MsSInit: MsSCommInit [msxxserv_mt. 2324]
    [Thr 140207008876384] *** ERROR => MsSInit failed, see dev_ms.new for details
    [msxxserv_mt. 7572]
    [Thr 140207008876384] ***LOG Q02=> MsSHalt, MSStop (Msg Server 7294) [msxxserv_mt. 7631]

    Hello Shyam,
    I don't see how updating the kernel would help in this case.
    If the port was already in use, any kernel version would give the same error.
    Hello Arpit,
    Since this is a Linux server, you can also run "lsof -nP|grep 3601" (may need to be logged on as "root"). This should give you more details than "netstat" (e.g., it will give you the PID of the process that's already using the port).
    The solution has already being pointed on this thread. You need to find out which process is using the port, and stop this other process.
    Cheers,
    Isaías

  • Failed to get proc address for GetLogicalProcessor...

    hi everyone whenever i try to open the skype after instalation it show me this error"Failed to get proc address for GetLogicalProcessorInformation (KERNEL32.dll."please help me to solve this problem.i will be very thankfull to you for this favour.thank you.

    Hi, i think that the application server part is looking for a /etc/hosts entry
    in this format:
    127.0.0.1 localhost
    As i noticed, this is used for internal communication.
    Try this entry as is, without a domain...

  • Error:wwnn address assignment failed for a vhba

    Hello,
    We are trying to create a service profile but get this message for the vhba:
    wwnn address assignment failed for a vhba
    Currently the Storage is not connect yet to the 6200.
    Can someone please help ?
    Regards,

    Full error is:
    wwnn address assignment failed for a VHBA, possibilty illegal WWNN address or no available WWN in the pool
    Yes this is happning when I try to assign from the WWNN pool.

  • "failed to get MAC address for machine"

    here is the jist of things.
    installed leopard and have it pimped out to my personal specs. I like where everything is and how things are working. No issues. just so you know, i only use WIFI for internet, i share with the guys upstairs. In order to get wifi on my machine, i use a USB dongle. works great no issues with it ever, well until i physically broke it. No big deal. So i replaced it with another one, different drivers/chipset worked.. And since i installed leopard i only backed it up once with TM, i dont care for daily/hrly backups, weekly is fine for me. Now after 2 weeks and a new usb network card. TM gives me an error. i click on the little red i and it says "the backup volume could not be found" so googled and searched the forums not much help, so i tried and formated my ext drive repaired and click on TM again, same error. In the error log in console, right after i turn on TM i get this error, "failed to get MAC address for machine" then 180 secs later, TM fails. again, and again.
    Can anyone tell me where i can find what MAC address its looking for??? ethernet has never been plugged in to my machine ever. its only been online via USB wifi. Im really lost here, i dont know what i can do.. im sure if i try another drive ill get the same error. please help if you can.. much appriciated.
    Jamie

    yeah i get a 'failed to get mac address' message too. what's weird is that it seems that leopard 'broke' my ethernet (there was no mac address, couldn't connect to the internet through ethernet after a clean install), and then 10.5.2 'fixed' it. for some reason, i have an 'ethernet 2' heading in system preferences that works correctly and has a mac address and everything, while the regular 'ethernet' tab doesn't work at all. however, i still get this time machine error. i don't understand why time machine is so incredibly fickle. sorry, i'm really of no help to anyone, other than adding another voice to the frustration.

  • Email notification works for one email address fails for another

    Hi,
    I have OEM 10.2.0.3 - one email address works fine, but another fails with message
    [email protected]: Test failed with message: "E-mail Address is invalid: Sending failed; nested exception is: javax.mail.SendFailedException: Invalid Addresses; nested exception is: javax.mail.SendFailedException: 550 5.7.1 Unable to relay"
    Now the weired thing is, that using the same SMTP gateway, I can send emails ok to this address via outlook etc.
    Anyone any ideas ? The xxxxxxxxxx in the address is actually a mobile number, but, as I say, it IS valid.
    Cheers

    Thanks for the reply, however, this is what I dont understand.
    The SMTP server is the same one I use for our email, ie, it is our exchange server, and from outlook, I am able to send email
    to the same address that is failing with EM. I'm not aware I need any authentication, or how it would need authentication only
    for external accounts ?
    you are correct howver, that it is an external account, and the same test fails for any external account. I'm just not sure how to fix this ?
    A manual session connecting to the SMTP server is as follows
    telnet smtp_server_name.com.au 25
    Trying 192.168.6.2...
    Connected to smtp_server_name.com.au (192.168.6.2).
    Escape character is '^]'.
    220 smtp_server_name.com.au Microsoft ESMTP MAIL Service ready at Fri, 5 Sep 2008 15:38:00 +1000
    helo
    250 smtp_server_name.com.au Hello [192.168.6.15]
    mail from: [email protected]
    250 2.1.0 Sender OK
    rcpt to: [email protected]
    550 5.7.1 Unable to relay
    quit
    221 2.0.0 Service closing transmission channel
    Connection closed by foreign host.
    $

  • Printer: can't create PDFDocumentRef for `/private/var/spool/cups/tmp/'

    Just moved from Tiger to leopard 10.5.2
    Using an Hp deskjet 3650 which worked last week in Tiger. Now, no matter what I try to print, I get errors like the following:
    can't create PDFDocumentRef for `/private/var/spool/cups/tmp/480cbc6235144'
    To the best of my knowledge, I installed every possible printer driver from the DVD

    OhhhhKayyy ... I went to http://tinyurl.com/3r8d85
    a ww1.hp.com address ...
    installed /OSXHPInkjetInstaller.dmg
    tried same print and get same failure:
    first I get this:
    /usr/libexec/cups/filter/pstopdffilter failed
    then the topic error named

  • Airports fail to serve DHCP addresses

    I am having trouble reconfiguring an existing network with 2 Airport devices -- switching to having the Airports serve addresses via DHCP is failing, and would appreciate help determining what I'm doing wrong here.
    Details:
    I have a network with a 16-IP public address space x.x.x.208-223.  My DSL router/firewall is at x.209, and I have various devices with manually assigned statics IPs in the x.210-x.218 range.  The router is configured to serve up the last 4 IP addresses x.219-x.222 via DHCP.  Within the static IP range, I have a Time Capsule at x.210 and an Airport Express at x.214, located at far ends of the house, and running differently named wireless networks.  They have so far been configured with [Connection sharing: Off (Bridge Mode)]  Under Internet > Internet Connection and appropriate manual settings under Internet > TCP/IP.
    All has worked fine with this configuration to-date.  Our few devices without a static IP were assigned DHCP addresses from the 219-222 range, whether connected via our hard-wired ethernet network, or over either wireless network -- the addresses picked up from the router at 209.
    While the 4 addresses available by DHCP were previously sufficient, with the proliferation of mobile devices in my family, it's not enough anymore, and I am trying to reconfigure the Airports to serve up private network blocks 10.0.x.x and 10.0.y.y via DHCP [Connection sharing: Share a public IP address].  This is not working.  When I reconfigure either Airport in this manner, network devices connecting via wireless no longer can connect to the internet.  Connection to the wireless network itself is fine, but the device is unable to get a DHCP address from the Airport.  Instead, after a short delay it gets a self-assigned address in the 169.254.x.x range.  This happens with either Airport base station, and both with my iPhone 4 as well as my MacBook Pro.
    Thinking that having the router serve DHCP within the public space might be interfering with the Airport DHCP in its own private block, I tried disabling DHCP at the router.  Even so, I cannot get the Airports to start serving IP addresses to their wireless clients.
    Any suggestions ?

    Hi Linc,
    I appreciate the discussion.  Let me reply in-line
    Linc Davis wrote:
    I'm having a lot of trouble understanding your questions. Rather than trying to figure it out, let me tell you how it should work.
    You have a DSL modem that is also a router. It gets an address for its WAN interface from your ISP's DHCP server, or it has a static address -- doesn't matter which.
    My router has a static WAN IP address, which is in my ISP's subnet.  The LAN is my own public subnet 209.128.72.208/28, and the router's LAN IP address is 209.128.72.209.
    It had better not be serving DHCP on the WAN, or you may get kicked off by your ISP. I'd be surprised if you were even able to configure it that way.
    No, it's not serving DHCP on the WAN.  It is serving DHCP only on the LAN, in the 209.128.72.219-222 range.
    The router's LAN interface has a fixed private IP address that you configure. It serves DHCP to other devices on the LAN.
    Yes, that is how it is.
    The AE can get an address from the router for its Ethernet port from the router, or it can have a fixed address, whichever you want.
    Yes, it is configured with its own static, manually configured address, which is 209.128.72.214, outside of the DHCP range served by the router.
    Set it to operate in bridge mode, which means that the wireless network will be like an extension of the wired network, with the same address pool. Wireless devices will get their addresses from the router.
    Yes.  To-date I have operated it in bridge mode, exactly that way.  And it's worked great up until now.  Devices with manually assigned IP addresses in the 209.128.72.210-218 range have worked fine either when connected by ethernet or wireless, and those without (iPhones, etc) have picked up DHCP addresses from the router just fine.
    The AE does not need to be a DHCP server.
    Unless your needs are very unusual, that setup will work for you.
    And so it has worked that way for a while.  However, my needs have changed recently.  The range of available IPs for DHCP from the router is limited to 4 devices (209.128.72.219-222).  That worked fine when we had only 4 devices (iPhone, iPad, Roku, and Blackberry).  Now, the kids have wireless devices (iPod touch and an old iPhone).  The available range is not sufficient for 6 devices.  So, rather than serve wireless devices with addresses from the limited remaining IPs in the public subnet, I want to have the AE serve DHCP in a private network 10.1.x.0/24 , which obviously has alot more room. 
    I'm willing to try turning off DHCP on the router completely.  That doesn't seem to help -- I've tried it twice.

  • Best Buy 100% Price Match Guarantee FAIL for Elite Plus member!!!

    So during the Black Friday weekend I purchased a Dyson vacuum at a store.  I understand that Best Buy does not match pricing DURING Black Friday weekend.  So on 12/15 Amazon had the vacuum on sale for $26 less than what I paid.  Again, this is not Black Friday weekend but the item was purchased over Black Friday weekend.  So I called in for Best Buy to match the price.  I spoke with someone who seemed like temp help.  It did not sound like she was in a call center and she didn't know much and seemed to be IM'n with someone to get answers.  After initially telling me they would not match the price because the item was purchased during Black Friday I explained that it was no longer Black Friday and Best Buy policy does not obsolve them from matching prices for the next 5-6 weeks (the return date is 1/15/2015) from all items purchased over Black Friday weekend.  If so, no one would buy during Black Friday.  She said she would submit the price match and I would get an email letting me know if it has been approved.  I was patient and waited 2 weeks and nothing.  I called back and was told that the price match department was swamped and to please be patient.  So I waited till today to call back for the return date is in 2 days and still no price match email.  I am now being told that Best Buy only matches their own pricing if not at the time of sale AND they only match the price that same day when they can confirm the price. (which makes sense)  I'm also being told my price match was never sent to the correct department so it has been sitting in case # purgatory for the past month.  Why is any of this my fault?!  I spend over $3500 per year, year after year and I'm supposed to get 'Elite' service.  I know more than the people I'm speaking with on the phone!  I called in with a legit lower price, waited patiently for Best Buy to match, have now spoken with 3 different reps, been told something different each time about the price match policy (every time they were wrong) and now I'm being told because it wasn't matched when they could confirm the price they won't match the price?!  What am I missing?!
    Total Price Match FAIL for Elite Plus member!!!  I can only image how people that aren't Elite are treated! :-)

    Dear iamkraz,
    Thank you for bringing us your business this holiday and for your continued loyalty to us as a My Best Buy Elite Plus customer. I am sorry if your recent experience has left you disappointed after the service you received. I would be happy to help clarify this for you.
    Per our Price Match Guarantee, “At the time of sale, we price match all local retail competitors (including their online prices) and we price match products shipped from and sold by these major online retailers: Amazon.com, Bhphotovideo.com, Crutchfield.com, Dell.com, HP.com, Newegg.com, and TigerDirect.com.” The only price match we would perform after the initial time of sale would be to a lower price in store or on BestBuy.com during your respective Return & Exchange period. You should have been provided with this as the reason for not receiving the price match when you were speaking with our support teams.
    My apologies for any confusion this caused. I would like to get some more details from you about the conversations you had so I may properly document this here at the corporate level for coaching and training. Please check your private messages by clicking on the envelope in the upper right-hand corner while you are logged into the forums.
    Regards,
    JD|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Portmap translation creation failed for udp src inside dst inside

    Hi!
    I have a problem with allowing traffic to UC500 subnets on ASA 5505 inside interface.
    My asa is a main router with addres 192.168.1.1
    UC500 voip box is connected to ASA's inside interface through UC500 WAN port with UC500 with 192.168.1.2 address.
    Firewall and NAT on UC500 is disable
    UC500 sip traffic works fine. voipbox creates its subnets for data and voip - 192.168.10.0 and 10.1.1.0. another important address is 10.1.10.1 which is UC500 CUE.
    My problem is that from within ASA local network (192.168.1.0) i cannot reach UC500 subnets, neither can I reach ASA's local network from the UC subnets.
    the log says
    3
    Sep 07 2013
    00:21:49
    DC
    53
    PBXCUE
    32901
    portmap translation creation failed for udp src inside:DC/53 dst inside:PBXCUE/32901
    I tried exempting uc500 subnets on ASA but that didn;t work.
    Funny thing is that I CAN reach the UC500 subnets when connecting with VPN to ASA...
    Please help! I am not familiar with CLI.
    I configured static route to 10.1.10.0 and since then I was able to ping 10.1.10.1 thorugh ASA;s VPN.
    I would be grateful for ideas.
    Lukasz
    global (inside) 1 interface
    global (outside) 101 interface
    nat (inside) 0 access-list inside_nat0_outbound
    nat (inside) 101 0.0.0.0 0.0.0.0
    static (inside,outside) tcp interface https IIS https netmask 255.255.255.255  dns tcp 200 200 udp 200
    static (inside,outside) tcp interface www IIS www netmask 255.255.255.255  dns tcp 200 200 udp 200
    static (inside,outside) tcp interface smtp IIS smtp netmask 255.255.255.255  dns
    static (inside,outside) tcp interface pop3 IIS pop3 netmask 255.255.255.255  dns
    static (inside,outside) udp interface domain RenBetPBX domain netmask 255.255.255.255  dns
    static (inside,outside) udp interface 5061 RenBetPBX 5061 netmask 255.255.255.255  dns
    static (inside,outside) udp interface sip RenBetPBX sip netmask 255.255.255.255  dns
    static (inside,outside) tcp interface 13000 SQL 13000 netmask 255.255.255.255  dns
    access-group inside_access_in in interface inside
    access-group outside_access_in in interface outside
    route outside 0.0.0.0 0.0.0.0 x.x.x.x
    route inside PBXCUE-network 255.255.255.0 RenBetPBX 1
    timeout xlate 3:00:00
    timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
    timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
    timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
    timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
    timeout tcp-proxy-reassembly 0:01:00
    dynamic-access-policy-record DfltAccessPolicy

    Hello Julio!
    Thank you for your advice.
    I have managed to solve my main problem by reconfiguring my switches vlans - enabling trunk port configs for required ports and allowing them access to both vlans.
    Now I can see everything from all of my inside networks.
    I continue my ASA adventures - I have managed to configure L2TP client access for my windows users, RADIUS authentication for domain users and yesterday night I have managed to configure site to site VPN with my RV120W router.
    I am only an enthusiast but my recent successes have given me apetite for more...
    I keep reading forums and trying to solve most of my problems myself but I have faced another one now and thought that maybe you could give me another tip on where to look for the issue:
    I still have one problem with my L2TP VPN config - I have configured split tunnel on the group policy to tunnel only 192.168.1.0 network requests.
    access-list DefaultRAGroup_splitTunnelAcl standard permit 192.168.1.0 255.255.255.0
    My network at home is 192.168.2.0 but it still tunnels everything (when I check my ip after connecting to VPN my home laptop still identifies with ASA gateway(!) address .
    access-list outside_access_in extended permit icmp any interface outside object-group DM_INLINE_ICMP_1
    access-list outside_access_in extended permit tcp any interface outside object-group DM_INLINE_TCP_1
    access-list outside_access_in extended permit tcp any interface outside eq smtp
    access-list outside_access_in extended permit tcp any interface outside eq 8080
    access-list outside_access_in extended permit tcp any interface outside eq 23456
    access-list outside_access_in extended permit object-group DM_INLINE_SERVICE_1 object-group DM_INLINE_NETWORK_1 any
    access-list outside_access_in extended permit tcp any interface outside eq 13000
    access-list outside_access_in extended permit tcp any interface outside range 8001 8016
    access-list outside_access_in extended permit tcp x.x.x.x 255.255.255.0 interface outside eq ssh
    access-list inside_nat0_outbound extended permit ip any 192.168.1.240 255.255.255.240
    access-list inside_nat0_outbound extended permit ip any PBXVOIP-network 255.255.255.0
    access-list inside_nat0_outbound extended permit ip any PBXCUE-network 255.255.255.0
    access-list inside_nat0_outbound extended permit ip 192.168.1.0 255.255.255.0 igolomska-network 255.255.255.0
    access-list inside_access_in extended permit udp object-group DM_INLINE_NETWORK_2 any object-group DM_INLINE_UDP_1
    access-list inside_access_in extended permit ip host IIS any
    access-list inside_access_in extended permit ip any any
    access-list inside_access_in extended permit ip host RBSTORE_NAS any
    access-list inside_access_in extended deny udp any any object-group DM_INLINE_UDP_2
    access-list inside_access_in extended permit tcp any any eq 5432
    access-list inside_access_in extended permit tcp any host PBXCUE eq www
    access-list inside_access_in extended permit tcp host PBXCUE any eq www
    access-list inside_access_in extended permit tcp host RBCAMSTORE_NAS host EXCH-MBX eq smtp
    access-list inside_access_in extended permit tcp host RBSTORE_NAS host EXCH-MBX eq smtp
    access-list inside_access_in extended permit tcp host RENBETUPS host EXCH-MBX eq smtp
    access-list inside_access_in extended permit tcp host RenBetPBX host EXCH-MBX eq smtp
    access-list DefaultRAGroup_splitTunnelAcl standard permit 192.168.1.0 255.255.255.0
    access-list outside_1_cryptomap extended permit ip 192.168.1.0 255.255.255.0 igolomska-network 255.255.255.0
    route print shows:
    and 192.168.1.240 is my VPN IP - its metric has higher priority than the local gateway.
    How do I change it?
    Active Routes:
    Network Destination        Netmask          Gateway       Interface  Metric
              0.0.0.0          0.0.0.0      192.168.2.1    192.168.2.126   4250
              0.0.0.0          0.0.0.0         On-link     192.168.1.240     21
          80.51.24.22  255.255.255.255      192.168.2.1    192.168.2.126   4251
            127.0.0.0        255.0.0.0         On-link         127.0.0.1   4531
            127.0.0.1  255.255.255.255         On-link         127.0.0.1   4531
      127.255.255.255  255.255.255.255         On-link         127.0.0.1   4531
          169.254.0.0      255.255.0.0         On-link     192.168.2.126   4506
      169.254.104.126  255.255.255.255         On-link     192.168.2.126   4506
      169.254.255.255  255.255.255.255         On-link     192.168.2.126   4506
        192.168.1.240  255.255.255.255         On-link     192.168.1.240    276
          192.168.2.0    255.255.255.0         On-link     192.168.2.126   4506
        192.168.2.126  255.255.255.255         On-link     192.168.2.126   4506
        192.168.2.255  255.255.255.255         On-link     192.168.2.126   4506
            224.0.0.0        240.0.0.0         On-link         127.0.0.1   4531
            224.0.0.0        240.0.0.0         On-link     192.168.2.126   4506
            224.0.0.0        240.0.0.0         On-link     192.168.1.240     21
      255.255.255.255  255.255.255.255         On-link         127.0.0.1   4531
      255.255.255.255  255.255.255.255         On-link     192.168.2.126   4506
      255.255.255.255  255.255.255.255         On-link     192.168.1.240    276
    ===========================================================================
    I am starting to feel like I am using a bit too much of your friendliness ...
    Best Regards and have a great day!
    Lukasz

  • Unhandled Exception Error - Login Failed for User

    Hello,
    I am receiving an error when I run my application stating “Unhandled exception has occurred. If you click continue, the application will ignore the error………..Login failed for MyUser.
    When I click the Continue button the application runs and seems to work properly. This application used to run without receiving the error and I did not make any changes. I have another application that is using basically the exact same code and does not
    receive the error. The only difference is the application is querying a different DB but using the exact same connection string. The error only occurs when I run the exe file created from the build. When I run (debug) the application from within the VS 2013
    IDE I do not receive the error.
    Here are the details to the error message:
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    ************** Exception Text **************
    System.Data.OleDb.OleDbException (0x80040E4D): Login failed for user 'jobrunner'.
       at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
       at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
       at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.OleDb.OleDbConnection.Open()
       at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
       at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
       at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
       at LoanOrig_FDIC_Codes.DataSet1TableAdapters.I_LoansTableAdapter.Fill(I_LoansDataTable dataTable) in u:\Visual Studio Projects\LoanOrig_FDIC_Codes\LoanOrig_FDIC_Codes\LoanOrig_FDIC_Codes\DataSet1.Designer.cs:line 1668
       at LoanOrig_FDIC_Codes.Form1.Form1_Load_1(Object sender, EventArgs e) in u:\Visual Studio Projects\LoanOrig_FDIC_Codes\LoanOrig_FDIC_Codes\LoanOrig_FDIC_Codes\Form1.cs:line 152
       at System.Windows.Forms.Form.OnLoad(EventArgs e)
       at System.Windows.Forms.Form.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ContainerControl.WndProc(Message& m)
       at System.Windows.Forms.Form.WmShowWindow(Message& m)
       at System.Windows.Forms.Form.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    LoanOrig_FDIC_Codes
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///U:/Visual%20Studio%20Projects/LoanOrig_FDIC_Codes/LoanOrig_FDIC_Codes/LoanOrig_FDIC_Codes/bin/Debug/LoanOrig_FDIC_Codes.exe
    System.Windows.Forms
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System.Drawing
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    System
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34238 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    System.Configuration
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    System.Xml
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    System.Data
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
    System.Data.DataSetExtensions
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.DataSetExtensions/v4.0_4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll
    System.Numerics
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
    System.Transactions
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
    I'm not sure what the JIT debugger is but to my knowledge my other apps are not using that. The production username and password are correct in the connection string so I'm not clear why I am receiving this error especially since I'm not receiving the
    error on my other application. I have also attached the code just in case it is needed. Any assistance will be greatly appreciated. Thank you.
    Dave
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Data.SqlClient;
    using ClosedXML.Excel;
    using DocumentFormat.OpenXml;
    using System.IO;
    namespace LoanOrig_FDIC_Codes
    public partial class Form1 : Form
    SqlCommand sqlCmd;
    SqlDataAdapter sqlDA;
    DataSet sqlDS;
    DataTable sqlDT;
    SqlCommand sqlCmdCnt;
    public Form1()
    InitializeComponent();
    //BEGIN BUTTON LOAD CLICK EVENT
    private void btnLoad_Click(object sender, EventArgs e)
    string sqlCon = "Data Source=FS-12345; Initial Catalog=ExtractGenerator; User ID=MyUser; Password=MyPW";
    //Set the 2 dateTimePickers to today's date
    DateTime @endDate = End_dateTimePicker.Value.Date;
    DateTime @startDate = Start_dateTimePicker.Value.Date;
    //Validate the values of the 2 dateTimePickers
    if (endDate < startDate)
    MessageBox.Show("End Date must be greater than or equal to the Start Date OR Start Date must be less than or equal to the End Date ", "Incorrect Date Selection",MessageBoxButtons.OK,MessageBoxIcon.Error);
    //Reset both dateTimePickers to todays date
    Start_dateTimePicker.Value = DateTime.Today;
    End_dateTimePicker.Value = DateTime.Today;
    return;
    //End of date validation
    string sqlData = @"SELECT AcctNbr,
    CurrAcctStatCD,
    Org,
    MJAcctTypCD,
    MIAcctTypCD,
    NoteOriginalBalance,
    ContractDate,
    FDICCATCD,
    FDICCATDESC,
    PropType,
    PropTypeDesc
    FROM I_Loans
    WHERE CAST(ContractDate AS datetime) BETWEEN @startdate AND @enddate ORDER BY ContractDate";
    SqlConnection connection = new SqlConnection(sqlCon);
    SqlCommand sqlCmd = new SqlCommand(sqlData, connection);
    sqlCmd.Parameters.AddWithValue("@startDate", startDate);
    sqlCmd.Parameters.AddWithValue("@endDate", endDate);
    sqlDS = new DataSet();
    sqlDA = new SqlDataAdapter(sqlCmd); //SqlAdapter acts as a bridge between the DataSet and SQL Server for retrieving the data
    connection.Open();
    sqlDA.SelectCommand = sqlCmd; //SqlAdapter uses the SelectCommand property to get the SQL statement used to retrieve the records from the table
    sqlDA.Fill(sqlDS, "I_Loans"); //SqlAdapter uses the "Fill" method so that the DataSet will match the data in the SQL table
    sqlDT = sqlDS.Tables["I_Loans"];
    //Code section to get record count
    sqlCmdCnt = connection.CreateCommand();
    sqlCmdCnt.CommandText = "SELECT COUNT(AcctNbr) AS myCnt FROM I_Loans WHERE ContractDate BETWEEN @startDate AND @endDate";
    sqlCmdCnt.Parameters.AddWithValue("@startDate", startDate);
    sqlCmdCnt.Parameters.AddWithValue("@endDate", endDate);
    int recCnt = (int)sqlCmdCnt.ExecuteScalar();
    txtRecCnt.Text = recCnt.ToString();
    btnExport.Enabled = true;
    //End of code section for record count
    connection.Close();
    dataGridView1.DataSource = sqlDS.Tables["I_Loans"];
    dataGridView1.ReadOnly = true;
    //Reset both dateTimePickers to todays date
    Start_dateTimePicker.Value = DateTime.Today;
    End_dateTimePicker.Value = DateTime.Today;
    //END BUTTON LOAD CLICK EVENT
    //BEGIN BUTTON EXPORT CLICK EVENT
    private void btnExport_Click(object sender, EventArgs e)
    SaveFileDialog saveFD = new SaveFileDialog();
    { //ClosedXML code to export datagrid result set to Excel
    string dirInfo = Path.GetPathRoot(@"\\FS-03250\users\dyoung\LoanOrig_FDIC_Codes");
    if (Directory.Exists(dirInfo))
    var wb = new XLWorkbook();
    var ws = wb.Worksheets.Add(sqlDT);
    ws.Tables.First().ShowAutoFilter = false;
    //SaveFileDialog saveFD = new SaveFileDialog(); //I moved this variable to the top of the btnExport code block so that the variable will be available thru the entire scope of that code block
    saveFD.Title = "Save As";
    saveFD.Filter = "Excel File (*.xlsx)| *.xlsx";
    saveFD.FileName = "LoanOrig_FDIC_Codes_" + DateTime.Now.ToString("yyyy-MM-dd");
    if (saveFD.ShowDialog() == System.Windows.Forms.DialogResult.OK)
    Stream stream = saveFD.OpenFile();
    wb.SaveAs(stream);
    stream.Close();
    else if (saveFD.ShowDialog() == System.Windows.Forms.DialogResult.Cancel)
    MessageBox.Show("Save file operation has been canceled", "Save As Canceled", MessageBoxButtons.OK, MessageBoxIcon.Stop);
    return;
    //End of ClosedXML code
    MessageBox.Show("File has been exported to " + saveFD.FileName, "File Exported", MessageBoxButtons.OK, MessageBoxIcon.Information);
    //MessageBox.Show("File has been exported to U:\\LoanOrig_FDIC_Codes", "File Exported", MessageBoxButtons.OK, MessageBoxIcon.Information);
    else
    MessageBox.Show("Drive " + saveFD.FileName + " " + "not found, not accessible, or you may have invalid permissions");
    //MessageBox.Show("Drive " + "U:\\Visual Studio Projects\\LoanOrig_FDIC_Codes" + " " + "not found, not accessible, or you may have invalid permissions");
    return;
    //END THE SAVE AS PROCESS
    //END BUTTON EXPORT CLICK EVENT
    private void Form1_Load(object sender, EventArgs e)
    //Set dates to be today's date when the form is openend
    Start_dateTimePicker.Value = DateTime.Today;
    End_dateTimePicker.Value = DateTime.Today;
    private void Form1_Load_1(object sender, EventArgs e)
    // TODO: This line of code loads data into the 'dataSet1.I_Loans' table. You can move, or remove it, as needed.
    this.i_LoansTableAdapter.Fill(this.dataSet1.I_Loans);
    private void iLoansBindingSource_CurrentChanged(object sender, EventArgs e)
    private void btnExit_Click(object sender, EventArgs e)
    this.Close();
    David Young

    In SQL you have a login which allows access to the server but you must also have permissions to access each database that you will use (including Master). So I would verify that your user also has the necessary permissions on the database itself and
    not just the SQL instance. The error you're getting is from SQL saying that the user doesn't have permissions.  If it works for 1 DB but not the other on the same SQL instance then it is likely a missing permission on the DB itself.
    I should note that you have a hard coded conn string in your code but the error is for a different user.  I'm assuming that you simply posted it there for convenience and that you changed the values to obscure the data.  If you are actually getting
    the info from your config file then verify the connection string is correct. Also be sure to not use Integrated Security since it appears that you are using SQL authentication.

  • Error while using LiveCycle java APIs with Http servlets:"Remote EJBObject lookup failed for ejb/Inv

    Hi all,
    When i try to run more than one servelt of the Quick Start samples that using Livecycle Java APIs and i get an error of "Remote EJBObject lookup failed for ejb/Invocation provider" from any servelt i run.
    I try some Quick samples which is not servelts (java class) and it works fine, which makes me sure that my connection properties is true.
    Environment:
    The LiveCycle is based on "Websphere v6.1", and i use "Eclipse Platform
    Version: 3.4.1".
    i install "tomcat 5.5.17" to test the servelts in developing time through Eclipse.(only for test in developing time not for deploy on )
    The Jars i added in the classpath:
    adobe-forms-client.jar
    adobe-livecycle-client.jar
    adobe-usermanager-client.jar
    adobe-utilities.jar
    ejb.jar
    j2ee.jar
    ecutlis.jar
    com.ibm.ws.admin.client_6.1.0.jar
    com.ibm.ws.webservices.thinclient_6.1.0.jar
    server.jar
    utlis.jar
    wsexception.jar
    My code is :
    Properties ConnectionProps = new Properties();
    ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, "iiop://localhost:2809");
    ConnectionProps.setProperty ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,ServiceClientFactoryProperties.DSC_ EJB_PROTOCOL);
    ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE,ServiceClientFa ctoryProperties.DSC_WEBSPHERE_SERVER_TYPE);
    ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, "Administrator");
    ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, "password");
    ConnectionProps.setProperty("java.naming.factory.initial", "com.ibm.ws.naming.util.WsnInitCtxFactory");
    //Create a ServiceClientFactory object
    ServiceClientFactory myFactory = ServiceClientFactory.createInstance(ConnectionProps);
    //Create a FormsServiceClient object
    FormsServiceClient formsClient = new FormsServiceClient(myFactory);
    //Get Form data to pass to the processFormSubmission method
    Document formData = new Document(req.getInputStream());
    //Set run-time options
    RenderOptionsSpec processSpec = new RenderOptionsSpec();
    processSpec.setLocale("en_US");
    //Invoke the processFormSubmission method
    FormsResult formOut = formsClient.processFormSubmission(formData,"CONTENT_TYPE=application/pdf&CONTENT_TYPE=app lication/vnd.adobe.xdp+xml&CONTENT_TYPE=text/xml", "",processSpec);
    List fileAttachments = formOut.getAttachments();
    Iterator iter = fileAttachments.iterator();
    int i = 0 ;
    while (iter.hasNext()) {
    Document file = (Document)iter.next();
    file.copyToFile(new File("C:\\Adobe\\tempFile"+i+".jp i++;
    short processState = formOut.getAction();
    ...... (To the end of the sample)
    My Error was:
    com.adobe.livecycle.formsservice.exception.ProcessFormSubmissionException: ALC-DSC-031-000: com.adobe.idp.dsc.net.DSCNamingException: Remote EJBObject lookup failed for ejb/Invocation provider
    at com.adobe.livecycle.formsservice.client.FormsServiceClient.processFormSubmission(FormsSer viceClient.java:416)
    at HandleData.doPost(HandleData.java:62)
    at HandleData.doGet(HandleData.java:31)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    a

    I assume here that your application is deployed on a different physical machine of where LCES is deployed and running.
    Do the following test:
    - Say that LCES is deployed on machine1 and your application is deployed on machine2. Ping machine1 from machine2 and note the ip address.
    - Ping machine1 from machine1 and note the ip address.
    The two pings should match.
    - Ping machine2 from machine1 and note the ip address.
    - Ping machine2 from machine2 and note the ip address.
    The two pings should match.
    Usually this kind of error would happen if your servers have internal and external ip addresses.

Maybe you are looking for