Re: [SLUG] Re: Insert text at the beginning of a file

2004-12-15 Thread Dan Treacy
[EMAIL PROTECTED] wrote: Ouch a problem begging for perl as a solution! James Probably, but seeing as though my shell skills are half a step above totally crap and my perl skills are 4 steps below shell it is :-) And thanks everyone for your suggestions I haven't had a chance to test any of

Re: [SLUG] Re: Insert text at the beginning of a file

2004-12-15 Thread Daniel Bush
Dan Treacy wrote: [EMAIL PROTECTED] wrote: Ouch a problem begging for perl as a solution! James Probably, but seeing as though my shell skills are half a step above totally crap and my perl skills are 4 steps below shell it is :-) And thanks everyone for your suggestions I haven't had a chance

[SLUG] Re: your unsubscribe request

2004-12-15 Thread Lyris ListManager
As you requested, you have been unsubscribed from 'linux-mag-news'. --- Return-Path: [EMAIL PROTECTED] Return-Path: [EMAIL PROTECTED] Return-Path: [EMAIL PROTECTED] Received: from mx4.lyris.net ([64.62.197.188]) by sand.lyris.net with SMTP (Lyris ListManager WIN32 version 5.1); Wed, 15 Dec 2004

[SLUG] Dude- what happened to my yum!

2004-12-15 Thread Linley Caetan
running yum update: [EMAIL PROTECTED] linley]# yum update Gathering header information file(s) from server(s) Server: Fedora Core 2 - i386 - Base Server: Fedora Core 1 Dag Wieers' repository retrygrab() failed for: http://apt.sw.be/redhat/fc2/en/i386/dag/headers/header.info Executing failover

[SLUG] Fedora Core 3 Apache 2.0.52

2004-12-15 Thread Howard Lowndes
I can't get apache to read my /var/www/html/index.html file. The log complains about: (13)Permission denied: access to /index.html denied and presents the default Test Page instead. Another thing, when Apache starts, it also complains that my virtual site DocumentRoot doesn't exist. It is _not_

Re: [SLUG] Fedora Core 3 Apache 2.0.52

2004-12-15 Thread O Plameras
Howard Lowndes wrote: I can't get apache to read my /var/www/html/index.html file. The log complains about: (13)Permission denied: access to /index.html denied and presents the default Test Page instead. Another thing, when Apache starts, it also complains that my virtual site DocumentRoot

Re: [SLUG] Fedora Core 3 Apache 2.0.52

2004-12-15 Thread Howard Lowndes
On Thu, 2004-12-16 at 09:32, O Plameras wrote: Howard Lowndes wrote: I can't get apache to read my /var/www/html/index.html file. The log complains about: (13)Permission denied: access to /index.html denied and presents the default Test Page instead. Another thing, when Apache starts,

Re: [SLUG] Fedora Core 3 Apache 2.0.52

2004-12-15 Thread Howard Lowndes
On Thu, 2004-12-16 at 09:44, Howard Lowndes wrote: I'll hold on that. It looks like a SELinux issue, which I am currently working on. http://lwn.net/Articles/105409/ Yep, that was it. Once I disabled SELinux then it all worked. Mind you, disabling SELinux is definitely _not_ a Good Idea

Re: [SLUG] Fedora Core 3 Apache 2.0.52

2004-12-15 Thread O Plameras
Howard Lowndes wrote: Mind you, disabling SELinux is definitely _not_ a Good Idea (tm), but frankly I found the LWN srticle difficult to read and understand and I would dearly like to find a Dummies Guide(tm) to understanding the concept of contexts in SEL. The article refers to altered versions

Re: [SLUG] Dude- what happened to my yum!

2004-12-15 Thread i386
Dude this is because http://apt.sw.be/redhat/fc2/en/i386/dag/headers/header.info does not exist on the server. Chances are the path has changed (so go look up the new path) running yum update: [EMAIL PROTECTED] linley]# yum update Gathering header information file(s) from server(s) Server:

Re: [SLUG] Dude- what happened to my yum!

2004-12-15 Thread mlh
btw, livna and freshrpms/dag/apt are not necessarily compatible -- look out. http://dag.wieers.com/home-made/apt/FAQ.php#D I also note that you don't gpgcheck dag repos. Oh! -- Matt -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and

[SLUG] Find weirdo

2004-12-15 Thread Terry Collins
Can someone explain this? [EMAIL PROTECTED]:/spam-hold/spam-hold$ find /spam -name smtpdAB* -print %p find: paths must precede expression Usage: find [path...] [expression] [EMAIL PROTECTED]:/spam-hold/spam-hold$ find /spam -name smtpdAB* -print `%p' [EMAIL

Re: [SLUG] Find weirdo

2004-12-15 Thread Benno
On Thu Dec 16, 2004 at 13:21:03 +1100, Terry Collins wrote: Can someone explain this? [EMAIL PROTECTED]:/spam-hold/spam-hold$ find /spam -name smtpdAB* -print %p find: paths must precede expression Usage: find [path...] [expression] [EMAIL PROTECTED]:/spam-hold/spam-hold$ find /spam

Re: [SLUG] Find weirdo

2004-12-15 Thread Peter Rundle
Terry Collins wrote: Can someone explain this? [EMAIL PROTECTED]:/spam-hold/spam-hold$ find /spam -name smtpdAB* -print %p find: paths must precede expression Usage: find [path...] [expression] find /spam -name 'smtpdAB*' -print The shell is expanding the * before calling find. * means all

Re: [SLUG] Find weirdo

2004-12-15 Thread Jan Schmidt
quote who=Terry Collins Can someone explain this? [EMAIL PROTECTED]:/spam-hold/spam-hold$ find /spam -name smtpdAB* -print %p The problem is your escaping of smtpdAB* - as it is, the expression will be expanded by the caller and find will actually receive a list of matching files/dirs

Re: [SLUG] Find weirdo

2004-12-15 Thread Michael Fox
On Thu, 16 Dec 2004 13:21:03 +1100, Terry Collins [EMAIL PROTECTED] wrote: Can someone explain this? [EMAIL PROTECTED]:/spam-hold/spam-hold$ find /spam -name smtpdAB* -print %p Does this mean you have some saved spam? Any chance of organising you to inject that back to a email address of

[SLUG] Re: Insert text at the beginning of a file

2004-12-15 Thread jam
Ouch a problem begging for perl as a solution! James On Wed, 2004-12-15 at 03:01 +1100, Dan Treacy wrote: I have a text file that I'm trying to update from a shell script but the information needs to be inserted at the beginning of the file. I have a couple of ways to do this that

Re: [SLUG] Swap speed

2004-12-15 Thread Mike MacCana
Lyle Chapman wrote: Has anyone got any ideas on how to speed up a swap space/drive, Buy more RAM, it's cheap. Failing that, use the fastest part of the disk for the swap partition - that's the outer edge, or the first few sectors. I have a 3ghz, 2gb ram, 2gb swap on ata machine running FC3. I

Re: [SLUG] RE: Netcomm np1400

2004-12-15 Thread Alexander Samad
hi pppoa is ppp over atm pppoe is ppp over ethernet the former is usually only atainable when the adsl modem is a pci card. the later is usuall what you get when the interface between the modem and the computer is ethernet Both only apply when the modem is in bridged mode A On Wed, Dec 15,

Re: [SLUG] RE: Netcomm np1400

2004-12-15 Thread Alexander Samad
wild guess but do you have a cross over cable between the 2 ? every time you try and tx you get a carrier error ! A On Wed, Dec 15, 2004 at 03:37:03PM +0930, Alan Millsted wrote: Ok, I have done that and allthough I haven't fired up the modem yey I can't see eth0 192.168.0.254 from anywhere.

Re: [SLUG] Swap speed

2004-12-15 Thread Ben de Luca
I would suggest that you have more than enough ram on your machine to be doing what you need to be doing. Some other people have mentioned to check that hi mem support is enabled which is important to check too. What 3d app are you running? I haven't seen any scene in my years of working

Re: [SLUG] Find weirdo

2004-12-15 Thread scott
[EMAIL PROTECTED] wrote on 16/12/2004 01:21:03 PM: Can someone explain this? [EMAIL PROTECTED]:/spam-hold/spam-hold$ find /spam -name smtpdAB* -print %p find: paths must precede expression Usage: find [path...] [expression] [EMAIL PROTECTED]:/spam-hold/spam-hold$ find /spam