Linux-Misc Digest #670, Volume #25 Tue, 5 Sep 00 06:13:04 EDT
Contents:
Re: Help on mathematical functions (Prasanth A. Kumar)
Re: Help on mathematical functions ("M. Leo Cooper")
Re: PPP works but web browsers don't (FyreFiend)
Re: Help on mathematical functions ("Michael Bernstein")
Re: lilo error: kernel too big (Villy Kruse)
Syslog problem ("Sylvain")
Re: Finding Shared Libraries (Andreas Kahari)
Re: New B question (Andreas Kahari)
Re: Oracle 8i install on RH6.2 (Stefano Mancini)
Re: looking for FAT32 gurus.... (Jibid Irkmere the 1st)
Red Hat server repeatedly crashing (Simon Burns)
pap-secrets ("���� ������")
Help again! Re: lilo error: kernel too big ("???? ??????")
Re: RPMBUILDER....HOWTO????????????????''' (Eric)
how to make ipop3d running ([EMAIL PROTECTED])
Problems compiling kernel (SockDogs)
Re: Syslog problem ("Peter T. Breuer")
Re: Red Hat server repeatedly crashing ("Steve Cox")
Re: Problems compiling kernel (Davide Bianchi)
Re: Changing Desktop Appearance (Anita Lewis)
Linux user authentification using Lotus Notes LDAP (Frank Wassermann)
Re: Problems compiling kernel ([EMAIL PROTECTED])
----------------------------------------------------------------------------
Crossposted-To: comp.os.linux.help
Subject: Re: Help on mathematical functions
From: [EMAIL PROTECTED] (Prasanth A. Kumar)
Date: Tue, 05 Sep 2000 06:14:25 GMT
[EMAIL PROTECTED] writes:
> Some of you may laugh at my problem. Please don't.
>
> I am new to linux. I am using Redhat 6.2. I am trying to compile a
> program using mathematical functions (sine, cosine, sqrt, etc.). But the
> program is not finding them. The exact error is: undefined refernce to
> 'sin'. I have included the header file math.h. I think I may have to
> include the path of the header files and libraries during compile time.
> I know the gcc options to include header files and libraries during
> compile time. But which header files and libraries should I include?
Include the libm library (-lm) because for some reason the math
libraries are separate from the other standard libraries (libc) and
libc is automatically included during compile if needed.
--
Prasanth Kumar
[EMAIL PROTECTED]
------------------------------
From: "M. Leo Cooper" <[EMAIL PROTECTED]>
Subject: Re: Help on mathematical functions
Date: Mon, 4 Sep 2000 23:34:32 -0700
[EMAIL PROTECTED] wrote:
> I am new to linux. I am using Redhat 6.2. I am trying to compile a
> program using mathematical functions (sine, cosine, sqrt, etc.). But the
> program is not finding them. The exact error is: undefined refernce to
> 'sin'.
Add -lm to the compile line. This links in the math libs.
------------------------------
From: FyreFiend <[EMAIL PROTECTED]>
Subject: Re: PPP works but web browsers don't
Date: Tue, 05 Sep 2000 00:52:18 -0400
A quick note: If they ask you what OS you're running you might want to
say you have a Mac (which also needs to be told the DNS addresses).
Some ISP's won't talk to you if they know your trying to run
Linux/Unix (Don't know why) but most will support a Mac.
On 4 Sep 2000 17:47:32 GMT, [EMAIL PROTECTED] (Arturo C) wrote:
>On Mon, 4 Sep 2000 18:07:55 +0800, Chew GH <[EMAIL PROTECTED]> wrote:
>
>>Does this apply if my ISP uses dynamic ip addresses? A check in MSWindows'
>>dialup networking revealed that no DNS ip address is specified.
>
>Your IP is dynamically assigned. Your ISP's DNS servers have _static_ IP's
>that are assigned to you when you connect with PAP in windows.
>
>Just ask your ISP's tech support or check their website for the DNS
>IP's #'s and put those in /etc/resolve.conf
>
>You only have to do this once.
------------------------------
From: "Michael Bernstein" <[EMAIL PROTECTED]>
Subject: Re: Help on mathematical functions
Date: Mon, 04 Sep 2000 13:56:30 -0600
you need to link the math libraries during the compile. you can do this
as follows.
gcc filename.c -o filename_out -ml
that SHOULD work.
sadjester
In article <8p1vnf$j50$[EMAIL PROTECTED]>, [EMAIL PROTECTED]
wrote:
> Some of you may laugh at my problem. Please don't.
>
> I am new to linux. I am using Redhat 6.2. I am trying to compile a
> program using mathematical functions (sine, cosine, sqrt, etc.). But the
> program is not finding them. The exact error is: undefined refernce to
> 'sin'. I have included the header file math.h. I think I may have to
> include the path of the header files and libraries during compile time.
> I know the gcc options to include header files and libraries during
> compile time. But which header files and libraries should I include?
>
> Embarassingly your.
>
> Anwer
>
>
> Sent via Deja.com http://www.deja.com/ Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: lilo error: kernel too big
Date: 5 Sep 2000 07:38:41 GMT
On Mon, 04 Sep 2000 19:42:28 -0500, Leonard Evens <[EMAIL PROTECTED]> wrote:
>
>I THINK it is something like the following. /sbin/lilo determines
>from the system it is running on what the absolute
>address of the kernel it will boot is. So for example, even if
>you have a separate boot partition which is mounted on /boot in
>the root partition, you don't have to tell lilo about that. It
>can figure out where to look just by knowing what the
>root partition is. Moreover, all the system needs for
>booting is the address of the beginning of the kernel. That tells
>the system where the rest of the kernel is to allow further booting.
>
Actualy it is much more simpel. The lilo program creates a file called
/boot/map, and this file contains a list of sector addresses for each
sector of each file it neads to load. Thus, lilo needs no knowlege
of file system type partition boundaries, or root file system address.
The lilo boot sector then contains the sector address of /boot/map so
it can be loaded into memory.
Villy
------------------------------
From: "Sylvain" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Syslog problem
Date: Tue, 5 Sep 2000 09:49:53 +0200
Hi all,
I know I already send a post on this subject, but I have new informations !
The goal : setting up a bootable CD-ROM based on RedHat 6.2
The problem : syslog does not log !
When booting, syslog is launched by the init scripts and does not log
anything except "Syslog restarting ..."
If I just launch it manually after the boot, it will work.
I modified the init scripts to launch it without a special daemon calling
function, does not change anything.
The interesting part : I made system call traces with strace and found :
- syslog opens /dev/log as a SOCK_DGRAM socket,
- loggers ("logger" for example) can't open /dev/log socket : get a
EPROTOTYPE error when opening with SOCK_DGRAM.
I think this is most of the problem but can't find solution.
Note : I boot the system with a read-only root fs and a ramdisk over /var.
Kernel is 2.2.16 patched with devfs. When rebooting with a read-write root
fs, I have no problem at all !!
I don't think there is a user right problem as /dev/log is created 666 by
syslog.
I someone could help about this problem, I just have no more ideas ...
Thanks in advance.
Sylvain.
------------------------------
Subject: Re: Finding Shared Libraries
From: [EMAIL PROTECTED] (Andreas Kahari)
Date: 5 Sep 2000 09:57:04 +0100
In article <8p216m$kat$[EMAIL PROTECTED]>,
Nathan Weston <[EMAIL PROTECTED]> wrote:
>I keep downloading software only to find that I do not have the
>required shared libraries to install it. Sometimes I am able to
>locate these files with rpmfind, but usually not. Searches on
>freshmeat, redhat.com, sourcefourge, and TUCOWS Linux also turn up
>nothing. These libraries must be out there somewhere... is there a
>central location to look for them?
>
>Thanks,
>Nathan
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.
You've looked at the major places. Often (or at least sometimes) the
name of the library file itself has little in common with the name of
the software package that it is included with, so you can't really say
"Aha! I need the 'libXmu.so.6' library, so I should probably download
the 'Xmu' software package!".
The packaging system of Debian GNU/Linux (and GNU/Hurd) has a nice
feature. It lets you see what package any given file on your system
belongs to. On The Debian site, at [1] under "Search the Contents of
the Latest Release", try searching for your library. if it is
available in the Debian system it will answer with a package name. The
package name will give you a clue about what you need to look for
(searching for e.g. 'libXmu.so.6' returns ' the 'xlib6g' package and
that package is available in source form by searching in another
interface at [1]).
[1] <URL:http://www.debian.org/distrib/packages>
HTH
/A
--
Andreas K�h�ri, <URL:http://hello.to/andkaha/>.
All junk e-mail will be reported to the appropriate authorities.
========================================================================
The important thing is not to stop questioning.
------------------------------
Subject: Re: New B question
From: [EMAIL PROTECTED] (Andreas Kahari)
Date: 5 Sep 2000 09:57:43 +0100
In article <[EMAIL PROTECTED]>,
jorge <[EMAIL PROTECTED]> wrote:
>
>
>
>
Should I assume you meant "how do I fill in the body of the post?".
/A
--
Andreas K�h�ri, <URL:http://hello.to/andkaha/>.
All junk e-mail will be reported to the appropriate authorities.
========================================================================
The important thing is not to stop questioning.
------------------------------
From: Stefano Mancini <[EMAIL PROTECTED]>
Crossposted-To: comp.databases.oracle.misc
Subject: Re: Oracle 8i install on RH6.2
Date: Tue, 05 Sep 2000 10:06:08 +0200
Hi,
if the Oracle version is the 8.1.5 there is a bug in the installation and you
have to lunch the runInstaller in the directory install/linux (if I remember
well),
and not the one present in cd root.
Stefano
[EMAIL PROTECTED] wrote:
> User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.14-5.0 (i586))
>
> I am tring to install Oracle8i onto a Redhat6.2 2.2.14-5.0 box. It
> requires java, and I have tried with Blackdowns 1.2.2 or with IBMs
> 1.1.6 java runtimes. Both fail when I run the ./runInstaller script
> with :
> Error in CreateOUIProcess(): -1
> : Bad Address
>
> Any help or pointers appreciated.
>
> --
> Danny Aldham Providing Certified Internetworking Solutions to Business
> www.postino.com E-Mail, Web Servers, Web Databases, SQL PHP & Perl
------------------------------
From: Jibid Irkmere the 1st <[EMAIL PROTECTED]>
Subject: Re: looking for FAT32 gurus....
Date: Tue, 05 Sep 2000 04:49:02 -0400
This link is to the M$ web site.
http://209.67.75.168/hardware/fatgen.htm
[EMAIL PROTECTED] wrote:
>
> Hey all, I'm trying to implement a FAT32 file system for an embedded
> device and there isn't a ton of info on the net about the specifics of
> FAT32. Does anyone out there have any experience with the linux FAT32
> stuff, or could you point me to the source files that contain the FAT32
> code. I've looked at some stuff in the fs/vfat/ dir but its a little
> confusing. Anyways, the specific info I'm looking for is about the FAT,
> how do I load it into memory? is it at cluster 1? and if so how do I
> know how long it is?
>
> thanks in advance,
> mike
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Simon Burns)
Crossposted-To: comp.os.linux.security
Subject: Red Hat server repeatedly crashing
Date: Tue, 05 Sep 2000 08:52:17 GMT
I admin a Linux box which runs MySQL-3.22.30, Apache 1.3.12 and Qmail
on Red Hat 6.1 and kernel version 2.2.12-20smp. Until now, it had >150
days uptime, and had given me little trouble. I've applied all
relevant security patches from Red Hat.
It's crashed 3 times in the last 24 hours. Total lockup, requiring
calls to a service engineer to reboot it and too much downtime to keep
our customers (or my boss) happy. I'd like to know if there are any
DoS attacks which might cause the failure, or any other exploits I
might be vulnerable to. There doesn't seem to be anything in the
logfiles: the system just froze.
Any ideas, or similar experiences?
TIA,
--
simon@japh. | Ignore the address in the header.
freeserve.co.uk | Use this one instead.
------------------------------
From: "���� ������" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: pap-secrets
Date: Tue, 5 Sep 2000 11:51:09 +0200
Help, please!
I can't connnect due to misconfigures pap-secrets file :(
As it was advised by some linux guru i put there next line:
* myloginname mypassword.
But when negotiating i see, that instead of my myloginname there appears my
hostame :(.
I got connection to couple of ISP, and got different logins... so what i
supposed to do to manage my accounts?
------------------------------
From: "???? ??????" <[EMAIL PROTECTED]>
Subject: Help again! Re: lilo error: kernel too big
Date: Tue, 5 Sep 2000 11:58:23 +0200
I have the same proble, but with Black Cat and Win95.
After having compiled with bzImage i got vmlinuz size slightly more of 1M,
which is as halfe less of native installatinon image. But i got the same
message from lilo :(
What to du?
Raymond Doetjes <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Make bzImage instead of make boot or make image will do the trick
>
> Raymond
>
> Dave Brown wrote:
>
> > I have a "problem" which I've been ignoring for a long time.
> >
> > I have Slackware 3.9 installed in one partition and RH 6.2 in
> > another. I have recompiled kernels in both. I have a lilo.conf
> > in each partition, which corresponds to the appropriate pathnames
> > to the kernel images when temporarily mounting one partition in the
> > other to write lilo. Both machines claim lilo v.21.
> >
> > Here's my "problem". When I try to write lilo from the Slackware
> > partition, it works just fine. When I try to write lilo from the
> > RH partition, I get an error message from lilo: "kernel too big".
> >
> > I suspect it may have to do with what the "respective lilo" thinks
> > about the disk it's working with. (I've never understood how lilo
> > knows what the data-block sequence is that is used to load the kernel,
> > assuming that the kernel image might even be stored in non-sequential
> > data-blocks, in that there's no filesystem present at "lilo boot time".
> >
> > --
> > Dave Brown Austin, TX
>
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: RPMBUILDER....HOWTO????????????????'''
Date: Tue, 05 Sep 2000 11:02:12 +0200
Reply-To: [EMAIL PROTECTED]
dj oliver wrote:
>
> HI ALL:
>
> IM TRYING TO BUILD RPMS FROM TAR.GZ FILES WIHT C CODE. I OPEN A TAR.GZ FILE
> WIHT RPMBUILDER AND WHEN IM GOING TO BUILD THE RPM FILE THIS MESSAGE APPEAR:
> CANT READ SPECDIR SUCH FILE OR DIRECTORY. CAN ANYONE HELP ME PLEASE????????
STOP USING CAPITALS ONLY!
Eric
------------------------------
From: [EMAIL PROTECTED]
Subject: how to make ipop3d running
Date: Tue, 05 Sep 2000 08:55:52 GMT
i uncomment the pop3 line in /etc/inetd.conf file and restart inetd.
but i still cant telnet the pop3 port 110.is that mean ipop3d dont run?
or there are something else need to be changed?
any suggestion will be appreciated.
zhao.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: SockDogs <[EMAIL PROTECTED]>
Subject: Problems compiling kernel
Date: Tue, 05 Sep 2000 09:05:28 GMT
I trying to recompile my kernel to include AppleTalk but when I reboot
it resorts to using the old kernel. I�ve listed below exactly what I�ve
done�.3 times now!!
In /usr/src/linux-2.2.14 I type �make xconfig� and add the AppleTalk
option to the kernel save and exit. I then type;
make dep
make clean
make
make modules
make modules_install
at which point I have an executable file called �vmlinux� appear in the
linux-2.2.14 directory. I then type;
make zImage
and then a file called zImage appears in /usr/src/linux/arch/i386/boot/.
I copied this file to /boot where the existing kernel is and then
edited the /etc/lilo.conf file to the new kernel;
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
linear
default=linux
image=/boot/zImage
label=linux
read-only
root=/dev/hda6
But when I reboot and type �uname �v� the kernel date shows up as Tue
Mar 7 2000 and �dmesg |grep appletalk� shows nothing.
What am I doing wrong?
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Syslog problem
Date: 5 Sep 2000 09:18:15 GMT
In comp.os.linux.misc Sylvain <[EMAIL PROTECTED]> wrote:
: Note : I boot the system with a read-only root fs and a ramdisk over /var.
A read only root fs is a neat trick. How do you make /dev/console
writable?
: Kernel is 2.2.16 patched with devfs. When rebooting with a read-write root
: fs, I have no problem at all !!
Yeah, well, somehow I'm not entirely surprised.
The few occasions I've tried to make / readonly, I've regretted it.
Needs mods to mount and umount for one thing. It probably is feasible
if you start off rw and ro and some later stage, after replacing
/etc/mtab, /etc/motd, /etc/issue and friends with symlinks to /var.
The real stinker is /dev.
Peter
------------------------------
From: "Steve Cox" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.security
Subject: Re: Red Hat server repeatedly crashing
Date: Tue, 5 Sep 2000 10:31:39 +0100
Have you checked that the processor fan hasn't failed
and the unit's overheating?
Could be hardware related - dodgy memory etc.
"Simon Burns" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I admin a Linux box which runs MySQL-3.22.30, Apache 1.3.12 and Qmail
> on Red Hat 6.1 and kernel version 2.2.12-20smp. Until now, it had >150
> days uptime, and had given me little trouble. I've applied all
> relevant security patches from Red Hat.
>
> It's crashed 3 times in the last 24 hours. Total lockup, requiring
> calls to a service engineer to reboot it and too much downtime to keep
> our customers (or my boss) happy. I'd like to know if there are any
> DoS attacks which might cause the failure, or any other exploits I
> might be vulnerable to. There doesn't seem to be anything in the
> logfiles: the system just froze.
>
> Any ideas, or similar experiences?
>
> TIA,
> --
> simon@japh. | Ignore the address in the header.
> freeserve.co.uk | Use this one instead.
------------------------------
From: [EMAIL PROTECTED] (Davide Bianchi)
Subject: Re: Problems compiling kernel
Date: Tue, 05 Sep 2000 09:35:25 GMT
Reply-To: [EMAIL PROTECTED]
On Tue, 05 Sep 2000 09:05:28 GMT, SockDogs
<[EMAIL PROTECTED]> wrote:
>I trying to recompile my kernel to include AppleTalk but when I reboot
>it resorts to using the old kernel. I�ve listed below exactly what I�ve
>done�.3 times now!!
<ZAP>
After the installation of the new kernel you must also
update LILO typing "lilo" at the prompt. This will update
the boot sector.
It's not recommendable to install the new kernel as the
default one without keeping the old one around. What happen
if, for some reason, the new kernel does not work ?
Install the new kernel under a different label and call
it during the LILO boot. This way you can test the kernel
before make it the "standard" one without trouble.
Davide
------------------------------
From: [EMAIL PROTECTED] (Anita Lewis)
Crossposted-To: comp.os.linux.x,comp.os.linux,comp.os.linux.help
Subject: Re: Changing Desktop Appearance
Reply-To: [EMAIL PROTECTED]
Date: Tue, 05 Sep 2000 09:37:28 GMT
On Mon, 04 Sep 2000 19:29:55 GMT, [EMAIL PROTECTED] wrote:
>Hi all,
>
>My PC runs win98 and Redhat6.0. The Icons on the desktop and the panel
>at its bottom are very big; the width of the panel is about 3cm. I
>thought the problem is to do with one of the settings on the
>XF86config; but which one and how?
It could be your monitor settings. If you chose generic monitor, the horiz
and vert ranges will be less than what your monitor probably is. Generic
will give low resolution. You can either manually edit /etc/X11/XF86Config
and put the correct Horiz and Vert ranges in the Monitor Section or you can
run xf86config and choose to write in your ranges, or you can run XF86Setup
or Xconfigurator and choose the ranges that are closest to yours. All this
of course is if your monitor is not listed in the monitor database.
In fact it could be that you just have not run a configuration program at
all and need to do that.
Anita
------------------------------
From: [EMAIL PROTECTED] (Frank Wassermann)
Subject: Linux user authentification using Lotus Notes LDAP
Date: Tue, 5 Sep 2000 11:39:42 +0200
Hello everybody,
we are using several linux servers (file, communication etc.) here at
present. Now we are going to setup Lotus Notes 5 on Linux for
communication and workflow management.
As we will continue to have certain servers on Linux for some time it
would be very nice to have user authentification just in one place.
What I would like to have is editing users only in the Lotus Notes system
and having all other Linux servers access the Domino user database for
authentification.
Can this be done using Dominos LDAP? Or is there any other chance to have
user authentification just in one place with several Linux boxes and a
Domino server (running on Linux also)?
Thanks for your suggestions.
Frank Wassermann
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Problems compiling kernel
Date: Tue, 05 Sep 2000 12:08:46 +0200
Reply-To: [EMAIL PROTECTED]
On Tue, 05 Sep 2000 09:05:28 GMT, SockDogs <[EMAIL PROTECTED]> wrote:
>I trying to recompile my kernel to include AppleTalk but when I reboot
>it resorts to using the old kernel. I�ve listed below exactly what I�ve
>done�.3 times now!!
>
>In /usr/src/linux-2.2.14 I type �make xconfig� and add the AppleTalk
>option to the kernel save and exit. I then type;
>make dep
>make clean
>make
>make modules
>make modules_install
do you have a link /usr/src/linux --> /usr/src/linux-2.2.14 ? You should have
one. All the makefiles assume the source tree in /usr/src/linux
>at which point I have an executable file called �vmlinux� appear in the
>linux-2.2.14 directory. I then type;
>make zImage
>
>and then a file called zImage appears in /usr/src/linux/arch/i386/boot/.
I don't know what zImage is. I use bzImage, that works. You can make bzImage
right after the make clean, instead of just make.
>I copied this file to /boot where the existing kernel is and then
>edited the /etc/lilo.conf file to the new kernel;
>
...
>But when I reboot and type �uname �v� the kernel date shows up as Tue
>Mar 7 2000 and �dmesg |grep appletalk� shows nothing.
>What am I doing wrong?
I guess you just recompiled the old kernel in the /usr/src/linux tree. Rename it
to /usr/src/linux-orig or something. Do a
ln -s /usr/src/linux-2.2.14 /usr/src/linux
And, don't overwrite the old kernel in case the new does not work ! Leave it in
/boot/vmlinux-orig and update the lilo.conf to have two images. Copy your new
kernel to /boot/vmlinux-appletalk or something. Let lilo.conf know of both
images. If the new one does not work, you can still boot the old one.
Good luck
Eggert
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.
--
Eggert Ehmke
Email: [EMAIL PROTECTED]
------------------------------
** 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.misc) 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-Misc Digest
******************************