Linux-Misc Digest #373, Volume #27               Fri, 16 Mar 01 11:13:04 EST

Contents:
  Re: I messed up my computer :( (hangs on "starting sendmail") (Jeroen Belleman)
  Re: (LESS HUGE) Re: Do I need Lilo to boot from a partition? ("Eric")
  Re: Help with /usr symlink - Urgent!!! (Nick Condon)
  NFS can't recurse directory as user (JF Bertrand)
  Problems with Jdk1.3 with kernel 2.4 ("Lou")
  Re: registering libraries in linux (Michel Bardiaux)
  Re: GUI front end for cdrecord/cdparanoia? (Grant Edwards)
  two LM7.2 packages problems ("Ultra A")
  Re: two LM7.2 packages problems ("Alex Chan")
  Re: I messed up my computer :( (hangs on "starting sendmail") ("Chris Coyle")
  mkinitrd -> loopbacks in use? ("drw")
  checking email add (Holland King)
  10 gig disk in a 500 meg BIOS (Rick Griffiths)
  Redirect stdout from background process started in shell script??? (Pat Hennessy)
  Shell script... ("René Scheibe")
  USB Port Scanner (Youngert)

----------------------------------------------------------------------------

From: Jeroen Belleman <[EMAIL PROTECTED]>
Subject: Re: I messed up my computer :( (hangs on "starting sendmail")
Date: Fri, 16 Mar 2001 13:56:13 +0100

David Wake wrote:
> 
> I have a laptop Pentium II running RedHat 7.0 -- runs great.  Then
> just now I was trying to reconfigure my ethernet connection.  Now the
> system hangs on startup at the "starting sendmail".
> [...]
> 
> Anyway, the fact that my networking's messed up doesn't bother me that
> much: I just want to be able to start my computer.
> [...]

It should time out after a few minutes, and finish starting up.
Sendmail wants to see a domain name. You could just add a 
domain name to your machine's name in /etc/hosts. That did the 
trick for me. You could, of course, disable sendmail altogether.

Jeroen Belleman

------------------------------

From: "Eric" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system
Subject: Re: (LESS HUGE) Re: Do I need Lilo to boot from a partition?
Date: Fri, 16 Mar 2001 14:14:58 +0100

> SUMMARY:  2.4.x kernels do not boot off drives /dev/sdb1,
> but do boot off /dev/sdc1.  The "no setup signature found"
> message is displayed. 2.2.x kernels boot fine off
> of /dev/sdb1 using the same LILO config file and setup.
> The 2.4.x kernels boot fine when installed to a floppy disk.
> The 2.4.x kernels are installed using make bzlilo for the
> hard disk and make bzdisk for the floppy.  The computer is
> a 650 Athlon Slot A, with ABIT KX133 MB and Symbios 53c875
> all SCSI system.  Drive 0 /dev/sda does not have Linux.  It
> has win98 and OS/2 and a big Linux data partition. Drive
> 1, /dev/sdb, has the offending Linux setup.  Drive 2 (/dev/sdc)
> has a Debian setup that boots fine with the same kernel
> installed via make bzlilo, on it.  LILO is booting from the
> individual partitions. OS/2 Bootmanager is used as the primary
> boot loader.
>
> >> LILO
> >> Loading default.........................
> >> ... no setup signature found.
> >> Then the system hangs.   I'm not sure of the exact number of dots.


> I looked at the kernel code.  It seems setup.S was translated from
> as86 to gas format but is otherwise the same AFAIK.  This is the code
> block the checks the signature:
>

Just one thing

I suppose you've read the /usr/src/linux/Documentation/Changes?
You did upgrade everything that was mentioned in there?

If so I'm really at my wits end.
You should perhaps try a new posting in a kernel related group.
(try mlist.linux.kernel)

Eric





------------------------------

From: [EMAIL PROTECTED] (Nick Condon)
Subject: Re: Help with /usr symlink - Urgent!!!
Date: 16 Mar 2001 13:19:12 GMT

Jean-David Beyer wrote:

>Eric en Jolanda wrote:
>> 
>> > The DB2 install tries to build into the /usr/IBMdb2/V7.1 directory.
>> > The process never gets a chance to start due to a "device full" error.
>> > So, what I want to try and do is relocate the /usr directory structure
>> > to the "/home" mount which has plenty of room and create a symlink in
>> > it's place: root/usr --> /home/usr
>> 
>> Why not just place IBMdb2 on /home and symlink that in /usr ?
>> 
>> It sounds to me like a far easier task.
>> 
>> Eric
>
>IBM's installation software unpacks a bunch of RPMs and they have
>already decided where they will go. It also monkeys around with
>/etc/passwd, /etc/group, and /etc/shadow as well as /etc/services,
>/etc/inittab (although I comment that out and put in some stuff of my
>own in /etc/rc.d/init.d instead). I also suspect that the full
>pathnames are built into the install procedure and possibly the
>libraries and running programs as well. It is quite difficult to
>install DB2 at all. I think IBM violate the spirit of the file system
>hierarchy standard, though. IMAO, they should install into /opt/IBMdb2
>or somewhere like that. But they do not. I am not sure what would
>happen if you created /opt/IBMdb2 and created a symlink from
>/usr/IBMdb2 to there. I am not sure all the software is capable of
>following such symlinks.

Symlinks are implemented in the filesystem; IBM's software doesn't even 
need to know about them.

(Of course, it can explicitly look for symlinks and refuse to install, but 
why would anyone do that?)
-- 
Nick

------------------------------

From: JF Bertrand <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: NFS can't recurse directory as user
Date: Fri, 16 Mar 2001 08:07:35 -0600

Hi, I'm using NFS to share files from a linux workstation to a linux
server.

The server is using v2.

My /etc/exports file is like this:
/usr/public   (rw,all_squash,anonuid=99,anongid=99)
/usr/public   192.168.1.2(ro,secure)
/mnt/cdrom zeus(ro)

>From the client machine I have an fstab entry that looks like this:
hades:/usr/public    /mnt/hades    nfs     defaults    0  0

So at boot time, server:/usr/public becomes client:/mnt/hades


The problem I run into is that I can't write to any sub directory under
client:/mnt/hades unless I'm root.
I can create a directory, but I can't write into it.  Initially, my
/etc/exports file looked like this
/usr/public (rw,no_root_squash)
...

And after ready the man page found out that for a user to have rw
permission, you need to have the same uid and gid so I created a user on
the server but it didn't work.

anyway that's where  I'm at ...

I have tried replacing defaults with user,rw but to no avail.


Thanks

JF Bertrand


------------------------------

From: "Lou" <[EMAIL PROTECTED]>
Subject: Problems with Jdk1.3 with kernel 2.4
Date: Fri, 16 Mar 2001 09:08:42 -0500

Last week I was running RH 7.1 beta with Sun's JDK 1.3 just fine on my AMD K6-2.

The only tweaks required were a symlink (or copy) of /bin/cut to /usr/bin/cut and the
usual PATH and CLASSPATH stuff.

Over the weekend I put together an Athlon (old-style slot A) box and re-installed the
OS and JDK (rpm), as well as the same little /cut and PATH/CLASSPATH tweaks.  
Same stuff as before.

Weirdness:  In the terminal window I can "javac" my little test "Helloworld.java" file
to a class no problem, but when I try to "java" it, it just hangs and requires a Ctrl-C
to get the prompt back.  This same little file works on the Windows side just fine
(as it has in the past).  

Doing "which java" shows the proper path.   Doing the full path like 
"/usr/java/jdk1.3/bin/java -version" also just hangs. 
Doing "/usr/java/jdk1.3/bin/java -verbose"  shows a long list of opened and loaded
libraries which eventually hangs after:  
[Loaded java.lang.ref.Finalizer$FinalizerThread from /usr/java/jdk1.3/jre/lib/rt.jar]

.. and requires a Ctrl-C to get the prompt back.   I have also tried tweaking my
PATH and CLASSPATH everywhich way.

Anyone have any suggestions on this?   Geez, could it be something to do with the
kernel/jdk and Athlons?  (unlikely)

------------------------------

From: Michel Bardiaux <[EMAIL PROTECTED]>
Subject: Re: registering libraries in linux
Date: Fri, 16 Mar 2001 14:53:45 GMT

Siddharth Vajirkar wrote:
> 
> Hi,
> newbie alert. I used to write a lot of C code in DOS and wrote up a
> reasonable amount of code for XINU, but now I've graduated to Linux. So
> there are some loose ends which I need to tie up.
> In linux do programs have to register libraries 

You *can* (see ldconfig, and useful info in other replies) but you don't
*have* to (you can use LD_LIBRARY_PATH when running the application).

> (like registering a DLL)?

IIRC in Win32 you don't register DLLs unless they implement COM objects
or plugins or codecs, thus are loaded at runtime by applications that
fetch their locations from the registry. For non-registerd DLLs, they
are looked for in standard places. See the doc for LoadLibrary.

> How does one tell linux that the code that I want to run is in 'that'
> xxxx.so file?

The *name* of the DSO will have been specified at link time. The *path*
is determined at runtime. The man pages explain it much better than I
ever could!
> 
> Would appreciate it if you could point me to some documentation related to
> this.
> 
> Thanks,
> Sid

See the man pages for ld.so, ldd, ldconfig

-- 
Michel Bardiaux
Peaktime Belgium S.A.  Rue Margot, 37  B-1457 Nil St Vincent
Tel : +32 10 65.44.15  Fax : +32 10 65.44.10

------------------------------

From: [EMAIL PROTECTED] (Grant Edwards)
Subject: Re: GUI front end for cdrecord/cdparanoia?
Date: Fri, 16 Mar 2001 14:56:47 GMT

In article <wvks6.495$[EMAIL PROTECTED]>, Robert wrote:

>have you tried grip?

Yes -- I've got grip and use for CD->mp3, but I didn't know it
burned CD's.  I'll check it out.  After some more searching, I
found the program I had used before: gcdmaster --it's a
front-end for cdrdao.

Unfortunately about half-way through burning a CD (in simulate
mode, so far) my machine always locks up solid.  I think the
wide->narrow SCSI conversion is flakey.  I think I'll add a
second (narrow) SCSI controller for external stuff like the CD
burner, and use the wide one only for internal (wide) drives.

-- 
Grant Edwards                   grante             Yow!  "THE LITTLE PINK
                                  at               FLESH SISTERS," I saw them
                               visi.com            at th' FLUROESCENT BULB
                                                   MAKERS CONVENTION...

------------------------------

From: "Ultra A" <[EMAIL PROTECTED]>
Subject: two LM7.2 packages problems
Date: Fri, 16 Mar 2001 15:22:27 +0000

Hi all,  
I am using LM7.2.  I found that when I try to install some
packages, I have never succeed!  The problem is in the ./configure step,
the messages are pretty similar, such as:

[root@chen GFile-0.0.9]# ./configure 
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking host system type... i686-pc-linux-gnu
checking for ranlib... ranlib
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... yes
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i686-pc-linux-gnu
checking for gnome-config... no
checking for gnomeConf.sh file in /usr/local/lib... not found
configure: error: Could not find the gnomeConf.sh file that is generated
by gnome-libs install

especially the last line.  appear everytime.

My second question is still the upgrading of glibc2.2.  there are so many
dep. problems e.g. for my currect gnumeric, it needs a lib in glibc2.1.x
which is not provided by glibc2.2.  However, the new gnumeric needs
another lib provided by glibc2.2 only but not 2.1.x.  Should I force it?

Thanks a lot.

Alex

------------------------------

From: "Alex Chan" <[EMAIL PROTECTED]>
Subject: Re: two LM7.2 packages problems
Date: Fri, 16 Mar 2001 15:23:35 +0000

I am sorry, the message is messy, the message is pasted from gedit,
original it is line by line but I don't know whay it squeezed
together....I am sorry...I don't know how to fix it, I am using pan as my
newsreader.

In article <98t9p3$9bo$[EMAIL PROTECTED]>, "Ultra A"
<[EMAIL PROTECTED]> wrote:

> Hi all,   I am using LM7.2.  I found that when I try to install some
> packages, I have never succeed!  The problem is in the ./configure step,
> the messages are pretty similar, such as:
> 
> [root@chen GFile-0.0.9]# ./configure 
> loading cache ./config.cache checking for a BSD compatible install...
> /usr/bin/install -c checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... yes checking for working
> aclocal... missing checking for working autoconf... missing checking for
> working automake... missing checking for working autoheader... missing
> checking for working makeinfo... missing checking host system type...
> i686-pc-linux-gnu checking for ranlib... ranlib checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... yes checking whether
> the C compiler (gcc  ) is a cross-compiler... no checking whether we are
> using GNU C... yes checking whether gcc accepts -g... yes checking for
> ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is
> GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking
> whether ln -s works... yes checking for gcc option to produce PIC...
> -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static
> flag -static works... -static checking if the linker (/usr/bin/ld) is
> GNU ld... yes checking whether the linker (/usr/bin/ld) supports shared
> libraries... yes checking command to parse /usr/bin/nm -B output... yes
> checking how to hardcode library paths into programs... immediate
> checking for /usr/bin/ld option to reload object files... -r checking
> dynamic linker characteristics... Linux ld.so checking if libtool
> supports shared libraries... yes checking whether to build shared
> libraries... yes checking whether to build static libraries... yes
> checking for objdir... .libs creating libtool checking whether to enable
> maintainer-specific portions of Makefiles... no checking host system
> type... i686-pc-linux-gnu checking for gnome-config... no checking for
> gnomeConf.sh file in /usr/local/lib... not found configure: error: Could
> not find the gnomeConf.sh file that is generated by gnome-libs install
> 
> especially the last line.  appear everytime.
> 
> My second question is still the upgrading of glibc2.2.  there are so
> many dep. problems e.g. for my currect gnumeric, it needs a lib in
> glibc2.1.x which is not provided by glibc2.2.  However, the new gnumeric
> needs another lib provided by glibc2.2 only but not 2.1.x.  Should I
> force it?
> 
> Thanks a lot.
> 
> Alex

------------------------------

From: "Chris Coyle" <[EMAIL PROTECTED]>
Subject: Re: I messed up my computer :( (hangs on "starting sendmail")
Date: Fri, 16 Mar 2001 10:08:07 -0500


"David Wake" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]...
>
> I have a laptop Pentium II running RedHat 7.0 -- runs great.  Then
> just now I was trying to reconfigure my ethernet connection.  Now the
> system hangs on startup at the "starting sendmail".  I've a feeling it
> is b/c I told eth0 to use bootp (just as a test) and now it's looking
> for its own hostname.
>
> Anyway, the fact that my networking's messed up doesn't bother me that
> much: I just want to be able to start my computer.  I thought that
> there would be some hotkey combination to get me into a shell during
> boot so that I could get rid of the offending network entry, but I
> can't find it.  Anyway -- any solutions?  WIll sendmail time out if I
> leave it long enough?
>
> Thanks
>
> David

WOW! you should read some of the other NGs.
I had exactly this problem yesterday -
I discussed it with Dean Thompson on comp.os.linux.networking

As I discovered, sendmail needs a full domain name for
whatever you have set for your hostname.  It will wait for
2 minutes if it can't find it (I don't know what its waiting for).
So you have a choice:

1. Put a fake domain name in your /etc/hosts file
2. Disable sendmail (remove it or just remove the startup link in /etc/rc.d/rc#.d)
3. Find something else to do for 2 minutes while booting.




------------------------------

From: "drw" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,alt.linux,alt.os.linux
Subject: mkinitrd -> loopbacks in use?
Date: Fri, 16 Mar 2001 07:32:25 -0800

When I go to mkinitrd, I get an error telling me all loopback devices are in
use.  What is this?


darren welson
[EMAIL PROTECTED]



------------------------------

From: Holland King <[EMAIL PROTECTED]>
Subject: checking email add
Date: 16 Mar 2001 15:36:29 GMT

i am currently in the process of writing an admin tool that deletes accounts
as needed, one of its jobs is to parse the .forward file and to set up 
aliases from what it finds in there. obviously there are some problems with
just making each line an alias or even making each address it finds an 
alias. my boss had mentioned that there was some way to poll the address 
with some system calls and make sure it at least exist but was not sure
about the implementation or details. does anyone know anything about this,
or can anyone point me in the direction to do something like that. if not
do you have other suggestions about how to get only the email addresses out
of the file? thank you.


-- 
---
Joseph Holland King  | "God whispers to us in our pleasures, speaks in our
                     |  conscience, but shouts in our pains: it is His
                     |  megaphone to rouse a deaf world." C. S. Lewis

------------------------------

From: Rick Griffiths <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Reply-To: [EMAIL PROTECTED]
Subject: 10 gig disk in a 500 meg BIOS
Date: Fri, 16 Mar 2001 10:52:52 -0500

I've read the hard drive howto, and I am still unclear. Here is my
question:

Does it matter that the BIOS in my Nec Versa E (circa 1992) can't
handle a 10 gig drive if I am using Linux exclusively on the machine?
The way I read the howto, all I have to do is make a 5meg first
partition as the root. Is this correct? If I make the first partition 5
meg, will the installation system find another partition and use it if
I mount the second partition with /root as the mount point?


Need I even do all this if I am only using Linux? Can I, in other
words, make the first partition 5 gig and still expect the BIOS to find
the master boot record in the first 1024 cylinders?

-- 
 Use reply-to address.

------------------------------

From: Pat Hennessy <[EMAIL PROTECTED]>
Subject: Redirect stdout from background process started in shell script???
Date: Fri, 16 Mar 2001 10:51:33 -0500

I can redirect the output of a process and place that process in the
background just fine like so:

                        ./process > /tmp/myPipe &


But, when I try to do this from within a bash script the redirection
does not take place.

Anyone know what's wrong?

TIA

Pat



------------------------------

From: "René Scheibe" <[EMAIL PROTECTED]>
Subject: Shell script...
Date: Fri, 16 Mar 2001 16:49:09 +0100

There's a failure in the following script.
It says:
./rc.shaping.new: 192.168.1.48: syntax error in expression
(remainder of expression is ".168.1.48")

I hope you see from the script what i wanted to do
(just print out the values of the variables)
and can tell me how to do it.
Can you also tell me some script code which tests
how many hosts are defined and sets the "n" itself?

Please also give me some websites with
some docus on scripting.


My script:
#!/bin/bash

host1='192.168.1.48'
host2='192.168.1.58'
host3='192.168.1.59'
host4='192.168.1.61'
host5='192.168.1.67'
n='5'

count=1
while [ $count -le $n ]
  do
    echo $((host$count)) # FAILURE
    count=$((count+1))
  done
exit





------------------------------

From: Youngert <[EMAIL PROTECTED]>
Subject: USB Port Scanner
Date: Fri, 16 Mar 2001 15:50:36 GMT

Hi,

Does anyone know of utility program to scan USB ports, particularly under 
Linux?

------------------------------


** 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 by posting to comp.os.linux.misc.

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-Misc Digest
******************************

Reply via email to