[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] Apache is running but its log is not
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
Re: [gentoo-user] How to unmount bind-mounted /dev?
On Sunday 01 May 2011 00:48:38 Alex Schuster wrote: Mark Shields writes: On Sat, Apr 30, 2011 at 5:15 AM, Alex Schuster wo...@wonkology.org mailto:wo...@wonkology.org wrote: I just wrote: Thomas Ulrich Nockmann writes: try 'umount -l /32/de' Cool, this does the trick! But it does not help :( After unmounting /32/dev, I can finally unmount /32, but now the fsck fails: weird ~ # fsck -Cf /dev/mapper/32 fsck from util-linux 2.19 e2fsck 1.41.14 (22-Dec-2010) fsck.ext3: Device or resource busy while trying to open /dev/mapper/32 Filesystem mounted or opened exclusively by another program? lsof and fuser report nothing. I guess I will have to reboot then. Try a lazy umount, or forced umount? # umount -f # umount -l The lazy unmount was Thomas' hint already and worked, the partition is no longer mounted. But I cannot fsck it, it is still in use. cryptsetup luksClose works neither. It's no big trouble, but still I'm curious why this is. Wonko Asking the obvious: could this message be there because this partition is still mounted? Did you check that this partition has been unmounted from all mount points, both original mount point and bind-mount? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Apache is running but its log is not
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? -- Neil Bothwick War does not determine who is right -- only who is left. signature.asc Description: PGP signature
[gentoo-user] Error building gpick-0.2.3 on gentoo linux
Hello. I would like to have the latest version (0.2.3) of gpick installed on my ~amd64 gentoo linux system, but configure is failling with the error: [...] scons -j3 scons: Reading SConscript files ... Checking for dbus-glib-1 = 0.76... no # pkg-config --modversion dbus-glib-1 0.92 # scons --version SCons by Steven Knight et al.: script: v2.0.1.r5134, 2010/08/16 23:02:40, by bdeegan on cooldog engine: v2.0.1.r5134, 2010/08/16 23:02:40, by bdeegan on cooldog Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation Any clues? Romildo
Re: [gentoo-user] How to unmount bind-mounted /dev?
Mick writes: On Sunday 01 May 2011 00:48:38 Alex Schuster wrote: The lazy unmount was Thomas' hint already and worked, the partition is no longer mounted. But I cannot fsck it, it is still in use. cryptsetup luksClose works neither. It's no big trouble, but still I'm curious why this is. Asking the obvious: could this message be there because this partition is still mounted? I grepped /proc/mounts for it and saw no references. I'm pretty sure I did not overlook something. And it's already the second time I tried this, one month ago the same had happened, but I did not care about it then. Did you check that this partition has been unmounted from all mount points, both original mount point and bind-mount? The partition only has one mount point, but others were mounted inside it: /dev/mapper/32 on /32 type ext3 (rw,noatime) /dev on /32/dev type none (rw,bind) /proc on /32/proctype none (rw,bind) /home on /32/hometype none (rw,bind,noatime) /var/portage on /32/var/portage type none (rw,bind,noatime) /var/portage has another file system inside for the portage tree. When I want to unmount /32/var/portage, I have to unmount /32/var/portage/tree first. All except /32/dev could be unmounted, for /32/dev I needed the -l option to mount. Then /32 itself could be unmounted. But things like fsck or 'cryptsetup remove' failed, /dev/mapper/32 was in use. Then I rebooted, but I had forgotten to save my changes to fstab, so all those things were again mounted. I tried again anyway, and this time there was no problem. I had to use umount -l for /32/dev again, and this time also for /32/proc (that was not necessary the last time), but after unmounting /32, I could fsck its partition and shrink it. I have no idea why it did not work the last times I tried. I'll try to reproduce this from time to time, maybe after some more uptime and work on this partition it will happen again. Wonko
Re: [gentoo-user] How to unmount bind-mounted /dev?
On Sunday 01 May 2011 14:08:36 Alex Schuster wrote: Mick writes: On Sunday 01 May 2011 00:48:38 Alex Schuster wrote: The lazy unmount was Thomas' hint already and worked, the partition is no longer mounted. But I cannot fsck it, it is still in use. cryptsetup luksClose works neither. It's no big trouble, but still I'm curious why this is. Asking the obvious: could this message be there because this partition is still mounted? I grepped /proc/mounts for it and saw no references. I'm pretty sure I did not overlook something. And it's already the second time I tried this, one month ago the same had happened, but I did not care about it then. Did you check that this partition has been unmounted from all mount points, both original mount point and bind-mount? The partition only has one mount point, but others were mounted inside it: /dev/mapper/32 on /32 type ext3 (rw,noatime) /dev on /32/dev type none (rw,bind) /proc on /32/proctype none (rw,bind) /home on /32/hometype none (rw,bind,noatime) /var/portage on /32/var/portage type none (rw,bind,noatime) /var/portage has another file system inside for the portage tree. When I want to unmount /32/var/portage, I have to unmount /32/var/portage/tree first. All except /32/dev could be unmounted, for /32/dev I needed the -l option to mount. Then /32 itself could be unmounted. But things like fsck or 'cryptsetup remove' failed, /dev/mapper/32 was in use. Then I rebooted, but I had forgotten to save my changes to fstab, so all those things were again mounted. I tried again anyway, and this time there was no problem. I had to use umount -l for /32/dev again, and this time also for /32/proc (that was not necessary the last time), but after unmounting /32, I could fsck its partition and shrink it. I have no idea why it did not work the last times I tried. I'll try to reproduce this from time to time, maybe after some more uptime and work on this partition it will happen again. Yes, you've done the right thing, unmounting directories from the lower to the higher, before you try to unmount the top of the tree. I would think that /dev and /proc would be accessed by the OS in real time, every time you read/write to a device/memory/acpi, etc. so trying to umount them could be more troublesome. Perhaps immediately after rebooting there was not much activity from previous actions and that's why you were able to unmount them without too much trouble. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: URGENT: nfs stopped working
On Saturday 30 April 2011 19:53:21 Dale wrote: Adam Carter wrote: I use nfs about twice/year to transfer large files between machines -- so I'm quite an expert at praying to the computer gods to please let this nfs mount work just this one last time and I'll never bother you again, I promise! I'm lying, of course, because I intend to do it again six months from now. Why not just use scp of sftp since its so infrequent? New can of worms. o_O scp is fucking easy to do. Even easier: pure-ftpd.
Re: [gentoo-user] Re: URGENT: nfs stopped working
On Sun, May 1, 2011 at 4:51 AM, Volker Armin Hemmann volkerar...@googlemail.com wrote: On Saturday 30 April 2011 19:53:21 Dale wrote: Adam Carter wrote: I use nfs about twice/year to transfer large files between machines -- so I'm quite an expert at praying to the computer gods to please let this nfs mount work just this one last time and I'll never bother you again, I promise! I'm lying, of course, because I intend to do it again six months from now. Why not just use scp of sftp since its so infrequent? New can of worms. o_O scp is fucking easy to do. Even easier: pure-ftpd. I'm using sys-fs/sshfs-fuse which is working very good, and it is really easy to setup. Kfir
Re: [gentoo-user] Kompozer: undefined reference to `SEC_ASN1Encode_Util'
On Friday 29 April 2011 10:03:30 I wrote: I don't remember how I came by it, but I have an ebuild and so on in /usr/local/portage. I was also astonished to find, after I wrote, that I also have a package of it from last time I did manage to get it emerged, last June. I tried emerging that and it seems to have worked - the program runs, at any rate. Ah, but there's a sting in the tail - as soon as I close the program it disappears. KDE can't find it, and which kompozer yields nothing either. Clearly it's a bit of a rogue. -- Rgds Peter
[gentoo-user] HAL or UDEV...
Hello, I just have one question, reciently I read in a forum that HAL might be deprecated on Gentoo, so, I started using UDEV: USE= -hal udev But, then I have this problem, updating xorg-server won't work, every new version of xorg-server just give me a blank screen, so I thought it might be something with HAL or UDEV. I would like to know if someone could tell me if I should be using HAL or UDEV? I want to know more, differences, etc. Anyway, my system is: ~AMD64 My current xorg-server version: x11-base/xorg-server-1.9.5 I have masked the following xorg-server versions, because they don't work for me: =x11-base/xorg-server-1.10.0.901 =x11-base/xorg-server-1.10.0.902 =x11-base/xorg-server-1.10.1 Thank you for your help and answer. Regards, -- Carlos Sura.-
Re: [gentoo-user] HAL or UDEV...
Carlos Sura writes: I just have one question, reciently I read in a forum that HAL might be deprecated on Gentoo, so, I started using UDEV: USE= -hal udev But, then I have this problem, updating xorg-server won't work, every new version of xorg-server just give me a blank screen, so I thought it might be something with HAL or UDEV. Did you rebuild all xorg modules with emerge @x11-module-rebuild or emerge -1 $( qlist -IC x11-drivers/ ) after building xorg-server? Are there errors in /var/log/Xorg.0.log? I would like to know if someone could tell me if I should be using HAL or UDEV? I want to know more, differences, etc. You should use udev. All versions of xorg-server in the current portage tree already no longer have the hal use flag, so I assume HAL is not being used at all anyway. Wonko
Re: [gentoo-user] HAL or UDEV...
On Sunday 01 May 2011 13:43:18 Carlos Sura wrote: Hello, I just have one question, reciently I read in a forum that HAL might be deprecated on Gentoo, so, I started using UDEV: hal and udev are unrelated. USE= -hal udev But, then I have this problem, updating xorg-server won't work, every new version of xorg-server just give me a blank screen, so I thought it might be something with HAL or UDEV. certainly not udev I would like to know if someone could tell me if I should be using HAL or UDEV? I want to know more, differences, etc. how about: BOTH?
Re: [gentoo-user] Re: URGENT: nfs stopped working
Volker Armin Hemmann wrote: On Saturday 30 April 2011 19:53:21 Dale wrote: Adam Carter wrote: I use nfs about twice/year to transfer large files between machines -- so I'm quite an expert at praying to the computer gods to please let this nfs mount work just this one last time and I'll never bother you again, I promise! I'm lying, of course, because I intend to do it again six months from now. Why not just use scp of sftp since its so infrequent? New can of worms. o_O scp is fucking easy to do. Even easier: pure-ftpd. Yea, like using hal. lol I used scp a few times. Figuring out how to get it to work was like pulling teeth. It did work once I got it figured out. Dale :-) :-)
[gentoo-user] Printing: CUPS prints 12% too big onto an A4 sheet.
Hi, Gentoo. Could somebody please help me with a printing problem. With a piece of sheet music downloaded from http://imslp.org into xpdf version 3.02-r4 (the up to datest), when I print it, the image spills over the right hand edge of the paper. It is 12% too wide and 12% too high. For printing, I am using a standard CUPS setup (as described in the documentation Gentoo Printing Guide) on a Samsung ML-1450 laser printer using the driver pxlmono. I have also tried the other two ML-1450 drivers, ljet4 and lj4dith, which gave the same results. My page size is and is set to A4. For comparison, on my old PC using an earlier version of xpdf, the same page on the same printer (with lprng) prints perfectly. What have I done wrong? -- Alan Mackenzie (Nuremberg, Germany).
Re: [gentoo-user] Re: URGENT: nfs stopped working
On Sunday 01 May 2011 15:21:04 Dale wrote: Volker Armin Hemmann wrote: On Saturday 30 April 2011 19:53:21 Dale wrote: Adam Carter wrote: I use nfs about twice/year to transfer large files between machines -- so I'm quite an expert at praying to the computer gods to please let this nfs mount work just this one last time and I'll never bother you again, I promise! I'm lying, of course, because I intend to do it again six months from now. Why not just use scp of sftp since its so infrequent? New can of worms. o_O scp is fucking easy to do. Even easier: pure-ftpd. Yea, like using hal. lol I used scp a few times. Figuring out how to get it to work was like pulling teeth. It did work once I got it figured out. Dale :-) :-) have sshd running read man scp done
Re: [gentoo-user] Printing: CUPS prints 12% too big onto an A4 sheet.
Apparently, though unproven, at 22:22 on Sunday 01 May 2011, Alan Mackenzie did opine thusly: Hi, Gentoo. Could somebody please help me with a printing problem. With a piece of sheet music downloaded from http://imslp.org into xpdf version 3.02-r4 (the up to datest), when I print it, the image spills over the right hand edge of the paper. It is 12% too wide and 12% too high. For printing, I am using a standard CUPS setup (as described in the documentation Gentoo Printing Guide) on a Samsung ML-1450 laser printer using the driver pxlmono. I have also tried the other two ML-1450 drivers, ljet4 and lj4dith, which gave the same results. My page size is and is set to A4. For comparison, on my old PC using an earlier version of xpdf, the same page on the same printer (with lprng) prints perfectly. What have I done wrong? It's likely some weird setting, which makes me think: 12% of an A4 page is almost exactly 1 across the width. Do you have some automagic add 0.5 margin all round setting active? -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] HAL or UDEV...
On 1 May 2011 14:09, Alex Schuster wo...@wonkology.org wrote: Carlos Sura writes: I just have one question, reciently I read in a forum that HAL might be deprecated on Gentoo, so, I started using UDEV: USE= -hal udev But, then I have this problem, updating xorg-server won't work, every new version of xorg-server just give me a blank screen, so I thought it might be something with HAL or UDEV. Did you rebuild all xorg modules with emerge @x11-module-rebuild or emerge -1 $( qlist -IC x11-drivers/ ) after building xorg-server? Are there errors in /var/log/Xorg.0.log? I would like to know if someone could tell me if I should be using HAL or UDEV? I want to know more, differences, etc. You should use udev. All versions of xorg-server in the current portage tree already no longer have the hal use flag, so I assume HAL is not being used at all anyway. Wonko Hello, thank you for your answers. That's exactly what I read, every version of xorg-server does not have hal use flag. That's why I changed to udev. I'm not sure about using both use flags, but with my current version of xorg-server -hal+udev everything seems to be working fine, I will unmask next xorg-server versions, and rebuild xorg modules, I'm almost sure I did that, but I'm going to try again, and let's see.. Anyway, I'm thinking to keep -hal and +udev Regards, -- Carlos Sura.-
Re: [gentoo-user] Re: URGENT: nfs stopped working
Volker Armin Hemmann wrote: On Sunday 01 May 2011 15:21:04 Dale wrote: Volker Armin Hemmann wrote: On Saturday 30 April 2011 19:53:21 Dale wrote: Adam Carter wrote: I use nfs about twice/year to transfer large files between machines -- so I'm quite an expert at praying to the computer gods to please let this nfs mount work just this one last time and I'll never bother you again, I promise! I'm lying, of course, because I intend to do it again six months from now. Why not just use scp of sftp since its so infrequent? New can of worms. o_O scp is fucking easy to do. Even easier: pure-ftpd. Yea, like using hal. lol I used scp a few times. Figuring out how to get it to work was like pulling teeth. It did work once I got it figured out. Dale :-) :-) have sshd running read man scp done That was what I did. Still not always so simple tho. Dale :-) :-)
Re: [gentoo-user] Re: URGENT: nfs stopped working
have sshd running read man scp done That was what I did. Still not always so simple tho. There's not much else simpler than scp! I should have added a smiley to my comment about smaller can or worms - NFS is not complicated either.