Linux-Misc Digest #901, Volume #27 Sun, 20 May 01 02:13:02 EDT
Contents:
using /etc/fstab ("Sudhakar R.")
Re: How do I "Kill" Netscape? (Craig McCluskey)
Re: NTFS files (Jack Kaufmann)
Re: using /etc/fstab (Noble Pepper)
RedHat-6.2+IOMEGA Zip-100 drive.. (Ish Rattan)
child wait process hangs my outgoing emails (Jim Valavanis)
Re: problem with upgrading rpm ("Glitch")
Re: rsync with ssh and no password prompt (Neil Zanella)
Re: child wait process hangs my outgoing emails (Neil W Rickert)
Re: RedHat-6.2+IOMEGA Zip-100 drive.. (Dances With Crows)
no playback device for midi? please, help (Minko Markov)
Re: Busting MS Office (Gerald Willmann)
----------------------------------------------------------------------------
From: "Sudhakar R." <[EMAIL PROTECTED]>
Subject: using /etc/fstab
Date: Sat, 19 May 2001 22:05:56 -0400
I decided to move my /var and /usr/local from / to a new partition. this
is what i did.
1. created a new partition /dev/hda10
2. used mkfs.ext2 to format it
3. mount -t ext2 /dev/hda10 /mnt/temp
4. cp -r /var /mnt/temp/
cp -r /usr/local /mnt/temp/usr
5. ??
can some one please help me with completing this procedure. i know i'm
supposed to rename the original dirrectories in / to something different
and then mount the new directions under /etc/fstab.
currently my /etc/fstab is
LABEL=/ / ext2 defaults 1 1
LABEL=/home /home ext2 defaults 1 2
/dev/hda1 /mnt/c vfat defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,users,ro 0 0
/dev/hda8 /mnt/d vfat defaults,uid=500,umask=007,rw
0 0
/dev/hda9 /mnt/e vfat defaults 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
none /proc proc defaults 0 0
none /dev/pts devpts gid=5,mode=620 0 0
/dev/hda7 swap swap defaults 0 0
i'm not sure about this...but is it required that each partition holds
only one parent directory? like can /dev/hda10 hold both /var and
/usr/local ?
any help will be greatly appreciated.
thanx in advance
-sud
------------------------------
From: Craig McCluskey <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.networking
Subject: Re: How do I "Kill" Netscape?
Date: Sat, 19 May 2001 21:18:18 -0500
Lamar Thomas wrote:
>
> I am running RH 7.1 and Netscape 4.76. Every now and then Netscape
> locks up on me and it won't "Close". I have tried "Alt+F4" and "Close"
> and "Exit" from the file menu. The only way I have been able to get out
> of it is to exit and re-start "X Windows" Anyone know how I can "Kill"
> Netscape without having to exit "X Windows"? I am using KDE as my
> desktop. Thanks,
>
> Lamar
My newsgroup server says there is no such group as linux.redhat.install.
Craig
#!/bin/sh
#
# /home/craig/bin/killns
#
# A script to kill orphaned Netscape processes left when Netscape
crashes.
#
# 18 Oct 2000 Craig McCluskey
#
PIDs=`ps -e | grep netscape | awk '{print $1}' | sort -n`
echo " PIDs: $PIDs"
kill -9 $PIDs
rm -rf ~/.netscape/cache
--
/"\
\ / ASCII RIBBON CAMPAIGN "Friends don't send friends
X AGAINST HTML MAIL HTML email."
/ \ AND POSTINGS
------------------------------
From: Jack Kaufmann <[EMAIL PROTECTED]>
Subject: Re: NTFS files
Date: Sun, 20 May 2001 02:46:41 GMT
"Peter T. Breuer" wrote:
>
> Jack Kaufmann <[EMAIL PROTECTED]> wrote:
> > "Peter T. Breuer" wrote:
> >> Jack Kaufmann <[EMAIL PROTECTED]> wrote:
> >> > "Peter T. Breuer" wrote:
> >> >> Jack Kaufmann <[EMAIL PROTECTED]> wrote:
> >> >> > Unfortunately, while man mount lists ntfs as one of the file types which
> >> >> > can be mounted, when I try it I get a message that the kernel doesn't
> >> >> > support that file type. Any ideas?
> >> >> "modprobe ntfs"
> >> > I tried that; it tells me it doesn't recognize such a module. Anything
> >> > else I can try?
> >> Tell us something about the kernel you are using. Which is it? ("uname
> >> -r"). Who made it? (you? a distribution?). And "cat /proc/filesystems".
> >> Also "locate ntfs.o".
>
> > The kernel is 2.2.16-22; it's Red Hat 7.0 out of the box.
>
> OK. They should certainly have provided the ntfs.o module with that.
>
> > cat /proc/filesystems yields
> > ext2
> > nodev proc
> > iso9660
> > nodev devpts
> > nodev usbdevfs
> > vfat
>
> > locate ntfs.o returns nothing.
>
> Then you'll have to either build it or get it from redhat. Check your cd
> and redhat errata for the latter.
>
> BTW, look in /lib/modules/2.2.16/fs/ just to be sure.
>
> Peter
Here's what I found on the Red Hat site:
"Release: 7.0
"Issue:
" How do I mount my NTFS partitions in Linux?
"Resolution:
" You need to recompile your kernel and turn the NTFS file system
support "on. When compiling the kernel, choose the graphical
configuration xconfig "under the File
" Systems section, then choose NTFS support, which is read-only or
"read/write. Note that turning on NTFS support in the kernel can be
dangerous "to your system.
" After booting up with your new kernel, you will be able to mount
NTFS "partitions.
1. How do I go about recompiling the kernel?
2. Why is NTFS dangerous to my system?
------------------------------
From: Noble Pepper <[EMAIL PROTECTED]>
Subject: Re: using /etc/fstab
Date: Sat, 19 May 2001 21:47:44 -0500
Reply-To: [EMAIL PROTECTED]
I believe the 2.4 series logical volume manager options would allow you
to have both on one partition, but if you are not extremely comfortable
mucking around in fstab and friends I wouldn't try it.
make one partition for each subtree you want to split off
copy the existing subtree with:
cp -dpR oldplace newplace
(read man cp) definitely do not use cp -dpr unless you are sure you want
to (read man cp several times).
use a line in fstab like:
/dev/hda10 /usr/local ext2 defaults 0 2
to mount it at boot time.
when you mount a filesystem on a directory that is not empty the
original contents become unaccessible until you unmount the filesystem.
You can leave the existing stuff in place for testing, or if you insist
use something like to put it somewhere else:
mv /usr/local /usr/local.old
Read the linux fsstnd to understand the reasons to split or not to split
the tree onto seperate partitions.
Sudhakar R. wrote:
> I decided to move my /var and /usr/local from / to a new partition.
> this is what i did.
>
> 1. created a new partition /dev/hda10
> 2. used mkfs.ext2 to format it
> 3. mount -t ext2 /dev/hda10 /mnt/temp
> 4. cp -r /var /mnt/temp/
> cp -r /usr/local /mnt/temp/usr
> 5. ??
>
> can some one please help me with completing this procedure. i know i'm
> supposed to rename the original dirrectories in / to something
> different and then mount the new directions under /etc/fstab.
> currently my /etc/fstab is
>
> LABEL=/ / ext2 defaults
> 1 1
> LABEL=/home /home ext2 defaults
> 1 2
> /dev/hda1 /mnt/c vfat defaults
> 0 0
> /dev/cdrom /mnt/cdrom iso9660 noauto,users,ro
> 0 0
> /dev/hda8 /mnt/d vfat
> defaults,uid=500,umask=007,rw 0 0
> /dev/hda9 /mnt/e vfat defaults
> 0 0
> /dev/fd0 /mnt/floppy auto noauto,owner
> 0 0
> none /proc proc defaults
> 0 0
> none /dev/pts devpts gid=5,mode=620
> 0 0
> /dev/hda7 swap swap defaults
> 0 0
>
> i'm not sure about this...but is it required that each partition holds
> only one parent directory? like can /dev/hda10 hold both /var and
> /usr/local ?
>
> any help will be greatly appreciated.
> thanx in advance
> -sud
>
>
------------------------------
From: Ish Rattan <[EMAIL PROTECTED]>
Subject: RedHat-6.2+IOMEGA Zip-100 drive..
Date: 19 May 2001 22:57:50 -0500
Hello,
I made a mistake before as I did not insmod ide-floppy before trying
to access the drive. Now, it can be mounted and is visible correctly :-(
How do I make an entry in /etc/modules.conf to make the system insmo
this module at each boot?
Also, I am thinking of buyina cheap machine HP-Pavilion-bt53 as sold in
Wall-Mart (for $998). Is any one using it under Linux? Where can I find
more info on hardware of this box? Particulary, the modem (do not want
winmodem), network-card, and the video-card!!
Any pointers?
- ishwar
------------------------------
From: Jim Valavanis <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.mail.sendmail
Subject: child wait process hangs my outgoing emails
Date: Sat, 19 May 2001 22:04:20 -0500
OK, I've spent a lot of time trying to figure this out, but I haven't
gotten far. I've setup sendmail many times before but this one, running
on Linux 2.2.16 on a DELL server, sendmail 8.11.13 (just upgraded this
to see if it helps), is causing me lots of problems.
I have tried sending mail from different clients (eudora,netscape,etc)
but I just get timeouts. On the server I see from ps
sendmail: server mail-server [192.168.1.10] child wait
whenever I send new messages. It appears the ack is not being returned
by the sendmail server to the client. Why not? All of these mail
messages I try to send end up timing out after a few minutes on the
client side.
I've looked through the sendmail.cf and modified many timeout parameters
to try to fix this, but can't seem to get anywhere.
Sometimes when I restart the sendmail daemon, the first message that I
send goes through right away. The next one and subsequent ones after
that just end up hanging with child wait processes lingering around.
Of course, I also spent time looking through deja for any fixes, but it
appears many others have the same problem but no resolution.
Is there anything someone can recommend to try to fix this problem? I'm
sure it will help many others too.
Thanks a lot.
Jim
------------------------------
From: "Glitch" <[EMAIL PROTECTED]>
Subject: Re: problem with upgrading rpm
Date: Sat, 19 May 2001 23:39:19 -0400
In article <[EMAIL PROTECTED]>, "Peter T. Breuer"
<[EMAIL PROTECTED]> wrote:
> Glitch <[EMAIL PROTECTED]> wrote:
>>> I run SuSE 7.1 and I downloaded the static binary of Opera and had no
>>> problems. But, I'm sticking with Konqueror.
>
>> just attempted the execution of the static version.....still cant open
>> libjpeg.so.62 b/c i dont have it installed b/c of the damn 'all
>> powerful'
>
> Well install it then, you berk. What is this, a stupidity contest?
if it is i'll forfeit now. U already won.
>
> Peter
>
> PS ....
>
> On my (debian 2.2) box, a search for libjpeg shows that I have
> everything in spades. So just get yourself the debian source and compile
> it, if you're incapable of opening the correct rpm. As you can see, the
> debian package is called libjpeg62. But that may sprain your neuron ..
>
hey dick, i mean peter, since u obviously didn't read the prvious posts
i'll briefly explain the problem. I cant install Libjpeg62 by rpm b/c I
get the
only packages with major numbers <= 3 are supported by this version of RPM
error: libjpeg62-6b-19mdk.i586.rpm cannot be installed
I upgraded RPM to 4.0.2 from 3.0.something and neither one lets me
install the libjpeg rpm. So it's not ME that can't open the correct RPM.
It's RPM that can't do it. If i had a tarball i could do it just fine
but no tarball exists for libjpegso62 that i can find.
would downgrading RPM work? Wouldn't that be a stupid idea, but hey,
Linux *is* different than WIndows, right?
------------------------------
From: Neil Zanella <[EMAIL PROTECTED]>
Subject: Re: rsync with ssh and no password prompt
Date: Sun, 20 May 2001 01:04:43 -0230
I have read the rsync FAQ at http://rsync.samba.org/ and could not
get SSH to work because I am running ssh 1.2.26 on the client and
openssh 2.5.2p2 on the server and cannot modify the server's /etc/ssh
thus my solution was to implement the following script which works
very well. After all expect is useful when automation fails due to
software or configuration flaws:
#!/usr/bin/expect
while { 1 } {
log_user 0
spawn rsync -rtpl user@host:/remote/directory/ ~/local/directory
expect "password"
send "my_ssh_password_here\r"
sleep 1
log_user 1
puts "done"
}
On Sat, 19 May 2001, Neil Zanella wrote:
> Hello,
>
> I have access to a remote Linux box with a faster processor than on my
> own box so I compile my source code on the remote box as it is faster.
> However when it comes to running the program it is not feasible to
> run it on the remote box because transmitting graphics over the network
> just takes up too much bandwidth and is very inefficient especially
> since my computer is several miles away from the server so this is not
> feasible. I thought I would use rsync so I could compile my code remotely
> and running locally (once again because the computers are far apart NFS
> or mount would not have been a solution besides I am not root on the
> server).
------------------------------
From: Neil W Rickert <[EMAIL PROTECTED]>
Crossposted-To: comp.mail.sendmail
Subject: Re: child wait process hangs my outgoing emails
Date: 19 May 2001 23:12:56 -0500
Jim Valavanis <[EMAIL PROTECTED]> writes:
>OK, I've spent a lot of time trying to figure this out, but I haven't
>gotten far. I've setup sendmail many times before but this one, running
>on Linux 2.2.16 on a DELL server, sendmail 8.11.13 (just upgraded this
>to see if it helps), is causing me lots of problems.
>I have tried sending mail from different clients (eudora,netscape,etc)
>but I just get timeouts. On the server I see from ps
>sendmail: server mail-server [192.168.1.10] child wait
That's normal.
There should be two sendmail processes related to this message.
That is one of them. Check what the other is doing.
(By the way, I assume you mean 8.11.3).
>whenever I send new messages. It appears the ack is not being returned
>by the sendmail server to the client. Why not? All of these mail
>messages I try to send end up timing out after a few minutes on the
>client side.
>I've looked through the sendmail.cf and modified many timeout parameters
>to try to fix this, but can't seem to get anywhere.
What is the command line used to start sendmail?
What is the output from
grep DeliveryMode sendmail.cf
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: RedHat-6.2+IOMEGA Zip-100 drive..
Reply-To: [EMAIL PROTECTED]
Date: 20 May 2001 04:50:05 GMT
On 19 May 2001 22:57:50 -0500, Ish Rattan staggered into the Black Sun
and said:
>I made a mistake before as I did not insmod ide-floppy before trying
>to access the drive. Now, it can be mounted and is visible correctly :-(
>How do I make an entry in /etc/modules.conf to make the system insmo
>this module at each boot?
If you want to have this module loaded upon boot, you need to put the
command "modprobe ide-floppy" into /sbin/init.d/boot.local (SuSE) or
/etc/rc.d/rc.local (RedHat).
>Also, I am thinking of buyina cheap machine HP-Pavilion-bt53 as sold in
>Wall-Mart (for $998). Is any one using it under Linux? Where can I find
>more info on hardware of this box? Particulary, the modem (do not want
>winmodem), network-card, and the video-card!!
With hardware, 90% of the time, you get what you pay for. Based on
personal experience wrestling with a Pavilion under Lose9x and the
experiences of my cow-orkers who've worked with Pavilions, I'd say "Stay
far away from that shite!" The hardware is dodgy and built by the
lowest bidding crack monkeys, LoseModems are standard, and they don't
work properly even with a "supported" OS.
If you need a machine, buy parts and build it yourself. For $1000, you
can put together a pretty decent Athlon system; I've written up a few
guides to doing just that on comp.os.linux.hardware in the past couple
of months. Use http://groups.google.com/ , search comp.os.linux.* for
author "Dances With Crows" and keyword "$". If you've never put
together an x86 system from parts, there is a good guide at
http://arstechnica.com/ within the "Guides" section. You won't save
much money by building it yourself, but you WILL get better quality
parts. HTH,
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com / Workin' in a code mine, whoops!
=============================/ I hit a seg fault....
------------------------------
Crossposted-To: comp.os.linux.hardware
Subject: no playback device for midi? please, help
From: Minko Markov <[EMAIL PROTECTED]>
Date: Sun, 20 May 2001 04:51:44 GMT
Hi,
This is a small problem, but is driving me crazy.
I have Creative Vibra16X sound card. The initial
Linux installation, RH6.0, had no problems with the
sound after sndconfig, both midi and wav/mp3/etc.
Then I upgraded the kernel and could not play midi
any more. "playmidi foo.mid" aborts with
playmidi: No playback device found.
I can still play the `other' sound: mp3s and so on.
I tried to RTFM, but found no solution, just that
quite a few people are complaining about the
same error. "playmidi -e" does not issue the error
message, but does not produce any sound either.
I have no clue what am I missing - something in /dev,
or a module, or? In /dev I have
35, 0 midi0
14, 2 midi00
14, 18 midi01
14, 34 midi02
14, 50 midi03
35, 1 midi1
35, 2 midi2
35, 3 midi3
14, 0 mixer
14, 16 mixer1
Looks OK, and I compared my /dev/* to that of a friend with
RedHat, the dev files are the same. So, I have not lost
anything with the upgrades.
In /lib/modules/2.2.19/misc I have
ad1848.o adlib_card.o mpu401.o opl3.o opl3sa.o sb.o
sound.o uart401.o v_midi.o
The kernel compile options that are set (the ones that
concern sound) are
CONFIG_SOUND=y
CONFIG_SOUND_OSS=m
CONFIG_SOUND_SB=m
CONFIG_SOUND_MPU401=m
CONFIG_SOUND_OPL3SA1=m
CONFIG_SOUND_YM3812=m
CONFIG_SOUND_VMIDI=m
As far as I understand, the one about MPU401 is import
for synthesizing?
Thanks very much!
--
Minko Markov
------------------------------
From: Gerald Willmann <[EMAIL PROTECTED]>
Subject: Re: Busting MS Office
Date: Sun, 20 May 2001 07:38:33 +0200
On 20 May 2001, MarkEllse wrote:
> Tried Star Office. Liked it. But that horrid desktop. Turns me off. Did
> definitely turn off those less-techie staff I asked to try it. What we need,
I think you can leave it to each of us what we need. Diversity is one of
the many advantages Linux has over M$.
> chaps, is an MSOffice clone to ease the transition. When MS busted Wordperfect,
> they arranged for MSWord to imitate Wordperfect. If they needed to make the
> transition easy, then Star Office needs to do the same thing.
thought Star Office already did that, at least in terms of memory
footprint. That's also why I don't use it - applix is cheaper than
buying the RAM.
Gerald
------------------------------
** 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
******************************