Linux-Misc Digest #309, Volume #21                Fri, 6 Aug 99 13:13:08 EDT

Contents:
  fail to shutdown (Hankel O'Fung)
  Re: Non-root access to mounted NTFS (Uwe Bonnes)
  Printing on Linux (K Kal)
  Re: What format to burn an Install CD? ("John Hawley")
  Re: upgrading gcc to 2.95 via RPM (Dave Bailey)
  who and w not working (Bruno Barberi Gnecco)
  Re: HPLJ4 Postscript printing resolution 300 vs 600dpi (Christopher Wong)
  Re: Linux as a dial-up gateway (coffee)
  Re: Non-root access to mounted NTFS (Ciprian Toader)
  Have you heard? ("Nathan Neal")
  Re: why do I lose my entire system at restart, how to minimize loss? ("Matt Baker")
  Re: Have you heard? (Oystein Viggen)
  Re: Partition Managers. (Jayan M)
  Re: /etc/fdprm and High Capacity Formatting (Jayan M)
  Re: Have you heard? (Justin B Willoughby)
  Re: Linux has finally crashed (Kaz Kylheku)
  Re: Printing on Linux ("Gordon D. Anderson")
  Howto check if Port # is block by ISP? (Young4ert)
  Counting switch closures (Ted Frohling)
  Re: users can't mount cdrom (Stefan Bauer)
  Re: Installing rpm file on RedHat 6.0 (Daniel Bizuneh)
  bash scripting problem in efax for RedHat 5.2 ("Joel G.")
  Re: signal 11 during kernel compile -- will this solve it? (Cameron L. Spitzer)
  Re: Printing on Linux (William Burkett)
  Re: System copy to new harddisk ("Tony Platt")
  mod_perl and Apache in RH6.0 (cahkt-netepbyr)

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

From: Hankel O'Fung <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: fail to shutdown
Date: Fri, 06 Aug 1999 21:38:50 +0800
Reply-To: [EMAIL PROTECTED]

Hello,

1) My Linux-Mandrake 6.0 (which is claimed to be RHL 6.0 with
enhancements) can't shutdown properly. The command I used is "shutdown
-r now". The shutdown process hanged up in the middle. A line reads

   unable to handle kernel paging request at virtual address ...
   (I haven't jotted down the address).

The line is followed by many bracketed numbers. The last line of the
error message(?) reads

   /etc/rc.d/rc0.d/S00 halt: lines 1: 1155 Segmentation fault
   halt -i -d -p

The linux system was freshly installed. I didn't change any
configuration after installation. In fact, the first thing I did after
installation was to try to reboot the system. What are the possible
causes of the failure?

2) During installation, I chose NOT to install lilo. However, on Windows
98, Norton AntiVirus told me that the master boot record had been
modified. Why?

Cheers, Hankel
--
(The news server here is problematic. Please send me a copy of your
response (if any) by email. Remove the NOSPAM in my e-mail address, of
course.)



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

From: Uwe Bonnes <[EMAIL PROTECTED]>
Subject: Re: Non-root access to mounted NTFS
Date: 6 Aug 1999 14:01:46 GMT

Ciprian Toader <[EMAIL PROTECTED]> wrote:
: Hi,

: For some reason I cannot setup the mount point of my ntfs partition to
: be readable by non-root users. This is obviously annoying and makes no
: sense since all I want is "rx" access for normal users. I tried changing
: permissions before mounting but they always revert back to "r-x------".
: The owner of the directory will also revert back to root after
: mounting.  Allowing non-root users to mount this partition will not
: change this behaviour. Any ideas?

Did you give arguments like
-o uid=503,gid=100,umask=002
to the mount program or have you a line like
/dev/xxx      /yyy          ntfs   noauto,user,uid=503,gid=100,umask=002
in your /etc/fstab?

man mount and friends should help explain these arguments

...

Bye
-- 
Uwe Bonnes                [EMAIL PROTECTED]

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
========= Tel. 06151 162516 ======== Fax. 06151 164321 ==========

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

From: K Kal <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,linux.redhat
Subject: Printing on Linux
Date: Fri, 06 Aug 1999 13:53:29 GMT

Linux Gurus,
     Does anyone know how to configure a printer on LINUX??  All I know
is the printer's IP address.  Can anyone help?

I have RedHat6.0

I've downloaded a printcap file which I place in the /etc directory.
This seems to do the job only when I print from the console, i.e.:

lpr <filename>

but in ineffective when I try to print from applications like
StarOffice.

K.Kal

--
/**************
Keep On Smiling
**************/


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: "John Hawley" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.admin,comp.os.linux.hardware
Subject: Re: What format to burn an Install CD?
Date: Fri, 6 Aug 1999 09:24:48 -0500

Rod,

Thanks for the tip.  The web page you pointed me to had me do this to fix
any permission problems:

chmod -R 755  /tmp/i386
chown -R root:root /tmp/i386

Thanks again.

-John

>> Say, I've downloaded the RedHat 6.0 distribution tree and would like to
put
>> it onto a CD for installs.  I've successfully burned a CD,  but can't get
>> the install process to work.

>>
>You're probably missing execute permissions on some important files.
>(Many of the ftp sites with the files have this wrong, too.)  See my web
>page for more information:
>
>http://www.channel1.com/users/rodsmith/rhjol.html
>
>--
>Rod Smith



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

From: [EMAIL PROTECTED] (Dave Bailey)
Subject: Re: upgrading gcc to 2.95 via RPM
Date: 6 Aug 1999 13:56:53 GMT
Reply-To: [EMAIL PROTECTED]

On 5 Aug 1999 16:55:06 -0500, Paul Kimoto <[EMAIL PROTECTED]> wrote:
>In article <7ocqbt$[EMAIL PROTECTED]>, Dave Bailey wrote:
>> What is the procedure for updating gcc via RPM?  Is it
>> really as simple as getting all the 2.95 rpms and installing
>> them?  Or am I better off downloading the source code and
>> building from that?
>You may like to build from source code, with a build procedure
>something like "./configure --prefix=/usr/local && make 
>bootstrap-lean && make install".  Source code locations and build
>instructions can be found via http://egcs.cygnus.com/.

OK, thanks.  Guess I shouldn't be so trusting of RPM's made
by random people...

-- 
Dave Bailey
[EMAIL PROTECTED]


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

From: Bruno Barberi Gnecco <[EMAIL PROTECTED]>
Subject: who and w not working
Date: 6 Aug 1999 09:10:08 -0500
Reply-To: [EMAIL PROTECTED]

        How do I make whow and w work? It seems to me that this is done by
syslogd or by a configuration in login.defs, but I can't find it. 
        Thanks a lot,

-- 
Bruno Barberi Gnecco <[EMAIL PROTECTED]>  ICQ #1383173  [Running Linux]
 "If mankind lacks objective, isn't it because mankind doesn't exist yet?"
Friedrich Wilhelm Nietzsche - Electric Engineering, Polytechnic School, USP 
http://www.geocities.com/RodeoDrive/1980/      Unlimited Simulator Homepage

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

From: [EMAIL PROTECTED] (Christopher Wong)
Crossposted-To: comp.os.linux.x
Subject: Re: HPLJ4 Postscript printing resolution 300 vs 600dpi
Date: 6 Aug 1999 14:01:47 GMT
Reply-To: [EMAIL PROTECTED]

On Fri, 06 Aug 1999 07:53:53 -0400, Jon Bloom <[EMAIL PROTECTED]> wrote:
>How is the Postscript being sent to the printer? Some Linux distros
>include print filters that can convert Postscript to the native printer
>language as needed, and if one of those is installed you may get the
>effects you're seeing. For example, if in setting up the system you
>specified that the printer was a LaserJet 4 (non-Postscript), any
>Postscript sent to the printing system is likely to be converted before
>being sent to the printer.

I know about the print filters, and used printtool to set my printer to
a Postscript printer. I even sent the raw PS file to the printer from a
non-Linux machine. The result is the same: all my Postscript-generating
apps produce printouts that look like 300dpi output was sent to a
printer capable of 600dpi. They are not jagged -- resolution enhancement 
takes care of that -- but are not as well formed as Windows print
output. 

Chris


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

From: coffee <[EMAIL PROTECTED]>
Subject: Re: Linux as a dial-up gateway
Date: Wed, 04 Aug 1999 20:47:10 -0400

Jose Alcino wrote:
> 
> Hi, people. This is kind of a basic question, but, as I do not have enough
> time to do extensive research, I would like to know if someone here can give
> me some basic directions, so I can focus more on studying the problem and
> not wasting time reading every kind of document.

> Thank you all in advance.

Ive been working on a homepage devoted to linux and I also use RH6.0.
Check out my homepage in my tagline below. Ive got an area for it
listed. Hope it helps.




-- 
        Newbie Problems? Visit www.indy.net/~coffee for help
                coffee at indy dot net * ICQ 1614986 
                        Kokomo, Indiana, USA

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

From: Ciprian Toader <[EMAIL PROTECTED]>
Subject: Re: Non-root access to mounted NTFS
Date: Sat, 07 Aug 1999 02:55:31 +1200

> Did you give arguments like
> -o uid=503,gid=100,umask=002
> to the mount program or have you a line like
> /dev/xxx      /yyy          ntfs   noauto,user,uid=503,gid=100,umask=002
> in your /etc/fstab?
> 
> man mount and friends should help explain these arguments
> 
> Uwe Bonnes                [EMAIL PROTECTED]
> 
> Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
> --------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------


Thanks a lot.
Damn, I should read the man pages first!

Ciprian

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

From: "Nathan Neal" <[EMAIL PROTECTED]>
Crossposted-To: 
alt.linux,alt.linux.sux,alt.os.linux,alt.os.linux.caldera,alt.os.linux.mandrake,alt.os.linux.slackware,alt.sex.fetish.linux,be.comp.os.linux,comp.os.linux.security,esp.comp.so.linux.misc
Subject: Have you heard?
Date: Fri, 6 Aug 1999 09:33:22 -0500

Microsoft challenges hackers to break into Windows 2000

In a controversial move, Microsoft Corporation has made one of its Windows
2000 Servers on the Internet available to hackers, inviting people to
attempt to break in. The goal: To make Windows 2000 as industrial strength
as possible. The company says it is looking for any "magic bullet" attacks
that can kill it, and has asked hackers to follow some simple rules so that
they can determine the validity of any attacks. Since the server went online
Tuesday morning, it has yet to be hacked.

Feel you've got the right stuff?  Head on over to
http://www.windows2000test.com and find out.

Note: At the time of this writing, the server was unavailable, but its
expected to be back up soon.






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

From: "Matt Baker" <[EMAIL PROTECTED]>
Subject: Re: why do I lose my entire system at restart, how to minimize loss?
Date: Fri, 6 Aug 1999 10:38:56 -0400

Thats funny, I am using mandrake 6 also...  hmmm......
matt



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

From: Oystein Viggen <[EMAIL PROTECTED]>
Crossposted-To: 
alt.linux,alt.linux.sux,alt.os.linux,alt.os.linux.caldera,alt.os.linux.mandrake,alt.os.linux.slackware,alt.sex.fetish.linux,be.comp.os.linux,comp.os.linux.security,esp.comp.so.linux.misc
Subject: Re: Have you heard?
Date: 06 Aug 1999 16:53:32 +0200

"Nathan Neal" wrote: 

> Microsoft challenges hackers to break into Windows 2000
> 
> In a controversial move, Microsoft Corporation has made one of its Windows
> 2000 Servers on the Internet available to hackers, inviting people to
> attempt to break in. The goal: To make Windows 2000 as industrial strength
> as possible. The company says it is looking for any "magic bullet" attacks
> that can kill it, and has asked hackers to follow some simple rules so that
> they can determine the validity of any attacks. Since the server went online
> Tuesday morning, it has yet to be hacked.
                   ^^^^^^^^^^^^^^^^^^^^^^^

That's probably correct. It has crashed several times since then,
though...  :)

Oystein
-- 
"But you know what they say - The world wasn't built in a day"

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

From: Jayan M <[EMAIL PROTECTED]>
Subject: Re: Partition Managers.
Date: Fri, 6 Aug 1999 14:30:00 GMT

try 'fips' , it comes with all linux distros,
or you can get it from redhat or debian sites..

Jayan

Sid wrote:

> Hello ,
>
> I wanted to know the best partition manager available . I know you might say
> "Partition Magic 4 !" but it costs $$$ . I want to know about
> freeware/shareware partition managers which do not destroy my partitions .
> I've found one ( Ranish Partition Manager : http://come.to/ranish ) but it
> is in beta and is a bit confusing. I've heard that Caldera has one partition
> manager . Can I use that on Redhat Linux 6.0 ??
>
> Any useful link will be appreciated.
>
> Siddharth S



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

Crossposted-To: comp.os.linux.setup
From: Jayan M <[EMAIL PROTECTED]>
Subject: Re: /etc/fdprm and High Capacity Formatting
Date: Fri, 6 Aug 1999 14:07:18 GMT

ls -l /dev/fd*

you'll find some entries like fd0u1722 etc..

do a 'mke2fs /dev/fd0u1722', that should do it, I guess.

IMHO, all of those fd0s point to your first floppy drive
(a.k.a. Window~1/Doze a: drive) , only it reads/writes in
a different format by the device name you called it.

It worked for me, when I was trying to do a tomsroot
lookalike.

Don't have access to my linux machine now, else could
have specified the mknod parameters for creating this
device, if it's not there on your machine.

Jayan


Stephen Satchell wrote:

> apropos floppy
> man 4 fd
> man 1 mknod
>
> [EMAIL PROTECTED] (Kenny Kim Leung) wrote in
> <[EMAIL PROTECTED]>:
>
> >Hi everyone! I want to know how to format floppies to high capacities
> >such as 1722, 1760, 1840, 1920, etc for making rootdisk. Is it necessary
> >to edit /etc/fdprm? I glanced at this file as well as its man page but
> >can't figure out how to add entries for 1760/1440. Anyone could show me
> >his fdprm or point me to some sources of information?
> >




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

From: [EMAIL PROTECTED] (Justin B Willoughby)
Crossposted-To: alt.os.linux.slackware,comp.os.linux.security
Subject: Re: Have you heard?
Date: 6 Aug 1999 15:25:15 GMT
Reply-To: [EMAIL PROTECTED] (Justin B Willoughby)


[Cross Postings Reduced]

Oystein Viggen ([EMAIL PROTECTED]) writes:
> "Nathan Neal" wrote: 
> 
>> Microsoft challenges hackers to break into Windows 2000
>> 
>> In a controversial move, Microsoft Corporation has made one of its Windows
>> 2000 Servers on the Internet available to hackers, inviting people to
>> attempt to break in. The goal: To make Windows 2000 as industrial strength
>> as possible. The company says it is looking for any "magic bullet" attacks
>> that can kill it, and has asked hackers to follow some simple rules so that
>> they can determine the validity of any attacks. Since the server went online
>> Tuesday morning, it has yet to be hacked.
>                    ^^^^^^^^^^^^^^^^^^^^^^^
> 
> That's probably correct. It has crashed several times since then,
> though...  :)
> 

http://slashdot.org/article.pl?sid=99/08/05/1248205&mode=thread

http://www.zdnet.com/zdnn/stories/news/0,4586,2309474,00.html?chkpt=hpqs014
[Microsoft to hackers: Crack this!  But Windows 2000 test server appears
to have crashed without any help.]

- Justin
--
   _/     _/_/_/  _/    _/  _/    _/ _/   _/   RULES!! * LINUX RULES *
  _/       _/    _/_/  _/  _/    _/   _/_/     Justin Willoughby
 _/       _/    _/  _/_/  _/    _/     _/      http://justinw.net
_/_/_/ _/_/_/  _/    _/  _/_/_/_/    _/ _/     ---- Jesus Is Lord ----

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

From: [EMAIL PROTECTED] (Kaz Kylheku)
Crossposted-To: comp.os.linux.x,comp.os.linux.development.apps
Subject: Re: Linux has finally crashed
Date: Fri, 06 Aug 1999 16:30:51 GMT

On Fri, 30 Jul 1999 11:11:32 +0100, Jon Skeet <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] wrote:
>
>> > Since this can happen due to so many reasons (power outage, power supply
>> > failure, accidentally bumping the reset button, an OS crash, etc) is
>> > there any way to avoid this?
>> 
>> No real solution (besides journalling files systems with lower
>> performance) seems possible here.
>
>Isn't there some new file system on the horizon using B-trees which is 
>journalling and yet faster than ext2fs?

What would be the advantage of using B-trees? They are a rather complicated
structure. The system of using the inode to store the pointers to the first few
blocks, and a system of indirect and doubly-indirect blocks works well enough.

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

From: "Gordon D. Anderson" <[EMAIL PROTECTED]>
Subject: Re: Printing on Linux
Crossposted-To: alt.linux,alt.os.linux,linux.redhat
Date: Fri, 06 Aug 1999 16:34:15 GMT

If it prints from the console, you are already doing better than I am.
I have Slackware, but when I enter lpr <filename> it tells me that it
can't get the official name of the local machine, whatever that means.
The machine name is everywhere.

In comp.os.linux.misc K Kal <[EMAIL PROTECTED]> wrote:
> Linux Gurus,
>      Does anyone know how to configure a printer on LINUX??  All I know
> is the printer's IP address.  Can anyone help?

> I have RedHat6.0

> I've downloaded a printcap file which I place in the /etc directory.
> This seems to do the job only when I print from the console, i.e.:

> lpr <filename>

> but in ineffective when I try to print from applications like
> StarOffice.

> K.Kal

> --
> /**************
> Keep On Smiling
> **************/


> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.

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

From: Young4ert <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Howto check if Port # is block by ISP?
Date: Fri, 06 Aug 1999 12:37:25 -0400

Hi,

I am connected to the Internet through a local ISP: NetZero.net.  I can
surf the Internet with NetScape 4.6.1.  I can even send e-mail to anyone
through the ISP's stmp server.  However, when I tried to setup my other
e-mail account from a third party e-mail provider, i.e. mailandnews.com,
I could not send out the e-mail and the sendmail responded with "Network
Unreachable".  Having said that, I did the following to test if the ISP
has blocked the smtp port:

1. "telnet mailandnews.com 25" produces the following error message:

   telnet mailandnews.com 25
   Trying 199.29.68.160...
   telnet: Unable to connect to remote host: Network is unreachable

2. "telnet mailandnews.com 23" produces the following error message:

   telnet mailandnews.com 23
   Trying 199.29.68.160...
   telnet: Unable to connect to remote host: Connection refused

So, it looks me that the ISP has blocked the smtp port.  Can anyone
please confirm that what I have done above is correct?  Also, is there a
way to by pass the blockage?

I certainly appreciate if you could kindly respond through e-mail. 
Thanks.

-- 
[EMAIL PROTECTED]

PS> Remove the "4" from e-mail address to respond.

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

From: Ted Frohling <[EMAIL PROTECTED]>
Subject: Counting switch closures
Date: Fri, 06 Aug 1999 07:53:48 -0700

I need to be able to count external switch closures using redhat 6.0.
I have done this with DOS, etc, using some assembly and C but
I'm having trouble with linux.  In the other world, it's pretty easy to
do using the parallel port, I assume the printer driver is in the way.
Anyone have any suggestions?

TIA

--
    Ted Frohling (TF30-ARIN)                   The University of Arizona
    520.621.4834                                           CCIT Room 131
    [EMAIL PROTECTED]                                        PO Box 210073
    www.Telcom.Arizona.EDU/tsf                     Tucson, AZ 85721-0073




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

Date: Fri, 06 Aug 1999 14:42:13 +0200
From: Stefan Bauer <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.networking
Subject: Re: users can't mount cdrom

Jeff Greer schrieb:
> 
> Hello,
> 
> Why can I only mount the cdrom drive as root?
> 
> here is /etc/fstab
> 
> /dev/scd0               /mnt/cdrom              iso9660
> noauto,ro,user  0 0
> 
> -rwxr-xr-x   1 root     users       37672 Oct  6  1998 /bin/mount
> brwxrwxrwx   1 root     users     11,   0 May  5  1998 /dev/scd0
> lrwxrwxrwx   1 guest    users           4 Mar 26 04:23 /dev/cdrom
> -> scd0
> 
Looks quite o.K. 
What are the permissions for /mnt/cdrom?
-- 

Stefan Bauer

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

From: Daniel Bizuneh <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Installing rpm file on RedHat 6.0
Date: Fri, 06 Aug 1999 09:08:40 -0700

This is a multi-part message in MIME format.
==============E05DE1D42EF20CD266DF9F5F
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

[EMAIL PROTECTED] wrote:

> Daniel Bizuneh wrote:
> >
> > I am trying to install ptolemy software from Berkeley on my RedHat 6.0
> > machine. I used the command "rpm  -i file_name" to install the software,
> > but I keep getting the following error message:
> >
> > error: failed dependencies:
> >  /bin/sh   is needed by ptolemy-bin-0.7.1p1-3
> >  /bin/sh is needed by ptolemy-bin-0.7.1p1-3
> >  /bin/sh   is needed by ptolemy-source-0.7.1p1-3
> >  /bin/csh is needed by ptolemy-source-0.7.1p1-3
> >  /bin/sh is needed by ptolemy-source-0.7.1p1-3
> >  /bin/sh   is needed by ptolemy-usersman_html-0.7.1p1-3
> >
> > I have looked in  /bin/  directory to make sure I have "sh" and "csh"
> > executable files.  I noticed that
> > both "sh" and "csh" are linked to "bash" and "tcsh" respectively.  The
> > question is how can I avoide the dependency problem that I keep getting?
> >
> > Thanks,
> >
> > Daniel Bizuneh
>
> If you believe that the needs are really covered you can:
>     rpm -Uvh --nodeps ptolemy*.rpm
>
> You can
>     rpm -e ptolemy-bin
>     rpm -e ptolemy-source
>     rpm -e ptolemy-usresman_html
> if the program doesn't work as expected.

I tried the "--nodeps" option and the whole X window freezes while it was
installing the rpm files.  I had to do reset on the machine to start the X
window. Do you know if there is a way to solve the dependency problem without
using the "--nodeps" option?

Thanks,



==============E05DE1D42EF20CD266DF9F5F
Content-Type: text/x-vcard; charset=us-ascii;
 name="gondar.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Daniel Bizuneh
Content-Disposition: attachment;
 filename="gondar.vcf"

begin:vcard 
n:Bizuneh;Daniel
x-mozilla-html:FALSE
org:Home
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Engineer
x-mozilla-cpt:;0
fn:Daniel Bizuneh
end:vcard

==============E05DE1D42EF20CD266DF9F5F==


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

From: "Joel G." <[EMAIL PROTECTED]>
Subject: bash scripting problem in efax for RedHat 5.2
Date: Thu, 05 Aug 1999 11:13:22 -0700

I am trying to set up fax services using the efax RPM for RedHat 5.2. I
have a problem with the efax /bin/sh script:

        cd $FAXDIR              # the lpr spool directory for printer
'fax'

        cfile=`tail -1 lock`
        cfile=`cat $cfile`

        num=` echo "$cfile" | sed -e /^[^J]/d -e s/.//`
        host=`echo "$cfile" | sed -e /^[^H]/d -e s/.//`
        user=`echo "$cfile" | sed -e /^[^P]/d -e s/.//`

        cat - >> fax$$                  # save in a file

        l=`$FAX send "$num" fax$$`

The script changes to the /var/spool/lpd/fax directory, grabs the
current cf* file from the lock file.

(This is were it breaks)
It tries to cat the cf* file. From what I can tell, it never gets the
results of the cat command. Could someone tell me why this would be
true. I've tried more variations than can be described here, but none of
them seem to work. Is there something strange with the RedHat 5.2 BASH
shell?

I have spent almost two days on this little bit of code and am no closer
to a solution than when I started. Any help would be gratefully
appreciated.

-- Joel Griffiths

Senior Internet Engineer                  Aver, Inc.
(760) 568-4351 Phone              (760) 341-8694 Fax
"The world won't change just because I complain."
               Martina McBride




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

From: [EMAIL PROTECTED] (Cameron L. Spitzer)
Subject: Re: signal 11 during kernel compile -- will this solve it?
Date: 6 Aug 1999 15:46:55 GMT

In article <[EMAIL PROTECTED]>, Vilmos Soti Chou wrote:
>Eric Wyles wrote:
>> 
>> I have an old 486 and I'm trying to recompile the kernel.
>> During the 'make zImage' I get a signal 11 with gcc.
>> 
>
>grep sig11 /usr/src/linux/Documentation/Configure.help

Most of the unbranded 486 boxes used marginal motherboards, and a lot
of them were "overclocked" or used memory too slow for the job.
Turning the clock rate down is usually the easiest way to make
such a machine reliable.  Look for a socketed oscillator module
twice the nominal speed of the CPU, and try one 10-15% slower.
The turbo button will probably not help because it's not really
switching the clock rate, it's adding wait states or extraneous
bus cycles or something.

Cameron



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

From: William Burkett <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,linux.redhat
Subject: Re: Printing on Linux
Date: Fri, 06 Aug 1999 10:26:35 -0500

>
> I've downloaded a printcap file which I place in the /etc directory.
> This seems to do the job only when I print from the console, i.e.:
>
> lpr <filename>
>

How did you set up the printer in the first place?  Linuxconf or Control
Panel are good places to start.  I also use RH 6.0, and haven't had any
trouble when using these tools.  If you know the IP (or server name) and
the printer name, that should be enough info to find it.  What it does
when it gets there is another story.  Using someone else's printcap can be
a dangerous thing, since they are highly customized.

In any case, if you are able to print from the command line but not from
some software package, it seems logical that the problem is with the
software configuration.  Perhaps it's trying to print to
lp0 instead of lp1.  Hard to say without more info.


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

From: "Tony Platt" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: System copy to new harddisk
Date: Sat, 7 Aug 1999 02:55:20 +1000

a..
b.. Partition and make filesystems on the drive (fdisk, mke2fs, mkswap)
c.. Mount the filesystems and make a few directories
        # mount /dev/hdb1/ /mnt
        # mkdir /mnt/mnt /mnt/proc
d.. Copy everything over to the new drive
        # cd /
        # ls | grep -v proc | grep -v mnt > everything
        # (tar cf - `cat everything`) | (cd /mnt; tar xvpf - )
e.. Change /mnt/etc/fstab and /mnt/etc/lilo.conf to reflect the new boot
device.
f.. Run lilo to install the bootloader on to the new drive
        # lilo -r /mnt

Tony

    jackson wrote in message <[EMAIL PROTECTED]>...


    Hi,  to all Linux-users,
    Would be very grateful for any advice.

    Question:  How to successfully transfer a complete bootable Linux-system
to a new harddisk,
    and later removing the old harddisk from the machine

    Have been successful so far in doing:
    1)  Setting up the new drive  as slave
    2)  Copying the windows98  on the new  Primary Partition with
Disk-Wizard
    3)  Creating and  Formatting new portions on the new  drive   (native
82) and swap (83)
         swap (250MB) native  12000MB
    This the  status quo now!!!!

    Now I guess. Problably  I have to  mount   the new  native    /dev/hdb3
on a   new directory ????

    How can I then transfer   (they told me to use  cpio) all the data  to
the new native  partition??

    so that I can make it bootable   and can reinstall    lilo  for
dualboot.

    Finally the old harddisk should be removed.


    I thank you all so much for any  help!!!!!

    Especially   what are the  parameters for cpio

    Is it
    cpio   copy-pass     /dev/hda3    /*       /dev/hdb3   /*     ?????

    Ownership and permissions   must be the same in the new version

    dev/hda3 ( my original system with all data)
    dev/hdb3 (my empty new  system partition)



    Thank you so much gentlemen!!!!
    --

--
bye from JOHN
Hans Prader,Penzendorf 84  A-4552 WARTBERG/Kr. AUSTRIA/EUROPE
Tel.0043-7587-7871
*******************L I N U X  I S  A L I V E***********************
e-mail:[EMAIL PROTECTED]
pics from Mt.Kailash-Western Tibet   http://members.magnet.at/prader-oe5fol
























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

From: cahkt-netepbyr <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: mod_perl and Apache in RH6.0
Date: Fri, 06 Aug 1999 16:31:07 GMT

I'm fighting with apache_1.3.6 and compiling mod_perl in.

Now, I can build mod_perl-1.21 without a problem, but when i go to build
apache with mod_perl statically, it doesn't work.

I do this, to configure apache (and i have to chroot apache)

$ cd ../apache_1.3.6
$ ./configure \
  --prefix=/usr/local/jail/apache \
  --activate-module=src/modules/perl/libperl.a

The configure works without a flaw if i don't add perl (minus the
--activate-module=src/modules/perl/libperl.a), but if i do attempt to
add libperl.a, i get this:

Configuring for Apache, Version 1.3.6
 + using installation path layout: Apache (config.layout)
  + activated perl module (modules/perl/libperl.a)
Creating Makefile
Creating Configuration.apaci in src
      + id: mod_perl/1.21
      + id: Perl/5.00503 (linux) [perl]
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
Creating Makefile in src
 + configured for Linux platform
 + setting C compiler to gcc
 + setting C pre-processor to gcc -E
 + checking for system header files
 + adding selected modules
    o perl_module uses ConfigStart/End
      + mod_perl build type: OBJ
      + setting up mod_perl build environment
      + adjusting Apache build environment
      + enabling Perl support for SSI (mod_include)
 + doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. This is most likely because your C compiler
** is not ANSI. Apache requires an ANSI C Compiler, such
** as gcc. The above error message from your compiler
** will also provide a clue.
 Aborting!

Now, i think this indicates that i need to rebuild perl, but if so, i'm
not entirely sure how to do it.  Any help would be appreciated.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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


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

Reply via email to