Linux-Misc Digest #123, Volume #28 Sat, 16 Jun 01 16:13:02 EDT
Contents:
Re: Upgrade using rpm
Total Linux newbie (viza)
Re: Q: ReiserFS or hardware error? (Robert Davies)
Mandrake 8.0 quota problems (Michal Dobaczewski)
apache on RH not starting automatically ("Gerry")
Re: 4DOS-like cd in a linux shell (Anthony Campbell)
Re: How to regenerate RPM database? (Jean-David Beyer)
phonesync for linux ("Jeff D. Hamann")
Re: Upgrade using rpm (Sean)
Re: env variables (Dances With Crows)
Re: kernel panic (Dances With Crows)
Re: Total Linux newbie (Robert Heller)
images to video ("pahidla")
Re: Total Linux newbie (Dances With Crows)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] ()
Subject: Re: Upgrade using rpm
Date: Sat, 16 Jun 2001 18:19:40 GMT
On Sat, 16 Jun 2001 14:04:31 -0400, Bob <[EMAIL PROTECTED]> wrote:
>In trying to upgrade an application in redhat 7.0, I needed to also
>upgrade a library package. Running rpm would not allow it, claiming that
>other applications required the files in the earlier package. I couldn't
>do it even using the --force option. Some of the other applications were
>samba and python, so I would be surprised if they could not use the
>upgraded files equally well. How does one deal with this situation?
>
When RPM gets to be such a PITA, I just get the tarball and install it from
there.
------------------------------
Subject: Total Linux newbie
From: viza <[EMAIL PROTECTED]>
Date: Sat, 16 Jun 2001 18:53:35 GMT
I have my last exam om monday and am going to try to learn the basics of
Linux over the summmer. I have read that Corel Linux is good for complete
newbies because thay have tried to make it more like windows. Is it a good
idea, and how different is it actually? Will it want different drivers, or
is it just a different GUI etc? If it's not best for me, what is? I am
reasonably capable in Windows and DOS.
I will either have to find somewhere I can buy a copy, (baringing mind it's
coming out of my very limited beer money), or download it over my winmodem
(which I know won't work in linux - connexant HCF), and try to install it
from a FAT32 partition where it will be downloaded to onto a new partition
I will make. Is this possible/easy?
Thanks a lot!
--
They told me penguins don't bite.
------------------------------
From: Robert Davies <[EMAIL PROTECTED]>
Subject: Re: Q: ReiserFS or hardware error?
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup
Date: Sat, 16 Jun 2001 16:44:05 +0100
Tony G. wrote:
> Greetings! I woke up this morning to a console full of errors. I've
> got about 275 lines of these errors. Does anyone know if these are
> specifically ReiserFS or hard drive/hardware errors.
>
> Can anything be done to repair/correct these? I've got backups, do I
> need to go back to ext2? I've been running ReiserFS for 4 months with
> no problems until now. Any advise would be great! Thanks!
>
> `cron.daily' to 2001-06-16
> Jun 16 04:02:23 zorak kernel: hda: read_intr: status=0x59 { DriveReady
> SeekComplete DataRequest Error }
I got similar errors, after fdisk, screwed up a partition table.
I don't think they're reieserfs specific, the early 2.4.1-3 problems with
reiser were fixed in 2.4.4.
I should do any back up you can. Then unmount.
To fix the partition table, I had to use sfdisk(8) which was the only thing
that could read it, I tried gpart(8) which hinted that it was really messed
up. Anyway it made a pretty good impression of a screwed up hard drive.
The bug was triggered by the new Windows extended partition type.
You should eliminate partition table as a possibility, then try things like
badblocks, to see what happens.
Apparently linux only returns 1 bit of error info back up, though the
drivers knows more about the errors, so the upper layers cannot be very
informative :(
> Jun 16 04:02:23 zorak kernel: hda: read_intr: error=0x40 {
> UncorrectableError }, LBAsect=227066, sector=66416
> Jun 16 04:02:23 zorak kernel: end_request: I/O error, dev 03:02 (hda),
> sector 66416
> Jun 16 04:02:23 zorak kernel: vs-13070: reiserfs_read_inode2: i/o
> failure occurred trying to find stat data of [2027 2724 0x0 SD]
> Jun 16 04:02:23 zorak kernel: vs-13048: reiserfs_iget: bad_inode. Stat
> data of (2027 2724) not found
Good luck
Rob
------------------------------
From: Michal Dobaczewski <[EMAIL PROTECTED]>
Subject: Mandrake 8.0 quota problems
Date: Sat, 16 Jun 2001 21:07:43 +0200
Hi,
I recently installed the Mandrake 8.0 on one of our computers here, and I
can't figure out how to setup quota. I am by no means an expert, but I had
some experience with earlier systems (i.e. Mdk 6.1, RedHat 6.2 ) and never
run into this kind of problem:
when I run quotacheck it scans the filesystem but doesn't produce the
aquota.* (nor quota.* ) files. No errors whatsoever. I run quotacheck as
root, the filesystem is mounted with usrquota. Basicaly I do everything
just as I would do with earlier versions, on which it works fine.
So, what's different in Mdk 8.0?
Thanx,
Michal.
------------------------------
From: "Gerry" <[EMAIL PROTECTED]>
Subject: apache on RH not starting automatically
Date: Sat, 16 Jun 2001 19:08:42 GMT
I just loaded up Red Hat 7.1. Apache 1.3.19-5 is installed, and will run if
I execute /etc/rc.d/init.d/httpd start. It does not start by itself when I
boot the machine. When I do a chkconfig --list httpd, it's off in every run
level until I start it manually. How do I make apache start when the
machine boots? And how do I change the order of services that start at
startup as well. Thanks for your help in advance....
Gerry
------------------------------
From: [EMAIL PROTECTED] (Anthony Campbell)
Subject: Re: 4DOS-like cd in a linux shell
Reply-To: [EMAIL PROTECTED]
Date: Sat, 16 Jun 2001 19:06:58 GMT
On Sat, 16 Jun 2001 16:33:38 GMT, florian schmidt <[EMAIL PROTECTED]> wrote:
> On 15 Jun 2001 02:28:47 -0700, [EMAIL PROTECTED] (Sune Trudslev)
> wrote:
>
>>Hello there,
>>
>>
>>I am new to linux and I have been using DOS since the beginning of
>>time with 4DOS as a shell.
>>
>>So I am very used to being able to change directory by typing the
>>directory name and end with a backslash, and the the shell will change
>>to that directory.
>>
>>
>>I was wondering if anybody knew of a shell under linux that can do
>>this. I can use filename completion to actually get the directory name
>>under bash, but it just complains that it's a directory.
>
> i haven't heard of any shell (but i don't know many. none of them
> really) that can do that. in unix shells one has to put a "cd" in
> front of the directory u want to change to..
I made that same transition, from DOS + 4DOS. to Linux several years
ago. I think that experience with 4DOS is a very good introduction to
Linux; there are many similarities between 4DOS and Unix and you will
have an easier transition than if you were coming from Windows.
Unfortunately I don't think the particular facility you ask for is
available, at least in bash (I don't know about other shells). If it is
a directory change that you make frequently you could have an alias for
it. However, in compensation, have a look at shopt in the bash man
page; it's very nice and among other things has a facility to allow the
shell to recognize misspelt directory names.
BTW, if you have kept a small DOS partition, as I have, you can use
loadlin to boot linux instead of lilo; IMO loadlin has advantages,
especially when you are testing a new kernel.
Anthony
--
Anthony Campbell - running Linux Debian (Windows-free zone)
For electronic books (Homeomythology and The Assassins of Alamut), skeptical
essays, and over 130 book reviews, go to: http://www.acampbell.org.uk/
"Orthodoxy is my doxy, heterodoxy is another man's doxy."
[William Warburton]
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: How to regenerate RPM database?
Date: Sat, 16 Jun 2001 15:14:13 -0400
Matt Ng wrote:
>
> > I get a list of the stuff in the new release (e.g,
> > kernel-2.2.18pre11-va2.0 ), but if I do uname -r, I get
> > 2.2.14-VA.2.1smp. If I look in /boot, I see (among other things):
>
> Sorry for beating a dead horse,
Might as well. At least the SPCA will not get after you.
> but when you do a rpm -qi kernel, do you
> only get kernel-2.2.18... or do you also get the other kernels?
Only the 2.2.18... one.
> How
> exactly did you upgrade
I stuck the CD-ROM for 6.2.4 in the drive and rebooted the system.
This was to upgrade the whole system, not just the kernel. I could not
upgrade the kernel because of cascading dependency problems, and the
fact that some programs were in different RPM packages from before.
First, I tried to do an upgrade, and it failed (I have never been able
to get a Red Hat or Red Hat derived distribution to upgrade. Then I
just did a full reinstall.
> and downgrade?
I stuck my full backup tape into the drive, and told the backup
software to restore most of the files (e.g., /home, /opt, /bin, /lib,
/usr, ...). I forgot to restore the rpm stuff in /var. I actually did
not think I wanted it because the RPM stuff was corrupt already. I
have found that it does not pay to mix RPM sources; i.e., if I have a
Red Hat distribution, use only RPMs from them. If I have a VA Linux
distribution, use only RPMs from them. I must remember never to use
RPMs from these guys: http://rpmfind.net/linux/RPM/ because when I do,
the RPM stuff slowly deteriorates until the computer system gets more
and more flakey, and the RPM part of it gets more and more cascading
dependency problems and dependency conflicts. I am trying to work my
way out of that right now, but as far as I can tell, the only way
would be to do a clean install from one of the distributions and to
restore as little as possible from backup tapes. Unfortunately, if I
start with a clean install, 4 years of past installations,
configurations, and additions, disappear and recovering that stuff can
take a week to a month. I really do not have the time for that, though
I guess I will have to.
> i.e upgrade using -Uvh or -Fvh,
> and downgrade using -Uvh --oldpackage?
Neither.
>
> I'm just seeing if there's a reason why the database would think you have
> the new packages, i.e. they weren't inunstalled using rpm or something.
They were not uninstalled with rpm. I replaced them by restoring from
backup. (I cannot use that backup anymore as I have replaced my flakey
4mm DDS-2 tape drive with a VXA-1 (Ecrix) 8mm tape drive, so I cannot
get the old RPM database off it anymore. Besides, other things have
gone in since then, so I would not want that database now even if I
could restore from it.
I had high hopes for RPM, but it works only if you get all your RPMs
from the same source as your distribution, that you install nothing
that is not in RPM form, etc. This does not agree with reality. I
install new versions of sendmail as they come out, but the RPMs are
way behind. Similarly with lynx, guncash, Netscape (though I do not
want 6.0), etc.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 3:00pm up 9 days, 3:55, 3 users, load average: 2.09, 2.14, 2.16
------------------------------
From: "Jeff D. Hamann" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: phonesync for linux
Date: Sat, 16 Jun 2001 12:20:05 -0700
I have a win2k laptop and would like to run more linux on the machine and
would like to find out if there'sn app that I can store AND transfer (like
phonesync) names and numbers to my cell phone. Is there such a thing?
Jeff.
------------------------------
From: Sean <[EMAIL PROTECTED]>
Subject: Re: Upgrade using rpm
Date: Sat, 16 Jun 2001 20:16:37 +0100
Have you tried the --nodeps option?
Bob wrote:
>
> In trying to upgrade an application in redhat 7.0, I needed to also
> upgrade a library package. Running rpm would not allow it, claiming that
> other applications required the files in the earlier package. I couldn't
> do it even using the --force option. Some of the other applications were
> samba and python, so I would be surprised if they could not use the
> upgraded files equally well. How does one deal with this situation?
>
> Thanks for any suggestions.
>
> --
> Bob Parnes
> [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: env variables
Date: 16 Jun 2001 19:22:54 GMT
Reply-To: [EMAIL PROTECTED]
On Sat, 16 Jun 2001 14:05:45 GMT, Tom Edelbrok staggered into the Black
Sun and said:
>What is the normal way of making environment variables permanent? Where
>do the default ones get set?
>
>I have a way of doing it - I just put any new ones into /etc/bashrc.
>For example:
>
>DISPLAY=blade:0.0 ; export DISPLAY
>
>This works great. Is this the proper place to do it? If so then why do
>a whole bunch of environment variables show up at boot time and they
>are not even found in bashrc?
This is not the right way to do things unless you want every user on the
system to have these environment variables set. This is why ~/.bashrc
exists. Also, /etc/profile is called before /etc/bashrc , and it sets a
fair number of environment variables.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Outside of a dog, a book is a man's best
http://www.brainbench.com / friend. Inside of a dog, it's too dark
=============================/ to read. ==Groucho Marx
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Crossposted-To:
comp.os.linux.help,comp.os.linux.questions,comp.os.linux.setup,comp.os.linux.redhat
Subject: Re: kernel panic
Date: 16 Jun 2001 19:22:56 GMT
Reply-To: [EMAIL PROTECTED]
On 16 Jun 2001 09:28:22 -0700, mike staggered into the Black Sun and
said:
>I tried to install kernel 2.4.2 It went fine till I rebooted. The at
>the lilo prompt I pressed tab and typed in the name of my new kernel,
>then I got this error "Root fs not mounted
>cannot open root device "301" or 03:01
>Please append a correct "root=" boot option
>Kernel panic vfs: unable to mount root file system on 03:01
>
>First of all what is a kernel panic and second how do I fix this.
A "kernel panic" means that something has gone so severely wrong that
the kernel must halt execution. You see these when you have flaky
hardware, or when you are using experimental kernels (not 2.4.2, but
previous 2.4 versions and the 2.3 series), or when you have mangled the
boot parameters. Why 2.4.2, anyway? They're up to 2.4.5, and in my
experience, it has far fewer problems than 2.4.2.
Device 03:01 is also known as /dev/hda1 ; is this the correct place for
your / ? You can fix it by booting the older kernel, editing
/etc/lilo.conf and making sure it's right, then rerunning /sbin/lilo .
I hope you didn't mess with the settings for the older kernel, and you
left the older kernel bootable. When upgrading your kernel, you
*ALWAYS* leave a known good kernel available for boot in lilo.conf, and
you always have an alternative means of booting the system (boot
floppy), or you will lose.
>When I edited lilo I assumed that the root partition would be the same
>one as my other kernel.
I hope you didn't edit /sbin/lilo . Editing /etc/lilo.conf is OK, but
you shouldn't edit binaries directly unless you know what you are doing.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Outside of a dog, a book is a man's best
http://www.brainbench.com / friend. Inside of a dog, it's too dark
=============================/ to read. ==Groucho Marx
------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: Total Linux newbie
Date: 16 Jun 2001 19:41:30 GMT
viza <[EMAIL PROTECTED]>,
In a message on Sat, 16 Jun 2001 18:53:35 GMT, wrote :
v> I have my last exam om monday and am going to try to learn the basics of
v> Linux over the summmer. I have read that Corel Linux is good for complete
v> newbies because thay have tried to make it more like windows. Is it a good
v> idea, and how different is it actually? Will it want different drivers, or
v> is it just a different GUI etc? If it's not best for me, what is? I am
v> reasonably capable in Windows and DOS.
v>
v> I will either have to find somewhere I can buy a copy, (baringing mind it's
v> coming out of my very limited beer money), or download it over my winmodem
v> (which I know won't work in linux - connexant HCF), and try to install it
v> from a FAT32 partition where it will be downloaded to onto a new partition
v> I will make. Is this possible/easy?
Possible, but you need about 650meg of free disk space and it will take
a *long* time to download. It might be a better idea to get a bare CD
copy ($2-$3 each) from www.linuxmall.com or www.cheapbytes.com. You can
also get the full boxed sets of various distros from www.linuxmall.com
and www.cheapbytes.com -- prices range for about $20 for a low-end set
to $100 for deluxe editions.
You'll want to visit www.linuxdoc.org and search the Hardware-HOWTOs to
determine if you will have problems with incompatible hardware.
ALL of the distros will have much the same kernel with the same set of
drivers. And all have the same set of GUI options, although different
distros have different 'default' settings and different installation
options. The distros also vary in terms of the set of utilities included
and what, if any, 'extra' software is included. I think Corel Linux
includes Word Perfect and Partition Magic, for example.
v>
v> Thanks a lot!
v>
v> --
v> They told me penguins don't bite.
v>
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
------------------------------
From: "pahidla" <[EMAIL PROTECTED]>
Subject: images to video
Date: Sat, 16 Jun 2001 15:35:02 -0400
Hi,
Is there a linux application that would convert a series of images into a
mpeg (or some other format) clip? I've tried using mpeg_encode but dicided
that figuring out how to set up the param file is just not worth it. Perhaps
someone could send me a simple sample param file.
Many thanks in advance!
Pavel
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Total Linux newbie
Date: 16 Jun 2001 19:44:36 GMT
Reply-To: [EMAIL PROTECTED]
On Sat, 16 Jun 2001 18:53:35 GMT, viza staggered into the Black Sun and
said:
>I have my last exam om monday and am going to try to learn the basics
>of Linux over the summmer. I have read that Corel Linux is good for
>complete newbies because thay have tried to make it more like windows.
>Is it a good idea, and how different is it actually? Will it want
>different drivers, or is it just a different GUI etc? If it's not best
>for me, what is? I am reasonably capable in Windows and DOS.
Corel is not best for anyone. They have ceased to make Linux distros,
and their distro was a piece of carp anyway. As for "making Linux like
Windows", that's silly. Linux Is Not Windows, and trying to paper over
the differences will just confuse newbies more. A far better choice for
newbies is Mandrake 8.0 or SuSE 7.1 or RedHat 7.1. These are far more
advanced than any of Corel's offerings, easier to install, and you can
strip away the pointy-clicky fluff and get down to the "Real Unix" when
you are ready to do so.
I don't know what you mean by "different drivers, or is it just a
different GUI etc?". A Linux distro is a completely different OS from
Win/DOS, and it has a completely different way of doing things. The
driver model is completely different, the X Window System is network-
transparent and runs in user space while the Windows GUI runs partially
in kernel space and has no native network capability, Linux is
aggressively multi-user while only NT and 2K have even the slightest
multi-user capability, etcetera, etcetera.
A good book on the subject is _Running Linux_ by Matt Walsh, published
by O'Reilly. A book on general Unix will also help; Linux is POSIX
compliant and behaves very similarly to other Unices in many respects.
>I will either have to find somewhere I can buy a copy
??! Is there a LUG in your area? Know anyone who uses Linux and has a
CD-R? Seen http://cheapbytes.com/ ? Find a local Linux user and ask
them; if you're in a college town, there are certainly a few of them
around. cheapbytes sells distros for cheap; you just don't get the
paper manual.
>and try to install it from a FAT32 partition where it will be
>downloaded to onto a new partition I will make. Is this possible/easy?
Get a distro on CD; it will be much easier. For installation notes and
general information, please check http://linuxnewbies.org/ and
http://linuxdoc.org/HOWTO/ . Bonne chance....
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Outside of a dog, a book is a man's best
http://www.brainbench.com / friend. Inside of a dog, it's too dark
=============================/ to read. ==Groucho Marx
------------------------------
** 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
******************************