Re: [gentoo-user] gentoo ebuild for munin

2005-09-26 Thread martin hudec
Hello,

On Sat, Sep 24, 2005 at 07:25:11PM +0200 or thereabouts, Nagatoro wrote:
 Did you look at the attachment list for that bug? There is an ebuild...
  
  Yup, I did. But I am not considering version 1.0.5 (ebuild from
  January 2005), to be actual in these times, when there is version
  1.2.3 (from April 2005). Therefore I was asking what one need to
  create an ebuild. Already found that on gentoo ebuild doc at:
  http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2chap=1

  So I am about to take a look into it..

-- 
martin hudec


   * 421 907 303 393
   * [EMAIL PROTECTED]
   * http://www.aeternal.net

Nothing travels faster than the speed of light with the possible 
exception of bad news, which obeys its own special laws.

   Douglas Adams, The Hitchhiker's Guide to the Galaxy


pgphzdtao15J7.pgp
Description: PGP signature


[gentoo-user] QOS setup advice

2005-09-26 Thread Patrick Marquetecken
Hi,

This is my situation

  internet (38mbit)
|
|
|
lan-1 (34mbit)  lan-2 (4mbit)

There is a 38mbit connection to the internet and lan-2 may use max 4mbit
and lan-1 34mbit.
Is it enough to create a root cbq queue of 4mbit on the lan-2 interface
and a root cbq queue of 34 mbit for lan-1?
The traffic of the two lans is compleet separate, and different.

TIA
Patrick

-- 
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] printing - via windows PC

2005-09-26 Thread ian
Nick and Michael,

Thanks for the information, I shall try it out tonight.

Cheers again
Ian

 On Mon, 26 Sep 2005 16:55:51 +1200
 Nick Rout wrote:

 from

http://www.linuxprinting.org/kpfeifle/LinuxKongress2002/Tutorial/VI.CUPS-Connections/VI.tutorial-handout-cups-connections.html

 The smbspool program is provided with SAMBA starting with SAMBA
 2.0.6. Once you have made the link [1] and restarted CUPS you can
 configure your printers with one of the following device URIs:

smb://workgroup/server/sharename
smb://server/sharename
smb://user:password@workgroup/server/sharename
smb://user:password@server/sharename

 Ooops I probably should have included this:

 The workgroup name needs only to be specified if your system is using
 a different workgroup than the server. The user:password strings
 are required when printing to Windows NT/2000 servers or to shares with
 passwords enabled under Windows 95, 98, or XP.

 Note: The Samba client transmits the password in clear text! This makes
 printing to Samba servers insecure! (One only needs to enter ps
 -auxwww | grep smb during the job transmission to the Windows server
 to see the whole URI-string including the password...) It is therefore
 strongly recommended to either use a separate account only for printing
 on the Windows server (best without writable home directory).
 Otherwise,
 connect all printers to servers running GNU/Linux or Unix.

 The KDEPrint Add Printer Wizard has a comfortable facility for
 scanning the network for available printer shares on Windows (and
 Samba) servers.

 --
 Nick Rout [EMAIL PROTECTED]

 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] QOS setup advice

2005-09-26 Thread Ow Mun Heng
On Mon, 2005-09-26 at 09:48 +0200, Patrick Marquetecken wrote:
 Hi,
 
 This is my situation
 
   internet (38mbit)
 |
 |
 |
 lan-1 (34mbit)  lan-2 (4mbit)
 
 There is a 38mbit connection to the internet and lan-2 may use max 4mbit
 and lan-1 34mbit.
 Is it enough to create a root cbq queue of 4mbit on the lan-2 interface
 and a root cbq queue of 34 mbit for lan-1?
 The traffic of the two lans is compleet separate, and different.

Don't know much about cbq, but yeah, that would be the idea. 

There's also the fact that you can do either a hard limit or a soft
limit. (meaning, you can choose to let lan-2 go higher if there's
available bandwidth which is not used etc)
 .

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 16:25:27 up 1 day, 21:11, 6 users, load average: 0.63, 0.90,
0.71 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] properly repartition a windows XP disk?

2005-09-26 Thread Neil Bothwick
On Mon, 26 Sep 2005 07:30:55 +0800, W.Kenworthy wrote:

 Are there any linux partitioning tools that will properly repartition a
 windows XP disk ready for gentoo? 

QTParted, on Knoppix et al.


-- 
Neil Bothwick

*/ \* - Tribbles having a swordfight


pgpeEM0UwA4G7.pgp
Description: PGP signature


[gentoo-user] DSPAM + How to train?

2005-09-26 Thread Ow Mun Heng
Postfixz- amavisd-new(Clamav+spamassassin+dspam)-cyrus

I'm wondering how to properly configure dspam. How do I train it? Right
now, seems like spamassassin is working OK, but dspam is well, doesn't.

I've got a bunch of ham and spam in my mailbox (mbox format) and I just
want to use it to train it. How do I go about doing that? I've tried
dspam_sa_trainer but it keeps complaining of errors. (Can't write to
the /var/amavis/.dspam/ directory, even though I run it as root!!)

Anyone?

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 16:47:02 up 1 day, 21:33, 7 users, load average: 1.20, 1.02,
0.77 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] DSPAM + How to train?

2005-09-26 Thread Patrick Marquetecken

 Postfixz- amavisd-new(Clamav+spamassassin+dspam)-cyrus

 I'm wondering how to properly configure dspam. How do I train it? Right
 now, seems like spamassassin is working OK, but dspam is well, doesn't.

 I've got a bunch of ham and spam in my mailbox (mbox format) and I just
 want to use it to train it. How do I go about doing that? I've tried
 dspam_sa_trainer but it keeps complaining of errors. (Can't write to
 the /var/amavis/.dspam/ directory, even though I run it as root!!)

 Anyone?

I'm not using dspam only spamassassin and i copy the ham and spam to their
learning mail folders and have every night a script that uses sa-learn.

HTH
Patrick


 --
 Ow Mun Heng
 Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
 98% Microsoft(tm) Free!!
 Neuromancer 16:47:02 up 1 day, 21:33, 7 users, load average: 1.20, 1.02,
 0.77


 --
 gentoo-user@gentoo.org mailing list





-- 
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] DSPAM + How to train?

2005-09-26 Thread Ow Mun Heng
On Mon, 2005-09-26 at 11:03 +0200, Patrick Marquetecken wrote:
  Postfixz- amavisd-new(Clamav+spamassassin+dspam)-cyrus
 
  I'm wondering how to properly configure dspam. How do I train it? Right
  now, seems like spamassassin is working OK, but dspam is well, doesn't.
 
  I've got a bunch of ham and spam in my mailbox (mbox format) and I just
  want to use it to train it. How do I go about doing that? I've tried
  dspam_sa_trainer but it keeps complaining of errors. (Can't write to
  the /var/amavis/.dspam/ directory, even though I run it as root!!)
 
  Anyone?
 
 I'm not using dspam only spamassassin and i copy the ham and spam to their
 learning mail folders and have every night a script that uses sa-learn.

Ah... Well, I'm hoping or rather trying to determine if using Dspam
would be better then running spamassassin. right now, my laptop runs
sedmail+clamav-milter+spamassassin milter and it works great. 

I like dspam mainly because of it's cgi interface and it's quarantine
and it's power to the user concept.

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



Re: [gentoo-user] Re: Messed up mail access rights

2005-09-26 Thread Neil Bothwick
On Sat, 24 Sep 2005 10:04:13 +, Mick wrote:

  Providing some basic information such as what mail servers are you
  using would be a big plus to get an answer from someone.

 Unfortunately it's a sendmail setup on a hosted account and no info is
 forthcoming from the admin.  It seems like an mbox style mail
 implementation.  That's all I know about it I'm afraid.

You could telnet into the server to see what the software identifies
itself as.

telnet servername 25 for the SMTP server
telnet servername 110 for the POP server
telnet servername 143 for the IMAP server


-- 
Neil Bothwick

Pentium is a risk processor


pgpJXifsEs7R3.pgp
Description: PGP signature


RE: [gentoo-user] Tomcat JSP access - was MySql administrator

2005-09-26 Thread Rupert Young (Restart)

The more serious problem was that my JSPs were not able to access the
database as they had before. This error is from my log

DCP: Error-1 in sql connection:java.sql.SQLException: DCP: Couldn't get the
connection:url=jdbc:mysql://192.168.1.40/webshop

However, when I change to jdbc:mysql://localhost/webshop it works. So in my
major emerging upgrade something about the network access has changed (maybe
nothing to do with mysql).

Any ideas where these settings are?

Regards,
 
Rupert Young

 -Original Message-
 From: Norberto Bensa [mailto:[EMAIL PROTECTED]
 Sent: 26 September 2005 03:20
 To: gentoo-user@lists.gentoo.org
 Cc: Rupert Young (Restart)
 Subject: Re: [gentoo-user] MySql administrator
 
 Rupert Young (Restart) wrote:
  After upgrading mysql to 4.0.25 I can no longer access the db from my PC
  using MySql administrator. Any ideas?
 
 I don't use mysql administrator myself but:
 
 Have you re-emerged mysql administrator?
 What interface is mysql administraror using (127. or something else)?
 Does mysql have permissions to that interface?
 Is your current installed version of mysql administrator compatible with
 mysql
 4.0.25?
 
 Regards
 --
 Norberto Bensa
 4544-9692
 Ciudad de Buenos Aires, Argentina
 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Apache2 tomcat5 virtual hosts

2005-09-26 Thread z3rosix
hello,

are you sure that the mod_jk modul is loaded before?


greetz

alex

On Sun, Sep 25, 2005 at 08:58:06PM +0100, Rupert Young (Restart) wrote:
Hi,
 
 
 
I've updated apache2 and am going through the process of changing to the
new configs. Is there a how-to which describes virtual hosts?
 
 
 
This is what I have now, but apache2 won't start and I get the error below
 
 
 
VirtualHost 192.168.1.40:80
 
ServerName xxx
 
DocumentRoot /opt/tomcat5/webapps/xx
 
Location /*.jsp
 
JkUriSet worker ajp13:localhost:8009
 
/Location
 
Directory /opt/tomcat5/webapps/xx
 
  DirectoryIndex index.jsp
 
/Directory
 
/VirtualHost
 
 
 
 
 
* Apache2 has detected a syntax error in your configuration files:
 
Syntax error on line 73 of /etc/apache2/vhosts.d/vhosts.conf:
 
Invalid command 'JkUriSet', perhaps mis-spelled or defined by a module not
included in the server configuration
 
 
 
Regards,
 
 
 
Rupert Young
 
 
 /etc/elinks/elinks.conf:196: bad value
 /etc/elinks/elinks.conf:232: unknown option
 /etc/elinks/elinks.conf:232: parse error
 /etc/elinks/elinks.conf:319: unknown option
 /etc/elinks/elinks.conf:319: parse error
 /etc/elinks/elinks.conf:526: unknown option
 /etc/elinks/elinks.conf:526: parse error
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] properly repartition a windows XP disk?

2005-09-26 Thread William Kenworthy
Thanks, I have a knoppix disk already - should have thought to try it
and see.

BillK

On Mon, 2005-09-26 at 09:46 +0100, Neil Bothwick wrote:
 On Mon, 26 Sep 2005 07:30:55 +0800, W.Kenworthy wrote:
 
  Are there any linux partitioning tools that will properly repartition a
  windows XP disk ready for gentoo? 
 
 QTParted, on Knoppix et al.
 
 
-- 
William Kenworthy [EMAIL PROTECTED]
Home!
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] DSPAM + How to train?

2005-09-26 Thread Holly Bostick
Ow Mun Heng schreef:
 I've got a bunch of ham and spam in my mailbox (mbox format) and I 
 just want to use it to train it. How do I go about doing that? I've 
 tried dspam_sa_trainer but it keeps complaining of errors. (Can't 
 write to the /var/amavis/.dspam/ directory, even though I run it as 
 root!!)
 
Stupid question(s) (forgive me, but the obvious has to be eliminated):

1) does the directory /var/amavis/.dspam exist? With write permissions
for the owner and/or root? I've gotta say, a hidden directory in /var/ seems
*awful* weird (and pointless).

2) (because the idea of a dotdir in /var seems so weird...) Does dspam
have a config file where this target is set? Have you tried changing
this target to someplace you can write to (as root)?

Further, what are the ownership and permissions of dspam_sa_trainer (I
don't use dspam, but it sounds like one of those servers that makes up a
whole new user who's the only one who can use it, in which case...)?
Have you tried opeing up dspam_sa_trainer in nano or less? Is it
readable by doing so? If so, does looking at what it does help in any way?

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] cdrom: open failed

2005-09-26 Thread Michael Kintzios


 -Original Message-
 From: Holly Bostick [mailto:[EMAIL PROTECTED] 
 Sent: 25 September 2005 15:19
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] cdrom: open failed
 
 
 Carl Flippin schreef:
  I've recently done an install based loosely on the 1/3 method but
  using 2005.1 as the base. Everything works fine except for an error
  message which I get on bootup. Every time I boot, I get the message:
  
  cdrom: open failed
  cdrom: open failed
 
 I always assumed that this message (which I have also seen on 
 occasion)
 is because
 
 1) udev or /etc/fstab is attempting to mount the detected device
 (normal), 

I also get this message, despite not having set up my fstab to auto
mount the CDROM.  So it shouldn't be a mounting error; probably it is
related to probing the device.  Can't remember if there is a particular
kernel option that brings this about.  Interested to know what it means.
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Unrecognized hard drive

2005-09-26 Thread creber

Hi,

I'm trying to install Gentoo 2005.1 universal on a Toshiba M40-244 laptop.
Unfortunatly, I can't see my hard drive (/dev/hda) after booting with the CD.

During the boot, I've got the folowing message :
Sep 26 13:18:47 livecd ide0: I/O ressource 0x1F0-0x1F7 not free.
Sep 26 13:18:47 livecd ide0: ports already in use, skipping probe

Then, according from /proc/ioports :
...
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : libata - Arg :/
0376-0376 : ide1


Does anyone have an idea to avoid the error ?


When I boot from other livecd (like System Rescue CD), there is no problem.

My hard drive has been partioned :
hda1 : ntfsprimary   bootable
hda2 : fat32   primary
hda5 : ext3logical  (/boot)
hda6 : ext3logical  (/home)
hda7 : ext3logical  (/)
hda8 : swaplogical

And I can't have any Internet connection during the install.

Thanks !


-- 
creber
GnuPG ID: 1CE0BE35368FE6D5
Web: http://www.frederic-blain.com


pgp4c2A46AQ7Y.pgp
Description: PGP signature


Re: [gentoo-user] Tomcat JSP access - was MySql administrator

2005-09-26 Thread Norberto Bensa
Rupert Young (Restart) wrote:
 DCP: Error-1 in sql connection:java.sql.SQLException: DCP: Couldn't get the
 connection:url=jdbc:mysql://192.168.1.40/webshop

 However, when I change to jdbc:mysql://localhost/webshop it works. 

It seems mysql is only accepting connections on 127.0.0.1 (localhost)


 Any ideas where these settings are?

Look in /etc/mysql/my.cnf and /etc/mysqlaccess.conf



 Regards,

 Rupert Young

Regards,

-- 
Norberto Bensa
4544-9692
Ciudad de Buenos Aires, Argentina
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Apache2 tomcat5 virtual hosts (solved)

2005-09-26 Thread Rupert Young (Restart)

I removed the lines

Location /*.jsp
JkUriSet worker ajp13:localhost:8009
/Location

And it worked. I'd changed from jk2 to jk so maybe it was a jk2 thing

Regards,
 
Rupert Young

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: 26 September 2005 10:50
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Apache2 tomcat5 virtual hosts
 
 hello,
 
 are you sure that the mod_jk modul is loaded before?
 
 
 greetz
 
 alex
 
 On Sun, Sep 25, 2005 at 08:58:06PM +0100, Rupert Young (Restart) wrote:
 Hi,
 
 
 
 I've updated apache2 and am going through the process of changing to
 the
 new configs. Is there a how-to which describes virtual hosts?
 
 
 
 This is what I have now, but apache2 won't start and I get the error
 below
 
 
 
 VirtualHost 192.168.1.40:80
 
 ServerName xxx
 
 DocumentRoot /opt/tomcat5/webapps/xx
 
 Location /*.jsp
 
 JkUriSet worker ajp13:localhost:8009
 
 /Location
 
 Directory /opt/tomcat5/webapps/xx
 
   DirectoryIndex index.jsp
 
 /Directory
 
 /VirtualHost
 
 
 
 
 
 * Apache2 has detected a syntax error in your configuration files:
 
 Syntax error on line 73 of /etc/apache2/vhosts.d/vhosts.conf:
 
 Invalid command 'JkUriSet', perhaps mis-spelled or defined by a
 module not
 included in the server configuration
 
 
 
 Regards,
 
 
 
 Rupert Young
 
 
  /etc/elinks/elinks.conf:196: bad value
  /etc/elinks/elinks.conf:232: unknown option
  /etc/elinks/elinks.conf:232: parse error
  /etc/elinks/elinks.conf:319: unknown option
  /etc/elinks/elinks.conf:319: parse error
  /etc/elinks/elinks.conf:526: unknown option
  /etc/elinks/elinks.conf:526: parse error
 
 
 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Digest of gentoo-user@gentoo.org issue 345 (22428-22477)

2005-09-26 Thread SoylentD



[gentoo-user] Java corruption after power failure

2005-09-26 Thread Nelis Lamprecht
Hi,

We recently had a power failure and after booting up my system which
was shut off abruptly I am having problems with Firefox, Gaim and
probably other prorgams I haven't yet discovered. Whenever I visit a
site which has java my browser freezes up and the same thing happens
when someone tries to send me a message via Gaim. I then have to kill
the effected app.

I've tried recompiling blackdown-jre and blackdown-jdk as well as
recompiling Firefox and Gaim but I still get the same result. I have
turned off java in Firefox for now which allows me to carry on with my
work but obviously I would like to get this fixed.

Does anyone have any other suggestions for me ? What else do Firefox
and Gaim have in common that I could possibly re-install ? ..I've
forgotten how to check the dependencies.

Thanks in advance.

Regards,
Nelis

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Java corruption after power failure

2005-09-26 Thread Norman Golisz
 Does anyone have any other suggestions for me ? What else do Firefox
 and Gaim have in common that I could possibly re-install ? ..I've
 forgotten how to check the dependencies.

Try

'emerge -po package_name'

to get a list of depencies.


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] SSH Hangs on

2005-09-26 Thread Edoceo Lists

List,
  I connect to my server with jEdit over SFTP using key pairs.  It works perfectly except that it makes many 
connections to the server and they don't die when I close jEdit.  After a session of developing my server will have 100s 
of ssh/sftp-subsystem process left over.  They will stay there forever too.  I've changed settings on the sshd to kill 
inactive sessions quickly and that works (if I ssh from a machine and do nothing for 30m it dies) but the sftp sessions 
will not gracefully quit.  I have to ssh in and say something like: kill `ps aux |grep 'sshd: [EMAIL PROTECTED]' |awk '{ 
print $2 }'`  to clean them up.  Ideas?


/djb
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] printing - via windows PC

2005-09-26 Thread Stewart Taylor

Ian Porter wrote:

NT_STATUS_ACCESS_DENIED message via the smb url or ERRDOS via the lpd method.  
I have tried to have the smb://[EMAIL PROTECTED]/pcname/printer and also my 


Make sure you have the Linux printer 
setup to log onto the windows computer 
as guest.


HTH
Stewart
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Java corruption after power failure

2005-09-26 Thread Volker Armin Hemmann
On Monday 26 September 2005 15:46, Nelis Lamprecht wrote:
 Hi,

 We recently had a power failure and after booting up my system which
 was shut off abruptly I am having problems with Firefox, Gaim and
 probably other prorgams I haven't yet discovered. Whenever I visit a
 site which has java my browser freezes up and the same thing happens
 when someone tries to send me a message via Gaim. I then have to kill
 the effected app.

 I've tried recompiling blackdown-jre and blackdown-jdk as well as
 recompiling Firefox and Gaim but I still get the same result. I have
 turned off java in Firefox for now which allows me to carry on with my
 work but obviously I would like to get this fixed.

 Does anyone have any other suggestions for me ? What else do Firefox
 and Gaim have in common that I could possibly re-install ? ..I've
 forgotten how to check the dependencies.

 Thanks in advance.

 Regards,
 Nelis

does it happen for all users, or only the one logged in, when it crashed?
Do you still have the problem, when you are removing the ~/.mozilla directory?
Have you booted from a bootcd and fscked your system?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Unrecognized hard drive

2005-09-26 Thread Rumen Yotov
On Mon, 26 Sep 2005 13:41:58 +0200
creber [EMAIL PROTECTED] wrote:

 
 Hi,
 
 I'm trying to install Gentoo 2005.1 universal on a Toshiba M40-244
 laptop. Unfortunatly, I can't see my hard drive (/dev/hda) after
 booting with the CD.
 
 During the boot, I've got the folowing message :
 Sep 26 13:18:47 livecd ide0: I/O ressource 0x1F0-0x1F7 not free.
 Sep 26 13:18:47 livecd ide0: ports already in use, skipping probe
 
 Then, according from /proc/ioports :
 ...
 00f0-00ff : fpu
 0170-0177 : ide1
 01f0-01f7 : libata - Arg :/
 0376-0376 : ide1
 
 
 Does anyone have an idea to avoid the error ?
 
 
 When I boot from other livecd (like System Rescue CD), there is no
 problem.
 
 My hard drive has been partioned :
 hda1 : ntfsprimary   bootable
 hda2 : fat32   primary
 hda5 : ext3logical  (/boot)
 hda6 : ext3logical  (/home)
 hda7 : ext3logical  (/)
 hda8 : swaplogical
 
 And I can't have any Internet connection during the install.
 
 Thanks !
 
 
Hi,
Not of much help but can read about possible boot flags and try some
of them, which have something common with harddisks (is your disk a
IDE/SATA?). Same for your netcard. Check install docs carefully.
Maybe your have another device on the disks' standard IRQ/address,
check also BIOS settings. Google for your laptop+model and gentoo.
HTH.Rumen


pgpgnKbLRrUE2.pgp
Description: PGP signature


[gentoo-user] Unmountable hard drive (already mounted or busy)

2005-09-26 Thread Holly Bostick
That about covers it... I know the events leading up to this situation,
but that's not helping me solve it.

Originally I had a 9GB drive on hdd which contained the original
emergency SuSE installation after I totally broke Gentoo (this was when
the PAM breakage progressively ate my installation, so many of you know
how long ago that was, the time of the Great PAM Uprising).

The drive has not been in use since I reinstalled SuSE (having
eventually learned to use it) and installed Gentoo on hda (which is when
the 9GB drive had moved to hdd from hda), and so the drive remained
connected as hdd but not in use (mounted, etc).

Eventually, in order to remove the drive and send it back to our
emergency drive pool, I reformatted it with QTParted
to FAT32 (but the drive remained connected since I couldn't find the
time to shut down in order to physically remove it). Although the reformat
seemed to go correctly, I noticed that after having done so, I started
seeing messages at boot saying that the drive was listed with thus and
so number of heads and cylinders, the drive was reporting thus and so
different number of heads and cylinders, and that the drive's reported
numbers would be used. It concerned me (since I couldn't imagine what
was reporting the drive geometry in the first place, even though I
understood that whatever it was was reporting the original drive
geometry but had not been updated with the reformat), but the drive was
still not in use, so I let it go.

Finally today I removed the 9GB drive and replaced it with the original
drive that it had replaced as an emergency measure. The 'real' drive
that I re-connected is a 40GB FAT32 drive with 2 partitions, again
connected to hdd.

Because this is the real drive, with files that I now want to use, the
fact that every time I try to mount it, I get the message that /dev/hdd
is busy or the mount point is already in use (no matter what mount point
I use, even a newly-created one) has finally brought the
problem home to roost.

I get it that this drive -- or rather hdd-- is being listed somewhere in
both drive geometry and mount points, and this erroneous entry or
entries is what's preventing me from mounting the partitions, but I
can't figure out where this is happening. /etc/fstab and /etc/mtab don't
refer to it and mount shows it not to be mounted.

The only thing I can think of is that this is some kind of weird evms
conflict, and the drive certainly is listed in evmsgui, but really my
useage of evms is so very limited that I almost should go back to lvm2,
so I really am not getting how this interaction is occurring, and how to
stop it, if in fact it is evms that is causing it (which it probably is).

Can anybody mark me a path out of this swamp? I'd like access to the
files stored on this drive again.

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



Re: [gentoo-user] Unmountable hard drive (already mounted or busy)

2005-09-26 Thread Holly Bostick
Holly Bostick schreef:
 The only thing I can think of is that this is some kind of weird evms
  conflict, and the drive certainly is listed in evmsgui, but really 
 my useage of evms is so very limited that I almost should go back to 
 lvm2, so I really am not getting how this interaction is occurring, 
 and how to stop it, if in fact it is evms that is causing it (which 
 it probably is).
 
Never mind-- it was in fact evms, and somehow I managed to deactivate
hdd and the partitions that comprise it (I swear, I really don't get how
evms works at all), and with the partitions deactivated, I can mount them.

I seriously think that evms is overkill for me, though-- anybody know a
good how-to on how to get rid of it and go back to lvm2, which at least
I could understand? I very much don't like having/using a partition
management system that completely eludes me, especially when it throws
me a curve like this one.

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



[gentoo-user] emerge --sync problem

2005-09-26 Thread Matthew R. Lee
I haven't been able to emerge --sync for the last few days and  I can't figure 
out why.  When I try I get the following output:

Welcome to the UK Mirror Service
More information can be found at our web site: http://www.mirrorservice.org/
Please send comments or questions to [EMAIL PROTECTED]

The UK Mirror Service will now be operating permanently from
mirrorservice.org. If you have bookmarks, automated systems or mirror
site listings pointing to the UK Mirror Service, please ensure they use
our new domain name.

receiving file list ... 
0 files to consider
client: nothing to do: perhaps you need to specify some filenames or the 
--recursive option?

 starting rsync with rsync://212.219.56.146/sites/www.ibiblio.org/gentoo...
 checking server timestamp ...
 retry ...

(and so on for 3 retries)

!!! Rsync has not successfully finished. It is recommended that you keep
!!! trying or that you use the 'emerge-webrsync' option if you are unable
!!! to use rsync due to firewall or other restrictions. This should be a
!!! temporary problem unless complications exist with your network
!!! (and possibly your system's filesystem) configuration.

rsync exits with the following error (code 23) at main.c(653)

emerge-webrsync works.  I'm not sync-ing excessively, usually only once a 
week. I've tried different servers.  I don't have a firewall setup

Any ideas?

Matt
-- 
%%%
Dr. Matthew R. Lee.
CASEB  ECIM
Departamento de Ecologia,
P. Universidad Catolica de Chile,
Alameda 340, Santiago,
CP 6513677
CHILE.

[EMAIL PROTECTED]
[EMAIL PROTECTED]
%%%

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Java corruption after power failure

2005-09-26 Thread Renat Golubchyk
On Mon, 26 Sep 2005 06:46:45 -0700 Nelis Lamprecht
[EMAIL PROTECTED] wrote:
 Does anyone have any other suggestions for me ? What else do Firefox
 and Gaim have in common that I could possibly re-install ?

For example GTK+. Otherwise try the command below. It will show you
common dependencies of Gaim and Firefox:

(equery -C depgraph mozilla-firefox  equery -C depgraph gaim) | \
sed 's#^ \+`--##' | sort | uniq -d

 ..I've forgotten how to check the dependencies.

equery depends package
equery is part of gentoolkit


Cheers,
Renat

-- 
Probleme kann man niemals mit derselben Denkweise loesen,
durch die sie entstanden sind.
  (Einstein)


pgppTSiEeXjOc.pgp
Description: PGP signature


RE: [gentoo-user] emerge --sync problem

2005-09-26 Thread Dave Nebinger
 I haven't been able to emerge --sync for the last few days and  I can't
 figure
 out why.  When I try I get the following output:

Sounds like you're having problems with your rsync mirrors.  What values do
you have in /etc/make.conf?  I have http://gentoo.osuosl.org/ listed as my
primary mirror because it seems to be the most reliable from my end.


-- 
gentoo-user@gentoo.org mailing list



[solved] Re: [gentoo-user] emerge --sync problem

2005-09-26 Thread Matthew R. Lee
Probelm solved, thanks

-- 
%%%
Dr. Matthew R. Lee.
CASEB  ECIM
Departamento de Ecologia,
P. Universidad Catolica de Chile,
Alameda 340, Santiago,
CP 6513677
CHILE.

[EMAIL PROTECTED]
[EMAIL PROTECTED]
%%%

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge --sync problem

2005-09-26 Thread Zac Medico
Matthew R. Lee wrote:
 I haven't been able to emerge --sync for the last few days and  I can't 
 figure 
 out why.  When I try I get the following output:
[snip]
 receiving file list ... 
 0 files to consider
 client: nothing to do: perhaps you need to specify some filenames or the 
 --recursive option?

Has anything changed since the problem started?  For example, an rsync upgrade 
(see /var/log/emerge.log)?

The output of emerge --info may be helpful.

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



Re: [gentoo-user] MySql administrator

2005-09-26 Thread Daniel da Veiga
This is far more a MySQL question than a Gentoo one. Have you located
a script called mysql_fix_privileges somewhere? I believe there was a
change in password format from the version you had and the upgraded
one. Maybe start the server with the OLD_PASSWORD parameter to test...

And check the version for Administrator, maybe you need an upgrade too.

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--

-- 
gentoo-user@gentoo.org mailing list



Re: Re: [gentoo-user] Re: Messed up mail access rights

2005-09-26 Thread Michael Kintzios
 From:: Neil Bothwick [EMAIL PROTECTED]
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user]  Re: Messed up mail access rights
 Date: Mon, 26 Sep 2005 10:19:25 +0100

 On Sat, 24 Sep 2005 10:04:13 +, Mick wrote:
   Providing some basic information such as what mail servers are you
   using would be a big plus to get an answer from someone.
  Unfortunately it's a sendmail setup on a hosted account and no info is
  forthcoming from the admin.  It seems like an mbox style mail
  implementation.  That's all I know about it I'm afraid.
 You could telnet into the server to see what the software identifies
 itself as.

Thanks, this is what I got:

 telnet servername 25 for the SMTP server

220-viv.XXX.com ESMTP Exim 4.50 #1 Mon, 26 Sep 2005 16:39:45 -0400
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.

 telnet servername 110 for the POP server

+OK POP3 viva [cppop 19.0] at [XX.XX.XXX.XXX]

 telnet servername 143 for the IMAP server

* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS AUTH=LOGIN] viv.XX.com 
IMAP4rev1 2003.339-cpanel at Mon, 26 Sep 2005 16:45:38 -0400 (EDT)

Is this enough to ascertain what the access rights ought to be?

PS. What the recommended Gentoo telnet client?
-- 
Regards,
Mick

Lycos email has now 300 Megabytes of free storage... Get it now at 
mail.lycos.co.uk

Re: [gentoo-user] emerge --sync problem

2005-09-26 Thread znx
UK Mirror doesn't run an portage sync. They have snapshots, distfiles and more.

Check your make.conf...

On 26/09/05, Matthew R. Lee [EMAIL PROTECTED] wrote:
 The UK Mirror Service will now be operating permanently from
 mirrorservice.org. If you have bookmarks, automated systems or mirror
 site listings pointing to the UK Mirror Service, please ensure they use
 our new domain name.

 receiving file list ...
 0 files to consider
 client: nothing to do: perhaps you need to specify some filenames or the
 --recursive option?

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Open source search engine

2005-09-26 Thread pepone pepone
Hello i searching a open source search engine, can any body give same advice
or suggestion

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Open source search engine

2005-09-26 Thread John Jolet

check the apach.org site...they have a search engine in the project.
On Sep 26, 2005, at 5:27 PM, pepone pepone wrote:

Hello i searching a open source search engine, can any body give  
same advice

or suggestion

--
gentoo-user@gentoo.org mailing list




--
gentoo-user@gentoo.org mailing list



[gentoo-user] mtab vs grub-install

2005-09-26 Thread James
Hello,

I have installed 6 different Gentoo systems, all stage one without 
difficulty. However, I decide to install via a stage one install
on a pentiumPro-200MHz. After a few days of compiling it works fine
except for  a boot-mounting problem. Basically, the /dev/hda1 as /boot
is not getting mounted automatically upon boot

/etc/fstab:
/dev/cdroms/cdrom0  /mnt/cdrom  iso9660 noauto,ro   0 0
/dev/fd0/mnt/floppy autonoauto  0 0
proc/proc   procdefaults0 0shm 
   /dev/shmtmpfs   nodev,nosuid,noexec 0 0
/dev/hda1   /boot   ext3 noatime,notail  1 2
/dev/hda2   noneswapsw  0 0

cat /proc/mounts upon reboot:
cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / reiserfs rw,noatime 0 0
proc /proc proc rw,nodiratime 0 0
sysfs /sys sysfs rw 0 0
udev /dev tmpfs rw,nosuid 0 0
devpts /dev/pts devpts rw 0 0
shm /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0
usbfs /proc/bus/usb usbfs rw 0 0

cat /etc/mtab:
/dev/hda3 / reiserfs rw,noatime 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
udev /dev tmpfs rw,nosuid 0 0
devpts /dev/pts devpts rw 0 0
shm /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0
usbfs /proc/bus/usb usbfs rw,devmode=0664,devgid=85 0 0

So I manually mount /boot: mount /dev/hda1 /boot

and now they look fine(?)
cat /etc/mtab
/dev/hda3 / reiserfs rw,noatime 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
udev /dev tmpfs rw,nosuid 0 0
devpts /dev/pts devpts rw 0 0
shm /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0
usbfs /proc/bus/usb usbfs rw,devmode=0664,devgid=85 0 0
/dev/hda1 /boot ext3 rw 0 0

 cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / reiserfs rw,noatime 0 0
proc /proc proc rw,nodiratime 0 0
sysfs /sys sysfs rw 0 0
udev /dev tmpfs rw,nosuid 0 0
devpts /dev/pts devpts rw 0 0
shm /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0
usbfs /proc/bus/usb usbfs rw 0 0
/dev/hda1 /boot ext3 rw 0 0

so I re-run 'grub-install /dev/hda'

but I get the same proble, /boot is not mounted upon reboot.

Ideas on fixing this?

James




-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: mtab vs grub-install

2005-09-26 Thread james
James wireless at tampabay.rr.com writes:

 
 /etc/fstab:
 /dev/cdroms/cdrom0  /mnt/cdrom  iso9660 noauto,ro   0 0
 /dev/fd0/mnt/floppy autonoauto  0 0
 proc/proc   procdefaults0 
 0shm 
/dev/shmtmpfs   nodev,nosuid,noexec 0 0
 /dev/hda1   /boot   ext3 noatime,notail  1 2
 /dev/hda2   noneswapsw  0 0
/dev/hda3   /   reiserfsnoatime 0 0


the last line of the /etc/fstab was missed, in the original post, but added 
here.

James

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mtab vs grub-install

2005-09-26 Thread Neil Bothwick
On Mon, 26 Sep 2005 23:32:51 + (UTC), James wrote:

 Basically, the /dev/hda1 as /boot
 is not getting mounted automatically upon boot

You don't want /boot mounted automatically.

 /etc/fstab:
/dev/hda1  /boot ext3 noatime,notail  1 2

notail is not a valid mount option for ext3 (resierfs only AFAIK), that's
why it is not mounting. Remove notail or, ideally, replace it with noauto.


-- 
Neil Bothwick

Apple I (c) Copyright 1767, Sir Isaac Newton.


pgpcWojk3hTaz.pgp
Description: PGP signature


[gentoo-user] Solved: mtab vs grub-install

2005-09-26 Thread James
James wireless at tampabay.rr.com writes:

typo in the /etc/fstab

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT - Tweaking with postgresql.conf

2005-09-26 Thread Raphael Melo de Oliveira Bastos Sales
Hi there,

I was wondering if any of you guys ever tried changing the
configuration options in postgresql.conf to increase performance of
the database server. If so, what did you do and for what purpouse.

Thanks for the attention,

Raphael

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] DSPAM + How to train?

2005-09-26 Thread Ow Mun Heng
On Mon, 2005-09-26 at 12:27 +0200, Holly Bostick wrote:
 Ow Mun Heng schreef:
  I've got a bunch of ham and spam in my mailbox (mbox format) and I 
  just want to use it to train it. How do I go about doing that? I've 
  tried dspam_sa_trainer but it keeps complaining of errors. (Can't 
  write to the /var/amavis/.dspam/ directory, even though I run it as 
  root!!)
  
 Stupid question(s) (forgive me, but the obvious has to be eliminated):

No.. My mistake for not putting it clearer.
 
 1) does the directory /var/amavis/.dspam exist? With write permissions
 for the owner and/or root? I've gotta say, a hidden directory in /var/ seems
 *awful* weird (and pointless).

#ls -ld /var/amavis/
drwxr-x---  7 amavis amavis 4096 Sep 26 15:05 /var/amavis
#ls -ld /var/amavis/.dspam
drwxr-x---   2 amavis root   4096 Sep 26 15:05 .dspam


 
 2) (because the idea of a dotdir in /var seems so weird...) Does dspam
 have a config file where this target is set? Have you tried changing
 this target to someplace you can write to (as root)?

Nope. 

Ah.. Now I see the problem.. hehe.. root does not have write
permission!! What a Homer.

You've been a great help. I was just having one of those days.

(and they say root has all power! Well, obviously not enough over the
user named stupid haha!!)


-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 09:03:56 up 2 days, 13:50, 9 users, load average: 1.13,
0.44, 0.82 


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] 2.6.13 is 10x slower than 2.6.12!

2005-09-26 Thread Iain Buchanan
I just compiled 2.6.13-gentoo-r2 with mostly the same options as
2.6.12-gentoo-r7 (my reference point).  The first time I booted, it took
about 10-15 minutes on my 3GHz P4 laptop!  I watched the gdm background
slowly display over about 30 seconds.

I thought it might have something to do with the new default timer
frequency, which I set to 250Hz instead of 1000Hz (which is the default
for pre 2.6.13 kernels).  According to various online sites, 250Hz
should still be just as usable, and may even use less power, increasing
my battery performance...

So I changed the timer frequency back to 1000Hz, recompiled and now it
seems a little faster, but no where near 2.6.12.  It now boots in maybe
5 minutes, and the gdm theme takes about 5s to display.

glxgears (not maximised) gives me about 30 fps with a radeon 9700!

I checked the frequency governor, and the default is still
'performance'.  /proc/acpi/processor/CPU0/throttling shows the maximum
frequency is active as per normal.

Other kernel options I changed are:
- support for software suspend added (could this be it? I definitely saw
the message that no valid suspend was found in my swapfile,
and /proc/swaps shows that I have swap enabled as per usual)
- removed unnecessary SCSI drivers (I don't have anything SCSI)
- removed SATA support (I definitely don't have SATA)

Info:
Dell Ispiron 9100, 3 GHz HT Pentium 4
2.6.12 and 2.6.13: SMP support for 2 processors included

I've seen 1 post online about the same thing - slow running 2.6.13, so
surely there must be some people in the world running it ok!  Any help
on this would be appreciated.

TIA,

-- 
Iain Buchanan [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2.6.13 is 10x slower than 2.6.12!

2005-09-26 Thread Mark Knecht
On 9/26/05, Iain Buchanan [EMAIL PROTECTED] wrote:
 I just compiled 2.6.13-gentoo-r2 with mostly the same options as
 2.6.12-gentoo-r7 (my reference point).  The first time I booted, it took
 about 10-15 minutes on my 3GHz P4 laptop!  I watched the gdm background
 slowly display over about 30 seconds.



Hi,
   Cannot be a generic problem. I'm running 2.6.13-gentoo-r2 on both
my 32-bit and 64-bit machines. Seems pretty much like my other
kernels.

- Mark

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT: Web mail suggestions...

2005-09-26 Thread Dave Nebinger

I'm running postfix and tpop3d on my site for email delivery.

Everything is working great; internally I can send  receive, and externally 
I can send and receive also (using smtp auth for sending,  tpop3d for 
receiving).


However, I'd like to add the ability to check my email through my web server 
(although it's not running now, that's hardly the point ;-)


I'm looking for suggestions for a good package to plug into the web server 
to provide this functionality.


Anybody out there able to point me to an existing open-source, solid 
package?


Thanks!

Dave

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Any 'sed' geniuses out there?

2005-09-26 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm writing a sed script that will parse the *broken* output of
man2html. I say broken, because the output isn't W3C compliant (html
OR xhtml). I'd like to be able to modify it so that the final outcome
is XHTML 1.0 compliant. I'm running into a problem where the output
doesn't close the p, dt, or dd tags. XHTML requires that tags
containing text be closed. So the problem I'm having is being able to
take note of the starting tag, grab the subsequent paragraph, then
insert the closing tag. What I've got /sort of/ works, but still not.

Here's a sample that has been parsed, but not with the p modifying
elements:

p

Regular expression support is provided by the PCRE library package,
which is open source software, written by Philip Hazel, and copyright
by the University of Cambridge, England.  See a
href=http://www.pcre.org/;http://www.pcre.org//a .

p

Nmap can optionally link to the OpenSSL cryptography toolkit, which is
available from a
href=http://www.openssl.org/;http://www.openssl.org//a .


Here's the entire sedscr (sans comments):

/^$/{
N
/^\n$/d
}
/^Content-type: text\/html/c\
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
s%\(HTML\|P\|HEAD\|TITLE\|BODY\|STRONG\|EM\|H[123456]\|D[DLT]\|T[TDRH]\)%\L\1%g
s%\/\(HTML\|P\|A\|HEAD\|TITLE\|BODY\|STRONG\|EM\|H[123456]\|D[DLT]\|T[TDRH]\)%\L/\1%g
s%BR%br /%g
s%HR%hr /%g
s%[Dd][Ll] [Cc][Oo][Mm][Pp][Aa][Cc][Tt]%dl compact=compact%
s%A HREF\(.*\)%a href\1%g
s%A NAME\(.*\)%a name\1%g
/^[IB].*$/{
N
s%\([IB]\)\(.*\)\(\/[IB]\)\n%\L\1\2\L\3%
}
/^[ib].*$/{
N
s%\n%%
}
s%[IB]%\L%
s%\/[IB]%\L%
/body/,/\/body/{
/p/!{
H
d
}
/p/{
x
s/$/\/p/
G
}
}
/^p$/,/\p$/{
N
/^\np$/d
}


Here's the funkiness after parsing with the last part
(/body/,/\/body/{) enabled:

p

p

Regular expression support is provided by the PCRE library package,
which is open source software, written by Philip Hazel, and copyright
by the University of Cambridge, England.  See a
href=http://www.pcre.org/;http://www.pcre.org//a ./p

p

p

Nmap can optionally link to the OpenSSL cryptography toolkit, which is
available from a
href=http://www.openssl.org/;http://www.openssl.org//a ./p



(Just in case you were wondering, this IS from the nmap man page. ;-)
Thanks.

- --
gentux
echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDOMBkLYGSSmmWCZMRAnnrAJwKNqr+/OgBdDD8X8PXX6rpKUfaxQCfU9PW
Bs2oA/76RYFbbc7DWEpfTM8=
=gcc/
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Any 'sed' geniuses out there?

2005-09-26 Thread Dave Nebinger

I'm writing a sed script that will parse the *broken* output of
man2html. I say broken, because the output isn't W3C compliant (html
OR xhtml). I'd like to be able to modify it so that the final outcome
is XHTML 1.0 compliant. I'm running into a problem where the output
doesn't close the p, dt, or dd tags.


Won't html tidy do this kind of thing for you?

It would seem to be easier to reuse an existing tested tool rather than 
trying to roll your own...



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Any 'sed' geniuses out there?

2005-09-26 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dave Nebinger wrote:

 I'm writing a sed script that will parse the *broken* output of
 man2html. I say broken, because the output isn't W3C compliant (html
 OR xhtml). I'd like to be able to modify it so that the final outcome
 is XHTML 1.0 compliant. I'm running into a problem where the output
 doesn't close the p, dt, or dd tags.


 Won't html tidy do this kind of thing for you?

 It would seem to be easier to reuse an existing tested tool rather
 than trying to roll your own...


Possibly.  Didn't know about that.  I'll look into it.

- --
gentux
echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDOMMTLYGSSmmWCZMRAokvAJoDPchPx83taV9a70hSODam/1SBMwCdGDtU
JGHSO7g47BfuV3JNSGjsK7A=
=41BE
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Any 'sed' geniuses out there?

2005-09-26 Thread Dave Nebinger

Well, while I enjoy a good challenge (especially sed, awk, or perl),
htmltidy does the trick quite nicely.  It doesn't indent the way that
I do, but my first priority was making the output W3C compliant, and
htmltidy's output is that.


I haven't used it in awhile, but there may be some command line options to 
assist with the indentation...


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2.6.13 is 10x slower than 2.6.12!

2005-09-26 Thread Iain Buchanan
On Mon, 2005-09-26 at 19:52 -0700, Mark Knecht wrote:
 On 9/26/05, Iain Buchanan [EMAIL PROTECTED] wrote:
  I just compiled 2.6.13-gentoo-r2 with mostly the same options as
  2.6.12-gentoo-r7 (my reference point).  The first time I booted, it took
  about 10-15 minutes on my 3GHz P4 laptop!  I watched the gdm background
  slowly display over about 30 seconds.
 
Cannot be a generic problem. I'm running 2.6.13-gentoo-r2 on both
 my 32-bit and 64-bit machines. Seems pretty much like my other
 kernels.

Can I ask laptop or desktop, and what brand?

Can anyone else confirm 2.6.13 running ok on a Dell laptop?

thanks,
-- 
Iain Buchanan [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] idea about small footprint gentoo

2005-09-26 Thread Iain Buchanan
On Fri, 2005-09-23 at 10:27 +0200, Sascha Lucas wrote:
 Hi Iain,
 
 thanks a lot for your post (for the tips etc.).

no worries

 Do you have a website were you publish your concept?

That would be nice wouldn't it?  Unfortunately, no, I never had time to
do that.

 A System with X is also my intension.

then you'll probably have more problems than I did.  I ran a very simple
installation.

Glad to be some help!
-- 
Iain Buchanan [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Any 'sed' geniuses out there?

2005-09-26 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dave Nebinger wrote:

 Well, while I enjoy a good challenge (especially sed, awk, or perl),
 htmltidy does the trick quite nicely. It doesn't indent the way that
 I do, but my first priority was making the output W3C compliant, and
 htmltidy's output is that.


 I haven't used it in awhile, but there may be some command line
 options to assist with the indentation...

There is the '-i' option, but the indentation is minimal.  I tend to
be pretty anal about indentation.  But like I said, I'm not really
concerned about that.  My main concern was validation, and htmltidy
gives me that.

Thanks again.

- --
gentux
echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDOM1KLYGSSmmWCZMRAs3qAJ9hoq5MwibAnIEqfnJr/75lnlQlPgCgj6Wm
hhFCE/G1Leo7ZUjExnM6OW8=
=N9UW
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2.6.13 is 10x slower than 2.6.12!

2005-09-26 Thread Mark Knecht
On 9/26/05, Iain Buchanan [EMAIL PROTECTED] wrote:
 On Mon, 2005-09-26 at 19:52 -0700, Mark Knecht wrote:
  On 9/26/05, Iain Buchanan [EMAIL PROTECTED] wrote:
   I just compiled 2.6.13-gentoo-r2 with mostly the same options as
   2.6.12-gentoo-r7 (my reference point).  The first time I booted, it took
   about 10-15 minutes on my 3GHz P4 laptop!  I watched the gdm background
   slowly display over about 30 seconds.
 
 Cannot be a generic problem. I'm running 2.6.13-gentoo-r2 on both
  my 32-bit and 64-bit machines. Seems pretty much like my other
  kernels.

 Can I ask laptop or desktop, and what brand?

 Can anyone else confirm 2.6.13 running ok on a Dell laptop?

 thanks,

Compaq R3070us 3GHz laptop
Asus/Via A7V266-E desktop
Emachines P4 3GHz desktop
Asus/Nvidia A8N-E 3GHz AMD64 desktop


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] root (/) read-only?

2005-09-26 Thread dave waddelove
Hey guys,

Quite often if I leave my computer on for a few hours, I come back and
try to do something and I find that my system has all of a sudden
changed from rw to ro on my root partition... Has anyone else
experienced this? One thing I noticed is that I get an error
message upon sstartup about not being able to find fsck.xfs upon
startup for /dev/hda4 (my root partition). could this have
anything to do with it? I am running into a lot of problems
beacuse of this since a lot of programs rely on writing tmp files to
/tmp on my root partition. A lot of programs freeze or crap out
and I have to do a hard reboot, which I know will cause a problem one
of these days

Thanks in advance!

Dave


[gentoo-user] Weird Buffer I/O error in dev ndb0

2005-09-26 Thread Phill MV
Evertyime I boot up I gett a long string of weird buffer errors shortly after udev starts up;
stuff like 

nbd0: Request when not-ready

end_request: I/O error, dev nbd0, sector 4294965120

where ndb0 changes up to ndb12.

I still have no clue what dev/ndb0 refers to, but the computer still seems to be running fine.
fsck'ing the drives revealed nothing and I might run a memory test later on.
(some part of me fears it's my ram, tho, which sounds like it'd make sense. )


Any ideas?



dmesg follows.

hif bin # dmesg
hda1 hda2 hda3 hda4  hda5 
hdb: max request size: 128KiB
hdb: 78156288 sectors (40016 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(133)
hdb: cache flushes supported
hdb: hdb1
hdc: ATAPI 48X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 24X CD-ROM drive, 128kB Cache, UDMA(33)
ide-floppy driver 0.99.newide
libata version 1.11 loaded.
ieee1394: raw1394: /dev/raw1394 device initialized
usbmon: debugs is not available
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt :00:10.3[D] - Link [LNKE] - GSI 10 (level, low) - IRQ 10
ehci_hcd :00:10.3: VIA Technologies, Inc. USB 2.0
ehci_hcd :00:10.3: new USB bus registered, assigned bus number 1
ehci_hcd :00:10.3: irq 10, io mem 0xe880
ehci_hcd :00:10.3: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
USB Universal Host Controller Interface driver v2.2
ACPI: PCI Interrupt :00:10.0[A] - Link [LNKE] - GSI 10 (level, low) - IRQ 10
uhci_hcd :00:10.0: VIA Technologies, Inc. VT82x UHCI USB 1.1 Controller
uhci_hcd :00:10.0: new USB bus registered, assigned bus number 2
uhci_hcd :00:10.0: irq 10, io base 0xd800
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt :00:10.1[B] - Link [LNKE] - GSI 10 (level, low) - IRQ 10
uhci_hcd :00:10.1: VIA Technologies, Inc. VT82x UHCI USB 1.1 Controller (#2)
uhci_hcd :00:10.1: new USB bus registered, assigned bus number 3
uhci_hcd :00:10.1: irq 10, io base 0xd400
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt :00:10.2[C] - Link [LNKE] - GSI 10 (level, low) - IRQ 10
uhci_hcd :00:10.2: VIA Technologies, Inc. VT82x UHCI USB 1.1 Controller (#3)
uhci_hcd :00:10.2: new USB bus registered, assigned bus number 4
uhci_hcd :00:10.2: irq 10, io base 0xd000
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.9rc2 (Thu Mar 24 10:33:39 2005 UTC).
ACPI: PCI Interrupt Link [LNKF] enabled at IRQ 3
PCI: setting IRQ 3 as level-triggered
ACPI: PCI Interrupt :00:11.5[C] - Link [LNKF] - GSI 3 (level, low) - IRQ 3
PCI: Setting latency timer of device :00:11.5 to 64
codec_read: codec 0 is not valid [0x107e5370]
codec_read: codec 0 is not valid [0x107e5370]
codec_read: codec 0 is not valid [0x107e5370]
codec_read: codec 0 is not valid [0x107e5370]
ALSA device list:
 #0: VIA 8235 with AD1980 at 0xe000, irq 3
oprofile: using timer interrupt.
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
ip_conntrack version 2.1 (2047 buckets, 16376 max) - 212 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_recent v0.3.1: Stephen Frost [EMAIL PROTECTED]. http://snowman.net/projects/ipt_recent/
arp_tables: (C) 2002 David S. Miller
NET: Registered protocol family 1
NET: Registered protocol family 17
ACPI wakeup devices:
PCI0 PCI1 USB0 USB1 USB2 SU20 SLAN
ACPI: (supports S0 S1 S4 S5)
ReiserFS: hda3: found reiserfs format 3.6 with standard journal
ReiserFS: hda3: using ordered data mode
ReiserFS: hda3: journal params: device hda3, size 8192, journal first
block 18, max trans len 1024, max batch 900, max commit age 30, max
trans age 30
ReiserFS: hda3: checking transaction log (hda3)
ReiserFS: hda3: journal-1153: found in header: first_unflushed_offset 6104, last_flushed_trans_id 917135
ReiserFS: hda3: journal-1206: Starting replay from offset 3939069125990360, trans_id 0
ReiserFS: hda3: journal-1299: Setting newest_mount_id to 307
ReiserFS: hda3: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 200k freed
nbd0: Request when not-ready
end_request: I/O error, dev nbd0, sector 4294965120
Buffer I/O error on device nbd0,