Hostname problem

we have about 30 BW web reports being displayed in our portal ep5 sp 6. i have added a custom help context menu option and this should call a bsp using javascript.
the bsp url is formed:
url = "http://" + location.host + "/sap/bc/bsp/sap/z_bpa_help_app/help_docs.do";
i use exactly the same javascript code in all the reports but it doesn't work in four of them because the port is not being returned by location.host in these four instances.
any idea why this might be occurring or is there another way of retrieving the hostname and port??

I don't really know if the client name is part of the OSI model.
You could just setup up static ips for the machines and then disable dhcp on the lan side so each client will log the router's table under a single and consistent ip.
then you can monitor who's not in bed????

Similar Messages

  • Client Hostname Problem

    Hey there,
    We have 10.6 clients attached to a 10.5.8 server using WGM to designate ComputerNames.
    Previously, in 10.4/10.5, setting a ComputerName like (Maths-01) would give a hostname of maths-01.local (for example).
    The behaviour of the hostname seems to have changed to use the owners name and ignored the Computer Name, so all our computers in labs will be named 'Local-Administrators-iMac.local'
    We can work around this with a boot script: -
    scutil --set HostName $(scutil --get ComputerName).local
    But is this a bug? are others seeing the problem?

    I have the same exact problem. I have an open case with apple and will provide this link. Thank you for the command because it looks like we will be doing that until Apple resolves this. Hopefully 10.6.3 will address this issue!

  • Fully Qualified Hostname problem with 9iAS install on WinNT

    I am working within a corporate lan and installing 9ias to a Windows NT Sp 6 PC. I am using a fixed ip address and a fixed dns server. Although in the tcp/ip properties, dns tab I specify the hostname (shashi_build) and the domain (optus.com.au) and have an entry in the hosts and lmhosts files (192.168.218.238 shashi_build.optus.com.au shashi_build), the installer keeps coming up with an error message saying:
    "Installation has detected that a fully qualified hostname has not been specified for this host. Oracle 91AS installation requires a default domain name to be specified for each host where it is installed. Please consult your operating system instructions for detials on assigning a default domain name. If you are not using a DNS server, then the file c:\winnt\system32\drivers\etc\hosts must also include a line of the the form:
    <IP_ADDRESS> <FULLY_QUALIFIED_HOSTNAME< <ALIASES>
    After making these changes, please reboot the host and restart the install."
    Unquote.
    The use dns for name resolution box is checked on the wins tab. Use lmhosts is checked too.
    I even tried using DHCP, but to no effect.
    I have ensured that the temp directory has sufficient space, page file is a minimum 1024 mb etc.
    Can someone please help urgently? Thanks in anticipation.

    This is a big deal. Please search the forum for "fully qualified host name" or "fully qualified domain name." You must get this right at install because you cannot make any changes later.
    I made several posts relating to this issue in detail ca. Jan. 2003.
    Mike

  • Serious Cert and hostname problem

    Running Server 2012 with Exchange 2013 since 2012, all ok. SSL Cert ran out recently, bought new from Comodo. In the old UC Cert I had 4 names incleded: mail.domain.ch, autodiscover.domain.ch, hostname.domain.ch and the hostname alone. Comodo (and probably
    other Certs) do no longer accept single hostnames in Certs so I omitted that. Now login to EMC is no longer possible and Outlook can no longer connect. EMS works but obviously with limited command set. Tried
    Set-ClientAccessServer command. It is not recognized as are others. There are some commands working with "get-excommand" but not those needed to configure FQDN instead of hostname to access the Server. Any help is greatly appreciated.
    Marcel

    Dicicert test shows: Certificate does not match FQDN.
    https://testconnectivity.microsoft.com/ Shows (unfortunately all in German):
    Error testing Acrtive Sync
    Fehler beim Testen der AutoErmittlung für Exchange ActiveSync (Error testing autodiscover for Active Sync)
    Fehler beim Testen der AutoErmittlung (Error testing autodiscover) (same for the next 3 steps)
    Der AutoErmittlungsdienst konnte mit keiner Methode erfolgreich kontaktiert werden (the autodiscover service could by no means be contacted)
    Es wird versucht, DNS-MX-Einträge für Domäne 'snnet.ch' abzurufen.
    Mindestens ein MX-Eintrag wurde erfolgreich aus DNS abgerufen.
    Weitere Details
    MX-Einträge Host snlemon.snnet.ch, Einstellung 10
    Verstrichene Zeit: 135 ms.
    Mail-Exchanger snlemon.snnet.ch wird getestet.
    Dieser Mail-Exchanger wurde erfolgreich getestet.
    (MX entry ok, SMTP mail exchange ok)
    Es wird versucht, für die IP-Adresse 62.2.148.162 Reverse-DNS-Lookups auszuführen.
    Die Microsoft-Verbindungsuntersuchung hat die IP-Adresse 62.2.148.162 erfolgreich über Reverse-DNS-Lookup aufgelöst.
    Weitere Details
    Die Microsoft-Verbindungsuntersuchung hat die IP-Adresse 62.2.148.162 als Host 62-2-148-162.static.cablecom.ch aufgelöst.
    Verstrichene Zeit: 376 ms.
    RBL-Test (Real-Time Black Hole List) wird ausgeführt
    Ihre IP-Adresse wurde in keiner der ausgewählten Sperrlisten gefunden.
    Weitere Details
    Verstrichene Zeit: 9379 ms.
    Testschritte
    Sperrliste "SpamHaus Block List (SBL)" wird überprüft
    Die Adresse befindet sich nicht in der Sperrliste.
    Weitere Details
    Die IP-Adresse 62.2.148.162 wurde nicht in RBL gefunden.
    Verstrichene Zeit: 30 ms.
    Sperrliste "SpamHaus Exploits Block List (XBL)" wird überprüft
    Die Adresse befindet sich nicht in der Sperrliste.
    Weitere Details
    Die IP-Adresse 62.2.148.162 wurde nicht in RBL gefunden.
    Verstrichene Zeit: 53 ms.
    Sperrliste "SpamHaus Policy Block List (PBL)" wird überprüft
    Die Adresse befindet sich nicht in der Sperrliste.
    Weitere Details
    Die IP-Adresse 62.2.148.162 wurde nicht in RBL gefunden.
    Verstrichene Zeit: 186 ms.
    Sperrliste "SpamCop Block List" wird überprüft
    Die Adresse befindet sich nicht in der Sperrliste.
    Weitere Details
    Die IP-Adresse 62.2.148.162 wurde nicht in RBL gefunden.
    Verstrichene Zeit: 39 ms.
    Sperrliste "NJABL.ORG Block List" wird überprüft
    Die Adresse befindet sich nicht in der Sperrliste.
    Weitere Details
    Die IP-Adresse 62.2.148.162 wurde nicht in RBL gefunden.
    Verstrichene Zeit: 8717 ms.
    Sperrliste "SORBS Block List" wird überprüft
    Die Adresse befindet sich nicht in der Sperrliste.
    Weitere Details
    Die IP-Adresse 62.2.148.162 wurde nicht in RBL gefunden.
    Verstrichene Zeit: 91 ms.
    Sperrliste "MSRBL Combined Block List" wird überprüft
    Die Adresse befindet sich nicht in der Sperrliste.
    Weitere Details
    Die IP-Adresse 62.2.148.162 wurde nicht in RBL gefunden.
    Verstrichene Zeit: 53 ms.
    Sperrliste "UCEPROTECT Level 1 Block List" wird überprüft
    Die Adresse befindet sich nicht in der Sperrliste.
    Weitere Details
    Die IP-Adresse 62.2.148.162 wurde nicht in RBL gefunden.
    Verstrichene Zeit: 206 ms.
    Sender ID wird überprüft.
    Fehler bei der Überprüfung der Sender ID
    (error testing sender ID, other tests OK)
    IMAP wird für Benutzer 'snnet\admin' auf Host 'snlemon.snnet.ch:993:SSL' getestet.
    Fehler beim IMAP-Test.
    Weitere Details
    Verstrichene Zeit: 21023 ms.
    Testschritte
    Es wird versucht, den Hostnamen snlemon.snnet.ch im DNS aufzulösen.
    Der Hostname wurde erfolgreich aufgelöst.
    Weitere Details
    Zurückgegebene IP-Adressen: 62.2.148.162, 2002:3e02:94a2::3e02:94a2
    Verstrichene Zeit: 8 ms.
    Es wird getestet, ob TCP-Port 993 auf Host snlemon.snnet.ch überwacht wird/geöffnet ist.
    Der angegebene Port ist blockiert, wird nicht überwacht oder sendet nicht die erwartete Antwort
     (error TCP port 993)
    Command set-outlookprovider not recognized by EMS.
    Would like to add that the old Cert, containing the hostname, is still valid and could probably be used but would need to get advice how to do it since EMC cannot be accessed. Thank you.

  • Local hostname problem

    Message on my screen "This computer's local hostname 'xx.local' is already in use on this network.  The name has been changed to 'xx-2.local'"  Should i be worried?

    Sometimes this message means that you have two simultaneous connections to the same local network: probably Ethernet and Wi-Fi. If applicable, disconnect the Ethernet cable or turn off Wi-Fi.
    Sometimes it happens because a device that gets its network address from the router wakes from sleep, and the address it was using before has been assigned to another device.
    A third-party wireless router that has incompatible settings or firmware may be the cause. In that case, refer to the manufacturer or ISP for support. Restarting the router may help, temporarily.
    Rename the computer in the Sharing preference pane.

  • Change hostname: Problems with Oracles "chgip" script

    During "OracleAS_1\chgip\scripts\chgiphost.bat" script run I am asked:
    "Enter fully qualified hostname (hostname.domainname) of destination"
    What should I enter in detail to be independent from DHCP IP assignments?
    If I enter e.g.
    localhost.default
    or
    127.0.0.1.default
    or
    localhost
    or
    soa.127.0.0.1
    the script tells me either
    "Destination Hostname does not correspond to a valid host"
    or
    "Invalid hostname"
    So what else can/should I enter?
    Peter

    During "OracleAS_1\chgip\scripts\chgiphost.bat" script run I am asked:
    "Enter fully qualified hostname (hostname.domainname) of destination"
    What should I enter in detail to be independent from DHCP IP assignments?
    If I enter e.g.
    localhost.default
    or
    127.0.0.1.default
    or
    localhost
    or
    soa.127.0.0.1
    the script tells me either
    "Destination Hostname does not correspond to a valid host"
    or
    "Invalid hostname"
    So what else can/should I enter?
    Peter

  • DNS/Hostname problem

    Hello,
    Config:
    Server name: app1.testcorp.local
    Network binding order set to Public Int. first.
    1 Public Interface 192.168.1.10/24 (DNS configured)
    1 Untrusted Interface 10.0.0.10/24 (No dns configured, no default gw)
    When i ping from the server itself (app1) and try "ping app1" i get app1.testcorp.local (10.0.0.10) were i expect it to return (192.168.1.10)
    How can i change this so i get 192.168.1.10 instead of 10.0.0.10
    BR
    René

    Hi René,
    When you perform a ping that uses a name instead of an IP address, the name has to be resolved to an IP address.
    If the name is that of the server, the IP address is returned as an address from the network adapter that is at the top or bottom of the network bindings order.
    This usually will be the last network adapter that was installed, and this may not be the interface that you expect to be used. Therefore, the ping command returns an incorrect IP address.
    To resolve this issue, we have two options:
    Change the binding order.
    Change the hosts file.
    For detailed information, please refer to the link below,
    https://support.microsoft.com/kb/981953?wa=wsignin1.0
    Best Regards.
    Steven Lee
    TechNet Community Support

  • How can i get rid of the "local" hostname sufix?

    i am installing Sun Grid Engine on 4 macpros, but this hostname problem is making the progress a headache.
    the cluster tries to resolve hostnames without the "local" sufix, and t fails.
    how can i completely remove the "local" suffix on my hostname??
    i have tried byt no sucess, this is what i did
    at the moment if i type "hostname" i get this
    mac-pro-3.local
    so i modified /etc/hosts and added a line
    myNetworkIP mac-pro-3.local mac-pro-3
    it works but only for the same machine, other macs cannot ping or resolve "mac-pro-3".
    i dont know what option is there available.
    macs are with Leopard 10.5.6
    any ideas?
    thanks in advance
    Cristobal

    i found another solution, and now i dont have the need to remove the "local" suffix
    i edited the /etc/hosts file and added what the computer was trying to resolve from the server, with an alias.
    #this line
    ipAddress mac-pro-3.local mac-pro-3

  • Hostname for Mac OS X Server

    Hi,
    I have a Mac OS X server 10.5 Leopard and I've installed it on my mac mini.
    After installing i tried to go to system settings but it prompted me for my hostname, user name and password. I wasnt sure what hostname to enter though i have my user name and password with me.
    I'm setting it up for my friend's office and he doesnt have any domain name attached to it. I googled hostname for mac os x server but they said i need to have a fully qualified domain name.
    Can i ignore this hostname problem? Cause its just a home business my friend is running and he just need his ical server up and thats it.
    thanks all for reading.

    To strengthen Camelot's comments here, most everything in a modern network is dependent on the host name and on the associated DNS. Proper DNS (or proper static definitions) are a prerequisite; if the host name and the DNS or the static hosts pieces aren't configured and operating correctly, then you'll be chasing all sorts of problems. The host and DNS pieces are the foundation of network security, and most everything on a network these days eventually involves network security, hence...

  • ~~~~~As for each edition of weblogic console pedestal hang a dead Problem

    本帖最后由 mfkqwyc86 于 2009-11-23 23:27 编辑
    环境:
    之前遇到过几次,环境不同,如下两类环境
    Linux AS4+oracle9i+weblogic815/816+JDK:Sun JDK 1.4 JVM:-Xms1024m -Xmx1024m
    AIX5.3+Oracle10g+WebLogic923+IBM JDK 1.5 SR6 JVM:-Xms2048m -Xmx2048m
    架构:集群(通过proxy做代理分发软集群)
    AdminServer、proxyServer、server1、server2、server3、server4、server5、server6........
    问题描述:
    除AdminServer外的所有服务平时均运行正常,从来不会出现挂死,内存泄漏问题。
    WebLogic控制台经常出现无故挂死现象,分析过挂死的现象,CPU、内存、IO均正常,通过升级JDK也无法解决,有时候重启AdminServer后,进去随便点几点控制台就挂在哪里不动了。请问这种现象是不是有什么补丁处理。(前提:控制台放在AdminServer上,这个只负责控制台管理,不运行应用)
    Edited by: user12031415 on 2009-11-23 上午7:55

    Have you tried to restart the OEM Database Console service?I have tried to restart both the listener and the EM Console, but no any changes made.
    Why do you repost?It is not the same problem. It is the first time to post.
    When you are using a wrong hostname or ipaddress or a wrong port number.It is a perfect guess. May be a IP or hostname problem. I am configuring DataGuard on 2 PC. I installed a DB10g on PC A and want to configure a physical standby database on the PC B. Unfortunately, Both hostnames of PC A and PC B are same(both are "localhost.localdomain". Then I change a new hostname for the PC A(the primary database is on it), and the listener cannot connect to the EM console.
    Why didn't you rediscover the listener.How to rediscover it.
    Or do you think you will ever get valid respoinses when you keep posting a lot of non-informative junk boiling down to 'Help it doesn't work, and I can't be bothered to investigate the problem, and you need to torture me to get information out of me'?sorry.
    Is it possible to correct the problem?
    Thank you

  • Anki cannot download shared plugins [Solved]

    I installed anki 1.2.9-2 recently, and I have been unable to download any shared plugins or decks. Below are the errors that I receive.
    Has anyone had this issue and was able to resolve it or has any suggestions?
    Whenever, I click File->Download->Shared Plugin (or Shared Deck), I receive the following traceback:
    File "usr/lib/python2.7/site-packages/ankiqt/ui/getshared.py", line 67, in fetchData
        URL + "search?t=%d&c=1" % self.type)
    File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
        return _opener.open(url, data, timeout)
    File "/usr/lib/python2.7/urllib2.py", line 394, in open
        response = self._open(req, data)
    File "/usr/lib/python2.7/urllib2.py", line 412, in _open
        '_open', req)
    File "/usr/lib/python2.7/urllib2.py", line 372, in _call_chain
        result = func(*args)
    File "/usr/lib/python2.7/urllib2.py", line 1199, in http_open
        return self.do_open(httplib.HTTPConnection, req)
    File "/usr/lib/python2.7/urllib2.py", line  1174, in do_open
       raise URLError(err)
    URLError: <urlopen error [Errno -2] Name or service not known>
    Whenever I try to sync my Decks with AnkiWeb, I receive the following error:
    There was a connection error. If it persists, please try disabling your firewall software temporarily, or try again from a different network.
    Debugging info: URLError(gaierror(-2, 'Name or service not known'),)
    Edit*
    It turns out the the problem was DNS issue. I'm guessing that the DNS through my ISP did not have the hostnames that are used by anki to download plugins.
    The solution was to append the following nameservers to /etc/resolv.conf:
         nameserver 208.67.222.222
         nameserver 208.67.220.220
    These are OpenDNS name servers.
    Last edited by admasnd1 (2012-01-10 04:28:05)

    I am  completely up to date now, however, I still experience the same issue. In terms of it being a network problem, I have been experiencing another issue that may be related to this one. Whenever I try to ssh into one of my campus's servers, I am unable to connect through the hostname. I always receive the following message:
      Could not resolve hostname .... Name or service not known
    However, if I ssh using the server's ip address, I am able to connect. The same thing occurs whenever I specify the hostname of the campus gateway to vpn. If I give the ip address, it works. Otherwise, same error. When I do establish a vpn tunnel, I am able to ssh through the hostname.
    I thought it might have something to do with ipv6, since I prevent it from autoloading. But I tried enabling the module with modprobe and I still have the same issue, so I'm thinking maybe the anki problem and the hostname problem are  dns issues.
    I don't know much about networking, so I don't know where to go from here. Any suggestions?

  • Putting Identity Server behind firewall

    Hi All,
    I have an application running on SunONE app server 7 with agent in order to control authentication and authorization. I would like to put the identity server behind firewall. However, everytime when the agent redirect to identity server to perform login, it redirects directly which user can't access the login page. May I know how can I put the Identity server behind firewall? Must I use web proxy server instead? Any other solution? Thx a lot.
    \Tobey

    Hi, this is Tobey again. I have installed Identity Server 6.1 and a web proxy server 3.6 in front of the Identity Server.
    The web proxy server succeed in reverse proxying all usual applications. However, when I try accessing amconsole through proxy server, the console service always re-direct me to Identity Server host directly. And my client browser is not allow to resolve that hostname.
    What I have configured is setting regular and reverse url mapping in Web proxy server. In Identity server, I have set the fqdn mapping, dns alias, adding one more in server list and cookies domain.
    Any one had experience on putting Identity Server behind firewall? How to solve the hostname problem that redirected by Identity Server service? Thx a lot.
    \Tobey

  • How do I fix the problem with PTD rejecting iCloud email because the hostname can't be resolved (17.110.78.42)?

    I get this message: "Client host rejected: cannot find your reverse hostname. [17.110.78.42]". The recipient domain is ptd.net and this is coming from an iCloud account. PTD refused to help. Is this an Apple problem? When can this be fixed? I have an email account that is rejected by half of the recipients!

    Thanks, but I've been on the phone with AppleCare US (where I am and live) and AppleCare UK. They continue bouncing me back and forth without helping resolve the problem.
    Perhaps someones knows how to further escalate the issue at Apple?

  • Problem with hostname Solaris 10

    I am a complete newbie to Solaris. I purchased a Sun machine with 9 on and upgraded it to 10 without many problems apart from not geting the network to work.
    On the install of 10 I was asked for domain name and hostname.
    Following much differing and I would say incorrect advice on setting up network on 10 gathered from these pages I used the sys-unconfig to try to get the network to work each time with no problem.
    Following advice to create 3 files dhcp.le0, hostname.le0 the last one I forget I rebooted. On reboot there were a number of problems and nothing loaded I removed the files rebooted and then did a sys-unconfig.
    Eventually I got the network to work but I had lost the hostname even with placing it is hostname.hme0 and rebooting. I sys-unconfig a number of times but was not asked for the hostname as on previous occasions.
    I then went for a total new fresh install but I was not asked for a hostname on trying to use sys-unconfig to install the hostname it somehow on reboot would not load the screen.
    I am as typing this on another fresh install of 10 but I have not been asked to give the hostname or domain. This implies when the new install runs it will be as "unknown".
    Can anyone point me in the right direction to getting a hostname now that I have cracked the network and Samba.
    It appears in my very limited knowledge of Sun and Solaris that the hostname and domaon name are not part of a new software install but are read by the software from somewhere else otherwise why should it miss out on these two crutial pieces of information.
    Your help would be much appreciated

    Put the desired hostname in the /etc/nodename file, then edit the /etc/default/dhcpagent file and remove "12" from the PARAM_REQUEST_LIST which can be found in the bottom of the list.
    The /etc/nodename controls the hostname of the machine, the dhcpagent file instructs your DHCP agent what information it should get from the DHCP server, 12 indicates that it should ask for a hostname, if no hostname is found it will use "unknown".
    Personally i'm not much in favour of sys-unconfig, but ive also noticed that a lot of people here likes it..

  • Web service invocation problem on host hostname and port 8000 protocol : http logical port name : LP_WS_SMDAGENT_MONITORING

    hello colleagues,
    In the phase Connect Diagnostics dont show the Agent available in SLD, but when go to SLD i have the agents,
    Error,
    Connect Diagnostics Agent
    The table does not contain any data
    Agent availables in all SLD
    SOAP:1.007 SRT: Unupported xstream found: ("HTTP Code 401 : Unauthorized")
    Web service invocation problem on host hostname and port 8000 protocol : http logical port name : LP_WS_SMDAGENT_MONITORING
    Thanks

    OK, then pls follow below steps;
    - Go to step 'Create Users' in solman_setup System Preparation scenario and make sure the user SM_INTERN_WS has a green status. Use the 'Test Login' button to make sure the user is not locked and has correct credentials maintained in solman_setup
    - Immediately after checking the user status, navigate to Configure Connectivity->Enable Web Services and execute again the 'Create Logical Ports' automatic activity, in order to propagate the correct credentials to the Logical Port definitions.
    - If the above operation is not successful, repeat the two steps above, providing a different user Id in 'Create Users' step, eg SM_INTERN_W1. This will prevent situations where the user gets locked by Logical Ports using an obsolete password.
    Let me know the results.
    Regards,
    Vivek

Maybe you are looking for

  • Indesign CS4, CS5.1, CS5.5 all crash when saving files

    Hi, One of our users is experiencing a crash when trying to save files in InDesign.  He has OS X 10.7.  This occurs in the CS4, 5.1, and 5.5 versions - all three versions he has installed on his computer.  We ran font finagler which has resolved issu

  • Using laptop as second display

    I was wondering if I can use my laptop as a second display in conjuction with my iMac i3 21.5 3.06. The laptop I would like to use is a acer aspire 5570z. Thanks Message was edited by: RKBarnes

  • Powershell, Exchange 2010 - Sent and Received emails by domain to CSV

    I think I almost have what I want but I can't figure out the last bits.  Hoping someone can help. This code does produce the results I want but I would prefer to have EventID send or EventID Receive in one line but can't figure out how to get the syn

  • New Iphone 5 No srvice at all

    Hi guys last night my iphone 5 lost any signal and i cuold not make any calls or anything else I live in israel and i got my iphone 5 from the USA is ther is someone who can tell me what to do cose im lost PLS.....

  • When I try to install I receive the error 1309?

    The error can be found within the installation log files and is usually related to the need to write to a specific location.  If the installer is unable to write to the expected location this error can occur.  I  recommend trying the steps listed in,