Linux-Misc Digest #903, Volume #25 Sat, 30 Sep 00 18:13:02 EDT
Contents:
no DRQ after issuing WRITE??? ("Doug Piercy")
printing problem - ghostscript problem? (Alexis Bilodeau)
CGI scripts do not work (vivekvp)
Re: *SIGH*No print preview in NS/Linux? (Robert Kiesling)
Re: BIND ACL Workarounds (was: Re: been hacked...have a question) (Grega Bremec)
Red Hat's Linux Application CD which ships with Red Hat Professional Server Version
7 ("Miguel Angel")
Re: BIND ACL Workarounds (was: Re: been hacked...have a question) (Grega Bremec)
Re: Li..... (Leonard Evens)
Re: How to limit e-mail accounts on Red Hat Linux 6.1 ([EMAIL PROTECTED])
Best way to upgrade XFree86? ("Lorenzo ")
problems with diamond viper II on Red Hat 7.0 ("Robert A. Smith")
memory leak? and klogd (William Hamish Bell)
Re: Redhat: hard drive accessing (Fester)
HELP: ioctl does not work (Christoph Lechner)
Mounting Sony SuperStation Tapes (James Silverton)
Re: kernel recompile needed, but Mandrake has modified the source... ("Peter T.
Breuer")
Good gaming video card for Linux? (Gregory Propf)
Re: Mounting Sony SuperStation Tapes (Christopher Browne)
Re: How to limit e-mail accounts on Red Hat Linux 6.1 (Paul Colquhoun)
Re: Good gaming video card for Linux? (Christopher Browne)
Type "(", ")" and "{", "}" in X... ([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: "Doug Piercy" <[EMAIL PROTECTED]>
Subject: no DRQ after issuing WRITE???
Date: Sat, 30 Sep 2000 17:10:03 GMT
After upgrading a Red Hat 5.2 machine to 6.2, I started regularly seeing
these messages on the console and in /var/log/messages:
hostname kernel: hdc: status timeout: status=0xd0 { Busy }
hostname kernel: hdc: no DRQ after issuing WRITE
hostname kernel: ide1: reset: success
I had this problem even after wiping the drive and reinstalling Red Hat 6.2,
which I had to do for other reasons.
hdc is my backup drive, I don't use it for anything but backup storage and
never get errors like this when I do write to it. After much searching I
found out that these errors were getting generated by a cron.daily script
that ran this command:
/usr/bin/slocate -u -f "nfs,smbfs,ncpfs,proc,devpts" -e
"/tmp,/var/tmp,/usr/tmp,/afs,/net"
I don't know what slocate does, or whether I even need it, but if I added my
hdc drive (/backup) to the -e exclusion list, the errors go away.
Is this a bug in the 6.2 version of slocate or does this indicate a possible
problem with my hdc drive? Just wondering.
-Doug
------------------------------
From: Alexis Bilodeau <[EMAIL PROTECTED]>
Subject: printing problem - ghostscript problem?
Date: Sat, 30 Sep 2000 17:19:30 GMT
Hi
I have trouble configuring my printing system on a Mandrake 7.1 system. I tried using
CUPS, LPR
and even PDQ (all of them with ljet4 driver), but neither of them would solve the
problem :
When I try to print on an Optra E+ B&W Laser printer from any program that output
Postscript (
as StarOffice, Sketch, etc.) the text is misaligned on the page (eg. too much space on
the top
of the page and on the left).
When I print raw text or pdf files, everything's ok...
What could it be?
Which conf. file should I fiddle with to correct it?
Thanks
--
Alexis Bilodeau
eMagiK Technologies
819.371.9273
[EMAIL PROTECTED]
------------------------------
From: vivekvp <[EMAIL PROTECTED]>
Subject: CGI scripts do not work
Date: Sat, 30 Sep 2000 17:15:55 GMT
Hi,
I am on a linux server.
My cgi scripts work from a command line prompt but not the web. They
have the right permissions and worked the week before - now the do not.
I suspect the webserver.
What has to be done to a webserver to allow cgi scripts to work.
Right now I get this error:
nternal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator, [EMAIL PROTECTED] and inform
them of the time the error occurred, and anything you might have done
that may have
caused the error.
More information about this error may be available in the server error
log.
Apache/1.3.12 Server at www.xxxxx.com Port 80
Any help?
Thanks,
V
--
He who fights and runs away, lives to run another day!
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Robert Kiesling)
Subject: Re: *SIGH*No print preview in NS/Linux?
Reply-To: [EMAIL PROTECTED]
Date: 30 Sep 2000 13:42:47 -0400
Check the "print to file" button in the dialog box, enter the file
name, save the pages, and then use psselect or pstops from the psutils
package available with most CD distros and from most FTP archives) to
select the pages to print, and use ghostscript/ghostview to preview
the output.
Alternatively, in the File/Save... dialog box, chooss "Postscript"
from the menu, and proceed as above.
In article <8r4qis$[EMAIL PROTECTED]>,
Andrew Purugganan <[EMAIL PROTECTED]> wrote:
>I havent upgraded to Netscape 4.7 anything. Which version of Netscape ,
>or for that matter, which browser supports this? I'd like to know if a
>'Print' will produce a dozen or just one page.
>
>Unless one can suggest how to print page ranges only.
>
>--
>jazz
>Registered linux user no. 164098 +--+--+--+ Litestep user no. 386
>Doesn't it bother you, that we have to search for intelligent life
>--- OUT THERE??
--
Robert Kiesling
Linux FAQ Maintainer
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Grega Bremec)
Crossposted-To: comp.os.linux.admin,comp.os.linux.help,comp.os.linux.security
Subject: Re: BIND ACL Workarounds (was: Re: been hacked...have a question)
Date: Sat, 30 Sep 2000 18:12:33 GMT
...and Bryan Packer used the keyboard:
>If your situation allows you to be selective in which addresses can
>query your server, my vote is use packet filtering as well as the ACL's.
>The more layers of security you can put between you and the big bad
>world the better...
Definitely, TCP traffic doesn't need to exist at all. UDP, however, I
was thinking about disabling user queries and only enable incoming
traffic from UDP port 53, to UDP port 53. Granted, it's not the most
secure thing to do (a malicious query could still come in from port
53), but at least it should exclude people with misconfigured boxen
and those "orphans" who don't have a "native" DNS to query. Besides,
opening UDP/53 seems a whole lot better than opening UDP/0:65535 ;-)
Thank you for your $0.2, it did make me think about it for a while.
Cheers,
--
Grega Bremec
grega.bremec-at-gbsoft.org
http://www.gbsoft.org/
------------------------------
From: "Miguel Angel" <[EMAIL PROTECTED]>
Subject: Red Hat's Linux Application CD which ships with Red Hat Professional Server
Version 7
Date: Sat, 30 Sep 2000 20:20:33 +0200
Somebody have this CD ?
------------------------------
From: [EMAIL PROTECTED] (Grega Bremec)
Crossposted-To: comp.os.linux.admin,comp.os.linux.help,comp.os.linux.security
Subject: Re: BIND ACL Workarounds (was: Re: been hacked...have a question)
Date: Sat, 30 Sep 2000 18:25:08 GMT
...and MIchael Erskine used the keyboard:
>
>I have discovered that killing and restarting a caching name server
>on a crontab can bring in a continuous stream of cache poisioning
>from an unsuspecting adversary. Continuous streams of such bad data
>can be very usefull to the people who watch for such things.
An interesting approach :-)
Still, one would have to mess around with named.conf and logging{} for
a while to enable oneself to track this down. Do excuse my next
question, it might very well be totally out of space, but at this
moment (I've been erect for about 20hrs by now, second week in a
row :-)) I cannot think of a reasonable scenario that would allow for
deliberate cache poisoning (if access control was set up by the book,
that is)... sniff & spoof, perhaps?
>I am sorry I am not able to answer such an important question.
Please, don't be! Contemplating the entire width of the DNS topic is
quite fine with me, as there are still many blanks I need to fill in
on, especially from this point of view. Passive security I could
handle without considerable problems, but being actively involved with
the system is still quite alien to me, at least to a certain degree.
Cheers,
--
Grega Bremec
grega.bremec-at-gbsoft.org
http://www.gbsoft.org/
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: Li.....
Date: Sat, 30 Sep 2000 13:27:37 -0500
mpulliam wrote:
>
> >In article <[EMAIL PROTECTED]>, Eric
> ><URL:mailto:[EMAIL PROTECTED]> wrote:
> >> > ... [snipped] did a fresh install of
> linux but got the same Li and
> >> > then a freeze. I currently boot with
> a floppy but would like to fix it.
>
> I had the same trouble on a linux-only
> fresh install and I had made the error of
> selecting "first sector of boot partition"
> for the bootloader during the install.
> I could only boot from
> a floppy under those conditions.
>
> I did the install over again and chose
> the MBR instead at that question, and
> thereafter could boot properly from the
> hard drive.
>
> I am sure reinstalling is the long way around,
> but it worked for me and now I won't make
> that mistake again.
>
> MP
>
Of course there is no reason NOT to install the lilo boot loader
in the master boot record for a Linux only installation. But
installing lilo in a partition, and not the MBR, should also
work, provided that the partition is entirely below cylinder
1024 and the partition is marked as active. But there are
other reasons why lilo could fail, so one would have examine
the situation in detail.
There is no need to reinstall in order to move the lilo boot loader
to the MBR. If one has a boot floppy, one just boots Linux,
edits lilo.conf properly, and reruns lilo. If there is some chance
the lilo package was not installed properly, one can also reinstall
the package. If one doesn't have a boot floppy, it is also possible
to do what is necessary using a rescue system running in a ramdisk.
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: How to limit e-mail accounts on Red Hat Linux 6.1
Date: Sat, 30 Sep 2000 18:32:58 GMT
In article <[EMAIL PROTECTED]>,
<[EMAIL PROTECTED]> wrote:
> On Fri, 29 Sep 2000 23:47:28 GMT, [EMAIL PROTECTED] <zvojnovic@my-
deja.com> wrote:
> |How to limit e-mail accounts on Linux Red Hat 6.1 which is configured
> |as a mail server so that some users (or maybe all) can not receive a
> |huge (over the limit) e-mails (attahments).What is regular limit?What
> |file to edit.Is it doable by using Linuxconf?
> |Thank you
>
> The system-wide maximum message size is set in sendmail.cf (which
> is created from a template .mc file).
>
> Try /etc/sendmail.cf or maybe /etc/mail/sendmail.cf
>
> Look for "O MaxMessageSize="
>
> The number after this is the message size in bytes. This may be
> commented out with a '#' to make the size unlimited.
>
> You need to stop & restart sendmail after you modify this setting.
> Use '/etc/rc.d/init.d/sendmail restart' to do this.
>
> --
> Reverend Paul Colquhoun, [EMAIL PROTECTED]
> Universal Life Church http://andor.dropbear.id.au/~paulcol
> -=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
> xenaphobia: The fear of being beaten to a pulp by
> a leather-clad, New Zealand woman.
Can I use this feature for only a few users or it`s doable just for
everyone?I need to set it up only for a few users who have its own
group each.
>
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: "Lorenzo " <[EMAIL PROTECTED]>
Subject: Best way to upgrade XFree86?
Date: Sat, 30 Sep 2000 19:42:56 +0100
Hi! I want to upgrade my XFree86: now I have the 3.3.5 release but I want
te new 4.0.1. I only want to know which is the best and safiest way to do
it. I have a Red Hat 6.1. thanks! Lorenzo
------------------------------
From: "Robert A. Smith" <[EMAIL PROTECTED]>
Subject: problems with diamond viper II on Red Hat 7.0
Date: Sat, 30 Sep 2000 20:04:53 +0100
I've just managed to get red hat 7.0 downloaded and installed. I am now
having problems with the diplay.
I have been running RH 6.2 with XFree86 3.3.6 for some time and have had no
problems using the SVGA server as recomended for the viper II/Savage2000
chipset. However RH 7.0 with XFree86 4.0.1 loads fine, but as soon as i try
to move a window or scroll the whole display breaks up and the window is
split all over different areas of the screen.
I'd be really grateful if anyone knows how to fix this, as i need to start
using linux for uni work real soon. At the moment the system is completely
unusable.
Robert A. Smith
------------------------------
From: William Hamish Bell <[EMAIL PROTECTED]>
Subject: memory leak? and klogd
Date: Sat, 30 Sep 2000 14:05:46 -0500
Hi,
When running a memory hungry executable on Redhat 6.1
kernel-2.2.16-3
after some time the windows manager crashes and logs the user out. Then
klogd goes crazy and eats up 99% of the CPU. Just around the time the
window manager crashed the executable is killed. There might be a memory
leak in the executable. That aside is there anything I can do to make
Linux a little more robust?
Thanks and Best Regards,
Will
------------------------------
From: [EMAIL PROTECTED] (Fester)
Subject: Re: Redhat: hard drive accessing
Reply-To: [EMAIL PROTECTED]
Date: Sat, 30 Sep 2000 19:38:22 GMT
On Sat, 30 Sep 2000 03:43:02 GMT, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>Hi,
>
>I found that my Redhat6.2 tries to access my hard drive about every 5
>seconds. I'm using a 256M RAM P3 with 1G swap, So I am really curious
>why redhat access my HD so often.
>
Check cron jobs. Check how much memory is actually in use. Having a big
swap file won't reduce access to the Hard Drive, as the swap is on the
hard drive to begin with.
--
-- Fester
"And Dream dreams of the future. Progress dreams of clean.
And Stress only dreams about stress, all over everything."
==============================================================
------------------------------
From: Christoph Lechner <[EMAIL PROTECTED]>
Subject: HELP: ioctl does not work
Date: Sat, 30 Sep 2000 22:50:54 +0200
Hallo!
My system has a SuSE Linux, v. 6.2 w/ a 2.2.10 kernel.
I use the C source code at the end of this message. If the value of
cdr.cdread_lba is smaller than 35 all's ok. But if I use 1000 for example
the program prompts 'Unable to read the stuff: Invalid argument'! Why ?
Regards
- C. Lechner
---[snip]---
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <linux/cdrom.h>
#include <sys/stat.h>
#include <sys/types.h>
int main (void)
{
char buffer[CD_FRAMESIZE];
int cdrom, i;
struct cdrom_read cdr;
if ( (cdrom = open ("/dev/cdrom", O_RDONLY | O_NONBLOCK)) == -1 )
{
perror ("Konnte CD nicht �ffnen");
return (-1);
}
bzero (&buffer, sizeof (buffer));
bzero (&cdr, sizeof (cdr));
cdr.cdread_lba = 1000;
cdr.cdread_bufaddr = buffer;
cdr.cdread_buflen = CD_FRAMESIZE;
if ( ioctl (cdrom, CDROMREADMODE1, &cdr) == -1 )
perror ("Unable to read the stuff");
close (cdrom);
return (0);
}
------------------------------
From: James Silverton <[EMAIL PROTECTED]>
Subject: Mounting Sony SuperStation Tapes
Date: Sat, 30 Sep 2000 17:01:40 -0400
I have a Sony SuperStation tape drive that is recognized on booting as
hdd. Can anyone tell me how to mount a Superstation tape under Linux? I
suspect that what I need to know is how to describe the formatting of
the tapes. The machine is a dual boot system and the SuperStation is my
regular backup unit for the Windows partition.
TIA,
Jim.
--
James V. Silverton
Potomac, Maryland.
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: kernel recompile needed, but Mandrake has modified the source...
Date: 30 Sep 2000 21:14:25 GMT
Bruce LaZerte <[EMAIL PROTECTED]> wrote:
: On Fri, 22 Sep 2000 12:42:52, -ljl- <[EMAIL PROTECTED]> wrote:
: I've been told that the current Mandrake version 7.1 kernel (2.2.15) is
: patched for UDMA66, supermount and up to 170 other features/fixes, many of
: which I don't need/use but some of which I certainly do.
Hmm ... what makes you think mandrake is a better judge of what should
go in the kernel than the kernel maintainers (or yourself, for that
matter!). Their motives are marketing. Not stability, not fact, not
speed, not anything except featurism. Look up "feature interaction" in
a comp sci dict. And then try and see if any of the bugs tehy
introduced have been reported, acknowledged, or fixed!
If you like some of their patches, take them and keep them.
: If these features are not now in the linux standard patches (16,17,18pre)
: then there's a chance that parts of my installation will not have the
Really? Well, it would take you all of about twenty minutes to find out,
instead of wondering about the possibility! Compile your own, install,
reboot. End of nervous palpitations.
: Guess I'll just have to give it a try...
Yep. Go ahead.
Peter
------------------------------
From: Gregory Propf <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x
Subject: Good gaming video card for Linux?
Date: 30 Sep 2000 16:33:03 -0400
I'm getting a new system and I wonder what people recommend for good
video cards that have accelerated 3D for Linux and will work with recent
games like Quake 3 and SOF? I've been out of the hardware loop for a
few years and don't really know the state of the art. Will any recent
3D card work in Linux/Quake or are the choices more limited?
------------------------------
From: [EMAIL PROTECTED] (Christopher Browne)
Subject: Re: Mounting Sony SuperStation Tapes
Reply-To: [EMAIL PROTECTED]
Date: Sat, 30 Sep 2000 21:27:41 GMT
In our last episode (Sat, 30 Sep 2000 17:01:40 -0400),
the artist formerly known as James Silverton said:
>I have a Sony SuperStation tape drive that is recognized on booting as
>hdd. Can anyone tell me how to mount a Superstation tape under Linux? I
>suspect that what I need to know is how to describe the formatting of
>the tapes. The machine is a dual boot system and the SuperStation is my
>regular backup unit for the Windows partition.
You normally don't "mount" tapes as filesystems. [One of the less bright
"in-duh-viduals" I had the fortune of working with a few years ago never
quite figured this out despite being told _many times_. He thought he
was a Unix SysAdmin; fortunately some of us knew better...]
You read the contents, and do [something] to interpret them.
What kind of software was used to generate the tape? If it is not
basically streaming a FAT filesystem or some such thing onto it, then
it is entirely likely that you will be quite unable to read the data
generated on the Windows side of things...
--
[EMAIL PROTECTED] - <http://www.hex.net/~cbbrowne/>
Never hit someone head on, always sideswipe. Never say, "Foo's last
patch was brain-damaged", but rather, "While fixing the miscellaneous
bugs in 243.xyz [foo's patch], I found...."
-- from the Symbolics Guidelines for Sending Mail
------------------------------
From: [EMAIL PROTECTED] (Paul Colquhoun)
Subject: Re: How to limit e-mail accounts on Red Hat Linux 6.1
Reply-To: <[EMAIL PROTECTED]>
Date: Sat, 30 Sep 2000 21:39:49 GMT
On Sat, 30 Sep 2000 18:32:58 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
|In article <[EMAIL PROTECTED]>,
| <[EMAIL PROTECTED]> wrote:
|> On Fri, 29 Sep 2000 23:47:28 GMT, [EMAIL PROTECTED] <zvojnovic@my-
|deja.com> wrote:
|> |How to limit e-mail accounts on Linux Red Hat 6.1 which is configured
|> |as a mail server so that some users (or maybe all) can not receive a
|> |huge (over the limit) e-mails (attahments).What is regular limit?What
|> |file to edit.Is it doable by using Linuxconf?
|> |Thank you
|>
|> The system-wide maximum message size is set in sendmail.cf (which
|> is created from a template .mc file).
|>
|> Try /etc/sendmail.cf or maybe /etc/mail/sendmail.cf
|>
|> Look for "O MaxMessageSize="
|>
|> The number after this is the message size in bytes. This may be
|> commented out with a '#' to make the size unlimited.
|>
|> You need to stop & restart sendmail after you modify this setting.
|> Use '/etc/rc.d/init.d/sendmail restart' to do this.
|
|
|Can I use this feature for only a few users or it`s doable just for
|everyone?I need to set it up only for a few users who have its own
|group each.
As far as I know, it applies to everybody.
Try asking on comp.mail.sendmail, laots of gurus there who may know
how to do it for a subset of users. Also, have you checked teh FAQ
at http://www.sendmail.org ?
--
Reverend Paul Colquhoun, [EMAIL PROTECTED]
Universal Life Church http://andor.dropbear.id.au/~paulcol
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
xenaphobia: The fear of being beaten to a pulp by
a leather-clad, New Zealand woman.
------------------------------
From: [EMAIL PROTECTED] (Christopher Browne)
Crossposted-To: comp.os.linux.x
Subject: Re: Good gaming video card for Linux?
Reply-To: [EMAIL PROTECTED]
Date: Sat, 30 Sep 2000 21:35:28 GMT
In our last episode (30 Sep 2000 16:33:03 -0400),
the artist formerly known as Gregory Propf said:
>I'm getting a new system and I wonder what people recommend for good
>video cards that have accelerated 3D for Linux and will work with recent
>games like Quake 3 and SOF? I've been out of the hardware loop for a
>few years and don't really know the state of the art. Will any recent
>3D card work in Linux/Quake or are the choices more limited?
There aren't all that many chipsets left to choose from.
The major families of 3D cards seem to be:
a) 3dfx - "Voodoo 3000" and such;
b) Matrox Millennium Gx00
c) Nvidia RIVA
d) ATI Rage
There seems to be widespread disagreement as to which is most
satisfactory; options a) and b) appear to have the most consistent
software support, whilst Nvidia has a habit of playing proprietary games
with access to driver information.
What you spend your $200 is your choice; don't blame me if you make
buying choices on the basis of this and find that radiation from the
card causes your children to grow up with flippers :-).
--
[EMAIL PROTECTED] - <http://www.hex.net/~cbbrowne/linux.html>
If a person with multiple personalities threatens suicide, is that
considered a hostage situation?
------------------------------
From: [EMAIL PROTECTED]
Subject: Type "(", ")" and "{", "}" in X...
Date: Sat, 30 Sep 2000 21:30:21 GMT
Hi,
When i start a shell under X, i can type all characters on my keyboard,
the same when i start the simple editor, but when i start Forte (Java
IDE) written in Java i cant use the "(", ")", "{", "}" and allmost none
of the characters that are located on the same key as a number...
Does anybody have an idea what i can do about that... could it be
something with programs written in Java..?
Mvg,
Erwin
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
** 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
******************************