Linux-Misc Digest #661, Volume #26 Fri, 29 Dec 00 21:13:02 EST
Contents:
Configuring email for a laptop... ("Darryl L. Pierce")
Re: modprobe complaining about serial devices at boot ("Peter Tselios")
Re: Starting Oracle at Boot (SysV init layout) (Dances With Crows)
php + apache on redhat problem ("Londonboy")
Re: broken glibc & Redhat 7.0? (Peter Bismuti)
Re: Starting Oracle at Boot (SysV init layout) ("Buck Turgidson")
Re: Linux Freezes (Phlip)
Re: How to configure a NIC in RH6.2?? (Bit Twister)
Re: Setting locale failed ("Nikola")
Re: Thrashing HD ([EMAIL PROTECTED])
Re: php + apache on redhat problem (Steve)
Re: Configuring email for a laptop... (Steve)
Re: determing modem connection speeds? (Steve)
Re: Problems seeing fonts in xterm (Steve)
Setting return address in pine (Mark J. Tilford)
----------------------------------------------------------------------------
From: "Darryl L. Pierce" <[EMAIL PROTECTED]>
Subject: Configuring email for a laptop...
Date: Fri, 29 Dec 2000 17:26:19 -0500
I have RedHat 7.0 installed on my laptop, which I take back and forth
between work and home. At work, I'm able to send email via our SMTP
server. At home, I can connect to my ISP's SMTP server to send mail.
However, if I'm offline and send email, it _never_ gets sent when I
go online at either work or home.
I have both the Home and Office profiles configured and archive them
before switching profiles.
Do I need to configure sendmail or can I spool my email and manually
send it when I go online?
--
/**
* @author Darryl L. Pierce <[EMAIL PROTECTED]>
* @homepage <http://welcome.to/mcpierce>
* @quote "What do you care what other people think, Mr. Feynman?"
*/
------------------------------
From: "Peter Tselios" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: modprobe complaining about serial devices at boot
Date: Sat, 30 Dec 2000 01:13:18 +0200
Did you compiled the serial devices for the kernel or as modules? I had a
similar problem when I compiled my kew kernel (2,2,16) with the serials
embeded in kernel, on a SuSe machine. When I "restored" the serials as
modules, the boot was normal. Do not forget to install all serial devices
(read the help, I don't remember the exact names :( ).
Peter
"It's interesting to note that one of the main reasons for writing the first
Unix kernel was to get better interactive performance from the computer to
play a game called Space Travel."
"Jeff Pierce" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I just got finished building a new kernel 2.2.16. Upon booting it I got
> all kinds of messages about "undefined symbols" in modules. Ofcourse,
> those modules weren't included in this kernel.
> Ok, I remove /lib/modules/2.2.16 and rerun "make modules_install" to
> only have the modules I include in this build.
>
> Now on boot I get a bunch of the following messages:
> modprobe: modprobe: Can't locate module char-major-4
> /dev/ttyS31: No such device
>
> The ttyS19 to ttyS31 are listed on the screen, all before have scrolled
> off of the screen to fast to read.
>
> What have I done wrong?
>
> --
> Jeff Pierce
> [EMAIL PROTECTED]
> http://pages.preferred.com/~piercej
>
>
> -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
> http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
> -----== Over 80,000 Newsgroups - 16 Different Servers! =-----
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Starting Oracle at Boot (SysV init layout)
Date: 29 Dec 2000 23:20:26 GMT
Reply-To: [EMAIL PROTECTED]
On Fri, 29 Dec 2000 19:04:13 GMT, Buck Turgidson staggered into the
Black Sun and said:
>I am trying to get Oracle 8i to load upon booting. I have a feeling
>that my problem is a OS issue, not Oracle.
Well, it depends on what the definition of "OS" is :-]
>I have placed a script in /etc/rc.d/init.d called oracle8i. When I run
>"oracle8i start" logged on as su, it works perfectly. However, it
>doesn't work upon reboot or shutdown.
You have a user named "su" with root privileges? Boy, that must be
confusing.
OK, I'm assuming you're not using Slackware here, because a Slackware
user should already know the answer to this question and writing out the
stuff for both Slackware and most other distros would take too long.
The main startup script (/sbin/init.d/boot or /etc/rc.d/rc.sysinit) gets
its runlevel (X) from the kernel command line or /etc/inittab , then
goes to /sbin/init.d/rcX.d or /etc/rc.d/rcX.d and does something like
this:
for i in S* ; do
$i start
done
/sbin/init.d/rcX.d contains symlinks to the actual startup and shutdown
scripts, which are in /sbin/init.d/ . These symlinks are conventionally
named "SNNservice" and "KNNservice" where S stands for "start", K stands
for "kill", and NN is a 2-digit number signifying the order the services
get started or stopped in.
This complicated mess is referred to as the System V init-script layout.
It's more difficult to understand than the BSD init-script layout used
by Slackware, but far more flexible once you've figured it out.
So what you want to do is probably this:
mv oracle8i /sbin/init.d/ (/etc/rc.d/init.d/ for RedHat users)
ln -s /sbin/init.d/oracle8i /sbin/init.d/rc3.d/S99oracle
ln -s /sbin/init.d/oracle8i /sbin/init.d/rc3.d/K01oracle
init 3
If you're using RedHat, things will be in different places, and the
runlevel is most likely 5, not 3, unless you're running this without X.
There's another bootscript called /sbin/init.d/boot.local or
/etc/rc.d/rc.local that is executed on every boot, and you could also
customize that, but it's probably better to go the SysV way.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com / Workin' in a code mine, whoops!
=============================/ I hit a seg fault....
------------------------------
From: "Londonboy" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development,comp.os.linux.redhat,linux.redhat.misc
Subject: php + apache on redhat problem
Date: Fri, 29 Dec 2000 23:28:19 GMT
I am running RedHat 7, and I installed the PHP 4.0.3 (rpm) but it seems do
not come with the modules for Apache (I am running 1.3.16)? I only have the
command line version I assume.
Anyone know where can I download the PHP modules for Apache on RedHat? I
don't want to compile the source code. Anyone help? thanks a lot.
NB
------------------------------
From: [EMAIL PROTECTED] (Peter Bismuti)
Subject: Re: broken glibc & Redhat 7.0?
Date: 29 Dec 2000 23:52:52 GMT
I downloaded a different glibc and it seems to be working for me, but I have
not tested it thuroughly.
[EMAIL PROTECTED] wrote:
: Blackdown Java 2 SDK will not run on RedHat 7.0 - but I hear a fix is in
: the works.
:
: Juergen Heinzl wrote:
: >
: > In article <92gbs2$1hb$[EMAIL PROTECTED]>, Peter Bismuti wrote:
: > >It looks like I need glibc2.1.3 to run Blackdown Java 2 SDK.
: > >
: > >I have downloaded it, can I install it safely, or could it break others
: > >things? I am using Redhat7.0.
: > [-]
: > IIRC RH 7.0 came with some pre-version of glibc-2.1.3, so
: > you might upgrade to the final version or glibc-2.2 or go
: > with glibc-2.1.3 and wait for glibc-2.2.1. Might be the best
: > if you don't have special requirements.
: >
: > Cheers,
: > Juergen
: >
: > --
: > \ Real name : Jrgen Heinzl \ no flames /
: > \ EMail Private : [EMAIL PROTECTED] \ send money instead /
:
:
: --
: Posted via CNET Help.com
: http://www.help.com/
------------------------------
From: "Buck Turgidson" <[EMAIL PROTECTED]>
Subject: Re: Starting Oracle at Boot (SysV init layout)
Date: Sat, 30 Dec 2000 00:13:28 GMT
Thanks for the explanation. It actually makes sense. I am using RH 6.1 BTW.
I tried what you said, with no luck. When I su in, and execute "./S99oracle", it
works great, but when I reboot, it doesn't come
up. Is there any audit trail or log created of this process, or do I have to build
one by altering the scripts?
[root@ rc5.d]# ls -l | grep oracle8i
lrwxrwxrwx 1 root root 25 Dec 29 18:58 K01oracle ->
/etc/rc.d/init.d/oracle8i
lrwxrwxrwx 1 root root 25 Dec 29 18:57 S99oracle ->
/etc/rc.d/init.d/oracle8i
Dances With Crows <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Fri, 29 Dec 2000 19:04:13 GMT, Buck Turgidson staggered into the
> Black Sun and said:
> >I am trying to get Oracle 8i to load upon booting. I have a feeling
> >that my problem is a OS issue, not Oracle.
>
> Well, it depends on what the definition of "OS" is :-]
>
> >I have placed a script in /etc/rc.d/init.d called oracle8i. When I run
> >"oracle8i start" logged on as su, it works perfectly. However, it
> >doesn't work upon reboot or shutdown.
>
> You have a user named "su" with root privileges? Boy, that must be
> confusing.
>
> OK, I'm assuming you're not using Slackware here, because a Slackware
> user should already know the answer to this question and writing out the
> stuff for both Slackware and most other distros would take too long.
>
> The main startup script (/sbin/init.d/boot or /etc/rc.d/rc.sysinit) gets
> its runlevel (X) from the kernel command line or /etc/inittab , then
> goes to /sbin/init.d/rcX.d or /etc/rc.d/rcX.d and does something like
> this:
>
> for i in S* ; do
> $i start
> done
>
> /sbin/init.d/rcX.d contains symlinks to the actual startup and shutdown
> scripts, which are in /sbin/init.d/ . These symlinks are conventionally
> named "SNNservice" and "KNNservice" where S stands for "start", K stands
> for "kill", and NN is a 2-digit number signifying the order the services
> get started or stopped in.
>
> This complicated mess is referred to as the System V init-script layout.
> It's more difficult to understand than the BSD init-script layout used
> by Slackware, but far more flexible once you've figured it out.
>
> So what you want to do is probably this:
>
> mv oracle8i /sbin/init.d/ (/etc/rc.d/init.d/ for RedHat users)
> ln -s /sbin/init.d/oracle8i /sbin/init.d/rc3.d/S99oracle
> ln -s /sbin/init.d/oracle8i /sbin/init.d/rc3.d/K01oracle
> init 3
>
> If you're using RedHat, things will be in different places, and the
> runlevel is most likely 5, not 3, unless you're running this without X.
>
> There's another bootscript called /sbin/init.d/boot.local or
> /etc/rc.d/rc.local that is executed on every boot, and you could also
> customize that, but it's probably better to go the SysV way.
>
> --
> Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
> Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
> http://www.brainbench.com / Workin' in a code mine, whoops!
> -----------------------------/ I hit a seg fault....
------------------------------
From: Phlip <[EMAIL PROTECTED]>
Subject: Re: Linux Freezes
Date: 30 Dec 2000 00:16:59 GMT
Penpal International wrote:
> Hi,
>
> Today is the second time my linux system freezes. (RH 7.0). I've realy
> no idea what causes. /var/log/messages doesn't tell me very much. The
> only in common between 2 freezes is this:
>
> Dec 28 14:54:08 ns modprobe: modprobe: Can't locate module sound-slot-1
> Dec 28 14:54:08 ns modprobe: modprobe: Can't locate module
> sound-service-1-0
> Dec 28 14:54:08 ns modprobe: modprobe: Can't locate module sound-slot-1
> Dec 28 14:54:08 ns modprobe: modprobe: Can't locate module
> sound-service-1-0
>
> The first time 8 minutes before it freezes, the second 12 minutes. These
> 2 freezes occured when I've started working with it.
> Does anybody knows why it freezes?
Boot up to a command prompt (not into X) and then edit the file
modules.conf.
Put a # before every line referring to your sound card.
Now reboot (or learn some way to re-load modules.conf) and see if you
freeze up.
My recent posts to this group describe how I tweaked the kernel to get the
DMA line from my sound chip to stop hanging the entire motherboard - this
sounds related in some ways to your freeze.
--
�Phlip
======= http://users.deltanet.com/~tegan/home.html =======
------------------------------
From: [EMAIL PROTECTED] (Bit Twister)
Crossposted-To:
comp.os.linux.hardware,comp.os.linux.networking,comp.os.linux.questions,comp.os.linux.setup
Subject: Re: How to configure a NIC in RH6.2??
Reply-To: [EMAIL PROTECTED]
Date: Sat, 30 Dec 2000 00:18:33 GMT
You can use /usr/sbin/netconfig pop in initial network values
then you can use linuxconf to configure the network.
On Fri, 29 Dec 2000 16:19:51 GMT, Bo Berglund <[EMAIL PROTECTED]> wrote:
>I just installed RH6.2 after a disk crash that destroyed my previous
>RH5.2 installation. This is not the first time I have installed RH6.2
>but it was a while ago....
>Now I have this problem:
>I have 2 NIC:s in the PC and I must now configure the IP addresses of
>them. There was no dialogue in the setup sequence where I could do
>that so it has to be done manually.
>In earlier situations I think I remember I used the command netcfg to
>bring up a program screen where I could configure these details.
>But on this system when I type netcfg in a command window in KDE
>nothing happens, or really a sequence of error messages pop up ending
>with 'No such file or directory'
Yes, running Mandrake and had to do a custom install
to get the other tools like netcfg
------------------------------
From: "Nikola" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.help,comp.os.linux.setup,linux.redhat.misc
Subject: Re: Setting locale failed
Date: Sat, 30 Dec 2000 01:32:12 +0100
Yes Chris, but I again have that message when I try to use Perl in XWin.
Chris Albert <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Nikola wrote:
>
> > Yes, you are all rigth, I don't have them on system.
> >
> > Which packages I have to install?
> >
> > It is Linux Red Hat 6.2, kernel 2.2.16.
>
> Nikola,
>
> You dont need to install anything.
> You have perl, and you just want to
> get rid of an annoying error message
> due to some lack of configuration information.
>
> Try doing the following at the command prompt
>
> export LC_ALL=C
>
> and now run perl and see if the errors continue.
>
> Like I said before, you might want to read the perllocale man page.
>
> Good luck
>
> Chris
>
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Thrashing HD
Date: Sat, 30 Dec 2000 00:46:36 GMT
Jean-David Beyer <[EMAIL PROTECTED]> wrote:
> "The rule" is completely counterintuitive to me. The more memory I have,
[...]
> I think "The rule" is ridiculous. What you need to estimate required
[...]
> cheap, I just got 512 Megabytes so I would not need to upgrade soon. I
> sure do not need a GigaByte of swap space. OTOH, had I only 8 Megabytes
It sounds like you have a good idea of how much swap you need, so a
general rule of thumb really isn't right for you. It's a good rule for
someone who has no idea what they need though, then later when they
have more experience, they can make a more informed decision.
FWIW, I have seven Linux machines on my home network. On five of them,
I follow "the rule".
On the machine I do software development on, I have 256M of RAM and 1G
of swap. I need this since when I use "Electric Fence" (Thanks Bruce
Perens!) on programs using real world data sets, I often use way more
than 256M of memory.
On the machine I record audio on, I have 700M of swap, as that
machine will only cache 64M of RAM, and one of the audio programs I
use insists on using RAM for everything until you write the .wav to a
file (I could really get by with 350M, as the biggest thing I record
is one side of an LP, but disks are cheap these days).
--
Jim Buchanan [EMAIL PROTECTED] [EMAIL PROTECTED]
=================== http://www.buchanan1.net/ ==========================
"There are 10 to the 11 stars in the galaxy. That used to be a *huge*
number. But it's only a hundred billion. It's less than the national
deficit! We used to call them astronomical numbers. Now we should
call them economical numbers" -Richard Feynman
========================================================================
------------------------------
From: [EMAIL PROTECTED] (Steve)
Crossposted-To: comp.os.linux.development,comp.os.linux.redhat,linux.redhat.misc
Subject: Re: php + apache on redhat problem
Date: 30 Dec 2000 01:11:29 GMT
Reply-To: [EMAIL PROTECTED]
On Fri, 29 Dec 2000 23:28:19 GMT, Londonboy wrote:
>I am running RedHat 7, and I installed the PHP 4.0.3 (rpm) but it seems do
>not come with the modules for Apache (I am running 1.3.16)? I only have the
>command line version I assume.
>
>Anyone know where can I download the PHP modules for Apache on RedHat? I
>don't want to compile the source code. Anyone help? thanks a lot.
Wy don't you want to compile the source code? It's how programs are made.
Install PHP (you've already done that bit), the build (not install from
the brain dead RPM), apache and install it, you'll probably need to read the
instructions for that. It's a real shame that someone can't go round there
and do it all for you.
--
Cheers
Steve email mailto:[EMAIL PROTECTED]
%HAV-A-NICEDAY Error not enough coffee 0 pps.
web http://www.zeropps.uklinux.net/
or http://start.at/zero-pps
12:43am up 11 days, 12:04, 3 users, load average: 1.08, 1.06, 1.03
------------------------------
From: [EMAIL PROTECTED] (Steve)
Subject: Re: Configuring email for a laptop...
Date: 30 Dec 2000 01:11:29 GMT
Reply-To: [EMAIL PROTECTED]
On Fri, 29 Dec 2000 17:26:19 -0500, Darryl L. Pierce wrote:
>I have RedHat 7.0 installed on my laptop, which I take back and forth
>between work and home. At work, I'm able to send email via our SMTP
>server. At home, I can connect to my ISP's SMTP server to send mail.
>However, if I'm offline and send email, it _never_ gets sent when I
>go online at either work or home.
sendmail -q
>
>I have both the Home and Office profiles configured and archive them
>before switching profiles.
>
>Do I need to configure sendmail or can I spool my email and manually
>send it when I go online?
Which raises the question what mail client are you using?
I use Mutt over here, and write all of my mail and news off line,
in the script that I use to connedt to my ISP, I do sendmail -q
after the connection has been established.
--
Cheers
Steve email mailto:[EMAIL PROTECTED]
%HAV-A-NICEDAY Error not enough coffee 0 pps.
web http://www.zeropps.uklinux.net/
or http://start.at/zero-pps
12:43am up 11 days, 12:04, 3 users, load average: 1.08, 1.06, 1.03
------------------------------
From: [EMAIL PROTECTED] (Steve)
Subject: Re: determing modem connection speeds?
Date: 30 Dec 2000 01:11:30 GMT
Reply-To: [EMAIL PROTECTED]
On Fri, 29 Dec 2000 22:03:42 GMT, Paul Fairless wrote:
>hi
>
>i was trying to find out if there is a way to get pppd (2.3.10) to
>report the connection speed that it got when it hooked up to your isp?
>
>i've got the output going to syslog at the moment so i see all the:
I think that ifconfig can give you that information so have a look at
man ifconfig.
--
Cheers
Steve email mailto:[EMAIL PROTECTED]
%HAV-A-NICEDAY Error not enough coffee 0 pps.
web http://www.zeropps.uklinux.net/
or http://start.at/zero-pps
12:43am up 11 days, 12:04, 3 users, load average: 1.08, 1.06, 1.03
------------------------------
From: [EMAIL PROTECTED] (Steve)
Subject: Re: Problems seeing fonts in xterm
Date: 30 Dec 2000 01:11:31 GMT
Reply-To: [EMAIL PROTECTED]
On Fri, 29 Dec 2000 14:32:04 -0600, Chris Marquardt wrote:
>I'm running redhat 6.1 using the gnome window manager. When I open up
>an xterm I can not see the font in it.
>It comes up the color of my foreground. If I occlude the xterm and
>expose it it will show the font sometimes until
>I start typing again. I've tried different window managers, same
>results. I've tried reversing the video of my xterm,
>same results with the colors reversed. I'm totally lost on this one.
>Does anyone have any suggestions? If so, I
>would greatly appreciate any help that is offered.
Try
$ xterm -bg midnightblue -fg yellow
You'll find all the relevant info in man xterm.
Also it might be a problem with yoru .Xdefaults entries, in my home directory
I have a file called .Xdefaults and the xterm entries are as follows.
XTerm*background: MidnightBlue
XTerm*foreground: light goldenrod
XTerm*rightScrollBar: on
XTerm*scrollKey: off
XTerm*scrollbar*thickness:10
XTerm*scrollbar*background:purple4
XTerm*scrollbar*foreground:lemon chiffon
XTerm*VT100*colorBDMode: off
XTerm.VT100*colorULMode: on
XTerm.VT100*underLine: off
XTerm*VT100*colorUL: green
Hope some of that helps.
--
Cheers
Steve email mailto:[EMAIL PROTECTED]
%HAV-A-NICEDAY Error not enough coffee 0 pps.
web http://www.zeropps.uklinux.net/
or http://start.at/zero-pps
12:43am up 11 days, 12:04, 3 users, load average: 1.08, 1.06, 1.03
------------------------------
From: [EMAIL PROTECTED] (Mark J. Tilford)
Subject: Setting return address in pine
Date: 30 Dec 2000 01:36:53 GMT
Reply-To: [EMAIL PROTECTED]
How do I set the value of the default return address (or Reply-To: ) in
pine? Thanks to anyone who can help.
--
=======================
Mark Jeffrey Tilford
[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 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
******************************