Linux-Misc Digest #165, Volume #25 Tue, 18 Jul 00 05:13:02 EDT
Contents:
keymap ([EMAIL PROTECTED])
inittab ("Dan Tripp")
Re: Incorrect time stamp on PID (Villy Kruse)
Re: locked mail, cannot read it with elm (Villy Kruse)
Re: Apache q: why do I get Forbidden? (Rasputin)
limit bandwidth (Marcos)
Re: client denied by (Akira Yamanita)
Re: Apache q: why do I get Forbidden? (Akira Yamanita)
Re: Are there substantially more/less RPMs for RH or SuSE? (Rasputin)
X will not start with .xsession in $HOME dir (mikey)
Re: logging DNS/web access (Rasputin)
Re: No response to Save Yourself command (Rasputin)
1-2-1 cd copy ("Simon [Working with T. Cooper]")
How to change runlevel at boot time ? (mikey)
Re: Problem with self-built linux (derived from Debian/Woody) (Rasputin)
Re: SSHD won't start. (Rasputin)
Re: How to change runlevel at boot time ? ("Sander te Riet ook genaamd Scholten")
Re: Apache q: why do I get Forbidden? (Rasputin)
Re: Are there substantially more/less RPMs for RH or SuSE? (Homer Jay)
Re: How to change runlevel at boot time ? (Art Boulatov)
Re: How to change runlevel at boot time ? ("David ..")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Subject: keymap
Date: 18 Jul 2000 14:58:51 +0800
My xterm and rxvt have different key codes for the HOME,END, PageUp, PageDn, Backspace
and Delete.
How can I make them the same in the xterm and rxvt ?
------------------------------
From: "Dan Tripp" <[EMAIL PROTECTED]>
Crossposted-To:
aus.computers.linux,comp.os.linux,comp.os.linux.*,comp.os.linux.admin,comp.os.linux.help,comp.os.linux.questions
Subject: inittab
Date: Mon, 17 Jul 2000 22:37:02 +0800
Here's my line in /etc/inittab for the default :-
id:3:initdefault:
Which looks fine and normal to me - however my system is not booting into
runlevel 3, it's booting past there and into runlevel 5 - which I don't
want - I don't want X (unless I run it manually via startx). Does anyone
know why my system is (or seems to be) ignoring /etc/inittab?
I had originally assumed that somehow the display manager (kdm in my case)
was being started in runlevel 3, however when I type "runlevel" the
response is :-
[\u@\h \W]$ runlevel
# 5
Whether I manually modify the file, or whether I let linuxconf do it, it
makes no difference, whether the initdefault line in /etc/inittab is 3 or 5,
it starts up in 5 regardless. My system is Redhat 6.0, running on dual P54
166 with 128 MB RAM.
Following is the complete contents of my /etc/inittab :-
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
# Author: Miquel van Smoorenburg, <[EMAIL PROTECTED]>
# Modified for RHS Linux by Marc Ewing and Donnie Barnes
# Default runlevel. The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
id:3:initdefault:
# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit
l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6
# Things to run in every runlevel.
ud::once:/sbin/update
# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# When our UPS tells us power has failed, assume we have a few minutes
# of power left. Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.
pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"
# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"
# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6
# Run xdm in runlevel 5
# xdm is now a separate service
x:5:respawn:/etc/X11/prefdm -nodaemon
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: Incorrect time stamp on PID
Date: 18 Jul 2000 07:27:41 GMT
On Mon, 17 Jul 2000 11:05:55 -0700, Barry Grussling <[EMAIL PROTECTED]> wrote:
>Anyone had anyproblems with the time stamp on
>processes being way wrong.
>
>a ps -aux on my machine says that processes
>such as my logon shell (which I just started)
>were started May 30.
>
>My clock and my system time are correct.
>
The process was started last time you logged off. It started
life as getty which then execed the login program, but by doing so
the start time does not change, and neither does the process id.
If the login process then execs the shell witout forking then the
login shell will be the very same process that started life as
a getty program. On some systems you will see that the shell is
started in a new process and the login program continues as a process
just waiting for the shell to terminate.
Villy
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: locked mail, cannot read it with elm
Date: 18 Jul 2000 07:31:12 GMT
On Tue, 18 Jul 2000 06:03:52 GMT, Volodja Koczki <[EMAIL PROTECTED]> wrote:
>I upgraded to slackware 7.1, and now I cannot read the email using elm.
>I get the message
> Waiting to read mailbox while mail is being received: attempt #0
>
>then trying 6 times, afterwards I have:
>
>Cannot lock folder - giving up. Please try again in a few minutes.
>
>I can use mutt, but I cannot update the mail file, the new messages
>remain new even after reading them.
>
>Do you have any idea what I can do to fix it?
>Thanks
Any xxx.lock files in your /var/spool/mail directory. If such a file
exists it is assumed that the corresponding mail box is locked. You
can remove such a file unless it is a very new file.
Villy
------------------------------
From: [EMAIL PROTECTED] (Rasputin)
Subject: Re: Apache q: why do I get Forbidden?
Reply-To: [EMAIL PROTECTED]
Date: Tue, 18 Jul 2000 07:42:59 GMT
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>I have set /home/httpd/html and /home/httpd/cgi-bin to owner nobody
>in group nogroup (same person in httpd.conf) but I can only access it
>from the PC that shares its LAN connection. WHen I access the site
>from work (behind a firewall) I get forbidden. Is that normal, from
>behind a firewall, that is? The httpd daemon runs under nobody (all
>save for one). WHat else can I check, they're all world-readable and
>CGI is world executable. It's not the firewall is it?
>----
Is this redhat by any chance? There's a bug in the rpm, I've heard.
Search on deja.com for
Apache Forbidden
(gets answered at least five times a week, but I build my own so
don't know the answer)
--
Rasputin.
Jack of All Trades - Master of Nuns.
------------------------------
From: Marcos <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: limit bandwidth
Date: Tue, 18 Jul 2000 07:45:01 GMT
hi,
i want to limit the bandwidth internet conection of our customers.
(e.g. customers with modem 56 limit to 5Kb's...). is there any
freeware to do that?
thanks in advance,
marcos
[EMAIL PROTECTED]
------------------------------
From: Akira Yamanita <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.admin
Subject: Re: client denied by
Date: Tue, 18 Jul 2000 07:46:22 GMT
Cesar Serna wrote:
>
> Hello all,
>
> I have installed linux 6.2 and apache 1.3.1.1 and am up and running on
> the net but
> my webserver keeps giving me and error "403 Forbidden". I check my
> error_log
> and it says "client denied by configuration" <-- not exact. Anyone out
> there ever
> have this problem and if so how can I resolve it.
>
> I would apreciate any and all advice.
>
> Thanks
You mean RedHat Linux 6.2? There is no linux 6.2.
Edit /etc/httpd/conf/httpd.conf
Look for: <Files ~ >
(Or something very similar)
Change to: <Files ~ "^\.ht">
Restart apache.
killall -USR1 httpd
------------------------------
From: Akira Yamanita <[EMAIL PROTECTED]>
Subject: Re: Apache q: why do I get Forbidden?
Date: Tue, 18 Jul 2000 07:53:40 GMT
Rasputin wrote:
>
> [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >I have set /home/httpd/html and /home/httpd/cgi-bin to owner nobody
> >in group nogroup (same person in httpd.conf) but I can only access it
> >from the PC that shares its LAN connection. WHen I access the site
> >from work (behind a firewall) I get forbidden. Is that normal, from
> >behind a firewall, that is? The httpd daemon runs under nobody (all
> >save for one). WHat else can I check, they're all world-readable and
> >CGI is world executable. It's not the firewall is it?
> >----
>
> Is this redhat by any chance? There's a bug in the rpm, I've heard.
> Search on deja.com for
>
> Apache Forbidden
>
> (gets answered at least five times a week, but I build my own so
> don't know the answer)
she_died said it works on the local network so that shouldn't
be it. (It does get asked and answered a lot though.)
Most likely, it's either the proxy/firewall that's blocking the
site or the configuration doesn't specify "allow from all" for
those two directories (which would be unusual unless it was
changed without knowing what that does).
It would help to know if it's a 403 Forbidden error or if it's
an error reported by the proxy. A check in the Apache error logs
would clear that up.
------------------------------
From: [EMAIL PROTECTED] (Rasputin)
Subject: Re: Are there substantially more/less RPMs for RH or SuSE?
Reply-To: [EMAIL PROTECTED]
Date: Tue, 18 Jul 2000 07:57:10 GMT
[EMAIL PROTECTED] <blowfish> wrote:
>aflinsch wrote:
>>
>> blowfish wrote:
>>
>> >
>> > Basically. Most of the rpm from RH won't work on Mandrake, or SuSE.
>> > Or the rpm from SuSE won't work on RH or Mandrake, and Mandrake's rpm
>> > won't
>> > work on SuSE or RH.
>> >
>>
>> Mandrake was originally based on RedHat, and uses the same directory
>> configurations. I have never had a problem installing a RH RPM on
>> mandrake, while it is the rare SuSE RPM which will work on Mandrake.
>>
>> I would agree that a Mandrake RPM will not always work on RH however,
>> as Mandrake RPM's are built for a i586 architecture rather than for a
>> i386.
>
>If compiled from source yourself. It doesn't matter if it's for i286 or
>i100,000,086. It's configured *exactly* to *your* machine.
>
>Now, What's better?
>
>-blowfish.
Agreed ; but this is an RPM thread, my man..
Still, I suppose 'RPM sucks' is a fair comment; and one I discovered
about 6 months ago. I've never looked back, but it does make software
a little harder to uninstall.
a] you have to keep track of dependencies yourself
(often packages you put on 3+ months ago)
b] If you're short of disk space, you'll need to rebuild that source tree to
uninstall the software anyway (make uninstall)
The ports system on BSD does away with a], I guess, and
b] is only a problem cos I'm too stingy to buy a decent HDD...
One big thing Linux does have going for it is profile;
like it or not there's
a hell of a lot more software for Linux than *BSD,
the licensing is simpler, people have heard of it
[ am I sounding like Bill Gates yet? ;) ]
Oh, and there's Linuxdoc ; I've not found something similar for
bsd yet (daemonnews.org doesn't count; too quiet)
Blowfish, can you confirm this for me:
Thrash of Death doesn't happen on *BSD? If not, what happens when you
run out of RAM and swap?
I'm getting a new OS Real Soon Now; it'll either be FreeBSD4 or Slack7.1,
Not OpenBSD since it seems hard to get a full-on crypto version in the
UK that doesn't cos full-price, and there's a serious lack of apps
(for security reasons, maybe)?
--
Rasputin.
Jack of All Trades - Master of Nuns.
------------------------------
From: mikey <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,comp.os.linux.setup,comp.os.linux.redhat
Subject: X will not start with .xsession in $HOME dir
Date: Tue, 18 Jul 2000 07:52:30 GMT
Hi,
I have a Red Hat 6.2 with XFree86 3.3.6 installed on my machine. I have
noticed that if I have .xsession (I have .xinitrc and .Xclients symlinked to
.xsession) present in my $HOME dir (it doesn't matter if root or just any
user) I cannot start X. In XDM it will just restart X many times until it
gives up and console login comes up. When I do startx it will quit X
imediately and no hint is given at all ie. just message Waiting for X to
shutdown blah, blah. It doesn't matter what is in the .xsession file at all.
I created empty file, 0 length and the result is the same. If I remove the
file, all is back to normal. Anyone has got any ideas ?? Really appreciate
some help.
Cheers,
Mike
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Rasputin)
Subject: Re: logging DNS/web access
Reply-To: [EMAIL PROTECTED]
Date: Tue, 18 Jul 2000 08:05:13 GMT
[EMAIL PROTECTED] <blowfish> wrote:
>"Peter T. Breuer" wrote:
>>
>> Shawn Button <[EMAIL PROTECTED]> wrote:
>> : does anyone know how to log web page requests from internal clients?
>> : Upper management wants a running log of what pages are requested from
>> : our clinet machines. Redhat 6.1 is our gateway/NAT machine. Any advice
>> : would be appreciated. Thanks,
What's wrong with Apache's normal log files?
I'm sure you can get a prettifier for them from freshmeat or something.
It just seems a bit daft to be installing new servers for something this
basic...
--
Rasputin.
Jack of All Trades - Master of Nuns.
------------------------------
From: [EMAIL PROTECTED] (Rasputin)
Subject: Re: No response to Save Yourself command
Reply-To: [EMAIL PROTECTED]
Date: Tue, 18 Jul 2000 08:08:40 GMT
>
>"Warren Jones" <[EMAIL PROTECTED]> wrote in message
>news:8k5ooj$pkf$[EMAIL PROTECTED]...
>>
>> When I start a Gnome session, I see these symptoms:
>>
>> 1. The file manager is hung, and doesn't repaint
>> itself after being obscured and then uncovered.
>>
>> 2. Desktop icons appear as blank masks,
>> and are not filled in.
>>
>> 3. Within about 60 seconds of logging in,
>> a pop-up appears with this message:
>>
>> Warning: gmc
>> No response to the Save Yourself command.
>> The program may be slow, stopped or broken.
>> You may wait for it to respond or remove it.
>>
>> 4. "top" shows that gmc is using about 66%
>> of CPU cycles.
>>
>> To see if perhaps my Gnome start-up files were corrupted,
>> I removed them from my home directory:
>>
>> rm -rf ~/.gnome* ~/.enlightenment ~/.mc
>>
>> These files were re-generated the next time I logged in,
>> but symptoms persisted.
>>
Redhat 6.2 stuill yuses gnome 1.0.5x ?? (just checked)
Upgrade, October GNOME was pretty much an alpha; 1.2 is a lot more
stable (if you like taskbars and all that stuff)
--
Rasputin.
Jack of All Trades - Master of Nuns.
------------------------------
Date: Tue, 18 Jul 2000 10:08:59 +0200
From: "Simon [Working with T. Cooper]" <[EMAIL PROTECTED]>
Subject: 1-2-1 cd copy
Can anyone tell me how to make an _identical_ backup of
a cd-rom?
Is something along the lines of
#dd if=/dev/scd1 of=/tmp/cdimage.raw bs=1024k count=1
#cdrecord -speed=4 dev=0,0,0 /tmp/cdimage.raw
going to get me anywhere?
------------------------------
From: mikey <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,comp.os.linux.setup,comp.os.linux.redhat
Subject: How to change runlevel at boot time ?
Date: Tue, 18 Jul 2000 08:00:29 GMT
Hi,
I would like to change run level at boot time. Normally it defaults to 5. But
sometimes I don't want xdm. (say there is a prob with my xconfig etc.) I read
all relevant HOWTOS, and found nothing. I thought I should be able to pass it
to the kernel from lilo ?
Regards,
Mike
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Rasputin)
Subject: Re: Problem with self-built linux (derived from Debian/Woody)
Reply-To: [EMAIL PROTECTED]
Date: Tue, 18 Jul 2000 08:15:28 GMT
[EMAIL PROTECTED] <Robert Heine> wrote:
>Hi,
>
>I got a problem, which I can not understand.
>The syslog of my system spits out the following lines
>every 5 minutes:
>
>Jul 18 07:48:20 trick xinetd[225]: warning: can't get client address: Invalid argument
>Jul 18 07:48:20 trick identd[407]: started
>
>So...
>As you maybe have guessed, i'm running xinetd instead of inetd.
>Any ideas, what this "identd" is?
man identd?
=================8<====================
SYNOPSIS
[in.]identd [options]
DESCRIPTION
Identd is a server which implements the TCP/IP proposed standard IDENT
user identification protocol as specified in the RFC 1413 document.
identd operates by looking up specific TCP/IP connections and returning
the user name of the process owning the connection.
It can optionally return other information instead of a user
name.
=================8<====================
"Read the man page" != "I am insulting your mother".
Sometimes it's actually useful.
(To answer your question, you don't need it. Comment it out of /etc/inetd.conf
- or whatever xinetd uses)
--
Rasputin.
Jack of All Trades - Master of Nuns.
------------------------------
From: [EMAIL PROTECTED] (Rasputin)
Subject: Re: SSHD won't start.
Reply-To: [EMAIL PROTECTED]
Date: Tue, 18 Jul 2000 08:18:28 GMT
[EMAIL PROTECTED] <Chumkil> wrote:
>Huh.
>As wussy as a thing it is to do with Linux, I rebooted the server...
>Now SSH works....
You'll get over it.
Next time, try
ps aux|grep ssh
get the PIDs and kill -9 them.
--
Rasputin.
Jack of All Trades - Master of Nuns.
------------------------------
From: "Sander te Riet ook genaamd Scholten" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,comp.os.linux.setup,comp.os.linux.redhat
Subject: Re: How to change runlevel at boot time ?
Date: Tue, 18 Jul 2000 08:29:54 GMT
"mikey" <[EMAIL PROTECTED]> wrote in message
news:8l12qn$8cl$[EMAIL PROTECTED]...
> Hi,
>
> I would like to change run level at boot time. Normally it defaults to 5.
But
> sometimes I don't want xdm. (say there is a prob with my xconfig etc.) I
read
> all relevant HOWTOS, and found nothing. I thought I should be able to pass
it
> to the kernel from lilo ?
>
> Regards,
> Mike
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Use init X
where X stands for the desired runlevel.
Sander
------------------------------
From: [EMAIL PROTECTED] (Rasputin)
Subject: Re: Apache q: why do I get Forbidden?
Reply-To: [EMAIL PROTECTED]
Date: Tue, 18 Jul 2000 08:41:55 GMT
[EMAIL PROTECTED] <Akira Yamanita> wrote:
>Rasputin wrote:
>>
>> [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> >I have set /home/httpd/html and /home/httpd/cgi-bin to owner nobody
>> >in group nogroup (same person in httpd.conf) but I can only access it
>> >from the PC that shares its LAN connection. WHen I access the site
>> >from work (behind a firewall) I get forbidden. Is that normal, from
>> >behind a firewall, that is? The httpd daemon runs under nobody (all
>> >save for one). WHat else can I check, they're all world-readable and
>> >CGI is world executable. It's not the firewall is it?
>> >----
>>
>> Is this redhat by any chance? There's a bug in the rpm, I've heard.
>> Search on deja.com for
>>
>> Apache Forbidden
>>
>> (gets answered at least five times a week, but I build my own so
>> don't know the answer)
>
>she_died said it works on the local network so that shouldn't
>be it. (It does get asked and answered a lot though.)
Doh.
Notice you answered this yourself a few posts later :)
--
Rasputin.
Jack of All Trades - Master of Nuns.
------------------------------
From: [EMAIL PROTECTED] (Homer Jay)
Subject: Re: Are there substantially more/less RPMs for RH or SuSE?
Date: Tue, 18 Jul 2000 02:43:02 -0600
On Mon, 17 Jul 2000 21:27:49, blowfish <[EMAIL PROTECTED]> wrote:
>Homer Jay wrote:
>> >Some Linux apps even run better on BSD than on Linux native. Even rpms.
>> >-blowfish.
>> That's interesting. Why do you suppose that is? And, why would the
>> software run better on a BSD kernel?
>*BSD is a lot more mature. BSD started in the mid '80s. With like a 15
>years ahead of any Linux.
[...snip O rama!...]
>Oh yes, OpenBSD, FreeBSD both have kiss ass hardware detection.
>-blowfish.a
That's all well and good, but you haven't answered my question, now have
you? Note that I would have emailed this to you directly but you didn't
include a fricking valid email address! BTW, do all BSD distros derive
from NetBSD, or are they "free-swimming"?
------------------------------
From: Art Boulatov <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,comp.os.linux.setup,comp.os.linux.redhat
Subject: Re: How to change runlevel at boot time ?
Date: Tue, 18 Jul 2000 12:40:28 +0400
mikey wrote:
>
> Hi,
>
> I would like to change run level at boot time. Normally it defaults to 5. But
> sometimes I don't want xdm. (say there is a prob with my xconfig etc.) I read
> all relevant HOWTOS, and found nothing. I thought I should be able to pass it
> to the kernel from lilo ?
LILO: [LABEL] [RunLevel number]
like
LILO: linux 1
Also may take a look at
/usr/src/linux/Documentation/kernel-parameters.txt.
>
> Regards,
> Mike
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
------------------------------
From: "David .." <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,comp.os.linux.setup,comp.os.linux.redhat
Subject: Re: How to change runlevel at boot time ?
Date: Tue, 18 Jul 2000 03:42:33 -0500
mikey wrote:
>
> Hi,
>
> I would like to change run level at boot time. Normally it defaults to 5. But
> sometimes I don't want xdm. (say there is a prob with my xconfig etc.) I read
> all relevant HOWTOS, and found nothing. I thought I should be able to pass it
> to the kernel from lilo ?
At the lilo prompt enter:
linux 3 # text boot
linux 5 # X boot
--
Registered with the Linux Counter. http://counter.li.org
ID # 123538
------------------------------
** 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
******************************