Linux-Misc Digest #204, Volume #26 Wed, 1 Nov 00 15:13:03 EST
Contents:
connect Gigabit NIC (Beggar)
Re: newbie makes fatal mistake... ("David ..")
Throughput of NIC (Beggar)
Gnome panel crashes all the time ([EMAIL PROTECTED])
very strange "Bus error" in Netscape (Roberto De Leo)
moving /var to its own partition (S.Brautaset)
Re: CD player apps constantly scanning device ("R.K.Aa.")
Re: Linux Routing ("David K. Means")
Re: Throughput of NIC ("Sjoerd Langkemper")
Re: Corporate email help (Benjamin Grimm)
An appeal to experts for help! (Anil Trivedi)
Root's email going to nobody (Warren Bell)
Re: UCISA Public Domain Unix seminar ("Peter T. Breuer")
Re: Turbolinux ??? (Harold Bower)
Re: "No space left on device" (Garry Knight)
Re: An appeal to experts for help! ("Andrew J. Brehm")
Importing addresses into Netscape 4.76 Addressbook (Heinz Ruffieux)
hardware compatibility on RH6.1? (Lori Holder-Webb)
undefined reference-Problem (Ulrich Goldschmitt)
How to tell which RPM owns file and visa versa? (Charlie Zender)
Re: "No space left on device" (Adam Clark)
Re: How to tell which RPM owns file and visa versa? (Hal Burgiss)
Re: moving /var to its own partition (Mike Castle)
----------------------------------------------------------------------------
From: Beggar <[EMAIL PROTECTED]>
Subject: connect Gigabit NIC
Date: Thu, 02 Nov 2000 02:08:00 +0800
Reply-To: [EMAIL PROTECTED]
Hi all,
I have two Intel Pro/1000T (cat 5) NIC and I want to test the max
throughput
of these card. When I connect two Linux box with two NIC connected with
a cross link cat 5 cable. The LED doesn't light up and.
But if I connect one of them to other Pro/100 card, they can work then.
Why ??
please reply to [EMAIL PROTECTED]
Thanks!!
Hei
------------------------------
From: "David .." <[EMAIL PROTECTED]>
Subject: Re: newbie makes fatal mistake...
Date: Wed, 01 Nov 2000 11:58:52 -0600
[EMAIL PROTECTED] wrote:
>
> Hi all, I'm learning the hard way that the root
> password is the most important thing one can
> remember. Unfortunately that means I forgot...
> I'm running slack 7.1 and am having trouble
> getting into single user mode or anything else
> for that matter. What I really need is a walk
> through of the process for removing or changing
> the root password. Any help is appreciated!
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
At the lilo prompt enter "linux 1"
At the bash prompt enter "passwd"
Then enter the new root passwd
And again.
That should do it. To get back to X simply enter "init 5" or "init 3" if
you don't run X.
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
Completed more Seti@home work units than: 98.764% of our users.
------------------------------
From: Beggar <[EMAIL PROTECTED]>
Subject: Throughput of NIC
Date: Thu, 02 Nov 2000 02:13:58 +0800
Reply-To: [EMAIL PROTECTED]
Hi all,
How much throughput of one 100Mbps full duplex NIC
should I expect? can it really up to 100Mbps in and 100Mpbs out?
Since when I ftp something from one machines to another, I
at most can only got 30 Mbps throughput.... how about the 70Mpbs?
Even two ppl can only got around 15 and 15 Mbps each.....share the
30 Mbps... why??
And is the full duplex means can trasmit 100 Mbps in and out at the
same time, so totally 200Mbps throughput?
Also, how about 1000Mbps NIC, what is the actually speed should
I expect ?
Please reply to [EMAIL PROTECTED]
Thanks!!
Dicky
------------------------------
From: [EMAIL PROTECTED]
Subject: Gnome panel crashes all the time
Date: Wed, 01 Nov 2000 18:14:25 GMT
Just the panel will crash, if left alone for a few hours. Like if I
leave the computer on overnight, or leave for school, it is garenteed to
crash. It is not that bad, since as soon as the little message box comes
up telling me that it crashed, the panel restarts, and most things are
fine. It just is anoying as hell.
As far as I can tell, it happened with helix-gnome 1.2.2, or XFree86
4.0. It crashed with both the Voodoo and NVidia drivers. Is anybody else
getting this. I doubt that GNOME people would distribute software like
that would crash this much (yuk yuk yuk).
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Roberto De Leo <[EMAIL PROTECTED]>
Subject: very strange "Bus error" in Netscape
Date: Wed, 01 Nov 2000 18:38:11 +0100
Hi,
my Linux box started recently behaving very strangely: when any user
different
from me or root tries to start netscape version 3 or 4.xx he gets always
the same
error message, namely "Bus error", so that the netscape window do not
even show
up.
The problem does not seem to depend on configuration files as it does it
even with
a new account I created just to check this. The funny thing is that
instead the beta
version of netscape6 runs fine for everyone, except for crashing
occasionally as it
is still very far from being stable.
I have no idea how to solve this problem as I cannot get enough
debugging data,
does anyone know how to fix this annoying problem?
Thanks,
Roberto De Leo
------------------------------
Subject: moving /var to its own partition
From: w0006293@tiger (S.Brautaset)
Date: 01 Nov 2000 18:30:55 +0000
I'm going to move /var to its own partition. How do I do it? The partition is
there and ready, but I guess just changing /etc/fstab will not work (actually,
I know it's not working; syslogd hangs on bootup) Can anybody help me out?
Stig
------------------------------
From: "R.K.Aa." <[EMAIL PROTECTED]>
Subject: Re: CD player apps constantly scanning device
Date: Wed, 01 Nov 2000 19:35:13 +0100
David .. wrote:
> "R.K.Aa." wrote:
>
>> if i add cd player applet to gnome panel, or simply start the CD player
>> program, a dmesg will show continous scanning of the disk if no media
>> has yet been inserted.
>>
>> This means i can't really use cd player applet, if i want to utlize
>> dmesg at all. It fills up with redundant info at an alarming rate,
>> a zillion of lines all looking like this:
>>
>> VFS: Disk change detected on device sr(11,0)
[snip]
>
>
> I had the same problem and don't know if this is the fix for it or just
> that it is the only thing I can think of that I did that may have fixed
> it. When I compiled the 2.2.17 kernel I compiled the IDE module and IDE
> cdrom module into the kernel. I no longer get the message. Again I don't
> know that that is the proper way to fix it but it is the only thing I
> can think of that I did to it.
Nope :/
RH6.2 kernel upgrade (2.2.16-3) already has ide and scsi compiled in.
The modules i load (during boot) are sg, loop and ide-scsi.
Is it possible one/some of these are by default loaded in some debugging
mode?
Another question: Which kernel did you upgrade from? (In case it was the
same as i use, chances are the kernel itself is in some scsi debugging
state - i never used scsi stuff till i got the Plexwriter.)
Another one in the newsgroup ("pl") suggested to disable autoplay in
gnome setup Peripherals/CD Properties.
I disabled both that AND the automount, but that didn't work either.
(I even rebooted!) Those CD player apps still poll like their lives
depended on it.
I can configure syslogd to not log the events, but that would only cure
a sympthom.. polling would still go on, meaning CPU wasted.
And all that redundant info hitting on the kernel ring buffer can't
possibly be healthy in the long run either? Wouldn't it chomp up a lot
of RAM by and by? Or is it somehow "autoflushed"?
(I feel a man-page session closing in...yikes..)
K.
------------------------------
From: "David K. Means" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: Linux Routing
Date: 1 Nov 2000 18:48:28 GMT
This is pretty straightforward (where did you say you had
looked? :-) )
Your eth0 interface should have an address on 192.168.0.x
where x is in [1:254]
Your eth1 interface should have an address on 24.231.45.y
where y is in [1:6]
Your eth2 interface should have an address on 67.45.221.z
where z is in [1:126]
Then your routing table should look like this:
Destination Gateway Genmask Flags ... Iface
192.168.0.0 0.0.0.0 255.255.255.0 U eth0
24.231.45.0 0.0.0.0 255.255.255.248 U eth1
67.45.221.0 0.0.0.0 255.255.255.128 U eth2
127.0.0.0 0.0.0.0 255.0.0.0 U lo
0.0.0.0 67.45.221.1 0.0.0.0 UG eth2
The only thing I am unsure of is the Gateway address in the last line.
It should be the address of the *other* end of your link to the
Internet, not the address of your machine on that link.
To find out how to create this routing table, read man route
To find out how to set the IP addresses of the interfaces, man ifconfig
To make it all automatic (on reboot) use linuxconf, or dig through the
scripts beginning at /etc/rc.d/init.d/network
"Quad" <[EMAIL PROTECTED]> wrote in message
news:8tp9ek$td3$[EMAIL PROTECTED]...
>
>
> I want to route a local subnet 192.168.0.* 255.255.255.0 through 2
> different gateways. Can reach this from(eth0)
>
>
> 1 will be a direct line to another company and I want all traffic for
> that company to go there. 24.231.45.1 SM 255.255.255.248. can reach
> this from (eth1)
>
> 2 will be a route out to the internet so that users can check email
> etc. 67.45.221.1 sm 255.255.255.128. this can be reached from (eth2)
>
> I am sure linux can do this, I am wondering if someone will give me
> some tips/tricks on this. I have read the man pages, and have searched
> on the net but it seems there is not much info...at least where I was
> looking.
>
> Any help here would be GREATLY appreciated.
>
> Thanks
> --
> Quad
>
>
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
------------------------------
From: "Sjoerd Langkemper" <[EMAIL PROTECTED]>
Subject: Re: Throughput of NIC
Date: Wed, 01 Nov 2000 18:51:51 GMT
"Beggar" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]...
> Hi all,
>
> How much throughput of one 100Mbps full duplex NIC
> should I expect? can it really up to 100Mbps in and 100Mpbs out?
Mbps means megabits per second. Hence the bits.
> Since when I ftp something from one machines to another, I
> at most can only got 30 Mbps throughput.... how about the 70Mpbs?
You probably got 30 MBps. 30 Megabytes per second. Hence the bytes.
> Even two ppl can only got around 15 and 15 Mbps each.....share the
> 30 Mbps... why??
>
> And is the full duplex means can trasmit 100 Mbps in and out at the
> same time, so totally 200Mbps throughput?
No. Although this can be true or not, full duplex means it can send in and
out at the same time. It says nothing about the speed.
> Also, how about 1000Mbps NIC, what is the actually speed should
> I expect ?
About 9 times as fast as a 100 Mbps NIC.
> Please reply to [EMAIL PROTECTED]
No way, this is a newsgroup.
Sjoerd
------------------------------
From: Benjamin Grimm <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux,comp.os.linux.admin,comp.os.linux.help,comp.os.linux.networking
Subject: Re: Corporate email help
Date: Wed, 01 Nov 2000 20:04:44 +0100
take a look at an IMAP-solution with web-frontend (imp/horde). all emails stay
on the central server, you've no need to install mailsoftware on the clients or
to backup the mails there. just use a secure machine (raid5) and do proper
backups and your problems should be solved. here in germany you can get a
complete preconfigured package from SuSE called 'SuSE Imap-Server' which is
based on postfix/cyrus-imap/horde-imp.
Phil Labonte wrote:
> Hello all,
>
> I work for a small company of approx 70 employees, we plan to grow to about
> 200 in the next year.
>
> What kind of linux solutions are there for email? We want to host our own
> email internally, right now we use our isp.
>
> I checked and for Microsoft Exchange it would cost us about 10000$ in
> licenses and hardware. What are some Linux solutions that would work with
> our small company?
>
> Thanks for your help.
>
> Phil Labonte
--
Benjamin Grimm
Webnetix! e-services OHG
Pappelweg 3 - D-89547 Gerstetten - Germany
Phone: +49 7324 98 27 98 - Fax: +49 7324 98 27 99 - Mobile: +49 173 6708107
PGP fingerprint: FCD6 F8BE 0E60 2C38 A595 52E4 4DE3 433F 0C9C 901A
------------------------------
Crossposted-To: comp.os.linux.powerpc,comp.os.linux.hardware
Subject: An appeal to experts for help!
From: Anil Trivedi <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Wed, 01 Nov 2000 19:11:19 GMT
Dear Linux experts,
I need your advice re platform as well as distribution. Here is some
background:
EXPERIENCE. I have Linux/Unix expereince as a user (using Emacs, TeX,
trn, mail, ftp, etc.). However, somebody else managed the system. I
have no administrative experience but can probably plod through.
NEED. We need Linux and MacOS. I'd mainly work with Linux, using
at first as mentioned above, for personal work, but I leave open the
posibility of running modest websites some day. I do not need Windows.
HARDWARE. If it does not compromise the Linux experience, it'd be
convenient to have Linux and MacOS on the same machine. Otherwise we'd
reluctantly get two computers (in that case, the Linux machine can be
Intel or PPC, whichever is better or cheaper; it need not have Windows).
Whatever we do, we want just one printer, b&w will do.
Given this, what would you recommend for hardware and distribution?
Is it possible to get Linux/MacOS preinstalled on one machine? Is it
wiser to get Linux on a separate machine? In that case, is there
anything to choose between Intel and PPC?
We also hear that with OSX, MacOS is becoming "Unix-like". A question
for those familiar with OSX: is it becoming so Unix-like that I need
not bother with Linux?
Thanks for any comments you are able to share.
-Anil
------------------------------
From: Warren Bell <[EMAIL PROTECTED]>
Subject: Root's email going to nobody
Date: Wed, 01 Nov 2000 11:14:26 -0800
I'm running Mandrake 6.0. Anyone know why root's email would be sent to
/var/spool/mail/nobody? I can't figure it out. Any ideas on where to
look? I tried aliasing root's email to my personal account but that
didn't work either, I think root's mail isn't even being directed to the
'root' account.
TIA
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: UCISA Public Domain Unix seminar
Date: 1 Nov 2000 19:14:27 GMT
John Hasler <[EMAIL PROTECTED]> wrote:
: Paul Hatton writes:
:> With increasing use being made of different varieties of free and Public
:> Domain Unix (such as FreeBSD and Linux)...
: I suggest that you add a session on copyright and free software licensing
: and attend it yourself. Neither FreeBSD nor Linux are in the public
: domain. Very little free software is.
This was curious enough that I actually checked up on them. They're
holding the "seminar" (4 1 hour talks on what is *bsd, linux, etc., for
90 pounds) at an oxford college, but none of the speakers is from
oxford, despite malcolm, the oxford admin, being a strong linux
supporter and mainstay of the linux-servers list.
It appears to be a strange quasi-academic/gvt function put up by some
unknown group with funding for meetings like this. I'd have said it was
a con-job if it weren't for the authentic tone of all their references!
Peter
------------------------------
Date: Wed, 01 Nov 2000 14:16:04 -0500
From: Harold Bower <[EMAIL PROTECTED]>
Subject: Re: Turbolinux ???
"Christopher W. Aiken" wrote:
>
> I just read an article "Linux soars, Red Hat merely flies"
> in the Pittsburgh,Pa USA edition of "Computer User, Nov 2000".
> They indicated that since '98 RH has grown 69% while
> SuSE and Caldera have grown 175%. They also said that
> TurboLinux has grown a whopping 450% !!!! Thus knocking
> RH's market share to only 48%.
>
> Anyone have experiances with TurboLinux? What do they have
> to offer that the other flavors of Linux do not have? Why
> such a tremendious growth? $80US seems to be a bit much.
> I know that we have a "beta" server loaned to our company
> that was pre-installed with TurboLinux. Are large companies
> going Turbo instead of RH/SuSE, etc.?
>
> Comments??
>
> --
> ---
> Christopher W. Aiken, Scenery Hill, Pa, USA
> chris at cwaiken dot com, www.cwaiken.com
> Current O/S: Debian 2.2 GNU/Linux
I have been using TurboLinux for over a year. It is derived from an
older RedHat release so much of the documentation for RedHat applies.
They seem to have devoted some thought to changing some of the packages
(proftp instead of wu-ftp, lprng instead of berkley lpr, etc) for a more
robust release, and the default settings are tighter in what services
are started by default. There is come turmoil there at present,
possibly of the reported pending IPO, and the latest release on their
site (6.1) is not up to their previous quality, but I have a rock-solid
TurboLinux Workstation (TLW) 6.0.4 release (also available for D/L on
their site) on several systems, with the updated packages from their
security section.
Hal
------------------------------
From: Garry Knight <[EMAIL PROTECTED]>
Subject: Re: "No space left on device"
Date: Wed, 1 Nov 2000 01:11:38 +0000
On Tue, 31 Oct 2000, Adam Clark wrote:
>this morning I came in to find a 10-hour old logrotate process eating the CPU
>and everything under / is untouchable again.
Are you aware there's a problem with 7.1's logrotate command? Rather than
deleting the old log file it creates a new .gz file. You can get the update
from one of the Mandrake mirrors.
--
Garry Knight
[EMAIL PROTECTED]
------------------------------
From: "Andrew J. Brehm" <[EMAIL PROTECTED]>
Subject: Re: An appeal to experts for help!
Date: Wed, 01 Nov 2000 20:30:20 +0100
Crossposted-To: comp.os.linux.powerpc,comp.os.linux.hardware
In article <rVZL5.20$z3.420@uchinews>, Anil Trivedi <[EMAIL PROTECTED]>
wrote:
> Dear Linux experts,
>
> I need your advice re platform as well as distribution. Here is some
> background:
I don't know whether we are experts, but maybe it is close enough. We'll
do our best. :-)
> EXPERIENCE. I have Linux/Unix expereince as a user (using Emacs, TeX,
> trn, mail, ftp, etc.). However, somebody else managed the system. I have
> no administrative experience but can probably plod through.
Should not be a problem. Most problems come from not being used to use
Linux (or UNIX), not from having to configure it.
> NEED. We need Linux and MacOS. I'd mainly work with Linux, using at
> first as mentioned above, for personal work, but I leave open the
> posibility of running modest websites some day. I do not need Windows.
That is excellent needs, imho. It is about the same needs I have. Running
web sites on Linux should not be a problem, but if you do, you should
better use a second machine for doing so.
> HARDWARE. If it does not compromise the Linux experience, it'd be
> convenient to have Linux and MacOS on the same machine.
Should not be a problem. I am running MacOS and Linux on my UMAX machine
and it works fine.
> Otherwise we'd reluctantly get two computers (in that case, the Linux
> machine can be Intel or PPC, whichever is better or cheaper; it need not
> have Windows). Whatever we do, we want just one printer, b&w will do.
Cannot help you with printers, as I have trouble myself with them (always,
regardless of the OS).
> Given this, what would you recommend for hardware and distribution? Is
> it possible to get Linux/MacOS preinstalled on one machine? Is it wiser
> to get Linux on a separate machine? In that case, is there anything to
> choose between Intel and PPC?
An Apple Macintosh G4 should be a nice machine for your needs, and while
it is not possible to get Linux and MacOS pre-installed, it is possible to
get Linux pre-installed on a hard disk from www.yellowdoglinux.com. Simply
add the second hard disk and you do not even have to touch the MacOS
installation on the first hard disk.
> We also hear that with OSX, MacOS is becoming "Unix-like". A question
> for those familiar with OSX: is it becoming so Unix-like that I need not
> bother with Linux?
To be honest, depending on what software you add to OS X, the answer could
be yes...
OS X is a version of UNIX, even though some components are missing (like
X11, but it can be added). Running a web server and UNIX applications is
certainly possible.
> Thanks for any comments you are able to share.
I would suggest buying a G4, and adding Linux on a second hard disk. When
OS X comes out, install it too. If OS X does the job better than Linux,
you have not lost much. Better have one OS too many than not enough (to do
the job).
--
Fan of Woody Allen
PowerPC User
Supporter of Pepperoni Pizza
------------------------------
From: Heinz Ruffieux <[EMAIL PROTECTED]>
Subject: Importing addresses into Netscape 4.76 Addressbook
Date: Wed, 01 Nov 2000 19:30:11 -0000
Hi,
I'm trying to get my addresses from Outlook to Netscape 4.76 (Linux)
addressbook. I found several pages which say, that this must be possible
from version 4.5 on.
Unfortunately when I try to import a .pst file nothing happens - not even
an error message. Same thing happens, when I try to import a .csv file.
Did anybody have the same problem?
Thanks a lot
Heinz
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Lori Holder-Webb <[EMAIL PROTECTED]>
Subject: hardware compatibility on RH6.1?
Date: Wed, 01 Nov 2000 13:30:35 -0600
Hi.
I'm in the market for a cdrw. I'm running RH 6.1 and am getting No Joy
from the RedHat hardware compatibility list, or the list supplied with
the Cd-Burning HOWTO. The RH list states that "Most CD Writers are
compatible with Linux. The exceptions seem to be some of the more
inexpensively produced IDE drives that are not fully ATAPI compliant."
I'm not exactly rolling in cash, so I _am_ in the market for a
low-priced drive. The list on the HOWTO is more detailed, but doesn't
appear to have been updated recently (most of the models I could find
for sale at any price didn't appear on the list, and looked like they
might be later models of things that _are_ on the list). I checked out
the RH 7.0 compatibility list only to find that RedHat has replaced
their perfectly serviceable and expedient html list with a perfectly
useless gui thing with pull down menus etc.; that thing didn't give me a
list of supported _storage_devices_ let alone a list of supported or
compatible cdrws. (and a big BOO, HISS to RedHat for *this* move!).
So I've checked out the online sources I know of. Got no useful
answers, so I thought I'd try here. The models I'm interested in are
HP 9340i (10/4/32)
HP 9500i (12/8/32)
HP 9140i (8/4/32)
Plextor PX-W 8342TI/SW (8/4/32)
Plextor PX-W 1210TA/SW (12/10/32)
Sony CRX140E/CH2 (8/4/32)
Sony CRX145E/CH2 (10/4/32)
If anyone has experience using one of these drives under RedHat, pref.
6.1 (although I'm willing to upgrade to 6.2, but _not_ 7.0), I'd
appreciate any information you can provide. The retailer has a generous
return policy, but I'd rather get something I'm sure will work instead
of jacking around for weeks exchanging stuff back and forth with them.
Thanks,
Lori
------------------------------
From: Ulrich Goldschmitt <[EMAIL PROTECTED]>
Subject: undefined reference-Problem
Date: Wed, 01 Nov 2000 20:43:03 +0000
This is a multi-part message in MIME format.
==============CAB3403E8D0DF33AD11AAD09
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi!
I tried the example in Linux-Unix-Systemprogrammierung of Helmut Herold,
pp.1092ff. It seemed to be trivial to get a shared library when
following the described procedure, but the last step, linking the
library "libfehler" to the program fehlinfo:
gcc -g -o fehlinfo fehlinfo.o -lfehler (the step before was: gccd -Wall
-g -c fehlinfo.c)
resulted in "undefinded reference"-messages in relation to the in
fehler.c defined Funktion fehl_meld.
I tried to manipulate LD_LIBRARY_PATH and worked with the L-Option, but
nothing worked.
Who has an idea?
Cheers,
Ulrich
==============CAB3403E8D0DF33AD11AAD09
Content-Type: text/x-vcard; charset=us-ascii;
name="ulrich.goldschmitt.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Ulrich Goldschmitt
Content-Disposition: attachment;
filename="ulrich.goldschmitt.vcf"
begin:vcard
n:Goldschmitt;Ulrich
tel;cell:0172/7760543
tel;home:0711/7260007
tel;work:0711/972-3110
x-mozilla-html:FALSE
org:debis Systemhaus GmbH;RSW/ISMD/HVS/SAP (SAP Basis Team)
adr:;;Nauener Str.31;Stuttgart;;70597;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Diplom-Mathematiker
fn:Ulrich Goldschmitt
end:vcard
==============CAB3403E8D0DF33AD11AAD09==
------------------------------
From: Charlie Zender <[EMAIL PROTECTED]>
Subject: How to tell which RPM owns file and visa versa?
Date: Wed, 01 Nov 2000 11:30:17 -0800
Hi,
How can I use the rpm command to find out which package owns a given file?
How can I use the rpm command to find out which files a given package owns
or will install?
I've read the RPM man page but can't figure this out/get it working.
Any help appreciated,
Charlie
--
Charlie Zender [EMAIL PROTECTED] (949) 824-2987/FAX-3256, Department of
Earth System Science, University of California, Irvine CA 92697-3100
------------------------------
From: Adam Clark <[EMAIL PROTECTED]>
Subject: Re: "No space left on device"
Date: 1 Nov 2000 19:45:38 GMT
Thanks -- this was very helpful.
Adam
[EMAIL PROTECTED] wrote:
> Adam Clark <[EMAIL PROTECTED]> wrote:
>> [05:21am] /tmp$ df -h
>> Filesystem Size Used Avail Use% Mounted on
>> /dev/hda5 289M 232M 42M 85% /
>> /dev/hda6 3.2G 1.2G 1.9G 38% /home
>> /dev/hda7 8.2G 2.1G 5.6G 27% /usr
>> [05:35am] /tmp$ touch /tmp/anything
>> touch: /tmp/anything: No space left on device
> The poster who suggested you might be out of inodes is likely
> right. This is a known Mandrake 7.1 problem.
> First go into /var/log/news and do a "find . | xargs rm -f" Expect it
> to run for a *long* time. Then do the same in /var/log/news.
> Then go to a Mandrake mirror site and download the
> logrotate-3.3-9mdk.i586.rpm and the sysklogd-1.3.31-19mdk.i586.rpm
> packages and install them.
> That ought to prevent this.
> Other than this and having to execute /etc/rc.d/init.d/crond stop and
> /etc/rc.d/init.d/crond start when a user's crontab has to be changed
> (this should *not* be required, and is not on any other Unix I've used
> including Mandrake 7.0), I've been pretty pleased with Mandrake 7.1
> --
> Jim Buchanan [EMAIL PROTECTED] [EMAIL PROTECTED]
> =================== http://www.buchanan1.net/ ==========================
> And all should cry, Beware! Beware! His flashing eyes, his floating hair!
> Weave a circle round him thrice, And close your eyes with holy dread,
> For he on honey-dew hath fed, And drunk the milk of Paradise.
> -Coleridge
> ========================================================================
------------------------------
From: [EMAIL PROTECTED] (Hal Burgiss)
Subject: Re: How to tell which RPM owns file and visa versa?
Reply-To: Hal Burgiss <[EMAIL PROTECTED]>
Date: Wed, 01 Nov 2000 19:46:26 GMT
On Wed, 01 Nov 2000 11:30:17 -0800, Charlie Zender <[EMAIL PROTECTED]> wrote:
>
>How can I use the rpm command to find out which package owns a given
>file?
rpm -qf <full path to file>
>How can I use the rpm command to find out which files a given package owns
rpm -ql <package name> |less
>will install?
rpm -qpl <full package name and path to install>.rpm |less
--
Hal B
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
------------------------------
From: [EMAIL PROTECTED] (Mike Castle)
Subject: Re: moving /var to its own partition
Date: Wed, 1 Nov 2000 13:22:53 -0600
In article <[EMAIL PROTECTED]>,
S.Brautaset <w0006293@tiger> wrote:
>I'm going to move /var to its own partition. How do I do it? The partition is
>there and ready, but I guess just changing /etc/fstab will not work (actually,
>I know it's not working; syslogd hangs on bootup) Can anybody help me out?
mount the new partition on /mnt for now...
cd /var ; find . -depth -print | cpio -pdmv /mnt
(wait, twiddle thumbs)
cd /
mv var var2
mkdir var
reboot
When all is cool, you can nuke /var2
mrc
--
Mike Castle Life is like a clock: You can work constantly
[EMAIL PROTECTED] and be right all the time, or not work at all
www.netcom.com/~dalgoda/ and be right at least twice a day. -- mrc
We are all of us living in the shadow of Manhattan. -- Watchmen
------------------------------
** 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
******************************