Re: [gentoo-user] File replication

2006-08-28 Thread Stephen Liu
Hi Rumen,

Tks for your advice.

 Not very sure that's what you want, but check: sys-cluster/drbd.
 Description: mirror/replicate block-devices across a
 network-connection (requires a network connection though).

sync+cron can do the job, incremental-copying files from /home/user on
to /mnt/USB_enclosure/user at fixed time, periodically.  I'm now
searching for examples of sync and cron scripts to have a concept how
to start writing such scripts

B.R.
SL

-- 
gentoo-user@gentoo.org mailing list




Re: [gentoo-user] OpenOffice.org Build Failure: libpython: Missing Symbol Deflate

2006-08-28 Thread Neil Hodges
On 17:31 Sun 27 Aug , Richard Fish wrote:
 On 8/27/06, Neil Hodges [EMAIL PROTECTED] wrote:
 Hello again,
 
 These are all libpython is linked against:
   linux-gate.so.1 =  (0xe000)
   libpthread.so.0 = /lib/libpthread.so.0 (0xb7e7f000)
   libdl.so.2 = /lib/libdl.so.2 (0xb7e7b000)
   libutil.so.1 = /lib/libutil.so.1 (0xb7e77000)
   libm.so.6 = /lib/libm.so.6 (0xb7e52000)
   libc.so.6 = /lib/libc.so.6 (0xb7d33000)
   /lib/ld-linux.so.2 (0x8000)
 
 Ok, then I have nfc why you get references to deflate in your
 libpython.  Emerge --info and emerge -pv python output might be
 illuminating.
 
 -Richard
 
 PS. please don't top-post.
 -- 
 gentoo-user@gentoo.org mailing list
Hello,

Here is the information.

- Neil
== emerge --info ==
Gentoo Base System version 1.12.4
Portage 2.1.1_rc1-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, 
glibc-2.4-r3, 2.6.17-suspend2-r4 i686)
=
System uname: 2.6.17-suspend2-r4 i686 Intel(R) Celeron(R) M processor 
1.50GHz
Last Sync: Sun, 27 Aug 2006 20:20:01 +
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python: 2.4.3-r2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS=x86 ~x86
AUTOCLEAN=yes
CBUILD=i686-pc-linux-gnu
CFLAGS=-O3 -march=pentium-m -pipe -mmmx -msse -msse2 -mfpmath=sse
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/3.5/env /usr/kde/3.5/share/config 
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config
CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/eselect/compiler 
/etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo 
/etc/texmf/web2c
CXXFLAGS=-O3 -march=pentium-m -pipe -mmmx -msse -msse2 -mfpmath=sse
DISTDIR=/usr/portage/distfiles
FEATURES=autoconfig distlocks fixpackages metadata-transfer sandbox sfperms 
strict
GENTOO_MIRRORS=http://gentoo.osuosl.org/ 
ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ 
http://distro.ibiblio.org/pub/linux/distributions/gentoo/ 
ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo 
ftp://mirror.iawnet.sandia.gov/pub/gentoo/ 
ftp://ftp.ussg.iu.edu/pub/linux/gentoo 
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ 
http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.seren.com/gentoo 
http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ 
http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ 
ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo 
ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net 
ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ 
http://mirror.espri.arizona.edu/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ 
ftp://ftp.ndlug.nd.edu/pub/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo 
http://gentoo.llarian.net/;
LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8
LINGUAS=en ja
MAKEOPTS=-j3
PKGDIR=/usr/portage/packages
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --delete-after --stats --timeout=180 
--exclude='/distfiles' --exclude='/local' --exclude='/packages'
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=/usr/portage/local/layman/portage-xgl 
/usr/portage/local/layman/zugaina /usr/local/portage 
/usr/local/overlays/xfce4-svn
SYNC=rsync://rsync.namerica.gentoo.org/gentoo-portage
USE=x86 X aac acpi aim alsa apache2 arts artswrappersuid artworkextra asf avi 
berkdb bidi bitmap-fonts branding browserplugin bzip2 cairo cdparanoia cdr cjk 
cli crypt cscope css cups dbus dhcpi directfb dlloader dri dts dv dvd dvdnav 
dvdr dvdread dvi eds elibc_glibc emboss encode esd evo exif exo expat fam fbcon 
ffmpeg firefox flac foomaticdb fortran ftp gcj gdbm gecko-sdk gif gimp 
gimpprint glitz glut gnutls gphoto2 gpm grammar graphviz gstreamer gstreamer010 
gtk gtk2 gtkhtml hal ieee1394 imagemagick imlib immqt-bc input_devices_keyboard 
input_devices_mouse input_devices_synaptics ipv6 isdnlog jabber java javascript 
jbig jpeg jpeg2k kde kdeenablefinal kdexdeltas kernel_linux kqemu ldap libg++ 
libgda libnotify libsexy libvisual libwww linguas_en linguas_ja logrotate mad 
madwifi math matroska mbox mikmod mmx mmx2 mmxext mono motif mozilla 
moznocompose moznomail mozsvg mp3 mpeg msn musepack musicbrainz nautilus 
ncurses nls noamazon nptl nptlonly nsplugin ogg openal opengl ope!
 nldap oss pam panel-plugin pcmcia pcre pdf pdflib pear pecl perl png ppds pppd 
python qt qt3 qt4 qtimm quicktime readline real reflection rle scanner scim 
script sdl session simplexml spell spl sse sse2 sseext ssl startup-notification 
stencil-buffer svg svga symlink t1lib tagwriting tcl tcltk tcpd theora 
thesaurus threads thunar thunar-vfs tiff 

[gentoo-user] myhostname and mydomain in /etc/postfix/main.cf on a vhost

2006-08-28 Thread Noack, Sebastian
Hi,

I'm currently setting up a mail server according to
http://www.gentoo.org/doc/en/virt-mail-howto.xml and I don't understand
Code Listing 2.2.

myhostname = $host.domain.name
mydomain = $domain.name

If this suppose to be a configuration for virtual hosts, than I don't
have a specific hostname or domain. I just have hostnames which are also
the domains for each virtual host. But they do I already specify
according to Code Listing 10.9 in the virtual_mailbox_domains variable
in /etc/postfix/main.cf.

Can maybe somebody help me with this configuration?

Regards
Sebastian Noack

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] {OT} Mplayer can't play DVDs

2006-08-28 Thread Uwe Thiem
On 27 August 2006 21:22, Grant wrote:

 It's a Dell laptop that's a couple years old.  I don't like gmplayer
 either.  Is there any other way to use mplayer separate from the
 command line to play DVDs?

No idea about the GNOME world but there is kmplayer for KDE.

For DVDs, I use kmplayer, mplayer or kaffeine - whatever works best. Except 
for DVDs home brewed on Windows systems that actually to not meet the specs 
of a video DVD, I have no problems playing them. And even most of those 
non-standard DVDs play.

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] File replication

2006-08-28 Thread Stephen Liu
Hi Roger,

Tks for your advice.

 If you want to synchronize (i.e.
 update
 to the latest version, no matter where it is), try unison.

Whether you suggested;
Unison
File Synchronizer
http://www.cis.upenn.edu/~bcpierce/unison/

I'm trying to find out whether real time synchronization is possible,

Tks.

B.R.
SL
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] openldap: taking too much of time to authenticate

2006-08-28 Thread Marc Blumentritt
bijayant kumar schrieb:
 Hi,
I have installed openldap on my gentoo-linux . My purpose is to use 
 LDAP server for login authentication using PAM. slapd  is running fine. 
 ldapsearch command is also running fine. But the problem is, it takes too 
 much time to authenticate the user. My local system is server as well as the 
 client. Please help me.  I followed  step by step  
 http://www.gentoo.org/doc/en/ldap-howto.xml#doc_chap2

[...]
 
 access to *
 by dn=uid=root,ou=people,dc=kavach,dc=blr write
 by users read
 by anonymous auth
 
 access to attrs=userPassword,gecos,description,loginShell
 by self write

Your first access rule makes your second one obsolete, because * is for
everything. Therefore your second rule will never jump in. Take always
the rule with * as your last access rule.


 My  /etc/pam.d/system-auth  :--
 
 authrequired  /lib/security/pam_env.so
 authsufficient/lib/security/pam_unix.so likeauth nullok
 authsufficient/lib/security/pam_ldap.so use_first_pass
 authrequired  /lib/security/pam_deny.so
 
 account required  /lib/security/pam_unix.so
 account sufficient/lib/security/pam_ldap.so
 
 passwordrequired  /lib/security/pam_cracklib.so retry=3 minlen=4 
 dcredit=0 ucredit=0
 passwordsufficient/lib/security/pam_unix.so nullok use_authtok md5 
 shadow
 passwordsufficient/lib/security/pam_ldap.so use_authtok
 passwordrequired  /lib/security/pam_deny.so
 
 session required  /lib/security/pam_limits.so
 session required  /lib/security/pam_unix.so
 session optional  /lib/security/pam_ldap.so

I'm no expert at all with pam rules, but your rules always have the unix
 rule before ldap rule. If you try login with a local account (not in
passwd), than perhaps you run in timeouts?

I have set up ldap on debian with the following pam rules:

auth [success=1 default=ignore] pam_unix.so nullok_secure
authrequiredpam_ldap.so use_first_pass
authrequiredpam_permit.so

account [success=1 default=ignore]  pam_unix.so
account requiredpam_ldap.so
account requiredpam_permit.so

passwordsufficient  pam_ldap.so use_first_pass use_authtok
passwordrequiredpam_unix.so nullok obscure min=4 max=8 md5

session optionalpam_ldap.so
session requiredpam_unix.so

The first rule of auth and account allows you to login even if ldap is
down: the rules check, if a local account exists; if yes jump to third
rule; if no jump to second rule.

Perhaps this can help you.

 Since my local system is also acting as a LDAP server, thats why every users 
 who are in LDAP directory, they are in my system also.
Hm, this sounds a little bit wrong. Even if your LDAP server runs on
another system, the accounts saved in it are part of your system, if you
configure it that way (which you did with /etc/nsswitch.conf and
/etc/ldap.conf). They are not automatically in it, if you do not set
these files properly (which I think you did), local ldap or not.

Regards,
Marc


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] File replication

2006-08-28 Thread Neil Bothwick
On Sun, 27 Aug 2006 23:26:57 +0800 (CST), Stephen Liu wrote:

 Where can I find similar syncing and cron script examples?  TIA

In the rsync man page.

rsync -ax ~/ /mnt/extdisk/myhome/

should do it.


-- 
Neil Bothwick

RAM = Rarely Adequate Memory


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: fstab devmode

2006-08-28 Thread Neil Bothwick
On Sun, 27 Aug 2006 18:07:59 -0600, Joseph wrote:

 It makes me wander if anybody experiment with other file systems
 (besides dos, ext2) on on memory sticks?

I put LVM on a memory stick recently, does that count?


-- 
Neil Bothwick

Beware of the opinion of someone without any facts.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: fstab devmode

2006-08-28 Thread Dirk Heinrichs
Am Montag, 28. August 2006 10:30 schrieb ext Neil Bothwick:
 On Sun, 27 Aug 2006 18:07:59 -0600, Joseph wrote:
  It makes me wander if anybody experiment with other file systems
  (besides dos, ext2) on on memory sticks?

 I put LVM on a memory stick recently, does that count?

lvmfs? Never heard of this ;-)

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.capgemini.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


pgpfUoqELVWNE.pgp
Description: PGP signature


Re: [gentoo-user] Re: fstab devmode

2006-08-28 Thread Neil Bothwick
On Mon, 28 Aug 2006 10:38:22 +0200, Dirk Heinrichs wrote:

  I put LVM on a memory stick recently, does that count?  
 
 lvmfs? Never heard of this ;-)

That's why I asked if it counted ;-)


-- 
Neil Bothwick

You are validating my inherent mistrust of strangers.


signature.asc
Description: PGP signature


Re: [gentoo-user] OpenOffice.org Build Failure: libpython: Missing Symbol Deflate

2006-08-28 Thread Richard Fish

On 8/27/06, Neil Hodges [EMAIL PROTECTED] wrote:

Hello,

Here is the information.


Ok, I think I found it.  This is similar to a problem that was fixed
last year [1], but looks like was recently re-introduced [2].  You
will probably want to watch [2], and try merging after it is resolved.
Or you can try fixing it yourself...the offending patch is
2.4.3-libdir.patch in
/usr/portage/distfiles/python-gentoo-patches-2.4.3.tar.bz2.  Given the
number of overlays you have, I assume you are familiar enough with
portage to figure this part out...but if not, feel free to ask for
more advice.

-Richard

[1] http://bugs.gentoo.org/show_bug.cgi?id=90545
[2] http://bugs.gentoo.org/show_bug.cgi?id=145242
--
gentoo-user@gentoo.org mailing list



[gentoo-user] ndiswrapper failure

2006-08-28 Thread Jean Magnan de Bornier
Hi all,

Trying to install a usb-wifi card, I'm following the howto in the forums:
http://forums.gentoo.org/viewtopic-t-364599-highlight-wifi+netgear.html

I found the right driver and installed it; now ndiswrapper -l returns:


Installed ndis drivers:
athfmwdldriver present, hardware present 


But installing ndiswrapper as module leads to errors: here's the output of
 grep loadndisdriver /var/log/syslog | most (sorry it is a bit long):


Aug 28 10:50:21 borixe loadndisdriver: loadndisdriver: add_driver_devices(392): 
adding devices for driver athfmwdl
Aug 28 10:50:21 borixe loadndisdriver: loadndisdriver: add_driver_devices(454): 
device 1385:4251:: is added
Aug 28 10:50:21 borixe loadndisdriver: loadndisdriver: add_driver_devices(459): 
total number of devices added: 1
Aug 28 10:50:21 borixe loadndisdriver: loadndisdriver: load_driver(251): 
loading driver athfmwdl
Aug 28 10:50:21 borixe kernel: ndiswrapper (wrapper_init:1523): calling 
loadndisdriver
Aug 28 10:50:21 borixe loadndisdriver: loadndisdriver: parse_setting_line(137): 
Found setting: name=NdisVersion, val=0x50001
Aug 28 10:50:21 borixe loadndisdriver: loadndisdriver: parse_setting_line(137): 
Found setting: name=Environment, val=1
Aug 28 10:50:21 borixe loadndisdriver: loadndisdriver: parse_setting_line(137): 
Found setting: name=BusType, val=0
Aug 28 10:50:21 borixe loadndisdriver: loadndisdriver: parse_setting_line(137): 
Found setting: name=mac_address, val=XX:XX:XX:XX:XX:XX
Aug 28 10:50:21 borixe loadndisdriver: loadndisdriver: parse_setting_line(137): 
Found setting: name=ndis_version, val=,10/04/2004,1.00.001
Aug 28 10:50:21 borixe kernel: Process loadndisdriver (pid: 15044, 
threadinfo=c3eb4000 task=c3f51a90)
Aug 28 10:50:21 borixe kernel: ndiswrapper (ndiswrapper_load_driver:93): 
loadndiswrapper failed (11); check system log for messages from 'loadndisdriver'
Aug 28 10:55:47 borixe loadndisdriver: loadndisdriver: add_driver_devices(392): 
adding devices for driver athfmwdl
Aug 28 10:55:47 borixe loadndisdriver: loadndisdriver: add_driver_devices(454): 
device 1385:4251:: is added
Aug 28 10:55:47 borixe loadndisdriver: loadndisdriver: add_driver_devices(459): 
total number of devices added: 1
Aug 28 10:55:47 borixe loadndisdriver: loadndisdriver: load_driver(251): 
loading driver athfmwdl
Aug 28 10:55:47 borixe loadndisdriver: loadndisdriver: parse_setting_line(137): 
Found setting: name=NdisVersion, val=0x50001
Aug 28 10:55:47 borixe loadndisdriver: loadndisdriver: parse_setting_line(137): 
Found setting: name=Environment, val=1
Aug 28 10:55:47 borixe loadndisdriver: loadndisdriver: parse_setting_line(137): 
Found setting: name=BusType, val=0
Aug 28 10:55:47 borixe loadndisdriver: loadndisdriver: parse_setting_line(137): 
Found setting: name=mac_address, val=XX:XX:XX:XX:XX:XX
Aug 28 10:55:47 borixe loadndisdriver: loadndisdriver: parse_setting_line(137): 
Found setting: name=ndis_version, val=,10/04/2004,1.00.001
Aug 28 10:55:47 borixe kernel: ndiswrapper (wrapper_init:1523): calling 
loadndisdriver
Aug 28 10:55:47 borixe kernel: Process loadndisdriver (pid: 15126, 
threadinfo=c1896000 task=c1c1aa70)
Aug 28 10:55:47 borixe kernel: ndiswrapper (ndiswrapper_load_driver:93): 
loadndiswrapper failed (11); check system log for messages from 'loadndisdriver'
Aug 28 11:03:14 borixe kernel: ndiswrapper (wrapper_init:1523): calling 
loadndisdriver
Aug 28 11:03:14 borixe loadndisdriver: loadndisdriver: add_driver_devices(392): 
adding devices for driver athfmwdl
Aug 28 11:03:14 borixe loadndisdriver: loadndisdriver: add_driver_devices(454): 
device 1385:4251:: is added
Aug 28 11:03:14 borixe loadndisdriver: loadndisdriver: add_driver_devices(459): 
total number of devices added: 1
Aug 28 11:03:14 borixe loadndisdriver: loadndisdriver: load_driver(251): 
loading driver athfmwdl
Aug 28 11:03:14 borixe loadndisdriver: loadndisdriver: parse_setting_line(137): 
Found setting: name=NdisVersion, val=0x50001
Aug 28 11:03:14 borixe loadndisdriver: loadndisdriver: parse_setting_line(137): 
Found setting: name=Environment, val=1
Aug 28 11:03:14 borixe loadndisdriver: loadndisdriver: parse_setting_line(137): 
Found setting: name=BusType, val=0
Aug 28 11:03:14 borixe loadndisdriver: loadndisdriver: parse_setting_line(137): 
Found setting: name=mac_address, val=XX:XX:XX:XX:XX:XX
Aug 28 11:03:14 borixe loadndisdriver: loadndisdriver: parse_setting_line(137): 
Found setting: name=ndis_version, val=,12/05/2003,1.00.001
Aug 28 11:03:14 borixe kernel: Process loadndisdriver (pid: 15333, 
threadinfo=c4654000 task=c18a1a70)
Aug 28 11:03:14 borixe kernel: ndiswrapper (ndiswrapper_load_driver:93): 
loadndiswrapper failed (11); check system log for messages from 'loadndisdriver'


My system:

[EMAIL PROTECTED]:/home/jean]# 

Re: [gentoo-user] {OT} Mplayer can't play DVDs

2006-08-28 Thread Xupeng Yun
2006/8/27, Grant [EMAIL PROTECTED]:
I can't get mplayer to play DVDs on my laptop. Did you set the dvd USE when you emerged mplayer?like this:USE=dvd emerge mplayer-- I like Python  Linux.
Blog: http://recordus.cublog.cn


Re: [gentoo-user] openldap: taking too much of time to authenticate

2006-08-28 Thread Marc Blumentritt
bijayant kumar schrieb:
 Hi Marc,
First of all i want to thank you for your response. I 
 tried everything which  you have suggested to me, but unfortunately it didnot 
 worked for me. It still taking 15 to 20 seconds to authenticate. Does it 
 takes too much time or i am doing something wrong. Please help me. I am doing 
 this from last 8 days. And one more thing i want to know, how would i know 
 that user is authenticated via the ldap not the system.


15-20 seconds is to long. I only authentificate ldap-users via
Samba-login with windows machines, and this works fast without any delay.

For the authentification issue: if your user is in the local user data
base, it is authentificated against it (depending on your nsswitch and
pam settings), if he is in ldap, he is authentificated against ldap. You
should't have users in both, local and ldap.

I looked again at your access rules in slapd.conf: try out these rules:


-

access to attrs=userPassword,gecos,description,loginShell
by dn=uid=root,ou=people,dc=kavach,dc=blr write
by anonymous auth
by self write
by * none

access to *
by dn=uid=root,ou=people,dc=kavach,dc=blr write
by users read

-

The first rule allows root to and self to change the attributes
userPassword,gecos,description,loginShell, anonymous to authentificate
(=login!) and * nothing.

The second rule allows root to change all other attributes and
authentificated users to read all other attributes.

Regards,
Marc
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] hostname

2006-08-28 Thread Arnau Bria
Hi,

I know this is a recursive question, but this weekend I've been
reisntalling a box, and, as I had some hostname problems, I decided to
look for the definitive answer I did not find it.

Finally,  decided to set hostname and dnsdomainname in /etc/conf.d/
files. But with that set, hostname -f gave me errors.

So I set in /etc/hosts:

127.0.0.1 locahost
my_IP   hostname.domain.com hostname


And hostname commnad returned correct values.

Is this the definitive way of doing it?

I found some docs where is said that hosts file should look like:
127.0.0.1 localhost hostname hostname.domain.com

or other which says that is not needed to edit hosts file, that conf.d
fles are enought for a correct fqdn...

thanks in advance!

-- 
Arnau Bria
http://blog.emergetux.net
Wiggum: Dispara a las ruedas Lou.
Lou: eee, es un tanque jefe.
Wiggum: Me tienes hartito con todas tus excusas.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] amarok and mysql database

2006-08-28 Thread Paul Stear
Hi All,
I have a strange problem with amarok rebuilding the database everytime I start 
it, so all of my scores etc have been lost.
I am using amarok 1.4.1 and mysql 4.1.20, I'm sure it's just a setting 
somewhere but I can't think where.  Any help?
Paul
-- 
This message has been sent using kmail with gentoo linux
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Oops on heavy load

2006-08-28 Thread CapSel

My server crashed twice with same Oops info. It runs apache,mysql,nfs
(client only), it has more than 2GB swap partition (does not use it
very much), 2GB ram, disk is Raptor on SATA...
I have two clones of this machine (computers with same parts, system
is copied by RSYNC) and only one of them has these Oopses. I made
copies of gentoo like this:

  1 - 2 - 3

...and that one which crashed is 2, so if there was any error
durring rsync from 1-2 it should be repeted on 3, but 3 and 1
works all the time without any crashes.

When it crushes some process' just stops - for example ps ax stopped
in the middle of list, ctrl+c did not helped, w (/bin/w) did not
showed anything, but dmesg worked and I could login thourgh ssh to try
another command.

The server must work all the time...

Does anybody have an idea what coused this Oops??
Below I added text from dmesg after this Oops. Thanks in advance for any help.

BUG: unable to handle kernel NULL pointer dereference at virtual
address 0044
printing eip:
c02c4887
*pde = 
Oops: 0002 [#1]
SMP
Modules linked in: nfs lockd nfs_acl sunrpc floppy intel_agp agpgart e100
CPU:0
EIP:0060:[c02c4887]Not tainted VLI
EFLAGS: 00010202   (2.6.17-gentoo-r4 #1)
EIP is at _spin_lock+0x0/0xf
eax: 0044   ebx: f5064090   ecx: f5064c68   edx: f5064184
esi: f5064184   edi:    ebp: 0001   esp: c2273ec8
ds: 007b   es: 007b   ss: 0068
Process kswapd0 (pid: 162, threadinfo=c2272000 task=c2201a50)
Stack: c014d48c f5064090 f5064098  002f c01604fb 002f 0080
  c5e52248 c446cab8  7080 0081 c20fe520 c01605ce c01394db
  001c2000  7080 0003   0007172e 00d0
Call Trace:
c014d48c remove_inode_buffers+0x28/0x5b  c01604fb prune_icache+0xb8/0x177
c01605ce shrink_icache_memory+0x14/0x2b  c01394db shrink_slab+0x13c/0x194
c013a651 balance_pgdat+0x219/0x335  c013a859 kswapd+0xec/0xee
c0128712 autoremove_wake_function+0x0/0x2d  c0128712
autoremove_wake_function+0x0/0x2d
c013a76d kswapd+0x0/0xee  c0100e01 kernel_thread_helper+0x5/0xb
Code: 81 28 00 00 00 01 74 05 e8 3f e8 ff ff c3 ba 00 e0 ff ff 21 e2
81 42 14 00 01 00 00 f0 81 28 00 00 00 01 74 05 e8 22 e8 ff ff c3 f0
fe 08 79 09 f3 90 80 38 00 7e f9 eb f2 c3 f0 81 28 00 00 00
EIP: [c02c4887] _spin_lock+0x0/0xf SS:ESP 0068:c2273ec8
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] removing phpmyadmin

2006-08-28 Thread Marc Blumentritt
Arnau Bria schrieb:
 Hi,
 
 I've installed phpmyadmin with and without vhost  use flag.
 
 I don't know which files it has modified (when I emerge without the
 flag), but now, I'd like to completly remove phpmyadmin...
 
 is there any way for doing it?

equery files phpmyadmin tells you which files belong to it. with
emerge -C phpmyadmin you uninstall it. Check, if any files are not
removed and delete them by hand.

equery belongs to gentoolkit

Cheers,
Marc
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] openldap: taking too much of time to authenticate

2006-08-28 Thread bijayant kumar
Marc, I tried it also, but no luck this time also. Also i want to show you my /var/log/syslog also, which may be useful to rectify my problem :-Aug 28 16:18:01 bijayant slapd[8302]: conn=145 fd=16 ACCEPT from IP=127.0.0.1:49850 (IP=0.0.0.0:389)Aug 28 16:18:01 bijayant slapd[8302]: conn=145 op=0 BIND dn="cn=Manager,dc=kavach,dc=blr" method=128Aug 28 16:18:01 bijayant slapd[8302]: conn=145 op=0 RESULT tag=97 err=49 text=Aug 28 16:18:01 bijayant slapd[8302]: conn=146 fd=17 ACCEPT from IP=127.0.0.1:49851 (IP=0.0.0.0:389)Aug 28 16:18:01 bijayant slapd[8302]: conn=145 op=1 UNBINDAug 28 16:18:01 bijayant slapd[8302]: conn=145 fd=16 closedAug 28 16:18:01 bijayant slapd[8302]: conn=146 op=0 BIND dn="cn=Manager,dc=kavach,dc=blr" method=128Aug 28 16:18:01 bijayant slapd[8302]: conn=146 op=0 RESULT tag=97 err=49 text=Aug 28 16:18:01 bijayant slapd[8302]:
 conn=147 fd=16 ACCEPT from IP=127.0.0.1:49852 (IP=0.0.0.0:389)Aug 28 16:18:01 bijayant slapd[8302]: conn=146 op=1 UNBINDAug 28 16:18:01 bijayant slapd[8302]: conn=146 fd=17 closedAug 28 16:18:01 bijayant slapd[8302]: conn=147 op=0 BIND dn="cn=Manager,dc=kavach,dc=blr" method=128Aug 28 16:18:01 bijayant slapd[8302]: conn=147 op=0 RESULT tag=97 err=49 text=Aug 28 16:18:01 bijayant slapd[8302]: conn=147 op=1 UNBINDAug 28 16:18:01 bijayant slapd[8302]: conn=147 fd=16 closedAug 28 16:18:05 bijayant slapd[8302]: conn=148 fd=16 ACCEPT from IP=127.0.0.1:49853 (IP=0.0.0.0:389)Aug 28 16:18:05 bijayant slapd[8302]: conn=148 op=0 BIND dn="cn=Manager,dc=kavach,dc=blr" method=128Aug 28 16:18:05 bijayant slapd[8302]: conn=148 op=0 RESULT tag=97 err=49 text=Aug 28 16:18:05 bijayant slapd[8302]: conn=149 fd=17 ACCEPT from IP=127.0.0.1:49854 (IP=0.0.0.0:389)Aug 28 16:18:05 bijayant slapd[8302]: conn=148 op=1 UNBINDAug 28 16:18:05 bijayant
 slapd[8302]: conn=148 fd=16 closedMarc Blumentritt [EMAIL PROTECTED] wrote:15-20 seconds is to long. I only authentificate ldap-users viaSamba-login with windows machines, and this works fast without any delay.For the authentification issue: if your user is in the local user database, it is authentificated against it (depending on your nsswitch andpam settings), if he is in ldap, he is authentificated against ldap. Youshould't have users in both, local and ldap.I looked again at your access rules in slapd.conf: try out these rules:-access to attrs=userPassword,gecos,description,loginShellby dn="uid=root,ou=people,dc=kavach,dc=blr" writeby anonymous authby self writeby * noneaccess to *by dn="uid=root,ou=people,dc=kavach,dc=blr"
 writeby users read-The first rule allows root to and self to change the attributes"userPassword,gecos,description,loginShell", anonymous to authentificate(=login!) and * nothing.The second rule allows root to change all other attributes andauthentificated users to read all other attributes.Regards,Marc-- gentoo-user@gentoo.org mailing list Send instant messages to your online friends http://uk.messenger.yahoo.com  Send instant messages to your online friends http://uk.messenger.yahoo.com 

Re: [gentoo-user] myhostname and mydomain in /etc/postfix/main.cf on a vhost

2006-08-28 Thread kashani

Noack, Sebastian wrote:

Hi,

I'm currently setting up a mail server according to
http://www.gentoo.org/doc/en/virt-mail-howto.xml and I don't understand
Code Listing 2.2.

myhostname = $host.domain.name
mydomain = $domain.name

If this suppose to be a configuration for virtual hosts, than I don't
have a specific hostname or domain. I just have hostnames which are also
the domains for each virtual host. But they do I already specify
according to Code Listing 10.9 in the virtual_mailbox_domains variable
in /etc/postfix/main.cf.

Can maybe somebody help me with this configuration?

Regards
Sebastian Noack



Your domain can be any one of your domains. Your hostname should not 
match anything in your virtual file. When you set your origin use the 
hostname and not the domain. That'll make things less likely to screw up.


soapbox
That how-to you're following sucks unless you're dead set on giving all 
accounts virtual mailman support. I can't say mine is written any 
better, but it will give you a much better system when you're done. 
Manually adding users via raw SQL will annoy you to no end after two weeks.

http://gentoo-wiki.com/HOWTO_Setup_a_Virtual_Postfix/Courier_Mail_System_with_PostfixAdmin

and hey the dev of Postfixadmin even reads the wiki.
http://forums.high5.net/viewtopic.php?t=8

kashani, thinking it's time to go freshen up his how-to again.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Oops on heavy load

2006-08-28 Thread Mick
On Monday 28 August 2006 11:24, CapSel wrote:

 Process kswapd0 (pid: 162, threadinfo=c2272000 task=c2201a50)
 Stack: c014d48c f5064090 f5064098  002f c01604fb 002f
 0080 c5e52248 c446cab8  7080 0081 c20fe520 c01605ce
 c01394db 001c2000  7080 0003   0007172e
 00d0 Call Trace:
  c014d48c remove_inode_buffers+0x28/0x5b  c01604fb
 prune_icache+0xb8/0x177 c01605ce shrink_icache_memory+0x14/0x2b 
 c01394db shrink_slab+0x13c/0x194 c013a651 balance_pgdat+0x219/0x335 
 c013a859 kswapd+0xec/0xee c0128712 autoremove_wake_function+0x0/0x2d 
 c0128712

This reminds me of a box I had with faulty memory - it would some times crash 
when it was about to start using swap.  If the buffering was too aggressive 
the machine would crash.  If not it would start swapping and carry on working 
without further problems.  I changed the offending memory module and had no 
problems since.

Somebody else may know more with respect to the particular data dump you 
provided, otherwise you could try troubleshooting it by using some more 
involved memory/swap tests (not just mem86+).

HTH.
-- 
Regards,
Mick


pgpkgSkQ84c0Z.pgp
Description: PGP signature


[gentoo-user] Xorg 7.0: how to remove unwanted VIDEO_CARDS?

2006-08-28 Thread Stefan G. Weichinger

Greetings,

yesterday I upgraded my notebook to xorg-x11-7.0-r1.
Compared to doing this on my desktop-system (where I ran into heavy
dependency-problems, solved it already ...) it went through without
problems.

I had added INPUT_DEVICES and VIDEO_CARDS to /etc/make.conf, according
to my hardware, during the emerge I wondered why I should need some
savage-modules on my Nvidia-notebook, so I checked back and noticed that
I had mistyped VIDOE_CARDS 

Corrected that and emerged again, now much less packages.

Did that remove the unneeded/unwanted bunch of modules or do I have to
correct that by doing something?

Thanks for a hint,
greetings, Stefan.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] File replication

2006-08-28 Thread Stephen Liu
Hi Neil,

 In the rsync man page.
 
 rsync -ax ~/ /mnt/extdisk/myhome/
 
 should do it.

On which file of cron shall I add following line to rsync
/mnt/extdisk/myhome/ quarterly?

0,15,30,45 * * * * rsync -ax ~/ /mnt/extdisk/myhome/


Whether -u update will do incremental copying for those files having
been updated

0,15,30,45 * * * * rsync -aux ~/ /mnt/extdisk/myhome/


What about those files have been deleted on ~/ ?  Which option should
be up to delete the same files on /mnt/extdisk/myhome/ simultaneously.

TIA

B.R.
SL
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] myhostname and mydomain in /etc/postfix/main.cf on a vhost

2006-08-28 Thread Noack, Sebastian
 Your domain can be any one of your domains. Your hostname should not
 match anything in your virtual file. When you set your origin use the
 hostname and not the domain. That'll make things less likely to screw
up.

Couldn't I also omit the hostname or origin instead of it? And if not,
what would you propose as hostname? Something like nohost or does it
have to be a real hostname, which is mapped to my ip address or maybe my
ip address itself?

 soapbox
 That how-to you're following sucks unless you're dead set on giving
all
 accounts virtual mailman support. I can't say mine is written any
 better, but it will give you a much better system when you're done.
 Manually adding users via raw SQL will annoy you to no end after two
 weeks.
 http://gentoo-

wiki.com/HOWTO_Setup_a_Virtual_Postfix/Courier_Mail_System_with_PostfixA
dm
 in

Well, because of I'm not a mailhoster and need just a mailserver for the
web sites I administer completely by my own, it wouldn't be a problem to
administer the mail stuff directly in the database, but however
PostfixAdmin seems to be nice. But I think I can also set it up later,
after I followed the official Gentoo Virtual Mailhosting System with
Postfix Guide. Btw: Your howto mentions PostfixAdmin, but also doesn't
explains how to set it up. But however I will still read it,
nevertheless.

Regards
Sebastian

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] File replication

2006-08-28 Thread Valerio daelli

Try to add --delete.

Valerio Daelli

On 8/28/06, Stephen Liu [EMAIL PROTECTED] wrote:

Hi Neil,

 In the rsync man page.

 rsync -ax ~/ /mnt/extdisk/myhome/

 should do it.

On which file of cron shall I add following line to rsync
/mnt/extdisk/myhome/ quarterly?

0,15,30,45 * * * * rsync -ax ~/ /mnt/extdisk/myhome/


Whether -u update will do incremental copying for those files having
been updated

0,15,30,45 * * * * rsync -aux ~/ /mnt/extdisk/myhome/


What about those files have been deleted on ~/ ?  Which option should
be up to delete the same files on /mnt/extdisk/myhome/ simultaneously.

TIA

B.R.
SL
--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Oops on heavy load

2006-08-28 Thread Iain Buchanan
On Mon, 2006-08-28 at 11:49 +0100, Mick wrote:
 On Monday 28 August 2006 11:24, CapSel wrote:
 
  Process kswapd0 (pid: 162, threadinfo=c2272000 task=c2201a50)
  Stack: c014d48c f5064090 f5064098  002f c01604fb 002f
  0080 c5e52248 c446cab8  7080 0081 c20fe520 c01605ce
  c01394db 001c2000  7080 0003   0007172e
  00d0 Call Trace:
   c014d48c remove_inode_buffers+0x28/0x5b  c01604fb
  prune_icache+0xb8/0x177 c01605ce shrink_icache_memory+0x14/0x2b 
  c01394db shrink_slab+0x13c/0x194 c013a651 balance_pgdat+0x219/0x335 
  c013a859 kswapd+0xec/0xee c0128712 autoremove_wake_function+0x0/0x2d 
  c0128712
 
 This reminds me of a box I had with faulty memory

I agree, it sounds notoriously like faulty RAM, which often shows its
symptoms at high load (don't ask me why).

I find that re-seating the RAM may help, at least for a short period
(expect that it might return).

You can try memtest, but apparently it gets harder and harder to detect
memory problems as new techniques are developed by hardware
manufacturers to make memory faster.

I suggest a trial and error - swap the RAM with one of the other
machines, or with a fresh set of RAM if you can get some - if the
symptoms follow the RAM from server to server then you know what the
problem is :)

HTH,
-- 
Iain Buchanan iaindb at netspace dot net dot au

The human race has one really effective weapon, and that is laughter.
-- Mark Twain

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mencoder did nothing all night at 100% CPU!

2006-08-28 Thread Iain Buchanan
On Fri, 2006-08-11 at 08:21 +0100, Uwe Thiem wrote:
 On 10 August 2006 23:06, Iain Buchanan wrote:
  Hi all,
 
  I'm trying out mencoder to try a few different codecs and formats for 1.
  dvd authoring and 2. just compressing to keep on my HD.
 
 For DVDs, try this:
 
 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd \
 -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 \
 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:\
 vbitrate=5000:keyint=15:acodec=ac3:abitrate=192:aspect=4/3 \
 -ofps 25 -o outfile.mpeg infile

wow! I just got around to trying that a couple of days ago and it
produces great output: fast, small file size, and no noticeable
difference in quality between the mpeg and the original dv! (I watched
many different clips many times over to make sure!  on TV and on my LCD)

But: the mpeg doesn't seem to scale right.  My laptop display is
1680x1050, and hence the original dv output (4:3) has black edges on
each side, but the converted mpeg plays stretched, so that everybody
looks fat!

Is this just a _player_ issue, or is it a problem with the encoding of
the mpeg itself?

I noticed the command line has aspect=4/3 in it already, which is the
aspect of the original dv file...

many thanks!
-- 
Iain Buchanan iaindb at netspace dot net dot au

The first 90% of a project takes 90% of the time, the last 10% takes the
other 90% of the time.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] File replication

2006-08-28 Thread Roger Luethi
On Mon, 28 Aug 2006 15:26:09 +0800, Stephen Liu wrote:
  If you want to synchronize (i.e. update
  to the latest version, no matter where it is), try unison.
 
 Whether you suggested;
 Unison
 File Synchronizer
 http://www.cis.upenn.edu/~bcpierce/unison/

Yes. One of the more underestimated tools, presumably due to rsync's
popularity. It's in portage, so emerge unison should work.

 I'm trying to find out whether real time synchronization is possible,

unison in batch mode (-batch) triggered by umount (as suggested by others)
should be close enough.

Roger
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: revdep-rebuild problem with ACCEPT_KEYWORDS=~x86

2006-08-28 Thread Xavier MOGHRABI
Thanks a lot for that information it solved the previous problem.

But now when I launch revdep-rebuild, I got that :
  broken /usr/lib/libsystray4j.so (requires  libkdecore.so.4 libkdeui.so.4)
  broken /usr/lib/openoffice/program/kdebe1.uno.so (requires  libkdecore.so.4 
libkdeui.so.4 libkio.so.4)
  broken /usr/lib/openoffice/program/kdefilepicker (requires  libkdecore.so.4 
libkdeui.so.4 libkio.so.4)
  broken /usr/lib/openoffice/program/libkabdrv1.so (requires  libkabc.so.1 
libkdecore.so.4 libkdeui.so.4)
  broken /usr/lib/openoffice/program/libvclplug_kde680li.so (requires  
libkdecore.so.4 libkdeui.so.4)

It's strange since when all those librairies are well located in the 
directory /usr/kde/3.5/lib/.

Moreover the compilation failed when it tries to compile openoffice-2.0.3

=
Building project solenv
=
deliver -- version: 1.100
LINK: 
build.lst - 
/var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/inc/solenv/build.lst
Use of uninitialized value in string eq 
at 
/var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solenv/bin/deliver.pl
 
line 793.
LOG: 
writing 
/var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/inc/solenv/deliver.log
Statistics:
Files copied: 1
Files unchanged/not matching: 0

=
Building project boost
=
/var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/boost

ERROR: Error 11 occurred while 
making 
/var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/boost
make: *** [stamp/build] Erreur 1

!!! ERROR: app-office/openoffice-2.0.3 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  openoffice-2.0.3.ebuild, line 252:   Called die

!!! Build failed
!!! If you need support, post the topmost build error, and the call stack if 
relevant.

Regards


Le dimanche 27 août 2006 21:36, Harm Geerts a écrit :
 Note the difference, there are 2 different versions of liblzo.
 net-im/wengophone seems to depend on version 1 but does not enforce this in
 the ebuild, you should report a bug about this. You can install it yourself
 untill this dep is fixed.

 emerge =dev-libs/lzo-1*

 The other broken libs will probably be solved after running revdep-rebuild
 again.

-- 
Xavier MOGHRABI - Consortium ObjectWeb
Jabber: [EMAIL PROTECTED] - Phone: +33 4 76 61 52 35

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] openldap: taking too much of time to authenticate

2006-08-28 Thread Marc Blumentritt
bijayant kumar schrieb:
 Marc,
   I tried it also, but no luck this time also. Also i want to 
 show you my /var/log/syslog also, which may be useful to rectify my problem :-
 
 
 Aug 28 16:18:01 bijayant slapd[8302]: conn=145 fd=16 ACCEPT from 
 IP=127.0.0.1:49850 (IP=0.0.0.0:389)
 Aug 28 16:18:01 bijayant slapd[8302]: conn=145 op=0 BIND 
 dn=cn=Manager,dc=kavach,dc=blr method=128

What is it exactly, you are trying to do with
dn=cn=Manager,dc=kavach,dc=blr ? This is your ldap rootdn. It is not a
unix-user.

 Marc Blumentritt [EMAIL PROTECTED] wrote:
 I looked again at your access rules in slapd.conf: try out these rules:
 
 
 -
 
 access to attrs=userPassword,gecos,description,loginShell
 by dn=uid=root,ou=people,dc=kavach,dc=blr write
 by anonymous auth
 by self write
 by * none
 
 access to *
 by dn=uid=root,ou=people,dc=kavach,dc=blr write
 by users read
 
 -

Next thing I just realized: in your /etc/ldap.conf you set
nss_base_passwd to ou=People,dc=kavach,dc=blr?one, while above
people is not starting with a capital letter! Correct this and while
you are at it, change the access rules to this:

---
access to attrs=userPassword,gecos,description,loginShell
by dn=uid=root,ou=people,dc=kavach,dc=blr write
by dn=cn=Manager,dc=kavach,dc=blr write
by anonymous auth
by self write
by * none

access to *
by dn=uid=root,ou=people,dc=kavach,dc=blr write
by dn=cn=Manager,dc=kavach,dc=blr write
by users read
---

Since manager is your rootdn, he should have access to everything. In
fact, do you really want a root account in your ldap? I think you do not
need, so if you aggree, delete the root lines in your access rules.

How to you plan to add users to ldap? I mean, which tools you use?

Regards,
Marc

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Xorg 7.0: how to remove unwanted VIDEO_CARDS?

2006-08-28 Thread Fernando Ferrari
Hi Stefan, the easy way,
Search the modules installed with the command eix

eix xf86-video

look the item install: and what module it install and unmerge only you
dont need.

Saludos
Fernando Ferrari
http://fernandorferrari.blogspot.com

-Mensaje original-
De: Stefan G. Weichinger [mailto:[EMAIL PROTECTED] 
Enviado el: Lunes, 28 de Agosto de 2006 08:08 a.m.
Para: gentoo-user@lists.gentoo.org
Asunto: [gentoo-user] Xorg 7.0: how to remove unwanted VIDEO_CARDS?


Greetings,

yesterday I upgraded my notebook to xorg-x11-7.0-r1.
Compared to doing this on my desktop-system (where I ran into heavy
dependency-problems, solved it already ...) it went through without
problems.

I had added INPUT_DEVICES and VIDEO_CARDS to /etc/make.conf, according
to my hardware, during the emerge I wondered why I should need some
savage-modules on my Nvidia-notebook, so I checked back and noticed that
I had mistyped VIDOE_CARDS 

Corrected that and emerged again, now much less packages.

Did that remove the unneeded/unwanted bunch of modules or do I have to
correct that by doing something?

Thanks for a hint,
greetings, Stefan.

-- 
gentoo-user@gentoo.org mailing list





__
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mencoder did nothing all night at 100% CPU!

2006-08-28 Thread Calvin Walton

On 8/28/06, Iain Buchanan [EMAIL PROTECTED] wrote:

On Fri, 2006-08-11 at 08:21 +0100, Uwe Thiem wrote:
 For DVDs, try this:

 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd \
 -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 \
 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:\
 vbitrate=5000:keyint=15:acodec=ac3:abitrate=192:aspect=4/3 \
 -ofps 25 -o outfile.mpeg infile


Note that this is for a PAL DVD - if you want NTSC you need to change
to -vf scale=720:480 and set the -ofps to 24/10001 or 30/10001
(the first for movies, second for tv shows)


But: the mpeg doesn't seem to scale right.  My laptop display is
1680x1050, and hence the original dv output (4:3) has black edges on
each side, but the converted mpeg plays stretched, so that everybody
looks fat!


You could try dropping the -aspect option from the mencoder command
line and let mplayer calculate the aspect itself, it's normally pretty
good at that.

--
Calvin Walton
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mencoder did nothing all night at 100% CPU!

2006-08-28 Thread Iain Buchanan
On Mon, 2006-08-28 at 22:09 +0930, Iain Buchanan wrote:
 On Fri, 2006-08-11 at 08:21 +0100, Uwe Thiem wrote:
  On 10 August 2006 23:06, Iain Buchanan wrote:
   Hi all,
  
   I'm trying out mencoder to try a few different codecs and formats for 1.
   dvd authoring and 2. just compressing to keep on my HD.
  
  For DVDs, try this:
  
  mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd \
  -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 \
  -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:\
  vbitrate=5000:keyint=15:acodec=ac3:abitrate=192:aspect=4/3 \
  -ofps 25 -o outfile.mpeg infile
 
 wow! I just got around to trying that a couple of days ago and it
 produces great output: fast, small file size, and no noticeable
 difference in quality between the mpeg and the original dv! (I watched
 many different clips many times over to make sure!  on TV and on my LCD)


sorry about replying to my own post, but I just wanted to get one thing
clear:

before I go and delete all my original .dv files, can anyone see any
problem with this encoding method?

thanks!
-- 
Iain Buchanan iaindb at netspace dot net dot au

I used to work in a fire hydrant factory.  You couldn't park anywhere near
the place.
-- Steven Wright

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [Solved] openldap: taking too much of time to authenticate

2006-08-28 Thread bijayant kumar
Marc, wow..!! Its worked for me this time. Many Many thanks to you. What a man you areI will never forget you. You are really a genius guy.Thanks once again...RegardsBijayant Kumar Send instant messages to your online friends http://uk.messenger.yahoo.com 

Re: [gentoo-user] mencoder did nothing all night at 100% CPU!

2006-08-28 Thread Uwe Thiem
On 28 August 2006 14:35, Calvin Walton wrote:

 Note that this is for a PAL DVD - if you want NTSC you need to change
 to -vf scale=720:480 and set the -ofps to 24/10001 or 30/10001
 (the first for movies, second for tv shows)

NTSC has different frame rates for different *content*? How strange ...

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT Nice article about the Sony PS3

2006-08-28 Thread Jerry McBride
The folding cluster will be the most powerful machine on earth... Not bad for 
a game console running linux.

http://news.bbc.co.uk/2/hi/technology/5287254.stm
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] File replication

2006-08-28 Thread Stephen Liu
Hi Valerio,

 Try to add --delete.

Could you please provide more detail?  TIA

B.R.
SL
 
 On 8/28/06, Stephen Liu [EMAIL PROTECTED] wrote:
  Hi Neil,
 
   In the rsync man page.
  
   rsync -ax ~/ /mnt/extdisk/myhome/
  
   should do it.
 
  On which file of cron shall I add following line to rsync
  /mnt/extdisk/myhome/ quarterly?
 
  0,15,30,45 * * * * rsync -ax ~/ /mnt/extdisk/myhome/
 
 
  Whether -u update will do incremental copying for those files
 having
  been updated
 
  0,15,30,45 * * * * rsync -aux ~/ /mnt/extdisk/myhome/
 
 
  What about those files have been deleted on ~/ ?  Which option
 should
  be up to delete the same files on /mnt/extdisk/myhome/
 simultaneously.
 
  TIA
 
  B.R.
  SL
  --
  gentoo-user@gentoo.org mailing list
 
 
 -- 
 gentoo-user@gentoo.org mailing list
 
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] File replication

2006-08-28 Thread Neil Bothwick
On Mon, 28 Aug 2006 19:09:11 +0800 (CST), Stephen Liu wrote:

 Whether -u update will do incremental copying for those files having
 been updated

That's not what -u does, rsync does incremental copying by default, read
the man page.


-- 
Neil Bothwick

Bald spot? No -- solar panel for brain power


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: fstab devmode

2006-08-28 Thread Joseph
On Mon, 2006-08-28 at 09:51 +0100, Neil Bothwick wrote:
 On Mon, 28 Aug 2006 10:38:22 +0200, Dirk Heinrichs wrote:
 
   I put LVM on a memory stick recently, does that count?  
  
  lvmfs? Never heard of this ;-)
 
 That's why I asked if it counted ;-)

What is the result (disk space) in comparison to vfat, ext2 etc.?

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xorg 7.0: how to remove unwanted VIDEO_CARDS?

2006-08-28 Thread Richard Fish

On 8/28/06, Stefan G. Weichinger [EMAIL PROTECTED] wrote:

Corrected that and emerged again, now much less packages.

Did that remove the unneeded/unwanted bunch of modules or do I have to
correct that by doing something?


emerge --depclean --pretend should show if anything is installed
that portage considers no longer necessary.

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mencoder did nothing all night at 100% CPU!

2006-08-28 Thread Richard Fish

On 8/28/06, Uwe Thiem [EMAIL PROTECTED] wrote:

On 28 August 2006 14:35, Calvin Walton wrote:

 Note that this is for a PAL DVD - if you want NTSC you need to change
 to -vf scale=720:480 and set the -ofps to 24/10001 or 30/10001
 (the first for movies, second for tv shows)

NTSC has different frame rates for different *content*? How strange ...


It doesn't, but our DVDs have extra interpolated frames inserted to
get the frame rate up to 30fps, and generally removing these extra
frames actually improves the quality of the encoding.  Of course PAL
countries don't have this problem...you just play the movie 4% faster!

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: fstab devmode

2006-08-28 Thread Neil Bothwick
On Mon, 28 Aug 2006 10:50:09 -0600, Joseph wrote:

   lvmfs? Never heard of this ;-)  
  
  That's why I asked if it counted ;-)  
 
 What is the result (disk space) in comparison to vfat, ext2 etc.?

As Dirk pointed out, LVM is not a filesystem. If you want maximum
portability, FAT is the best choice. If you want to cram as much as
possible on the device, either use ReiserFS or get a larger device.


-- 
Neil Bothwick

Why is the alphabet in that order? Is it because of that song?


signature.asc
Description: PGP signature


[gentoo-user] mdadm --create: very low speed on formated disk

2006-08-28 Thread Jarry

Hi,

I'm creating /dev/md's for my server with:
mdadm --create --verbose /dev/md0
  --level=1 --raid-devices=2
  /dev/sda1 /dev/sdb1

and I have noticed following thing:

Whenever I create /dev/md0 on a clean (not previously
formated) disk, the syncing speed is high (30-40MB/s,
as shown by cat /proc/mdstat.

But when I try to create raid array on partitions which
have been previously formated (there remained old ext3
formating), syncing speed is not higher than 2-3MB/s
(~15 hours syncing my 160 GB drives!!!).

One more thing: if I delete all partitions, and then write
them back again exactly as they were previously, it doesn't
help. But if I shift all partitions just 1 sector up
(or down), mdadm is again syncing with full speed...

Question: how can I sync with full speed, even if
there are partitions previously used and formated
and I do not want (or can not) move partitions?

Jarry
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: [Solved] openldap: taking too much of time to authenticate

2006-08-28 Thread Marc Blumentritt
bijayant kumar schrieb:
 Marc,
 wow..!! Its worked for me this time. Many Many thanks to you. 
 What a man you areI will never forget you. You are really a genius guy.
 Thanks once again...

:)

Your welcome.
Marc

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Packages for Python 2.3

2006-08-28 Thread Pupeno
Hello,
I am developing some software that needs to be tested against Python 2.3. So 
my Gentoo box has both, Python 2.4 and 2.3. Now, I need to have some Python 
packages available for both (or at least, for 2.3), for example: 
mysql-python.
How do I achieve that ?
Thank you.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)


pgpK6aO12TVXG.pgp
Description: PGP signature


Re: [gentoo-user] Re: fstab devmode

2006-08-28 Thread Joseph
On Mon, 2006-08-28 at 19:01 +0100, Neil Bothwick wrote:
  What is the result (disk space) in comparison to vfat, ext2 etc.?
 
 As Dirk pointed out, LVM is not a filesystem. If you want maximum
 portability, FAT is the best choice. If you want to cram as much as
 possible on the device, either use ReiserFS or get a larger device.

I just did a quick experiment with on 1Mb memory stick as to disk space
with different filesystems, so with:
- vfat  about 978Mb
- ext2 about 913Mb
- ReiserFS about 946Mb

As Richard pointed out with Linux FS certain percentage is reserved.

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] uniprint, ggv, and utf-8 - argh...

2006-08-28 Thread Jeff Grant
Ok - so - I got yudit living on my box, which also contains the uniprint
program.

$ man uniprint

uniprint - produce postscript output from unicode text for printing

So - here's the command I'm using on what appears to be a Chinese utf-8
file:

uniprint -in chinese_utf8.txt -out /tmp/chinese_utf8.ps -size 14

Now - all seems well, until I try to view the file:

ggv (or gv) /tmp/chinese_utf8.ps

I see *almost* all the Chinese characters, but there's still a few boxes
that are 'bitboxes' - the empty boxes with the little encoding numbers
in them. Seems like uniprint doesn't know how to 'draw' them, or what
have you.

I'm no X/utf8/PS master here - could anyone give me a hint as to wth I
need to do to get the rest of the characters to draw properly into the
PS output file?

Thanks!

-Jeff

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xorg 7.0: how to remove unwanted VIDEO_CARDS?

2006-08-28 Thread Stefan G. Weichinger
Richard Fish wrote:
 On 8/28/06, Stefan G. Weichinger [EMAIL PROTECTED] wrote:
 Corrected that and emerged again, now much less packages.

 Did that remove the unneeded/unwanted bunch of modules or do I have to
 correct that by doing something?
 
 emerge --depclean --pretend should show if anything is installed
 that portage considers no longer necessary.
 
 -Richard

Thanks, Richard, thanks, Fernando, didn't think of these logical
solutions ...

Stefan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: fstab devmode

2006-08-28 Thread Neil Bothwick
On Mon, 28 Aug 2006 13:26:22 -0600, Joseph wrote:

  As Dirk pointed out, LVM is not a filesystem. If you want maximum
  portability, FAT is the best choice. If you want to cram as much as
  possible on the device, either use ReiserFS or get a larger device.  
 
 I just did a quick experiment with on 1Mb memory stick as to disk space
 with different filesystems, so with:
 - vfat  about 978Mb
 - ext2 about 913Mb
 - ReiserFS about 946Mb
 
 As Richard pointed out with Linux FS certain percentage is reserved.

That's true of ext2/ext3. ReiserFS uses space more efficiently,
especially when storing lots of small files, so although it may appear to
offer less space that FAT, you'll probably fit more on the drive.


-- 
Neil Bothwick

Celery is not food. It is a member of the plywood family.


signature.asc
Description: PGP signature


Re: [gentoo-user] myhostname and mydomain in /etc/postfix/main.cf on a vhost

2006-08-28 Thread kashani

Noack, Sebastian wrote:


Couldn't I also omit the hostname or origin instead of it? And if not,
what would you propose as hostname? Something like nohost or does it
have to be a real hostname, which is mapped to my ip address or maybe my
ip address itself?


I used vmail.domain.com on my last build. The point being that 
domain.com is virtual and if you use it as $myorigin Postfix will assume 
it's local and your transport table for that domain will not work, IIRC.


Ideally yes forward and reverse DNS would match. At worst forward DNS 
should actually point to this box.




Well, because of I'm not a mailhoster and need just a mailserver for the
web sites I administer completely by my own, it wouldn't be a problem to
administer the mail stuff directly in the database, but however
PostfixAdmin seems to be nice. But I think I can also set it up later,
after I followed the official Gentoo Virtual Mailhosting System with
Postfix Guide. Btw: Your howto mentions PostfixAdmin, but also doesn't
explains how to set it up. But however I will still read it,
nevertheless.


	It's not really something you can add on later as PostfixAdmin uses a 
different schema in order to support all the things it does. I did a 
transition of 400 users by hand from the old installation to the new, 
but it sucked.


Setting PostfixAdmin itself is a matter of following included how-to and 
then use my Gentoo specific stuff to config everything it relies on.


If you're dead set on following the Gentoo one, this will be helpful.

Top 10 things you'll do wrong (and some extras for free) in the Gentoo 
How-to


1. The Gentoo how-to does not read the virtual domains from mysql by 
default. You need a line like this virtual_mailbox_domains = 
proxy:mysql:/etc/postfix/mysql_virtual_domains_maps.cf substituting the 
Gentoo stuff or you have to add them manually to virtual_comin_maps and 
restart Postfix. This is the first trade off made for Mailman.

http://forums.gentoo.org/viewtopic-t-224882-highlight-kashani+virtual.html

2. Courier-imap will throw a very unhelpful error message if the 
.maildir does not exist. Always send new users a welcome mail to create 
their maildir. PostfixAdmin does this by default.


3. When you using wildcard aliases you must create an alias for for each 
real mailbox or it'll match the wildcard and exit before it checks the 
real mailbox table. PostfixAdmin can be configured to add aliases for 
all mailbox users in by default.

http://forums.gentoo.org/viewtopic-t-131618-highlight-kashani+aliases.html

4. Users must use their full email address as the username. For both 
POP, SMTP-auth, and webmail. You'll repeat this a lot no matter which 
system you use.

http://forums.gentoo.org/viewtopic-t-346173-highlight-kashani+virtual.html

5. When using multiple webmail client front ends like Horde, Squirrel, 
and Roundcube remember to force them to use the same folder name for 
Trash, Sent, etc. in case users switch around.


6. We covered the origin thing
http://forums.gentoo.org/viewtopic-t-445361-highlight-kashani+virtual.html

7. The alias table is for local system aliases, not virtual aliases 
which go in virtual.

http://forums.gentoo.org/viewtopic-t-477820-highlight-kashani+virtual.html

8. /home/vmail/virt-bar.org/foo/.maildir/  --- don't forget the 
trailing slash or Postfix will write to .maildir the file and not 
.maildir/ the dir.

http://forums.gentoo.org/viewtopic-t-74995-highlight-kashani+maildir+virtual.html

9. Postfix needs permission to create the .maildir/ so make sure that 
you've created home dir with the right uid/gid

http://forums.gentoo.org/viewtopic-t-446763-highlight-kashani+virtual.html

10. Remove the -v from master.cf and change 450 bounce code back to 550 
once it's working. Adding proxy: to your mysql statements in Postfix 
also helps.

http://forums.gentoo.org/viewtopic-t-124564-highlight-kashani+aliases.html

11. The Gentoo how-to is still using Postfix 2.0 Mysql syntax. This is 
going to break someday though it is rumored to still work with 2.2. 2.3 
might be a different story.

http://forums.gentoo.org/viewtopic-t-392458-highlight-kashani+virtual.html

12. Squirrel and Horde can be configured with plugins to allow users to 
change their passwords. This will make you life easier. PostfixAdmin has 
this and additionally allows users to add forwards and vacations.


kashani
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Greylisting idea

2006-08-28 Thread Grant

Greylisting seems to be the most effective way of eliminating unwanted
email.  The problem is that it also has the potential to eliminate a
legitimate email.  Couldn't a feature be added to greylisting software
that dispatches an email to the sender of any email that is
temporarily rejected and doesn't retry within a certain amount of
time?  The email could say something like, Your message of {date} was
rejected as possible spam.  Please call us at {phone_number}.

- Grant
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Greylisting idea

2006-08-28 Thread Richard Fish

On 8/28/06, Grant [EMAIL PROTECTED] wrote:

Greylisting seems to be the most effective way of eliminating unwanted
email.  The problem is that it also has the potential to eliminate a
legitimate email.  Couldn't a feature be added to greylisting software
that dispatches an email to the sender of any email that is
temporarily rejected and doesn't retry within a certain amount of
time?  The email could say something like, Your message of {date} was
rejected as possible spam.  Please call us at {phone_number}.


att.biz accounts do something like this.  It isn't a phone call, but
go to $website and enter $code to unblock your mail to $recepient.

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Greylisting idea

2006-08-28 Thread Toby Cubitt
On Mon, Aug 28, 2006 at 05:38:37PM -0700, Richard Fish wrote:
 On 8/28/06, Grant [EMAIL PROTECTED] wrote:
 Greylisting seems to be the most effective way of eliminating unwanted
 email.  The problem is that it also has the potential to eliminate a
 legitimate email.  Couldn't a feature be added to greylisting software
 that dispatches an email to the sender of any email that is
 temporarily rejected and doesn't retry within a certain amount of
 time?  The email could say something like, Your message of {date} was
 rejected as possible spam.  Please call us at {phone_number}.
 
 att.biz accounts do something like this.  It isn't a phone call, but
 go to $website and enter $code to unblock your mail to $recepient.

TMDA (in portage) could be set up to do something like this, I
believe.

Toby
-- 
PhD Student
Quantum Information Theory group
Max Planck Institute for Quantum Optics
Garching, Germany

email: [EMAIL PROTECTED]
web: www.dr-qubit.org
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Greylisting idea

2006-08-28 Thread Grant

 Greylisting seems to be the most effective way of eliminating unwanted
 email.  The problem is that it also has the potential to eliminate a
 legitimate email.  Couldn't a feature be added to greylisting software
 that dispatches an email to the sender of any email that is
 temporarily rejected and doesn't retry within a certain amount of
 time?  The email could say something like, Your message of {date} was
 rejected as possible spam.  Please call us at {phone_number}.

 att.biz accounts do something like this.  It isn't a phone call, but
 go to $website and enter $code to unblock your mail to $recepient.

TMDA (in portage) could be set up to do something like this, I
believe.


I'm going to go ahead and try greylisting.  It sounds like regular
postfix checks can reject legitimate email just like greylisting can
end up doing, but postfix checks are cutting spam in half and it
sounds like greylisting will do a lot better.

I'm going to replace the following postix config:

smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions =
   permit_mynetworks,
   reject_non_fqdn_hostname,
   reject_invalid_hostname,
   permit
smtpd_sender_restrictions =
   permit_mynetworks,
   reject_non_fqdn_sender,
   reject_unknown_sender_domain,
   permit
smtpd_recipient_restrictions =
   permit_mynetworks,
   reject_non_fqdn_recipient,
   reject_unknown_recipient_domain,
   reject_unauth_destination,
   permit
smtpd_data_restrictions =
   reject_unauth_pipelining,
   permit

with this:

smtpd_recipient_restrictions =
   permit_mynetworks,
   check_policy_service inet:127.0.0.1:10030
   reject_unauth_destination,
   permit

How does that look?

- Grant
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emege -e system; emerge -e world and GCC4

2006-08-28 Thread michael higgins
On Wed, 23 Aug 2006 11:25:03 -0700
Richard Fish [EMAIL PROTECTED] wrote:

 On 8/23/06, michael higgins [EMAIL PROTECTED] wrote:

[ 8 ]

 Considering that you just recompiled your system with a gcc version
 that the gentoo devs consider to be broken for your archyes, yes,
 and yes. :-(
 
 Now that sounds rather doomsday-ish, it probably really just means
 there are a lot of things in the tree that will not build with it, and
 not that it produces broken binaries.  But it is better to be safe on
 this one.
 

Thanks, Richard. It seems that some packages (mostly sound synths and the like) 
aren't yet ready to compile under 4.1.1, but it was a bit better than my first 
attempt with keyword ~*.

Thanks again.

-- 
 |\  /||   |  ~ ~  
 | \/ ||---|  `|` ?
 ||ichael  |   |iggins\^ /
 michael.higgins[at]evolone[dot]org
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] ssmtp redirect root mail to a webmail account through smtp.gmail.com

2006-08-28 Thread Michael [Plouj] Ploujnikov

Is it actually possible to make ssmtp's sendmail send all the mail
directed to my local 'root' account to a real email address, such as
the one I'm sending this email from ([EMAIL PROTECTED])? If not, would
my best bet be to install Postfix?

I tried this in /etc/ssmtp/ssmtp.conf

[EMAIL PROTECTED]

If I do this, I don't see any mail in my gmail inbox.
If I don't set it, I keep getting emails from
[EMAIL PROTECTED] saying:

Delivery to the following recipient failed permanently:

[EMAIL PROTECTED]

-
This is my /etc/ssmtp/ssmtp.conf:

mailhub=smtp.gmail.com:587
UseTLS=YES
UseSTARTTLS=Yes
AuthUser=ploujj
AuthPass=gmail-pass
FromLineOverride=YES
-

I also learned that /etc/ssmtp/revaliases is not the right place to
configure what I want.

Is this mailing list a good place to ask this question?


Thanks.
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Installing Gentoo - question

2006-08-28 Thread Stephen Liu
Hi folks,

I followed;
Gentoo Linux AMD64 Handbook
http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml
running install-amd64-minimal-2006.0 CD to install Gentoo and
encountered following problem;

1) Network connection
ADSL broadband connection via ADSL modem -- telephone line
Ethernet - onboard ethernet card

Ran adsl-setup and adsl-start without problem with ISP connected

# ifconfig
showing eth0, lo and ppp0.  But ping failed.

# ping -c 3 www.yahoo.com
Unknown host ...

# ifconfig eth0
only showing eth0

Ran
dhcpcd -HD eth0
-
cursor blinking here.

dhcpcd eth0
-
cursor also blinking here

Please advise how to proceed.


2) Adding user
# useradd -m -G satimis satimis
unknown group satimis

Whether this subsection can be skipped OR create 
# groupadd satimis
first.

TIA

B.R.
SL
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] XFS FileSystem - Slow Writes

2006-08-28 Thread Ow Mun Heng
Has anyone here, who uses XFS fs, experiencing slow filesystem writes?
I'm seeing throughput of like 4-3MB/s instead of like previously
15-20MB/s. 
I have read that there was some thing about barriers and I've tried
re-mounting the FS w/ nobarriers but the performance didn't improve.

I've already fscked the fs w/ the latest xfsprogs ( 2.8.0) to no good
effect.

Anyone has any clue or suggestions? Else, I'm gonna go and change the FS
back to EXT3.

BTW: it's my /home which is XFS which houses GIGs of Mbox files as well
as VMware images.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Greylisting idea

2006-08-28 Thread Nick Rout
On Mon, 28 Aug 2006 17:30:48 -0700
Grant [EMAIL PROTECTED] wrote:

 Greylisting seems to be the most effective way of eliminating unwanted
 email.  The problem is that it also has the potential to eliminate a
 legitimate email.  Couldn't a feature be added to greylisting software
 that dispatches an email to the sender of any email that is
 temporarily rejected and doesn't retry within a certain amount of
 time?  The email could say something like, Your message of {date} was
 rejected as possible spam.  Please call us at {phone_number}.
 
 - Grant

No, thats just silly. That would send a reply to every email that is a spam. 
Most spam has non-existent (or forged) from address, which means the mail 
will just bounce or go to someone whose address has been forged.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Packages for Python 2.3

2006-08-28 Thread Donnie Berkholz

Pupeno wrote:

Hello,
I am developing some software that needs to be tested against Python 2.3. So 
my Gentoo box has both, Python 2.4 and 2.3. Now, I need to have some Python 
packages available for both (or at least, for 2.3), for example: 
mysql-python.

How do I achieve that ?


You may need to modify the ebuild. Try adding something like this near 
the top:


PYTHON_SLOT_VERSION=2.3

That's used by distutils.eclass, which mysql-python inherits.

Thanks,
Donnie
--
gentoo-user@gentoo.org mailing list