Linux-Misc Digest #761, Volume #23 Sun, 5 Mar 00 19:13:05 EST
Contents:
Re: Tar useless for backups? (Bob Tennent)
Re: recovering lost file (Vilmos Soti)
cron (roger summars)
Re: recovering lost file (Robert Heller)
Re: Tar useless for backups? (Robert Heller)
Re: StarOffice network installation (Carl Fink)
Re: Backup Strategy Question (Robert Heller)
Re: Salary? ([EMAIL PROTECTED])
Re: Salary? ([EMAIL PROTECTED])
Re: Here's why linux programs are so insecure ! ("Allan Clark")
Re-configuring RAID disks (estroncio)
Re: Named Log Messages (Jeff Grossman)
Re: Tar useless for backups? (Leonard Evens)
Re: parallel port problems (Leonard Evens)
Re: cron (Kenny McCormack)
Re: Salary? (Peter Morris)
Re: Salary? (Peter Morris)
Linux print spool setup - Help (Rawender Singh Guron)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Bob Tennent)
Subject: Re: Tar useless for backups?
Date: 5 Mar 2000 22:07:42 GMT
Reply-To: [EMAIL PROTECTED]
On Sun, 05 Mar 2000 20:41:48 +0000, MH wrote:
>Recently, I attempted to restore a specific file from a tar file backup
>of my home directory. Tar informed me the file did not exist. Sure
>enough, when I generated a list the file was not displayed. I noticed
>other files were missing as well.
>
>I deleted the original tar file and recreated it with the verify switch
>(-W). To my amazement, tar listed HUNDREDS of files as "does not
>exist". Even more amazing, most of the files listed as missing DID IN
>FACT EXIST in the tar file, though about a third were actually missing.
>I did not receive any error messages.
>
>What the hell is going on here?
Who knows? But since tar has been used for doing backups for
about 30 years, your Subject is highly misleading and I suspect
you are a troll. If not, post the command you used to create the
tar file.
Bob T.
------------------------------
Crossposted-To: linux.misc
Subject: Re: recovering lost file
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Sun, 05 Mar 2000 22:27:59 GMT
Subita Sudershana <[EMAIL PROTECTED]> writes:
> and this helped me start it again but the file I was working on
> along with the directory was gone. I was reading the 'faq'
There is a ext2-undelete howto (or something along the lines) which
gives some help how to do it.
Vilmos
------------------------------
From: roger summars <[EMAIL PROTECTED]>
Subject: cron
Date: Sun, 05 Mar 2000 16:19:27 -0600
When cron runs, it emails a copy of any output to the owner of the cron
job. This is filling my hard drive with useless drivel. I have
commented out the "MAILTO=root" line in the crontab file, with no
apparent success. I cannot find the source code for the cron daemon to
edit it directly. Anyone have any ideas?????
Roger
------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: recovering lost file
Date: Sun, 05 Mar 2000 22:20:40 GMT
Subita Sudershana <[EMAIL PROTECTED]>,
In a message on Sun, 05 Mar 2000 12:54:08 -0800, wrote :
SS> Hi,
SS> My computer rebooted accidentally while it was running linux yesterday
SS> and when I rebooted the file system was corrupted. I ran 'fsck'
SS> and this helped me start it again but the file I was working on
SS> along with the directory was gone. I was reading the 'faq'
SS> that was posted this morining and tried a 'grep -b 'string' /dev/hda'
SS> on the partition but it says 'grep: memory exhausted'. I would
SS> appreciate
SS> any suggestions on recovering the file.
Look in /<mount point>/lost+found/ for your missing files. Note: it is
possible that some files are unretrievable. Any that are retrievable
will be here.
SS>
SS> Thanks,
SS> Rajnish
SS>
SS>
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: Tar useless for backups?
Date: Sun, 05 Mar 2000 22:20:38 GMT
MH <[EMAIL PROTECTED]>,
In a message on Sun, 05 Mar 2000 20:41:48 +0000, wrote :
M> Recently, I attempted to restore a specific file from a tar file backup
M> of my home directory. Tar informed me the file did not exist. Sure
M> enough, when I generated a list the file was not displayed. I noticed
M> other files were missing as well.
M>
M> I deleted the original tar file and recreated it with the verify switch
M> (-W). To my amazement, tar listed HUNDREDS of files as "does not
M> exist". Even more amazing, most of the files listed as missing DID IN
M> FACT EXIST in the tar file, though about a third were actually missing.
M> I did not receive any error messages.
M>
M> What the hell is going on here?
M>
Were any of these files symbolic links to other directories (outside of
the scope of the tar backup)? By *default* tar backs up the link, but
not the file the link points to. Add the '-h' option to make tar
'chase' symlinks.
*I've* never had problems with tar backups.
Also, *exactly* what did you give tar as arguments? Note that:
tar czvf /backups/me.tar.gz -C ~/ .
is *different* from
tar czvf /backups/me.tar.gz -C ~/ *
The former collects all of the files in your home directory, including
the 'hidden' files and directories. The second only backs up the
non-hidden files and directories.
Also, the tar file will be different if you use a command like
tar czvf /backups/me.tar.gz -C ~/ .
vs.
tar czvf /backups/me.tar.gz ~/
although the actual contents will be effectively the same. I'll leave
it as an exercise to figure out just what is different -- should be
obvious after a couple of minutes thought.
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
------------------------------
From: [EMAIL PROTECTED] (Carl Fink)
Crossposted-To: comp.os.linux.setup,alt.os.linux
Subject: Re: StarOffice network installation
Date: 5 Mar 2000 22:06:00 GMT
Reply-To: [EMAIL PROTECTED]
On Fri, 3 Mar 2000 19:07:22 +0100 Timo Benk <[EMAIL PROTECTED]> wrote:
>I want to setup StarOffice in my network only once, and than every user
>can start it.
Did it even occur to you to read the "readme" file that came with
StarOffice, which explains exactly how to do this?
--
Carl Fink [EMAIL PROTECTED]
I-Con's Science and Technology Guest of Honor in 2000 will be Geoffrey
A. Landis. See <http://www.iconsf.org> for I-Con information.
------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: Backup Strategy Question
Date: Sun, 05 Mar 2000 22:20:41 GMT
"Bob Cent" <[EMAIL PROTECTED]>,
In a message on Sun, 5 Mar 2000 12:51:58 -0800, wrote :
"C> I have conceptually developed a backup strategy that would suit our lab's
"C> fileserver, but I haven't worked out all the details or whether it is even
"C> possible using Linux commands. I welcome your suggestions and criticisms.
"C>
"C> Set up my Linux system with two ~20gb drives. I'll refer to them as primary
"C> and secondary. My users will only store files on the primary drive and fill
"C> it with no more than ~10gb of files. I will use the secondary drive as a
"C> 30-day backup device. Here's how...
"C>
"C> Using cron nightly, I'd delete all files on the secondary drive that are 31
"C> days old. Then copy any file on the primary drive, to the secondary drive
"C> if the primary file was not found on the secondary drive or if the file on
"C> the primary drive was newer than the file on the secondary drive.
"C>
"C> I could not find all the Linux commands and options that would accomplish
"C> this. Perhaps, one of you is more experienced than me and see a way to do
"C> it, or maybe there is a utility that does what I need. Either way I am
"C> eager to hear from you.
"C>
"C> Granted this backup scheme is imperfect, but I'm mostly trying to protect
"C> myself from disk failure while giving my users a bit of short-term deletion
"C> protection. Please note that my users are responsible for backing up their
"C> files, for long-term purposes, from their Macintosh.
All you need is rsync. It will do *everything* you want to do with a
single command. I think rsync comes with most Linux distros, but you
can fetch it from under <http://rsync.samba.org/rsync/>. It comes with
an *execelent* man page.
"C>
"C> Thanks....
"C>
"C> _____________________________
"C> Bob Cent
"C> University of Washington
"C> Box 357330
"C> Seattle, WA 98195-7330
"C>
"C> mailto: [EMAIL PROTECTED]
"C> voice: 206.543.1433
"C> fax: 206.685.0305
"C> _____________________________
"C>
"C>
"C>
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.networking,comp.os.linux.advocacy
Subject: Re: Salary?
Date: Sun, 05 Mar 2000 22:35:52 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> 1. Charge what you think you're worth in that job. US$20/hr? US$40/hr?
> What? If you feel quite happy getting US$15/hr and then find that
> you're being undervalued in this position as everyone is earning more
> than you, I expect you'd be a little miffed. Am I right? And yet you
> were quite happy to accept the US$15/hr in the first place. People are
> so greedy.
It's not so much a question of greed; merely fairness. I've been in
the position before where I got hired on at a wage, then discovered
a few months down the road that someone that does an inferior job
(by my estimation and management's appraisals) was hired on at - and
was continuing to make - significantly more than what I was making.
So no, not greed exactly. I just don't want to repeat that sort of
rude slap in the face through naivety.
> Having said that I'd guess that as you've left school and it's an
> admin job I'd go for about GB�20K which would be about US$30K which
> works out at about ....oh dear, US$10.27/hr. Perhaps I have my sums
> wrong.
Doing some quick math, that works out to around $14.50/hr assuming
$30,000 gross annual income, 40 hours a week. I was thinking low- to
mid-thirties, but if sysadmins are routinely making $45k+ I'd feel
like I low-balled myself (doing the same work for less pay). Hence
my inquiry.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.networking,comp.os.linux.advocacy
Subject: Re: Salary?
Date: Sun, 05 Mar 2000 22:40:38 GMT
In article <eqnw4.142594$[EMAIL PROTECTED]>,
"The Gimme A Buck Guy" <[EMAIL PROTECTED]> wrote:
> Let's hope your future employer is not reading this newsgroup!
Why?
I probably should have been more clear.
I'm *not* looking to gouge my future employer. I *am* looking
to avoid selling myself short. I simply don't want to be in a
position in a few months or a year where I realize that others,
doing the same job, are being better compensated. (Had that
happen. Really sours one on the experience.) The whole "same
work, less pay" thing.
I'm not looking for more than I'm worth, just trying to get a
feel for what I am worth. Does that make any sense?
- Robert Nichols
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: "Allan Clark" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux
Subject: Re: Here's why linux programs are so insecure !
Date: Sun, 5 Mar 2000 22:55:26 -0000
I am in total agreement
Mr Daddy T wrote in message <[EMAIL PROTECTED]>...
>I'm no linux expert, but from what I know, the coding for the core
operating
>system is so tight, and organized in such a way that even if you did find a
>security hole in a program, that a) someone else has already found it and
>alerted the author, b) a patch will be posted quite quickly, as in a couple
>of hours, and c) I don't think they care much
>
>People that develop *nix programs have such a high understanding of the
core
>operating system, and need their programs to operate with as many flavours
>of *nix as possible, that the likelihood of them slipping up doesn't have
>high odds.
>
>Unlike windows programmers. With all this visual development apps, one
>mistake in a *.dll of the developer app, and it get's distributed all over
>the world, and it isn't fixed until the next release. (And I'm a Windows
>Guru, well almost!!)
------------------------------
From: estroncio <[EMAIL PROTECTED]>
Subject: Re-configuring RAID disks
Date: Sun, 05 Mar 2000 22:56:48 GMT
I have a RAID-1 using two HD (/dev/hdb1 and /dev/hdc1).
I think I have some problem with the second HD, so I`ll change it. The
problem is that I don't know how re-activate it (which raid-command must
I use to copy hdb1 to hdc1 without use restore/backup).
Someone knows were can I find more information about this?
thanks.
------------------------------
From: Jeff Grossman <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc
Subject: Re: Named Log Messages
Reply-To: [EMAIL PROTECTED]
Date: Sun, 05 Mar 2000 13:48:35 -0800
"Steve Cowles" <[EMAIL PROTECTED]> wrote:
>
>"Jeff Grossman" <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]...
>> Hello,
>> I am running Redhat 6.1, and named puts a lot of log information into
>> the messages files. I would like to find out how I can stop this.
>> How do I tell syslog or named not to log everything, only errors?
>>
>> Thanks,
>> Jeff
>> ---
>> Jeff Grossman ([EMAIL PROTECTED])
>
>I think this is what your wanting. Add this (see below) to your named.conf
>file.
>
>Steve Cowles
>
>
>---- > cut/paste from /etc/named.conf <------
>logging {
> category statistics { null; };
>};
Thanks. I am going to give it a try.
Jeff
---
Jeff Grossman ([EMAIL PROTECTED])
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: Tar useless for backups?
Date: Sun, 05 Mar 2000 16:36:06 -0600
MH wrote:
>
> Recently, I attempted to restore a specific file from a tar file backup
> of my home directory. Tar informed me the file did not exist. Sure
> enough, when I generated a list the file was not displayed. I noticed
> other files were missing as well.
>
> I deleted the original tar file and recreated it with the verify switch
> (-W). To my amazement, tar listed HUNDREDS of files as "does not
> exist". Even more amazing, most of the files listed as missing DID IN
> FACT EXIST in the tar file, though about a third were actually missing.
> I did not receive any error messages.
>
> What the hell is going on here?
We've been using tar for years, and I've been able to restore
whole file systems on several occasions. I've also recovered
individual files. Either you are doing something wrong or
there is something seriously wrong with your system. You should
give us details including what OS and release you are using,
which version of tar, what you are using for a backup device,
and what command you were using.
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: parallel port problems
Date: Sun, 05 Mar 2000 16:40:20 -0600
Paul Anderson wrote:
>
> I've corrected several issues by upgrading to RH6.1 from RH5.2 One more
> specific one though.
>
> I've got an asus P-90 motherboard. I passed Y2K just fine with both of
> them, one on linux and the other on 6.22/3.1
>
> I've got a motherboard parallel port that linux can't see. I've also
> disabled it and plugged in an ISA card in its place. Control-panel still
> can't find it. I've moved it around on I/O and IRQ, I've pulled the
> sound card, all the other cards are PCI and running fine: 3C905 x 2,
> 2940UW, and video.
>
> I'm at my wit's end. Any ideas?
> --
> "No matter what you say,
> No matter what you do,
> You are annoying.
> BOFH and proud!!"
The usual reason for this is that there is a new way to handle
the parallel port. You probably need
alias parport_lowlevel parport_pc
in /etc/conf.modules. There is a discussion of this point somewhere
on the RedHat website.
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: [EMAIL PROTECTED] (Kenny McCormack)
Subject: Re: cron
Date: 5 Mar 2000 17:04:37 -0600
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>, roger summars <[EMAIL PROTECTED]> wrote:
>When cron runs, it emails a copy of any output to the owner of the cron
>job. This is filling my hard drive with useless drivel. I have
>commented out the "MAILTO=root" line in the crontab file, with no
>apparent success. I cannot find the source code for the cron daemon to
>edit it directly. Anyone have any ideas?????
MAILTO=root is superfluous, as it is the default.
Put in a line that says: MAILTO=""
That'll fix it.
------------------------------
From: [EMAIL PROTECTED] (Peter Morris)
Crossposted-To: comp.os.linux.networking,comp.os.linux.advocacy
Subject: Re: Salary?
Date: Sun, 05 Mar 2000 23:52:17 GMT
Reply-To: [EMAIL PROTECTED]
Underpaid? That's interesting because whenever I've talked to people
about working in the USA, they've always quoted less that I was
earning in UK.
I'm currently an A/P earning over US$100K. 35hr a week but admittedly,
no benefits.
PAM.
__________ Tim Hockin <[EMAIL PROTECTED]> __________
>In comp.os.linux.misc Peter Morris <[EMAIL PROTECTED]> wrote:
>: Having said that I'd guess that as you've left school and it's an
>: admin job I'd go for about GB20K which would be about US$30K which
>: works out at about ....oh dear, US$10.27/hr. Perhaps I have my sums
>: wrong.
>
>IT folk are underpaid in GB or overpaid in US :) Starting admin job in CA
>40-60k, depending on experience (maybe more for high-power jobs) and
>depending on stock options/benefits. less than 40 is crazy - especially in
>California.
>
>--
>Tim Hockin
>[EMAIL PROTECTED]
>[EMAIL PROTECTED]
>This program has been brought to you by the language C and the number F.
------------------------------
From: [EMAIL PROTECTED] (Peter Morris)
Crossposted-To: comp.os.linux.networking,comp.os.linux.advocacy
Subject: Re: Salary?
Date: Sun, 05 Mar 2000 23:55:41 GMT
Reply-To: [EMAIL PROTECTED]
OK fairness, but if you're happy with what you get, does it matter if
everyone is getting more than you. It only does when you find out.
That's a problem. I was quite happy earning my hourly rate, even
finding that some, doing the same job for the same length of time were
on more. It's all what you can bid for. They bid higher and got it.
Some even GP�10/hr more!
Good on 'em I say.
PAM.
__________ [EMAIL PROTECTED] __________
>In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] wrote:
>> 1. Charge what you think you're worth in that job. US$20/hr? US$40/hr?
>> What? If you feel quite happy getting US$15/hr and then find that
>> you're being undervalued in this position as everyone is earning more
>> than you, I expect you'd be a little miffed. Am I right? And yet you
>> were quite happy to accept the US$15/hr in the first place. People are
>> so greedy.
>
>
>It's not so much a question of greed; merely fairness. I've been in
>the position before where I got hired on at a wage, then discovered
>a few months down the road that someone that does an inferior job
>(by my estimation and management's appraisals) was hired on at - and
>was continuing to make - significantly more than what I was making.
>So no, not greed exactly. I just don't want to repeat that sort of
>rude slap in the face through naivety.
>
>
>> Having said that I'd guess that as you've left school and it's an
>> admin job I'd go for about GB�20K which would be about US$30K which
>> works out at about ....oh dear, US$10.27/hr. Perhaps I have my sums
>> wrong.
>
>Doing some quick math, that works out to around $14.50/hr assuming
>$30,000 gross annual income, 40 hours a week. I was thinking low- to
>mid-thirties, but if sysadmins are routinely making $45k+ I'd feel
>like I low-balled myself (doing the same work for less pay). Hence
>my inquiry.
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.
------------------------------
From: Rawender Singh Guron <[EMAIL PROTECTED]>
Subject: Linux print spool setup - Help
Date: Mon, 06 Mar 2000 10:58:55 +1100
Linux uses BSD print spool model. Is there an option available to
use/install System V print spool on Linux?
The reason I need to use System V print spooling is that it allows
customisation of printer interface script to a point that you do not
have to 'print' something and you can use a print queue to serialize
access to a resource and that resource does not necessarily have to be a
printer device. Whereas BSD print spool mechanism does not allow this
flexibility. In BSD, you can use your own filter scripts but lpd will
make sure that it cats to a printer device.
Can please someone let me know if I can configure Syetm V print spool
mechanism on my linux box and how?
Please email me asap.
Thanks in advance
Rawender Singh Guron
------------------------------
** 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
******************************