Recently, I've been tasked with a bit of db stuff that uses a vpn and java client (I don't think I can talk too much about it). The java client runs fine over the ciscovpn connection on an xp machine, however my problem is running it on Linux: the application successfully connects to the server over vpn to download the application, however it then throws an error about RMI being unable to connect later, and to check if the RmiServer is running...
I don't know too much about the application, other than its made by UC4 (Intelligent Service Automation), however if the following stack trace is helpfull:
Code:
java.net.SocketException: Network is unreachable
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
I am running a java application on centos. For now I have a gsm modem connected via the the usb cable. Below is the message I get when I type the command dmesg | grep tty
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A 00:0c: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A usb 2-2: pl2303 converter now attached to ttyUSB0
I have been trying to install Alice on the latest version of Ubuntu but keep getting java and or Alice errors. Have not yet found a version set up for Ubuntu and nothing shows up in the repositories.
I've just installed java (jre-6u21-linux-i586.bin) on Red Hat 4.4 AS and issued this command to check the java version: java -versionand got :bash :java: command not found
I am running Valgrind on my program. It shows me two errors but mentions only addresses against them and not actual code even on a debug build.
The output is
==23002== Memcheck, a memory error detector. ==23002== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==23002== Using LibVEX rev 1575, a library for dynamic binary translation.
If you are interested, Java SE 6 Update 24 is available. The Check Java Version link in my signature will tell you if you are up to date or not. The Update Java Version link in my signature will tell you how to obtain and install the latest version. The 32 bit version install directions are on the left side of that page and the 64 bit instructions are on the right side.
Just remember to remove the current version before installing the new one as it says in the instructions. The remove instructions are below the install instructions. Also, in Step 9 - "Now you'll want to tell the system, that there's a new Java version available." See the note below it that says if you get an error upon entering the command once, enter it a second time. I have to do that and sometimes forget. Just thought I would mention that. These instructions are already setup for version 6 update 24, but they can be modified for any update and they will work. I have been using these instructions for a couple of years and they work.
I have recently upgraded to the new ubuntu 11.04 but am having problems with the internet. Often When I try to access a website it takes a long time (5-10 minutes) to load even google, and sometimes I just get the following error message: This web page is not available. The server at google.com can't be found because the DNS lookup failed. DNS is the web service that translates a website's name to its Internet address. This error is most often caused by having no connection to the Internet or a misconfigured network. It can also be caused by an unresponsive DNS server or a firewall preventing Chromium from accessing the network.
Here are some suggestions: - Reload this web page later. - Check your Internet connection. Reboot any routers, modems or other network devices that you may be using. - Check your DNS settings. Contact your network administrator if you're not sure what this means. - Try disabling DNS prefetching by following these steps: Go to Spanner menu > Preferences > Under the Bonnet and deselect "Use DNS pre-fetching to improve page load performance". - Try adding Chromium as a permitted programme in your firewall or antivirus software's settings. - If it is already a permitted programme, try deleting it from the list of permitted programmes and adding it again. - If you use a proxy server, check your proxy settings or check with your network administrator to make sure that the proxy server is working. - If you don't believe that you should be using a proxy server, try the following steps: Go to Spanner menu > Options > Under the Hood > Change proxy settings and make sure that your configuration is set to "no proxy" or "direct". Error 105 (net::ERR_NAME_NOT_RESOLVED): Unable to resolve the server's DNS address.
I have tried to access the internet using Chrome, Firefox, Konqueror, on the Untiy Desktop, and the Classic Desktop. I've checked my Proxy settings in Chrome (My main browser) and its set to direct internet connection. I've Disabled the UFW. I've edited the resolv.conf which initially showed:
Code: # Generated by NetworkManager domain HG532.com search HG532.com nameserver 10.0.0.1 and edited it to:
Code: # Generated by NetworkManager domain 10.0.0.1 search 10.0.0.1 nameserver 10.0.0.1 and even tried the Google DNS server:
But nothing works. It seems like When I initially log on to the internet it runs fine, but over the coarse of 10 minutes the page loading times go down then eventually I just get the above error message. There are other computers here running windows which connect through the same wireless fine.
I try to install the java plugin but the java test pages show not installed. I have tried the openjdk-6-jdk package and the Oracle/Sun 1.6.0_26 version to no avail.
Is there some good instructions page someplace? I have yet to find a set of instructions that provides something clear that works.
Code: ~ $ /usr/java/jre1.6.0_25/bin/java -showversion Error occurred during initialization of VMjava/lang/NoClassDefFoundError: java/lang/Object
That's the error I get. When trying to run a java app with the firefox plugin, the browser simply crashes if it's the 64bit java or tells me it's not installed if it's the 32bit version.
I'm at a loss as to what to do. I think it has something to do with leftover gunk from a previous version I misinstalled(Is that even a word?) Anyway, the only thing that google could come up with was a solution for windows which laid blame on Bill Gates for having a bunch of pf (java prefetch) files stuffed into c:windows for no apparent reason. The solution was to delete them, but I can't seem to find the java prefetch folder in linux. The method I used is downloading the rpm from java.com the rpm2tgz then installpkg then cp libnpjp2.so to firefox plugins folder.
I am using KVPNC (recommended by the VPN owner) on Ubuntu 9.10 using my Universities direct Ethernet connection.
I have downloaded all the .ovpn scripts to a directory. I have downloaded KVPNC from the repository (apparently for 9.10 you do not download from the KVPNC website).
I then use sudo kvpnc and select a server (since there are many based on the .ovpn files).I click connect and the script works and tells me I have a connection. See below for an example. All appears to work.
But when I actually load any Internet program e.g. Firefox it cannot find a website.This happens for all servers which have different locations around the world.When I disconnect KVPNC I still have no access. I have to remove the Ethernet cable before it works again.
debug: Connect try requested, profile: Stockholm, type: OpenVPN debug: openvpn: /usr/sbin/openvpn debug: Support for TUN/TAP found (compiled into kernel or kernel module already loaded). debug: Default interface: "eth0". debug: IP address of default interface: "my IP address". code....
I realise there are errors e.g. the /etc/resolv.conf must be a symlink but have tried doing this and still have exactly the same issues.
This appears to mount correctly, however there are some filenames on the server with the bullet character() in their name, and by mounting via fstab, the bullet shows as a question mark, but mounting from nautilus shows the bullet.
Anyway I can mount with fstab, and have all characters show properly in the filename?
I am trying to install usb wireless network card drivers on to lucid. I didnt think i was soo much a noob but it has come apparent to me now.Anyway when i use 'sudo make' i get errors that i do not understand.
I've been trying to follow this tutorial: [url] to get my Belkin F5D8053 Wireless Adapter working. I get so far as using the "make" command, but then encounter an error. This is the full terminal results:
I have a Lenovo Thinkpad SL510, with a "Realtek RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)" wireless adapter, on Ubuntu 11.04 x64. When I run updates, I get many resolve errors "Something wicked happened resolving us.archive.ubuntu.com," and other errors like that.Also, the internet connection runs incredibly slowly, and a lot of my downloads through firefox freeze and fail. I'm wondering if all of these problems are connected. Here are the contents of /etc/resolv.conf
This is my first post and I'm pretty new on Debian. I had used Ubunu for a while now and I've decided to move on Debian Squeeze.But I've one problem: I've a Java programm to install and the installer is GUI Java based. When I run the script, I've the next message:
Preparing to install. Extracting the JRE from the installer archive.Unpacking the JRE.Extracting the installation resources from the installer archive.Configuring the installer for this system's environment.Launching installer Graphical installers are not supported by the VM. The console mode will be used instead. Preparing CONSOLE Mode Installation. But this program is not able to run the installation in console mode.
I've tried to install sun-java6-jre but without success.Has anyone an idea to help me install this programm? My Configuration: Debian Squeeze 6.0 amd64.
Java is installed in linux machine and when I enter the command java -version it shows java is not found.At the same time when i run from the folder where its installed with ./java -version it works.
first of all why its not working from any other place? also why do I need to give ./ from the folder?
My spouse bought me a Seagate BlackArmor NAS 110 recently, and I finally had time to connect it to our home network. I have samba installed, and my linux box (opensuse 11.1) can see the NAS, but when I try to open the network connection I get a "timeout on server" message. I bumped up the network connections, but still no luck. The odd thing is that last night I was able to connect and see the public folders for awhile. And her Windows Vista computer seems to connect without a problem after using the seagate software.
I'm no network admin, and have exhausted my resources on this.
I am quite newbie with Linux networking and I want to know if there exist a log in Linux where errors during transfers are stored. I mean, when I'm transferring data between two hosts is there any way to log somewhere (where?) the errors or warning during the transfer? That is, connection failures, TCP or UDP errors, etc.? Is there any "log level" to select the errors to be displayed in the log not to work with a huge log file?
I have one laptop running under Windows and another under Linux. I can access and surf the internet on both computers. But the Linux laptop is painfully slow.
If I ping my gateway the Windows lappy does in in 1 ms but the Linux in 20ms. iwconfig reports errors under Rx invalid crypt, tx excessive retries and huge numbers under invalid misc, and nothing on the rest.
The router is encrypted with WEP and iwconfig reports the correct key.
i am useing a D-link wireless usb adapter .i put it in to the usb port and tryed installing useing the diskand when i click auto run or setup.exe file all i get is errorsi have been trying everything posable but no luck.i dont have a sweet clue about this OS lolmy first time useing ituseing a gigabit mobo8800 gforce vid card2.9 ghz prosesser cor 2 duo650 psu newest ubuntu OS i would like to add that its not picking up any think i plug in to the usb ports
After upgrading java (jre) to 1.6.0_19, the java plugin no longer loads into Firefox. All the rest of my plugins from /usr/lib/mozilla/plugins/ load fine.Java can be a pain such a pain the neck!
I don't know if the title is a correct description of the problem I have. I registered a domain name in godaddy, created a subdomain name and pointed it to some name servers. After some time, I moved my website so I change the name servers of this subdomain name. But the problem now is it is still pointing to the old name servers. Everytime I visit the website in my computer, I get errors. But I try it in another computer, I works. So I suspect there is something left in my computer that still tells my browser to go for the old name server. I've cleared cache and temporary files of this browser but it still does not change.
Some time ago mine logs start to show this message
Apr 23 11:03:01 xxxxx kernel: [38048596.800691] martian source 192.168.0.87 from 217.15.41.137, on dev eth1 Apr 23 11:03:01 xxxxx kernel: [38048596.800691] martian source 192.168.0.87 from 217.15.41.137, on dev eth1 Apr 23 11:15:02 xxxxx kernel: [38049523.750307] martian source 192.168.0.87 from 217.15.41.137, on dev eth1
SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for SNMPv2 entities SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for managing TCP implementations SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for managing IP and ICMP implementations SNMPv2-MIB::sysORDescr.5 = STRING: The MIB module for managing UDP implementations SNMPv2-MIB::sysORDescr.6 = STRING: View-based Access Control Model for SNMP. SNMPv2-MIB::sysORDescr.7 = STRING: The SNMP Management Architecture MIB. SNMPv2-MIB::sysORDescr.8 = STRING: The MIB for Message Processing and Dispatching. SNMPv2-MIB::sysORDescr.9 = STRING: The management information definitions for the SNMP User-based Security Model.
I'm running Ubuntu 10.10. I have a problem with any client side network communication from any java based program/application. I've tried to run the following code:
Code: public static void main(String[] args) throws Exception { long start = System.currentTimeMillis(); Socket s = new Socket("ubuntuforums.org", 80); System.out.println("1. connection created in "+ (System.currentTimeMillis() - start)/1000.0 +" s"); s.close(); start = System.currentTimeMillis(); s = new Socket("ubuntuforums.org", 80); System.out.println("2. connection created in "+ (System.currentTimeMillis() - start)/1000.0 +" s"); s.close(); }
The result is the following: Code: 1. connection created in 189.31 s 2. connection created in 0.085 s
I've tried both java-1.6.0-openjdk and java-6-sun-1.6.0.24 with almost the same results. During the extremely long 189 seconds, the processor is doing almost nothing (java thread has 0 %). I've tried also a wireshark to check what is going on, but the first packet was released after those 189 seconds. There is nothing in log files, I have no exceptions or errors, and the connections work (after the first long delay) just fine.
QUESTION: Where do I add "pppd nomagic" to stop analog modem loopback errors? (I am using Gnome PPP.)BACKGROUND INFO:I am using Ubuntu LTS 8.04 on a laptop and have an analog modem connected via USB serial cable. The 8.04 dialup and the analog modem work flawlessly.Modem disconnects when using Ubuntu LTS 10.04.1 Live USB:I am testing LTS 10.04.1 on a live USB drive that I purchased preinstalled from On-Disk.On the live USB drive, I am able to get a dialup connection with my ISP long enough to pull up a web page with the browser. However, the analog modem disconnects within minutes with exit codes 16 or 17.an pppd:16 The link was terminated by the modem hanging up.The PPP negotiation failed because serial loopback was detected.