Re: [newbie] Java VM Problems
in a terminal: cd to the directory that has your java install; change to the subdirectory "bin"; type "./java -version" If that doesn't run java and tell you stuff about it, it's either not executable (which suggests you did the install wrong, or not as root perhaps) or really screwed up. Having old versions around can sometimes cause confusion if it finds one binary for java but mismatched libs and .jars. If it does run when you do it like that, then you mistyped your path stuff, or perhaps the thing isn't executable as the user your trying to run the program as. -Original Message- From: Josenildo Marques <[EMAIL PROTECTED]> Sent: Dec 26, 2004 11:46 AM To: newbie@linux-mandrake.com Subject: Re: [newbie] Java VM Problems On Sun, 2004-12-26 at 10:52 +, J wrote: > Hi All, > > I've just installed J2RE 1.4.2_06 on my machine. > > Trouble is, I'm trying to install LimeWire (the P2P program), and I keep > getting told that there is no VM on my machine. Thats crap! I know > full well there is! :-) > > Now, It's installed to /usr/java (where I always used to install it), > and my .bash_profile has been suitably amended for the latest version of > the J2RE. > > I'm at a loss as to why it wont work. > > .bash_profile is pasted below, just in case I have done something wrong > whilst modifying it, although all I have done is changed j2re1.4.2_03 to > j2re1.4.2_06, to bring it up to date with the latest version. > > export JAVA_HOME=/usr/java/j2re1.4.2_06 > export PATH=$JAVA_HOME/bin:$PATH > # .bash_profile > I have the latest LimeWire here and this line on .bashrc export PATH=/usr/java/j2re1.4.2_05/bin/:$PATH -- Josenildo Marques ICQ 289971493 +++ Homepage http://planeta.terra.com.br/arte/cyb/ Fotolog http://fotolog.terra.com.br/imaginis usuário Linux registrado No. 341648 13:43:20 up 10:52, 2 users, load average: 0.16, 0.16, 0.15 ** "A imaginação é mais importante que o conhecimento." Albert Einstein Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Internet connection issue.
/etc/resolv.conf is a configuration file, not an exectutable. What is in it? -Original Message- From: Collin White <[EMAIL PROTECTED]> Sent: Dec 26, 2004 9:31 AM To: newbie@linux-mandrake.com Subject: Re: [newbie] Internet connection issue. On Saturday 25 December 2004 01:20 pm, [EMAIL PROTECTED] wrote: > What does /etc/resolv.conf look like? Did you by chance install tmdns when > you were adding packages? This sounds like a DNS problem. It may be that > one of the name servers in resolv.conf is not returning valid IP > addresses, but is returning something. (No responce form a name server > would resultiung in a delay of about 90 seconds while it times out, plus > however long the next one takes...) > > Mikkel When I do /etc/resolv.comf from root, I get a message saying "bash: /etc/resolv.conf: Permission denied" How can I see what it contains? The lack of connection is not a time out issue; that is an error message is returned immediately rather than after a pause. I have bind installed, but not tmdns. Are there any other programs which may be causing conflicts? Thanks, Collin Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Help for MrPostman : Java Problem!
You don't have a java problem, you have a path problem. Modify your path to point at the directory that contains the java binaries (probably something like /j2sdk1.4.2_06/bin or similar) and you'll be in business. Cheers, Simon -Original Message- From: Hemal Detroja <[EMAIL PROTECTED]> Sent: Dec 21, 2004 6:26 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [newbie] Help for MrPostman : Java Problem! Hi As Java is the basic dependency for MrPostman, I installed j2re-1.4.2_06-fcs from www.sun.com! Is it the same as JVM If so, then still I am not able to run java! I am getting "bash : Java : Command not found" as follows: [EMAIL PROTECTED] xxx]$ java -version bash: java: command not found [EMAIL PROTECTED] xxx]$ Do you know what should I install to get java going on my computer for Mrpostman. Raj. --- John Layt <[EMAIL PROTECTED]> wrote: > On Sun, 19 Dec 2004 15:53, Hemal Detroja wrote: > > Hi, > > > > Can anyone please help me to set up Yahoopops on Mandrake 10.1 > > Official ? > > > > Here is code, see if you have anything to offer! > > > > Thanks in advance. > > > > Raj. > > Dunno about that, but I've had better success with MrPostman at > http://mrpostman.sourceforge.net/, which not only gives you Yahoo, > but > Hotmail too. It's in Java, so you only need a JVM installed, no > compiling > required. > > John > > > > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com > Join the Club : http://www.mandrakeclub.com > > __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] How to compare two files?
diff compares text files, cmp compares binaries. Cheers, Simon -Original Message- From: Rodolfo Medina <[EMAIL PROTECTED]> Sent: Dec 17, 2004 2:33 PM To: [EMAIL PROTECTED] Subject: [newbie] How to compare two files? Hi. Suppose that a large text file has been slightly modified by another person, and I want to find out 'a posteriori' what changes were done. Is there a linux command (or set of commands) that can compare the two files and tell what lines are different from one another? Thanks, Rodolfo Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] /bin/sh: bad interpreter
The syntax that works for you ("sh xyz") says "start a shell, and have that shell read this file, and follow the instructions in it". To do that, you must have read permission for the file. By contrast "./xyz" says "execute this file" and for that, you must have execute permission :) These two really are handled differently, in the first case, you'll get by without the "#!/bin/bash" at the first line of the file, in the second case, the kernel loads the file, then examines it to determine _how_ to execute it (parsing, as it does so, the #!/blah, which tells it that it has a script and what interpreter to invoke). What seems really odd to me is that every other shell I've ever used (including, I thought bash in the past/on other Unixen) say "cannot execute" if they find the file you name as $0 on a command line doesn't have execute permission for you. So, this error is really bizzare in my book. But whatever, once you know, you can handle it, right? Cheers, Simon -Original Message- From: Paul Smith <[EMAIL PROTECTED]> Sent: Dec 13, 2004 4:55 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] /bin/sh: bad interpreter On Sun, 12 Dec 2004 20:42:47 -0700 (GMT-07:00), Simon Roberts <[EMAIL PROTECTED]> wrote: > Bad interpreter is the error bash gives when the script isn't executable. > > Do > > chmod +x LinxuxInstaller.bin > > and it'll probably be happy. > > (Anyone know why it does this strange thing?) Simon, It is strange, as if I go to the directory where LinxuxInstaller.bin is and I do sh ./LinuxInstaller.bin LinxuxInstaller.bin runs! Paul Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] /bin/sh: bad interpreter
Bad interpreter is the error bash gives when the script isn't executable. Do chmod +x LinxuxInstaller.bin and it'll probably be happy. (Anyone know why it does this strange thing?) Cheers, Simon -Original Message- From: Paul Smith <[EMAIL PROTECTED]> Sent: Dec 12, 2004 9:52 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] /bin/sh: bad interpreter On Sun, 12 Dec 2004 10:28:31 -0600, Mikkel L. Ellertson <[EMAIL PROTECTED]> wrote: > > I am trying to install a program using the following command inside a > > the script installMapleLinuxSU: > > > > sh ./LinuxInstaller.bin > > > > but I get the error: > > > > bash: ./installMapleLinuxSU: /bin/sh: bad interpreter: Permission denied. > > > Check if LinuxInstaller.bin is a script, and if it is, look at the first > line. It should be #!/ where is the interpreter > for running the script. One problem that is still fairly common is that > the full path will be provided, but it will be the wrong one for your > system. If it is /usr/local/bin, try changing it to /usr/bin and see if > it works. Or you can run "witch " where is the > interpreter without the path. This will return the path if the command > can be found. Thanks, Mikkel and Todd. Meanwhile, by running LinuxInstaller.bin directly, I was able to install the software I wanted to install. Paul Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Sound system compatibility
Many thanks Frans, this moved me forward a lot. I've got my hands on an Edirol UA-3FX, which--as Murphy would insist--isn't on the list! Given that pretty much all the Edirols seem to be listed as working, I'm hoping this might just be a newer device that hasn't been tried yet. So I plugged it in, but I don't know how to access it. I tried some of the sound players, hoping they'd have some option that would say "hey, which of these sound devices do you want to use?" but they just kept on playing out of the built-in sound system that's on the motherboard. Does anyone know where I should be looking for config info to tell the audio tools to look for this thing (assuming, of course, that it's acually doing it's thing). I looked for a "USB howto" on the ALSA site, but haven't found any mention of it (there is a USB/MIDI howto, but I'm not into MIDI, I want to record "live" sound) Thanks again -Original Message- On Friday 10 December 2004 23:49, Simon Roberts wrote: ... > I would like to use a USB sound system on MDK 10.1. Are these systems > built to a standard, such that "any" USB sound card will work, or > does each have it's own proprietary driver protocols, such that none > of them will work? ... http://www.alsa-project.org/alsa-doc/ says: All USB devices that are standards compliant will work. If they do not please report to the mailing lists. http://www.alsa-project.org/alsa-doc/index.php?vendor=vendor-Roland_Edirol#matrix lists the Roland/Edirol devices. HTH, -Frans Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
[newbie] Sound processing: Center removal
Can anyone tell me which (if any) of the many sound processing tools can do "center removal" under MDK? My daughter wants to sing Karaoke to some stuff, and I'd like to get the lyrics out. Cheers, Simon Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
[newbie] Sound system compatibility
Sorry to ask this, as it's probably in the HW compatiblity lists if I only knew what to look for. I would like to use a USB sound system on MDK 10.1. Are these systems built to a standard, such that "any" USB sound card will work, or does each have it's own proprietary driver protocols, such that none of them will work? The one I like the look of is made by Edirol, and can do 24 bit conversion at up to 48Khz, it also has some funky features that I'm not so worried about if they can't be made to work. Is this likely to be workable, or are USB sound systems to freaky to contemplate? Cheers, Simon Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
[newbie] Windows "Security"
> From: "H.J.Bathoorn" <[EMAIL PROTECTED]> ... > On Thursday 02 December 2004 10:26, Kaj Haulrich wrote: > > Maybe I'm paranoid, but after that experience we don't allow her > > Windows box contact with anything outside her room. > You are;) Confined to the LAN can't really hurt can it, especially with > static > IP and a dedicated router/firewall. I broadly agree that if you have a simple firewall (the typical NAT setup is probably enough) between your windows and the big bad world, you're not going to be too badly off. But, and it's a big but, the thing this doesn't address is the horrors of "ordinary users" using email and web-browsing. These horrors are compounded by the default configuration of many of the tools they use (notably IE and Outlook). These things will, by default, download and execute various things you probably didn't want. This is compounded by the average user's response to the typical security warning which they read as: Blah blah blah, if you want this to work, you have to press "OK" Instead of Blah blah, this guy seriously wants you to trust your entire machine and everything on it to him. Just how well do you know him again, that you'd let him rummage in your bank and tax records, and all your dirty laundry? Clearly this function isn't worth it, right? But, if you browse/email sensibly and turn off all the clever stuff (or at least have it prompt you and say no if you can) then yes it's not too terrible. (HAve you seen how many web-pages launch some kind of script or active-x that has no significant impact on the page you're looking at? I'd guess almost 1 in 3. I have my browser--rather irritatingly--set to prompt before executing anything, and about the only time I let it do anything is when I'm downloading a PDF, which it considers in the same category as any other script. You get used to hitting "No" which fortunately is the default on this browser. Cheers, Simon Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] (OT) I hate to be asking this... (Windows Related)
Build him a firewall out of a $150 PC (P-III 400 or similar), or use one of those router/switches that includes NAT. The D-Link ones, with an 802.11b wireless thing and NAT are about $50, and will probably keep a lot more out (leave the wireless disabled unless you really want it) than you'll be able to do with hardening windows yourself. I take it he's not a game player looking for P2P connectivity (which many of these NAT boxes can handle tolerably well, but it'll reduce their effectiveness some I think). Otherwise, there's a fairly reasonable couple of books from Osborne/McGraw Hill in the "HackNotes" series. One is called "Network Security" and the other one "Windows Security." They seem to enumerate most of the known weaknesses and advise on how to handle them. The big problem seems to me to be that if you don't put a firewall up, you'll end up shutting down so many services that the system probably won't be as useable as he'll want. Of course, the firewall-only solution won't handle the massive insecurities of email and web-browsers in unwise hands. A little education might help him, along with virus scanners and spyware detectors. Good luck, you're probably going to need it ;> Symantec has a useful "test yourself" scanner that you can launch at yourself from a web browser which will warn of some of the worst excesses (again, excluding email and web pages that install nasties) that are common in Windows systems. (You'll find that you show up clean to their tests simply by installing that NAT box). HTH, Cheers, Simon -Original Message- From: Amy <[EMAIL PROTECTED]> Sent: Dec 1, 2004 4:33 PM To: 'Drake Newbies <[EMAIL PROTECTED]> Subject: [newbie] (OT) I hate to be asking this... (Windows Related) Okay, so here's what's going on. I had ~thought~ I'd sold my dad on letting me install Mandrake for him instead of windows when we formatted his box to take care of the serious infestation he has going in the thing... however, since I'd gotten him to agree, he's changed his mind *Grumbles* So now I'm stuck with the evil and daunting task of reinstalling windows and securing it so it doesn't get reinfected. Ug. So what I need from you guys? I remember there was a thread where one of the members of our list was struggling with a windows computer for something school related for his daughter. In the process of the discussion, someone mentioned a site that one could download all the windows updates from one spot (SP2 not included, I hope) so I could download it on my mandrake box, and burn it to CD so I don't have to plug my dad's computer into the Internet until I've got updates, firewall/s, anti-virus program/s and Spyware Removal tool/s installed and all the extra dren from HP that's not needed removed. I tried searching the archives, but my search engine skills have never been strong, especially when I'm using anything other than google. So if someone could provide me with a quick link, I'd be grateful. Though, I suppose, the other option is to just not bother, do a clean install as HP instructs, and wait for the box to frell itself again, and drive my dad to switching to Linux (or at least to buy a mac). But as much as I'm sure some of you would rather encourage me to try the latter option, I don't like the idea of all the extra work needed for that, since it'll require the windows install, then the backup process again, then the fresh mandrake install. And since this is an HP box, I'm not sure how much of it is windows only sorts of hardware. All it takes is my dad not being able to use one part of his computer he needs, and he'll throw a fit and just go and buy a new windows machine. Bah. Thanks in Advance, Amy ~~ >^..^< ~~ I'm a gmail user! I'm still waiting on them to listen to my request to allow me to disable my reply-to field. If you get this message via a mailing list, please double check the to field before sending your reply. Thanks much! ^_^ ~~ >^..^< ~~ http://deathkitten.net "Words are, of course, the most powerful drug used by mankind." ~Rudyard Kipling "Several friends have asked me if I will again leave the country. In light of the failure--a second time--to count all the votes, that won't be necessary. My country has left me." ~Greg Palast Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
[newbie] Thanks Re: Where are the compilers etc.?
Wonderful, thanks. I had gtk+2 but not libgtk??!! So what I "knew" I had installed wasn't what it wanted anyway. Thanks for the help with the urpmi command, and to Anne for the link to the Wiki site. My compile seems to be running now, so fingers crossed I should be OK now. Thanks again to all, Simon -Original Message- From: Björn Lundin <[EMAIL PROTECTED]> Sent: Dec 1, 2004 11:37 AM To: [EMAIL PROTECTED] Subject: [newbie] Re: Where are the compilers etc.? Simon Roberts wrote: > Many thanks for input received, I've moved forward some. (I had entirely > missed the urpmi tool; very useful.) > > I've now installed gcc-c++, kernel sources of the correct version, gtk+2, > and all the dependent things that urpmi added to the list. When I say: > > urpmi glib > > or > urpmi glib2 > > I'm told that everything is already installed. However, I still have no > "glib*.h" anywhere, and ./configure still complains that GTK+ and GLIB are > not installed (or are installed incorrectly). > > There's a config.log file that might tell more about it. If anyone's > willing to take a look I'd be happy to send that on. > > Can anyone offer any more suggestions? > Did you install the header rpms ie libgtk+2.0_0-devel? try urpmi --fuzzy gtk 2>&1 | grep devel for other packages. Or if you know what the missing file is called: urpmf which gives you the package example, I'm looking for the package containing 'libgnat.a' [EMAIL PROTECTED] bnl]# urpmf libgnat.a gcc-gnat:/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.2/adalib/libgnat.a that is, I can find it in 'gcc-gnat' -- /Björn --- http://lundin.homelinux.net Registered Linux User No. 267342 <http://counter.li.org> Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Where are the compilers etc.?
Many thanks for input received, I've moved forward some. (I had entirely missed the urpmi tool; very useful.) I've now installed gcc-c++, kernel sources of the correct version, gtk+2, and all the dependent things that urpmi added to the list. When I say: urpmi glib or urpmi glib2 I'm told that everything is already installed. However, I still have no "glib*.h" anywhere, and ./configure still complains that GTK+ and GLIB are not installed (or are installed incorrectly). There's a config.log file that might tell more about it. If anyone's willing to take a look I'd be happy to send that on. Can anyone offer any more suggestions? Cheers, Simon -Original Message- From: "H.J.Bathoorn" <[EMAIL PROTECTED]> ... > I've installed Mandrake 10.1, and was attempting to build some software on > it that demands glib.h. I can see that glib2 is installed, but there's no > header file for it anywhere on the system. ... Did you install your kernel sources?you need those! Do "uname -r" to find out what kernel you're running and get the fitting kernel-source package.. NOT the srpm! -- Good luck, HarM Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
[newbie] Where are the compilers etc.?
Greetings all, I have probably missed something obvious, as I fear this is a really simple question: I've installed Mandrake 10.1, and was attempting to build some software on it that demands glib.h. I can see that glib2 is installed, but there's no header file for it anywhere on the system. I fetched the most recent glib2 source distribution and tried to compile it, but it complains that I must have gettext too. I fetched that and tried to compile it, and it complains that it can't find the g++ compiler (or any other C++ compiler for that matter). I looked around, and it's telling the truth, the gcc compiler is in place, but there's nothing for g++. I used the three disk "community" edition set for 10.1, and I told the little config screen that I wanted the development tools, compilers, documentation, well, everything on that dialog box actually, and the glib, glib2, and glib-devel rpms are all installed, but still no glib.h and no gcc. Can anyone tell me what I have missed please? Cheers, Simon Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com