Linux-Setup Digest #835, Volume #19 Mon, 16 Oct 00 02:13:07 EDT
Contents:
Re: Bizarre shell problem. NO WAY (Vilmos Soti)
Re: Bizarre shell problem. NO WAY (Black Dragon)
AMD Athlon Thunderbird and Asus A7V Mobo running Linux???????? (RB)
Re: VMware on Linux ("Michael Perry")
Re: Minimal embedded linux? (Bob Thompson)
Re: Cloning RH HDD (E J)
Re: Where do "Programs" go? (Chris Ahlstrom)
Linux + StarOffice 5.2 + TrueType (Jack Orenstein)
Re: Bizarre shell problem. NO WAY (Paul Kimoto)
Re: Please help me move on with the rest of my life - please
([EMAIL PROTECTED])
Re: VMware on Linux (Loren Brookes)
Re: Bizarre shell problem. Please help ("Jeff")
Re: VMware on Linux (Zebee Johnstone)
Re: I need ip port forwarding help (craig)
----------------------------------------------------------------------------
Crossposted-To: comp.os.linux.misc
Subject: Re: Bizarre shell problem. NO WAY
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Mon, 16 Oct 2000 02:44:45 GMT
>>> Check with ldd which libraries this program uses. There is a good
>>> chance the loader cannot find one library.
>>
>> OK! Let me begin from the beginning. I try to run the file
>> ...
>> like this
>> [root@seawifs lnx86]# /usr/local/matlab5/etc/lnx86/lmhostid
>> bash: /usr/local/matlab5/etc/lnx86/lmhostid: No such file or directory
>> ...
>> This problem is clearly beyound my limits.
>> Please help me!
>
> You tried all the right things... and it still doesn't work. My
> guess is that the file looks enough like an executable to make
> "file" think it is ("file" only looks at the first few bytes),
> but is actually damaged or corrupt beyond that point. When you
> straced, execve got it and probably returned ENOEXEC (Exec Format
> Error) when it tried to load it. So, is there any way you can
> check the integrity of the file? I assume you didn't compile it
> yourself; can you compare checksums (cksum) with whoever did?
This is a very good advice. I would also add that make sure that
there is not a bad disk block under the file. Also, make sure
that the file is not located on a filesystem which was mounted
with the noexec flag.
However, I have to admit that it is strange that even ldd doesn't
show the libraries.
Vilmos
------------------------------
From: [EMAIL PROTECTED] (Black Dragon)
Crossposted-To: comp.os.linux.misc
Subject: Re: Bizarre shell problem. NO WAY
Date: Mon, 16 Oct 2000 02:52:08 GMT
On Mon, 16 Oct 2000 00:02:24 GMT in comp.os.linux.setup,
<[EMAIL PROTECTED]> `Servet Ahmet Cizmeli' said:
>OK! Let me begin from the beginning. I try to run the file
>
>[root@seawifs lnx86]# ls -l /usr/local/matlab5/etc/lnx86/lmhostid
>-rwxr-xr-x 10 106 users 219264 Oct 31 1997
>/usr/local/matlab5/etc/lnx86/lmhostid
No guarantees here. . .
Check the file attributes with "lsattr". A file with an `a' attribute
can only be opened for writing, and only root can change it.
See also: the man pages for "lsattr" and "chattr".
--
Black Dragon
------------------------------
From: [EMAIL PROTECTED] (RB)
Subject: AMD Athlon Thunderbird and Asus A7V Mobo running Linux????????
Reply-To: [EMAIL PROTECTED]
Date: Mon, 16 Oct 2000 03:04:03 GMT
Can anyone please tell me if they have information relating to the
Asus A7V Motherboard & AMD's Athlon Thunderbird 800Mhz processor used
together to run Linux?
My install of Linux Mandrake 6.0 and 7.0 failed numerous times. It
seems to want to start but just as it starts printing out the load
sequence/procedure onto the screen at the LILO initial bootup it
freezes after about 20 lines. One line I will always remember mentions
this persons name.. "...Richard Gooch".
I've installed Linux several times before and didn't think I'd still
be at trying to install the OS. I figured I'd be onto learning Gnome
by now but this is really hanging me out to dry. Can anyone please
help me understand if I'm doing anything wrong here?
Much thanks in advance for sure if anyone could help me.
Rbh
------------------------------
From: "Michael Perry" <[EMAIL PROTECTED]>
Subject: Re: VMware on Linux
Date: Sun, 15 Oct 2000 16:39:58 +0700
In article <[EMAIL PROTECTED]>, "Loren Brookes"
<[EMAIL PROTECTED]> wrote:
> You *must* install windows on vmware's virtual machine from scratch.
> This means formating it's virtual disk, everything ! You can *not* use
> vmware to run a "real" installation of windows.
>
> Loren
>
> On Sun, 15 Oct 2000, Andrey Shipsha wrote:
>>Hello,
>>
>>First I appologise if this message is beyond the scope of this
>>newsgroup.
>>
>>I'd like to give a try to VMware because I need to run a few Win
>>applications from Linux. I have downloaded the evaluation copy of VMware
>>for Linux but I can't figure out how to get Windows 98 started...
>>
>>I have a dual drive and dual system machine. Win98 is installed on
>>/dev/hda. Linux happily lives on /dev/hdb. I ran through the config
>>wizard. After that I powered on the Virtual machine. I could see the
>>start screen with RAM and hardware checking but then VMware reported
>>"Operating systen not found"... What else I have to do to start Win98
>>using Vmware?
>>
>>Any hints would be appreciated.
>>
>>Cheers,
>>
>>Andrey.
This is not true whatsoever. You can use a "raw disk" with VMware.
You can find out how to access raw disk partitions by visiting
www.vmware.com and searching on raw disk or something like that. This
has been a feature of VMware since 1.0.
--
Michael Perry
[EMAIL PROTECTED]
==================
------------------------------
Date: Mon, 16 Oct 2000 11:21:33 +0800
From: Bob Thompson <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: aus.computers.linux,comp.arch.embedded
Subject: Re: Minimal embedded linux?
There's a book here http://www.linuxfromscratch.org/download/book.php
which tells you how to build your own distro - might be helpful.
Bob
Zebee Johnstone wrote:
> In aus.computers.linux on Sun, 15 Oct 2000 19:22:33 +1000
> Russ.Shaw <[EMAIL PROTECTED]> wrote:
> >I had a look at various micro-linuces web sites, but i
> >thought that if they were to 'disappear', i'd be left
> >with an unsupported solution.
> >
> >I'm more interested in methods for making a small linux
> >from a standard distribution. It might not be difficult,
> >but i just haven't done it before.
> >
> >What would be good 'mainstream' distros for doing a shrink?
> >
>
> I wouldn't use a distro, you don't know what decisions the compilers
> have taken.
>
> I'd start with compiling my own kernel, using the minimum options I
> can get away with, and no modules.
>
> Then I'd take the software I wanted to run - say apache - and
> work out what libraries it needed by reading the source. I"d then
> include just those libraries.
>
> And so on.
>
> I'd probably have a dual boot machine, one boot image is a normal
> distro, the other my embedded and I'd switch between them to test
> while getting stuff into the embedded by copying to its bit of disk.
>
> So before I even started with web, I'd have to know what's needed to
> boot the kernel.
>
> Probably examining other people's solutions and contacting them and
> talking about it and getting on mailing lists would reduce the work I
> had to do dramatically.
>
> Zebee
------------------------------
From: E J <[EMAIL PROTECTED]>
Subject: Re: Cloning RH HDD
Date: Sun, 15 Oct 2000 20:25:51 -0700
The latest Norton Ghost can clone linux too according to their webpage.
I assume your new HDD connected to the primary master.
and the old HDD is connected to secondary master.
install a minimum linux on the new HDD.
lilo: single linux
bash# mkdir /mnt/harddisk
bash# mount /dev/hdc2 /mnt/harddisk
copy every directory under root except /boot and /proc
bash# cp -a /mnt/harddisk/bin /bin
bash# cp -a /mnt/harddisk/dev /dev
.....
bash# cp -a /mnt/harddisk/var /var
bash# reboot
If you have a hiccup copying the /lib directory just do it again.
"Adam H." wrote:
> Hi,
>
> I've got a new HDD, and I want to copy everything (including system files)
> from my old HDD to the new one. (In Windows, I'd use a program like Norton
> Ghost). Is their an easy way to do this in Linux?
>
> TIA
>
> Adam
------------------------------
From: Chris Ahlstrom <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux,comp.os.linux.admin,comp.os.linux.help,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.questions,linux.redhat.applixware
Subject: Re: Where do "Programs" go?
Date: Mon, 16 Oct 2000 03:27:00 GMT
Lamar Thomas wrote:
>
> When you install programs on Linux RH 6.2 where do they go? I mean, if I
> were installing a program on Windows it would install to "C:\Programs
> Files\(ProgramFolder".
Not always. The CodeWright programmer's editor, for example, defaults
to C:\CW32
> Where do they go on Linux? I am setting up my first
> Linux system and I want to make sure I leave enough room a the "Right"
> partition for installing my programs. Do they go to the /usr partition?
> Thanks for your help.
Usually into /usr/bin and /usr/bin/man (for the documentation). You can
search for a program using
find / -name programname
and thus know for sure where it was installed. But you can install
them anywhere you want, as long as you have permission, and as long
as they are in tarballs, not rpms. Or so I surmise.
Chris
--
[ ] Click here to trust your soul to Microsoft
------------------------------
From: Jack Orenstein <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x
Subject: Linux + StarOffice 5.2 + TrueType
Date: Mon, 16 Oct 2000 03:43:19 GMT
How can I get TrueType fonts to show up in StarOffice 5.2?
I have these fonts installed and they are being served up properly (e.g. they show up
in Netscape), but StarOffice 5.2 doesn't seem to know about them. The various online
resources worked for 5.1. There appears to be something different about 5.2.
Jack Orenstein
-- This is not a disclaimer --
------------------------------
From: [EMAIL PROTECTED] (Paul Kimoto)
Crossposted-To: comp.os.linux.misc
Subject: Re: Bizarre shell problem. NO WAY
Date: 16 Oct 2000 00:00:43 -0500
Reply-To: [EMAIL PROTECTED]
> [root@seawifs lnx86]# /usr/local/matlab5/etc/lnx86/lmhostid
> bash: /usr/local/matlab5/etc/lnx86/lmhostid: No such file or directory
>
> this file is an executable
> [root@seawifs lnx86]# file /usr/local/matlab5/etc/lnx86/lmhostid
> /usr/local/matlab5/etc/lnx86/lmhostid: ELF 32-bit LSB executable, Intel
> 80386, v
> ersion 1, dynamically linked (uses shared libs), stripped
Please run
$ strings /usr/local/matlab5/etc/lnx86/lmhostid | egrep 'ld.*\.so'
If it replies with the name of a file, see whether your system contains
that file.
--
Paul Kimoto
This message was originally posted on Usenet in plain text. Any images,
hyperlinks, or the like shown here have been added without my consent,
and may be a violation of international copyright law.
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Please help me move on with the rest of my life - please
Date: Sun, 15 Oct 2000 21:28:57 GMT
I actually found that it is better not to encrypt passwords when
working with win98
Dan Allen
On Sun, 15 Oct 2000 12:13:21 +0100, "Dave Stanton"
<[EMAIL PROTECTED]> wrote:
>
>"A-Need-to-Learn" <[EMAIL PROTECTED]> wrote in message
>news:8saavr$q2s$[EMAIL PROTECTED]...
>> Hi Folks,
>> I need a bit of intense help:
>> I can get my Linux to ping my Win98SE but
>> I cannot get Win98SE to ping my Linux by IP and by name in the Hosts file.
>
>Win98 encrypts passwords, you may need to tell samba to accept encrypted
>passwords.
>
>Cheers
>
>Dave
>
>
------------------------------
From: Loren Brookes <[EMAIL PROTECTED]>
Subject: Re: VMware on Linux
Date: Mon, 16 Oct 2000 17:34:15 +1300
Michael Perry wrote:
> In article <[EMAIL PROTECTED]>, "Loren Brookes"
> <[EMAIL PROTECTED]> wrote:
>
> > You *must* install windows on vmware's virtual machine from scratch.
> > This means formating it's virtual disk, everything ! You can *not* use
> > vmware to run a "real" installation of windows.
>
>
> This is not true whatsoever. You can use a "raw disk" with VMware.
> You can find out how to access raw disk partitions by visiting
> www.vmware.com and searching on raw disk or something like that. This
> has been a feature of VMware since 1.0.
>
>
Okay, I was going to mention the raw disk option, but my point was that you
need to install your desired OS from scratch on the VM... plus personally I
think the flexibility loss associated with using a "raw disk", takes from
the advantage of using a *virtual* machine.
Loren
> --
> Michael Perry
> [EMAIL PROTECTED]
> ------------------
--
Loren
------------------------------
From: "Jeff" <[EMAIL PROTECTED]>
Subject: Re: Bizarre shell problem. Please help
Date: Mon, 16 Oct 2000 05:16:54 GMT
or just run it like this from the command line without editing your file
using sh -xve your_file.
Of coarse if you do edit your file (anyfile) you do check it in to RCS first
right? So that you have a backup copy.
man RCS
RCS is a very handy tool especially when you start mucking around with
files. Not only do you get a backup of your file, if you comment your edits
and save after each checkin you endup with a nice revision history. I am
sorry this is a personal point I have to make to anyone before ever
suggesting a way to troubleshoot a file that could cause you heartburn if
corrupted or lost. It is my disclaimer to you that at least I tried to not
just warn you about backing up a file but showed you how to do it.
in the dir where the file exists.
mkdir RCS
ci -l your_file
.
to check out a file from RCS
co -l your_file
OK lets move on ...
sh -xve /usr/local/matlab5/etc/lnx86/lmhostid
(hopefully you have your environment setup so that you don't have to use
this fully qualified path to your app, but to be safe I gave you the command
as you exampled it in a previous post)
Assuming that as the other contributors stated that this is a simple shell
script, you can execute it with sh -xve
-x will show you what is being actually being executed at that time
-v verbose line by line output of the script being as it is executed and
any messages produced
-e will halt execution upon the first error encountered
with this you can "watch" the script execute and then see if it errors out
and where. Look at the line and the command that it errors on correct it
and re-run the script again repeating the process as needed until it
executes without issue.
L8TR
"Spagnet" <[EMAIL PROTECTED]> wrote in message
news:aAlG5.5734$[EMAIL PROTECTED]...
> If the problem is as Loren Brookes describes, open the file lmhostid in a
> text editor and see if the first line is something like #!/bin/bash. If
so,
> edit the file and change this line to #!/bin/bash -x. The -x will enable
> debugging. When the file is ran, you'll see a lot of debugging code
dumped
> to the screen, which should help you figure out if some command within the
> file is causing the problem.
>
> -dnult
>
> Loren Brookes wrote in message
> <[EMAIL PROTECTED]>...
> >On Fri, 13 Oct 2000, Servet Ahmet Cizmeli wrote:
> >>Hi all,
> >>
> >>I just installed Redhat 7.0. I would like to run a program that is
> >>called lmhostid but the shell would not find it :
> >>
> >>[root@seawifs etc]# /usr/local/matlab5/etc/lnx86/lmhostid
> >>bash: /usr/local/matlab5/etc/lnx86/lmhostid: No such file or directory
> >>
> >>however the file exists with correct execution permissions
> >>
> >>[root@seawifs etc]# ls -l /usr/local/matlab5/etc/lnx86/lmhostid
> >>-rwxr-xr-x 10 acizmeli users 219264 Oct 31 1997
> >>/usr/local/matlab5/etc/lnx86/lmhostid
> >>
> >>I AM COMPLETELY STUCK. WHY WOULD THE SHELL NOT FIND THIS FILE TO RUN
> >>
> >
> >My guess would be that the file you are trying to run is a script, and it
> is
> >looking for a file, and not finding it. i.e. the error message refers to
> some
> >file other than the one you are running. If this is so you need to open
> >lmhostid with a text editor and look for the file refered to in it.
> >
> >If it is not a script it may still be looking for some file in the wrong
> place.
> >Maybe there's some environment problem.
> >
> >Maybe you could just uninstall and then reinstall the program, that does
> work
> >sometimes.
> >
> >Hope this helps.
> >
> >Loren Brookes
> >
> >>any help would be greatly appreciated
> >>thanks from advance
> >>peace
>
>
------------------------------
From: [EMAIL PROTECTED] (Zebee Johnstone)
Subject: Re: VMware on Linux
Reply-To: [EMAIL PROTECTED]
Date: Mon, 16 Oct 2000 05:20:40 GMT
In comp.os.linux.setup on Mon, 16 Oct 2000 17:34:15 +1300
Loren Brookes <[EMAIL PROTECTED]> wrote:
>
>Okay, I was going to mention the raw disk option, but my point was that you
>need to install your desired OS from scratch on the VM... plus personally I
>think the flexibility loss associated with using a "raw disk", takes from
>the advantage of using a *virtual* machine.
If you already have a dual boot machine, then taking up diskspace
with yet another is silly.
Being able to have linux in yuor windows OS and windows in your linux
OS is very flexible.
See Configuring Dual/Multiboot Systems to Run with VMware for Linux
on www.vmware.com
They do note that it's tricky, and not for first time vmware users.
Zebee
--
SAGE-AU: The System Administrator's Guild. www.sage-au.org.au
To advance the profession of System Administration by raising
awareness of the need for System Administrators, and educating
System Administrators in technical as well as professional issues.
------------------------------
From: craig <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: I need ip port forwarding help
Date: Sun, 15 Oct 2000 22:34:28 -0700
==============636E9E448823876DC700E149
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
C H wrote:
>
> I am trying to forward ports through my firewall and it does not want
> to work. I am hoping one of
> you Linux gurus will have the answer.
>
>
> I am using Redhat 6.2 with kernel 2.1.14
>
> the rc.local file looks like this:
>
> #!/bin/sh
> #
> # This script will be executed *after* all the other init scripts.
> # You can put your own initialization stuff in here if you don't
> # want to do the full Sys V style init stuff.
> echo 1 > /proc/sys/net/ipv4/ip_forward
>
> echo "Setting DENY defaults... "
> ipchains -P input DENY
> ipchains -P output REJECT
> ipchains -P forward REJECT
>
> EXTERNAL_INTERFACE="eth1"
> ANYWHERE="0.0.0.0/0"
> LAN_INTERFACE_1="eth0"
>
>
> ##############DirectX port forwarded
> ipmasqadm autofw -A -v -r tcp 47624 47624 -h 192.168.200.3
> ipmasqadm autofw -A -v -r udp 47624 47624 -h 192.168.200.3
>
>
> ###############Jedi Knight
> ipmasqadm autofw -A -v -r tcp 28800 28912 -h 192.168.200.3
> ipmasqadm autofw -A -v -r udp 28800 28912 -h 192.168.200.3
>
> ipmasqadm autofw -A -v -r tcp 2300 2400 -h 192.168.200.3
> ipmasqadm autofw -A -v -r udp 2300 2400 -h 192.168.200.3
>
>
> echo "Masquerading Internal hosts... "
> ipchains -A forward -j MASQ -s 192.168.200.0/24 -d 0.0.0.0/0
>
>
> When it runs, the output looks like this:
>
> Setting DENY defaults...
> Setting masquerade defaults...
> Adding autofwd tcp ports 47624 - 47624 to fixed host 192.168.200.3 U
> Adding autofwd udp ports 47624 - 47624 to fixed host 192.168.200.3 U
> Adding autofwd tcp ports 28800 - 28912 to fixed host 192.168.200.3 U
> Adding autofwd udp ports 28800 - 28912 to fixed host 192.168.200.3 U
> Adding autofwd tcp ports 2300 - 2400 to fixed host 192.168.200.3 U
> Adding autofwd udp ports 2300 - 2400 to fixed host 192.168.200.3 U
> Adding autofwd tcp ports 6699 - 6699 to fixed host 192.168.200.3 U
> Masquerading Internal hosts...
>
> It acts like it is working, but my sniffer on the local network
> reveals output packets on ports in the 28800 and 2300 range, but none
> coming back.
>
> AAARGH! What am i doing wrong?
==============636E9E448823876DC700E149
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<p>C H wrote:
<blockquote TYPE=CITE>
<br><font size=+2>I am trying to forward ports through my firewall and
it does not want to work. I am hoping one of</font>
<br><font size=+2>you Linux gurus will have the answer.</font>
<br>
<p><font size=+2>I am using Redhat 6.2 with kernel 2.1.14</font>
<p><font size=+2>the rc.local file looks like this:</font>
<p>#!/bin/sh
<br>#
<br># This script will be executed *after* all the other init scripts.
<br># You can put your own initialization stuff in here if you don't
<br># want to do the full Sys V style init stuff.
<br>echo 1 > /proc/sys/net/ipv4/ip_forward
<p>echo "Setting DENY defaults... "
<br>ipchains -P input DENY
<br>ipchains -P output REJECT
<br>ipchains -P forward REJECT
<p>EXTERNAL_INTERFACE="eth1"
<br>ANYWHERE="0.0.0.0/0"
<br>LAN_INTERFACE_1="eth0"
<br>
<p>##############DirectX port forwarded
<br>ipmasqadm autofw -A -v -r tcp 47624 47624 -h 192.168.200.3
<br>ipmasqadm autofw -A -v -r udp 47624 47624 -h 192.168.200.3
<br>
<p>###############Jedi Knight
<br>ipmasqadm autofw -A -v -r tcp 28800 28912 -h 192.168.200.3
<br>ipmasqadm autofw -A -v -r udp 28800 28912 -h 192.168.200.3
<p>ipmasqadm autofw -A -v -r tcp 2300 2400 -h 192.168.200.3
<br>ipmasqadm autofw -A -v -r udp 2300 2400 -h 192.168.200.3
<br>
<p>echo "Masquerading Internal hosts... "
<br>ipchains -A forward -j MASQ -s 192.168.200.0/24 -d 0.0.0.0/0
<br>
<p><font size=+2>When it runs, the output looks like this:</font>
<p>Setting DENY defaults...
<br>Setting masquerade defaults...
<br>Adding autofwd tcp ports 47624 - 47624 to fixed host 192.168.200.3
U
<br>Adding autofwd udp ports 47624 - 47624 to fixed host 192.168.200.3
U
<br>Adding autofwd tcp ports 28800 - 28912 to fixed host 192.168.200.3
U
<br>Adding autofwd udp ports 28800 - 28912 to fixed host 192.168.200.3
U
<br>Adding autofwd tcp ports 2300 - 2400 to fixed host 192.168.200.3 U
<br>Adding autofwd udp ports 2300 - 2400 to fixed host 192.168.200.3 U
<br>Adding autofwd tcp ports 6699 - 6699 to fixed host 192.168.200.3 U
<br>Masquerading Internal hosts...
<p><font size=+2>It acts like it is working, but my sniffer on the local
network reveals output packets on ports in the 28800 and 2300 range, but
none coming back.</font>
<p><font size=+2>AAARGH! What am i doing wrong?</font></blockquote>
</html>
==============636E9E448823876DC700E149==
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.setup) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Setup Digest
******************************