Quick question: why does crontab not work

2000-04-07 Thread gnielson
I am trying to figure out why crontab for root under my Redhat 6.0 isn't working, but it's working fine for my home directory. I have an entry: 0 8 * * * /usr/local/bin/perl /home/gnielson/bin/program.pl and I have run crontab crontab on that file several times and it is not ru

Perl question comparing lastModified time to now

2000-03-05 Thread gnielson
Hi there: I am trying to figure out a way to test a file with perl to find out when it was lat modified and if that was within the last minute, do something, otherwise exit. I've gotten as far as this: $file='filename.txt'; $lastModified = printf "%f", -M $file; which gives me a number such as

Re: A script to update web site?

2000-02-18 Thread gnielson
Is there a program or script that will monitor a directory on machine A and whenever a file is modified or added to that directory, automatically kick in and invoke an ftp program to move up the new and changed files to machine B? Gary On Tue, 15 Feb 2000, Glen Lee Edwards wrote: > Date: Tue, 1

Advice needed on upgrading system

1999-12-26 Thread gnielson
I have a Pentium 200 that's about 3 1/2 years old, 2 gig hard drive, 32 megs of RAM, running Redhat 5.0. I want to add more memory and a couple of more big IDE drives. I would like to add the 2nd and 3rd drives and install Redhat 6.1 on the 2nd drive. I would like to then boot from the 2nd drive

Help diagnosing I/0 error and system crash

1999-12-14 Thread gnielson
03:0b, sector 10 Dec 14 09:04:31 localhost kernel: EXT2-fs error (device 03:0b): ext2_write_inode: unable t o read inode block - inode=2, block=5 Dec 14 09:05:01 localhost PAM_pwdb[9494]: (su) session opened for user root by gnielson(ui d=0) -- To unsubscribe: mail [EMAIL PROTECTED] with "u

Re: Pump only for Redhat 6?

1999-12-13 Thread gnielson
libslang.so.1 Of course, I also need to download initscripts. At rmpfind.net it says for RedHat version 6.1. Am I right in assuming that if I install these two packages I do not have, the version of pump I've downloaded will run on my RedHat 5 machine? Gary On Sun, 12 Dec 1999, gnielson wrote: &

Re: E-commerce for Linux

1999-12-13 Thread gnielson
Yes, minivend is the most powerful and it's free. It can be hard to set up and is not for the newbie. I've worked with several shopping cart programs, and one that is easy to set up and stacked with features is at http://www.dansie.net -- and the author provides the best technical support I've eve

Thanks to all for their help on PPP problems

1999-12-12 Thread gnielson
Thank you all so much for bearing with me this weekend as I tried to get my new ppp account working. I also posted a note on the linux networking newsgroup, and some kind soul sent a critique of my scripts that fixed the problem. I want to share it with you now, just in case you've been wrestling

PPP failure: "Incorrect service type"

1999-12-12 Thread gnielson
Mmm, well, I have been spending many hours this weekend trying to get ppp to work with my ISP's new setup, with no success. I solved some problems, but still, no connection. I then downloaded WVDIAL, which at least gives me more information as to the failure. What does "Incorrect service type" mea

Pump only for Redhat 6

1999-12-12 Thread gnielson
I am looking to install a cable modem and need Pump v. 0.7.0. The errata says the relevant releases are Rehat 6.0/all architectures. I am running RedHat 5.0. Will pump work with 5? -- To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.

HELP! PPP login failure with Realm Authentication

1999-12-10 Thread gnielson
I posted a previous message and have since tried to get PPP working with my ISP's new "Realm Authentication" login procedure, which requires a new login, and DNS settings. I think I almost have it working. But the /var/log/messages file shows the error "Receive serial link is not 8-bit clean: Pro

Quick PPP re-configuration question

1999-12-10 Thread gnielson
My ISP isswitching its login procedure to "Realm Authentication" which means I have to change my login name, telephone number and DNS settings. Here's my question. It's been a couple of years since I last configured PPP and the PPP howto docs say you should include the primary and secondary DNS se

DSL and dynamic IP advice

1999-12-07 Thread gnielson
Can anyone share their experience or point me to information on how to set up DSL for Redhat Linux 5.0? I don't have a network card, so what network card do you recommend? What settings must I change to get it to work? I use dialup ppp access now. Also, I use www.dynip.com to dynamicall

Tape or tape drive problem

1999-11-29 Thread gnielson
I am trying to figure out what might be happening with my tapes and tape drive. The symptoms are such that I can not tell if it is the tapes or the drive itself. Every week I tar up several directories to tape, an HP SureStore Tape 2000. Routinely, I restore a file or two to make sure the backups

Help with perl next if loop problem

1999-11-22 Thread gnielson
I am trying to write a perl script that will read a number from a file, use that as a counter, and only print out lines above that counter number. So if the number is 5 and the file is 10 lines, only the last 5 lines would be printed. The problem is when it prints out it misses one line, so inste

Tar error explanation

1999-11-21 Thread gnielson
I back up specific directories to DAT tape using tar: tar cvfp /dev/rst0 /home /etc /usr/local /usr/src /extra/storage Today, I noticed when reviewing my latest backup, the following error: tar: Error exit delayed from previous errors right after backing up the last file I placed in the last

Script to convert pipe delimited to comma delimited

1999-11-21 Thread gnielson
Hi everyone: Would anyone mind sharing a script if they have one on converting pipe delimited ascii data files to comma delimited as in: from Gary|Gary|Address|City|State to "Gary","Gary","Address","City","State" I could use a simple perl command to change every pipe to "," but that does not

Help with sorting fields in a database

1999-11-13 Thread gnielson
Hi, I have an ascii data file, using | as the field separator, and I want to be able to sort that file's 5th field, the price field, in descending order from highest to lowest price. I can not seem to get the sort command to accept the | field separator. I get the error: option '-t' requires an