Linux-Misc Digest #834, Volume #26               Tue, 16 Jan 01 15:13:02 EST

Contents:
  Re: How can I search file at midnight commander? (Carfield Yim)
  Re: Does anyone got Tomcat running on Redhat 7.0 (Carfield Yim)
  Re: tar question? ([EMAIL PROTECTED])
  Re: How can I search file at midnight commander? (Carfield Yim)
  Re: Linux on Athlon (drumvudu)
  shutdown command (JCA)
  Re: Where to find the inetd.conf (David Hart)
  Re: Linux on Athlon (John Peach)
  Re: vmware (Sinner from the Prairy)
  Re: Linus Torvalds is dead?!?! (Bob Tennent)
  Xemacs auto indentation? ("Eric")
  Re: distribution recommendation? (Rod Smith)
  Re: Help: New SCSI Card, Old can still scanned (George)
  Netscape mime types/helper applications (Jason Bond)
  Re: How do I access an old linux drive?? (Uwe Malzahn)
  Re: tar question? (Villy Kruse)
  Re: Any good doc about TeX LaTeX ? ([EMAIL PROTECTED])
  Re: XFree86 crashing monitor and mouse on Gateway Performace w/ EV700? 
([EMAIL PROTECTED])
  linux firewall and Netmeeting (no sound) (Marian Heddesheimer)
  Re: Java loading is slow (TomCat) (Jon Skeet)
  Re: Linux on Athlon (Tobias Schenk)
  Backing up to a remote machine using ssh (doug reeder)
  Re: scripting question ("Matt Gross")
  Re: Any good doc about TeX LaTeX ? ("Cameron Kerr")
  Re: How to use grep to exclude some file? (doug reeder)

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

From: Carfield Yim <[EMAIL PROTECTED]>
Subject: Re: How can I search file at midnight commander?
Date: Tue, 16 Jan 2001 18:01:05 GMT


> when it says M-v that means META key followed by 'v'. Try ALT-V and see
> if the default META is ALT in MC
>
> C-v onthe other hand is CONTROL key followed by 'v'
>
if the default META is not ALT in MC, how can I set?


Sent via Deja.com
http://www.deja.com/

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

From: Carfield Yim <[EMAIL PROTECTED]>
Subject: Re: Does anyone got Tomcat running on Redhat 7.0
Date: Tue, 16 Jan 2001 18:05:01 GMT


> Can you please give me some tips.  I cant get it working

I just follow the step of
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/index.html, can you
tell me you problem more specific? or you can go to jguru for more
information?


Sent via Deja.com
http://www.deja.com/

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.unix.aix,comp.unix.bsd.freebsd.misc
Subject: Re: tar question?
Date: 16 Jan 2001 18:10:41 GMT

In comp.unix.bsd.freebsd.misc Antony Mak <[EMAIL PROTECTED]> wrote:
> Hi all,

> We have a Freebsd unix server as our file server. Everyday users put the=
ir
> files on the server name as "yyyymmddxxxxx". When I try to use tar to ba=
ckup
> the files by month. It failed as follow:

> #tar czvf /backup/backup.tgz /data/200012*
> /usr/bin/tar: Argument list too long

> Can anyone tell me how can I make daily backup on such large amount file=
s in
> a directory.

tar is a portability tool,
dump is for backup

I suggest you start converting to dump.

In the meantime, have a look at xargs(1), your argument list is
probably too long (as a result of a large number of files in
this directory.=20

Peter h


> Thanks in advance

> Antony
> --
> [EMAIL PROTECTED]



--=20
Peter H=E5kanson               Phone     +46707328101       Fax +463122319=
0
IPSec sverige                Email      [EMAIL PROTECTED]=20=20
"Safe by design"             Address    Bror Nilssons gata 16  Lundbystran=
d
                                        S-417 55  Gothenburg   Sweden=20=20=
=20=20=20=20=20=20=20

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

From: Carfield Yim <[EMAIL PROTECTED]>
Subject: Re: How can I search file at midnight commander?
Date: Tue, 16 Jan 2001 18:07:11 GMT

Besides, can you tell me how can I quickly jump to which file in MC?


Sent via Deja.com
http://www.deja.com/

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

From: drumvudu <[EMAIL PROTECTED]>
Subject: Re: Linux on Athlon
Date: Tue, 16 Jan 2001 18:35:25 GMT

I run an amd chip with no probs whatsoever. :)

 "Nothing astonishes men so much as common sense and
 plain dealing"...Ralph Waldo Emerson

 "It takes a wonderful brain and exquisite senses to produce a few
 stupid ideas"...George Santayana

 Confucious say "If you play in root,
 eventually you will kill tree"...anonymous

 SuSE 7.0 2.2.16
 Linux: t h e   c h o i c e   o f  a
 G N U   g e n e r a t i o n  . . .
                                                           

On Tue, 16 Jan 2001, Dirk Groeneveld wrote:

> Eric Headley wrote:
> > I am thinking of buying a new machine with an Athlon chip instead of a
> > Pentium 4.  Are there any problems with running Linux on Athlon ?
> 
> Well, the least I can think of is that i've heard that linux doesn't 
> support the second ide-driver on the ASUS A7V mainboard ... couldn't quite 
> believe it and didn't try it either.
> 
> Maybe it was something like you couldn't boot from it ... sorry, to the 
> best of my recollection, i can't recall ;-)
> 
> Dirk
> 


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

From: JCA <[EMAIL PROTECTED]>
Subject: shutdown command
Date: Tue, 16 Jan 2001 10:33:55 -0800


    According to the doc (under Slackware 7.1) when invoked with -a
shutdown is supposed to check /etc/shutdown.allow in order to find
out if the user invoking it is allowed to do a shutdown.

    Well, my shutdown doesn't. It seems to ignore /etc/shutdown.allow
altogether, always saying that only root is allowed to execute such
command.

    On the other hand, if its permissions are changed to 4755 then
anybody
can invoke it. Not only is this not in agreement with the man pages but,

in addition, it is a rather dangerous behavior.

    Has anybody out there observed this? If so, where can one get a
shutdown that complies with the man pages?




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

From: David Hart <[EMAIL PROTECTED]>
Subject: Re: Where to find the inetd.conf
Date: Tue, 16 Jan 2001 18:38:41 +0000

Thaddeus L Olczyk wrote:

> Is xinetd.conf associated with xinetd  and not inetd?

Yes, there is no inetd in RH7.

> What's the difference?

It's more flexible.  Off the top of my head:-

Ability to configure access permissions (hosts and time) and logging 
per service.  Redirection of requests to another host.  Binding of 
services to a specific interface.

-- 
David Hart


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

From: [EMAIL PROTECTED] (John Peach)
Subject: Re: Linux on Athlon
Date: Tue, 16 Jan 2001 18:39:43 GMT

In article <[EMAIL PROTECTED]>,
 drumvudu <[EMAIL PROTECTED]> writes:
|>I run an amd chip with no probs whatsoever. :)

<13 lines of sig snipped>
gives a sig to noise ratio of approx 8%....
Whatever happened to the old usenet netiquette that sigs should be no
more than 4 lines?

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

From: Sinner from the Prairy <[EMAIL PROTECTED]>
Subject: Re: vmware
Date: Tue, 16 Jan 2001 13:47:12 +0000

[EMAIL PROTECTED] wrote:
 
> Don <[EMAIL PROTECTED]> wrote:
> > VMware works quite well, you will need a relatively fast machine and a
> > decent amount of memory.

Hi,

For smaller machines, there's Win4Lin, from Netraverse
www.netraverse.com . I guess that you could use with a K6/400 and 128MB
RAM.

It's not a virtual machine, but you install windows and other
applications. Pretty neat.

> If you do not mind another machine, but don't want the second
> monitor and keyboard on your desk, look into VNC from
> http://www.uk.research.att.com/vnc/ It's free software that lets you
> view a Windows desktop in a window under X, or, working the other way,
> an X desktop in a window (or full-screen) under Windows. It's not as
> fast as being on the console, but it's faster than vmware is on my
> 450MHz K6-2 with 256M of RAM (which is quite usable).
 
> I've not tried it, but I've read about a less expensive alternative to
> vmware called win4lin, at http://www.netraverse.com/ It looks
> interesting.


I've been using VNC extensively myself. I use it to remotely manage
WinNT servers from a Windows95 box (Celeron 366, 64MB) and it worked
quite well. Much better than going to the physical location and be
frozen to death by the massive cooling system of the servers room!!

It's like "PC-Anywhere" but with differences: it's free (cost zero),
multiplatform (there's Linux, *nix, Win, Mac... ports) and it can work
from java-enabled browsers as well.

The drawback: the information sent through the machines is not
encripted, so you only want to use it over a local network or when
there's no other alternative.


Salut,
Sinner
-- 
http://www.geocities.com/sinner_prairy
[MaDuiXa PoWeR] http://www.maduixa.net
__________________
                  |\                 Linux User # 89976
=====Sinner==== >=--[]>- a Mach 2.5!!  Running on Mandrake 7.2
__________________|/                     Linux Machine # 38068

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

From: [EMAIL PROTECTED] (Bob Tennent)
Subject: Re: Linus Torvalds is dead?!?!
Date: 16 Jan 2001 18:32:40 GMT
Reply-To: [EMAIL PROTECTED]

On Tue, 16 Jan 2001 16:34:57 +0200, Dr. Jason J. Hogan-O'Neill wrote:
 >Is it true? I heard a radio report that Linus Torvalds was seriously
 >injured in a car crash a couple of hours ago and his situation was
 >critical.
 >
 >Does anyone have any other news on this?
 >

>From [EMAIL PROTECTED]  Tue Jan 16 13:30:30 2001
Date: Tue, 16 Jan 2001 10:23:45 -0800 (PST)
From: Linus Torvalds <[EMAIL PROTECTED]>
Subject: Re: Linus Torvalds is dead?!?!

> In comp.os.linux.misc, the following has appeared:
> 
>  >Is it true? I heard a radio report that Linus Torvalds was seriously
>  >injured in a car crash a couple of hours ago and his situation was
>  >critical.
>  >
>  >Does anyone have any other news on this?
>  >
> 
> I certainly hope this "news" is bogus.

It's bogus.

                Linus



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

From: "Eric" <[EMAIL PROTECTED]>
Subject: Xemacs auto indentation?
Date: Tue, 16 Jan 2001 13:46:31 -0500

Whenever I type a {, Xemacs autoindents it such that

if ($x > 0)
{

Becomes

if ($x > 0)
    {

I don't want this.  How do I turn it off?

Thanks,
Eric



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

Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: distribution recommendation?
Date: Tue, 16 Jan 2001 18:56:55 GMT

[Posted and mailed]

In article <93vlis$pn$[EMAIL PROTECTED]>,
        [EMAIL PROTECTED] writes:
> Can someone recommend a distribution that can do this:
> 
> firewall
> IP Masq w/VPN support
> apache webserver
> Perl

Any regular Linux distribution can do all these things. The only ones
that can't are certain specialized things, like single-floppy router
distributions or the like (and even they'll do the first two). For my
thoughts on several distributions, check:

http://www.rodsbooks.com/distribs/

-- 
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration

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

From: George <[EMAIL PROTECTED]>
Subject: Re: Help: New SCSI Card, Old can still scanned
Date: Tue, 16 Jan 2001 18:46:52 GMT

I have taken the easy way out.

After trying everything I could think of, and that from others
I disconnected some drives and did a RH 7.0 Custom install.
I did not format the partitions and named them to match their
original configuration.

I selected the SCSI card during the install process and it
no longer uses the seagate during the initial boot, only
the BusLogic.  The only item lost was my machines host name.

This process took 2 hrs vs all the time trying to solve the
the problem the educational/thoughtful way.

George


Sent via Deja.com
http://www.deja.com/

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

From: Jason Bond <[EMAIL PROTECTED]>
Subject: Netscape mime types/helper applications
Date: Tue, 16 Jan 2001 11:02:03 -0800

I have a question regarding setting up Netscape to run certain helper
applications when files with a specified extension are clicked on.  When
I go into edit --> preferences --> navigator --> applications and I
enter a new helper application type, it asks for a file extension (easy
enough), an application to use (easy enough) and a mime type.  For mime
type I don't know what to put...I copy an example of another type
similar to it (like application/video for example) but when I click ok
and the dialogs go away and I try to click on a file of that extension
in netscape, it starts to display the application as a bunch of garbled
text in the browser on a new page.  So my question is, how does one set
up mime types in netscape?  I'm assuming that this is what I'm going
wrong.  Thanks much in advance,

  Jason

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

From: [EMAIL PROTECTED] (Uwe Malzahn)
Subject: Re: How do I access an old linux drive??
Date: Tue, 16 Jan 2001 18:44:13 +0100

In article <93smlc$kgl$[EMAIL PROTECTED]>,
        [EMAIL PROTECTED] writes:
> I have installed a new harddrive in my computer and set up RH7 on it. I would
> like to get the inforamtion off my old drive but how do I do this?
> 
> I have mounted the old drive as /old but when I cd into that directory, I get
> a bunch of System.map, boot.b, vmlinuz files and only one dir...lost+found. I

Yep, the /boot directory as it seems. You have to mount the other partitions
as well. Check with fdisk which partitions you have on your old disk. Funny
though, you don't know about them ;-)

Cheers,
Uwe

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

From: [EMAIL PROTECTED] (Villy Kruse)
Crossposted-To: comp.unix.aix,comp.unix.bsd.freebsd.misc
Subject: Re: tar question?
Date: 16 Jan 2001 19:10:38 GMT

On 16 Jan 2001 18:10:41 GMT,
 [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

>tar is a portability tool,
>dump is for backup
>
>I suggest you start converting to dump.
>
>In the meantime, have a look at xargs(1), your argument list is
>probably too long (as a result of a large number of files in
>this directory. 
>

Assume you're not suggesting to use xargs in connection with tar ;-)

For tar check the -T option available with gnu tar.  See the man
page for details.



Villy

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup
Subject: Re: Any good doc about TeX LaTeX ?
Date: 16 Jan 2001 11:10:33 -0800

Bernard DEBREIL <[EMAIL PROTECTED]> writes:

> Thanks for any advice on web or paper documents about text processing
> using LaTeX or/and TeX.

Years ago I downloaded a document, "A Gentle Introduction to TeX", a manual
for self-study by Michael Doob, Dept of Mathematics, University of
Manitoba, and found it very useful.  I don't remember where I got it from
but a search using google or some other engine would probably locate a
version of it.

   ----- Replace "ragwind.localdomain" with "rahul" for my email address

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.x,comp.os.linux.hardware
Subject: Re: XFree86 crashing monitor and mouse on Gateway Performace w/ EV700?
Date: 16 Jan 2001 11:15:17 -0800

[EMAIL PROTECTED] writes:

> Hello,
> 
>       I am currently attempting to set up Linux on a Gateway
   ...<snip>...
> 
>       Recently, I was running XFree86 while under a heavy CPU load
> and in the middle of a large download, and running irqtune so that
> the modem would get higher priority in the IRQ listing.  I attempted
> to switch virtual terminals from X to a text console, as I've done many
> times before without incident, when the monitor popped up a box
> like it's configuration screen - except this time, it was complaining
> that I had sent it a bad frequency (15 horizontal, approximately,
> if I recall correctly) and it gave 20 seconds until it suspended itself.
   ...<snip>...
>       It is now working correctly.  However, the pressing questions
    ...<snip>...

I had a problem with intermittent failures of X-Windows.  It turned out
the CPU fan was failing and it was a long time before I discovered that
that was the problem.  You might want to take the skin off and have
a look while the system is running.

   ---replace "ragwind.localdomain" with "rahul" to get my email address

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

From: [EMAIL PROTECTED] (Marian Heddesheimer)
Subject: linux firewall and Netmeeting (no sound)
Date: Tue, 16 Jan 2001 19:22:36 GMT

Hi there,

when I was trying to communicate with Netmeeting we found that I could
hear the other person but the other person could not hear me. I was
connected directly via Win 95 (shame on me ;-) ) and the other person
is connected via a linux firewall where the Win95 client is connected
to.

I suspect that the firewall settings did not allow the sound to come
into the system but only to go out. Unfortunately their admin is not
available all day and I do not have experience with linux firewalls.

Maybe someone can give me a hint that I can pass to the other admin
where he should look to get the sound working on both sides.

Best regards

Marian

BTW: is there a tool like netmeeting available on linux? Maybe
something compatible with the netmeeting protocol. I hate rebooting my
machine twice a day just for starting Windows :-(


===================================================================
mailto:[EMAIL PROTECTED]            programmer and book author
http://www.heddesheimer.de               online-training
===================================================================

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

From: Jon Skeet <[EMAIL PROTECTED]>
Crossposted-To: 
alt.www.webmaster,comp.infosystems.www.servers,comp.lang.java.help,comp.lang.java.misc,comp.lang.java.programmer,linux.redhat.misc
Subject: Re: Java loading is slow (TomCat)
Date: Tue, 16 Jan 2001 19:25:54 -0000

[EMAIL PROTECTED] wrote:
> I am running Apache Tomcat on RedHat 7.0  (on Apache 1.3.14), I found that
> the loading of the JSP pages are VERY SLOW for the first time.
> 
> I know that it will be slow for first time, but it is REALLY slow.
> 
> I used to use IBM websphere and Allaire JRUN, they are noticable a lot
> faster than TomCat. Is there anyway to speed up the first time loading of
> the JSP pages? or actually did I misconfigure something?

What compiler have you told Tomcat to use? If it's using javac, that's 
likely to be considerably slower than using jikes.

-- 
Jon Skeet - [EMAIL PROTECTED]
http://www.pobox.com/~skeet

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

From: Tobias Schenk <[EMAIL PROTECTED]>
Subject: Re: Linux on Athlon
Date: Tue, 16 Jan 2001 20:29:58 +0100

On 15 Jan 2001 18:33:06 -0800, [EMAIL PROTECTED] wrote:

Thank you. That lights it up a lot.

Tobias


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

From: [EMAIL PROTECTED] (doug reeder)
Crossposted-To: osu.sys.linux
Subject: Backing up to a remote machine using ssh
Date: 16 Jan 2001 19:37:12 GMT


I'm using cpio to back up to an On-Stream DI-30 tape drive.  (tar
works on our machines, but lacks per-file CRCs.  Dump and Amanda don't
work with our system, perhaps because of flaws in ide-tape.  BRU
requires one copy per machine, which would be rather expensive.)  The
DI-30 requires that the blocksize be 32k.  (We're running Red Hat 6.1
on a half-dozen HP Kayaks and Visualizes.)

Backing up locally (the machine which has the tape drive) works fine.
Backing up remotely using rsh (implicitly) works fine:

find . -path '*/.netscape/cache' -prune -o \
       -print | cpio -ov -H crc --block-size=64 -O backup@tactus:/dev/nht0

I would really like to use a more secure way to do remote backups,
given the security holes of rsh.  Ssh is the obvious replacement.  I
have ssh working fine for remote logging in and remote command
execution (and passwords don't need to be entered, because I have
ssh-agent running).  However, weird things happen when I try to do
backups using cpio, ssh, and dd:

find   ...   cpio -ov -H crc --block-size=64 -O /usr2/website4.cpio

produces a good archive locally.


cat /usr2/website4.cpio | ssh tactus dd bs=32k of=/usr2/website4.cpio

properly copies the archive file to tactus (the machine with the tape drive).


On tactus,

dd bs=32k if=/usr2/website4.cpio of=/dev/nht0

properly copies the achive file to tape.  So, all the steps can be
individually done (for an archive small enough to store in a file).
An archive of an entire machine is too big to manipulate this way.
Obviously, I'd like to do the backup straight to tape.


On the first machine

cat /usr2/website4.cpio | ssh tactus dd bs=32k of=/dev/nht0

produces the errors:
dd: /dev/nht0: Invalid argument
error: Broken Pipe


cat /usr2/website4.cpio | ssh tactus dd bs=32k of=/dev/tape

produces the errors:
error: Broken Pipe

which is odd because /dev/tape is a hard link to /dev/nht0:
[root@tactus /root]# ls -l /dev/*ht* /dev/tape
crw-rw----   1 root     disk      37,   0 May  5  1998 /dev/ht0
crw-rw----   2 root     disk      37, 128 May  5  1998 /dev/nht0
crw-rw----   2 root     disk      37, 128 May  5  1998 /dev/tape



Any suggestions for making cpio, ssh, and dd all play together?
-- 
P. Douglas Reeder      Lecturer, Computer. Science. Dept., Ohio State Univ..
[EMAIL PROTECTED]  http://www.cis.ohio-state.edu/~reeder/reeder.html
GE/S d+ s+:- a C+@$ UH+ P+ L E W++ N+ o? K? w !O M+ V PS+() PE Y+ PGP- t 5+ !X
R>+ tv+ b+++>$ DI+ D- G e+++ h r+>+++ y+>++

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

From: "Matt Gross" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,alt.unix,comp.databases.oracle.misc,linux.redhat
Subject: Re: scripting question
Date: Tue, 16 Jan 2001 11:43:19 -0800

My problem is that the only way that I can connect to the machine that has
the data is through telnet.  I highly doubt that the Unix admin for that
machine will want to grant me auto-login access.  Does this bring me back to
using expect?

Matt
"Dan" <[EMAIL PROTECTED]> wrote in message
news:QoO86.199$[EMAIL PROTECTED]...
> I would look into 'cron'
> You don't need to telnet into nothing. Just set up cron to run the sql
> script at whatever times you want.
>
> Dan
>
> "Matt Gross" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > I have a question about building a script. Here is what I need the
script
> to
> > do. First, I need it to login to another unix machine (is this through
> > telnet?) and then on that machine I need it to somehow log into sqlplus
> and
> > execute a *.sql script. Does anyone know how I can do this? Finally, I
> will
> > need to set this up to run every morning at say around 8 am. Can anyone
> help
> > with this or at least point me in a direction to search for info?
> >
> > Thanks,
> >
> > Matt
> >
> >
>
>



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

From: "Cameron Kerr" <[EMAIL PROTECTED]>
Subject: Re: Any good doc about TeX LaTeX ?
Crossposted-To: comp.os.linux.setup
Date: Wed, 17 Jan 2001 08:48:24 +1300

Try /usr/share/texmf/doc/index.html

--Cameron

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

From: [EMAIL PROTECTED] (doug reeder)
Subject: Re: How to use grep to exclude some file?
Date: 16 Jan 2001 19:55:10 GMT

In article <[EMAIL PROTECTED]>,
Carfield Yim  <[EMAIL PROTECTED]> wrote:
>As title, I know that I can use grep to select some file, like:
>
>ps -ef | grep "apache"
>
>But can I use grep also exclude some file? like the above program, I
>would like to exclude all apache process have string "/opt/apache", how
>can I do?

One way is (assuming you want to include some and exclude others):

ps -ef | grep "apache" | grep -v /opt/apache

-- 
P. Douglas Reeder      Lecturer, Computer. Science. Dept., Ohio State Univ..
[EMAIL PROTECTED]  http://www.cis.ohio-state.edu/~reeder/reeder.html
GE/S d+ s+:- a C+@$ UH+ P+ L E W++ N+ o? K? w !O M+ V PS+() PE Y+ PGP- t 5+ !X
R>+ tv+ b+++>$ DI+ D- G e+++ h r+>+++ y+>++

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


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

Reply via email to