Re: [gentoo-user] crontab entry

2008-03-24 Thread Dirk Heinrichs
Am Montag, 24. März 2008 schrieb Kaushal Shriyan: [EMAIL PROTECTED] 0 18 * * * /home/kaushal/rsync_mysql.sh I want my subject line to be hostxx:yyDB refresh daily is there a way to do it Don't rely on cron to send the mail, use mailx inside your script instead. That means, inside the

[gentoo-user] crontab entry

2008-03-24 Thread Kaushal Shriyan
Hi I have the following entry in the crontab [EMAIL PROTECTED] 0 18 * * * /home/kaushal/rsync_mysql.sh I want my subject line to be hostxx:yyDB refresh daily is there a way to do it Thanks and Regards Kaushal

Re: [gentoo-user] crontab entry

2008-03-24 Thread Dirk Heinrichs
Am Montag, 24. März 2008 schrieb Kaushal Shriyan: On Mon, Mar 24, 2008 at 2:44 PM, Dirk Heinrichs [EMAIL PROTECTED] wrote: Am Montag, 24. März 2008 schrieb Kaushal Shriyan: [EMAIL PROTECTED] 0 18 * * * /home/kaushal/rsync_mysql.sh I want my subject line to be hostxx:yyDB refresh

Re: [gentoo-user] crontab entry

2008-03-24 Thread Kaushal Shriyan
On Mon, Mar 24, 2008 at 2:44 PM, Dirk Heinrichs [EMAIL PROTECTED] wrote: Am Montag, 24. März 2008 schrieb Kaushal Shriyan: [EMAIL PROTECTED] 0 18 * * * /home/kaushal/rsync_mysql.sh I want my subject line to be hostxx:yyDB refresh daily is there a way to do it Don't rely on cron to

Re: [gentoo-user] crontab entry

2008-03-24 Thread Kaushal Shriyan
On Mon, Mar 24, 2008 at 3:17 PM, Dirk Heinrichs [EMAIL PROTECTED] wrote: Am Montag, 24. März 2008 schrieb Kaushal Shriyan: On Mon, Mar 24, 2008 at 2:44 PM, Dirk Heinrichs [EMAIL PROTECTED] wrote: Am Montag, 24. März 2008 schrieb Kaushal Shriyan: [EMAIL PROTECTED] 0 18 * * *

Re: [gentoo-user] crontab entry

2008-03-24 Thread Collin Starkweather
Quoting Kaushal Shriyan [EMAIL PROTECTED]: so according to your suggestion where does this line fits cat /tmp/file|mailx -s my subject [EMAIL PROTECTED] [EMAIL PROTECTED] in my above bash script Dirk gave a lovely one-liner, but my guess is you'll get sick of having to actually check the

Re: [gentoo-user] crontab entry

2008-03-24 Thread Dirk Heinrichs
Am Montag, 24. März 2008 schrieb Kaushal Shriyan: So the Final script looks like Is it the final script :-) ? #!/bin/bash #rsync mysql database shell script #author kaushal #bash script file name rsync_mysql.sh #created on 24/03/2008 TIMESTAMP=`date +%Y-%m-%d-%H:%M:%S:%N` if

Re: [gentoo-user] crontab entry

2008-03-24 Thread Peter Humphrey
On Monday 24 March 2008 10:19:25 Collin Starkweather wrote: ... you left a '' out of your rsync call. It's fixed below. His version is exactly the same as yours, apart from layout. I suggest that the '' at the beginning of a line has confused your mail reader. -- Rgds Peter --

Re: [gentoo-user] crontab entry

2008-03-24 Thread Kaushal Shriyan
On Mon, Mar 24, 2008 at 4:36 PM, Peter Humphrey [EMAIL PROTECTED] wrote: On Monday 24 March 2008 10:19:25 Collin Starkweather wrote: ... you left a '' out of your rsync call. It's fixed below. His version is exactly the same as yours, apart from layout. I suggest that the '' at the

Re: [gentoo-user] crontab entry

2008-03-24 Thread Uwe Thiem
On Monday 24 March 2008, Kaushal Shriyan wrote: On Mon, Mar 24, 2008 at 4:36 PM, Peter Humphrey [EMAIL PROTECTED] wrote: On Monday 24 March 2008 10:19:25 Collin Starkweather wrote: ... you left a '' out of your rsync call. It's fixed below. His version is exactly the same as yours,

[gentoo-user] Error emerging gtk+ Pango not found (expat issue or not?)

2008-03-24 Thread Patrick Holthaus
Hi Gentooers! I don't know if I am facing the expat issue or not. gtk fails with the following error message: checking Pango flags... -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12

[gentoo-user] Bug in server_test.c

2008-03-24 Thread Grant Edwards
There appears to be a bug in server_test.c: ecos-opt/net/net/common/current/tests/server_test.c 94 95 #ifdef CYGPKG_LIBC_STDIO 96 sprintf(buf, Hello %s:%d\n, inet_ntoa(client_addr.sin_addr), ntohs(client_addr.sin_port)); 97 #else 98

Re: [gentoo-user] HELP! partition table is corrupted

2008-03-24 Thread Enrico Weigelt
* Florian Philipp [EMAIL PROTECTED] wrote: Try testdisk. It's ncurses-based and easy to use. It saved my sorry arse twice. ACK. If *just* the partition table is lost, but no damage inside the individual partitions, testdisk can easily reconstruct it but looking for superblocks (even w/ FAT).

Re: [gentoo-user] crontab entry

2008-03-24 Thread Mike Edenfield
Kaushal Shriyan wrote: Hi I have the following entry in the crontab [EMAIL PROTECTED] 0 18 * * * /home/kaushal/rsync_mysql.sh I want my subject line to be hostxx:yyDB refresh daily is there a way to do it Thanks and Regards Kaushal The easiest way is to write a wrapper script; I have a

Re: [gentoo-user] HELP! partition table is corrupted

2008-03-24 Thread Enrico Weigelt
* Stroller [EMAIL PROTECTED] wrote: - is the photorec able to search data in this partition table corruption level? Read the tool's homepage. But I'm pretty sure it just looks at the bits on the drive and saves any collection of said bits which match specification for a jpeg, doc c

[gentoo-user] Re: Bug in server_test.c

2008-03-24 Thread Grant Edwards
Oops. Wrong group... On 2008-03-24, Grant Edwards [EMAIL PROTECTED] wrote: There appears to be a bug in server_test.c: ecos-opt/net/net/common/current/tests/server_test.c -- Grant -- gentoo-user@lists.gentoo.org mailing list

[gentoo-user] defect management block device

2008-03-24 Thread Enrico Weigelt
Hi folks, does anyone know an (virtual) block device which can do automatic defect management (if the underlying disks have badblocks) ? My idea goes like this: * one or more devices are assigned to one block device * a bunch of spare blocks are reserved for defect management (so the

Re: [gentoo-user] AMD vs. Intel on Gentoo?

2008-03-24 Thread Enrico Weigelt
Hi folks, from an typical SME view (mostly workstation and fileservers) I don't really see an performance difference worth thinking of (as already stated, there're lot's of other bottlenecks, like storage IO). AMD tends to win this battle by price, but Intel tends to be a bit more rubust: I'm

[gentoo-user] 1/2 OT: What Linux could learn from mainframes ?

2008-03-24 Thread Enrico Weigelt
Hi folks, after reading several articles about Mainframes and similar archs (even ancient ones like B7000), I wonder if Linux world could learn something from there. One very interesting point (IMHO) is the storage abstraction. AFAIK, Mainframes work on one large virtual memory (disks for

Re: [gentoo-user] Error emerging gtk+ Pango not found (expat issue or not?)

2008-03-24 Thread Enrico Weigelt
* Patrick Holthaus [EMAIL PROTECTED] wrote: Hi Gentooers! I don't know if I am facing the expat issue or not. gtk fails with the following error message: checking Pango flags... -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo

Re: [gentoo-user] 1/2 OT: What Linux could learn from mainframes ?

2008-03-24 Thread Chris Frederick
Enrico Weigelt wrote: Hi folks, after reading several articles about Mainframes and similar archs (even ancient ones like B7000), I wonder if Linux world could learn something from there. One very interesting point (IMHO) is the storage abstraction. AFAIK, Mainframes work on one large

Re: [gentoo-user] 1/2 OT: What Linux could learn from mainframes ?

2008-03-24 Thread Albert Hopkins
On Mon, 2008-03-24 at 16:03 +0100, Enrico Weigelt wrote: Hi folks, after reading several articles about Mainframes and similar archs (even ancient ones like B7000), I wonder if Linux world could learn something from there. One very interesting point (IMHO) is the storage abstraction.

Re: [gentoo-user] Error emerging gtk+ Pango not found (expat issue or not?)

2008-03-24 Thread Patrick Holthaus
Hi! What does config.out say about this ? There is no config.out in /var/tmp/portage. You can find build.log and config.log here: http://big.homeftp.net/~pholthau/ Tell me if you need other files aswell. Patrick -- gentoo-user@lists.gentoo.org mailing list

Re: [gentoo-user] crontab entry

2008-03-24 Thread Kaushal Shriyan
On Mon, Mar 24, 2008 at 7:59 PM, Mike Edenfield [EMAIL PROTECTED] wrote: Kaushal Shriyan wrote: Hi I have the following entry in the crontab [EMAIL PROTECTED] 0 18 * * * /home/kaushal/rsync_mysql.sh I want my subject line to be hostxx:yyDB refresh daily is there a way to do it

Re: [gentoo-user] 1/2 OT: What Linux could learn from mainframes ?

2008-03-24 Thread Alan McKinnon
On Monday 24 March 2008, Enrico Weigelt wrote: Hi folks, after reading several articles about Mainframes and similar archs (even ancient ones like B7000), I wonder if Linux world could learn something from there. One very interesting point (IMHO) is the storage abstraction. AFAIK,

Re: [gentoo-user] defect management block device

2008-03-24 Thread Alan McKinnon
On Monday 24 March 2008, Enrico Weigelt wrote: Hi folks, does anyone know an (virtual) block device which can do automatic defect management (if the underlying disks have badblocks) ? My idea goes like this: * one or more devices are assigned to one block device * a bunch of spare blocks

[gentoo-user] iwl4965 performance

2008-03-24 Thread Thomas Kahle
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I am using the iwl4965 driver which is included in the kernel 2.6.25-rc6. Everything works fine (Networkmanager, WPA2, etc.) The only thing I experience is a very bad performance. I cannot get more than around 30 kb/s. Also the responses are

Re: [gentoo-user] 1/2 OT: What Linux could learn from mainframes ?

2008-03-24 Thread Roy Wright
Alan McKinnon wrote: On Monday 24 March 2008, Enrico Weigelt wrote: One very interesting point (IMHO) is the storage abstraction. [snip] I'm currently planning to implement an similar approach for Linux (at least virtual block devices). You might want to check out Plan 9 from Bell

Re: [gentoo-user] crontab entry

2008-03-24 Thread Kaushal Shriyan
On Mon, Mar 24, 2008 at 9:13 PM, Kaushal Shriyan [EMAIL PROTECTED] wrote: On Mon, Mar 24, 2008 at 7:59 PM, Mike Edenfield [EMAIL PROTECTED] wrote: Kaushal Shriyan wrote: Hi I have the following entry in the crontab [EMAIL PROTECTED] 0 18 * * * /home/kaushal/rsync_mysql.sh I

Re: [gentoo-user] defect management block device

2008-03-24 Thread Eric Martin
Alan McKinnon wrote: On Monday 24 March 2008, Enrico Weigelt wrote: does anyone know an (virtual) block device which can do automatic defect management (if the underlying disks have badblocks) ? My idea goes like this: * one or more devices are assigned to one block device * a bunch of

[gentoo-user] Recovering root password

2008-03-24 Thread Grant
I've revived an old Gentoo laptop, but I've forgotten the root password. I remember the password to my user account and I can log in there fine. Can I recover the root password? - Grant -- gentoo-user@lists.gentoo.org mailing list

Re: [gentoo-user] Recovering root password

2008-03-24 Thread Boris Fersing
On Mon, Mar 24, 2008 at 4:30 PM, Grant [EMAIL PROTECTED] wrote: I've revived an old Gentoo laptop, but I've forgotten the root password. I remember the password to my user account and I can log in there fine. Can I recover the root password? - Grant Hi, boot with a liveCD, mount the

Re: [gentoo-user] Recovering root password

2008-03-24 Thread Dale
Grant wrote: I've revived an old Gentoo laptop, but I've forgotten the root password. I remember the password to my user account and I can log in there fine. Can I recover the root password? - Grant I think you can boot into single user mode and reset it. You have to put it on the end

Re: [gentoo-user] Recovering root password

2008-03-24 Thread Ricardo Saffi Marques
On Mon, Mar 24, 2008 at 5:30 PM, Grant [EMAIL PROTECTED] wrote: I've revived an old Gentoo laptop, but I've forgotten the root password. I remember the password to my user account and I can log in there fine. Can I recover the root password? On the grub menu, edit the entry of the system

Re: [gentoo-user] Recovering root password

2008-03-24 Thread Alan McKinnon
On Monday 24 March 2008, Grant wrote: I've revived an old Gentoo laptop, but I've forgotten the root password. I remember the password to my user account and I can log in there fine. Can I recover the root password? No, that would require undoing high-quality encryption schemes. Which is a

Re: [gentoo-user] Recovering root password

2008-03-24 Thread Steven Lembark
On the grub menu, edit the entry of the system you want to boot and on the kernel line, add init=/bin/bash without the quotes. Boot that modded boot instructions sequence. After kernel loads, you'll have a bash. Type: mount -o rw,remount / Make sure that your bash is statically linked,

Re: [gentoo-user] defect management block device

2008-03-24 Thread Alan McKinnon
On Monday 24 March 2008, Eric Martin wrote: Just a thought, maybe you know some aspect of disks that I don't and can see where this would be useful. From where I sit, I can;t see any such use-case.   While I see what Alan is saying, I'm pretty sure LVM does it.  Device Drivers -

Re: [gentoo-user] Recovering root password

2008-03-24 Thread Ricardo Saffi Marques
On Mon, Mar 24, 2008 at 5:45 PM, Steven Lembark [EMAIL PROTECTED] wrote: It's acutally a good idea to keep a static bash and just put this into grub as the 'shell-init' or 'rgh' entry (it's in their example config). That's what I do, at least. ;) I have that boot entry for cases like that

Re: [gentoo-user] Recovering root password

2008-03-24 Thread Florian Philipp
On Mon, 2008-03-24 at 15:39 -0500, Dale wrote: Grant wrote: I've revived an old Gentoo laptop, but I've forgotten the root password. I remember the password to my user account and I can log in there fine. Can I recover the root password? - Grant I think you can boot into

Re: [gentoo-user] Recovering root password

2008-03-24 Thread Neil Bothwick
On Mon, 24 Mar 2008 17:40:13 -0300, Ricardo Saffi Marques wrote: On the grub menu, edit the entry of the system you want to boot and on the kernel line, add init=/bin/bash without the quotes. Boot that modded boot instructions sequence. After kernel loads, you'll have a bash. Type: mount -o

[gentoo-user] Linux Motherboard

2008-03-24 Thread Nicola Degl'Innocenti
Hi! I would like to buy a new pc, but since I use linux more than windows (that i use only for gaming), I am interested in hardware compatibility with linux. I'm planing to buy a core 2 Duo platform with a nvidia 8800 GT, but i am very confused about the motherboard. The cheapest shop vendor

Re: [gentoo-user] Linux Motherboard

2008-03-24 Thread Neil Walker
Nicola Degl'Innocenti wrote: Hi! I would like to buy a new pc, but since I use linux more than windows (that i use only for gaming), I am interested in hardware compatibility with linux. I'm planing to buy a core 2 Duo platform with a nvidia 8800 GT, but i am very confused about the

Re: [gentoo-user] Recovering root password

2008-03-24 Thread Steven Lembark
It's probably better to use a shell designed for rescue work, like sash or busybox instead of bash, especially if /usr is on a separate filesystem. The statically linked bash acutally works rather well for this. The main advantage I've found using it for recovery situations is that I'm used

Re: [gentoo-user] Recovering root password

2008-03-24 Thread Grant
I've revived an old Gentoo laptop, but I've forgotten the root password. I remember the password to my user account and I can log in there fine. Can I recover the root password? On the grub menu, edit the entry of the system you want to boot and on the kernel line, add init=/bin/bash

Re: [gentoo-user] Error emerging gtk+ Pango not found (expat issue or not?)

2008-03-24 Thread Enrico Weigelt
* Patrick Holthaus [EMAIL PROTECTED] wrote: What does config.out say about this ? There is no config.out in /var/tmp/portage. You can find build.log and config.log here: yeah, I meant config.log ;-o ... and it clearly tells what's wrong. cairo's obviously built w/ GL, and your GL library

[gentoo-user] Qmail and Domainkeys

2008-03-24 Thread Jason Carson
Greetings, Has anyone on the list got qmail to work with domainkeys, if so how? Thanks Jason -- gentoo-user@lists.gentoo.org mailing list

Re: [gentoo-user] defect management block device

2008-03-24 Thread Enrico Weigelt
* Alan McKinnon [EMAIL PROTECTED] wrote: If SMART (or something conceptually similar) detects that a drive might be failing and be beyond the range of the drive's ability to cope, it could raise an event and move the blocks used to another disk. And it even would get funnier if the drive's

Re: [gentoo-user] 1/2 OT: What Linux could learn from mainframes ?

2008-03-24 Thread Enrico Weigelt
* Chris Frederick [EMAIL PROTECTED] wrote: Check out LVM (Logical Volume Manager) http://tldp.org/HOWTO/LVM-HOWTO/ http://www.gentoo.org/doc/en/lvm2.xml Yes, at least for the storage stuff, LVM2 can do much of this. But my ideas go some steps futher, eg: * mapping blocks instead of larger

Re: [gentoo-user] Qmail and Domainkeys

2008-03-24 Thread Jason Carson
I found this ( http://forums.gentoo.org/viewtopic-t-665798.html ) so I will give that a try. Greetings, Has anyone on the list got qmail to work with domainkeys, if so how? Thanks Jason -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list

Re: [gentoo-user] Recovering root password

2008-03-24 Thread Uwe Thiem
On Monday 24 March 2008, Grant wrote: I've revived an old Gentoo laptop, but I've forgotten the root password. I remember the password to my user account and I can log in there fine. Can I recover the root password? If you could passwords were useless. ;-) But you can boot from a LiveCD,