Re: [gentoo-user] Goodbye, Gentoo
On Sat, May 28, 2011 at 12:19 PM, Alan McKinnon alan.mckin...@gmail.comwrote: Apparently, though unproven, at 18:38 on Saturday 28 May 2011, Daniel da Veiga did opine thusly: On Thu, May 26, 2011 at 20:28, Kevin O'Gorman kogor...@gmail.com wrote: It looks like it's time to take Gentoo off of my main machine. I feel a little sad about it, or I'd just quietly go away. So, since I am familiar with Ubuntu from work, and have it on a couple of laptops, I'm installing from the Ubuntu 11.04 live disk (video is just fine). Good luck. A friend just dropped Ubuntu cause they simply decided to use Unity, and the dashboard is just (his words) weird. He was used to the Gnome look, and they simply changed everthing with an upgrade. I stick with Gentoo, at least I know my next upgrade won't change my whole interface... Ubuntu are simply doing what KDE already did - take a risk, go with something new, try to stay ahead of the curve. Unity works fine on my netbook with 600 vertical pixels. I'm not sure it would work well on my 1920x1200 notebook though. That's the risk one takes with disruptive technologies, you might annoy some of your users My hardware is not capable enough to run unity, so it logs into Gnome 2, the familiar interface. I'm eventually going to upgrade the mobo and video, and I'll get to visit with Unity on my own schedule. I generally stick to the LTS versions, which remain supported for 3 years. I don't see the point of more frequent upgrades because as an old-timer, I am perfectly happy with the tools I'm used to and find myself increasingly exhausted on the learning curves. I can do it, but I want there to be a really good view at the top. :o) -- Kevin O'Gorman, PhD
Re: [gentoo-user] Re: Goodbye, Gentoo
On Fri, May 27, 2011 at 5:59 PM, walt w41...@gmail.com wrote: On 05/26/2011 04:28 PM, Kevin O'Gorman wrote: Now, a couple of months into my retirement ... in 2002 when I finished my PHD Retiring 9 years after finishing your education? Nice to know that somebody can do the math :o). I got a late start. I was 52 (IIRR) when I started grad school and 59 when I finished my PhD. WTF are the rest of us doing wrong? Drop by here occasionally to give us a progress report :) -- Kevin O'Gorman, PhD
Re: [gentoo-user] Goodbye, Gentoo
On Thu, May 26, 2011 at 11:00 PM, Stroller strol...@stellar.eclipse.co.ukwrote: On 27/5/2011, at 12:28am, Kevin O'Gorman wrote: ... * Two XEON chips. I didn't know it right away but that means 4 cores. They are old Pentium IV-based 32-bit chips. I got the slowest still being made, so the clock speed is 1.6 GHz. On 4 cores, it's not bad at all. I *think* at that age those may be single-core hyperthreading chips, which would nevertheless show in (for instance) `top` as 4 cores. I won't swear to this, though. Stroller. Actually, you're right. I got two chips so I could work with real threads and thread control. The hyperthreading was a surprise, and might have done quite as well by themselves. Anyway, it still works fine and the only thing likely to make me upgrade is that the card slots are all PCI-X low voltage (extra cutout in the connector). As time goes on I'm going to want to add things, and I may wind up with a new mobo fairly soon. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Goodbye, Gentoo
On Fri, May 27, 2011 at 5:56 AM, Marc Joliet mar...@gmx.de wrote: Am Thu, 26 May 2011 16:28:46 -0700 schrieb Kevin O'Gorman kogor...@gmail.com: It looks like it's time to take Gentoo off of my main machine. I feel a little sad about it, or I'd just quietly go away. A few months ago, an update made the machine headless -- well, it could no longer bring up X but I could use the console-mode for admin, and log in via SSH from my laptop and run GUI programs. I was busy at the time, first deciding and then implementing my retirement, so I let it go. Now, a couple of months into my retirement, I'm trying to fix things up, and the latest Gentoo live disk cannot talk to my monitor at all. Whatever it's trying is unacceptable to the HD monitor I've had on there for a year, and I can't even run the consoles. The video card is an ATI Rage XL on the motherboard. Like the rest of the machine, it's vintage 2000, so maybe support got dropped. [...] (I realise your decision is made, but if this is the bug I think it is, this has nothing to do with Gentoo in particular.) I wonder which kernel version you use, because in 2.6.36/37 I was hit by a nasty EDID parsing bug. Actually, IIRC the code for parsing EDIDs was updated to understand more features or something, and that triggered errors that didn't come up before because those parts of the response from the monitor were simply ignored until then (or something like that). This lead to my own monitor not responding for over a minute at a time (sometimes going blank in between) and other people complained that it left theirs permanently blank. I think this is the original bug: https://bugs.freedesktop.org/show_bug.cgi?id=31943 which contains a workaround (with patch): The drm EDID checker is pretty strict about what EDIDs it will accept. Try this patch and add drm.edid_strict=0 to your kernel command line. For me, upgrading to 2.6.38 helped, I don't see the problem anymore (though other people report otherwise). *If* this is the bug, it makes me wonder why you don't see it under Ubuntu. Good luck with Ubuntu! Thanks. It's up, its 2.5.38 which may explain a little. I ported my usual selections (think world) from my laptops, downloaded and installed around 1400 packages in a bit over 5 hours. This included both libreoffice (the default) and openoffice (from the selections), apache, gimp, on and on, and would surely have taken a week or so under Gentoo. Today, I port over my apache configuration and my embarrassing downtime is ended. -- Kevin O'Gorman, PhD
[gentoo-user] Goodbye, Gentoo
It looks like it's time to take Gentoo off of my main machine. I feel a little sad about it, or I'd just quietly go away. A few months ago, an update made the machine headless -- well, it could no longer bring up X but I could use the console-mode for admin, and log in via SSH from my laptop and run GUI programs. I was busy at the time, first deciding and then implementing my retirement, so I let it go. Now, a couple of months into my retirement, I'm trying to fix things up, and the latest Gentoo live disk cannot talk to my monitor at all. Whatever it's trying is unacceptable to the HD monitor I've had on there for a year, and I can't even run the consoles. The video card is an ATI Rage XL on the motherboard. Like the rest of the machine, it's vintage 2000, so maybe support got dropped. But I'm not inclined to drop the machine -- it was the ballyhooed thing in Linux Journal in 2002 when I finished my PHD, so I put together these pieces: * Two XEON chips. I didn't know it right away but that means 4 cores. They are old Pentium IV-based 32-bit chips. I got the slowest still being made, so the clock speed is 1.6 GHz. On 4 cores, it's not bad at all. * 2GB of DDR ECC memory * about a dozen hard drives (some old, but mostly 500GB - 2TB Sata drives), I feel it's still worthy of respect. Some of these are in EZ-Dock docking stations and are used for rotating backups (including off-site). The main directories are on hardware RAID 1 so I have ongoing redundancy. * a Smart UPS 1500 for everything except the laser printer. So, since I am familiar with Ubuntu from work, and have it on a couple of laptops, I'm installing from the Ubuntu 11.04 live disk (video is just fine). The real headache is all the stuff I'm going to have to port. 1) Apache and dynamic (Python CGI) web site. 2) Postfix 3) About a dozen accounts that just do wget(1) data gathering triggered by the cron daemon. 4) DNS (I run my own domain on a commercial DSL account) 5) NTP client and server 6) Whatever else I forgot I set up over the years. My original reason for using Gentoo is that this machine was pretty exotic when I bought it, and I wanted to be able to tweak the compiler to get the most out of it. I can still do that for specific applications I'm working on, but otherwise it's really a non-issue now. I have gotten pretty tired of updates that take over 48 hours to compile, and the occasional mess-up that once or twice led me to rebuild with empty-tree and took a week or so. So I guess I shouldn't complain (and I'm not). I'm just not in the target market for Gentoo any more. It was fun, though. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Goodbye, Gentoo
On Thu, May 26, 2011 at 6:57 PM, Mark Shields laebsh...@gmail.com wrote: On Thu, May 26, 2011 at 6:28 PM, Kevin O'Gorman kogor...@gmail.comwrote: It looks like it's time to take Gentoo off of my main machine. I feel a little sad about it, or I'd just quietly go away. A few months ago, an update made the machine headless -- well, it could no longer bring up X but I could use the console-mode for admin, and log in via SSH from my laptop and run GUI programs. I was busy at the time, first deciding and then implementing my retirement, so I let it go. Now, a couple of months into my retirement, I'm trying to fix things up, and the latest Gentoo live disk cannot talk to my monitor at all. Whatever it's trying is unacceptable to the HD monitor I've had on there for a year, and I can't even run the consoles. The video card is an ATI Rage XL on the motherboard. Like the rest of the machine, it's vintage 2000, so maybe support got dropped. But I'm not inclined to drop the machine -- it was the ballyhooed thing in Linux Journal in 2002 when I finished my PHD, so I put together these pieces: * Two XEON chips. I didn't know it right away but that means 4 cores. They are old Pentium IV-based 32-bit chips. I got the slowest still being made, so the clock speed is 1.6 GHz. On 4 cores, it's not bad at all. * 2GB of DDR ECC memory * about a dozen hard drives (some old, but mostly 500GB - 2TB Sata drives), I feel it's still worthy of respect. Some of these are in EZ-Dock docking stations and are used for rotating backups (including off-site). The main directories are on hardware RAID 1 so I have ongoing redundancy. * a Smart UPS 1500 for everything except the laser printer. So, since I am familiar with Ubuntu from work, and have it on a couple of laptops, I'm installing from the Ubuntu 11.04 live disk (video is just fine). The real headache is all the stuff I'm going to have to port. 1) Apache and dynamic (Python CGI) web site. 2) Postfix 3) About a dozen accounts that just do wget(1) data gathering triggered by the cron daemon. 4) DNS (I run my own domain on a commercial DSL account) 5) NTP client and server 6) Whatever else I forgot I set up over the years. My original reason for using Gentoo is that this machine was pretty exotic when I bought it, and I wanted to be able to tweak the compiler to get the most out of it. I can still do that for specific applications I'm working on, but otherwise it's really a non-issue now. I have gotten pretty tired of updates that take over 48 hours to compile, and the occasional mess-up that once or twice led me to rebuild with empty-tree and took a week or so. So I guess I shouldn't complain (and I'm not). I'm just not in the target market for Gentoo any more. It was fun, though. -- Kevin O'Gorman, PhD You let a small problem like the latest live cd not booting your system scare you away? Have you tried using an older live cd? If it's a video issue, maybe detecting your monitor wrong, how about turning on the framebuffer (there's an option for that)? It's doable man, don't give up. Of course it's doable. It's just the last straw. This left my web site down for a week; I obviously can't always keep up with Gentoo's requirements, so I'm going to an easier distro that I'm equally familiar with. -- Kevin O'Gorman, PhD
Re: [gentoo-user] RIP lafilefixer: I must have missed the memo
On Thu, May 19, 2011 at 1:14 AM, Sebastian Beßler sebast...@darkmetatron.de wrote: Am 19.05.2011 04:09, schrieb Kevin O'Gorman: I've been using dev-util/lafilefixer ever since I learned about it. Now I've bumped into a thread whose latest posts suggests that it is now obsolete, with a better capability built into portage. From man make.conf FEATURES = fixlafiles Modifies .la files to not include other .la files and some other fixes (order of flags, duplicated entries, ...) As far as I can see this feature is on by default. If so, why is it still in portage and no mention of its obsolesence in the elogs? I use sys-apps/portage-2.2.0_alpha34 so it it possible that it is not yet in stable portage. Yep, it's in stable and I'm very glad. I'm unmerging lafilefixer, which has been a pain in several ways. Thanks for the info. -- Kevin O'Gorman, PhD
[gentoo-user] RIP lafilefixer: I must have missed the memo
I've been using dev-util/lafilefixer ever since I learned about it. Now I've bumped into a thread whose latest posts suggests that it is now obsolete, with a better capability built into portage. I hope this is true. I'd love to ditch it because lafilefixer --justfixit never fails to process some packages that are hardwired for one reason or another. Some search engine results suggest this may be true, but they're mostly old. Is this still and permanently true? If so, why is it still in portage and no mention of its obsolesence in the elogs? -- Kevin O'Gorman, PhD
Re: [gentoo-user] Two portage questions
On Sat, May 14, 2011 at 3:51 AM, Alan McKinnon alan.mckin...@gmail.comwrote: Apparently, though unproven, at 12:31 on Saturday 14 May 2011, Alan Mackenzie did opine thusly: Hi, Gentoo. Two questions about Portage whose ansers I haven't found in the fine manuals: 1. Where is it specified what is in system in the same way that world is in the file /var/lib/portage/world? That is defined in your system profile, not by you. /etc/make.profile is a symlink to something in $PORTDIR/profiles/ and that Odd. Not on my system, it's not. It's a directory with two entries: eapi: a text file, length 2, with contents 2\n. parent: a text file with two lines: .. ../../../../../../targets/desktop/kde The parent is obviously not relative to the /etc/make.profile directory. Portage works, pretty much, although I have an unbuildable essential package at the moment with a bug just filed. Eix says my portage is 2.1.9.42. defines the profile you are using. A profile is nothing more than a bunch of files that define what your basic system consists of - things like minimum packages to install, things that must not be installed, starting point for USE flags, etc etc. [snippage] -- alan dot mckinnon at gmail dot com -- Kevin O'Gorman, PhD
Re: [gentoo-user] Re: Prevent depclean from removing Python-2.6?
On Wed, May 11, 2011 at 4:53 PM, Adam Carter adamcart...@gmail.com wrote: Apparently so. It seems like it ought to pay attention to eselect. If I've explicitly configured my system to use 2.6 instead of 2.7, removing 2.6 doesn't seem like a good thing... Sounds to me like that should be made into a feature request. What does the list think? If there's support I will log it. +1 It bit me, and just seems stupid. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Apache is running but its log is not
On Tue, May 3, 2011 at 11:15 PM, Joost Roeleveld jo...@antarean.org wrote: On Wednesday 04 May 2011 13:48:48 Adam Carter wrote: Well, 2.2.17 is indeed my server, but I decided to stop it and start it again. Current log files showed up. Problem solved, by brute force again, and without any epiphanies of understanding. Last guess - logrotate is managing the log files but not reloading apache afterwards. Check that the entries in /etc/logrotate.d/apache2 have a line in there that runs /etc/init.d/apache2 reload. Adam, I think you got a really good guess. :) Especially as the log-files listed by lsof have status deleted: ** apache25288 root9w REG 8,44 57327591 204998 /var/log/apache2/access_log-20110204 (deleted) ** Interesting things happen when a file is deleted while a process still has access. -- Joost Indeed they do. I used to teach it to my students as a technique for getting a *really* temporary private file (combined with O_EXCL). I'm about to try this, and I may change it a bit because when I restarted apache, reload didn't work. I had to stop it and restart it. Maybe I'll submit a bug if I can make sense out of what happens with 'reload' and it always happens. -- Kevin O'Gorman, PhD
Re: [gentoo-user] emerge stopped working
On Tue, May 3, 2011 at 4:42 AM, Davide Carnovale francesco.davide.carnov...@gmail.com wrote: yes, the problem was that python 2.6 was unmerged and the new one wasn't selected yet. so eselecting the new python (2.7) and running python-updater restored my system. i used an usb version of the livedvd to help me in this, as wicd was among the broken things and i couldn't connect to the net to download the required packages to update python. so thanks everyone for the hints that led me to the solution and particular thanks to helmut, alan, kevin and stroller. i'll follow your suggestions and definitely pay more attention in the future while updating the system =) D 2011/5/3 Helmut Jarausch jarau...@igpm.rwth-aachen.de On 05/02/2011 06:05:08 PM, Davide Carnovale wrote: @alan, no error are printed, where and what should i look for in the logs? @helmut python just returns to the console, without error or effect of any sort, does it means python has get unmerged and that's why emerge doesn't work anymore? You have got many hints from others. To consider the problem from all sides you my try ldd /usr/bin/python2.6 ldd /usr/bin/python2.7 and see if all dynamic libraries could be loaded. And if that fails, here a hint from an earlier thread Recovering Gentoo from a broken python This may be a life saver. I noticed that I have two version of python installed on my Gentoo box. So I thought I'd try uninstalling the old one. This actually uninstalls the latest version libraries leaving me with a warning such as ImportError: no such module time. This is bad as you cannot use emerge at all not even to emerge python to fix things. To fix, as root: cd /root wget http://distfiles.gentoo.org/distfiles/Python-2.7.1.tar.bz2 tar jxvf Python-2.7.1.tar.bz2 cd Python-2.7.1 ./configure make ./python emerge python cd /root rm -rf Python-2.7.1* You are now fixed. Or replace 2.7.1 by 2.6.6 if your system has been running under Python 2.6 before the problem arose. Helmut. Thanks from me too. Lots of good ideas in this thread. I'm glad the thread was there already when I ran into exactly the same thing. I can't even take refuge in claiming to be a n00b -- I've run gentoo on my main machine since somewhere around 2002, when I finished grad school and bought it for myself as a present. (two dual-core Xeons, 2GB DDR ECC, built from parts as suggested as the machine of the year (or something like that) by Linux Journal). I wound up with Gentoo because slower-release distros did not have kernels that knew how to configure such a machine -- I never figured out if it was the Xeon stuff or just SMP. Anyway, an up-to-date kernel avoided it triggering clock slowdowns. Nothing like having a state-of-the-art machine that persists in running at 10%. I do try to get elogs by email, but its flakey for some reason. But some of those other steps mentioned above I've never heard of before. Time for a little studying (sigh). -- Kevin O'Gorman, PhD
Re: [gentoo-user] Apache is running but its log is not
LogFormat %h %l %u %t \%r\ %s %b \%{Referer}i\ \%{User-Agent}i\ %I %O combinedio LogFormat %v %h %l %u %t \%r\ %s %b \%{Referer}i\ \%{User-Agent}i\ %I %O vhostio /IfModule # The location and format of the access logfile (Common Logfile Format). # If you do not define any access logfiles within a VirtualHost # container, they will be logged here. Contrariwise, if you *do* # define per-VirtualHost access logfiles, transactions will be # logged therein and *not* in this file. CustomLog /var/log/apache2/access_log common # If you would like to have agent and referer logfiles, # uncomment the following directives. #CustomLog /var/log/apache2/referer_log referer #CustomLog /var/log/apache2/agent_logs agent # If you prefer a logfile with access, agent, and referer information # (Combined Logfile Format) you can use the following directive. #CustomLog /var/log/apache2/access_log combined /IfModule # vim: ts=4 filetype=apache So there should be an access_log, and there is, but it has not been touched in a while: treat apache2 # ls -l total 1584 -rw-rw-rw- 1 apache apache 0 Feb 4 03:10 access_log -rw-rw-rw- 1 apache apache 191438 Jun 15 2009 access_log.1.gz -rw-rw-rw- 1 apache apache 111538 Dec 26 03:10 access_log-20101226.gz -rw-rw-rw- 1 apache apache 15152 Jan 18 03:10 access_log-20110118.gz -rw-rw-rw- 1 apache apache 179611 Jan 25 03:10 access_log-20110125.gz -rw-rw-rw- 1 apache apache 16844 Feb 4 03:10 access_log-20110204.gz -rw-rw-rw- 1 apache apache 234663 Jun 8 2009 access_log.2.gz -rw-rw-rw- 1 apache apache 270349 Jun 1 2009 access_log.3.gz -rw-rw-rw- 1 apache apache 277761 May 25 2009 access_log.4.gz -rw-rw-rw- 1 apache apache 0 Feb 4 03:10 error_log -rw-rw-rw- 1 apache apache 117611 Jun 15 2009 error_log.1.gz.out -rw-rw-rw- 1 apache apache 33793 Dec 26 03:10 error_log-20101226.gz -rw-rw-rw- 1 apache apache 3729 Jan 18 03:10 error_log-20110118.gz -rw-rw-rw- 1 apache apache 34184 Jan 25 03:10 error_log-20110125.gz -rw-rw-rw- 1 apache apache 4350 Feb 4 03:10 error_log-20110204.gz -rw-rw-rw- 1 apache apache 5706 Jun 8 2009 error_log.2.gz -rw-rw-rw- 1 apache apache 5628 Jun 1 2009 error_log.3.gz -rw-rw-rw- 1 apache apache 6344 May 25 2009 error_log.4.gz -rw-rw-rw- 1 apache apache 0 Feb 6 03:10 ssl_access_log -rw-rw-rw- 1 apache apache 89 Dec 31 03:10 ssl_access_log-20101231.gz -rw-rw-rw- 1 apache apache137 Jan 22 03:10 ssl_access_log-20110122.gz -rw-rw-rw- 1 apache apache182 Jan 30 03:10 ssl_access_log-20110130.gz -rw-rw-rw- 1 apache apache 89 Feb 6 03:10 ssl_access_log-20110206.gz -rw-rw-rw- 1 apache apache 0 Feb 7 03:10 ssl_error_log -rw-rw-rw- 1 apache apache122 Dec 20 03:10 ssl_error_log-20101220.gz -rw-rw-rw- 1 apache apache122 Jan 18 03:10 ssl_error_log-20110118.gz -rw-rw-rw- 1 apache apache208 Jan 30 03:10 ssl_error_log-20110130.gz -rw-rw-rw- 1 apache apache203 Feb 7 03:10 ssl_error_log-20110207.gz -rw-rw-rw- 1 apache apache 0 Feb 6 03:10 ssl_request_log -rw-rw-rw- 1 apache apache102 Dec 31 03:10 ssl_request_log-20101231.gz -rw-rw-rw- 1 apache apache158 Jan 22 03:10 ssl_request_log-20110122.gz -rw-rw-rw- 1 apache apache197 Jan 30 03:10 ssl_request_log-20110130.gz -rw-rw-rw- 1 apache apache103 Feb 6 03:10 ssl_request_log-20110206.gz treat apache2 # -- Kevin O'Gorman, PhD
Re: [gentoo-user] Apache is running but its log is not
On Tue, May 3, 2011 at 8:19 PM, Kevin O'Gorman kogor...@gmail.com wrote: On Mon, May 2, 2011 at 8:30 PM, Adam Carter adamcart...@gmail.com wrote: Okay, there was already a thread about that, and my Python problem seems solved. I still have no log entries. Ok, as root, try lsof | grep apache and see if there are any open log files. You may need to emerge lsof first if you dont already have it. IIRC apache fails to start if it cant write to the log directory - could be wrong on that tho. So there should be an access_log, and there is, but it has not been touched in a while: treat apache2 # ls -l total 1584 -rw-rw-rw- 1 apache apache 0 Feb 4 03:10 access_log -rw-rw-rw- 1 apache apache 191438 Jun 15 2009 access_log.1.gz -rw-rw-rw- 1 apache apache 111538 Dec 26 03:10 access_log-20101226.gz -rw-rw-rw- 1 apache apache 15152 Jan 18 03:10 access_log-20110118.gz -rw-rw-rw- 1 apache apache 179611 Jan 25 03:10 access_log-20110125.gz -rw-rw-rw- 1 apache apache 16844 Feb 4 03:10 access_log-20110204.gz -rw-rw-rw- 1 apache apache 234663 Jun 8 2009 access_log.2.gz -rw-rw-rw- 1 apache apache 270349 Jun 1 2009 access_log.3.gz -rw-rw-rw- 1 apache apache 277761 May 25 2009 access_log.4.gz -rw-rw-rw- 1 apache apache 0 Feb 4 03:10 error_log -rw-rw-rw- 1 apache apache 117611 Jun 15 2009 error_log.1.gz.out -rw-rw-rw- 1 apache apache 33793 Dec 26 03:10 error_log-20101226.gz -rw-rw-rw- 1 apache apache 3729 Jan 18 03:10 error_log-20110118.gz -rw-rw-rw- 1 apache apache 34184 Jan 25 03:10 error_log-20110125.gz -rw-rw-rw- 1 apache apache 4350 Feb 4 03:10 error_log-20110204.gz -rw-rw-rw- 1 apache apache 5706 Jun 8 2009 error_log.2.gz -rw-rw-rw- 1 apache apache 5628 Jun 1 2009 error_log.3.gz -rw-rw-rw- 1 apache apache 6344 May 25 2009 error_log.4.gz -rw-rw-rw- 1 apache apache 0 Feb 6 03:10 ssl_access_log -rw-rw-rw- 1 apache apache 89 Dec 31 03:10 ssl_access_log-20101231.gz -rw-rw-rw- 1 apache apache137 Jan 22 03:10 ssl_access_log-20110122.gz -rw-rw-rw- 1 apache apache182 Jan 30 03:10 ssl_access_log-20110130.gz -rw-rw-rw- 1 apache apache 89 Feb 6 03:10 ssl_access_log-20110206.gz -rw-rw-rw- 1 apache apache 0 Feb 7 03:10 ssl_error_log -rw-rw-rw- 1 apache apache122 Dec 20 03:10 ssl_error_log-20101220.gz -rw-rw-rw- 1 apache apache122 Jan 18 03:10 ssl_error_log-20110118.gz -rw-rw-rw- 1 apache apache208 Jan 30 03:10 ssl_error_log-20110130.gz -rw-rw-rw- 1 apache apache203 Feb 7 03:10 ssl_error_log-20110207.gz -rw-rw-rw- 1 apache apache 0 Feb 6 03:10 ssl_request_log -rw-rw-rw- 1 apache apache102 Dec 31 03:10 ssl_request_log-20101231.gz -rw-rw-rw- 1 apache apache158 Jan 22 03:10 ssl_request_log-20110122.gz -rw-rw-rw- 1 apache apache197 Jan 30 03:10 ssl_request_log-20110130.gz -rw-rw-rw- 1 apache apache103 Feb 6 03:10 ssl_request_log-20110206.gz treat apache2 # -- Kevin O'Gorman, PhD Well, 2.2.17 is indeed my server, but I decided to stop it and start it again. Current log files showed up. Problem solved, by brute force again, and without any epiphanies of understanding. Thanks for your help. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Apache is running but its log is not
On Sat, Apr 30, 2011 at 11:37 PM, Adam Carter adamcart...@gmail.com wrote: How do I find out where/if Apache thinks its logging things? In /etc/apache check httpd.conf and modules.d/00_mod_log_config.conf in /etc/apache2, I find ServerRoot /usr/lib/apache2 but no log files, and no special logfile paths, so it seems it must use the default. However in /var/log/apache2 I find log files that have not been touched since February. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Apache is running but its log is not
On Sun, May 1, 2011 at 1:39 AM, Neil Bothwick n...@digimed.co.uk wrote: On Sat, 30 Apr 2011 23:04:35 -0700, Kevin O'Gorman wrote: I just noticed a failure in a dynamic web page that I haven't touched in years. So I looked in /var/log/apache2 and found that no files have been touched since February. Are permissions correct for the apache user to created and write to files? Does syslog show any messages from Apache? Permissions are generous: treat apache2 # ls -lad /var drwxr-xr-x 17 root root 4096 Apr 30 23:06 /var treat apache2 # ls -lad /var/log drwxr-xr-x 17 root root 4096 May 2 03:14 /var/log treat apache2 # ls -lad /var/log/apache2 drwxrwxrwx 2 apache apache 4096 Apr 30 22:16 /var/log/apache2 treat apache2 # ls -l /var/log/apache2 total 1584 -rw-rw-rw- 1 apache apache 0 Feb 4 03:10 access_log -rw-rw-rw- 1 apache apache 191438 Jun 15 2009 access_log.1.gz -rw-rw-rw- 1 apache apache 111538 Dec 26 03:10 access_log-20101226.gz -rw-rw-rw- 1 apache apache 15152 Jan 18 03:10 access_log-20110118.gz -rw-rw-rw- 1 apache apache 179611 Jan 25 03:10 access_log-20110125.gz -rw-rw-rw- 1 apache apache 16844 Feb 4 03:10 access_log-20110204.gz -rw-rw-rw- 1 apache apache 234663 Jun 8 2009 access_log.2.gz -rw-rw-rw- 1 apache apache 270349 Jun 1 2009 access_log.3.gz -rw-rw-rw- 1 apache apache 277761 May 25 2009 access_log.4.gz -rw-rw-rw- 1 apache apache 0 Feb 4 03:10 error_log -rw-rw-rw- 1 apache apache 117611 Jun 15 2009 error_log.1.gz.out -rw-rw-rw- 1 apache apache 33793 Dec 26 03:10 error_log-20101226.gz -rw-rw-rw- 1 apache apache 3729 Jan 18 03:10 error_log-20110118.gz -rw-rw-rw- 1 apache apache 34184 Jan 25 03:10 error_log-20110125.gz -rw-rw-rw- 1 apache apache 4350 Feb 4 03:10 error_log-20110204.gz -rw-rw-rw- 1 apache apache 5706 Jun 8 2009 error_log.2.gz -rw-rw-rw- 1 apache apache 5628 Jun 1 2009 error_log.3.gz -rw-rw-rw- 1 apache apache 6344 May 25 2009 error_log.4.gz -rw-rw-rw- 1 apache apache 0 Feb 6 03:10 ssl_access_log -rw-rw-rw- 1 apache apache 89 Dec 31 03:10 ssl_access_log-20101231.gz -rw-rw-rw- 1 apache apache137 Jan 22 03:10 ssl_access_log-20110122.gz -rw-rw-rw- 1 apache apache182 Jan 30 03:10 ssl_access_log-20110130.gz -rw-rw-rw- 1 apache apache 89 Feb 6 03:10 ssl_access_log-20110206.gz -rw-rw-rw- 1 apache apache 0 Feb 7 03:10 ssl_error_log -rw-rw-rw- 1 apache apache122 Dec 20 03:10 ssl_error_log-20101220.gz -rw-rw-rw- 1 apache apache122 Jan 18 03:10 ssl_error_log-20110118.gz -rw-rw-rw- 1 apache apache208 Jan 30 03:10 ssl_error_log-20110130.gz -rw-rw-rw- 1 apache apache203 Feb 7 03:10 ssl_error_log-20110207.gz -rw-rw-rw- 1 apache apache 0 Feb 6 03:10 ssl_request_log -rw-rw-rw- 1 apache apache102 Dec 31 03:10 ssl_request_log-20101231.gz -rw-rw-rw- 1 apache apache158 Jan 22 03:10 ssl_request_log-20110122.gz -rw-rw-rw- 1 apache apache197 Jan 30 03:10 ssl_request_log-20110130.gz -rw-rw-rw- 1 apache apache103 Feb 6 03:10 ssl_request_log-20110206.gz treat apache2 # There is one syslog entry for apache in the last 7 days: May 1 08:44:13 treat named[5150]: error (unexpected RCODE SERVFAIL) resolving 'maven.apache.org/A/IN': 199.19.57.1#53 This does not seem to have anything to do with the problem, which is that my CGI script associated with hex.kosmanor.com/hex/bin/newdump was failing. In the meanwhile, I'll be opening a different thread because things got lots worse when I did a --depclean, which deleted the one copy of python that everything seems to use: my CGI scripts are now the least of my problems. I can no longer run portage, vim or even untar my extensive collection of binary packages. -- Kevin O'Gorman, PhD
Re: [gentoo-user] emerge stopped working
On Mon, May 2, 2011 at 9:05 AM, Davide Carnovale francesco.davide.carnov...@gmail.com wrote: 2011/5/2 Helmut Jarausch jarau...@igpm.rwth-aachen.de On 05/02/2011 05:38:03 PM, Davide Carnovale wrote: Hi all! i was going through a world update today and during --depclean emerge throw an error complaining about possible corrupted binaries or hw failure. since then it has stopped working, no matter what i try to emerge, the command simply return to the shell without any kind of error or any other output at all. i fired and usb stick with the gentoo 11 live dvd and i copied over both bash and emerge binaries to my machine, in case they were corrupted (bash was given as the most likely) but nothing changed. now i simply have no clue on what's wrong and how can i fix it, apart from a full reinstall, which i'd like to avoid. can anyone point me somewhere to solve this problem? emerge needs Python. Have you tried to invoke Python, just by python import portage quit() Helmut. @alan, no error are printed, where and what should i look for in the logs? @helmut python just returns to the console, without error or effect of any sort, does it means python has get unmerged and that's why emerge doesn't work anymore? I have the same problem. I just did a --depclean, and find that 'vim' cannot run: treat log # vim vim: error while loading shared libraries: libpython2.6.so.1.0: cannot open shared object file: No such file or directory treat log # So I have to fall back on pico, which I only barely know how to use. I have quite a collection of binary packages (everything emerged in the last few years), but even untarring them fails (just wedges with no message, and even strace(1) is not helping me find this.) I can unpack on a different machine, but will that even help? BTW, it's not that I don't have python, it's just that version 2.6.6 got unloaded somehow: [I] dev-lang/python Available versions: (2.4) 2.4.6{tbz2} (2.5) 2.5.4-r4{tbz2} (2.6) 2.6.5-r3{tbz2} 2.6.6-r1{tbz2} 2.6.6-r2{tbz2} (2.7) 2.7.1-r1{tbz2} (3.1) 3.1.2-r4{tbz2} 3.1.3-r1{tbz2} (3.2) [M]~3.2 {-berkdb bootstrap build +cxx doc elibc_uclibc examples gdbm ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml} Installed versions: reformatted for clarity 2.4.6(2.4){tbz2}(11:05:11 PM 02/19/2011)(cxx gdbm ipv6 ncurses readline ssl threads tk wide-unicode xml -berkdb -bootstrap -build -doc -elibc_uclibc -examples -wininst) 2.5.4-r4(2.5){tbz2}(11:16:07 PM 02/19/2011)(gdbm ipv6 ncurses readline ssl threads tk wide-unicode xml -berkdb -build -doc -elibc_uclibc -examples -sqlite -wininst) 2.7.1-r1(2.7){tbz2}(06:11:36 PM 04/21/2011)(gdbm ipv6 ncurses readline ssl threads tk wide-unicode xml -berkdb -build -doc -elibc_uclibc -examples -sqlite -wininst) 3.1.3-r1(3.1){tbz2}(02:31:33 PM 02/26/2011)(gdbm ipv6 ncurses readline ssl threads tk wide-unicode xml -build -doc -elibc_uclibc -examples -sqlite -wininst) Homepage:http://www.python.org/ I'm right now trying to see if eselect python set 3 will let emerge, vim and tar run again. 3 is version 2.7. -- Kevin O'Gorman, PhD
Re: [gentoo-user] emerge stopped working
On Mon, May 2, 2011 at 9:54 AM, Kevin O'Gorman kogor...@gmail.com wrote: On Mon, May 2, 2011 at 9:05 AM, Davide Carnovale francesco.davide.carnov...@gmail.com wrote: 2011/5/2 Helmut Jarausch jarau...@igpm.rwth-aachen.de On 05/02/2011 05:38:03 PM, Davide Carnovale wrote: Hi all! i was going through a world update today and during --depclean emerge throw an error complaining about possible corrupted binaries or hw failure. since then it has stopped working, no matter what i try to emerge, the command simply return to the shell without any kind of error or any other output at all. i fired and usb stick with the gentoo 11 live dvd and i copied over both bash and emerge binaries to my machine, in case they were corrupted (bash was given as the most likely) but nothing changed. now i simply have no clue on what's wrong and how can i fix it, apart from a full reinstall, which i'd like to avoid. can anyone point me somewhere to solve this problem? emerge needs Python. Have you tried to invoke Python, just by python import portage quit() Helmut. @alan, no error are printed, where and what should i look for in the logs? @helmut python just returns to the console, without error or effect of any sort, does it means python has get unmerged and that's why emerge doesn't work anymore? I have the same problem. I just did a --depclean, and find that 'vim' cannot run: treat log # vim vim: error while loading shared libraries: libpython2.6.so.1.0: cannot open shared object file: No such file or directory treat log # So I have to fall back on pico, which I only barely know how to use. I have quite a collection of binary packages (everything emerged in the last few years), but even untarring them fails (just wedges with no message, and even strace(1) is not helping me find this.) I can unpack on a different machine, but will that even help? BTW, it's not that I don't have python, it's just that version 2.6.6 got unloaded somehow: [I] dev-lang/python Available versions: (2.4) 2.4.6{tbz2} (2.5) 2.5.4-r4{tbz2} (2.6) 2.6.5-r3{tbz2} 2.6.6-r1{tbz2} 2.6.6-r2{tbz2} (2.7) 2.7.1-r1{tbz2} (3.1) 3.1.2-r4{tbz2} 3.1.3-r1{tbz2} (3.2) [M]~3.2 {-berkdb bootstrap build +cxx doc elibc_uclibc examples gdbm ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml} Installed versions: reformatted for clarity 2.4.6(2.4){tbz2}(11:05:11 PM 02/19/2011)(cxx gdbm ipv6 ncurses readline ssl threads tk wide-unicode xml -berkdb -bootstrap -build -doc -elibc_uclibc -examples -wininst) 2.5.4-r4(2.5){tbz2}(11:16:07 PM 02/19/2011)(gdbm ipv6 ncurses readline ssl threads tk wide-unicode xml -berkdb -build -doc -elibc_uclibc -examples -sqlite -wininst) 2.7.1-r1(2.7){tbz2}(06:11:36 PM 04/21/2011)(gdbm ipv6 ncurses readline ssl threads tk wide-unicode xml -berkdb -build -doc -elibc_uclibc -examples -sqlite -wininst) 3.1.3-r1(3.1){tbz2}(02:31:33 PM 02/26/2011)(gdbm ipv6 ncurses readline ssl threads tk wide-unicode xml -build -doc -elibc_uclibc -examples -sqlite -wininst) Homepage:http://www.python.org/ I'm right now trying to see if eselect python set 3 will let emerge, vim and tar run again. 3 is version 2.7. -- Kevin O'Gorman, PhD ANSWER: yes it did. At least emerge and vim are working again. I'm also doing all of my usual post-emerge cleanups just in case: #!/bin/bash echo ' !!! Running dispatch-conf' dispatch-conf echo ' !!! Running revdep-rebuild --ignore' revdep-rebuild --ignore echo ' !!! Running lafilefixer --justfixit' lafilefixer --justfixit | fgrep -v 'skipping update' echo ' !!! Running perl-cleaner all' perl-cleaner all | fgrep -v 'Skipping directory' I'm hoping you also have an extra copy of python around, so you can do the same thing. -- Kevin O'Gorman, PhD
Re: [gentoo-user] emerge stopped working
On Mon, May 2, 2011 at 10:10 AM, Mick michaelkintz...@gmail.com wrote: I'll guess, since everybody else is, that you updated python to 2.7, then did *NOT* run python-update, did not use eselect to change to 2.7, but *DID* run emerge --depclean which removed dev-lang/python-2.6.6-r2. that would be python-updater. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Apache is running but its log is not
On Mon, May 2, 2011 at 9:36 AM, Kevin O'Gorman kogor...@gmail.com wrote: On Sun, May 1, 2011 at 1:39 AM, Neil Bothwick n...@digimed.co.uk wrote: On Sat, 30 Apr 2011 23:04:35 -0700, Kevin O'Gorman wrote: I just noticed a failure in a dynamic web page that I haven't touched in years. So I looked in /var/log/apache2 and found that no files have been touched since February. Are permissions correct for the apache user to created and write to files? Does syslog show any messages from Apache? Permissions are generous: treat apache2 # ls -lad /var drwxr-xr-x 17 root root 4096 Apr 30 23:06 /var treat apache2 # ls -lad /var/log drwxr-xr-x 17 root root 4096 May 2 03:14 /var/log treat apache2 # ls -lad /var/log/apache2 drwxrwxrwx 2 apache apache 4096 Apr 30 22:16 /var/log/apache2 treat apache2 # ls -l /var/log/apache2 total 1584 -rw-rw-rw- 1 apache apache 0 Feb 4 03:10 access_log -rw-rw-rw- 1 apache apache 191438 Jun 15 2009 access_log.1.gz -rw-rw-rw- 1 apache apache 111538 Dec 26 03:10 access_log-20101226.gz -rw-rw-rw- 1 apache apache 15152 Jan 18 03:10 access_log-20110118.gz -rw-rw-rw- 1 apache apache 179611 Jan 25 03:10 access_log-20110125.gz -rw-rw-rw- 1 apache apache 16844 Feb 4 03:10 access_log-20110204.gz -rw-rw-rw- 1 apache apache 234663 Jun 8 2009 access_log.2.gz -rw-rw-rw- 1 apache apache 270349 Jun 1 2009 access_log.3.gz -rw-rw-rw- 1 apache apache 277761 May 25 2009 access_log.4.gz -rw-rw-rw- 1 apache apache 0 Feb 4 03:10 error_log -rw-rw-rw- 1 apache apache 117611 Jun 15 2009 error_log.1.gz.out -rw-rw-rw- 1 apache apache 33793 Dec 26 03:10 error_log-20101226.gz -rw-rw-rw- 1 apache apache 3729 Jan 18 03:10 error_log-20110118.gz -rw-rw-rw- 1 apache apache 34184 Jan 25 03:10 error_log-20110125.gz -rw-rw-rw- 1 apache apache 4350 Feb 4 03:10 error_log-20110204.gz -rw-rw-rw- 1 apache apache 5706 Jun 8 2009 error_log.2.gz -rw-rw-rw- 1 apache apache 5628 Jun 1 2009 error_log.3.gz -rw-rw-rw- 1 apache apache 6344 May 25 2009 error_log.4.gz -rw-rw-rw- 1 apache apache 0 Feb 6 03:10 ssl_access_log -rw-rw-rw- 1 apache apache 89 Dec 31 03:10 ssl_access_log-20101231.gz -rw-rw-rw- 1 apache apache137 Jan 22 03:10 ssl_access_log-20110122.gz -rw-rw-rw- 1 apache apache182 Jan 30 03:10 ssl_access_log-20110130.gz -rw-rw-rw- 1 apache apache 89 Feb 6 03:10 ssl_access_log-20110206.gz -rw-rw-rw- 1 apache apache 0 Feb 7 03:10 ssl_error_log -rw-rw-rw- 1 apache apache122 Dec 20 03:10 ssl_error_log-20101220.gz -rw-rw-rw- 1 apache apache122 Jan 18 03:10 ssl_error_log-20110118.gz -rw-rw-rw- 1 apache apache208 Jan 30 03:10 ssl_error_log-20110130.gz -rw-rw-rw- 1 apache apache203 Feb 7 03:10 ssl_error_log-20110207.gz -rw-rw-rw- 1 apache apache 0 Feb 6 03:10 ssl_request_log -rw-rw-rw- 1 apache apache102 Dec 31 03:10 ssl_request_log-20101231.gz -rw-rw-rw- 1 apache apache158 Jan 22 03:10 ssl_request_log-20110122.gz -rw-rw-rw- 1 apache apache197 Jan 30 03:10 ssl_request_log-20110130.gz -rw-rw-rw- 1 apache apache103 Feb 6 03:10 ssl_request_log-20110206.gz treat apache2 # There is one syslog entry for apache in the last 7 days: May 1 08:44:13 treat named[5150]: error (unexpected RCODE SERVFAIL) resolving 'maven.apache.org/A/IN': 199.19.57.1#53 This does not seem to have anything to do with the problem, which is that my CGI script associated with hex.kosmanor.com/hex/bin/newdump was failing. In the meanwhile, I'll be opening a different thread because things got lots worse when I did a --depclean, which deleted the one copy of python that everything seems to use: my CGI scripts are now the least of my problems. I can no longer run portage, vim or even untar my extensive collection of binary packages. -- Kevin O'Gorman, PhD Okay, there was already a thread about that, and my Python problem seems solved. I still have no log entries. -- Kevin O'Gorman, PhD
[gentoo-user] Apache is running but its log is not
I just noticed a failure in a dynamic web page that I haven't touched in years. So I looked in /var/log/apache2 and found that no files have been touched since February. I've rebooted and kept the system current by regular emerges, so it's been restarted, but until now I did not notice a failure (it's a feature not commonly used). I want to find out the exact error from my CGI program (the web error says the system logs will have more info but they don't). How do I find out where/if Apache thinks its logging things? -- Kevin O'Gorman, PhD
Re: [gentoo-user] Re: revdep-rebuild Not Fixing Broken Links
On Thu, Apr 7, 2011 at 10:38 AM, Brennan Shacklett bp.shackl...@gmail.comwrote: I think that package is there, but I'll check this weekend. I didn't feel like carrying my laptop today. It would be nice if I just had to install it, but I would think revdep-rebuild should pull it in . . . or doesn't revdep-rebuild work that way? revdep-rebuild will only rebuild the package with the broken link. It won't pull in anything (unless the ebuild pulls something else in), so revdep-rebuild can't fix an issue that needs another package that the ebuild doesn't depend on. --Brennan Shacklett Moreover, you may want to run emerge -a --depclean, which just might flush the package(s) with broken links. I run that manually once in a while, but regularly clean a bunch of other things with a script I call cleanup, -#!/bin/bash -dispatch-conf -revdep-rebuild -lafilefixer --justfixit -perl-cleaner all -locale-gen --keep --quiet You have to be prepared to respond to dispatch-conf, but the others run to completion by themselves. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Any bought a laptop that Just Works?
On Wed, Mar 30, 2011 at 11:31 AM, Robin Atwood robin.atw...@attglobal.netwrote: I am in the market for a new laptop and would be interested if anyone else on the list had recently bought a laptop in which all the hardware worked out of the box with Linux. I am most concerned about WiFi/audio/webcam, the finer points of hibernation are of lesser concern. Currently I have a Linux Certified machine but I want to avoid shipping costs to the UK. TIA -Robin I bought a Gateway NV55C late last year, and Ubuntu went on without a hitch: sound, movies, webcam, wifi, ethernet, second monitor and all. The only thing to dislike is that the machine does not have an indicator LED for caps lock -- on Win 7 it uses an on-screen icon each time the status changes. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Puzzled about --depclean
On Wed, Dec 22, 2010 at 9:04 AM, Mark Knecht markkne...@gmail.com wrote: On Wed, Dec 22, 2010 at 8:36 AM, Kevin O'Gorman kogor...@gmail.com wrote: I just ran emerge -p --depclean and the only thing it wants to remove is gentoo-sources-2.6.35-r12. So my system's pretty clean, but I'm quite puzzled with this result. I have 5 versions of gentoo-sources installed, and the one it wants to ditch is the one I'm actually using. I can understand why it wouldn't care about that, but why not: 2.6.31-r10 which is no longer in the tree any of the others, which are marked in exactly the same way as the victim it picked? Some are older, and some are newer than this victim. What gives? I'm just wondering about how --depclean picked on this one of the five? Look in /var/lib/portage/world and see if you are protecting the versions you think it should be cleaning but it isn't. Hope this helps, Mark I looked there, and there's sys-kernel/gentoo-sources so I would expect them all to be protected. Why the exception? ++ kevin -- Kevin O'Gorman, PhD
[gentoo-user] Persistent hal
I don't really want it, but my system still has hal installed. According to equery depends, it seems that there are still two packages that unconditionally depend on hal (besides hal-info): k3b and gnome-mount. I don't care much about gnome-mount (this is primarily a KDE system), but I definitely use K3B a lot. I don't see any use flags to change with respect to k3b, so I'm feeling I''m missing something. Help? ++ kevin
Re: [gentoo-user] Persistent hal
On Wed, Dec 22, 2010 at 7:33 AM, Mark Knecht markkne...@gmail.com wrote: On Wed, Dec 22, 2010 at 7:26 AM, Kevin O'Gorman kogor...@gmail.com wrote: I don't really want it, but my system still has hal installed. According to equery depends, it seems that there are still two packages that unconditionally depend on hal (besides hal-info): k3b and gnome-mount. I don't care much about gnome-mount (this is primarily a KDE system), but I definitely use K3B a lot. I don't see any use flags to change with respect to k3b, so I'm feeling I''m missing something. Help? You are not as far as I can tell. I was looking at that yesterday. Saw the same thing. That's pretty strange. I loked further, and found that --depclean wanted to ditch the gnome-mounter, which I promptly unmerged myself, so K3B is the only thing left that wants hal. Of course, I'm sticking with x86 stable, which means hal-2.0.0. Maybe the ~x86 version in there fixes this? -- Kevin O'Gorman, PhD
[gentoo-user] Puzzled about --depclean
I just ran emerge -p --depclean and the only thing it wants to remove is gentoo-sources-2.6.35-r12. So my system's pretty clean, but I'm quite puzzled with this result. I have 5 versions of gentoo-sources installed, and the one it wants to ditch is the one I'm actually using. I can understand why it wouldn't care about that, but why not: 2.6.31-r10 which is no longer in the tree any of the others, which are marked in exactly the same way as the victim it picked? Some are older, and some are newer than this victim. What gives? I'm just wondering about how --depclean picked on this one of the five? -- Kevin O'Gorman, PhD
[gentoo-user] Eeek: many open ports
Eeek!! Just fooling around with some software on my laptop, I found that my Gentoo desktop has an even dozen open inet ports with something listening to them, in addition to the ones I would expect (25, 80 and so on). They are all in the range 32768-6. Netstat agrees that they're open but does not disclose which process is listening. Does anybody know how to find this out? ++ kevin -- Kevin O'Gorman, PhD
[gentoo-user] Re: Eeek: many open ports
On Mon, Dec 13, 2010 at 1:08 PM, Kevin O'Gorman kogor...@gmail.com wrote: Eeek!! Just fooling around with some software on my laptop, I found that my Gentoo desktop has an even dozen open inet ports with something listening to them, in addition to the ones I would expect (25, 80 and so on). They are all in the range 32768-6. Netstat agrees that they're open but does not disclose which process is listening. Does anybody know how to find this out? I should add that they all disappear when I log off, and are not seen when I log in as root, nor when I log in remotely. These could (I hope so) be things that KDE is starting, but it seems like an awful lot of listening ports. I have about 125 processes just for starting KDE, few of which I understand, so I could use some help narrowing this down. ++ kevin -- Kevin O'Gorman, PhD
Re: [gentoo-user] Eeek: many open ports
On Mon, Dec 13, 2010 at 1:18 PM, pk pete...@coolmail.se wrote: On 2010-12-13 22:08, Kevin O'Gorman wrote: Netstat agrees that they're open but does not disclose which process is listening. Does anybody know how to find this out? netstat only lists listening processes when you're root... Not for me, it doesn't. It lists processes for unix-domain sockets whether I'm root or not, but does not show them for inet-domain at all. I'm using netstat -l or netstat -ln. Is there some other option I need? I didn't see one. ++ kevin -- Kevin O'Gorman, PhD
Re: [gentoo-user] Remove redundant entries in world - howto
On Wed, Dec 8, 2010 at 8:28 AM, Stroller strol...@stellar.eclipse.co.ukwrote: On 8/12/2010, at 4:11pm, Albert Hopkins wrote: ... I have a script I used to locate redudancies in the world file. It requires gentoolkit. It basically looks at packages in world that have reverse dependencies also in world (but only goes one level deep). Just # auditworld /var/lib/portage/world http://paste.pocoo.org/show/302273/ I think this only works on ~ARCH, right? On x86 I get: Traceback (most recent call last): File ./auditworld, line 20, in module import gentoolkit.sets ImportError: No module named set Are you sure it's even it gentoolkit? I have that but no auditworld on x86. It's not in gentoolkit-dev either. -- Kevin O'Gorman, PhD
Re: [gentoo-user] time for an emerge -e world?
On Fri, Nov 19, 2010 at 12:17 PM, Alan McKinnon alan.mckin...@gmail.comwrote: Apparently, though unproven, at 20:54 on Friday 19 November 2010, Allan Gottlieb did opine thusly: It seems, however, that you're still going down the path of emerge -e @world. Why is that? If it's just to be confident that everything is back to the way it should be then I understand that. I've done it myself many times in the last 12 years. Yes that is the reason. Sounds like the big guns approach, can be valid at times. I'm usually the first one to chip in about emerge -e world being stupid when someone reads the gcc upgrade guide, but sometimes you have a box that just will not fix itself despite hours of troubleshooting. In a case like this a full remerge often fixes mysterious but actual real problems. I've had pretty much the same thing happen. In my case, 'eix' showed that I had 0.9.8p and 1.0.0 installed in two different slots. However the 3 files that belong to 0.9.8 were missing. Fortunately, I run with --buildpkg so I had a binary package lying around. Emerging it with -gK restored the files, and everything was okay. OTOH, a couple of years ago I did an emerge -e and regretted it. It kept stopping because something wasn't configured right, and I had to go through dispatch-conf on everything up to that point before I could get it to proceed. Good luck with your few days. Mine was more like 2 weeks of stop-and-go. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Postfix broken
On Mon, Nov 15, 2010 at 2:47 PM, kashani kashani-l...@badapple.net wrote: On 11/15/2010 8:37 AM, Kevin O'Gorman wrote: Color me stupid. It was stopped. It started when I told it to in /etc/init.d. Now I have to wonder what stopped it. Judging from the mail that got through all of a sudden, I guess it stopped about 2 weeks ago. I'll have to watch this... IIRC updates of the Postfix package that could in result in data loss of queued mail will shutdown Postfix before preceding. Looks like Postfix 2.7.1 hit on Nov 4 and 2.6.7 has been in the system since June. I'd bet you ran the update, Postfix shutdown for safety, and you missed the screen output about restarting it. kashani That's probably right. Emerges that take days have trained me to not to watch them happen. I read the latest elog of all packages once a month, some send me mail; but if Postfix shut down before delivery, I would not get it at all. I use elogviewer once a month, so I'll probably see it in a couple of weeks. It's nice to know what happened. Not much mail actually goes through this system, so while this has been something of a puzzle, no major harm was done. It's nice to have the explanation. Thanks. ++ kevin -- Kevin O'Gorman, PhD
Re: [gentoo-user] Postfix broken
On Sun, Nov 14, 2010 at 1:18 AM, Neil Bothwick n...@digimed.co.uk wrote: On Sat, 13 Nov 2010 21:57:42 -0800, Kevin O'Gorman wrote: I don't even know where to start on this. I'd start by looking at the logs, I think Postfix logs to syslog by default. The first question is is it even starting? Color me stupid. It was stopped. It started when I told it to in /etc/init.d. Now I have to wonder what stopped it. Judging from the mail that got through all of a sudden, I guess it stopped about 2 weeks ago. I'll have to watch this... Thanks. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Postfix broken
On Sun, Nov 14, 2010 at 7:35 AM, Willie Wong ww...@math.princeton.eduwrote: On Sat, Nov 13, 2010 at 09:57:42PM -0800, Kevin O'Gorman wrote: Some time ago, it appears, postfix stopped working for me. I am no longer able to use it to send mail (usually to my ISP, where it gets routed). Do you actually need a full blown mail server? If you just relay your mail to your ISP, then you may be able to simplify your life using something like nbsmtp. I used to take mail locally, via sendmail, since I stopped using uucp around 1987. When I found out about postfix, it was good riddance to those re-write rules. Then I simplified by sending it all to the ISP so I now have just 3 mail spools: 1) gmail for all my mailing lists because they'll let me spool forever it seems -- my quota is over 7GB and I'm using maybe 30% after about 8 years. This is stuff were privacy doesn't matter to me. 2) My ISP, because it's more reliable than I can do at home. 3) Work, which I can't avoid. At home I stuck to Postfix because until now it never gave me a lick of trouble. I'm pretty old and no longer get much joy out of learning yet another tool for its own sake. It's gotta be LOTS better than what I have. In the last year I've only taken on m4, Fireworks and Dreamweaver. There are good enough reasons for each. If I were a few decades younger, this would have been good advice, so thanks for the tip. -- Kevin O'Gorman, PhD
[gentoo-user] Postfix broken
Some time ago, it appears, postfix stopped working for me. I am no longer able to use it to send mail (usually to my ISP, where it gets routed). It used to work fine, and if there was an elog that I needed to follow, I missed it. I don't even know where to start on this. Can anyone give me a shove in the right direction. I'm pretty good at this, but I only configured Postfix once and it was a long time ago. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Re: world symlinking
On Tue, Nov 2, 2010 at 3:21 PM, Francesco Talamona francesco.talam...@know.eu wrote: On Tuesday 02 November 2010, Gary Golden wrote: Hi, list. I keep changes of my /etc with git and I would like to include /var/lib/portage/world file into the repository. Can I safely do: mv /var/lib/portage/world /etc/portage ln -s /etc/portage /var/lib/portage/world Will portage update handle it properly? Using hardlinks seems to be more cleaner way, but for some reason I don't want to use it for this task. Have a nice day! ;) Actually it's much easier, I have two machines, both with /etc/world. And it's a exact copy of /var/lib/portage/world, something in my computers is doing this, and it isn't a (soft|hard)link :) sys-apps/portage-2.2_rc67 HTH Francesco I'll look forward to that going stable x86. Right now that means sys-apps/portage-2.1.8.3 -- Kevin O'Gorman, PhD
Re: [gentoo-user] Re: Winter clock change did not happen
On Sun, Oct 31, 2010 at 10:24 AM, Mick michaelkintz...@gmail.com wrote: On Sunday 31 October 2010 17:03:32 Graham Murray wrote: Mick michaelkintz...@gmail.com writes: MSWindows changed it to winter time when I eventually booted into it. Gentoo wouldn't show the winter time until I had first booted into MSWindows. If the setting CLOCK=local is meant to make Gentoo use the hardware clock like MSWindows does, why it did not behave the same as MSWindows with the DST change? Gentoo uses the CLOCK= value when it boots. It uses this to determine the initial system time. If you set to 'UTC' then the appropriate timezone offset will be applied. If it is set to 'LOCAL' then Gentoo assumes (and it has to) that the HWClock is set to the correct local time, including the correct Daylight Saving correction. So, if Gentoo was running at the time of the clock change then the system time would have changed from Summer to Winter time. However, if Gentoo was not running and you booted it this morning then it would, legitimately, assume that HW Clock had been set to the correct local time prior to it be booted. When you booted into MSWindows, it changed the time on the HW Clock to be Winter time (ie it put it back 1 hour), so that next time you booted into Gentoo the HW clock was set to the correct local time. With CLOCK=LOCAL, when you boot for the first time after a Summer/Winter time change, Gentoo has no way to telling whether or not something else (eg MSWindows or manually via the BIOS setup) has already changed the HW clock to Summer/Winter time. Thank you Graham for your very detailed reply! I understand now why the problem exists. I have used the registry change suggested by Nuno on Win7 and will see what gives next time DST changes. I just hope that it'll work without having *both* OS shifting the clock by one hour ... The more I read this page[1] the more I am tempted to format MSWindows out of this box whether the warranty is still valid or not! [1] http://www.cl.cam.ac.uk/~mgk25/mswish/ut-rtc.htmlhttp://www.cl.cam.ac.uk/%7Emgk25/mswish/ut-rtc.html -- Regards, Mick You guys had me scared for a bit. But I'm in the USA, where the change happens in the morning of the first Sunday in November, which will be the 7th. I can wait. ++ kevin -- Kevin O'Gorman, PhD
Re: [gentoo-user] Re: X programs as root
On Mon, Oct 4, 2010 at 10:22 PM, Andrey Vul andrey@gmail.com wrote: sudoers(5): ... ## Run X applications through sudo Defaults env_keep += DISPLAY HOME ... sudo visudo; paste; done Except that in the heavily-commented version of the sudoers file that I have, the corresponding line does not include the DISPLAY variable, and it happens to work fine that way. Try just keeping HOME. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Re: X programs as root
On Sun, Oct 17, 2010 at 8:37 AM, Alan McKinnon alan.mckin...@gmail.comwrote: Apparently, though unproven, at 15:03 on Sunday 17 October 2010, Nikos Chantziaras did opine thusly: On 10/17/2010 04:00 PM, Nikos Chantziaras wrote: On 09/22/2010 09:48 PM, Andrey Vul wrote: When I launch X programs via sudo, I get the following: $sudo gui-admin No protocol specified gui-admin: cannot connect to X server :0 ( Assume gui-admin is an X program ) But (gk|kde)su(do)? works. This is somewhat confusing. I just discovered something. Keeping HOME is not really recommended, because the programs that run as root will then use your user's configuration files and sometimes will set 'root' as their owner. As you can imagine, this is not a good thing. It seems what X programs really need is the .Xauthority file of the current X session. All you have to do is add this line to your ~/.bashrc: export XAUTHORITY=$HOME/.Xauthority Then you don't have to configure sudoers to keep the HOME env var. (I have the tendency to press the Send button too soon...) Setting XAUTHORITY in the user's .bashrc also means that you don't have to modify /etc/sudoers *in any way*, not even DISPLAY needs to be kept. Setting XAUTHORITY is *all* what is needed. I owe you a beer :-) One little export and this annoying thingy has now gone away: $ sudo vi /etc/fstab Password: No protocol specified You have NO IDEA how long that has annoyed me and how long I've been searching for a solution. Make that two beers! I'm a bit surprised, but this fix actually does work, even without any special arrangement to env_keep XAUTHORITY. But I still don't like it any better than my own solution echo -n .mybashrc: xhost +r...@localhost which I place in my .mybashrc, where I keep all of my .bashrc customizations. My way, it can remind me what's going on, and seems more direct. It also works if I su to root. As an old-timer on Unix, I often forget sudo. I don't like it much anyway because it won't get me into root if something goes wrong in bootup: with this in mind, I need a root PW anyway, until that bottleneck gets fixed. The above form is actually only used in a debugging mode I've defined, and is silent otherwise. ++ kevin -- Kevin O'Gorman, PhD
Re: [gentoo-user] Fire the fox.
On Sat, Sep 25, 2010 at 5:11 PM, Stroller strol...@stellar.eclipse.co.ukwrote: On 25 Sep 2010, at 03:17, Kevin O'Gorman wrote: ... I've heard good things about it, but I'm under the impression it is not free (as in beer). Is that true? I don't know but I can emerge -q icc There is other non-Free software you can install with Portage. Just yesterday I was looking at games-fps/ut2003 and games-fps/ut2004 - I believe these require the game's installer CDs to work. I would imagine that if you were to emerge ICC it would require an activation key before it would compile anything, otherwise we'd all be using it. Wouldn't that be kind of senseless since the source code is distributed? Knowing it would not be hard to bypass the activation key, if they wanted money for it they wouldn't let the source code out, license or no license. Just because you can emerge a package doesn't mean the full source is distributed. It could be a binary package, it could contain a small binary blob for activation. Paul Hartman provides more info in his post of 24 September 2010 23:16:30 GMT+01:00, but I was specifically replying to the assumption or implication if it can be emerged it must be free. You are right. Thanks for the clarification. ++ kevin -- Kevin O'Gorman, PhD
Re: [gentoo-user] Fire the fox.
On Tue, Sep 21, 2010 at 3:23 PM, Beau Henderson b...@thehenderson.comwrote: On 09/22/10 07:31, Peter Humphrey wrote: On Monday 20 September 2010 16:38:05 Paul Hartman wrote: I haven't had any crashing or failing to start, but Firefox in Linux has always been pretty bad in general for me. Slow UI, unusable in NX (constant screen redraws; Thunderbird does the same thing), network stalling for MINUTES at a time, slow to load, etc. Other browsers on the same machine don't suffer any of these problems. I don't use Firefox as my primary browser because it is so flaky. That's odd, because on this newish i5 box, which is suffering really severe responsiveness problems otherwise, FF responds to my commands smartly. Firefox for windows is compiled with PGO via ICC which apparently improves performance quite a bit. I believe there are issues when firefox is compiled with GCC via PGO and in any case, there is no support for PGO building of Firefox @ gentoo afaik. I wish I had the time and knowledge to whip up an ebuild that could do the magic to test it out tho. Any takers ? :P Uh, what are PGO and ICC?? I also must add that I get decent performance from the fox on Ubuntu let alone Vista, which makes me take your suggestion about build parameters seriously. ++ kevin -- Kevin O'Gorman, PhD
Re: [gentoo-user] Fire the fox.
On Fri, Sep 24, 2010 at 9:51 AM, Bill Longman bill.long...@gmail.comwrote: On 09/24/10 09:48, Kevin O'Gorman wrote: On Tue, Sep 21, 2010 at 3:23 PM, Beau Henderson b...@thehenderson.comwrote: On 09/22/10 07:31, Peter Humphrey wrote: On Monday 20 September 2010 16:38:05 Paul Hartman wrote: I haven't had any crashing or failing to start, but Firefox in Linux has always been pretty bad in general for me. Slow UI, unusable in NX (constant screen redraws; Thunderbird does the same thing), network stalling for MINUTES at a time, slow to load, etc. Other browsers on the same machine don't suffer any of these problems. I don't use Firefox as my primary browser because it is so flaky. That's odd, because on this newish i5 box, which is suffering really severe responsiveness problems otherwise, FF responds to my commands smartly. Firefox for windows is compiled with PGO via ICC which apparently improves performance quite a bit. I believe there are issues when firefox is compiled with GCC via PGO and in any case, there is no support for PGO building of Firefox @ gentoo afaik. I wish I had the time and knowledge to whip up an ebuild that could do the magic to test it out tho. Any takers ? :P Uh, what are PGO and ICC?? I also must add that I get decent performance from the fox on Ubuntu let alone Vista, which makes me take your suggestion about build parameters seriously. ICC is the Intel C compiler. Ahh.. I've heard good things about it, but I'm under the impression it is not free (as in beer). Is that true? -- Kevin O'Gorman, PhD
Re: [gentoo-user] Fire the fox.
On Fri, Sep 24, 2010 at 3:01 PM, Stroller strol...@stellar.eclipse.co.ukwrote: On 24 Sep 2010, at 20:15, Bill Longman wrote: ... Uh, what are PGO and ICC?? I also must add that I get decent performance from the fox on Ubuntu let alone Vista, which makes me take your suggestion about build parameters seriously. ICC is the Intel C compiler. Ahh.. I've heard good things about it, but I'm under the impression it is not free (as in beer). Is that true? I don't know but I can emerge -q icc There is other non-Free software you can install with Portage. Just yesterday I was looking at games-fps/ut2003 and games-fps/ut2004 - I believe these require the game's installer CDs to work. I would imagine that if you were to emerge ICC it would require an activation key before it would compile anything, otherwise we'd all be using it. Stroller. Wouldn't that be kind of senseless since the source code is distributed? Knowing it would not be hard to bypass the activation key, if they wanted money for it they wouldn't let the source code out, license or no license. Just my $.02 ++ kevin -- Kevin O'Gorman, PhD
Re: [gentoo-user] Fire the fox.
On Mon, Sep 20, 2010 at 3:23 PM, Beau Henderson b...@thehenderson.comwrote: I had this same problem and decided I had bad RAM. Before I could order any, I rebuild my system and it happens that I did so with an image that had GCC 4.3* rather than 4.4. Funny enough, firefox worked just fine. I did some searching and apparently nspr has issues with a certain function enabled in -O2 @ gcc 4.4. From the following: https://bugzilla.redhat.com/show_bug.cgi?id=487844 Apparently if you rebuild nspr @ gcc 4.4 with -O2 -fno-strict-aliasing I haven't confirmed this, as I haven't had time to jump back to 4.4 but if someone can confirm this fixes the issue, I'd certainly be greatful! I'm still at 4.3.4, and having these problems. I wouldn't be holding my breath for a silver bullet. I'm writing this on chormium, having just given up on Opera for being slow as FF. Sigh. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Fire the fox.
On Sun, Sep 19, 2010 at 3:02 AM, András Csányi sayusi.a...@gmail.comwrote: On 19 September 2010 10:09, Alan McKinnon alan.mckin...@gmail.com wrote: Apparently, though unproven, at 00:28 on Sunday 19 September 2010, András Csányi did opine thusly: On 19 September 2010 00:14, Kevin O'Gorman kogor...@gmail.com wrote: Is it just me? Or does Firefox get slower every release? And less stable. I got myself up to the latest, and I cannot install my 4 add-ons (xmarks, AdBlockPlus, Noscript, Stumble-upon) without it crashing. Seg fault sometimes. I've got ECC memory, and no reported problems, and it does not help to clear the profiles (rename ~/.mozilla) and re-emerge. Grr. Use Chrome/Chromium. At my gentoo the fox won't even start. I don't know why, I won't to know why... I'm tired about Firefox. :S If you run Firefox from a terminal, do you get an error about xpcom? If so, you need revdep-rebuild and possibly re-merge nss. It's all in the build elogs. Hi Alan, I have tried to start from terminal, but no message. I have tried to run after revdep-rebuild but nothing. I have installed binary version but the result was the same. After these I have tried strace and if I remenber correctly it stopped with segmentation fault. Unfortunately I can't reproduce this problem because few days ago I changed my system from 32 bit to 64 bit. Here everything is working fine according firefox. I know I should have report it but, that time, I was really tired emotionally. :( Yeah, me too. I teach at a university and classes start tomorrow. I've had the fox not starting as someone else did, then on upgrade it was sort of working, then not. The last bug I submitted led to the instruction to start with a clean profile. Sounds sensible, but that means none of my bookmarks, ad blocks, noscript, cookies or anything. I tried it anyway with 3.6.9 and Xmarks only (really need those bookmarks). It died before I could get near to the original problem. That's when I started this thread. I've got other more urgent things to do with my time. Like my laptop's Ubuntu which suddenly decided it didn't know anything about its network adapters, and I could not figure out the config tools that seem to want me to know the MAC address of all that stuff. No clue, don't know how to find out, but at least I can back up my home directories. But I need this thing for class _tomorrow_ and I've got a lot of stuff to print and get on the web -- these things have cost me about a week. I'm writing this on Opera. I'll try chrome if it's easy to figure out. I don't expect to see the fox on gentoo again any time soon. I'm sad because I used to like it. Good luck. ++ kevin -- Kevin O'Gorman, PhD
[gentoo-user] Fire the fox.
Is it just me? Or does Firefox get slower every release? And less stable. I got myself up to the latest, and I cannot install my 4 add-ons (xmarks, AdBlockPlus, Noscript, Stumble-upon) without it crashing. Seg fault sometimes. I've got ECC memory, and no reported problems, and it does not help to clear the profiles (rename ~/.mozilla) and re-emerge. Grr. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Gentoos community communication rant
On Mon, Sep 6, 2010 at 4:55 PM, Al oss.el...@googlemail.com wrote: Jake [snip] Why say that lists are dead early? This list I find takes a certain amount of maintenance to keep up-to-date, otherwise it grows to an unmanageable number of e-mails in my Inbox. If anything, it's too Well that is the first advantage of a newsreader. It does not spam your mailbox. You select yourself what you want to read by the header. The other contents are never delivered to you, eat up neither traffic nor space. People don't really need to complain of to much traffic. [SNIP SNIP] Al You get the same advantage with some email accounts, if you use them right. For instance, this account on gmail is used for mailing lists only. Because it's gmail I can use filters to attach labels naming the list it comes from. Any spam that gets through will be in the minority that do not have a label attached, and I can ditch them forthwith. Because it's gmail, I have a private archive of all of my mailing lists going back to 2004, and I'm only using 35% of my (constantly increasing) 7.8GB allocation. If I want, I can search on this stuff without getting false positives from lists I don't subscribe to. I can also filter some mailgroups to go directly to the archive, so they only speak when spoken to. I use my ISP for personal mail, and a work account for work. My point: it's easier and more pleasant to find the right tool for the job, rather than complain about what anyone else is doing. For me, case closed and I can go back to doing what I want. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Gentoos community communication rant
On Tue, Sep 7, 2010 at 8:05 AM, Peter Humphrey pe...@humphrey.ukfsn.orgwrote: On Tuesday 07 September 2010 01:36:28 David W Noon wrote: Moreover, keeping this as a subscription-only mailing list keeps the spam count down. An equally important factor is prohibiting subscriptions from dynamically allocated IP addresses. This has caused me to spend money on a fixed address. -- Rgds Peter. Linux Counter 5290, 1994-04-23. Really? I pay because I have a use for a fixed IP, but if the above is your only reason, there are free email accounts to be had that can forward to wherever you like. I yet another gmail account like that for some specific sensitive traffic that I want semi-anonymous. I'm sure there are other free accounts that can do the same. Save your money for the things you really need. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Output of emerge -NDpvu world
On Wed, Sep 1, 2010 at 4:14 PM, Peter Humphrey pe...@humphrey.ukfsn.orgwrote: On Wednesday 01 September 2010 23:39:25 Dale wrote: Hmmm, whatever you set it to, you will be a few lines short. The error will always be just above what you can scroll back to. lol So you've noticed that too, eh? Of course I've noticed it, how could I not? (Murphy's law has *so* many corollaries.) When I really want it, for any given command, I use bash with command 21 | tee /tmp/junk and this suppresses most color-coding so I can view the results with simple tools. It helps to have a really big /tmp (mine has 19GB free at the moment), and to keep using the same name in case you forget to delete the (possibly huge) file. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Output of emerge -NDpvu world
On Mon, Aug 30, 2010 at 9:18 AM, econti contiemi...@alice.it wrote: Hi all is it possible to page the output of emerge -NDpvu world in a terminal? 'emerge -NDpvu world | more' does not work. emilio You can run it under script and it recrods everything to a file, and look at the file however you like. If using less(1) or more(1), I would do it this way emerge -NDpvu world 21 | less under the bash shell. There are a lot of advantages to less, but perhaps the most important is that you can scroll backwards if you've gone too far -- you don't have to start over. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Output of emerge -NDpvu world
On Mon, Aug 30, 2010 at 9:33 AM, Paul Hartman paul.hartman+gen...@gmail.compaul.hartman%2bgen...@gmail.com wrote: On Mon, Aug 30, 2010 at 11:18 AM, econti contiemi...@alice.it wrote: Hi all is it possible to page the output of emerge -NDpvu world in a terminal? 'emerge -NDpvu world | more' does not work. If you use screen you can then use the scrollback it provides Or adjust your terminal preferences to have a lot of scrollback room. The defaults tend to be in the range of 0 to 500 lines. I often set the value to 30,000 or more, with no noticeable bad effects. -- Kevin O'Gorman, PhD
[gentoo-user] How and whether to take action on elog message from sys-fs/lvm2-2.02.73
I read the logs, but it doesn't always help. This one apparently used to build statically, and is now using shared libraries. Here's the message: === *Subject:* [portage] ebuild log for sys-fs/lvm2-2.02.73 on treat.kosmanor.com LOG: setup Warning, we no longer overwrite /sbin/lvm and /sbin/dmsetup with their static versions. If you need the static binaries, you must append .static the filename! === ** It's not clear to me that I would need this package when dynamically loading is inactive, partly because I don't think that happens -- /usr/lib is not on a separate partition, so it's always there. Leaving that aside, the message does not state *which* filename to append .static to, and where to change it, so I'm baffled as to how to take action on this message, even if I thought it important to do. Anyone have a clue? -- Kevin O'Gorman, PhD
Re: [gentoo-user] Firefox (Namoroka-3.6.8, actually) and Epiphany-2.31-r1 both fail to show captchas
On Thu, Aug 26, 2010 at 6:17 PM, Michael Orlitzky mich...@orlitzky.comwrote: On 08/26/2010 04:29 PM, Paul Hartman wrote: On Thu, Aug 26, 2010 at 2:24 PM, Kevin O'Gormankogor...@gmail.com wrote: On a number of websites, I've been unable to see the captcha that I need to complete my business. Neither the image nor the response show up. Opera, on the other hand, works fine (as does IE on my Windoze laptop). For instance, I can register (it's free) with the NY Times, read an article (example: http://www.nytimes.com/2010/08/26/world/asia/26kabul.html) but if I try to email this to anyone using the link that appears on the page, I'm confronted with a dialog that should have a captcha and a box for my answer. It does not appear, and I cannot proceed. I can't try that page because it requires an account to email to someone else. But, in general, my first suspects would be if you're using NoScript or AdBlockPlus and perhaps they are not allowing the javascript from the captcha service to run. I just emailed myself that article, and there was no Captcha? Only had to disable NoScript to get the E-mail popup to show. That's normal. I hadn't noticed, but the captcha does not appear until you type something in the message box of the email popup. On the systems with the fault, all I see is a message: Word verification prevents automated systems from adding spam messages to your email. On Opera or IE, one also sees the captcha and a field to fill out. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Feckless xdm not much of a manager
On Wed, Aug 25, 2010 at 4:00 PM, Stroller strol...@stellar.eclipse.co.ukwrote: On 25 Aug 2010, at 04:36, Kevin O'Gorman wrote: ... My problem has been that going to /etc/init.d and commanding ./xdm stop seems to work, but has no effect on KDE. Manually killing kde (ps -ef | grep kde, etc) just starts another one. I finally figured out that I have to find the 'kdm' process and kill that, then a logoff or Ctl_Alt_BS actually gets rid of X, so I can do things like X -configure and so on. If you run `/etc/init.d/xdm stop` and then log out of KDE using the logoff button in the Start Menu, what happens, please? Does xdm return? Stroller. Things have changed slightly since the last reboot. Now it goes like this: /etc/init.d/xdm stop Kde dies, xdm dies, ps -ef shows no signs of either one, and Ctl-Alt-F7 gets me a blank screen with a blinking cursor, but no response to the keyboard. Back in a root console, /etc/init.d/xdm start or/etc/init.d/xdm status Now reports that xdm is stopping. This goes on until I run out of patience, and zap xdm /etc/init.d/xdm zap /etc/init.d/xdm start which seems to work -- it gets me to a KDE login. I'm not aware of doing anything that would have made this change. -- Kevin O'Gorman, PhD
[gentoo-user] Firefox (Namoroka-3.6.8, actually) and Epiphany-2.31-r1 both fail to show captchas
On a number of websites, I've been unable to see the captcha that I need to complete my business. Neither the image nor the response show up. Opera, on the other hand, works fine (as does IE on my Windoze laptop). For instance, I can register (it's free) with the NY Times, read an article (example: http://www.nytimes.com/2010/08/26/world/asia/26kabul.html) but if I try to email this to anyone using the link that appears on the page, I'm confronted with a dialog that should have a captcha and a box for my answer. It does not appear, and I cannot proceed. Konqueror gives me unrelated trouble, which I'm still working on -- I don't use it in general so I'm not surprised, but I cannot say what it does with captchas. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Feckless xdm not much of a manager
On Wed, Aug 25, 2010 at 7:22 AM, Bill Longman bill.long...@gmail.comwrote: On 08/24/2010 08:36 PM, Kevin O'Gorman wrote: In order to make progress on this thing, it's useful to be able to control the display manager. My problem has been that going to /etc/init.d and commanding ./xdm stop seems to work, but has no effect on KDE. Manually killing kde (ps -ef | grep kde, etc) just starts another one. I finally figured out that I have to find the 'kdm' process and kill that, then a logoff or Ctl_Alt_BS actually gets rid of X, so I can do things like X -configure and so on. You ~should~ be able to log onto a console vty by using Ctrl-Alt-Fn (where n=1-6). You can then log on from there and commence all manner of Gentacular shelly goodness. There's really no need to kill the display manager ever. In fact, you can have more than one running at a time. Oddly, ./xdm start worked fine, and was responsible for kdm being started. But isn't it odd that the display manager has such weak control on its subordinate? Big PITA for me. Yeah, that's just a semantic problem, really. The generic term is xdm but depending upon your setup, you can plug in any display manager. Sorry, but that has several bits of misinformation. There are 2 or three activities that the system refuses to perform while the display is active. They require X to be shut down, and you must therefore use one of the non-X console ptys. xdm is not a generic term, or at least I didn't mean it that way. It's the package x11-apps/xdm. Look it up. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Feckless xdm not much of a manager
On Wed, Aug 25, 2010 at 7:28 AM, Mick michaelkintz...@gmail.com wrote: On 25 August 2010 15:22, Bill Longman bill.long...@gmail.com wrote: On 08/24/2010 08:36 PM, Kevin O'Gorman wrote: In order to make progress on this thing, it's useful to be able to control the display manager. My problem has been that going to /etc/init.d and commanding ./xdm stop seems to work, but has no effect on KDE. Manually killing kde (ps -ef | grep kde, etc) just starts another one. I finally figured out that I have to find the 'kdm' process and kill that, then a logoff or Ctl_Alt_BS actually gets rid of X, so I can do things like X -configure and so on. [snip] Running /etc/init.d/xdm stop should kill kdm too. If it respawns, then run /etc/init.d/xdm zap. -- Regards, Mick zap does nothing about respawning. It is used when a daemon has somehow died, but is still marked as running. In such a case, you cannot start it again without zapping that marking so that it is recorded as being stopped. I had more or less the opposite case -- a running daemon that was marked as stopped. Not exactly, because it was xdm marked as stopped, and kdm that was running. This problem is repeatable on my system, so I probably borked it somehow. -- Kevin O'Gorman, PhD
Re: [gentoo-user] New HD monitor stretches everything. How to teach Xorg?
On Wed, Aug 25, 2010 at 7:57 AM, Paul Hartman paul.hartman+gen...@gmail.compaul.hartman%2bgen...@gmail.com wrote: On Wed, Aug 25, 2010 at 9:44 AM, Mick michaelkintz...@gmail.com wrote: On 25 August 2010 15:38, Paul Hartman paul.hartman+gen...@gmail.compaul.hartman%2bgen...@gmail.com wrote: On Wed, Aug 25, 2010 at 9:25 AM, Mick michaelkintz...@gmail.com wrote: On 25 August 2010 15:17, Paul Hartman paul.hartman+gen...@gmail.compaul.hartman%2bgen...@gmail.com wrote: On Tue, Aug 24, 2010 at 7:03 PM, Kevin O'Gorman kogor...@gmail.com wrote: I found the specs with Hsync and VSync limits, but they don't mention the clock speed. I guess I'll just have to fool with it until it works or catches fire. That basically describes the way I've done my X monitor settings for the past 10 years or so. I just made up a bunch of numbers and hope they accidentally work. :) Now I'm thankful for EDID in monitors and smarter video drivers. I think that if xrandr -q does not show the resolution you are seeking, then the video card or driver in question cannot provide it. I'm not sure that feeding xorg any odd modeline will change things, plus unlike a CRT monitor, LCDs only provide a clear image at their native resolution (denoted by '+' in the xrandr list of resolutions) I've been able to generate modelines in the past for all kinds of crazy non-standard resolutions. I think the ones listed may be the ones defined in the card's BIOS. I just remembered about CVT, I think it's what I used to generate the modelines I posted earlier. It is part of the x11-base/xorg-server package and will generate the frequencies and everything for you based on VESA standards. You simply give it X and Y resolution and it does the rest. For example: $ cvt 1280 720 # 1280x720 59.86 Hz (CVT 0.92M9) hsync: 44.77 kHz; pclk: 74.50 MHz Modeline 1280x720_60.00 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync Fair enough, but anything other than the native resolution on an LCD monitor will end looking distorted or blurred. Of course, and I agree completely, but what I was going for was at least he can get blurry 16:9 that fills the whole screen rather than 4:3 that is either stretched or leaves gaps on the sides. :) Precisely my goal when I started this thread. In my case, native appears to be 1920x1080. With no xorg.conf, X finds 1280x1024, which is usable either stretched, or with the gaps. There is no discernable flicker, blur or distortion, just capacity that is not being used. There are some confusing things about this. - The log contains 1920x1080 modelines, but is not using them or clearly stating the reason. - The log contains the lines (!!) MACH64(0): Virtual resolutions will be limited to 8191 kB due to linear aperture size and/or placement of hardware cursor image area. I have no idea how to reconcile that with the fact that the resolution being used results in 1310720 (1.3 million) pixels, at 3 bytes (24 bits) per pixel, which sounds to me like over 3 megabytes. The desired resolution would have 2073600 (2 million) pixels and about 6 megabytes. They sound too big, but the first one actually works. I don't understand this at all. - (--) MACH64(0): Internal programmable clock generator detected. (--) MACH64(0): Reference clock 157.5/11 (14.318) MHz. (II) MACH64(0): default monitor: Using hsync range of 30.00-85.00 kHz (II) MACH64(0): default monitor: Using vrefresh range of 55.00-75.00 Hz (II) MACH64(0): default monitor: Using maximum pixel clock of 160.00 MHz (II) MACH64(0): Estimated virtual size for aspect ratio 1.7931 is 1920x1080 (this bothers me because, 1920/1080 is more like 1.) (II) MACH64(0): Maximum clock: 120.00 MHz So it's still contemplating 1920x1080, but mentions both 120MHz and 160MHz as the max for pixel clock. Anyway, for 2 million pixels, 120MHz is not going to cover any overhead at 60 Hz, and 55Hz might not make it either. Maybe the MACH64 cannot actually get above 120 MHz. How to find out if that's what the log is trying to say? - it complains about memory for 2048x1536, but not for anything smaller (I don't think the monitor has that many pixels anyway.) So I guess there's memory enough for all the others. Instead it complains about many modelines in this fashion (but showing just the last 2 lines) (II) MACH64(0): Not using driver mode 1920x1080 (bad mode clock/interlace/doublescan) (WW) MACH64(0): Shrinking virtual size estimate from 1920x1080 to 1280x1024 -- Kevin O'Gorman, PhD
Re: [gentoo-user] New HD monitor stretches everything. How to teach Xorg?
On Wed, Aug 25, 2010 at 1:48 PM, Håkon Alstadheim ha...@alstadheim.priv.nowrote: Den 24. aug. 2010 04:27, skrev Kevin O'Gorman: I had to replace an 4:3 Westinghouse monitor this weekend. I got a new ASUS VH242H, which is very wide. But Xorg is still running 1280x1024, instead of the monitor's normal 1920x1080, according to xorg logs because of lack of video memory (using the ATI on the motherboard). I can make the screen use a 4:3 aspect ratio, so I'm up and running, much better than I started, but I'd like to do better. I guess I've gotta look for a video card, but all I have is PCIX slots, so I don't want to put a lot of money into it (I'll be upgrading the mobo when finances permit -- which is not right now.) Just did a cursory read of the entire thread here. I notice the card is on the mobo, did you try to see if there is a BIOS setting to increase the amount of video RAM? I.e enter BIOS setup during boot, and look around in the chip setup. Hmmm. Be right back. -- Kevin O'Gorman, PhD
Re: [gentoo-user] New HD monitor stretches everything. How to teach Xorg?
On Wed, Aug 25, 2010 at 1:56 PM, Kevin O'Gorman kogor...@gmail.com wrote: On Wed, Aug 25, 2010 at 1:48 PM, Håkon Alstadheim ha...@alstadheim.priv.no wrote: Den 24. aug. 2010 04:27, skrev Kevin O'Gorman: I had to replace an 4:3 Westinghouse monitor this weekend. I got a new ASUS VH242H, which is very wide. But Xorg is still running 1280x1024, instead of the monitor's normal 1920x1080, according to xorg logs because of lack of video memory (using the ATI on the motherboard). I can make the screen use a 4:3 aspect ratio, so I'm up and running, much better than I started, but I'd like to do better. I guess I've gotta look for a video card, but all I have is PCIX slots, so I don't want to put a lot of money into it (I'll be upgrading the mobo when finances permit -- which is not right now.) Just did a cursory read of the entire thread here. I notice the card is on the mobo, did you try to see if there is a BIOS setting to increase the amount of video RAM? I.e enter BIOS setup during boot, and look around in the chip setup. Hmmm. Be right back. Well, it was an interesting thought, but no joy. Lots of configuration things showed up -- I didn't realize I did not have the ECC memory to alert on uncorrectable errors, so it wasn't all a waste. -- Kevin O'Gorman, PhD
Re: [gentoo-user] New HD monitor stretches everything. How to teach Xorg?
On Mon, Aug 23, 2010 at 10:40 PM, d.fedo...@timeweb.ru wrote: 1) Did you made entries for right resolution mode in xorg.conf I modified xorg.conf just to change the idenity info about the monitor. Not seeing any effect, I deleted xorg.conf entirely, and that's how I'm runnung now, and got the Xorg.0.log I attached to a previous post. 2) Are u sure that 1920x1080 is supported resolution for your monitor? The 1920 part is for sure. I've got 3-1/4 left and right unused margins of perfectly usable LCD. 3) BIOS of some graphic cards is trying to overide the data reported by the monitor in its own way The logs show Xorg seriously considering 1920x1080. I don't know what to do about it's complaint about the modeline. My fear is that the 2002 vintage MACH64 motherboard video isn't capable of the speeds required, but I'm not sure how to run that experiment. -- Kevin O'Gorman, PhD
Re: [gentoo-user] New HD monitor stretches everything. How to teach Xorg?
On Tue, Aug 24, 2010 at 4:27 AM, Mick michaelkintz...@gmail.com wrote: On 24 August 2010 11:23, Adam Carter adamcart...@gmail.com wrote: No. I ditched my xorg.conf completely; it had been there just because I couldn't get the Westinghouse monitor to work without it. The Xorg logs show it recognizes a boatload of modes that the monitor likes, but gives an alibi for not using the HD ones. The approach does not seem promising. /var/log/Xorg.0.log attached. I'm paying attention to lines 269 295 327 369 377 380 and 381 269: (II) MACH64(0): Modeline 1920x1080x0.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz) 295: (II) MACH64(0): Modeline 1920x1080x60.0 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -hsync +vsync (67.1 kHz) 327: (II) MACH64(0): Estimated virtual size for aspect ratio 1.7931 is 1920x1080 369: (II) MACH64(0): Not using default mode 1920x1440 (insufficient memory for mode) 377: (II) MACH64(0): Not using driver mode 1920x1080 (bad mode clock/interlace/doublescan) 380: (II) MACH64(0): Not using driver mode 1920x1080 (bad mode clock/interlace/doublescan) 381: (WW) MACH64(0): Shrinking virtual size estimate from 1920x1080 to 1280x1024 I assume 269 and 295 are related to 377 and 380. I remember i had a lot of pain getting a Geforce 440MX to do 16:9, but it was all in the modelines. There are some modeline calculators on the web, but be warned that some of them produce bad output. I did eventually get it to work after a lot of trial and error. Also because of this; (II) MACH64(0): default monitor: Using hsync range of 30.00-85.00 kHz (II) MACH64(0): default monitor: Using vrefresh range of 55.00-75.00 Hz (II) MACH64(0): default monitor: Using maximum pixel clock of 160.00 MHz you may need to set the ranges in your xorg.conf instead. check the monitors specs first tho. What does xrandr -q show? -- Regards, Mick treat log # xrandr -q Screen 0: minimum 320 x 240, current 1280 x 1024, maximum 1440 x 1024 default connected 1280x1024+0+0 0mm x 0mm 1280x1024 60.0* 1440x900 60.0 1280x960 60.0 1152x864 75.0 1024x768 75.0 70.0 60.0 896x67260.0 832x62475.0 800x60075.0 72.0 60.0 56.0 65.0 700x52575.0 60.0 640x51275.0 60.0 640x48075.0 73.0 67.0 60.0 720x40070.0 576x43275.0 512x38475.0 70.0 60.0 416x31275.0 400x30075.0 72.0 60.0 56.0 320x24075.0 73.0 60.0 treat log # -- Kevin O'Gorman, PhD
Re: [gentoo-user] New HD monitor stretches everything. How to teach Xorg?
On Tue, Aug 24, 2010 at 11:48 AM, Paul Hartman paul.hartman+gen...@gmail.com paul.hartman%2bgen...@gmail.com wrote: On Tue, Aug 24, 2010 at 12:10 PM, Kevin O'Gorman kogor...@gmail.com wrote: On Tue, Aug 24, 2010 at 4:27 AM, Mick michaelkintz...@gmail.com wrote: On 24 August 2010 11:23, Adam Carter adamcart...@gmail.com wrote: No. I ditched my xorg.conf completely; it had been there just because I couldn't get the Westinghouse monitor to work without it. The Xorg logs show it recognizes a boatload of modes that the monitor likes, but gives an alibi for not using the HD ones. The approach does not seem promising. /var/log/Xorg.0.log attached. I'm paying attention to lines 269 295 327 369 377 380 and 381 269: (II) MACH64(0): Modeline 1920x1080x0.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz) 295: (II) MACH64(0): Modeline 1920x1080x60.0 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -hsync +vsync (67.1 kHz) 327: (II) MACH64(0): Estimated virtual size for aspect ratio 1.7931 is 1920x1080 369: (II) MACH64(0): Not using default mode 1920x1440 (insufficient memory for mode) 377: (II) MACH64(0): Not using driver mode 1920x1080 (bad mode clock/interlace/doublescan) 380: (II) MACH64(0): Not using driver mode 1920x1080 (bad mode clock/interlace/doublescan) 381: (WW) MACH64(0): Shrinking virtual size estimate from 1920x1080 to 1280x1024 I assume 269 and 295 are related to 377 and 380. I remember i had a lot of pain getting a Geforce 440MX to do 16:9, but it was all in the modelines. There are some modeline calculators on the web, but be warned that some of them produce bad output. I did eventually get it to work after a lot of trial and error. Also because of this; (II) MACH64(0): default monitor: Using hsync range of 30.00-85.00 kHz (II) MACH64(0): default monitor: Using vrefresh range of 55.00-75.00 Hz (II) MACH64(0): default monitor: Using maximum pixel clock of 160.00 MHz you may need to set the ranges in your xorg.conf instead. check the monitors specs first tho. What does xrandr -q show? -- Regards, Mick treat log # xrandr -q Screen 0: minimum 320 x 240, current 1280 x 1024, maximum 1440 x 1024 default connected 1280x1024+0+0 0mm x 0mm 1280x1024 60.0* 1440x900 60.0 1280x960 60.0 1152x864 75.0 1024x768 75.0 70.0 60.0 896x67260.0 832x62475.0 800x60075.0 72.0 60.0 56.0 65.0 700x52575.0 60.0 640x51275.0 60.0 640x48075.0 73.0 67.0 60.0 720x40070.0 576x43275.0 512x38475.0 70.0 60.0 416x31275.0 400x30075.0 72.0 60.0 56.0 320x24075.0 73.0 60.0 treat log # Until you can replace the video card, maybe you can come up with a modeline for a lower resolution with 16:9 aspect ratio, such as: 852x480 1280x720 1365x768 1600x900 It wouldn't be optimal, but at least it would fill your screen without being stretched strangely. Yah, I might have some luck with that. Since I'm years out of practice fooling with this stuff (last seen in 2002) can someone point me at the tools for 1) Computing a modeline (I understand the quality varies a lot) 2) Configuring an xorg.conf -- Kevin O'Gorman, PhD
Re: [gentoo-user] New HD monitor stretches everything. How to teach Xorg?
On Tue, Aug 24, 2010 at 4:10 PM, dhk dhk...@optonline.net wrote: On 08/24/2010 06:59 PM, Paul Hartman wrote: On Tue, Aug 24, 2010 at 5:37 PM, Dale rdalek1...@gmail.com wrote: Paul Hartman wrote: On Tue, Aug 24, 2010 at 5:07 PM, Kevin O'Gormankogor...@gmail.com wrote: Yah, I might have some luck with that. Since I'm years out of practice fooling with this stuff (last seen in 2002) can someone point me at the tools for 1) Computing a modeline (I understand the quality varies a lot) 2) Configuring an xorg.conf Check out x11-apps/amlc -- it has an interactive modeline generator where you tell it the aspect ratio size of your screen and it spits out modelines for you. You'll still need to fill in the HSync/VSync/Clock speed stuff. [SNIP] My monitor resolution is a little off after the last Xorg upgrade today. Everything looks larger than usual. As far as this email thread goes, I thought xorg.conf was obsolete. It should be obsolete in a modern system (if you trust hal, udev, etc.), but the relevant parts include the video card which is very much non-modern. -- Kevin O'Gorman, PhD
Re: [gentoo-user] New HD monitor stretches everything. How to teach Xorg?
On Tue, Aug 24, 2010 at 3:18 PM, Paul Hartman paul.hartman+gen...@gmail.compaul.hartman%2bgen...@gmail.com wrote: On Tue, Aug 24, 2010 at 5:07 PM, Kevin O'Gorman kogor...@gmail.com wrote: On Tue, Aug 24, 2010 at 11:48 AM, Paul Hartman [major snippage] Check out x11-apps/amlc -- it has an interactive modeline generator where you tell it the aspect ratio size of your screen and it spits out modelines for you. You'll still need to fill in the HSync/VSync/Clock speed stuff. I found the specs with Hsync and VSync limits, but they don't mention the clock speed. I guess I'll just have to fool with it until it works or catches fire. -- Kevin O'Gorman, PhD
[gentoo-user] Feckless xdm not much of a manager
I'm actually working to integrate a new HD monitor in a system built before HD was invented. The monitor works better than the old one, but just in 4:3 aspect mode. But that's another thread, I only mention it so you know I'm as well off as I was before the old monitor fritzed out on me. In order to make progress on this thing, it's useful to be able to control the display manager. My problem has been that going to /etc/init.d and commanding ./xdm stop seems to work, but has no effect on KDE. Manually killing kde (ps -ef | grep kde, etc) just starts another one. I finally figured out that I have to find the 'kdm' process and kill that, then a logoff or Ctl_Alt_BS actually gets rid of X, so I can do things like X -configure and so on. Oddly, ./xdm start worked fine, and was responsible for kdm being started. But isn't it odd that the display manager has such weak control on its subordinate? Big PITA for me. Gr. -- Kevin O'Gorman, PhD
[gentoo-user] Re: Feckless xdm not much of a manager
On Tue, Aug 24, 2010 at 8:36 PM, Kevin O'Gorman kogor...@gmail.com wrote: I'm actually working to integrate a new HD monitor in a system built before HD was invented. The monitor works better than the old one, but just in 4:3 aspect mode. But that's another thread, I only mention it so you know I'm as well off as I was before the old monitor fritzed out on me. In order to make progress on this thing, it's useful to be able to control the display manager. My problem has been that going to /etc/init.d and commanding ./xdm stop seems to work, but has no effect on KDE. Manually killing kde (ps -ef | grep kde, etc) just starts another one. I finally figured out that I have to find the 'kdm' process and kill that, then a logoff or Ctl_Alt_BS actually gets rid of X, so I can do things like X -configure and so on. Oddly, ./xdm start worked fine, and was responsible for kdm being started. But isn't it odd that the display manager has such weak control on its subordinate? Big PITA for me. Gr. The reason that some of this was in the past tense is that somehow I've gotten in a situation where rebooting does _not_ start a display manager. Fortunately, ./xdm start still works -- it's just more PITA.. -- Kevin O'Gorman, PhD
[gentoo-user] New HD monitor stretches everything. How to teach Xorg?
I had to replace an 4:3 Westinghouse monitor this weekend. I got a new ASUS VH242H, which is very wide. But Xorg is still running 1280x1024, instead of the monitor's normal 1920x1080, according to xorg logs because of lack of video memory (using the ATI on the motherboard). I can make the screen use a 4:3 aspect ratio, so I'm up and running, much better than I started, but I'd like to do better. I guess I've gotta look for a video card, but all I have is PCIX slots, so I don't want to put a lot of money into it (I'll be upgrading the mobo when finances permit -- which is not right now.) Any ideas? -- Kevin O'Gorman, PhD
Re: [gentoo-user] New HD monitor stretches everything. How to teach Xorg?
On Mon, Aug 23, 2010 at 8:58 PM, denniso...@gmail.com wrote: On 24/08/10 03:38, Bill Longman wrote: On Mon, Aug 23, 2010 at 7:27 PM, Kevin O'Gorman kogor...@gmail.comwrote: I had to replace an 4:3 Westinghouse monitor this weekend. I got a new ASUS VH242H, which is very wide. But Xorg is still running 1280x1024, instead of the monitor's normal 1920x1080, according to xorg logs because of lack of video memory (using the ATI on the motherboard). I can make the screen use a 4:3 aspect ratio, so I'm up and running, much better than I started, but I'd like to do better. I guess I've gotta look for a video card, but all I have is PCIX slots, so I don't want to put a lot of money into it (I'll be upgrading the mobo when finances permit -- which is not right now.) Any ideas? Have you tried setting different modelines etc using cvt and xrandr? No. I ditched my xorg.conf completely; it had been there just because I couldn't get the Westinghouse monitor to work without it. The Xorg logs show it recognizes a boatload of modes that the monitor likes, but gives an alibi for not using the HD ones. The approach does not seem promising. /var/log/Xorg.0.log attached. I'm paying attention to lines 269 295 327 369 377 380 and 381 269: (II) MACH64(0): Modeline 1920x1080x0.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz) 295: (II) MACH64(0): Modeline 1920x1080x60.0 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -hsync +vsync (67.1 kHz) 327: (II) MACH64(0): Estimated virtual size for aspect ratio 1.7931 is 1920x1080 369: (II) MACH64(0): Not using default mode 1920x1440 (insufficient memory for mode) 377: (II) MACH64(0): Not using driver mode 1920x1080 (bad mode clock/interlace/doublescan) 380: (II) MACH64(0): Not using driver mode 1920x1080 (bad mode clock/interlace/doublescan) 381: (WW) MACH64(0): Shrinking virtual size estimate from 1920x1080 to 1280x1024 -- Kevin O'Gorman, PhD X.Org X Server 1.7.7 Release Date: 2010-05-04 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.34-gentoo-r1-kosmanor i686 Current Operating System: Linux treat 2.6.34-gentoo-r1-kosmanor #2 SMP PREEMPT Fri Jul 30 08:41:44 PDT 2010 i686 Kernel command line: ro root=/dev/sda5 Build Date: 07 August 2010 09:04:19AM Current version of pixman: 0.18.2 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. 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: Mon Aug 23 19:10:43 2010 (II) Loader magic: 0x81da7e0 (II) Module ABI versions: X.Org ANSI C Emulation: 0.4 X.Org Video Driver: 6.0 X.Org XInput driver : 7.0 X.Org Server Extension : 2.0 (++) using VT number 7 (--) PCI:*(0:7:1:0) 1002:4752:1002:0008 ATI Technologies Inc Rage XL rev 39, Mem @ 0xf900/16777216, 0xf860/4096, I/O @ 0x6000/256, BIOS @ 0x/131072 (==) Using default built-in configuration (30 lines) (==) --- Start of built-in configuration --- Section Device Identifier Builtin Default ati Device 0 Driver ati EndSection Section Screen Identifier Builtin Default ati Screen 0 Device Builtin Default ati Device 0 EndSection Section Device Identifier Builtin Default vesa Device 0 Driver vesa EndSection Section Screen Identifier Builtin Default vesa Screen 0 Device Builtin Default vesa Device 0 EndSection Section Device Identifier Builtin Default fbdev Device 0 Driver fbdev EndSection Section Screen Identifier Builtin Default fbdev Screen 0 Device Builtin Default fbdev Device 0 EndSection Section ServerLayout Identifier Builtin Default Layout Screen Builtin Default ati Screen 0 Screen Builtin Default vesa Screen 0 Screen Builtin Default fbdev Screen 0 EndSection (==) --- End of built-in configuration --- (==) ServerLayout Builtin Default Layout (**) |--Screen Builtin Default ati Screen 0 (0) (**) | |--Monitor default monitor (**) | |--Device Builtin Default ati Device 0 (==) No monitor specified for screen Builtin Default ati Screen 0. Using a default monitor configuration. (**) |--Screen Builtin Default vesa Screen 0 (1) (**) | |--Monitor default monitor (**) | |--Device Builtin Default vesa Device 0 (==) No monitor specified for screen Builtin Default vesa Screen 0. Using a default monitor configuration. (**) |--Screen Builtin Default fbdev Screen 0 (2) (**) | |--Monitor default monitor
[gentoo-user] I can RTFM, but can I understand it: re elog messages
I just got this elog from updating my gentoo system. It's from freetype-2.4.2: begin -- LOG (postinst) The TrueType bytecode interpreter is no longer patented and thus no longer controlled by the bindist USE flag. Enable the auto-hinter USE flag if you want the old USE=bindist hinting behavior. - end --- So I looked up auto-hinter in the flagedit(1) program. It says: auto-hinter: Local Flag: Use the unpatented auto-hinter instead of the (recommended) TrueType bytecode interpreter (media-libs/freetype) The placement of the (recommended) is just a bit ambiguous. Is it recommenting the unpatented auto-hinter, or making a recommendation of the TrueType bytecode interpreter? I'm guessing the former, but not with complete confidence. I want clear font rendering, which I guess means using hints, and I've added the auto-hinter use-flag in package.use. I hope I guessed right. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Handbrake: Is it is or is it ain't in portage
On Mon, Aug 16, 2010 at 1:21 PM, Paul Hartman paul.hartman+gen...@gmail.compaul.hartman%2bgen...@gmail.com wrote: On Sun, Aug 15, 2010 at 10:02 PM, Kevin O'Gorman kogor...@gmail.com wrote: My underling thing, if anyone can make other suggestions, is that my camera broke, and I had to get one in a hurry, and didn't really know what to look for. I wound up with a fairly good Sanyo 1080p camera and video recorder that's super light, and not too expensive. The problem is that its videos are MP4s, which are definitely not ready to put on a web site, and I know nothing about transcoding. My previous camera took acceptable .avi videos, which had worked with most folks browsers. The MP4s are huge and in a weakly supported format. You might want to check out kdenlive which is a full-featured video editor (using mlt as backend) but includes a simple transcoding function and several presets for many different formats (with the added bonus that you'll be able to edit your raw video should you so desire). Thanks, I emerged kdenlive. I can not open my MP4 files, but I can add them as clips. Okay. The clips do not play in any reasonable form. I get moments of sound, and a few pixels changing on screen; nothing coherent. I'd been told that H264 needs a lot of CPU and I guess an old 4-core 32-bit XEON (effectively 800 MHz each) on 2 GB ECC DDR1 is not enough. Okay. The killer though, is that I cannot figure out how to export that clip in some other form. And of course, I'm clueless about what form would be optimum. Asking for help takes me to a forum that has a thread on the topic, but no useful answer. Is there a kdelive tutorial anywhere? One basic walkthrough and I'd probably be able to figure out the rest of what I want. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Handbrake: Is it is or is it ain't in portage
On Tue, Aug 17, 2010 at 9:06 AM, Paul Hartman paul.hartman+gen...@gmail.compaul.hartman%2bgen...@gmail.com wrote: On Tue, Aug 17, 2010 at 9:08 AM, Kevin O'Gorman kogor...@gmail.com wrote: On Mon, Aug 16, 2010 at 1:21 PM, Paul Hartman paul.hartman+gen...@gmail.com paul.hartman%2bgen...@gmail.com wrote: On Sun, Aug 15, 2010 at 10:02 PM, Kevin O'Gorman kogor...@gmail.com wrote: My underling thing, if anyone can make other suggestions, is that my camera broke, and I had to get one in a hurry, and didn't really know what to look for. I wound up with a fairly good Sanyo 1080p camera and video recorder that's super light, and not too expensive. The problem is that its videos are MP4s, which are definitely not ready to put on a web site, and I know nothing about transcoding. My previous camera took acceptable .avi videos, which had worked with most folks browsers. The MP4s are huge and in a weakly supported format. You might want to check out kdenlive which is a full-featured video editor (using mlt as backend) but includes a simple transcoding function and several presets for many different formats (with the added bonus that you'll be able to edit your raw video should you so desire). Thanks, I emerged kdenlive. I can not open my MP4 files, but I can add them as clips. Okay. The clips do not play in any reasonable form. I get moments of sound, and a few pixels changing on screen; nothing coherent. I'd been told that H264 needs a lot of CPU and I guess an old 4-core 32-bit XEON (effectively 800 MHz each) on 2 GB ECC DDR1 is not enough. Okay. I don't think you'll be able to play back HD video in real-time on that hardware. Even on, for example, Core 2 at 3GHz playing HD video used something like 90% CPU (without a hardware mpeg4 decoder). The killer though, is that I cannot figure out how to export that clip in some other form. And of course, I'm clueless about what form would be optimum. Asking for help takes me to a forum that has a thread on the topic, but no useful answer. You need to add it as a clip, then drag that clip to the timeline in the lower half of the window. It may take it a while to process once you've dropped it here (I believe it thumbnails/indexes the video). It's sort of like a multi-track audio editor, you can overlay effects, drag the ends of the video clips to change the start/end point, etc. The more effects you add the slower the encoding will be. For example I used it on a 5-minute video from my wedding to fade-in and fade-out, print a title at the beginning, and normalize the audio. I encoded it to a 720p mp4 which I could then upload to YouTube and let YouTube re-encode it to lower resolutions for people who can't do HD. Once you've got your clip on the timeline, to save as another format click the Render button. In the Render window, you can choose the output format. It will give you many options such as MPEG-2, XviD, Flash, RealVideo, Theora etc. You can also adjust the output video dimensions and bitrate. Hopefully you can find something that will work for your audience. If you have other video files that worked well for you in the past, you might check out what their specs are and try to mimic it. It will probably take ages to process, depending on how long your video is. I have a Core i7 920, overclocked, and encoding a 1440x1080 interlaced video to another format still takes more time than the length of the video clip (usually 1.5 to 2 times with no effects added). Since you're dealing with even higher-resolution video and slower hardware I imagine you're probably looking at overnight, or days, depending on how much video you're dealing with. One trick to speed things up is to first transcode your video to an uncompressed format, and then do all of your editing operations on that uncompressed file. This requires massive amounts of disk space and fast disks, though (I think a 5 minute clip was about 70 gigabytes). Is there a kdelive tutorial anywhere? One basic walkthrough and I'd probably be able to figure out the rest of what I want. There are some video tutorials here: http://www.kdenlive.org/tutorial And the user manual has a quick-start section, I believe: http://www.kdenlive.org/user-manual If you don't really need or want HD video, you might also consider going old school and getting a video capture card (which encodes to something more CPU-friendly like mpeg2). Then you could play the video on the camcorder and record it onto the computer and let the capture card do the heavy lifting. If kdenlive is a dead end, other alternatives might be: Install handbrake binaries into your user directory, forgetting about portage entirely for the moment. Use ffmpeg if you can figure out the commandline options (I never can) Other video-converter packages include tovid, though support of HD video might
Re: [gentoo-user] Handbrake: Is it is or is it ain't in portage
On Mon, Aug 16, 2010 at 12:35 AM, Stroller strol...@stellar.eclipse.co.ukwrote: On 16 Aug 2010, at 04:02, Kevin O'Gorman wrote: ... My underling thing, if anyone can make other suggestions, is that my camera broke, and I had to get one in a hurry, and didn't really know what to look for. I wound up with a fairly good Sanyo 1080p camera and video recorder that's super light, and not too expensive. The problem is that its videos are MP4s, which are definitely not ready to put on a web site, and I know nothing about transcoding. My previous camera took acceptable .avi videos, which had worked with most folks browsers. The MP4s are huge and in a weakly supported format. MP4 is a much better container format than .avi. I previously discussed this a little in July's viewing .m4v files with totem thread: http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg103363.html Use the `mplayer -identify` command given there to determine the codec of your video. Stroller. The codec is H.264, which most of my readers don't have. They are non-technical which makes it a major pain, and I want out of it. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Handbrake: Is it is or is it ain't in portage
On Sun, Aug 15, 2010 at 9:49 PM, Indexer inde...@internode.on.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Well, I'm a newb in video, but it was suggested to me by someone who uses it, so I wanted to try. Mplayer comes with a program called mencoder, which will do your video encoding. Its a bit more hands on but it is excellent once you learn it. My underling thing, if anyone can make other suggestions, is that my camera broke, and I had to get one in a hurry, and didn't really know what to look for. I wound up with a fairly good Sanyo 1080p camera and video recorder that's super light, and not too expensive. The problem is that its videos are MP4s, which are definitely not ready to put on a web site, and I know nothing about transcoding. My previous camera took acceptable .avi videos, which had worked with most folks browsers. The MP4s are huge and in a weakly supported format. IIRC, isnt MP4 just a container? what are the video codecs and audio codecs in the file? If they are 264 and mp3, you should be able to use HTML5 for them natively. MP4 is actually gaining alot of support in many OSes due to it being part of the HTML5 spec. [major snippage] Well, there you go. Among the things I've just learned: 1) There are containers 2) Codec != container 3) Video and Audio are encoded one from column A and one from column B. I hope this gives you an idea of what a newb I am. Please calibrate responses accordingly. My friend is pretty sure my problem is the video H.264 codec. -- Kevin O'Gorman, PhD
[gentoo-user] Handbrake: Is it is or is it ain't in portage
There's a program I really want to use, and I was hoping it existed in Gentoo. It's called handbrake. eix can't find it. equery cannot find it. But there's a bug (#89432) filed against it, with the last comment (#111) just 4 days ago. So where in the portage is handbrake-0.9.4.ebuildhttp://bugs.gentoo.org/attachment.cgi?id=229397 ? WTF? -- Kevin O'Gorman, PhD
Re: [gentoo-user] Handbrake: Is it is or is it ain't in portage
On Sun, Aug 15, 2010 at 6:45 PM, Stroller strol...@stellar.eclipse.co.ukwrote: On 16 Aug 2010, at 01:43, Kevin O'Gorman wrote: There's a program I really want to use, and I was hoping it existed in Gentoo. It's called handbrake. eix can't find it. equery cannot find it. But there's a bug (#89432) filed against it, with the last comment (#111) just 4 days ago. So where in the portage is handbrake-0.9.4.ebuild? To expand on Dale's answer, Handbrake is unlikely ever to be in Portage. I don't have that yet. Maybe it wasn't sent to the list. But thanks for that info. [snippage: why Gentoo does not like handbrake, plus how to try it anyway] I would have thought you'd already know this if you had fully read bug #89432. I might have, but reading 111 comments about a package I've never seen is more than my brain can do, but I had suspected something like the result: not gonna happen. I know that transcoding is a bit of a black art, but I'm not convinced Handbrake is actually that good. Well, I'm a newb in video, but it was suggested to me by someone who uses it, so I wanted to try. My underling thing, if anyone can make other suggestions, is that my camera broke, and I had to get one in a hurry, and didn't really know what to look for. I wound up with a fairly good Sanyo 1080p camera and video recorder that's super light, and not too expensive. The problem is that its videos are MP4s, which are definitely not ready to put on a web site, and I know nothing about transcoding. My previous camera took acceptable .avi videos, which had worked with most folks browsers. The MP4s are huge and in a weakly supported format. I'm somewhere on the learning curve, obviously, but having trouble getting coherent advice. Kevin O'Gorman, PhD
[gentoo-user] Help interpreting firefox e-log message
Firefox just re-emerged. I dunno why, but it's usually benign. But I get this message. LOG: install Fallback PaX marking -m /var/tmp/portage/www-client/firefox-3.6.8/image///usr/lib/mozilla-firefox/firefox LOG: postinst What in the world does this mean? pax is not in flagedit. I understand there's a kernel patch of the same name, but it's not in the source tree (AFAIK). -- Kevin O'Gorman, PhD
Re: [gentoo-user] python modules
On Wed, Aug 11, 2010 at 1:40 PM, Stéphane Guedon steph...@22decembre.euwrote: Hi Is there a way to safely install python modules ? Except from portage itself (or do I need an overlay ?) Thanks -- The ones in portage are best (that is, most likely to work and keep working). You can use an overlay for ones you cannot otherwise find, but then all maintenance is yours to do. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Rooted/compromised Gentoo, seeking advice
On Mon, Aug 9, 2010 at 6:18 PM, William Hubbs willi...@gentoo.org wrote: On Mon, Aug 09, 2010 at 05:30:40PM -0700, Kevin O'Gorman wrote: On Mon, Aug 9, 2010 at 1:20 PM, Bill Longman bill.long...@gmail.com wrote: I actually prefer sudo su - -- as long as I'm giving it away! :o) Afaik, there is no reason for sudo su - It should be either su - or, if you are using sudo, sudo -i The disadvantage of su - is that it requires the user to know the root password. But, sudo -i does the same thing without requiring the user to know the root password. You either didn't think or didn't actually try it. sudo su - needs a password, but it's the user password. Running su as root never needs a password. Accordingly, this works on a stock Ubuntu with no root password. su - requires the root password unless you're already root, and the root password may or may not exist. I didn't know about sudo -i (thanks), but when I tried sudo -i it immediately asked for a password, for which the user password was sufficient. So it's entirely equivalent to but slightly shorter than my version. I'll stick with mine because it's made of parts I already know and won't forget. I think that if sudoers don't need to enter passwords, they're still equivalent, but I have not tried this. -- Kevin O'Gorman, PhD
[gentoo-user] GDBM incompatibility woes; any experts out there?
Around 2002, I started working on a project that involved a few simple database tables, and I wanted it simple, so I used python and the gdbm module. Since then, all has been well. Now I find that not only do the gdbm modules of python and perl reject my files, but so does a C program that uses the distributed libgdbm. Okay, so you think I broke my files somehow. I was afraid that was true, so I used the gdbm source I had in distfiles, configured it with default setup but did not install it. Instead I compiled it with my C test program, and set out to find the problem in the data, more or less expecting to spend a long time in the debugger. But lo and behold, it worked just fine. Now I'm suspecting that the ebuild does something (Large File support?) to the GDBM that it didn't used to do. I did not know when I started how much configuration information I was going to need, and so there's a configuation database. As it happens, I never put more than one record in it, so it's perfect for simple testing. The database is called dbhex.control, and the single record key is control. I've attached it. I used this Makefile, with no targets or rules, just to get the flags I want: I have my testfile 'testgdbm.c' in the same directory with the makefile, and a gdbm-1.8.3 directory. I make testgdbm, run testgdbm dbhex.control and get exactly what I should. If I link against the Gentoo gdbm distribution, I get error 22 invalid argument. Not knowing much about ebuilds, I'm not sure how to tell what has changed. Can anybody help me with: 1) why it fails now with Gentoo tools. 2) the best way to get it working again, preferably with both python and C. I expect there's either a compatibility flag, or I may need to do a file conversion. Overall, my databases run to about 3 gigabytes, so it's doable either way. Thanks in advance for any help. # Makefile for tests CC=gcc CFLAGS=-Wall -g -m32 -ansi LDFLAGS=-m32 gdbm-1.8.3/global.o gdbm-1.8.3/gdbmopen.o gdbm-1.8.3/gdbmerrno.o gdbm-1.8.3/gdbmclose.o gdbm-1.8.3/update.o gdbm-1.8.3/falloc.o gdbm-1.8.3/bucket.o gdbm-1.8.3/gdbmfetch.o gdbm-1.8.3/findkey.o gdbm-1.8.3/version.o gdbm-1.8.3/gdbmseq.o gdbm-1.8.3/hash.o My test file: /** * @file * * Program to test minimal functionality of the gdbm library on a known gdbm file. * * Last Modified: Mon Aug 9 12:01:32 PDT 2010/pre * @author Kevin O'Gorman */ #include unistd.h #include stdlib.h #include stdio.h #include gdbm.h #include string.h #include errno.h void fatal(void) { fprintf(stderr, Fatal function called\n); fprintf(stderr, Errno is %d\n, errno); exit(EXIT_FAILURE); } /** The main thing. * @param argc the number of tokens on the input line. * @param argv an array of tokens. * @return 0 on success, 1-255 on failure */ int main(int argc, char *argv[]) { datum key; datum value; datum nextkey; char longbucket[4096]; printf(Running with GDBM: %s\n, gdbm_version); if (argc !=2) { fprintf(stderr, Usage:\n %s filename\n, argv[0]); exit(EXIT_FAILURE); } errno = 0; GDBM_FILE control = gdbm_open(argv[1], 1024, GDBM_READER, 0666, fatal); if (control == NULL) { perror(gdbm); fprintf(stderr, Open returned NULL\n); fprintf(stderr, Errno is %d\n, errno); exit(EXIT_FAILURE); } printf(is open\n); key = gdbm_firstkey(control); while (key.dptr) { memcpy(longbucket, key.dptr, key.dsize); longbucket[key.dsize] = '\0'; printf(Key: %s, longbucket); value = gdbm_fetch(control, key); memcpy(longbucket, value.dptr, value.dsize); longbucket[value.dsize] = '\0'; printf(, val: \%s\\n, longbucket); free(value.dptr); nextkey = gdbm_nextkey(control, key); free(key.dptr); key = nextkey; } gdbm_close(control); printf(That's all, folks...\n); return EXIT_SUCCESS; } /* vim: set et ai sts=2 sw=2: */ -- Kevin O'Gorman, PhD dbhex.control Description: Binary data Makefile Description: Binary data /** * @file * * Program to test minimal functionality of the gdbm library on a known gdbm file. * * Last Modified: Mon Aug 9 12:01:32 PDT 2010/pre * @author Kevin O'Gorman */ #include unistd.h #include stdlib.h #include stdio.h #include gdbm.h #include string.h #include errno.h #define DBFILE dbgames/ogdb- void fatal(void) { fprintf(stderr, Fatal function called\n); fprintf(stderr, Errno is %d\n, errno); exit(EXIT_FAILURE); } /** The main thing. * @param argc the number of tokens on the input line. * @param argv an array of tokens. * @return 0 on success, 1-255 on failure */ int main(int argc, char *argv[]) { datum key; datum value; datum nextkey; char longbucket[4096]; printf(Running with GDBM: %s\n, gdbm_version); if (argc !=2) { fprintf(stderr, Usage:\n %s filename\n, argv[0]); exit(EXIT_FAILURE); } errno = 0; GDBM_FILE control = gdbm_open(argv[1], 1024, GDBM_READER, 0666, fatal); if (control == NULL) { perror(gdbm); fprintf(stderr
Re: [gentoo-user] Rooted/compromised Gentoo, seeking advice
On Mon, Aug 9, 2010 at 1:20 PM, Bill Longman bill.long...@gmail.com wrote: On 08/09/2010 01:08 PM, Robert Bridge wrote: On Mon, Aug 9, 2010 at 8:09 PM, Mick michaelkintz...@gmail.com wrote: There have been discussions on this list why sudo is a bad idea and sudo on *any* command is an even worse idea. You might as well be running everything as root, right? sudo normally logs the command executed, and the account which executes it, so while not relevant for single user systems, it STILL has benefits over running as root. ...excepting, of course, sudo bash -l which means you've given away the keys to the kingdom. I actually prefer sudo su - -- as long as I'm giving it away! :o) -- Kevin O'Gorman, PhD
Re: [gentoo-user] Re: GDBM incompatibility woes; any experts out there?
On Mon, Aug 9, 2010 at 2:49 PM, walt w41...@gmail.com wrote: On 08/09/2010 12:33 PM, Kevin O'Gorman wrote: ... Now I find that not only do the gdbm modules of python and perl reject my files, but so does a C program that uses the distributed libgdbm. You didn't say how long ago the problem started, but looking at the files in sys-libs/gdbm I see nothing newer than March 20. Is your problem newer than March 20? Have you tried running your test program with strace? I hadn't done anything with that application in over a year, so I did not have any way to narrow it down. As it happens, I had a sudden rush of brains to the head and read the ewarn message that comes out when you compile gdbm, to the effect that 32-bit systems may have to rebuild, etc, etc. As I suspected, it was LFS-related. Write it off as a case of RTFLog. Now all I have to do is discover why an ewarn wasn't emailed to me -- I thought I had that set up. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Re: Progress made, not done yet Re: All of a sudden, no apache2. No clue why.
On Wed, Aug 4, 2010 at 10:04 AM, Kyle Bader kyle.ba...@gmail.com wrote: AddHandler cgi-script cgi py Thanks, Kyle, you've been getting me closer and closer. If I'm starting to get the new stuff, AddHandler declares certain extensions. Up until last month, extensions were not required, and in fact my CGI programs have never had them. It used to be enough to use ScriptAlias, and put an executable in the directory. If it was a script with a shebang, or a compiled ELF program all was well. If I were going to use extensions, it would be .py or possibly .python, not .cgi or .pl. I totally meant to have it be py instead of pl, I guess pounding away at perl all day yesterday warped my mind. It can have that effect :o) As near as I can tell from the logs, my problems started during a re-emerge of apache, not a new version (reasons unknown -- portage seems to be doing that more than I'm used to). I've started to wonder if I didn't just screw up the usual config file stuff I do with dispatch-conf, not realizing zapping the new would be best. Anyway, I'm going to be exploring. Do you have cgi working on apache2 (2.2.15), and if so, how things are arranged? I'll be trying to make a cgi out of a hello world in C, to see if my current config can CGI at all. If not, I'll be trying to back out config changes. What a mess! -- Kevin O'Gorman, PhD
Re: [gentoo-user] Re: Progress made, not done yet Re: All of a sudden, no apache2. No clue why.
I may have found the root of the problem: examine the following output of an eix query on apache, and note that the cgi stuff seems to be turned off in the installed version. [I] www-servers/apache Available versions: (2) 2.2.14-r1 2.2.15 {apache2_modules_actions apache2_modules_alias apache2_modules_asis apache2_modules_auth_basic apache2_modules_auth_digest apache2_modules_authn_alias apache2_modules_authn_anon apache2_modules_authn_dbd apache2_modules_authn_dbm apache2_modules_authn_default apache2_modules_authn_file apache2_modules_authz_dbm apache2_modules_authz_default apache2_modules_authz_groupfile apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_user apache2_modules_autoindex apache2_modules_cache apache2_modules_cern_meta apache2_modules_cgi apache2_modules_cgid apache2_modules_charset_lite apache2_modules_dav apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_dbd apache2_modules_deflate apache2_modules_dir apache2_modules_disk_cache apache2_modules_dumpio apache2_modules_env apache2_modules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter apache2_modules_headers apache2_modules_ident apache2_modules_imagemap apache2_modules_include apache2_modules_info apache2_modules_log_config apache2_modules_log_forensic apache2_modules_logio apache2_modules_mem_cache apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation apache2_modules_proxy apache2_modules_proxy_ajp apache2_modules_proxy_balancer apache2_modules_proxy_connect apache2_modules_proxy_ftp apache2_modules_proxy_http apache2_modules_rewrite apache2_modules_setenvif apache2_modules_speling apache2_modules_status apache2_modules_substitute apache2_modules_unique_id apache2_modules_userdir apache2_modules_usertrack apache2_modules_version apache2_modules_vhost_alias apache2_mpms_event apache2_mpms_itk apache2_mpms_peruser apache2_mpms_prefork apache2_mpms_worker debug doc ldap selinux ssl static suexec threads} Installed versions: 2.2.15(2)(04:01:06 PM 07/13/2010)(apache2_modules_actions apache2_modules_alias apache2_modules_auth_basic apache2_modules_auth_digest apache2_modules_authn_anon apache2_modules_authn_dbd apache2_modules_authn_dbm apache2_modules_authn_default apache2_modules_authn_file apache2_modules_authz_dbm apache2_modules_authz_default apache2_modules_authz_groupfile apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_user apache2_modules_autoindex apache2_modules_cache apache2_modules_dav apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_dbd apache2_modules_deflate apache2_modules_dir apache2_modules_disk_cache apache2_modules_env apache2_modules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter apache2_modules_headers apache2_modules_ident apache2_modules_imagemap apache2_modules_include apache2_modules_info apache2_modules_log_config apache2_modules_logio apache2_modules_mem_cache apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation apache2_modules_proxy apache2_modules_proxy_ajp apache2_modules_proxy_balancer apache2_modules_proxy_connect apache2_modules_proxy_http apache2_modules_rewrite apache2_modules_setenvif apache2_modules_speling apache2_modules_status apache2_modules_unique_id apache2_modules_userdir apache2_modules_usertrack apache2_modules_vhost_alias doc ssl threads -apache2_modules_asis -apache2_modules_authn_alias -apache2_modules_cern_meta -apache2_modules_cgi -apache2_modules_cgid -apache2_modules_charset_lite -apache2_modules_dumpio -apache2_modules_log_forensic -apache2_modules_proxy_ftp -apache2_modules_substitute -apache2_modules_version -apache2_mpms_event -apache2_mpms_itk -apache2_mpms_peruser -apache2_mpms_prefork -apache2_mpms_worker -debug -ldap -selinux -static -suexec) Homepage:http://httpd.apache.org/ Description: The Apache Web Server. The installed version seems to have CGI turned off completely (notice - in installed version). I cannot find any reason either in /etc/portage/package.use nor in /usr/portage/profiles or its subdirectories. Is there someplace else to look? -- Kevin O'Gorman, PhD
Re: [gentoo-user] Re: Progress made, not done yet Re: All of a sudden, no apache2. No clue why.
See SOLVED thread [snip all] -- Kevin O'Gorman, PhD
SOLVED: Re: [gentoo-user] Progress made, not done yet Re: All of a sudden, no apache2. No clue why.
On Thu, Aug 5, 2010 at 10:29 AM, Kevin O'Gorman kogor...@gmail.com wrote: I may have found the root of the problem: examine the following output of an eix query on apache, and note that the cgi stuff seems to be turned off in the installed version. [snip snip] The installed version seems to have CGI turned off completely (notice - in installed version). I cannot find any reason either in /etc/portage/package.use nor in /usr/portage/profiles or its subdirectories. Is there someplace else to look? Well, I took the easy way out, and added those two options to /etc/portage/package.use for apache: www-servers/apache threads -ldap doc apache2_modules_cgi apache2_modules_cgid After a recompile and restart, my CGI scripts are running again. -- Kevin O'Gorman, PhD
[gentoo-user] Progress made, not done yet Re: All of a sudden, no apache2. No clue why.
On Fri, Jul 30, 2010 at 9:12 AM, Kyle Bader kyle.ba...@gmail.com wrote: * Starting apache2 ... (98)Address already in use: make_sock: could not bind to address 64.166.164.49:80 no listening sockets available, shutting down Unable to open logs [ Strace will probably reveal which log file can't be opened, something like this will probably do the trick: strace /path/to/apache2 -D module list -d /path/to/apache2dir It took some bash tracing to fill out that command, but once that was done, it was obvious that the server was doing exactly what had been suggested above: trying to listen (bind(2) call) on 0.0.0.0:80 as well as my.host:80. I had not touched my configs in ages, so I guess some default snuck in there somehow; I suspect something to do with virtual hosts (which I do not need), but it was easy to find and fix. Now it comes up and serves my pages. However, my configs contain a few ScriptAlias directories, which are full of python programs. They are not being executed, but served up in source code form, even though they have an initial shebang and remain executable by all. So there must be some new thing to do besides defining a ScriptAlias directory. Anybody know what it is? -- Kevin O'Gorman, PhD
[gentoo-user] Re: Progress made, not done yet Re: All of a sudden, no apache2. No clue why.
On Tue, Aug 3, 2010 at 3:23 PM, Kevin O'Gorman kogor...@gmail.com wrote: [snip] However, my configs contain a few ScriptAlias directories, which are full of python programs. They are not being executed, but served up in source code form, even though they have an initial shebang and remain executable by all. So there must be some new thing to do besides defining a ScriptAlias directory. Anybody know what it is? I see the same rules wherever I search, so I'm mystified. So here's the essential bit of the config, without even erasing the evidence that I was never able to get mod_python to work. I've tried all combinations of with/without slashes at the end of directory names. The usual starting point to see this stuff is http://hex.kosmanor.com/hex-bin/board, which is likely to show you some python code as things stand. ScriptAlias /hex-bin/ /hex/bin/ Directory /hex/bin/ Options FollowSymLinks #AddHandler mod_python .py #PythonHandler hexscript #PythonDebug On Order allow,deny Allow from all /Directory ScriptAlias /my-bin/ /hex/hexTest/ Directory /hex/hexTest/ AuthUserFile /etc/apache2/kosmanor/passwords AuthGroupFile /dev/null AuthName OHex Advanced AuthType Basic Require valid-user Options FollowSymLinks /Directory -- Kevin O'Gorman, PhD
Re: [gentoo-user] Re: Progress made, not done yet Re: All of a sudden, no apache2. No clue why.
On Tue, Aug 3, 2010 at 4:16 PM, Kyle Bader kyle.ba...@gmail.com wrote: Heyo Kevin, Directory /hex/hexTest/ AuthUserFile /etc/apache2/kosmanor/passwords AuthGroupFile /dev/null AuthName OHex Advanced AuthType Basic Require valid-user Options FollowSymLinks /Directory Try adding one of these in there: AddHandler cgi-script cgi pl Thanks, Kyle, you've been getting me closer and closer. If I'm starting to get the new stuff, AddHandler declares certain extensions. Up until last month, extensions were not required, and in fact my CGI programs have never had them. It used to be enough to use ScriptAlias, and put an executable in the directory. If it was a script with a shebang, or a compiled ELF program all was well. If I were going to use extensions, it would be .py or possibly .python, not .cgi or .pl. I see hints that the same sort of thing can still be accomplished, and I'd rather do that than break my RCS version sequence because of a name change. I'll report back. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Ever since a recent update, vim misbehaves when run as root
On Fri, Jul 30, 2010 at 6:43 AM, Bill Longman bill.long...@gmail.comwrote: On 07/29/2010 08:58 PM, Walter Dnes wrote: 2) If you really really need the X-integration features, you can use the xhost command to enable all users on your machine to run X apps on your X session. E.g. my machine is 192.168.123.249 so I ran... xhost +192.168.123.249 ...to allow a 32-bit QEMU-KVM guest to run an X program on the 64-bit host's Xwindows session. What you probably want here instead is: xhost +local: then the X app is not limited to using only IP but can choose whichever transport it deems best. Of course the usual safety caveats apply. If others are on your host, they'll have X access. If you're concerned about that, then just give root permission: xhost SI:localuser:root Thanks -- that was what I was trying to remember, so I just emerged it. Looks like something I should be able to do in my .bashrc and just forget about. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Ever since a recent update, vim misbehaves when run as root
On Fri, Jul 30, 2010 at 7:59 AM, Kevin O'Gorman kogor...@gmail.com wrote: then the X app is not limited to using only IP but can choose whichever transport it deems best. Of course the usual safety caveats apply. If others are on your host, they'll have X access. If you're concerned about that, then just give root permission: xhost SI:localuser:root xhost +local: Thanks -- that was what I was trying to remember, so I just emerged it. Looks like something I should be able to do in my .bashrc and just forget about. Actually, it doesn't work. ke...@treat ~ $ xhost si:localhost:root localhost:root being added to access control list X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 109 (X_ChangeHosts) Value in failed request: 0xe Serial number of failed request: 7 Current serial number in output stream: 9 ke...@treat ~ $ xhost SI:localhost:root localhost:root being added to access control list X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 109 (X_ChangeHosts) Value in failed request: 0xe Serial number of failed request: 7 Current serial number in output stream: 9 ke...@treat ~ $ What's worse, the xhost man page refers me to Xauthority(7) which does not exist, and I did not find it with a quick check by eix. What did work was xhost +r...@localhost -- Kevin O'Gorman, PhD
Re: [gentoo-user] All of a sudden, no apache2. No clue why.
On Fri, Jul 30, 2010 at 9:12 AM, Kyle Bader kyle.ba...@gmail.com wrote: * Starting apache2 ... (98)Address already in use: make_sock: could not bind to address 64.166.164.49:80 no listening sockets available, shutting down Unable to open logs [ Strace will probably reveal which log file can't be opened, something like this will probably do the trick: strace /path/to/apache2 -D module list -d /path/to/apache2dir And that's a DNS listener, an NTP listener, and firefox as a client, not a listener. Though it makes me want to track down 1e100.net and find out who they are. Google: I should have known that. 1e100 is a mathematical/programming synonym for google. Amusing. I do most of this in gmail, so those connections look normal. I don't know what the usual module list is, so I guess I have to go trolling throught the init.d scripts to figure it out, unless somebody knows a better way. -- Kevin O'Gorman, PhD
[gentoo-user] Ever since a recent update, vim misbehaves when run as root
I'm not exactly sure when, but starting a month or so ago, vim has been acting weird when I run it as root. For one thing, there are messages Xlib: connection to :0.0 refused by server on the console. I presume this is an X authority thing, but I'm not sure why it became an issue when it wasn't before, and I've completely forgotten what to do about it. I'm generally running a gnome-terminal 2.26.3.1 under KDE on plain Gento. It's weird, I know, but I've been doing this for ages. Moreover, in spite of weirdness, the editing session works. Except that there are messages Xlib: No protocol specified overlaid on the document scattered more or less randomly. They can be cleaned off by control-L. This is barely workable, and leaves me with a WTF sort of feeling. Fortunately, I don't do a whole lot of editing as root, but there's always something... Any clues out there? -- Kevin O'Gorman, PhD
[gentoo-user] All of a sudden, no apache2. No clue why.
As of today, my apache2 web server seems to refuse to start. I've tried a system reboot, to no avail -- connections are refused on port 80. In /etc/init.d it looks like this: if I try to start it, it says it's already started. netstat says there's no listener on port 80. If I try to restart it, it cannot start a listener. I'm really bummed. Any ideas how to get this going again? Here's a short look at what I was doing in /etc/init.d treat init.d # ./apache2 start * WARNING: apache2 has already been started. treat init.d # ./apache2 restart * Stopping apache2 ... httpd (no pid file) not running [ ok ] * Starting apache2 ... (98)Address already in use: make_sock: could not bind to address 64.166.164.49:80 no listening sockets available, shutting down Unable to open logs [ ok ] treat init.d # ./apache2 start * WARNING: apache2 has already been started. treat init.d # netstat -l --inet Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp0 0 *:printer *:* LISTEN tcp0 0 *: *:* LISTEN tcp0 0 t:domain*:* LISTEN tcp0 0 treat.kosmanor.c:domain *:* LISTEN tcp0 0 localhost:domain*:* LISTEN tcp0 0 *:ipp *:* LISTEN tcp0 0 *:smtp *:* LISTEN tcp0 0 localhost:rndc *:* LISTEN netstat: no support for `AF INET (sctp)' on this system. treat init.d # netstat -l --inet -n Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp0 0 0.0.0.0:515 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:0.0.0.0:* LISTEN tcp0 0 192.168.1.149:530.0.0.0:* LISTEN tcp0 0 64.166.164.49:530.0.0.0:* LISTEN tcp0 0 127.0.0.1:530.0.0.0:* LISTEN tcp0 0 0.0.0.0:631 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:25 0.0.0.0:* LISTEN tcp0 0 127.0.0.1:953 0.0.0.0:* LISTEN netstat: no support for `AF INET (sctp)' on this system. treat init.d # Any ideas? What else could I look at? -- Kevin O'Gorman, PhD
Re: [gentoo-user] All of a sudden, no apache2. No clue why.
On Thu, Jul 29, 2010 at 3:12 PM, Tomas Krasnican kra...@krasko.sk wrote: Kevin O'Gorman wrote: As of today, my apache2 web server seems to refuse to start. I've tried a system reboot, to no avail -- connections are refused on port 80. I think that apache will try to create listener on address:port, which have already created (because it is possibly defined that). After this fail apache will die and you can't see any active listener on this port in netstat -l, thats correct. Try to check for twice definition of the same listener. Or, example, if you have listener for 0.0.0.0:80 and you trying to create listener for 1.2.3.4.80. ...or dubble include of the same configuration file? I don't know, if is it possible... Regards, Tomas Krasnican Thanks, but... Grepping for Listen, all I see is hexDirs.conf:Listen 64.166.164.49:80 hexDirs.conf:Listen localhost:80 And grepping for Includes, I find nothing suspicious or cyclic. -- Kevin O'Gorman, PhD
Re: [gentoo-user] All of a sudden, no apache2. No clue why.
On Thu, Jul 29, 2010 at 3:14 PM, Kyle Bader kyle.ba...@gmail.com wrote: * Starting apache2 ... (98)Address already in use: make_sock: could not bind to address 64.166.164.49:80 no listening sockets available, shutting down Unable to open logs [ ok ] Make sure an interface is listening on that address: ip a |grep 64.166.164.49 treat apache2 # ip a | grep 64.166.164.49 inet 64.166.164.49/29 brd 64.166.164.55 scope global eth0 treat apache2 # That's no listener. Check for bound processes: lsof -i @64.166.164.49 treat apache2 # lsof -i @64.166.164.49 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME named 4725 named 21u IPv4 8406 0t0 TCP treat.kosmanor.com:domain (LISTEN) named 4725 named 513u IPv4 8405 0t0 UDP treat.kosmanor.com:domain ntpd5117 ntp 18u IPv4 9045 0t0 UDP treat.kosmanor.com:ntp firefox 7832 kevin 27u IPv4 29522 0t0 TCP treat.kosmanor.com:57043 -nuq04s01-in-f83.1e100.net:https (ESTABLISHED) firefox 7832 kevin 56u IPv4 29352 0t0 TCP treat.kosmanor.com:57034 -nuq04s01-in-f83.1e100.net:https (ESTABLISHED) firefox 7832 kevin 58u IPv4 29453 0t0 TCP treat.kosmanor.com:54324 -nuq04s01-in-f18.1e100.net:https (ESTABLISHED) firefox 7832 kevin 63u IPv4 29536 0t0 TCP treat.kosmanor.com:59436 -nuq04s01-in-f102.1e100.net:http (ESTABLISHED) firefox 7832 kevin 66u IPv4 29538 0t0 TCP treat.kosmanor.com:56773 -74.125.164.30:http (ESTABLISHED) firefox 7832 kevin 72u IPv4 29475 0t0 TCP treat.kosmanor.com:37415 -mg201a.mail.vip.mud.yahoo.com:http (CLOSE_WAIT) treat apache2 # And that's a DNS listener, an NTP listener, and firefox as a client, not a listener. Though it makes me want to track down 1e100.net and find out who they are. I'll see about strace. If that fails I'd strace the startup manually. -- Kyle -- Kevin O'Gorman, PhD
Re: [gentoo-user] All of a sudden, no apache2. No clue why.
On Thu, 2010-07-29 at 14:24 -0700, Kevin O'Gorman wrote: As of today, my apache2 web server seems to refuse to start. I've tried a system reboot, to no avail -- connections are refused on port 80. In /etc/init.d it looks like this: if I try to start it, it says it's already started. netstat says there's no listener on port 80. If I try to restart it, it cannot start a listener. I'm really bummed. Any ideas how to get this going again? Here's a short look at what I was doing in /etc/init.d treat init.d # ./apache2 start * WARNING: apache2 has already been started. treat init.d # ./apache2 restart * Stopping apache2 ... httpd (no pid file) not running [ ok ] * Starting apache2 ... (98)Address already in use: make_sock: could not bind to address 64.166.164.49:80 no listening sockets available, shutting down Unable to open logs [ ok ] On Thu, Jul 29, 2010 at 4:27 PM, William Kenworthy bi...@iinet.net.auwrote: There is an Unable to open logs in there ... are you doing some fancy remote logging that cant start? - I cant see anything that says its specifically port 80 thats causing the problem, just no listening sockets available. syslog is udp port 514, and then there is ssl on 443. BillK I'm doing nothing fancy, but I did have a nearly full root directory. I flushed out some old portage stuff an I'm back to 19 GB free. I still get the same result messages during a reboot. It is true I modified the local apache config /etc/apache2/kosmanor/hexDirs.conf slightly just before. I added a /HexData alias, like a few others that I have. I've attached the config file in case you can find any unintended change. Looking at the logs, there does not seem to be logging going on since July 16, and things were working then, I thought. List of log directory follows. I do seem to have two different styles of log rotation going on simultaneously, but that seems to have been the case for quite a while now; I'll find that later. treat apache2 # ls -l total 4368 -rw-rw-rw- 1 root root 0 Jul 16 03:10 access_log -rw-rw-rw- 1 root root 191438 Jun 15 2009 access_log.1.gz -rw-rw-rw- 1 root root 678879 Jun 25 03:10 access_log-20100625.gz -rw-rw-rw- 1 root root 693424 Jul 2 03:10 access_log-20100702.gz -rw-rw-rw- 1 root root 701307 Jul 9 03:10 access_log-20100709.gz -rw-rw-rw- 1 root root 840730 Jul 16 03:10 access_log-20100716.gz -rw-rw-rw- 1 root root 234663 Jun 8 2009 access_log.2.gz -rw-rw-rw- 1 root root 270349 Jun 1 2009 access_log.3.gz -rw-rw-rw- 1 root root 277761 May 25 2009 access_log.4.gz -rw-rw-rw- 1 root root 0 Jul 16 03:10 error_log -rw-rw-rw- 1 root root 117611 Jun 15 2009 error_log.1.gz.out -rw-rw-rw- 1 root root 61608 Jun 25 03:10 error_log-20100625.gz -rw-rw-rw- 1 root root 69397 Jul 2 03:10 error_log-20100702.gz -rw-rw-rw- 1 root root 118085 Jul 9 03:10 error_log-20100709.gz -rw-rw-rw- 1 root root 114433 Jul 16 03:10 error_log-20100716.gz -rw-rw-rw- 1 root root 5706 Jun 8 2009 error_log.2.gz -rw-rw-rw- 1 root root 5628 Jun 1 2009 error_log.3.gz -rw-rw-rw- 1 root root 6344 May 25 2009 error_log.4.gz -rw-rw-rw- 1 root root 0 Feb 3 2008 ssl_access_log -rw-rw-rw- 1 root root 0 Feb 3 2008 ssl_error_log -rw-rw-rw- 1 root root 0 Feb 3 2008 ssl_request_log treat apache2 # pwd /var/log/apache2 treat apache2 # The ownership may seem odd, but agrees with backups. That July 16 log ends with something familiar: [Fri Jul 16 03:10:07 2010] [notice] SIGUSR1 received. Doing graceful restart (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs treat apache2 # So I guess my page has been down for a while. A nuisance at most because it's just my personal stuff, which a handful of people care about. But I want it back up, not to mention the logging. -- Kevin O'Gorman, PhD # # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, instead of the default. See also the VirtualHost # directive. # # Change this to Listen on specific IP addresses as shown below to # prevent Apache from glomming onto all bound IP addresses (0.0.0.0) # #Listen 12.34.56.78:80 # Listen 80 # no need to listen promiscuously (I think) Listen 64.166.164.49:80 Listen localhost:80 # # If you wish httpd to run as a different user or group, you must run # httpd as root initially and it will switch. # # User/Group: The name (or #number) of the user/group to run httpd as. # . On SCO (ODT 3) use User nouser and Group nogroup. # . On HPUX you may not be able to use shared memory as nobody, and the #suggested workaround is to create a user www and use that user. # NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET) # when the value of (unsigned)Group is above 6; # don't use Group #-1 on these systems! # User apache Group apache # # ServerAdmin: Your address, where problems with the server should
[gentoo-user] KDE control center missing?
I'm using KDE 4 on Gentoo, and I want to add a few items to the K (application launcher) menu. I thought the control center was the thing to use, and the online help manual says it should exist on the K menu, or as the program kcontrol. It doesn't, and the list of files for kcontrol contains *no* files of that name, and only one directory (under HTML) of that name. So how to I run the darned thing? -- Kevin O'Gorman, PhD
Re: [gentoo-user] Cairo XCB
On Fri, Jul 23, 2010 at 1:56 PM, David W Noon dwn...@ntlworld.com wrote: On Fri, 23 Jul 2010 20:50:01 +0200, Mick wrote about [gentoo-user] Cairo XCB: I have seen messages similar to these: * Messages for package x11-libs/cairo-1.8.10: * You have enabled the Cairo XCB backend which is used only by * a select few apps. The Cairo XCB backend is presently * un-maintained and needs a lot of work to get it caught up * to the Xrender and Xlib backends, which are the backends used * by most applications. See: * http://lists.freedesktop.org/archives/xcb/2008-December/004139.html [snip] which means that it's the default. What should I do with it, wait until the default profile gets rid of it, or do something different? My take is that the warning is against writing new applications that might use the XCB back-end. Unless you are writing expressly X Window (i.e. low level) applications, just ignore it. -- Regards, Dave [RLU #314465] == dwn...@ntlworld.com (David W Noon) == I put -xcb in the USE variable of /etc/make.conf, and did an emerge -aDNvu. Everything works, and cairo no longer complains. Ignoring it would probably have worked for me too, but it would have left me worrying. -- Kevin O'Gorman, PhD