Re: [gentoo-user] Daylight time change and cron run twice

2012-11-06 Thread Michael George
On Sun, Nov 04, 2012 at 06:36:50PM -0500, Michael Orlitzky wrote:
 On 11/04/2012 03:16 PM, Michael George wrote:
Local  time changes of less than three hours, such as those
  caused by the start or end of Daylight Saving Time, are handled
  specially.  This only applies to jobs that run at a  specific
  time and jobs that are run with a granularity greater than one
  hour.  Jobs that run more frequently are scheduled normally.
  
  ...
  
  So it seems that DST changes are accommodated.  Is there some
  side-effect of the cron.period method of scheduling tasks that I'm
  overlooking?
  
 
 The run-crons script is triggered every ten minutes, and so avoids the
 special handling. But the script is broken, and has been so forever:
 
   https://bugs.gentoo.org/show_bug.cgi?id=69777

I'm surprised that hasn't been fixed by now.  Looking at the cron guide
(https://bugs.gentoo.org/show_bug.cgi?id=69777), is bcron subject to the
same problem because the run-crons script is in cronbase and not part of
the cron daemon?

-- 
-M

Rident stolidi verba Latina.
-Ovid



[gentoo-user] Daylight time change and cron run twice

2012-11-04 Thread Michael George
Last night was our change from EDT to EST.  So we went through the
1am-2am hour twice.  My crontab has the following:

# for vixie cron
# $Header:
# /var/cvsroot/gentoo-x86/sys-process/vixie-cron/files/crontab-3.0.1-r4,v
# 1.3 2011/09/20 15:13:51 idl0r Exp $

# Global variables
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly
59  *  * * *rootrm -f /var/spool/cron/lastrun/cron.hourly
9  3  * * * rootrm -f /var/spool/cron/lastrun/cron.daily
19 4  * * 6 rootrm -f /var/spool/cron/lastrun/cron.weekly
29 5  1 * * rootrm -f /var/spool/cron/lastrun/cron.monthly
*/10  *  * * *  roottest -x /usr/sbin/run-crons  /usr/sbin/run-crons

So the cron.daily file should be removed at 3:09am -- it should only run
once as the 2am-forward time only occurred once.

However, this morning I have two sets of email from my daily jobs
running.  At this time:

Date: Sun,  4 Nov 2012 02:20:05 -0500 (EST)

and this time:

Date: Sun,  4 Nov 2012 03:10:04 -0500 (EST)

Why would it have run twice?

-- 
-M

Rident stolidi verba Latina.
-Ovid



Re: [gentoo-user] Daylight time change and cron run twice

2012-11-04 Thread Michael George
Well, this is what I initially thought would happen.  However, my
crontab indicates that cron.daily would be removed at 3:09am.  But at
2am EDT, the time changed back to 1am EST, never having reached 3:09am
EDT.  Then after an hour it would be 2am EST, or 2am again.  See here:
http://www.webexhibits.org/daylightsaving/b2.html

But 3:09am would never have been reached last night during EDT, only at
EST, so I don't expect something after 3am would ever suffer from the
change.

What am I missing?

On Sun, Nov 04, 2012 at 04:36:02PM +0200, Alan McKinnon wrote:
 On Sun, 4 Nov 2012 08:58:54 -0500
 Michael George geo...@mutualdata.com wrote:
 
  Last night was our change from EDT to EST.  So we went through the
  1am-2am hour twice.  My crontab has the following:
  
  # for vixie cron
  # $Header:
  # /var/cvsroot/gentoo-x86/sys-process/vixie-cron/files/crontab-3.0.1-r4,v
  # 1.3 2011/09/20 15:13:51 idl0r Exp $
  
  # Global variables
  SHELL=/bin/bash
  PATH=/sbin:/bin:/usr/sbin:/usr/bin
  MAILTO=root
  HOME=/
  
  # check scripts in cron.hourly, cron.daily, cron.weekly and
  cron.monthly 59  *  * * *rootrm
  -f /var/spool/cron/lastrun/cron.hourly 9  3  * * * rootrm
  -f /var/spool/cron/lastrun/cron.daily 19 4  * * 6 rootrm
  -f /var/spool/cron/lastrun/cron.weekly 29 5  1 * * rootrm
  -f /var/spool/cron/lastrun/cron.monthly */10  *  * * *  roottest
  -x /usr/sbin/run-crons  /usr/sbin/run-crons
  
  So the cron.daily file should be removed at 3:09am -- it should only
  run once as the 2am-forward time only occurred once.
  
  However, this morning I have two sets of email from my daily jobs
  running.  At this time:
  
  Date: Sun,  4 Nov 2012 02:20:05 -0500 (EST)
  
  and this time:
  
  Date: Sun,  4 Nov 2012 03:10:04 -0500 (EST)
  
  Why would it have run twice?
 
 
 This is clearly documented in the man pages for Vixie cron.
 
 cron is utterly unaware of the vagaries and stupidities that humans get
 up to recording the passage of time. If your crontab is this:
 
 0 0 * * * something
 
 then when the clock says it is 0 minutes past the 0 hour, the cron will
 run.
 
 That time happened twice. Therefore the cron ran twice.
 
 You can't really blame cron for not picking up that an event that is
 guaranteed to happen once in a period actually happened twice in a
 period. There comes a time when a developer has to step back and say
 
 To hell with that, it's out of contract spec and actually not my
 problem!
 
 There are other crons that avoid this problem by taking a completely
 different approach. You configure them by declaring you want a job to
 run in a given period of time. When daylight saving kicks in, it sees a
 job has already run and doesn't do it again. But you have to lose the
 ability to specify the exact time a job must run at to do it this way.
 
 
 -- 
 Alan McKinnon
 alan.mckin...@gmail.com
 
 

-- 
-M

Rident stolidi verba Latina.
-Ovid



Re: [gentoo-user] Daylight time change and cron run twice

2012-11-04 Thread Michael George
On Sun, Nov 04, 2012 at 04:36:02PM +0200, Alan McKinnon wrote:
 On Sun, 4 Nov 2012 08:58:54 -0500
 Michael George geo...@mutualdata.com wrote:
 
  Last night was our change from EDT to EST.  So we went through the
  1am-2am hour twice.  My crontab has the following:
  
  # for vixie cron
  # $Header:
  # /var/cvsroot/gentoo-x86/sys-process/vixie-cron/files/crontab-3.0.1-r4,v
  # 1.3 2011/09/20 15:13:51 idl0r Exp $
  
  # Global variables
  SHELL=/bin/bash
  PATH=/sbin:/bin:/usr/sbin:/usr/bin
  MAILTO=root
  HOME=/
  
  # check scripts in cron.hourly, cron.daily, cron.weekly and
  cron.monthly 59  *  * * *rootrm
  -f /var/spool/cron/lastrun/cron.hourly 9  3  * * * rootrm
  -f /var/spool/cron/lastrun/cron.daily 19 4  * * 6 rootrm
  -f /var/spool/cron/lastrun/cron.weekly 29 5  1 * * rootrm
  -f /var/spool/cron/lastrun/cron.monthly */10  *  * * *  roottest
  -x /usr/sbin/run-crons  /usr/sbin/run-crons
  
  So the cron.daily file should be removed at 3:09am -- it should only
  run once as the 2am-forward time only occurred once.
  
  However, this morning I have two sets of email from my daily jobs
  running.  At this time:
  
  Date: Sun,  4 Nov 2012 02:20:05 -0500 (EST)
  
  and this time:
  
  Date: Sun,  4 Nov 2012 03:10:04 -0500 (EST)
  
  Why would it have run twice?
 
 
 This is clearly documented in the man pages for Vixie cron.
 
 cron is utterly unaware of the vagaries and stupidities that humans get
 up to recording the passage of time. If your crontab is this:
 
 0 0 * * * something
 
 then when the clock says it is 0 minutes past the 0 hour, the cron will
 run.
 
 That time happened twice. Therefore the cron ran twice.
 
 You can't really blame cron for not picking up that an event that is
 guaranteed to happen once in a period actually happened twice in a
 period. There comes a time when a developer has to step back and say
 
 To hell with that, it's out of contract spec and actually not my
 problem!
 
 There are other crons that avoid this problem by taking a completely
 different approach. You configure them by declaring you want a job to
 run in a given period of time. When daylight saving kicks in, it sees a
 job has already run and doesn't do it again. But you have to lose the
 ability to specify the exact time a job must run at to do it this way.

Actually, checking the page for cron(8) of vixie-cron, we see this:

Daylight Saving Time and other time changes
  Local  time changes of less than three hours, such as those
caused by the start or end of Daylight Saving Time, are handled
specially.  This only applies to jobs that run at a  specific
time and jobs that are run with a granularity greater than one
hour.  Jobs that run more frequently are scheduled normally.

  If time has moved forward, those jobs that would have run in  the
interval  that  has been skipped will be run immediately.  
Conversely,
if time has moved backward, care is taken to avoid running jobs 
twice.

   Time changes of more than 3 hours are considered to be corrections
 to  the  clock  or timezone, and the new time is used 
immediately.

So it seems that DST changes are accommodated.  Is there some
side-effect of the cron.period method of scheduling tasks that I'm
overlooking?

-- 
-M

Rident stolidi verba Latina.
-Ovid



[gentoo-user] pg_upgrade from 9.0.5 to 9.1.1

2011-11-12 Thread Michael George
I am trying to upgrade my postgresql server from 9.0 to 9.1.  I've
installed 9.1.1 and used eselect to make it the slot to run for the
system.

When I run:
pg_upgrade -v --check -d /var/lib/postgresql/9.0/data -D \
/var/lib/postgresql/9.1/data -b /usr/lib64/postgresql-9.0/bin -B \
/usr/lib64/postgresql-9.1/bin

I get:
Running in verbose mode
Performing Consistency Checks
-
Checking current, bin, and data directories ok
Checking cluster versions   ok
/usr/lib64/postgresql-9.0/bin/pg_ctl -w -l /dev/null -D
/var/lib/postgresql/9.0/data -o -p 5432 -c autovacuum=off -c
autovacuum_freeze_max_age=20 start  /dev/null 21

When I run that command manually and send the output to a logfile, it
appears that it's trying to find postgresql's *.conf files in the data
directory rather than in /etc/postgresql-9.0.  I don't see a way to
specify the location of the conf files separate from the data files.

How do I proceed?

-- 
-Michael

Rident stolidi verba Latina.
-Ovid



Re: [gentoo-user] pg_upgrade from 9.0.5 to 9.1.1

2011-11-12 Thread Michael George
On Sun, Nov 13, 2011 at 12:31:58AM -0500, Michael George wrote:
 I am trying to upgrade my postgresql server from 9.0 to 9.1.  I've
 installed 9.1.1 and used eselect to make it the slot to run for the
 system.
 
 When I run:
 pg_upgrade -v --check -d /var/lib/postgresql/9.0/data -D \
 /var/lib/postgresql/9.1/data -b /usr/lib64/postgresql-9.0/bin -B \
 /usr/lib64/postgresql-9.1/bin
 
 I get:
 Running in verbose mode
 Performing Consistency Checks
 -
 Checking current, bin, and data directories ok
 Checking cluster versions   ok
 /usr/lib64/postgresql-9.0/bin/pg_ctl -w -l /dev/null -D
 /var/lib/postgresql/9.0/data -o -p 5432 -c autovacuum=off -c
 autovacuum_freeze_max_age=20 start  /dev/null 21
 
 When I run that command manually and send the output to a logfile, it
 appears that it's trying to find postgresql's *.conf files in the data
 directory rather than in /etc/postgresql-9.0.  I don't see a way to
 specify the location of the conf files separate from the data files.
 
 How do I proceed?

According to:
http://archives.postgresql.org/pgsql-hackers/2011-09/msg01482.php

The normal workaround is to make symlinks and delete them after the
pg_upgrade.  It appears they might implement a solution, but it isn't in
place for 9.1.  :(

-- 
-M

Rident stolidi verba Latina.
-Ovid



Re: [gentoo-user] cups 1.3 - 1.4 no more avahi?

2011-06-27 Thread Michael George
On Sun, Jun 26, 2011 at 11:31:36AM +0100, Stroller wrote:
 
 On 26 June 2011, at 04:42, Michael George wrote:
 
  I upgraded cups to 1.4.6 today and my Macs could no longer print to it.
  ?
  
  I'm not sure what I'm missing for the Macs to be happy like they were
  with 1.3 and avahi.
 
 Version of CUPS on your Mac?
 
 http://localhost:631/

1.4.7.  I have Show printers shared by other systems enabled.  I
notice that there is no more avahi USE flag for 1.4.  I had that enabled
for 1.3 and the Macs found the printer automagically.

Thank you!

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.




[gentoo-user] cups 1.3 - 1.4 no more avahi?

2011-06-25 Thread Michael George
I upgraded cups to 1.4.6 today and my Macs could no longer print to it.
I looked and the avahi USE flag is gone, so I checked the avahi wiki
page to see if some other flag should be used.  That page said this:

Zeroconf isn't enabled by default so you have to browse the CUPS admin
page and enable it. Open http://localhost:631/admin if you're running it
on localhost and enable the Share published printers connected to this
system option. Change Settings will restart CUPS and your printer
should be instantly visible to zeroconf-aware applications in the local
network.

Unfortunately, shared printers from other systems aren't usable with
zero configuration by default. You have to check Show shared printers
from other systems under Administration and you have to actively search
for them and manually add them in the webinterface. 

I looked and I already have those options set.  My config file has the
following sharing options:

Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseAddress @LOCAL
BrowseLocalProtocols CUPS

I'm not sure what I'm missing for the Macs to be happy like they were
with 1.3 and avahi.

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.




[gentoo-user] sane-backends

2011-04-16 Thread Michael George
I just got a new scanner which will be supported in version 1.0.22 of
the sane-backend package.  However, that version isn't in portage yet.
How do I find who the maintainers of the portage package are so that I
can contact them to see if I can help get that port made available?

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.




[gentoo-user] problems with mutt and mimetypes

2011-03-21 Thread Michael George
I'm having trouble with mutt opening other applications for various mime
types.

I'm sure this worked last month, and from what I can see, I had
mutt-1.5.20-r18 and firefox-3.6.13.  I now have mutt-1.5.21-r1 and
firefox-3.6.15.

mutt -nF /dev/null -Q mailcap_path gives me:

mailcap_path=~/.mailcap:/usr/share/mutt/mailcap:/etc/mutt/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap

I have nothing for the tag text/html in my muttrc file.

I have text/html; firefox %s in my ~/.mailcap file.

I have the following in /etc/mailcap:

text/html; /usr/bin/lynx -force_html '%s'; needsterminal;
description=HTML Text; nametemplate=%s.html
text/html; /usr/bin/lynx -dump -force_html '%s'; copiousoutput;
description=HTML Text; nametemplate=%s.html

and if I put auto_view in my muttrc file, it will try to open the
files with lynx.  Yet putting the firefox %s command into /etc/mailcap
doesn't open firefox.

All the docs I can find seem to indicates that what I have configured
should try to open firefox like it used to, but it isn't.  Is there
perhaps some type of connecting package that needed to be rebuild with
firefox for this to work?

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.




Re: [gentoo-user] problems with mutt and mimetypes

2011-03-21 Thread Michael George
On Tue, Mar 22, 2011 at 07:23:13AM +0800, Amankwah wrote:
 On Mon, Mar 21, 2011 at 06:44:44PM -0400, Michael George wrote:
  I'm having trouble with mutt opening other applications for various mime
  types.
  
  I'm sure this worked last month, and from what I can see, I had
  mutt-1.5.20-r18 and firefox-3.6.13.  I now have mutt-1.5.21-r1 and
  firefox-3.6.15.
  
  mutt -nF /dev/null -Q mailcap_path gives me:
  
  mailcap_path=~/.mailcap:/usr/share/mutt/mailcap:/etc/mutt/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap
  
  I have nothing for the tag text/html in my muttrc file.
  
  I have text/html; firefox %s in my ~/.mailcap file.
  
  I have the following in /etc/mailcap:
  
  text/html; /usr/bin/lynx -force_html '%s'; needsterminal;
  description=HTML Text; nametemplate=%s.html
  text/html; /usr/bin/lynx -dump -force_html '%s'; copiousoutput;
  description=HTML Text; nametemplate=%s.html
  
  and if I put auto_view in my muttrc file, it will try to open the
  files with lynx.  Yet putting the firefox %s command into /etc/mailcap
  doesn't open firefox.
  
  All the docs I can find seem to indicates that what I have configured
  should try to open firefox like it used to, but it isn't.  Is there
  perhaps some type of connecting package that needed to be rebuild with
  firefox for this to work?
  
 
 try to using the /usr/bin/firefox in your ~/.mailcap instead?

Thank you for your reply, but that didn't work, either.

However, I tried replacing the second text/html entry from /etc/mailcap
with:
text/html; /usr/bin/firefox %s; copiousoutput; description=HTML Text;
nametemplate=%s.html

and if I had auto_view text/html in my .muttrc file, it would open a
firefox tab as soon as I open the mail message.  If I comment that line out,
it won't display the html in a firefox window even when I select that
part of the mail...

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.




Re: [gentoo-user] bypassing CUPS - howto

2010-05-09 Thread Michael George
On Sat, May 08, 2010 at 11:10:04PM -0400, Michael George wrote:
 On Thu, Apr 29, 2010 at 08:47:49AM -0500, Dale wrote:
  Helmut Jarausch wrote:
   On 29 Apr, Stroller wrote:
  
   On 28 Apr 2010, at 15:27, Helmut Jarausch wrote:

   ...
   Why do you need to bypass CUPS?

   Thanks, it's just for debugging.
  
   Printing some pdf files with acroread makes some printers
   hang here.
   To locate the problem source, I'd like to check if the printer
   works if it gets the postscript or pdf-file (there printer is assumed
   to accept postscript level 3).
  
   Have you tried using `lpr` at the command line?
  
   I *believe* something like `lpr /path/to/file.pdf` should work.
  

   Thanks, but lpr is just a front-end for cups.
  
  
  
  I tried that here and got a error.  It may be a bad setting on my end 
  but it didn't like the idea.
  
  r...@smoker ~ # lpr /data/pdf/LivingWill.pdf
  lpr: Unsupported format 'application/pdf'!
  r...@smoker ~ #
 
 I started noticing this today too.  My Macs aren't able to successfully
 print, I just get an error in the error log about application/pdf being
 an unsupported format.
 
 If I take a PDF generated on the Mac and move it to my Linux system and
 run lpr filename.pdf I get:
 lpr: Unsupported format 'application/pdf'!
 
 If I use pdftops to generate a PS file, lpr filename.ps works
 fine.  If I open the PDF in xpdf and print, telling it to use the
 command lpr, that also works fine.
 
 I upgraded from cups 1.3.10 to 1.3.11 today (cannot go back).  I've
 rebuilt all the foomatic packages I had installed, gutenprint, cups-pdf,
 ghostscript-gpl, but still it doesn't work...

I'm not sure that you are having the same problem I am, but I found the
solution here to work for me:
http://bugs.gentoo.org/show_bug.cgi?format=multipleid=309901

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.




Re: [gentoo-user] bypassing CUPS - howto

2010-05-08 Thread Michael George
On Thu, Apr 29, 2010 at 08:47:49AM -0500, Dale wrote:
 Helmut Jarausch wrote:
  On 29 Apr, Stroller wrote:
 
  On 28 Apr 2010, at 15:27, Helmut Jarausch wrote:
   
  ...
  Why do you need to bypass CUPS?
   
  Thanks, it's just for debugging.
 
  Printing some pdf files with acroread makes some printers
  hang here.
  To locate the problem source, I'd like to check if the printer
  works if it gets the postscript or pdf-file (there printer is assumed
  to accept postscript level 3).
 
  Have you tried using `lpr` at the command line?
 
  I *believe* something like `lpr /path/to/file.pdf` should work.
 
   
  Thanks, but lpr is just a front-end for cups.
 
 
 
 I tried that here and got a error.  It may be a bad setting on my end 
 but it didn't like the idea.
 
 r...@smoker ~ # lpr /data/pdf/LivingWill.pdf
 lpr: Unsupported format 'application/pdf'!
 r...@smoker ~ #

I started noticing this today too.  My Macs aren't able to successfully
print, I just get an error in the error log about application/pdf being
an unsupported format.

If I take a PDF generated on the Mac and move it to my Linux system and
run lpr filename.pdf I get:
lpr: Unsupported format 'application/pdf'!

If I use pdftops to generate a PS file, lpr filename.ps works
fine.  If I open the PDF in xpdf and print, telling it to use the
command lpr, that also works fine.

I upgraded from cups 1.3.10 to 1.3.11 today (cannot go back).  I've
rebuilt all the foomatic packages I had installed, gutenprint, cups-pdf,
ghostscript-gpl, but still it doesn't work...

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.




[gentoo-user] Sansa Clip+ no device for expansion card

2010-01-19 Thread Michael George
I just got a Sansa Clip+ and when I plug it into my gentoo box, it sees
the device as mass-storage, creates /dev/sdc, and I can mount it as vfat
and put songs on it.  That's all fine.

However, I put an expansion micro-SD card into it.  The player sees it
fine.  When I plug the player into my Mac, it puts two devices on the
desktop.  When I plug it into my Linux box, /var/log/messages only lists
/dev/sdc (not /dev/sdc and /dev/sdd as I expected) being created.

I can plug another USB device in and /dev/sdd is created, so there's
nothing keeping the system from creating /dev/sdd.  I have it's USB
mode set to MSC.

What else could be keeping it from seeing the expansion card?

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.




Re: [gentoo-user] Sansa Clip+ no device for expansion card

2010-01-19 Thread Michael George
On Tue, Jan 19, 2010 at 04:15:42PM -0800, James Ausmus wrote:
 On Tue, Jan 19, 2010 at 3:43 PM, Michael George geo...@mutualdata.comwrote:
 
  I just got a Sansa Clip+ and when I plug it into my gentoo box, it sees
  the device as mass-storage, creates /dev/sdc, and I can mount it as vfat
  and put songs on it.  That's all fine.
 
  However, I put an expansion micro-SD card into it.  The player sees it
  fine.  When I plug the player into my Mac, it puts two devices on the
  desktop.  When I plug it into my Linux box, /var/log/messages only lists
  /dev/sdc (not /dev/sdc and /dev/sdd as I expected) being created.
 
  I can plug another USB device in and /dev/sdd is created, so there's
  nothing keeping the system from creating /dev/sdd.  I have it's USB
  mode set to MSC.
 
  What else could be keeping it from seeing the expansion card?
 
 
 Probably kernel config - check to make sure you enabled Probe all LUNs on
 each SCSI device - under Device Drivers-SCSI device support

Ah, I checked and I didn't have that option set.  I'll change it,
rebuild, and reboot.

Thanks to all who answered!

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.




[gentoo-user] mouse frozen

2009-01-30 Thread Michael George
I had a weird thing happen today.  I started up a clean vmware image with
vmplayer and was trying to grab the input and press F2 to set the boot
options.  In the process of doing that, the mouse (PS/2) stopped working.  I
couldn't move it, click it or anything.  The keyboard (USB) was fine, so I
could release the input, but still it wouldn't move.

I could use the kbd to hop between my windows and get to a terminal, so
I killed all the vmware processes in the hopes that would help.  No
luck.

So I killed my window manager (exiting X) and got to the command line.
I restarted X in the hopes it would work then.  No luck.

I needed the mouse back and I was starting to run late for work so I
just did a reboot (ack!) and all is well.  So I know it's not a hardware
issue...

I'm wondering two things:
1. Has anyone else ever had this happen?
2. What could I have done to re-init the mouse?  I don't think there
are any kernel modules I could unload and load, at least I wasn't
able to identify any...

If anyone has anything I might be able to use, I'd sure appreciate
hearing it!

Thanks!

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.




Re: [gentoo-user] dhcp and re-exec of init in log file

2009-01-04 Thread Michael George
On Sun, Jan 04, 2009 at 05:02:38AM +, Stroller wrote:
 It might be helpful to post the EXACT error messages. I doubt if I'm able 
 to help, but it seems to me that posting without them may be one of those 
 people-may-tend-to-ignore-your-message mistakes.

Good point, thank you.

One of the message in the log file regards init:

Jan  2 09:00:38 brego dhcpd: DHCPACK on 192.168.0.253 to 00:a0:c9:68:03:05 via 
eth0
Jan  2 09:01:07 brego init: Trying to re-exec init
Jan  2 09:01:08 brego locale-gen: Generating locale-archive: forcing # of jobs 
to 1
Jan  2 09:10:01 brego cron[7189]: (root) CMD (test -x /usr/sbin/run-crons  
/usr/sbin/run-crons )

So the only thing near it is locale-gen, which doesn't appear in any
cron or logrotate scripts.

The other error is from DHCP:

Jan  2 07:16:47 brego crontab[26016]: (root) BEGIN EDIT (root)
Jan  2 07:17:05 brego dhcpd: Internet Systems Consortium DHCP Server
V3.1.1-Gentoo
Jan  2 07:17:05 brego dhcpd: Copyright 2004-2008 Internet Systems
Consortium.
Jan  2 07:17:05 brego dhcpd: All rights reserved.
Jan  2 07:17:05 brego dhcpd: Usage: dhcpd [-p UDP port #] [-d] [-f]
[-cf config-file] [-lf lease-file]  [-user user] [-group
group] [-chroot dir]   [-tf trace-output-file]
[-play trace-input-file]  [-t] [-T] [-s server] [if0
[...ifN]]
Jan  2 07:17:05 brego dhcpd: 
Jan  2 07:17:05 brego dhcpd: If you did not get this software from ftp.isc.org, 
please
Jan  2 07:17:05 brego dhcpd: get the latest from ftp.isc.org and install that 
before
Jan  2 07:17:05 brego dhcpd: requesting help.
Jan  2 07:17:05 brego dhcpd: 
Jan  2 07:17:05 brego dhcpd: If you did get this software from ftp.isc.org and 
have not
Jan  2 07:17:05 brego dhcpd: yet read the README, please read it before 
requesting help.
Jan  2 07:17:05 brego dhcpd: If you intend to request help from the 
dhcp-ser...@isc.org
Jan  2 07:17:05 brego dhcpd: mailing list, please read the section on the 
README about
Jan  2 07:17:05 brego dhcpd: submitting bug reports and requests for help.
Jan  2 07:17:05 brego dhcpd: 
Jan  2 07:17:05 brego dhcpd: Please do not under any circumstances send 
requests for
Jan  2 07:17:05 brego dhcpd: help directly to the authors of this software - 
please
Jan  2 07:17:05 brego dhcpd: send them to the appropriate mailing list as 
described in
Jan  2 07:17:05 brego dhcpd: the README file.
Jan  2 07:17:05 brego dhcpd: 
Jan  2 07:17:05 brego dhcpd: exiting.
Jan  2 07:20:01 brego cron[7644]: (root) CMD (test -x /usr/sbin/run-crons  
/usr/sbin/run-crons )


And there is nothing right before or after that which seem suspicious.

 Stroller.



 On 4 Jan 2009, at 02:29, Michael George wrote:

 That seems to be a poor subject for my question, so I reposted with
 something more descriptive...

 On Sat, Jan 03, 2009 at 07:17:41PM -0500, Michael George wrote:
 About a week ago I noticed a couple entries in /var/log/messages (as
 reported by logwatch) that seemed odd. ...

 One of the entries is a Usage: message from dhcp, as though something
 tried to restart the DHCP server.

 The other is Re-execs of init: 1 times.  I found some references to
 this on the 'net, but generally when discussing prelink.  I don't have
 prelink installed, though.
 ...


-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.




Re: SPAM-MED Re: [gentoo-user] dhcp and re-exec of init in log file

2009-01-04 Thread Michael George
On Sun, Jan 04, 2009 at 02:37:34PM +, Neil Bothwick wrote:
 On Sun, 4 Jan 2009 07:39:40 -0500, Michael George wrote:
 
  Jan  2 09:01:07 brego init: Trying to re-exec init
  Jan  2 09:01:08 brego locale-gen: Generating locale-archive: forcing #
  of jobs to 1
 
 Does this coincide with (re)emerging glibc?

As a matter of fact, I did re-emerge glibc on that day, at that time.
Must be there's a connection that I didn't find in my searching the
'net?

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.




Re: SPAM-MED Re: [gentoo-user] dhcp and re-exec of init in log file

2009-01-04 Thread Michael George
On Sun, Jan 04, 2009 at 04:29:15PM +, Neil Bothwick wrote:
 On Sun, 4 Jan 2009 11:20:45 -0500, Michael George wrote:
 
Jan  2 09:01:07 brego init: Trying to re-exec init
Jan  2 09:01:08 brego locale-gen: Generating locale-archive:
forcing # of jobs to 1  
   
   Does this coincide with (re)emerging glibc?  
  
  As a matter of fact, I did re-emerge glibc on that day, at that time.
  Must be there's a connection that I didn't find in my searching the
  'net?
 
 The connection is that the glibc ebuild reloads init and runs locale-gen
 in the pkg_postinst function.

Okay, that's good to know.  Now that you point it out, I see it in the
ebuild.  I guess it might be good to have a better understanding of the
ebuilds in order to examine them for such things.

Thanks, Neil!

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.




[gentoo-user] strange entries in messages

2009-01-03 Thread Michael George
About a week ago I noticed a couple entries in /var/log/messages (as
reported by logwatch) that seemed odd.  They have appeared a couple
times since, but they don't appear at the same time in the logfile, but
I think they happen on the same day.

One of the entries is a Usage: message from dhcp, as though something
tried to restart the DHCP server.

The other is Re-execs of init: 1 times.  I found some references to
this on the 'net, but generally when discussing prelink.  I don't have
prelink installed, though.

I've checked the log file and nothing interesting happens just before or
just after these messages.  I can't find any mention of dhcp or init in
any of the cron files or logrotate files that might be starting it.
There are no entries in /var/spool/cron/crontabs that might be doing it.

Has someone cracked my system?

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.




[gentoo-user] dhcp and re-exec of init in log file

2009-01-03 Thread Michael George
That seems to be a poor subject for my question, so I reposted with
something more descriptive...

On Sat, Jan 03, 2009 at 07:17:41PM -0500, Michael George wrote:
 About a week ago I noticed a couple entries in /var/log/messages (as
 reported by logwatch) that seemed odd.  They have appeared a couple
 times since, but they don't appear at the same time in the logfile, but
 I think they happen on the same day.
 
 One of the entries is a Usage: message from dhcp, as though something
 tried to restart the DHCP server.
 
 The other is Re-execs of init: 1 times.  I found some references to
 this on the 'net, but generally when discussing prelink.  I don't have
 prelink installed, though.
 
 I've checked the log file and nothing interesting happens just before or
 just after these messages.  I can't find any mention of dhcp or init in
 any of the cron files or logrotate files that might be starting it.
 There are no entries in /var/spool/cron/crontabs that might be doing it.
 
 Has someone cracked my system?

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.




Re: [gentoo-user] audacious 1.5 not playing

2008-12-03 Thread Michael George
On Mon, Dec 01, 2008 at 06:27:54PM +0100, Daniel Pielmeier wrote:
 Michael George schrieb am 30.11.2008 11:33:
  I updated audacious and audacious-plugins from 1.4.6 and .5 to 1.4.1-r1 and 
  r3,
  respectively.  It comes up and seems to operate fine, but it won't play
  my ogg files.  It doesn't even seem to try.  I downgraded to 1.4.6/5 and
  it plays fine.
  
  I'll be testing it on mp3 files today, I hope, to see if it's a problem
  unique to 1.5.x.
  
  Anyone else having problems with audacious 1.5.x?
  
 
 Had the same problem here! I guess you have set
 
 Detect file formats on demand, instead of immediately under
 Preferences - Audio - Format Detection
 
 Disabling this option makes playback of ogg and mp3 files working again
 here.

I am able to play mp3's regardless of the format detection.  However,
OGG files aren't playing.  If I tell it to detect the formats on demand,
I can add ogg files to the playlist, but they still will not play.
The only way the ogg files play is if I tell it to determine the file
type by the file extension.  In 1.4 it was able to determine the file
type even if it didn't have an .ogg extension...

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.




[gentoo-user] audacious 1.5 not playing

2008-11-30 Thread Michael George
I updated audacious and audacious-plugins from 1.4.6 and .5 to 1.4.1-r1 and r3,
respectively.  It comes up and seems to operate fine, but it won't play
my ogg files.  It doesn't even seem to try.  I downgraded to 1.4.6/5 and
it plays fine.

I'll be testing it on mp3 files today, I hope, to see if it's a problem
unique to 1.5.x.

Anyone else having problems with audacious 1.5.x?

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.




[gentoo-user] openoffice 3.0 problem

2008-10-21 Thread Michael George
Yesterday I saw that openoffice 3.0 was unmasked for amd64 so I built
and installed it.  It seemed to work fine on a couple test documents
that I opened, but then I ran into a problem with the one which has my
household expense spreadsheets.

I opened it and the data on one of the sheets was there for sure, but
there was no tab bar for moving between the sheets.  I saved a copy of
that spreadsheet into a new file to see if a natively-stored file will
have the same problem.  It did.  I looked to see if there was an option
to turn on the sheet tab bar, but I didn't find any.

So I rebuilt 2.4.1 and tested it on the spreadsheed which I saved with
OOo 3.0.  It also didn't show the tab bar at the bottom!  When I opened
my original with 2.4.1, though, it appears fine.

Has anyone else encountered this type of problem?

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.




[gentoo-user] Re: SPAM-MED Re: [gentoo-amd64] openoffice 3.0 problem

2008-10-21 Thread Michael George
On Tue, Oct 21, 2008 at 03:13:52PM +0200, Beso wrote:
 2008/10/21 Michael George [EMAIL PROTECTED]:
  Yesterday I saw that openoffice 3.0 was unmasked for amd64 so I built
  and installed it.  It seemed to work fine on a couple test documents
  that I opened, but then I ran into a problem with the one which has my
  household expense spreadsheets.
 
  I opened it and the data on one of the sheets was there for sure, but
  there was no tab bar for moving between the sheets.  I saved a copy of
  that spreadsheet into a new file to see if a natively-stored file will
  have the same problem.  It did.  I looked to see if there was an option
  to turn on the sheet tab bar, but I didn't find any.
 
  So I rebuilt 2.4.1 and tested it on the spreadsheed which I saved with
  OOo 3.0.  It also didn't show the tab bar at the bottom!  When I opened
  my original with 2.4.1, though, it appears fine.
 
 i can see the tab bar in my openoffice 3.0.
 but in the openoffice options you can a find a reference to it:
 
 tools-options-Openoffice.org Calc-View-Sheet divider should be ticked.

Ah, there's the setting for it.  Turning it off and back on brought the
tabs back.  Thanks for the help!

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.




[gentoo-user] problems building php

2008-07-09 Thread Michael George
I noticed there was an update to php a couple days ago, so I went to
build it for my system and I get this error:

/var/tmp/portage/dev-lang/php-5.2.6-r2/work/php-5.2.6/ext/imap/php_imap.c:
In function '_php_rfc822_write_address_len':
/var/tmp/portage/dev-lang/php-5.2.6-r2/work/php-5.2.6/ext/imap/php_imap.c:3906:
error: 'RFC822BUFFER' undeclared (first use in this function)
/var/tmp/portage/dev-lang/php-5.2.6-r2/work/php-5.2.6/ext/imap/php_imap.c:3906:
error: (Each undeclared identifier is reported only once
/var/tmp/portage/dev-lang/php-5.2.6-r2/work/php-5.2.6/ext/imap/php_imap.c:3906:
error: for each function it appears in.)
/var/tmp/portage/dev-lang/php-5.2.6-r2/work/php-5.2.6/ext/imap/php_imap.c:3906:
error: expected ';' before 'buf'
/var/tmp/portage/dev-lang/php-5.2.6-r2/work/php-5.2.6/ext/imap/php_imap.c:3908:
error: 'buf' undeclared (first use in this function)
make: *** [ext/imap/php_imap.lo] Error 1
make: *** Waiting for unfinished jobs

I've never run into trouble building PHP before, so this is new to me.
I haven't found anything on the 'net that references an RFC822BUFFER.

Has anyone else had this problem?

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.

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



[gentoo-user] man pages not displaying right

2008-05-01 Thread Michael George
I noticed today that my man pages aren't displaying correctly.  Whenever
I view one, I see the ESC codes rather than seeing bold fonts, etc.

I don't remeber when I last used man and it displayed correctly, but I
can check back 2 weeks this evening.

I have tried several terminals (xterm, gnome-terminal, konsole) and all
have the problem.

Would this be a tercap problem?  Unicode issue, perhaps?

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.

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



Re: [gentoo-user] man pages not displaying right - SOLVED

2008-05-01 Thread Michael George
On Thu, May 01, 2008 at 08:20:44AM -0400, Michael George wrote:
 I noticed today that my man pages aren't displaying correctly.  Whenever
 I view one, I see the ESC codes rather than seeing bold fonts, etc.
 
 I don't remeber when I last used man and it displayed correctly, but I
 can check back 2 weeks this evening.
 
 I have tried several terminals (xterm, gnome-terminal, konsole) and all
 have the problem.
 
 Would this be a tercap problem?  Unicode issue, perhaps?

It was /etc/man-conf.  A change in the NROFF definition caused the
problem.  Running dispatch-conf didn't prompt me for the config change,
so I ran etc-update this time and found it.

Hopefully this will be helpful for someone.

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.

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



Re: [gentoo-user] man pages not displaying right - SOLVED

2008-05-01 Thread Michael George
On Thu, May 01, 2008 at 06:12:19PM +0200, Wolf Canis wrote:
 Michael George wrote:
 |
 | It was /etc/man-conf.  A change in the NROFF definition caused the
 | problem.  Running dispatch-conf didn't prompt me for the config change,
 | so I ran etc-update this time and found it.
 |
 | Hopefully this will be helpful for someone.
 Hello,
 yes it's helpful, but I used etc-update and was to fast and
 can't remember what are the changes. Could you give me an idea of the
 working NROFF definition?
 
 For now, I solved it by changing the MANPAGER variable to less. I had
 set MANPAGER to vimmanpager. Perhaps I have a additional  problem?

Here is the NROFF definition which did *not* work:
NROFF/usr/bin/nroff -mandoc

This is my NROFF setting now, and from before I had the problem, which
*does* work:
NROFF/usr/bin/nroff -Tascii -c -mandoc

I hope this can be helpful to many of you out there.

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.

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



[gentoo-user] apcupsd

2008-03-17 Thread Michael George
Today I upgraded apcupsd from 3.10.18-r1 to 3.12.4.  The ebuild installs
the files differently than it did and webapp-config is used for the
install.

When the emerge is complete, the cgi files are installed into
/var/www/localhost/cgi-bin and are owned by root.  There is also a
directory /var/www/localhost/htdocs/apcupsd/, but only the webapp-config
files are in there.

When I try to access upsstats.cgi with the same path I used to use, I
get URL not found.  The HOWTO discusses the configuration as was done
in 3.10, not with webapp-config.

Where should I go for more reading to learn how to configure my apache
configs so that I can access those pages again?

Thanks!
-- 
-Michael

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



Re: [gentoo-user] apcupsd

2008-03-17 Thread Michael George
Sorry, sorry...

I just needed to point my browser to cgi-bin/multimin.cgi rather than
apcupsd/multimon.cgi...

On Mon, Mar 17, 2008 at 09:32:43PM -0400, Michael George wrote:
 Today I upgraded apcupsd from 3.10.18-r1 to 3.12.4.  The ebuild installs
 the files differently than it did and webapp-config is used for the
 install.
 
 When the emerge is complete, the cgi files are installed into
 /var/www/localhost/cgi-bin and are owned by root.  There is also a
 directory /var/www/localhost/htdocs/apcupsd/, but only the webapp-config
 files are in there.
 
 When I try to access upsstats.cgi with the same path I used to use, I
 get URL not found.  The HOWTO discusses the configuration as was done
 in 3.10, not with webapp-config.
 
 Where should I go for more reading to learn how to configure my apache
 configs so that I can access those pages again?
 
 Thanks!
 -- 
 -Michael
 
 -- 
 gentoo-user@lists.gentoo.org mailing list
 

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.

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



[gentoo-user] mozilla-firefox not finding plugins in /opt/netscape

2008-02-15 Thread Michael George
I just updated my mozilla-firefox-bin package to the latest and I
noticed that it wasn't finding the plugins installed in
/opt/netscape/plugins.  It was only finding the plugins in
/opt/firefox/plugins.

I made symlinks to the plugins in /opt/firefox, but I don't remember
doing that before to get the flash and helix plugins, and I keep my
firefox up to-date.

Is there a change in USE flags or something that I missed?

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.

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



Re: [gentoo-user] 2.6.23 and xorg delayed startup

2007-12-28 Thread Michael George
On Fri, Dec 28, 2007 at 10:18:55AM -0500, Eric Martin wrote:
 Michael George wrote:
  I just upgraded my kernel from 2.6.19 to 2.6.23 and it takes almost a
  minute for X to start now.
 
  I have changed window managers (normally ctwm, tested with twm) with the
  same results.  I rebooted the 2.6.19 kernel and X fires right up as
  expected.  Booting back to 2.6.23 and it's excruciatingly long.
 
  I saw some prior posts which indicated a network problem, but in that
  case the OP said that the loopback interface wasn't up.  I checked my
  system (ifconfig) and both lo and eth0 are up and running.

 I see that you checked if it was up, but have you pinged 127.0.0.1? 
 Also, could you possibly have firewall rules setup blocking things on
 lo?  It's a shot in the dark but sometimes the oddest of problems have
 the simplest of solutions.

Yes, it's up.  However, I think this error is a wild goose...

I rebooted to the 2.6.19 kernel and started X.  It came right up, and
this was the output of startx  startx.2.6.19 21:


xauth:  creating new authority file /home/george/.serverauth.6547


X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: UNKNOWN 
Current Operating System: Linux brego 2.6.19-gentoo-r5 #5 SMP PREEMPT Thu Mar 8 
19:16:48 EST 2007 x86_64
Build Date: 22 December 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Thu Dec 27 20:30:12 2007
(==) Using config file: /etc/X11/xorg.conf
(II) Module already built-in
(II) Module already built-in
(II) Module already built-in
(II) Module already built-in
(II) Module already built-in
(EE) MGA(0): Static buffer allocation failed, not initializing the DRI
(EE) MGA(0): Need at least 15360 kB video memory at this resolution, bit depth
(EE) MGA(1): Not initializing the DRI on the second head
(EE) AIGLX: Screen 0 is not DRI capable
(EE) AIGLX: Screen 1 is not DRI capable
Couldn't establish a connection to :9202: IO::Socket::INET: Bad hostname ':9202'
access control disabled, clients can connect from any host
SetClientVersion: 0 9
ctwm:  unable to find bitmap 
ctwm:  unable to find bitmap 
ctwm:  unable to find bitmap 
X Error: BadWindow (invalid Window parameter)
  Major Opcode:  4
fetchmail: background fetchmail at 6646 killed.
xscreensaver: 20:30:27: SIGHUP received: restarting...
xscreensaver: 20:30:27: running as george/george (500/500)



waiting for X server to shut down XIO:  fatal IO error 104 (Connection reset by 
peer) on X server :0.0

  after 0 requests (0 known processed) with 0 events remaining.

Console:  fatal IO error 32 (Broken pipe) or KillClient on X server :0.0

xterm:  fatal IO error 32 (Broken pipe) or KillClient on X server :0.0

xterm:  fatal IO error 32 (Broken pipe) or KillClient on X server :0.0

SchedTerm:  fatal IO error 32 (Broken pipe) or KillClient on X server :0.0

SchedTerm:  fatal IO error 32 (Broken pipe) or KillClient on X server :0.0

FreeFontPath: FPE /usr/share/fonts/misc refcount is 2, should be 1; fixing.





Notice the 9202 error line.  I then rebooted back into 2.6.23 and
started X with startx  startx.2.6.23 21.  It took 1-2min to for me to get
my window environment, and here is the output of that run:

xauth:  creating new authority file /home/george/.serverauth.6950


X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: UNKNOWN 
Current Operating System: Linux brego 2.6.23-gentoo-r3 #3 SMP PREEMPT Sun Dec 
23 21:35:17 EST 2007 x86_64
Build Date: 22 December 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Thu Dec 27 20:32:51 2007
(==) Using config file: /etc/X11/xorg.conf
(II) Module already built-in
(II) Module already built-in
(II) Module already built-in
(II) Module already built-in
(II) Module already built-in
(EE) MGA(0): Static buffer allocation failed, not initializing the DRI
(EE) MGA(0): Need at least 15360 kB video memory at this resolution, bit depth
(EE) MGA(1): Not initializing the DRI on the second head
(EE) AIGLX: Screen 0 is not DRI capable
(EE) AIGLX: Screen 1

Re: [gentoo-user] 2.6.23 and xorg delayed startup

2007-12-28 Thread Michael George
On Fri, Dec 28, 2007 at 01:47:53PM -0500, Michael George wrote:
 
 Notice there is little difference between them.  I think I need to trim
 out my .xinitrc file and see if there is something I'm starting from
 there that is causing the delay with a different kernel...

I don't see anything in my .xinitrc file that would be causing the
problem.  Here are the contents of that file:

#!/bin/sh

DISPLAY=${DISPLAY-unix:0}; export DISPLAY
RDISPLAY=${RDISPLAY-`hostname`:0}; export RDISPLAY

# I've tried taking this line out and it doesn't speed anything up...
sh /usr/local/src/ltsp-server-pkg-static-0.1/xsession-lbus-start 

# Change the keys around
xmodmap .xmodmap.pass1
xmodmap .xmodmap.pass2

# Load .Xdefaults into the X resource database
xrdb -nocpp -display $DISPLAY -load .Xdefaults

# Start a console window.  This line should not be removed.
xterm -T Console -n Console -name Console -C -iconic +vb -geometry =80x14-0+0 

# Start another xterm
xterm -display $DISPLAY -geometry 80x50+0-0 -T Shell -n Shell 
sleep 1
xterm -display $DISPLAY -geometry 80x50-1280-0 -T Shell -n Shell 

# Start a terminal for the schedule screen
xterm -display $DISPLAY -name SchedTerm -geometry 80x50+0-0 -T Shell -n 
Shell 
sleep 1
xterm -display $DISPLAY -name SchedTerm -geometry 80x50-1280-0 -T Shell -n 
Shell 

xcalendar -name xIdeal -display $DISPLAY 

gkrellm 
xload -display $DISPLAY 
gkrellm2 -c secondary 

xcalendar -name xHopper11 -display $DISPLAY 

xdaliclock 

# open up my planner
xcalendar -display $DISPLAY 

# Set the background
# I've run this script manually and it doesn't take long at all to run
(sleep 1; $HOME/bin/background) 

#turn on the screensaver
xscreensaver 

#disable access control
xhost +

# Make the mouse move a little faster than normal
xset m 3 4
# Make the keys repeat more quickly
xset r rate 300 20

# start fetchmail
fetchmail

#Start the window manager
ctwm

#fix keyboard
/usr/bin/kbd_mode -a

# stop fetchmail
fetchmail --quit

#clear


There isn't anything there that I can see which would cause the 2min.
delay in even getting an X mouse pointer...

I'm leaning toward some strange type of Xorg -- kernel interaction,
but I'm not sure what it might be...

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] 2.6.23 and xorg delayed startup

2007-12-27 Thread Michael George
On Mon, Dec 24, 2007 at 02:19:14PM -0800, [EMAIL PROTECTED] wrote:
 On Sun, Dec 23, 2007 at 10:36:16PM -0500, Michael George wrote:
 
  I do have this error from startx, though:
  Couldn't establish a connection to :9202: IO::Socket::INET: Bad hostname 
  ':9202'
 
 I hate to offer so primitive a suggestion, but grep -rl 9202 /etc
 might help.

I checked /etc/services and it indicates a WAP service.  I don't use
wireless networking here.

The odd thing is this: The only variable which changes is the kernel.
2.6.19 vs. 2.6.23.  The xorg.conf is the same, the services that start
at boot time are the same, xinit.conf is the same.  The only change is
the kernel, and I build that with make oldconfig to grab all the same
configurations it could from the old kernel...

I'm baffled...

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] 2.6.23 and xorg delayed startup

2007-12-24 Thread Michael George
On Mon, Dec 24, 2007 at 11:06:21AM -0500, Randy Barlow wrote:
 Michael George wrote:
  Couldn't establish a connection to :9202: IO::Socket::INET: Bad hostname 
  ':9202'
 
 I'm not sure why the kernel would make this difference, but it looks
 like something is trying to connect to No Host:9202.  Do you have your
 hostname properly configured?  And in /etc/hosts do you have your
 127.0.0.1 entry?

I agree with your assessment.  I found a similar message on an LTSP
list, but the terminal's name was before 9202.  (That post was about a
different problem, so the solution there didn't help me.)

My /etc/hosts file includes the localhost entry (127.0.0.1 localhost)
and also an entry for my system's real IP address and hostname
(192.168.0.251 brego ...).

So I don't think that is the problem.  Thank you for the suggestion,
though, as I had not double-checked /etc/hosts yet...

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] 2.6.23 and xorg delayed startup

2007-12-23 Thread Michael George
I just upgraded my kernel from 2.6.19 to 2.6.23 and it takes almost a
minute for X to start now.

I have changed window managers (normally ctwm, tested with twm) with the
same results.  I rebooted the 2.6.19 kernel and X fires right up as
expected.  Booting back to 2.6.23 and it's excruciatingly long.

I saw some prior posts which indicated a network problem, but in that
case the OP said that the loopback interface wasn't up.  I checked my
system (ifconfig) and both lo and eth0 are up and running.

I do have this error from startx, though:
Couldn't establish a connection to :9202: IO::Socket::INET: Bad hostname ':9202'

I forgot to check if I had that error when running 2.6.19...  I tried
a web search for this type of error and came up empty.  What part of X
would this error be from?

Thanks!

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] hald is stuck

2007-07-17 Thread Michael George
Bah!  It's happened again to my system.

It was fine this morning when I left for work, but now
hald-addon-storage is stuck waiting on Disk IO (state of D).  I looked
in the log and the only thing I noticed was that the ide-cd system
received a lost interrupt and timed out errors on both devices (hda and
hdb).  All I have on there are IDE CD-ROM drives and they are both
empty...

Anyone have enough experience to hazard a guess as to whether I have a
drive going bad or if it's the controller?

Or could the timeout errors be unrelated?

On Fri, Jul 13, 2007 at 06:02:07AM -0400, Michael George wrote:
 On Tue, Jul 10, 2007 at 05:33:59PM +0200, Alessandro del Gallo wrote:
  
  I had the same problem:
  
  hald was sucking 99% cpu, removables devices didn't work
  and launching hald from terminal with the option --daemon=no 
  --verbose=yes i discovered it was on a infinite loop echo-ing
  something about rules so I got in /etc/udev/rules.d
  and found (by probing one by one) 99-libgphoto2.rules that
  was HALS's murder.
 
 I don't have that ruleset on my system.  I'll have to look into how to
 probe one by one the rulesets if it should happen again.

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] netscape-flash

2007-07-16 Thread Michael George
Well, I wondered where the vmware player package went, but it came back
the next day.

However, I see that netscape-flash has now been hard-masked for both
i386 and amd64.  Should users be migrating to media-libs/libflash?

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] cannot emerge sys-block/nbd

2007-05-21 Thread Michael George
I am trying to emerge sys-block/nbd for my LTSP system.  I get the
error:
configure: error: Could not find an nbd.h from 2.6 or above.

But locate nbd.h gives me:
/usr/include/linux/nbd.h
/usr/src/linux-2.6.19-gentoo-r5/include/linux/nbd.h
/usr/src/linux-2.6.19-gentoo-r5/include/config/blk/dev/nbd.h

so it should be easily finding it.  I have tried linking
/usr/include/nbd.h to /usr/include/linux/nbd.h, but that didn't help.
I'm using gcc 4.1.2, if that makes a difference.

Anyone else have this trouble?

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] X locks up

2007-04-11 Thread Michael George
On Sat, Apr 07, 2007 at 09:11:15PM +0200, Benno Schulenberg wrote:
 Michael George wrote:
  What happens is that sometimes (amazingly frequently) when I have
  open office running on my right screen and I click File, the
  displays will freeze.  The system is still running, because I can
  get in from one of my terminals.  I check and X is consuming 100%
  of one processor.  [...]
 
  System info:
  openoffice-bin-2.1.0
  xorg-x11-7.1
  xorg-server-1.1.1-r4 (VIDEO_CARDS=mga, INPUT_DEVICES=keyboard
  mouse) 
 
 Hmm, mga.  You're probably looking at one of these bugs:
   https://bugs.freedesktop.org/show_bug.cgi?id=8666
   https://bugs.freedesktop.org/show_bug.cgi?id=473
 
 What version of x11-drivers/xf86-video-mga are you using?  Have you 
 tried upgrading to the latest, 1.4.6.1?

I tried the upgrade to 1.4.6.1, but the same thing happened.  X is the
runaway, for when I kill it, the load drops right off...

It did seem that the 1.4.6.1 video driver sucked up a lot more memory,
though.  I think I'll downgrade it, I'm no worse off...

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] X locks up

2007-04-11 Thread Michael George
So far, I haven't checked the output of Xorg.0.log.  Next time it locks
up, I'll check that and file a bug with freedesktop with all my details.
The two bugs you cite may be similar, but since I still get the lockup
with 1.4.6.1, it's not quite the same.

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] X locks up

2007-04-07 Thread Michael George
On Sat, Apr 07, 2007 at 09:11:15PM +0200, Benno Schulenberg wrote:
 Michael George wrote:
  What happens is that sometimes (amazingly frequently) when I have
  open office running on my right screen and I click File, the
  displays will freeze.  The system is still running, because I can
  get in from one of my terminals.  I check and X is consuming 100%
  of one processor.  [...]
 
  System info:
  openoffice-bin-2.1.0
  xorg-x11-7.1
  xorg-server-1.1.1-r4 (VIDEO_CARDS=mga, INPUT_DEVICES=keyboard
  mouse) 
 
 Hmm, mga.  You're probably looking at one of these bugs:
   https://bugs.freedesktop.org/show_bug.cgi?id=8666
   https://bugs.freedesktop.org/show_bug.cgi?id=473
 
 What version of x11-drivers/xf86-video-mga are you using?  Have you 
 tried upgrading to the latest, 1.4.6.1?

Thaks for that lead.  I usually don't build ~arch packages, but I will
give that a try!

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] X locks up

2007-04-06 Thread Michael George
I have been having trouble with my system.  For some reason, I've only
noticed it recently, but nothing has been updated on the system.

What happens is that sometimes (amazingly frequently) when I have open
office running on my right screen and I click File, the displays will
freeze.  The system is still running, because I can get in from one of
my terminals.  I check and X is consuming 100% of one processor.

I can kill openoffice and ctwm (my window manager) reasily, but I have
to use -9 option to kill to get X to die.  Even after that, though, the
video and keyboard are still locked.  The only way I know of to get them
back is to restart the system.

IIRC, it only happens when OOo is on the right screen, but I can start
oowriter2, put it on the right screen, and click file and it won't
always lock things up.

System info:
openoffice-bin-2.1.0
xorg-x11-7.1
xorg-server-1.1.1-r4 (VIDEO_CARDS=mga, INPUT_DEVICES=keyboard mouse)
libXinerama-1.0.1
ctwm-3.7
Video card: Matrox G450
System starts up to a CLI login, not XDM

Anyone have any clue as to what is going on here?  Is there a way I can
release the hold on my keyboard and/or display so that I can just get to
the console so that I can reissue startx?

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] broken fonts in vmware-player, realplayer

2007-03-10 Thread Michael George
I recently upgraded my kernel and a few other packages on my system.
Now when I start up vmware-player, I don't get any fonts -- just little
blocks.  I noticed the same thing when I start realplayer.  Both seem to
work fine, but it's rather hard to work with them when I cannot see the
fonts 1n the windows.

I have an amd64 system and have asked over there and someone suggested
perhaps my gtk font paths are broken.  I run CTWM rather than Gnome or
KDE (if that makes a difference...) and I'm not sure where they would be
broken that I need to fix them.  In the past they have just worked.

I ran kcontrol and checked to see if its fonts seem to be appearing
right, and they display fine.  I found a reference when searching online
to gconftool-2, but I'm not sure what settings/directories I should look
at in there...

So far, I am not finding anything useful through Google.  If anyone has
any references that I should or could read to help me with this, I'm all
ears.

I'm posting this to the gentoo-user and ctwm lists, as both the distro
and window manager would be involved...

Some package versions that might be relevant:
gtk+: both 1.2.10-r12 and 2.10.6 are installed
gtk+extra: 2.1.1
gtk-engines: 2.8.2
gtk-engines-xfce: 2.2.8-r1
emul-linux-x86-gtklibs: 10.0.r1
gentoo-sources (kernel): 2.6.19-r5
ctwm: 3.7

I recently upgraded a bunch of the emul-linux-x86 libraries.
I have tried to remove and re-emerge vmware-player to no avail.

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] broken fonts in vmware-player, realplayer

2007-03-10 Thread Michael George
On Sat, Mar 10, 2007 at 02:12:40PM -0500, Michael George wrote:
 I recently upgraded my kernel and a few other packages on my system.
 Now when I start up vmware-player, I don't get any fonts -- just little
 blocks.  I noticed the same thing when I start realplayer.  Both seem to
 work fine, but it's rather hard to work with them when I cannot see the
 fonts 1n the windows.
 
 I have an amd64 system and have asked over there and someone suggested
 perhaps my gtk font paths are broken.  I run CTWM rather than Gnome or
 KDE (if that makes a difference...) and I'm not sure where they would be
 broken that I need to fix them.  In the past they have just worked.
 
 I ran kcontrol and checked to see if its fonts seem to be appearing
 right, and they display fine.  I found a reference when searching online
 to gconftool-2, but I'm not sure what settings/directories I should look
 at in there...
 
 So far, I am not finding anything useful through Google.  If anyone has
 any references that I should or could read to help me with this, I'm all
 ears.
 
 I'm posting this to the gentoo-user and ctwm lists, as both the distro
 and window manager would be involved...
 
 Some package versions that might be relevant:
 gtk+: both 1.2.10-r12 and 2.10.6 are installed
 gtk+extra: 2.1.1
 gtk-engines: 2.8.2
 gtk-engines-xfce: 2.2.8-r1
 emul-linux-x86-gtklibs: 10.0.r1
 gentoo-sources (kernel): 2.6.19-r5
 ctwm: 3.7
 
 I recently upgraded a bunch of the emul-linux-x86 libraries.
 I have tried to remove and re-emerge vmware-player to no avail.

I user on the gentoo-amd64 list lead me to the answer.  I had upgraded
emul-linux-x86-gtklibs to 10.0-r1, but the qt3 USE flag was set in
make.conf.  I turned off that flag and rebuild the library and all is
well!

Gentoo users are awesome!

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] problem emerging tclx

2006-12-27 Thread Michael George
I'm updating my system (amd64) to gcc4.1 and things are going rather
smoothly.  One problem I'm having, though, is that tclx-8.3 will not
complete it's build.

I can build it fine with gcc-3.4, but not 4.1.

The error I get is:

/var/tmp/portage/tclx-8.3.5/work/tclx8.3.5/tcl/generic/tclXbsearch.cIn
file included from /usr/include/time.h:8,
 from /usr/include/gentoo-multilib/amd64/sys/times.h:29,
 from /usr/include/sys/times.h:8,
 from
/var/tmp/portage/tclx-8.3.5/work/tclx8.3.5/tcl/unix/tclXunixPort.h:32,
 from
/var/tmp/portage/tclx-8.3.5/work/tclx8.3.5/tcl/generic/tclExtdInt.h:27,
 from
/var/tmp/portage/tclx-8.3.5/work/tclx8.3.5/tcl/generic/tclXbsearch.c:19:
/usr/include/gentoo-multilib/amd64/time.h:61: error: two or more data
types in declaration specifiers
/var/tmp/portage/tclx-8.3.5/work/tclx8.3.5/tcl/generic/tclXbsearch.c: In
function 'TclProcKeyCompare':
/var/tmp/portage/tclx-8.3.5/work/tclx8.3.5/tcl/generic/tclXbsearch.c:115:
warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer
type
make[1]: *** [tclXbsearch..o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/tclx-8.3.5/work/tclx8.3.5/tcl/unix'make: *** [TCLX]
Error 2

!!! ERROR: dev-tcltk/tclx-8.3.5 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  tclx-8.3.5.ebuild, line 65:   Called die

I've searched the net and found a posting of the error, but it's in a
language I do not understand.

Has anyone else run into this problem and found a solution?

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] vmware-player installation

2006-11-12 Thread Michael George
I am trying to install vmware-player, but things don't seem to be
working right.

Aftere doing the emerge, and starting /etc/init.d/vmware, I was told
that cupsd had to be started after vmware but that some of the vmware
dependencies required cupsd.  Since I don't need to pring from the VM, I
blew that off.

I ran vmware-config.pl and set up the bridged networking.  But after
answering the questions, I get:

 * Starting VMware services: [ ok ]
 *   Virtual machine monitor [ ok ]
 *   Virtual ethernet[ !! ]
 *   Bridged networking on /dev/vmnet0   [ !! ]

(on my first attempt I configured the bridged and NAT networking, but
I've re-run vmware-config.pl since then).

When I ran vmplayer, I was told that it wasn't configured as
/etc/vmware/not_configured was still in place.  Just to see what would
happen, I removed it and fired it up.

There was a complaint about vmmon not being loaded, and it appeared that
the install built vmmon.ko for kernel 2.6.15, rather than for 2.6.17, so
I rebuilt it and installed the module.

I re-ran vmplayer and I get errors that networking is not properly
configured.  Given the !! above, I'm not surprised.

I think I'll need to go back to the beginning, but I'm not sure what to
do differently that I might succeed.

Anyone have any advice?

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] vmware-player installation

2006-11-12 Thread Michael George
I figured it out...  along with the vmmon module being built for the
wrong kernel was the vmnet module.  Once I built it for the right
kernel, put it into place and ran /etc/init.d/vmware start, it runs
without error.

Sorry for the intrusion. :)

On Sun, Nov 12, 2006 at 02:21:08PM -0500, Michael George wrote:
 I am trying to install vmware-player, but things don't seem to be
 working right.
 
 Aftere doing the emerge, and starting /etc/init.d/vmware, I was told
 that cupsd had to be started after vmware but that some of the vmware
 dependencies required cupsd.  Since I don't need to pring from the VM, I
 blew that off.
 
 I ran vmware-config.pl and set up the bridged networking.  But after
 answering the questions, I get:
 
  * Starting VMware services: [ ok ]
  *   Virtual machine monitor [ ok ]
  *   Virtual ethernet[ !! ]
  *   Bridged networking on /dev/vmnet0   [ !! ]
 
 (on my first attempt I configured the bridged and NAT networking, but
 I've re-run vmware-config.pl since then).
 
 When I ran vmplayer, I was told that it wasn't configured as
 /etc/vmware/not_configured was still in place.  Just to see what would
 happen, I removed it and fired it up.
 
 There was a complaint about vmmon not being loaded, and it appeared that
 the install built vmmon.ko for kernel 2.6.15, rather than for 2.6.17, so
 I rebuilt it and installed the module.
 
 I re-ran vmplayer and I get errors that networking is not properly
 configured.  Given the !! above, I'm not surprised.
 
 I think I'll need to go back to the beginning, but I'm not sure what to
 do differently that I might succeed.

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] LINGUAS

2006-08-01 Thread Michael George
On 7/29/06, Michael George [EMAIL PROTECTED] wrote:
The docs I found on gentoo localization indicate that I can set LINGUAS
in make.conf and build for just the languages I desire.  I set it to:
LINGUAS=en_US
but all that does is prepend en_US to the beginning of the string above.

Thanks to all who responded to my questions.  I now have a better
understanding of this variable, USE flags, and emerge in general.

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - which X terminal do you use?

2006-05-10 Thread Michael George
I use terminal from Xfce4.  It's very much like gnome-terminal, which I
like, but it appears to be much lighter.

Next to that I just use plan ol' xterm when I don't need colors or tabs.
It's about as light as you can get...

If it makes a difference, I use ctwm as my window manager...

On Tue, May 09, 2006 at 07:33:51PM +0100, Neil Bothwick wrote:
 I am writing a comparative review of a number of X terminals, so I
 thought I'd draw on the collective wisdom of this list. which are your
 most/least favourite X terminals, and why?
 
 Let's hope this generates some interesting comment before degenerating
 into a subset of the typical KDE/GNOME flamefest ;-/
 
 
 -- 
 Neil Bothwick
 
 Bother, said Pooh, more from force of habit than anything else.



-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] DEVPATH not set (subsystem pci)

2006-02-14 Thread Michael George
My system has this message in the log from several times:

Feb 14 10:41:45 archie hal.hotplug[11262]: DEVPATH is not set (subsystem
pci)

I just updated the system last week and that included a bump in udev and
hal.  However, another system which is nearly the same architecture was
also updated and it doesn't have this message in the log at boot...

What do I do to fix this problem?  So far, I think things work as they
should, but it looks like a problem waiting to happen...

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] php uncompatible with nis USE flag?

2006-02-07 Thread Michael George
On the off-chance that perhaps there was an error in the ebuild file, I
did a sync.  However, php will still not build.

Are the NIS USE flag and dev-lang/php mutually-exclusive? 

I had no problem building dev-php/php and dev-php/mod_php with the same
USE flags.

If anyone can offer advice on dealing with this issue, I would be
grateful.

Thank you.

On Tue, Feb 07, 2006 at 12:49:15AM +0100, Holly Bostick wrote:
 Michael George wrote:
  I am trying to update my system, and it seemed like a good time to go
   from the old php ports to the dev-lang ports.  But I'm having
  trouble building php-4.4.1-r3.
  
  I have masked php-5 and up, as I'm not quite ready to move to that
  yet.
  
  When I try to emerge php-4.4.1-r3, it stops with this error:
  
  QA Notice: USE Flag 'nis' not in IUSE for dev-lang/php-4.4.1-r3
  
  I get the same error with php-5.0.5.
  
  I don't have nis set as a use flag anywhere in my stuff, though, and
  I cannot find it set for php in the profiles.
  
  I have put -nis into package.use for php and I have tried removing
  nis and setting -nis into /etc/make.conf, but nothing helps.
 
 Did you do an emerge -uaDNtv world after you put -nis in make.conf, to
 recompile anything with the USE flag previously active?
 
 From looking at the ebuild, it looks like this is due to php-4
 inheriting the php-4_4.sapi eclass; contained in the eclass is this line:
 
   # Recode is not liked
   confutils_use_conflict recode mysql imap nis
 
 Now, I don't know what this means, but it clearly is intended in some way.
 
 I also would suspect that the nis flag is not related to PHP itself, but
 one of its dependencies, which was compiled previously with this flag
 set, which has now become 'illegal' (that happened to me the other day
 with another package, the dependency had to be recompiled without a
 particular flag set for the upgrade of the main package to install).
 
 Here's the list of packages that have this flag:
 
  equery hasuse -p nis
 [ Searching for USE flag nis in all categories among: ]
  * installed packages
  * Portage tree (/usr/portage)
 [I--] [  ] x11-libs/qt-4.1.0-r2 (4)
 [-P-] [ ~] x11-libs/qt-4.1.0-r1 (4)
 [-P-] [  ] net-mail/lbdb-0.30 (0)
 [-P-] [ ~] net-mail/lbdb-0.31 (0)
 [-P-] [  ] mail-mta/postfix-2.2.5 (0)
 [-P-] [M~] mail-mta/postfix-2.2.4 (0)
 [-P-] [M~] mail-mta/postfix-2.2.7 (0)
 [-P-] [ ~] mail-mta/postfix-2.2.8 (0)
 [-P-] [ ~] x11-libs/qt-embedded-3.3.4-r1 (3)
 [-P-] [  ] sys-libs/pam-0.78-r2 (0)
 [-P-] [  ] sys-libs/pam-0.78-r3 (0)
 [-P-] [ ~] sys-libs/pam-0.78-r4 (0)
 [-P-] [M~] mail-mta/postfix-2.2.8-r1 (0)
 [-P-] [ ~] www-servers/thttpd-2.25b-r3 (0)
 [-P-] [ ~] www-servers/thttpd-2.25b-r2 (0)
 [-P-] [M~] mail-mta/postfix-2.2.7-r1 (0)
 [-P-] [M~] mail-mta/postfix-2.2.5-r1 (0)
 [-P-] [M-] x11-libs/qt-4.1.0 (4)
 [-P-] [  ] mail-mta/exim-4.43-r2 (0)
 [-P-] [ ~] mail-mta/exim-4.60 (0)
 [-P-] [M~] mail-mta/exim-4.50-r999 (0)
 [-P-] [  ] mail-mta/exim-4.54 (0)
 [-P-] [ ~] mail-mta/exim-4.52 (0)
 [-P-] [ ~] mail-mta/exim-4.50 (0)
 [-P-] [ ~] x11-libs/qt-4.0.1 (4)
 [-P-] [M~] x11-libs/qt-embedded-3.3.5 (3)
 [-P-] [  ] x11-libs/qt-embedded-3.3.4 (3)
 [-P-] [ ~] mail-mta/exim-4.50-r2 (0)
 [-P-] [  ] mail-mta/exim-4.50-r1 (0)
 
 I don't have anything to do with PHP myself, but if one of these is
 associated with your install of PHP, I would consider recompiling it
 without the nis USE flag, and then see if PHP compiles.
 
 Hope this is helpful, despite my ignorance of this specific package.
 
 Holly
 -- 
 gentoo-user@gentoo.org mailing list
 
 ---
 [This E-mail scanned for viruses by Declude Virus]
 
 

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] php uncompatible with nis USE flag?

2006-02-07 Thread Michael George
On Tue, Feb 07, 2006 at 07:38:00AM -0500, Michael George wrote:
 On the off-chance that perhaps there was an error in the ebuild file, I
 did a sync.  However, php will still not build.
 
 Are the NIS USE flag and dev-lang/php mutually-exclusive? 
 
 I had no problem building dev-php/php and dev-php/mod_php with the same
 USE flags.
 
 If anyone can offer advice on dealing with this issue, I would be
 grateful.

After playing with the USE flags a bit, I was able to generate another
error *after* the message:
QA Notice: USE Flag 'nis' not in IUSE for dev-lang/php-4.4.1-r3

I'm suspecting now that execution of the emerge is continuing after the
QA notice and the failure is actually later in the script.  Though there
are no further error messages to indicate what the problem is...

 On Tue, Feb 07, 2006 at 12:49:15AM +0100, Holly Bostick wrote:
  Michael George wrote:
   I am trying to update my system, and it seemed like a good time to go
from the old php ports to the dev-lang ports.  But I'm having
   trouble building php-4.4.1-r3.
   
   I have masked php-5 and up, as I'm not quite ready to move to that
   yet.
   
   When I try to emerge php-4.4.1-r3, it stops with this error:
   
   QA Notice: USE Flag 'nis' not in IUSE for dev-lang/php-4.4.1-r3
   
   I get the same error with php-5.0.5.
   
   I don't have nis set as a use flag anywhere in my stuff, though, and
   I cannot find it set for php in the profiles.
   
   I have put -nis into package.use for php and I have tried removing
   nis and setting -nis into /etc/make.conf, but nothing helps.
  
  Did you do an emerge -uaDNtv world after you put -nis in make.conf, to
  recompile anything with the USE flag previously active?
  
  From looking at the ebuild, it looks like this is due to php-4
  inheriting the php-4_4.sapi eclass; contained in the eclass is this line:
  
  # Recode is not liked
  confutils_use_conflict recode mysql imap nis
  
  Now, I don't know what this means, but it clearly is intended in some way.
  
  I also would suspect that the nis flag is not related to PHP itself, but
  one of its dependencies, which was compiled previously with this flag
  set, which has now become 'illegal' (that happened to me the other day
  with another package, the dependency had to be recompiled without a
  particular flag set for the upgrade of the main package to install).
  
  Here's the list of packages that have this flag:
  
   equery hasuse -p nis
  [ Searching for USE flag nis in all categories among: ]
   * installed packages
   * Portage tree (/usr/portage)
  [I--] [  ] x11-libs/qt-4.1.0-r2 (4)
  [-P-] [ ~] x11-libs/qt-4.1.0-r1 (4)
  [-P-] [  ] net-mail/lbdb-0.30 (0)
  [-P-] [ ~] net-mail/lbdb-0.31 (0)
  [-P-] [  ] mail-mta/postfix-2.2.5 (0)
  [-P-] [M~] mail-mta/postfix-2.2.4 (0)
  [-P-] [M~] mail-mta/postfix-2.2.7 (0)
  [-P-] [ ~] mail-mta/postfix-2.2.8 (0)
  [-P-] [ ~] x11-libs/qt-embedded-3.3.4-r1 (3)
  [-P-] [  ] sys-libs/pam-0.78-r2 (0)
  [-P-] [  ] sys-libs/pam-0.78-r3 (0)
  [-P-] [ ~] sys-libs/pam-0.78-r4 (0)
  [-P-] [M~] mail-mta/postfix-2.2.8-r1 (0)
  [-P-] [ ~] www-servers/thttpd-2.25b-r3 (0)
  [-P-] [ ~] www-servers/thttpd-2.25b-r2 (0)
  [-P-] [M~] mail-mta/postfix-2.2.7-r1 (0)
  [-P-] [M~] mail-mta/postfix-2.2.5-r1 (0)
  [-P-] [M-] x11-libs/qt-4.1.0 (4)
  [-P-] [  ] mail-mta/exim-4.43-r2 (0)
  [-P-] [ ~] mail-mta/exim-4.60 (0)
  [-P-] [M~] mail-mta/exim-4.50-r999 (0)
  [-P-] [  ] mail-mta/exim-4.54 (0)
  [-P-] [ ~] mail-mta/exim-4.52 (0)
  [-P-] [ ~] mail-mta/exim-4.50 (0)
  [-P-] [ ~] x11-libs/qt-4.0.1 (4)
  [-P-] [M~] x11-libs/qt-embedded-3.3.5 (3)
  [-P-] [  ] x11-libs/qt-embedded-3.3.4 (3)
  [-P-] [ ~] mail-mta/exim-4.50-r2 (0)
  [-P-] [  ] mail-mta/exim-4.50-r1 (0)
  
  I don't have anything to do with PHP myself, but if one of these is
  associated with your install of PHP, I would consider recompiling it
  without the nis USE flag, and then see if PHP compiles.
  
  Hope this is helpful, despite my ignorance of this specific package.
  
  Holly
  -- 
  gentoo-user@gentoo.org mailing list
  
  ---
  [This E-mail scanned for viruses by Declude Virus]
  
  
 
 -- 
 -M
 
 There are 10 kinds of people in this world:
   Those who can count in binary and those who cannot.
 -- 
 gentoo-user@gentoo.org mailing list
 
 ---
 [This E-mail scanned for viruses by Declude Virus]
 
 

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] php uncompatible with nis USE flag?

2006-02-07 Thread Michael George
I solved this problem.  It appears that emerge wasn't giving me all the
errors that it should have.

When I turned on the --debug switch, I found that there was an error
that was never displaying to my screen which indicated that the USE flag
recode is incompatible with some other flags, like mysql and nis.

So I added -recode to the /etc/portage/package.use entry for
dev-lang/php.

emerge then gave me an error about a conflict between the USE flags
sharedmem and threads (though that's not a conflict for other
packages, that I've noticed).  Adding -sharedmem to the package.use
entry allowed me to build the package.

Why would that error message not have been making it to the scrren?

Thank you.

On Tue, Feb 07, 2006 at 08:02:27AM -0500, Michael George wrote:
 On Tue, Feb 07, 2006 at 07:38:00AM -0500, Michael George wrote:
  On the off-chance that perhaps there was an error in the ebuild file, I
  did a sync.  However, php will still not build.
  
  Are the NIS USE flag and dev-lang/php mutually-exclusive? 
  
  I had no problem building dev-php/php and dev-php/mod_php with the same
  USE flags.
  
  If anyone can offer advice on dealing with this issue, I would be
  grateful.
 
 After playing with the USE flags a bit, I was able to generate another
 error *after* the message:
 QA Notice: USE Flag 'nis' not in IUSE for dev-lang/php-4.4.1-r3
 
 I'm suspecting now that execution of the emerge is continuing after the
 QA notice and the failure is actually later in the script.  Though there
 are no further error messages to indicate what the problem is...
 
  On Tue, Feb 07, 2006 at 12:49:15AM +0100, Holly Bostick wrote:
   Michael George wrote:
I am trying to update my system, and it seemed like a good time to go
 from the old php ports to the dev-lang ports.  But I'm having
trouble building php-4.4.1-r3.

I have masked php-5 and up, as I'm not quite ready to move to that
yet.

When I try to emerge php-4.4.1-r3, it stops with this error:

QA Notice: USE Flag 'nis' not in IUSE for dev-lang/php-4.4.1-r3

I get the same error with php-5.0.5.

I don't have nis set as a use flag anywhere in my stuff, though, and
I cannot find it set for php in the profiles.

I have put -nis into package.use for php and I have tried removing
nis and setting -nis into /etc/make.conf, but nothing helps.
   
   Did you do an emerge -uaDNtv world after you put -nis in make.conf, to
   recompile anything with the USE flag previously active?
   
   From looking at the ebuild, it looks like this is due to php-4
   inheriting the php-4_4.sapi eclass; contained in the eclass is this line:
   
 # Recode is not liked
 confutils_use_conflict recode mysql imap nis
   
   Now, I don't know what this means, but it clearly is intended in some way.
   
   I also would suspect that the nis flag is not related to PHP itself, but
   one of its dependencies, which was compiled previously with this flag
   set, which has now become 'illegal' (that happened to me the other day
   with another package, the dependency had to be recompiled without a
   particular flag set for the upgrade of the main package to install).
   
   Here's the list of packages that have this flag:
   
equery hasuse -p nis
   [ Searching for USE flag nis in all categories among: ]
* installed packages
* Portage tree (/usr/portage)
   [I--] [  ] x11-libs/qt-4.1.0-r2 (4)
   [-P-] [ ~] x11-libs/qt-4.1.0-r1 (4)
   [-P-] [  ] net-mail/lbdb-0.30 (0)
   [-P-] [ ~] net-mail/lbdb-0.31 (0)
   [-P-] [  ] mail-mta/postfix-2.2.5 (0)
   [-P-] [M~] mail-mta/postfix-2.2.4 (0)
   [-P-] [M~] mail-mta/postfix-2.2.7 (0)
   [-P-] [ ~] mail-mta/postfix-2.2.8 (0)
   [-P-] [ ~] x11-libs/qt-embedded-3.3.4-r1 (3)
   [-P-] [  ] sys-libs/pam-0.78-r2 (0)
   [-P-] [  ] sys-libs/pam-0.78-r3 (0)
   [-P-] [ ~] sys-libs/pam-0.78-r4 (0)
   [-P-] [M~] mail-mta/postfix-2.2.8-r1 (0)
   [-P-] [ ~] www-servers/thttpd-2.25b-r3 (0)
   [-P-] [ ~] www-servers/thttpd-2.25b-r2 (0)
   [-P-] [M~] mail-mta/postfix-2.2.7-r1 (0)
   [-P-] [M~] mail-mta/postfix-2.2.5-r1 (0)
   [-P-] [M-] x11-libs/qt-4.1.0 (4)
   [-P-] [  ] mail-mta/exim-4.43-r2 (0)
   [-P-] [ ~] mail-mta/exim-4.60 (0)
   [-P-] [M~] mail-mta/exim-4.50-r999 (0)
   [-P-] [  ] mail-mta/exim-4.54 (0)
   [-P-] [ ~] mail-mta/exim-4.52 (0)
   [-P-] [ ~] mail-mta/exim-4.50 (0)
   [-P-] [ ~] x11-libs/qt-4.0.1 (4)
   [-P-] [M~] x11-libs/qt-embedded-3.3.5 (3)
   [-P-] [  ] x11-libs/qt-embedded-3.3.4 (3)
   [-P-] [ ~] mail-mta/exim-4.50-r2 (0)
   [-P-] [  ] mail-mta/exim-4.50-r1 (0)
   
   I don't have anything to do with PHP myself, but if one of these is
   associated with your install of PHP, I would consider recompiling it
   without the nis USE flag, and then see if PHP compiles.
   
   Hope this is helpful, despite my ignorance of this specific package.
   
   Holly
   -- 
   gentoo-user@gentoo.org mailing list
   
   ---
   [This E-mail scanned for viruses by Declude Virus

[gentoo-user] php 4.4.1-r3 wont emerge

2006-02-06 Thread Michael George
I am trying to update my system, and it seemed like a good time to go
from the old php ports to the dev-lang ports.  But I'm having trouble
building php-4.4.1-r3.

I have masked php-5 and up, as I'm not quite ready to move to that yet.

When I try to emerge php-4.4.1-r3, it stops with this error:

QA Notice: USE Flag 'nis' not in IUSE for dev-lang/php-4.4.1-r3

I get the same error with php-5.0.5.

I don't have nis set as a use flag anywhere in my stuff, though, and I
cannot find it set for php in the profiles.

I have put -nis into package.use for php and I have tried removing nis
and setting -nis into /etc/make.conf, but nothing helps.

I don't find reference to this issue when I google, so that tells me
that something might be misconfigured in my system.  I try not to do
anything too wild, so I'm not sure what it might be.

If it makes a difference, I have copied my system into another partition
and I have chrooted into it.  This has worked fine for me in the past,
though, so it doesn't seem that would be the problem.

Any helpful advice would be appreciated.

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] php 4.4.1-r3 wont emerge

2006-02-06 Thread Michael George
On Tue, Feb 07, 2006 at 12:49:15AM +0100, Holly Bostick wrote:
 
 Did you do an emerge -uaDNtv world after you put -nis in make.conf, to
 recompile anything with the USE flag previously active?
 
 From looking at the ebuild, it looks like this is due to php-4
 inheriting the php-4_4.sapi eclass; contained in the eclass is this line:
 
   # Recode is not liked
   confutils_use_conflict recode mysql imap nis
 
 Now, I don't know what this means, but it clearly is intended in some way.
 
 I also would suspect that the nis flag is not related to PHP itself, but
 one of its dependencies, which was compiled previously with this flag
 set, which has now become 'illegal' (that happened to me the other day
 with another package, the dependency had to be recompiled without a
 particular flag set for the upgrade of the main package to install).

Holly, thanks for the information.  I will give that a try, but the
problem is that I *want* the nis USE flag set.  I cannot imagine that
something precludes php being used on a system which uses nis...

 Here's the list of packages that have this flag:
 
  equery hasuse -p nis
 [ Searching for USE flag nis in all categories among: ]
  * installed packages
  * Portage tree (/usr/portage)
 [I--] [  ] x11-libs/qt-4.1.0-r2 (4)
 [-P-] [ ~] x11-libs/qt-4.1.0-r1 (4)
 [-P-] [  ] net-mail/lbdb-0.30 (0)
 [-P-] [ ~] net-mail/lbdb-0.31 (0)
 [-P-] [  ] mail-mta/postfix-2.2.5 (0)
 [-P-] [M~] mail-mta/postfix-2.2.4 (0)
 [-P-] [M~] mail-mta/postfix-2.2.7 (0)
 [-P-] [ ~] mail-mta/postfix-2.2.8 (0)
 [-P-] [ ~] x11-libs/qt-embedded-3.3.4-r1 (3)
 [-P-] [  ] sys-libs/pam-0.78-r2 (0)
 [-P-] [  ] sys-libs/pam-0.78-r3 (0)
 [-P-] [ ~] sys-libs/pam-0.78-r4 (0)
 [-P-] [M~] mail-mta/postfix-2.2.8-r1 (0)
 [-P-] [ ~] www-servers/thttpd-2.25b-r3 (0)
 [-P-] [ ~] www-servers/thttpd-2.25b-r2 (0)
 [-P-] [M~] mail-mta/postfix-2.2.7-r1 (0)
 [-P-] [M~] mail-mta/postfix-2.2.5-r1 (0)
 [-P-] [M-] x11-libs/qt-4.1.0 (4)
 [-P-] [  ] mail-mta/exim-4.43-r2 (0)
 [-P-] [ ~] mail-mta/exim-4.60 (0)
 [-P-] [M~] mail-mta/exim-4.50-r999 (0)
 [-P-] [  ] mail-mta/exim-4.54 (0)
 [-P-] [ ~] mail-mta/exim-4.52 (0)
 [-P-] [ ~] mail-mta/exim-4.50 (0)
 [-P-] [ ~] x11-libs/qt-4.0.1 (4)
 [-P-] [M~] x11-libs/qt-embedded-3.3.5 (3)
 [-P-] [  ] x11-libs/qt-embedded-3.3.4 (3)
 [-P-] [ ~] mail-mta/exim-4.50-r2 (0)
 [-P-] [  ] mail-mta/exim-4.50-r1 (0)
 
 I don't have anything to do with PHP myself, but if one of these is
 associated with your install of PHP, I would consider recompiling it
 without the nis USE flag, and then see if PHP compiles.
 
 Hope this is helpful, despite my ignorance of this specific package.

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] /dev/hda not created

2006-01-11 Thread Michael George
I've got one of my servers that doesn't have /dev/hda on it at boot
time.

I've got a lite-on DVD burner there that works just fine (once I create
the device) and is noted as hda in the boot messages.

However, /dev/hda doesn't exist.  That's a problem.  /dev/hda?* did
exist, though...

I tried turning off the DEV_TARBALL option in /etc/conf.d/rc and
rebooting.  Then there was no /dev/hda* at all.  I have created
/dev/hda* with MAKEDEV and turned the DEV_TABALL back on, but I don't
know that that will make any difference, becasue I've created /dev/hda
before and rebooted with the TARBALL option on and /dev/hda still wan't
there.

I also had someone say that they had to manually modprobe ide_cdrom one
time, but I didn't see that happen this time (maybe someone else did
it...).

I re-emerged udev, in case a config was corrupted, but no config files
changed and /dev/hda was still not there after reboot.

I suspect it's a udev configuration issue, but since I didn't change
anything, I'm not sure how it would've broken.

Thanks.

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /dev/hda not created

2006-01-11 Thread Michael George
On Wed, Jan 11, 2006 at 01:32:29PM -0700, Lares Moreau wrote:
 On Wed, 2006-01-11 at 15:20 -0500, Michael George wrote:
  I've got one of my servers that doesn't have /dev/hda on it at boot
  time.
  
  I've got a lite-on DVD burner there that works just fine (once I create
  the device) and is noted as hda in the boot messages.
  
  However, /dev/hda doesn't exist.  That's a problem.  /dev/hda?* did
  exist, though...
  
  I tried turning off the DEV_TARBALL option in /etc/conf.d/rc and
  rebooting.  Then there was no /dev/hda* at all.  I have created
  /dev/hda* with MAKEDEV and turned the DEV_TABALL back on, but I don't
  know that that will make any difference, becasue I've created /dev/hda
  before and rebooted with the TARBALL option on and /dev/hda still wan't
  there.
  
  I also had someone say that they had to manually modprobe ide_cdrom one
  time, but I didn't see that happen this time (maybe someone else did
  it...).
  
  I re-emerged udev, in case a config was corrupted, but no config files
  changed and /dev/hda was still not there after reboot.
  
  I suspect it's a udev configuration issue, but since I didn't change
  anything, I'm not sure how it would've broken.
 
 COuld you give more detail about your situation.
 Is this a new install on this system? ie. liveCD
 Is this an upgrade of the kernel?
 or was this just the addition of the DVD-R?

I just noticed the problem, so I'm not sure when it started (I don't use
the drive on it much).

It turns out that we only need to load the ide_cd module at boot time
and the dev will show up.  It will show up whenever we load the module,
but it was causing confusion by not being there after a reboot.

Someday I need to read up on udev, hal, hot- and cold-plug and how they
all interact with the system nowadays...

Thanks for your reply.  My apologies for eating bandwidth.

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] very strange nsswitch.ldap problem

2005-12-15 Thread Michael George
I have been fighting with a system for a couple hours now to get it to
work again and I finally did it.  But I don't know why what was wrong
keeps it from booting right.

Here's what I have:

I'm testing using Samba and LDAP as a PDC server.  So I have a system
that I configured with Samba, LDAP, pam_ldap, and nsswitch_ldap.  I had
it all configured and it was fine.

However, after an update of the system, including upgrading to gcc-3.4,
the system didn't boot right (if at all).  It would sit forever,
apparently trying to build /dev with udev.

I found that eventually it would continue the boot sequence, but /dev
was broken.  Immediately I could see that /boot was not able to be
mounted and the swap was not made active: the system couldn't access
/dev/sdaX, there was no valid device there.

Root was on sda3 and it was mounted, but I think grub set that up
directly w/o the use of /dev.

I traced the problem to the nsswitch.ldap that I put into place as
nsswitch.conf.

If I have:

hosts: files dns

the system boots just fine.  If I have: 

hosts: files dns ldap

the system cannot deal with the udev devices correctly.  I have
confirmed this by repeatedly making this change and unmaking it and the
system was wonky when ldap was included and worked fine when ldap wasn't
included.

Is there a logical reason why this would be happening?

I'll be happy to post any relevant info to my system if that would help
in explaining the situation, but I'm not sure if any other settings come
into play...

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] self-referential blocks...

2005-12-11 Thread Michael George
I am ready to update my system and a problem has crept up that I thought
I'd solved previously.

When I do an emerge -Duva world, I get kdebase is blocking konsole
and then later down the list I have konsole is blocking kdebase.

I understand that kde-base/kdebase is a monolithic package and I
actually only want individual packages on my system, so I didn't install
it.  However, something is now trying to pull it in.

eix -e of kdebase and kde shows that neither is installed (not the
monolithic nor the meta package).

equery depends kdebase lists:
app-cdr/k3b-0.12.4a
kde-base/kdm-3.4.1
kde-base/kcheckpass-3.4.1
kde-base/kdebase-meta-3.4.1

but emerge -Duvp k3b kdm kcheckpass kdebase-meta doesn't show the
blockage problem.

emerge -tuvp world shows that kdegames is the culprit, but it is
installed now and doesn't have kde-base.

Should I remove kdegames and put in kdegames-meta instead?

What is the difference between kde, kdebase, and kdebase-meta?  All
three have version 3.5.0, so it's apparent that none supercede the
others...

Thanks!

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] system stopped booting

2005-12-08 Thread Michael George
On Wed, Dec 07, 2005 at 11:10:33AM -0500, Michael George wrote:
 On Tue, Dec 06, 2005 at 09:17:28PM -0700, Richard Fish wrote:
  On 12/6/05, Michael George [EMAIL PROTECTED] wrote:
   Already checked that.  The root filesystem does contain /dev/null and
   /dev/console are there.  However, something is obviously breaking when
   udev mounts the /dev system and then those devices are no longer
   there...
  
  Hmm, take a look at the rules files in /etc/udev/rules.d, and see if
  there is any obvious corruption there.  Same thing with
  /etc/udev/permissions.d/.
  
  At this point, you might have to do something drastic:
  
  rm -rvf /etc/udev  emerge --oneshot udev
 
 I'd like to do that, but the problem is that an emerge of udev cannot
 complete.  Doesn't get started as a matter of fact.  I'm suspecting
 corruption in the FS, but it's quite weird that I can emerge some things
 just fine, btu others never get past the emerge message...

Well, nothing I do can address the problem.  The last things I've done:

I checked the consistency of the disks at the 3ware card, I fsck'd the
filesystems, I tried not using the tarball for the /dev directory, I
changed the permissions of /dev/console to be 660 as per the udev docs.
Nothing seemed to work.

I wanted to pull a tarball of the whole system first, though.  So I
booted from CD and chrooted to the HDD partitions.  Tar could not
complete.  If I didn't chroot, tar could complete just fine.  My only
conclusion is that updating the system with bad RAM caused some weird
problems in the filesystem which had nothing to do with consistency.
Even though the problems are VERY strange and I'm a bit skeptical about
this explanation, I can think of no other explanation.

We know the problem happened after an update.  We know that the RAM
failed at memtest86.  We know that the system cannot boot. We know that
the system cannot rebuild itself in a chroot.  We know that the system
couldn't even tarball itself in chroot.

We know that the tar, of the same data, could complete just fine using
the exectuable when booted from the CD-ROM.

I wish I had a way to recover, but I can think of none.  The CD isn't
equipped to do emerges (AFAIK) and emerge cannot be told to do a virtual
chroot (use the executables on the CD to emerge software in a chroot,
updating portate info inside that chroot -- I'm sure there are serious
issues with wanting to do this, like gcc and glibc versions, but it
would still have helped), I have no choice but reinstall the system and
start over with it.

I'm posting this so that the thread may have closure and whomever might
find it in the archives will know what I tried and that I found no
solution.

Thank you everyone for your helpful advice.

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] system stopped booting

2005-12-07 Thread Michael George
On Tue, Dec 06, 2005 at 09:17:28PM -0700, Richard Fish wrote:
 On 12/6/05, Michael George [EMAIL PROTECTED] wrote:
  Already checked that.  The root filesystem does contain /dev/null and
  /dev/console are there.  However, something is obviously breaking when
  udev mounts the /dev system and then those devices are no longer
  there...
 
 Hmm, take a look at the rules files in /etc/udev/rules.d, and see if
 there is any obvious corruption there.  Same thing with
 /etc/udev/permissions.d/.
 
 At this point, you might have to do something drastic:
 
 rm -rvf /etc/udev  emerge --oneshot udev

I'd like to do that, but the problem is that an emerge of udev cannot
complete.  Doesn't get started as a matter of fact.  I'm suspecting
corruption in the FS, but it's quite weird that I can emerge some things
just fine, btu others never get past the emerge message...

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] system stopped booting

2005-12-06 Thread Michael George
On Mon, Dec 05, 2005 at 09:57:47PM +0100, [EMAIL PROTECTED] wrote:
  About a week later, I booted it and it wouldn't boot.  It got stuck at
  configuring system to use udev and never gets okay.  I just sits there
  for ever.
 
 My system hangs at this point quite often. I have no idea why - it seems to 
 be quite random but if I try 
 again I usually get it to boot. I take it your system never gets past this 
 line on boot?

correct.  I've left it for minutes several times.  Never goes beyond...

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] system stopped booting

2005-12-06 Thread Michael George
On Mon, Dec 05, 2005 at 09:51:27PM +, b.n. wrote:
 Have you checked the mobo? Memtest will report errors if the mobo is bad.

I have new RAM in it and it passed a full course of memtest86 with no problems
reported.

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] system stopped booting

2005-12-06 Thread Michael George
On Mon, Dec 05, 2005 at 05:29:19PM -0300, Arturo 'Buanzo' Busleiman wrote:
 Michael George wrote:
  If anyone has any suggestions, I'd like to find a way out of this other
  than reinstalling the system.  Such a thing might happen again in the
  future to a non-development system and I'd like to know the way to get it
  working again.
 
 Any kernel messages or syslog entries during the chrooted work?

Embarassingly, I didn't think to check that...  I am out with meetings
today but I should be able to get to it again tomorrow and try it.

Thanks for all your suggestions and comments!  When I have more info, I
will report back to this thread.  Hopefully we can solve it w/o a
reinstall.

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] system stopped booting

2005-12-06 Thread Michael George
On Tue, Dec 06, 2005 at 08:03:55AM -0500, Michael George wrote:
 On Mon, Dec 05, 2005 at 05:29:19PM -0300, Arturo 'Buanzo' Busleiman wrote:
  Michael George wrote:
   If anyone has any suggestions, I'd like to find a way out of this other
   than reinstalling the system.  Such a thing might happen again in the
   future to a non-development system and I'd like to know the way to get it
   working again.
  
  Any kernel messages or syslog entries during the chrooted work?
 
 Embarassingly, I didn't think to check that...  I am out with meetings
 today but I should be able to get to it again tomorrow and try it.
 
 Thanks for all your suggestions and comments!  When I have more info, I
 will report back to this thread.  Hopefully we can solve it w/o a
 reinstall.

Okay, I have to oddities:
1. system will not proceed in boot process beyond the configuring
system to use udev
2. when chrooting into the system, some ports will not build.  Notably,
udev will not (re)build.

I booted the system (to the 2005.1 Live/Universal CD), chrooted, and I'm
trying to re-emerge udev.  Using debug mode on the emerge, I get:

livecd / # emerge -vd udev
Calculating dependencies
Parent:None
Depstring: sys-fs/udev
Candidates: ['sys-fs/udev']
ebuild: sys-fs/udev-070-r1
binpkg: None
 -
Parent:ebuild / sys-fs/udev-070-r1 merge
Depstring: sys-apps/hotplug-base !bootstrap? ( sys-devel/patch )
!bootstrap? ( sys-devel/patch ) sys-apps/hotplug-base
=sys-apps/baselayout-1.8.6.12-r3
Exiting... None
 ...done!
 emerge (1 of 1) sys-fs/udev-070-r1 to /

/var/log/messages (outside the chroot) has nothing written to it to
indicate disk errors or anything.

dmesg also shows no new entries.

I can, though emerge other ports, like hotplug, with no problem.

Back to problem #1:

Another thing I noticed is that route inside the chroot will not
complete.  It prints the headers and then sits there doing nothing.

I checked the logs for the system on the HDD, and it appears that the
boot process cannot open /dev/console and agetty cannot open any of the
/dev/ttyX devices.

I am running baselayout 1.11.13-r1, so it's not supposed to have
problems if the files aren't there.  In addition /dev on that partition
is fully populated (though /dev/console has 600 perms, not 660)...

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] system stopped booting

2005-12-06 Thread Michael George
Changing the perms of /dev/console to 660 didn't help much.  I do get
Populating /dev/with device nodes ... (which I don't think I got
before), but it still stops there.

Is the boot process trying to unload a tarball or something that it
might be choking on?  RC_DEVICE_TARBALL is set to yes, but setting it
to no didn't help before...

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] system stopped booting

2005-12-06 Thread Michael George
Actually, I spoke too soon.  The change in perms did get it further in
the boot process, but it complained about the special device /dev/sda1
(for /boot) not existing.  But it continued...

It seems to be stopped at Caching service dependencies now, but I will
check /var/log/messages and /var/log/dmesg and see what it tells me.

time passes

Looking at /var/log/messages, it appears that /dev/console and /dev/ttyX
were still not found, so /dev is not being correctly created, I don't
think.

It also says that the SCSI device was attached at /dev/sda, so the file
should have been there.

The last message in the log is from slapd, so it appears that the boot
process got quite a way through what it was supposed to.  However, it
never did give me a login prompt, just stopped at Caching service
dependencies.  I think that's because /dev/ttyX couldn't be opened.  So
the system basically booted all it's services and had / mounted because
grub did that (didn't need /dev/sda3).  I wouldn't consider it a stable
system, though, w/o /dev being right.

Anyone know of a way to fix this issue?

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] system stopped booting

2005-12-06 Thread Michael George
On Tue, Dec 06, 2005 at 01:06:39PM -0700, Richard Fish wrote:
 On 12/6/05, Michael George [EMAIL PROTECTED] wrote:
  Actually, I spoke too soon.  The change in perms did get it further in
  the boot process, but it complained about the special device /dev/sda1
  (for /boot) not existing.  But it continued...
 
  It seems to be stopped at Caching service dependencies now, but I will
  check /var/log/messages and /var/log/dmesg and see what it tells me.
 
  time passes
 
  Looking at /var/log/messages, it appears that /dev/console and /dev/ttyX
  were still not found, so /dev is not being correctly created, I don't
  think.
 
  It also says that the SCSI device was attached at /dev/sda, so the file
  should have been there.
 
  The last message in the log is from slapd, so it appears that the boot
  process got quite a way through what it was supposed to.  However, it
  never did give me a login prompt, just stopped at Caching service
  dependencies.  I think that's because /dev/ttyX couldn't be opened.  So
  the system basically booted all it's services and had / mounted because
  grub did that (didn't need /dev/sda3).  I wouldn't consider it a stable
  system, though, w/o /dev being right.
 
  Anyone know of a way to fix this issue?
 
 A couple of thoughts:
 
 Make sure the /dev/null and /dev/console exist on the root filesystem
 (boot from a livecd or mount --bind / /mnt/root).

Already checked that.  The root filesystem does contain /dev/null and
/dev/console are there.  However, something is obviously breaking when
udev mounts the /dev system and then those devices are no longer
there...

 Also I recommend setting RC_DEVICE_TARBALL=no and RC_USE_FSTAB=no in
 /etc/conf.d/rc

I have tried RC_DEVICE_TARBALL=no and that didn't make a difference.  I
think RC_USE_FSTAB=no is the default.

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] system stopped booting

2005-12-05 Thread Michael George
I'm having a strange problem with a system that we're putting together
to be an LDAP-based PDC.

I had it all configured and it was working fine.  I had to put the
project aside for a couple weeks as I had other things to work on and
then I came back to it.  Since it had been a while, I updated the whole
system, updated the configs with etc-update, and I'm pretty sure I
rebooted to make sure all was well.

About a week later, I booted it and it wouldn't boot.  It got stuck at
configuring system to use udev and never gets okay.  I just sits there
for ever.

I booted a gentoo live cd as a rescue and found that I could chroot into
the broken system and work with it.  I tried to rebuild the whole thing,
but some emerges (one I remember is udev) would stall.  They will
only get so far as the initial  emerge line and they will sit there
for ever.

The emerges that fail will always fail.  The emerges that succeed will
do so build after build.

I ran memtest on the RAM and it failed some tests so I thought I'd found
the problem.  A couple weeks later, I have new RAM for it, but it
behaves the same.

I am not sure where to go with this one.  I'm not sure why it won't
build or boot.  The system had been running just fine before the update
and I *think* it booted after it.  However, I realize I might have
dorked some config file in /etc, but I am not sure which it might be...

If anyone has any suggestions, I'd like to find a way out of this other
than reinstalling the system.  Such a thing might happen again in the
future to a non-development system and I'd like to know the way to get it
working again.

Thank you.

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list