Kernel upgrade question
I've got one machine running Debian Sid that has not be upgraded in a month or so. It's running a custom kernel I built who-knows-when (2.6.6). Frankly, I can't remember the reason for the custom kernel. But, I'm a bit concerned because I probably compiled most features into the kernel and not as modules. Anyway, the upgrade is asking to upgrade glibc and says: WARNING: POSIX threads library NPTL requires kernel version 2.6.8 or later. If you use a kernel 2.4, please upgrade it before installing glibc. I'm not clear on the image to install. Is linux-image-2.6-k7 a dummy package for the most recent image (linux-image-2.6.22-2-k7)? So, linux-image-2.6-k7 is the correct kernel? Here's my modules, cpuinfo, and lspci -- just in case anything jumps out that might be a problem. $ lsmod Module Size Used by mga 103792 0 lp 10564 0 uhci_hcd 30672 0 ohci1394 34756 0 ieee1394 108340 1 ohci1394 w83627hf 28612 0 eeprom 7752 0 i2c_sensor 2944 2 w83627hf,eeprom i2c_isa 2048 0 i2c_viapro 7052 0 i2c_core 23044 5 w83627hf,eeprom,i2c_sensor,i2c_isa,i2c_viapro $ cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 6 model name : AMD Athlon(tm) Processor stepping: 2 cpu MHz : 1150.591 cache size : 256 KB fdiv_bug: no hlt_bug : no f00f_bug: no coma_bug: no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow bogomips: 2260.99 $ lspci 00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333] 00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP] 00:06.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07) 00:06.1 Input device controller: Creative Labs SB Live! Game Port (rev 07) 00:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) 00:09.0 FireWire (IEEE 1394): Texas Instruments TSB12LV26 IEEE-1394 Controller (Link) 00:11.0 ISA bridge: VIA Technologies, Inc. VT8233 PCI to ISA Bridge 00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) 00:11.2 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 Controller (rev 1b) 00:11.3 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 Controller (rev 1b) 00:11.4 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 Controller (rev 1b) 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 10) 01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G550 AGP (rev 01) -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Kernel upgrade question
On Fri, Sep 14, 2007 at 08:03:25PM -0700, Bill Moseley wrote: I've got one machine running Debian Sid that has not be upgraded in a month or so. It's running a custom kernel I built who-knows-when (2.6.6). Frankly, I can't remember the reason for the custom kernel. So am I wedged? $ sudo apt-get -f install Preparing to replace libc6 2.5-9+b1 (using .../libc6_2.6.1-4_i386.deb) ... WARNING: POSIX threads library NPTL requires kernel version 2.6.8 or later. If you use a kernel 2.4, please upgrade it before installing glibc. Ok, so try and install a new Kernel: $ sudo apt-get install linux-image-k7 Reading package lists... Done Building dependency tree... Done You might want to run `apt-get -f install' to correct these: The following packages have unmet dependencies: kernel-patch-xfs: Depends: grep-dctrl libc6-dev: Depends: libc6 (= 2.6.1-4) but 2.5-9+b1 is to be installed linux-image-k7: Depends: linux-image-2.6-k7 but it is not going to be installed locales: Depends: glibc-2.6-1 E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Packages wedged in sarge - etch upgrade ( and apt-get vs. aptitude)
Trying to up grade a laptop from sarge to etch. First tried apt-get dist-upgrade and then tried aptitude dist-upgrade. Both are stopping when trying to install mozilla-mplayer, it seems: Aptitude reports: Errors were encountered while processing: mozilla-mplayer $ sudo apt-get -f dist-upgrade 174 upgraded, 63 newly installed, 6 to remove and 3 not upgraded. 1 not fully installed or removed. Need to get 0B/87.6MB of archives. After unpacking 89.2MB of additional disk space will be used. Do you want to continue? [Y/n] y Extracting templates from packages: 100% Preconfiguring packages ... (Reading database ... 34703 files and directories currently installed.) Unpacking mplayer (from .../mplayer_1.0~rc1-12etch_i386.deb) ... dpkg: error processing /var/cache/apt/archives/mplayer_1.0~rc1-12etch_i386.deb (--unpack): trying to overwrite `/usr/bin/mplayer', which is also in package mplayer-586 dpkg-deb: subprocess paste killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/mplayer_1.0~rc1-12etch_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Any way to tell it to skip or remove mplayer for now? Second question -- why does running Aptitude download additional packages compared with apt-get dist-upgrade? Do they calculate dependencies differently? Seems like there should only be one dependency tree for the packages I have installed. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Packages wedged in sarge - etch upgrade ( and apt-get vs. aptitude)
On Sat, Jun 02, 2007 at 11:54:04AM -0700, Bill Moseley wrote: Errors were encountered while processing: mozilla-mplayer Hum, well, managed to remove mozilla-mplayer and that seemed to ave fixed it. But, I had to remove mplayer in the process, too. [EMAIL PROTECTED]:~$ dpkg -l | grep mplayer rc mozilla-mplayer 3.31+main-1 MPlayer-Plugin for Mozilla ri mplayer-586 1.0-pre7cvs20060219-0.2sarge1 The Ultimate Movie Player For Linux ii mplayer-skin-blue 1.6-1 blue skin for mplayer The laptop is in another location (upgrading over ssh) so it will be interesting to see if X starts again. This is what I did to resolve it: [EMAIL PROTECTED]:~$ dpkg -l | grep mplayer iU mozilla-mplayer 3.31+main-1 MPlayer-Plugin for Mozilla ri mplayer-586 1.0-pre7cvs20060219-0.2sarge1 The Ultimate Movie Player For Linux ii mplayer-skin-blue1.6-1 blue skin for mplayer [EMAIL PROTECTED]:~$ sudo dpkg -r mozilla-mplayer (Reading database ... 34703 files and directories currently installed.) Removing mozilla-mplayer ... [EMAIL PROTECTED]:~$ dpkg -l | grep mplayer rc mozilla-mplayer 3.31+main-1 MPlayer-Plugin for Mozilla ri mplayer-586 1.0-pre7cvs20060219-0.2sarge1 The Ultimate Movie Player For Linux ii mplayer-skin-blue1.6-1 blue skin for mplayer [EMAIL PROTECTED]:~$ sudo apt-get dist-upgrade Reading Package Lists... Done Building Dependency Tree... Done You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: libdps1: Depends: xfree86-common but it is not installable libxft1: Depends: xfree86-common but it is not installable E: Unmet dependencies. Try using -f. [EMAIL PROTECTED]:~$ sudo apt-get -f install Reading Package Lists... Done Building Dependency Tree... Done Correcting dependencies... Done The following packages will be REMOVED: libdps1 libmagick6 libxft1 xlibs 0 upgraded, 0 newly installed, 4 to remove and 177 not upgraded. Need to get 0B of archives. After unpacking 7664kB disk space will be freed. Do you want to continue? [Y/n] (Reading database ... 34654 files and directories currently installed.) Removing libmagick6 ... Removing libdps1 ... Removing xlibs ... Removing libxft1 ... [EMAIL PROTECTED]:~$ sudo apt-get dist-upgrade -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Kernel-image upgrade question
So upgrading an older PIII Toshiba laptop to etch, currently it has: [EMAIL PROTECTED]:~$ dpkg -l | grep kernel-image ii kernel-image-2.6.8-2-386 2.6.8-16sarge1 ii kernel-image-2.6.8-2-686 2.6.8-16sarge1 [EMAIL PROTECTED]:~$ sudo apt-get install linux-image-2.6.18-4-686 Reading package lists... Done Building dependency tree... Done The following extra packages will be installed: busybox initramfs-tools klibc-utils libklibc libvolume-id0 udev Suggested packages: linux-doc-2.6.18 Recommended packages: libc6-i686 The following packages will be REMOVED hotplug The following NEW packages will be installed busybox initramfs-tools klibc-utils libklibc libvolume-id0 linux-image-2.6.18-4-686 udev 0 upgraded, 7 newly installed, 1 to remove and 3 not upgraded. Need to get 16.9MB/17.2MB of archives. After unpacking 49.9MB of additional disk space will be used. So why is hotplug removed? Does udev replace it? -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Kernel-image upgrade question
On Sat, Jun 02, 2007 at 04:11:19PM -0400, Douglas Allan Tutty wrote: On Sat, Jun 02, 2007 at 12:26:18PM -0700, Bill Moseley wrote: So why is hotplug removed? Does udev replace it? Yes. Also, have you read the release notes so you know where the bears are at? No. Which release notes? -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Kernel-image upgrade question
On Sat, Jun 02, 2007 at 06:23:16PM -0400, Roberto C. Sánchez wrote: On Sat, Jun 02, 2007 at 03:17:03PM -0700, Bill Moseley wrote: On Sat, Jun 02, 2007 at 04:11:19PM -0400, Douglas Allan Tutty wrote: On Sat, Jun 02, 2007 at 12:26:18PM -0700, Bill Moseley wrote: So why is hotplug removed? Does udev replace it? Yes. Also, have you read the release notes so you know where the bears are at? No. Which release notes? http://www.debian.org/releases/etch/releasenotes Ah, I thought you were talking about kernel-image notes. Re-installing from scratch would not be the end of the world on that laptop. Nothing critical on it that isn't rsynced to other machines daily. Read them carefully before doing anything. Then read them again. Then read them as you do the actual upgrade. Good advice. Might be too late -- hopefully I can read them on the laptop when I have time later. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Have mplayer-586, but need to install mozilla-mplayer
I did a etch upgrade today -- went reasonably smoothly. I have mplayer-586 installed and it works fine. But, during the upgrade I lost mozilla-mplayer so can no longer play media in the web browser. Trying to install mozilla-player I get: [EMAIL PROTECTED]:~$ sudo apt-get install mozilla-mplayer Reading package lists... Done Building dependency tree... Done The following extra packages will be installed: mplayer So, seems like mozilla-player would depend on mozilla and mplayer, but it seems that mplayer-586, which I have installed, doesn't meet the that requirement. Is that a packaging bug? -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
MD5Sum mismatch
apt-get update is showing: Failed to fetch http://http.us.debian.org/debian/dists/unstable/non-free/binary-i386/Packages.bz2 MD5Sum mismatch Failed to fetch http://http.us.debian.org/debian/dists/unstable/main/source/Sources.bz2 MD5Sum mismatch Failed to fetch http://http.us.debian.org/debian/dists/unstable/non-free/source/Sources.bz2 MD5Sum mismatch The md5sum mismatch seems misleading, since it's really just failing to fetch those files. My question: Have the unstable sources changed? If so, where should I have seen this announcement -- or found it on the Debian site? Or is this a temporary problem? deb http://http.us.debian.org/debian/ unstable main non-free contrib deb-src http://http.us.debian.org/debian/ unstable main non-free contrib -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: MD5Sum mismatch
On Tue, Feb 27, 2007 at 02:13:30PM -0500, Greg Folkert wrote: Or is this a temporary problem? Bingo, and typically only on the host you happen to contact. Well, I tried a few different sources with similar results. I did find one source where apt-get update didn't report problems, but a dist-upgrade reported a number of 404 errors. I tried the update/dist-upgrade process a few times over the day and continued to receive the 404s -- I thought maybe the index and mirrored .debs might be out-of-sync for a short period of time. Now, I just tried using aptitude, so aptitude update didn't report errors but aptitude dist-upgrade decided a different set of packages needed to up updated/installed. Plus, it also reported a few 404 errors. Err http://http.us.debian.org unstable/main libsepol1 1.14-3 404 Not Found [IP: 64.50.238.52 80] Err http://http.us.debian.org unstable/main libssl-dev 0.9.8e-1 404 Not Found [IP: 64.50.238.52 80] Err http://http.us.debian.org unstable/main libssl0.9.8 0.9.8e-1 404 Not Found [IP: 64.50.238.52 80] Err http://http.us.debian.org unstable/main libwrap0-dev 7.6.dbs-13 404 Not Found [IP: 64.50.238.52 80] Err http://http.us.debian.org unstable/main libwrap0 7.6.dbs-13 404 Not Found [IP: 64.50.238.52 80] Err http://http.us.debian.org unstable/main tcpd 7.6.dbs-13 404 Not Found [IP: 64.50.238.52 80] Err http://http.us.debian.org unstable/main openbsd-inetd 0.20050402-5 404 Not Found [IP: 64.50.238.52 80] Err http://http.us.debian.org unstable/main ucf 2.0020 404 Not Found [IP: 64.50.238.52 80] Err http://http.us.debian.org unstable/main nfs-common 1:1.0.11-1 404 Not Found [IP: 64.50.238.52 80] E: Failed to fetch http://http.us.debian.org/debian/pool/main/libs/libsepol/libsepol1_1.14-3_i386.deb: 404 Not Found [IP: 64.50.238.52 80] Should I take two aspirin and check in the morning? -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: xserver-xorg memory leak
On Sun, Feb 25, 2007 at 08:26:03PM -0500, Kamaraju S Kusumanchi wrote: Bill Moseley wrote: Every once in a while my desktop machine becomes unresponsive and top shows that Xorg is using all my memory. Are there any errors in the log files such as /var/log/Xorg.0.log ? What is your video card, what driver are you using? Are you tracking etch or sid? No errors in my Xorg.0.log files that are not normal (e.g. (EE) AIGLX: Screen 1 is not DRI capable). I'm running a Matrox G550 with Xinerama. Tracking sid. It would be nice if the Xorg log file had time stamps. Any suggestions what to do next time I see Xorg using a lot of memory? Think running lsof or pmap would reveal anything useful? -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: xserver-xorg memory leak
On Sun, Feb 25, 2007 at 10:23:09PM -0500, Roberto C. Sanchez wrote: Firefox? I haven't seen it in a while, but I used to occasionally see my machine get *really* slow and when I would do a top, X was chewing everything up. However, if I closed Firefox (or killed it), things would return to normal. Firefox was not running. I've also had Firefox eat memory. I think it was due to too many extensions loaded, though. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
xserver-xorg memory leak
This is just a probe to see if anyone else is having problems with Xorg eating memory. Every once in a while my desktop machine becomes unresponsive and top shows that Xorg is using all my memory. I was out of town and ssh'ing into my machine every day or so and it was fine, except today I was running mutt on that machine and noticed mutt got killed a few times -- and again Xorg was consuming all memory, so I killed it.[1] I see this bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=326956 And I do have a background script that loads a new root window image every five minutes. But, I don't normally notice that the memory increases that much. The machine (and Xorg) have been running for about two months, so it's odd that all of the sudden it eats memory. I just loaded an image 1000 times (using display -window root test.jpg) and watched top, but no growth in memory. This is what it is like after that, which is normal: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 5407 root 5 -10 105m 36m 73m S 1.3 4.1 2:21.97 Xorg So it doesn't seem like it's my background image problem. Any other ideas what might be the problem? ii xserver-xorg 7.1.0-11 the X.Org X server ii xserver-xorg-core 1.1.1-15 X.Org X server -- core server [1] By the way, when I remotely kill xorg my monitors no longer are controlled by dpms -- so they power on. (when I came home my monitors were indeed no longer in sleep mode.) Can I remotely run startx or is there a utility to remotely force my monitors to sleep mode when not running the xserver? -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
What's using up bandwidth?
Here's an admin question: I've got a home LAN connected via DSL. Every once in a while the DSL modem will indicate the connection is saturated. How would you go about tracking down the process that is eating up all the bandwidth? First, need to find out which machine the process is running on. netstat -p on the NAT machine doesn't show the connections for the NAT'ed machines. They can be seen with /proc/net/ip_conntrack, but that doesn't offer any help with regard with where the bulk of the packets are coming from. Once you find the machine how do you figure out what process is generating all the traffic? Once I know the ip/port I can use lsof to find out which process has that port open. If I could list bytes transferred per port that would help a lot in finding the process. How would you go about this task? All this would seem like a reasonably common sysadmin task -- so are there any better tools to use? -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: What's using up bandwidth?
On Sat, Jan 20, 2007 at 07:08:22AM -0800, Bill Moseley wrote: netstat -p on the NAT machine doesn't show the connections for the NAT'ed machines. They can be seen with /proc/net/ip_conntrack, but that doesn't offer any help with regard with where the bulk of the packets are coming from. By the way, why would ip_conntrack contain entries for machines (laptops) that were disconnected days ago? They are still listed at ESTABLISHED. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Fax from Debian to OS X
On OS X the fax is an Internal Modem in CUPS. There's also a checkbox in the Mac's preferences to enable fax sharing. Is it possible to send faxes from Debian over the LAN using the Mac? -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Not sure I get this unmet dependency
Sometimes I get confused by what the package system is telling me. I'm not sure what's happening below. On Sid trying to update Gaim: $ apt-cache policy gaim gaim: Installed: 1:2.0.0+beta5-3 Candidate: 1:2.0.0+beta5-6 Ok, trying to upgrade: $ sudo apt-get install gaim The following packages have unmet dependencies: gaim: Depends: gaim-data (= 1:2.0.0+beta5-6) but 1:2.0.0+beta5-3 is to be installed E: Broken packages Looks like I could update gaim-data: $ apt-cache policy gaim-data gaim: Installed: 1:2.0.0+beta5-3 Candidate: 1:2.0.0+beta5-6 Version table: 1:2.0.0+beta5-6 0 500 http://http.us.debian.org unstable/main Packages *** 1:2.0.0+beta5-3 0 100 /var/lib/dpkg/status But if I try it wants to remove gaim. $ sudo apt-get install gaim-data Reading package lists... Done Building dependency tree... Done The following packages will be REMOVED: gaim The following packages will be upgraded: gaim-data 1 upgraded, 0 newly installed, 1 to remove and 160 not upgraded. Need to get 5153kB of archives. After unpacking 4620kB disk space will be freed. Do you want to continue [Y/n]? n Abort. Hum, apt-cache show gaim shows gaim twice. Package: gaim Priority: optional Section: net Installed-Size: 4568 Maintainer: Robert McQueen [EMAIL PROTECTED] Architecture: i386 Version: 1:2.0.0+beta5-6 Replaces: gaim-meanwhile (= 1.2.8-2), gaim-data (= 1:2.0.0+beta3-4) Depends: gaim-data (= 1:2.0.0+beta5-6), libsasl2-modules, libatk1.0-0 (= 1.12.2), libavahi-compat-howl0 (= 0.6.0), libc6 (= 2.3.6-6), libcairo2 (= 1.2.4), libdbus-1-3 (= 0.94), libdbus-glib-1-2 (= 0.71), libfontconfig1 (= 2.4.0), libgcrypt11 (= 1.2.2), libglib2.0-0 (= 2.12.0), libgnutls13 (= 1.4.0-0), libgstreamer0.10-0 (= 0.10.10), libgtk2.0-0 (= 2.8.0), libgtkspell0 (= 2.0.2), libice6 (= 1:1.0.0), libncursesw5 (= 5.4-5), libpango1.0-0 (= 1.14.8), libperl5.8 (= 5.8.8), libsm6, libstartup-notification0 (= 0.8-1), libx11-6, libxcursor1 ( 1.1.2), libxext6, libxfixes3 (= 1:4.0.1), libxi6, libxinerama1, libxml2 (= 2.6.27), libxrandr2, libxrender1, libxss1 Recommends: gstreamer0.10-plugins-base, gstreamer0.10-plugins-good, gstreamer0.10-alsa | gstreamer0.10-esd, python Suggests: gnome-panel (= 2.1) | kicker (= 3.1) | docker, evolution-data-server (= 1.6.0), dbus-1-utils, libgadu3 (= 1:1.7~rc2), libmeanwhile1 (= 1.0.2), libzephyr3, tcl8.4 (= 8.4.5), tk8.4 (= 8.4.5) Conflicts: gaim-meanwhile (= 1.2.8-2), gaim-data (= 1:2.0.0+beta3-4) Filename: pool/main/g/gaim/gaim_2.0.0+beta5-6_i386.deb Size: 1680078 MD5sum: bd4405e8b69ffcabd3574c4e3e428158 SHA1: 67804235ef6bc9fe991aebd3cd93c45136f53cca SHA256: 9607425280f0a4fec3c4f3999a6afcc86e04740d06387bc85b1bc6ffd4695183 Description: multi-protocol instant messaging client Gaim is a graphical, modular Instant Messaging client capable of using AIM/ICQ, Yahoo!, MSN, IRC, Jabber, Napster, Zephyr, Gadu-Gadu, Bonjour, Groupwise, Sametime, and SIMPLE all at once. Tag: implemented-in::c, interface::commandline, interface::x11, network::client, protocol::{irc,jabber,msn-messenger,oscar,ssl,yahoo-messenger}, role::plugin, role::program, scope::application, uitoolkit::gtk, uitoolkit::ncurses, use::chatting, x11::applet, x11::application Task: gnome-desktop Package: gaim Status: install ok installed Priority: optional Section: net Installed-Size: 4564 Maintainer: Robert McQueen [EMAIL PROTECTED] Architecture: i386 Version: 1:2.0.0+beta5-3 Replaces: gaim-meanwhile (= 1.2.8-2), gaim-data (= 1:2.0.0+beta3-4) Depends: gaim-data (= 1:2.0.0+beta5-3), libsasl2-modules, libatk1.0-0 (= 1.12.2), libavahi-compat-howl0 (= 0.6.0), libc6 (= 2.3.6-6), libcairo2 (= 1.2.4), libdbus-1-3 (= 0.94), libdbus-glib-1-2 (= 0.71), libfontconfig1 (= 2.4.0), libgcrypt11 (= 1.2.2), libglib2.0-0 (= 2.12.0), libgnutls13 (= 1.4.0-0), libgstreamer0.10-0 (= 0.10.10), libgtk2.0-0 (= 2.8.0), libgtkspell0 (= 2.0.2), libice6 (= 1:1.0.0), libncursesw5 (= 5.4-5), libpango1.0-0 (= 1.14.7), libperl5.8 (= 5.8.8), libsasl2-2, libsm6, libstartup-notification0 (= 0.8-1), libx11-6, libxcursor1 ( 1.1.2), libxext6, libxfixes3 (= 1:4.0.1), libxi6, libxinerama1, libxml2 (= 2.6.27), libxrandr2, libxrender1, libxss1 Recommends: gstreamer0.10-plugins-base, gstreamer0.10-plugins-good, gstreamer0.10-alsa | gstreamer0.10-esd Suggests: gnome-panel (= 2.1) | kicker (= 3.1) | docker, evolution-data-server (= 1.6.0), dbus-1-utils, libgadu3 (= 1:1.7~rc2), libmeanwhile1 (= 1.0.2), libzephyr3, tcl8.4 (= 8.4.5), tk8.4 (= 8.4.5) Conflicts: gaim-meanwhile (= 1.2.8-2), gaim-data (= 1:2.0.0+beta3-4) Description: multi-protocol instant messaging client Gaim is a graphical, modular Instant Messaging client capable of using AIM/ICQ, Yahoo!, MSN, IRC, Jabber, Napster, Zephyr, Gadu-Gadu, Bonjour, Groupwise, Sametime, and SIMPLE all at once. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE
Unix socket question - TLS with Exim/Courier
I'm missing something obvious here. I have two Debian Stable boxes both running exim4-daemon-heavy 4.50-8sarge2 courier-imap-ssl 3.0.8-4sarge5 One machine Exim can connect to the Courier authdaemon socket and the other I get permission denied on the socket. I have not been able to find the difference between the two setups. 2006-12-05 21:56:19 plain_courier authenticator failed for (me) [192.168.1.2] U=moseley: 435 Unable to authenticate at present (set_id=moseley): failed to connect to socket /var/run/courier/authdaemon/socket: Permission denied I'm not sure I understand socket permissions as the socket looks like this: ls -l /var/run/courier/authdaemon/socket srwxrwxrwx 1 root root 0 Dec 5 22:20 /var/run/courier/authdaemon/socket Exim is running as user Debian-exim on both machines, as normal. The Courier authdeamon is running as root. I found one post[1] that said they had to add group daemon to Debian-exim, but I don't understand why that would make a difference -- I don't see where the socket is group daemon. Plus, on the machine where it's working Debian-exim is not part of the daemon group. Anyone familiar with domain sockets and/or the Exim+Courier setup to give me advice how to debug this? Thanks, [1] http://fplanque.net/Blog/devblog?cat=89 -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Unix socket question - TLS with Exim/Courier
On Tue, Dec 05, 2006 at 10:43:58PM -0800, Bill Moseley wrote: failed to connect to socket /var/run/courier/authdaemon/socket: Permission denied Oh, ran strace and can now see that the authdaemon directory is where the permissions are not correct. Lack of sleep doesn't always help with debugging. Never mind. ;) -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Why is Caudium running?
Over time my desktop machines tend to collect a lot of packages I no longer use. For example, I see Caudium is running: $ ps aux | grep caudium root 16162 0.1 0.3 11436 2888 ?SNov28 2:22 /usr/bin/pike7.6 -M/usr/lib/caudium/etc/modules /usr/lib/caudium/start-caudium --pid-file=/var/run/caudium/caudium.pid --config-dir=/etc/caudium/servers/ --log-dir=/var/log/caudium/ --with-threads root 8926 0.0 0.2 8828 2592 ?Rs 14:15 0:00 /usr/bin/pike7.6 -DENABLE_THREADS -DCAUDIUM -DCAUDIUM_CACHE -DROXEN -Ietc/include -Ibase_server -Metc/modules -Mlib/7.6.93/ -w -P/usr/lib/caudium base_server/caudiumloader.pike I'm reasonably sure that came along with some other install. Can I figure out what depends on that? That is, why it is installed? $ sudo apt-get remove caudium Reading package lists... Done Building dependency tree... Done The following packages will be REMOVED: caudium caudium-modules $ sudo apt-get remove pike7.6-core Reading package lists... Done Building dependency tree... Done The following packages will be REMOVED: caudium caudium-modules pike7.6-core pike7.6-image pike7.6-pcre BTW -- what does the pipe indicate when using apt-cache rdepends? $ apt-cache rdepends caudium | grep '|' |libroxen-ecms -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Font changes after dist-upgrade to Firefox2/IceWeasel
After years of running Linux fonts are still somewhat of a mystery to me. After upgrading Firefox some some web pages now have much smaller fonts. I'm curious what caused that change. I also often wonder if there's a way to see what font the web browser actually selects for rendering when asked to display text. For example, is the change in font selection due to how IceWeasel is selecting a font to display or some other external change in fonts. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Font changes after dist-upgrade to Firefox2/IceWeasel
On Tue, Nov 28, 2006 at 10:49:55PM +0100, Florian Kulzer wrote: After upgrading Firefox some some web pages now have much smaller fonts. I'm curious what caused that change. I also noticed (and disliked) this change. I think it has something to do with the removal of the old dpi preference setting. In firefox 1.5 I could simply use a dpi setting which made the average web font readable for me. There is a new about:config item, layout.css.dpi, which according to the mozilla website should take over this functionality, but this is broken for me. I get serious rendering bugs if I change the default setting of this new item. Ah, that seems to help. The default is -1 which: Use the host system's logical resolution or 96, whichever is greater,... So it seems on my system it was using 96. My DPI is set correctly in my xorg.conf (my DPI = 81) so I changed it to zero, which I assume says to use the DPI as set in my config. Seems to work. Thanks, Still, I sure wish I understood how fonts are being selected by the browser. It would be interesting to see what fonts get selected when using different CSS settings, for example. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Ripping CDs to MP3
On Tue, Nov 28, 2006 at 03:18:12PM -0800, Francis Healy wrote: I am running Debian Sarge and would like to rip CDs to MP3. I have installed GRIP Not what you are asking for, but I switched from grip to the abcde utility. Didn't seem like ripping a CD required a gui, to me. I rip to flac, so here's my ~/.abcde.conf file: ACTIONS=move,clean OUTPUTDIR=/home/moseley/music/flac # This dir must exist! WAVOUTPUTDIR=/tmp OUTPUTTYPE=flac FLACOPTS=--replay-gain OUTPUTFORMAT='${ARTISTFILE}/${ALBUMFILE}/${ARTISTFILE}-${ALBUMFILE}-${TRACKNUM}.${TRACKFILE}' EXTRAVERBOSE=y -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Mail sent to users in /etc/aliases
My /etc/aliases file has entires like this: daemon: root bin: :fail: Unknown User sys: root sync: root games: root man: root lp: root mail: root news: root uucp: root proxy: root postgres: root www-data: root When would mail ever get delivered *to* those addresses? Will anything break if mail can't be delivered to www-data, for example? I've been getting more spam lately addresses to common unix users, so I'm thinking about rejecting mail to those users -- well, any user that is not listed in a separate valid-users type of file. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Where did the ethereal binary go?
$ apt-cache policy ethereal ethereal: Installed: 0.99.2-4 Candidate: 0.99.2-4 Version table: *** 0.99.2-4 0 500 http://http.us.debian.org unstable/main Packages 100 /var/lib/dpkg/status http://packages.debian.org/cgi-bin/search_contents.pl?searchmode=filelistword=etherealversion=unstablearch=i386 FILE PACKAGE usr/bin/ethereal net/ethereal $ rm -rf ether $ dpkg-deb -x /var/cache/apt/archives/ethereal_0.99.2-4_i386.deb ether $ find ether ether ether/usr ether/usr/share ether/usr/share/doc ether/usr/share/doc/ethereal ether/usr/share/doc/ethereal/copyright ether/usr/share/doc/ethereal/changelog.gz ether/usr/share/doc/ethereal/changelog.Debian.gz Did the binary get moved someplace else? -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Xinerama issuse after upgrade to version 7
I'm curious if anyone else has experienced this and if it needs reporting someplace. I've been running Xinerama on a Matrox G550 for a few years. With this last xorg upgrade from 6.8.2 to 7.0.0 there were a few odd things. My card has two outputs -- one VGA and one DVI. When I boot the VGA is the main display (the DVI display is off until I start X). After upgrading to 7, now when I startx the DVI display seems like the main display, in that's where my window manager starts. I could not correct this in xorg.conf, and had to physically swap my cables to get xinerama to work correctly. Now my right hand monitor is the monitor used when not running X, which is not really what I want. I tried a bunch of different configurations but could not get it back to how it used to be, with the left monitor being connected to the VGA port and used as the main monitor for both console mode and when X was running. The other problem is after a reboot only one monitor starts. The DVI interface monitor stays in power save mode when X starts. But, I've found a trick to get it to start: This is is my layout: Section ServerLayout Identifier Default Layout Option Xinerama on Screen 0 LeftScreen 0 0 Screen 1 RightScreen RightOf LeftScreen InputDevice Generic Keyboard InputDevice Configured Mouse EndSection The only way I've been able to get both monitors to start is to comment out Xinerama and my right screen. Then the left monitor (the DVI connected one) will come out of dpms mode. That is: Section ServerLayout Identifier Default Layout #Option Xinerama on Screen 0 LeftScreen 0 0 #Screen 1 RightScreen RightOf LeftScreen InputDevice Generic Keyboard InputDevice Configured Mouse EndSection Then I exit X and remove the comments then I can restart X and then both monitors will start. Anyone else having problems with getting Xinerama started or with the left/right monitor configuration? Here's more detail on my config: # Video Card- Section Device Identifier Matrox G550[0] Driver mga Screen 0 BusID PCI:1:0:0 Option AGPMode 4 Option HWcursor EndSection Section Device Identifier Matrox G550[1] Driver mga Screen 1 BusID PCI:1:0:0 Option AGPMode 4 Option HWcursor EndSection #- Monitors - Section Monitor Identifier SonyG500 HorizSync 30-107 VertRefresh 50-85 Option DPMS DisplaySize 400 300 # 15.57 x 11.76 # DisplaySize 362 273 # 14.25 x 10.75 EndSection Section Monitor Identifier Dell21 HorizSync 30-107 Option DPMS VertRefresh 50-85 #VertRefresh 50-80 DisplaySize 400 300 # 15.57 x 11.76 EndSection Section Screen Identifier LeftScreen Device Matrox G550[0] Monitor SonyG500 DefaultDepth24 SubSection Display Depth 24 Modes 1280x960 1024x768 EndSubSection EndSection Section Screen Identifier RightScreen Device Matrox G550[1] Monitor Dell21 DefaultDepth24 SubSection Display Depth 24 Modes 1280x960 1024x768 EndSubSection EndSection Section ServerLayout Identifier Default Layout Option Xinerama on Screen 0 LeftScreen 0 0 # Note, after a reboot have needed to common out screen 1 below # to get the second screen to start, and also comment out Xinerama # That gets the second screen to turn on, then re-edit to work # Mon Jul 31 07:00:12 PDT 2006 Screen 1 RightScreen RightOf LeftScreen InputDevice Generic Keyboard InputDevice Configured Mouse EndSection -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Stuck getting my xserver up
Argh, I got through updating this Sid machine, but when I run startx I just get a gray screen and no X cursor. I have a Matrox G550 and was running Xinerama before. I'll post links to my logs below. A number of packages were held back when I finished the update, although I doubt this would be a problem for the xserver: # apt-get dist-upgrade Reading package lists... Done Building dependency tree... Done Calculating upgrade... Done The following packages have been kept back: bzflag checkinstall dbus-1-utils ffmpeg gdk-imlib1 gksu libavifile-0.7c2 libdiscover1 libdiscover2 libggi2 libsdl-ttf2.0-0 libsdl1.2debian libsdl1.2debian-oss mjpegtools mozilla-mplayer mplayer-k6 ntp planetpenguin-racer python-apt python-crypto python-twisted-core python-twisted-lore python-twisted-mail python-twisted-names python-twisted-news python-twisted-runner python-twisted-web python-twisted-words transcode 0 upgraded, 0 newly installed, 0 to remove and 29 not upgraded. Is .xsession still used? That's the file I have been using to start icewm. So, I created a new .xinitrc file instead with just: [EMAIL PROTECTED]:~$ cat .xinitrc exec xterm And when I run startx startx.out 21 [EMAIL PROTECTED]:~$ cat startx.out xauth: creating new authority file /home/moseley/.serverauth.5179 X Window System Version 7.0.0 Release Date: 21 December 2005 X Protocol Version 11, Revision 0, Release 7.0 Build Operating System:Linux 2.6.12-1-686 i686 Current Operating System: Linux bumby 2.6.6-xfs-athlon #1 Thu Jul 22 15:22:53 PDT 2004 i686 Build Date: 16 March 2006 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Sun Jul 30 12:29:08 2006 (==) Using config file: /etc/X11/xorg.conf (EE) MGA(1): Not initializing the DRI on the second head Could not init font path element /usr/share/fonts/X11/TTF/, removing from list! Could not init font path element /usr/share/fonts/X11/OTF, removing from list! Could not init font path element /usr/share/fonts/X11/CID/, removing from list! xterm: fatal IO error 32 (Broken pipe) or KillClient on X server :0.0 xinit: connection to X server lost. FreeFontPath: FPE /usr/share/fonts/X11/misc refcount is 2, should be 1; fixing. If I rm my .xinitrc then the only difference is the xterm: fatal IO line is not included. And the logs: (The error about DRI on the second head is normal) [EMAIL PROTECTED]:~$ fgrep EE /var/log/Xorg.0.log (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (II) Loading extension MIT-SCREEN-SAVER (EE) MGA(1): Not initializing the DRI on the second head What can I try now? Sure wish I was seeing more error messages. It's kind of important that I get my work machine up again before work start tomorrow ;) My config and logs: http://hank.org/demos/xorg.conf http://hank.org/demos/Xorg.0.log -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
xinerama (was Re: Stuck getting my xserver up)
On Sun, Jul 30, 2006 at 12:41:58PM -0700, Bill Moseley wrote: Argh, I got through updating this Sid machine, but when I run startx I just get a gray screen and no X cursor. I have a Matrox G550 and was running Xinerama before. Well, seems the the xinerama settings were confusing things. Now all is working except my left and right screens are now switched (my right is my :0 and left is :1, so my icewm bar is on the wrong screen. Odd. At least it usable now. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Error in sid upgrade: /var/cache/apt/archives/x11-common_1%3a7.0.22_i386.deb
Any tips where to go from here? # apt-get dist-upgrade Reading package lists... Done Building dependency tree... Done You might want to run `apt-get -f install' to correct these. The following packages have unmet dependencies: flightgear: Depends: libalut0 but it is not installed Depends: libopenal0a but it is not installed Depends: simgear0 (= 0.3.10-2) but 0.3.9-2 is installed Depends: fgfs-base (= 0.9.10) but 0.9.9-1 is installed gsfonts-x11: Depends: xutils (= 4.1.0-12) but it is not installed libgksu0: Depends: xbase-clients but it is not installed libgksu1.2-0: Depends: xbase-clients but it is not installed libgksuui1.0-0: Depends: xbase-clients but it is not installed libpango1.0-dev: Depends: libxft-dev but it is not installed msttcorefonts: Depends: xutils (= 4.0.2) but it is not installed wine: Depends: xbase-clients (= 4.0) but it is not installed or xcontrib but it is not installable x-ttcidfont-conf: Depends: xutils but it is not installed xfonts-100dpi: Depends: xutils but it is not installed xfonts-75dpi: Depends: xutils but it is not installed xfonts-base: Depends: xutils but it is not installed xfonts-scalable: Depends: xutils but it is not installed xprint-common: Depends: xbase-clients but it is not installed xprt: Depends: xprint but it is not installed xprt-xprintorg: Depends: xprint but it is not installed xserver-xfree86: Depends: xserver-xorg but it is not installed xserver-xorg-core: Depends: x11-common (= 1:7.0.0) but 6.9.0.dfsg.1-4 is installed E: Unmet dependencies. Try using -f. Ok, so try -f Extracting templates from packages: 100% Preconfiguring packages ... xserver-xorg config warning: Migrating xserver-xfree86 debconf values to xserver-xorg. (Reading database ... 131640 files and directories currently installed.) Preparing to replace x11-common 6.9.0.dfsg.1-4 (using .../x11-common_1%3a7.0.22_i386.deb) ... Unpacking replacement x11-common ... dpkg: error processing /var/cache/apt/archives/x11-common_1%3a7.0.22_i386.deb (--unpack): trying to overwrite `/usr/X11R6/bin', which is also in package libforms0.88-bin Errors were encountered while processing: /var/cache/apt/archives/x11-common_1%3a7.0.22_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Postgresql socket missing after a reboot
I have a Debian Stable machine that's doing two odd things when rebooting. Namely, Apache2 isn't coming up and Postgresql's domain socket is missing. First the Postgresql problem. I post separately about apache. After a reboot I get this: $ psql template1 psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket /var/run/postgresql/.s.PGSQL.5432? But, if I restart postgresql: $ sudo /etc/init.d/postgresql-8.1 stop Stopping PostgreSQL 8.1 database server: main. $ sudo /etc/init.d/postgresql-8.1 start Starting PostgreSQL 8.1 database server: main. $ psql template1 Welcome to psql 8.1.3, the PostgreSQL interactive terminal. Type: \copyright for distribution terms \h for help with SQL commands \? for help with psql commands \g or terminate with semicolon to execute query \q to quit template1= \q Is it possible that something is cleaning /var/run *after* postgresql starts? The machine uses runlevel 2: $ who -r run-level 2 Jul 27 18:46 last=4 Here's my init.d scripts that are in runlevel 2. Look down and you will see Postgresql at S20 with other applications. $ ls -1 /etc/rc2.d K10atd K10cron K10syslog-ng S10sysklogd S11klogd S14ppp S15logical S16mountnfsforlogical.sh S18atd S18portmap S19spamassassin S19syslog-ng S20binfmt-support S20courier-authdaemon S20courier-imap S20courier-imap-ssl S20courier-mta S20courier-pop S20courier-pop-ssl S20darwinss S20exim4 S20grlogcheck S20httpd S20httpd2 S20inetd S20jabber S20makedev S20mysqld S20mysqld-helper S20netatalk S20nfs-kernel-server S20ntop S20oidentd S20postfix S20postgresql-8.1 S20rmnologin S20rsync S20saslauthd S20ssh S20syslog-ng S20sysstat S20xmail S21nfs-common S21quotarpc S23ntp-server S25mdadm S30sysctl S89cron S91apache2 S91ifp_httpd S99jabber S99stop-bootlogd S99ud Any ideas why the socket is gone after the reboot? -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
What's blocking port 1443 during boot?
I have an init.d script that starts two instances of Apache2. It's a front-end/back-end server setup. For testing the front-end Apache2 listens on port 82 and 1443 (SSL). The front end is a reverse proxy and proxies requests the back-end Apache2 on listening on ports 10082 and 11433. During boot the back-end server starts, but the front-end server reports: Server on port 82/1443 Apache start for front/test_production: (99)Cannot assign requested address: make_sock: could not bind to address xxx.97.158.169:1443 no listening sockets available, shutting down Unable to open logs Failed Yes, if I run the init.d script from the command line after boot both servers come up fine: sudo /etc/init.d/httpd start I updated the init.d script to run netstat -tlp before trying to start Apache2, but nothing is bound to port 1443. Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp0 0 *:802 *:* LISTEN 1468/rpc.statd tcp0 0 *:nrpe *:* LISTEN 1413/inetd tcp0 0 *:finger*:* LISTEN 1413/inetd tcp0 0 *:sunrpc*:* LISTEN 1246/portmap tcp0 0 *:auth *:* LISTEN 1422/oidentd tcp0 0 *:ssh *:* LISTEN 1464/sshd tcp0 0 *:telnet*:* LISTEN 1413/inetd tcp0 0 localhost:postgresql*:* LISTEN 1435/postmaster So, how can I find out what is keeping Apache2 from binding to port 1443, yet at boot Apache is able to bind to 10082 and 11443 (and I assume port 82) without any problem? -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Shared memory - using ps(1)
On Tue, May 02, 2006 at 01:42:28AM -0400, Roberto C. Sanchez wrote: I get your point. Hopefully you get mine :-) I hope I get both points. ;) My 20 processes of statically linked MySQL may share memory between themselves (because they were forked from a parent??) but if MySQL was linked with libc, that won't be shared with other dynamically linked programs that use libc. So libc is using double the memory in this case. I was looking at /proc/pid/smaps for Apache2, postgresql 8.1, and (the famous statically linked MySQL). I just wrote a little perl script to tally up the various counts -- which is probably meaningless (since you can't add up a bunch of processes' shared memory because it's, well shared). The program displays the /proc/pid/smaps info for all processes padded and then shows totals. I've clipped all output except for two pids and the total. $ perl smaps.pl `pidof apache2` (5 pids) [...] [9677] size:62028K rss:43140K shared_clean: 4388K shared_dirty:18500K private_clean:0K private_dirty:20252K [9675] size:56360K rss:38164K shared_clean: 4472K shared_dirty:21144K private_clean:0K private_dirty:12548K [totals] size: 299780K rss: 206820K shared_clean:20860K shared_dirty:97476K private_clean:0K private_dirty:88484K So, if all those processes are in physical RAM at the same time can I assume that they use at least 88484K (plus whatever is shared in all)? Now looking at MySQL: $ perl smaps.pl `pidof mysqld--kernis` (21 pids) [...] [9265] size: 145668K rss:36576K shared_clean: 4040K shared_dirty:0K private_clean:0K private_dirty:32536K [9264] size: 145668K rss:36576K shared_clean: 4040K shared_dirty:0K private_clean:0K private_dirty:32536K [totals] size: 3059028K rss: 768096K shared_clean:84840K shared_dirty:0K private_clean:0K private_dirty: 683256K Here's where I'm curious. 680MB of private memory. It's likely that not all of that will be in RAM at the same time. (For one thing, the machine does not have that much traffic). But, in general, as connections are made to MySQL don't they basially round-robin. In other words, say 10 of the 20 processes have much of their private memory swapped out. It's not like only the 10 with all their memory still in physical RAM will somehow handle all connections to MySQL. So my guess is: Even with low MySQL traffic having more processed than needed causes swapping to happen since connections to MySQL will cycle through all MySQL processes and potentially bring them in and out of physical RAM. Of course, it's not that simple. ;) -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
vim-gtk: Depends: vim (= 1:6.3-071+1sarge1) but 1:6.3-072+1 is to be installed
This is suppose to be a Stable machine. Did the ISP update the vim package? Trying to install vim-gtk and I get: vim-gtk: Depends: vim (= 1:6.3-071+1sarge1) but 1:6.3-072+1 is to be installed $ apt-cache policy vim vim: Installed: 1:6.3-072+1 Candidate: 1:6.3-072+1 Version Table: *** 1:6.3-072+1 0 100 /var/lib/dpkg/status 1:6.3-071+1sarge1 0 500 http://debian.newdream.net sarge/main Packages On my Stable machine I get: vim: Installed: 1:6.3-071+1sarge1 Candidate: 1:6.3-071+1sarge1 Version Table: 1:6.4-007+0bpo1 0 200 http://www.backports.org sarge-backports/main Packages *** 1:6.3-071+1sarge1 0 500 http://http.us.debian.org sarge/main Packages 100 /var/lib/dpkg/status Looks like someone built a new package and installed it. I suspect I could download the vim-gtk package and dpkg -i the package. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Shared memory - using ps(1)
Top shows shared memory, but I'm not clear how to read shared memory with ps. I'm curious how much total memory these Apache process are using -- and how much is shared between the processes. Does RSS include memory that might be shared with other processes? $ ps --ppid 29903 -F UIDPID PPID CSZ RSS PSR STIME TTY TIME CMD 112 29908 29903 1 16016 46480 0 18:52 ?00:00:04 /usr/sbin/apache2 -k start -DSSL 112 29909 29903 1 15908 46160 0 18:52 ?00:00:03 /usr/sbin/apache2 -k start -DSSL 112 29910 29903 1 16002 46556 0 18:52 ?00:00:04 /usr/sbin/apache2 -k start -DSSL 112 29911 29903 0 15528 44568 0 18:52 ?00:00:01 /usr/sbin/apache2 -k start -DSSL 112 29912 29903 0 15759 45504 0 18:52 ?00:00:01 /usr/sbin/apache2 -k start -DSSL 112 29918 29903 0 16007 46452 0 18:52 ?00:00:02 /usr/sbin/apache2 -k start -DSSL 112 29920 29903 0 16067 46748 0 18:52 ?00:00:02 /usr/sbin/apache2 -k start -DSSL $ ps --ppid 29903 v PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND 29908 ?S 0:04 2 364 63699 46480 5.1 /usr/sbin/apache2 -k start -DSSL 29909 ?S 0:03 0 364 63267 46160 5.0 /usr/sbin/apache2 -k start -DSSL 29910 ?S 0:04 0 364 63643 46556 5.1 /usr/sbin/apache2 -k start -DSSL 29911 ?S 0:01 1 364 61747 44568 4.9 /usr/sbin/apache2 -k start -DSSL 29912 ?S 0:01 4 364 62671 45504 5.0 /usr/sbin/apache2 -k start -DSSL 29918 ?S 0:02 1 364 63663 46452 5.1 /usr/sbin/apache2 -k start -DSSL 29920 ?S 0:02 4 364 63903 46748 5.1 /usr/sbin/apache2 -k start -DSSL Also, ps is always showing the UID # instead of the name. Shouldn't that come from /etc/passwd? $ fgrep 112 /etc/passwd subversion:x:112:112:subversion:/var/lib/projects:/bin/sh -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Shared memory - using ps(1)
On Sun, Apr 30, 2006 at 10:07:17PM -0400, Roberto C. Sanchez wrote: http://it.slashdot.org/article.pl?sid=06/02/06/120210from=rss What happens with statically linked binaries? I've got about 25 Mysql processes that look like this in pmap -d: mapped: 148116Kwriteable/private: 140952Kshared: 0K -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Backports -- limiting updates and pinning
I installed Postgresql 8.1 backport a few days ago. Today I did an upgrade on a Stable machine and it installed two *new* packages: The following NEW packages will be installed: libdns21 libisc11 The following packages have been kept back: aspell The following packages will be upgraded: libisccfg1 lsb-base rsync Get:1 http://www.backports.org sarge-backports/main libisc11 1:9.3.2-1bpo1 [179kB] Get:2 http://www.backports.org sarge-backports/main libdns21 1:9.3.2-1bpo1 [532kB] Get:3 http://www.backports.org sarge-backports/main libisccfg1 1:9.3.2-1bpo1 [103kB] My question is: why are *new* packages from backports being installed? I had two Woody machines that had the same configuration, except one machine had a few backports. When it came to upgrade to Sarge the one with Backports didn't cleanly upgrade. So, I'm a little cautious of backports now. Following the instructions, here's how I installed Postgresql 8.1 deb http://security.debian.org/ sarge/updates main contrib non-free and in preferences I added this to limit what is installed: Package: * Pin: release a=sarge-backports Pin-Priority: 200 Then installed postgresql with: apt-get -t sarge-backports install postgresql-8.1 postgresql-server-dev-8.1 Should I now comment out the deb line for backports once Postgresql is installed? -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Performance issue on Stable
On Tue, Apr 25, 2006 at 06:35:00PM +0200, Martin A. Brooks wrote: IraqiGeek wrote: As far as performance, those early P4s and Xeons werent any real performers. My old XP 1800+ rig with 512MB was on par with a 2.4GHz Northwood P4 (512KB, 400MHz bus) in most tasks that I could throw at it. Agreed. My rule of thumb, which may not be true for newer Intel processors, is that an Athlon processor will keep up with a pentium 4 running at twice the speed. Good. The ISP has offered to replace the machine with Opteron newmoon (1.8Ghz). Sure hope that makes a difference. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Performance issue on Stable
This is a quite vague at this point, but I'm looking idea on how to track down performance problems. We moved an application from a development machine to a client's managed server an noticed it running quite a bit slower. Simple requests[1] take about three to five times longer. And this happens when the load average is above on on the fast machine and load average is is 0.1 on the client's server. I'd like to provide the ISP with more info than It's running slow so I'm wondering what tools to use to compare these two machines. Some of the basic specs are: Development Client's Server --- -- CPU Athlon XP1800+ Xeon Mhz 1150.5911793.936 cache 256KB 512KB bogomips2260.99 3565.15 RAM 1GB .5GB OS Deb UnstableDeb Sarge Kernel 2.6.6 2.4.28 Tasks 115 214 fs xfs atime ext3 noatime, nodiratime It seem From that alone it would seem like the client's server would be faster, although I'm sure that's not the entire story. Yet, the development server can have a load average over 1 and still process simple requests faster than the clients when its load average is 0.1. vmstat shows no swapping, so memory does not see to be a problem. [1] It's a fast_cgi application that's just returning a small file from the file system -- no database access involved in this request. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Performance issue on Stable
Sorry, I meant to postpone this message in mutt and instead sent it. On Tue, Apr 25, 2006 at 07:20:41AM -0700, Bill Moseley wrote: This is a quite vague at this point, but I'm looking idea on how to track down performance problems. We moved an application from a development machine to a client's managed server an noticed it running quite a bit slower. Simple requests[1] take about three to five times longer. And this happens when the load average is above on on the fast machine and load average is is 0.1 on the client's server. I'd like to provide the ISP with more info than It's running slow so I'm wondering what tools to use to compare these two machines. Some of the basic specs are: Development Client's Server --- -- CPU Athlon XP1800+ Xeon Mhz 1150.5911793.936 cache 256KB 512KB bogomips2260.99 3565.15 RAM 1GB .5GB OS Deb UnstableDeb Sarge Kernel 2.6.6 2.4.28 Tasks 115 214 fs xfs atime ext3 noatime, nodiratime It seem It seems to be CPU. Maybe the machine is taxed on the number of processes. What I notice is the machine runs at a low load average, but any small takes makes the CPU load jump. Anyway, just looking for a few recommendations on what you would do when trying to track down performance issues. From that alone it would seem like the client's server would be faster, although I'm sure that's not the entire story. Yet, the development server can have a load average over 1 and still process simple requests faster than the clients when its load average is 0.1. vmstat shows no swapping, so memory does not see to be a problem. [1] It's a fast_cgi application that's just returning a small file from the file system -- no database access involved in this request. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Performance issue on Stable
On Tue, Apr 25, 2006 at 04:33:20PM +0100, IraqiGeek wrote: The Athlon XP 1800+ should be running at 1533MHz and not 1150MHz. It seems to me that your bus is running at 200MHz instead of 266MHz. If its a new setup, check the motehrboard manual, there should either be a jumper or a DIP switch to change the bus to 266MHz or you should have that option in the BIOS. Your system's performance after getting the bus speed corrected should increase by at least 50%. Thanks for the top. That Athlon machine is a few years old, so maybe there's a reason for the slower bus -- but I'll look into it. But in this case it's the Intel Xeon that's running slow (compared to the Athlon). So I'm looking for a few benchmarking ideas to isolate what might be the reason for the faster server's poor performance. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Postgresql 8.1 on Stable
I've built Pg 8.1.3 from source on stable for testing, but for production I'm wondering if a backport would be a better option. I've had some trouble with backports in the past due to dependencies, but that may not be the case with Postgresql. The problem with building from source is that I'd need to setup my own init script, and (I assume) log rotation, etc. So, just looking for suggestions. Anyone have experience installing an 8.1 backport? Did you update your sources.list and install with apt-get, or did you download and dpkg -i the deb? How do the binaries (psql, createdb, etc.) co-exist with the stock 7.4? Thanks, -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: icewm how to allow moving maximized windows?
On Sun, Apr 23, 2006 at 10:46:41AM -0400, Mitchell Laks wrote: Hi, I am playing with icewm again. How to configure it so that I can move maximized windows around my screen, without changing them to be less than maximized. I suspect if it's maximized they it has no place to move to. I rarely maximize. I almost always Alt+right-click and resisize/move. Use that feature for a while then try using OS X and realize how lame that interface is. ;) -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Squirrel Mail and dates off after change to Daylight Saving Time
Squirrel Mail 1.4.4 Anyone notice dates wrong in Squirrel Mail after the hop to Daylight Saving Time? For example, the squirrel mail display shows: Date: Fri, March 31, 2006 10:45 am But view full headers has Delivery-date: Fri, 31 Mar 2006 09:45:19 -0800 Date: Fri, 31 Mar 2006 09:45:19 -0800 Yet a message from a few days ago: Date: Wed, April 5, 2006 3:18 pm and the headers have: Date: Wed, 5 Apr 2006 15:18:06 -0700 Delivery-date: Wed, 05 Apr 2006 15:18:44 -0700 I've set the timezone in the preferences both to Same as server and America/Los_Angeles with no change. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Firefox corrupted config?
firefox: Installed: 1.5.dfsg+1.5.0.1-2 Dist-upgrade on Sid a few days ago and now about:config in firefox now shows: XML Parsing Error: syntax error Location: about:config Line Number 1, Column 1: age id=find-status-icon/ ^ Anyone else seeing this? -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Firefox corrupted config? [SOLVED]
Silly me, I had firefox still open on another desktop from before the upgrade. On Sat, Feb 18, 2006 at 09:58:16AM -0800, Bill Moseley wrote: firefox: Installed: 1.5.dfsg+1.5.0.1-2 Dist-upgrade on Sid a few days ago and now about:config in firefox now shows: XML Parsing Error: syntax error Location: about:config Line Number 1, Column 1: age id=find-status-icon/ ^ Anyone else seeing this? -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Need xserver-xorg 6.8.2 debs (was Re: Xorg not working with Matrox G550?? MGAGetBOARDHANDLESize)
What the hell is going on with Xorg? I did a dist upgrade again to xserver-xorg 6.9.0 and again I can't get X to start. Last time this came up I had to downgrade xserver-xorg to 6.8.2 but now I don't have that .deb around any more. Where can I grab the old packages? Seems like the driver that comes with xserver-xorg requires the mga_hal driver. So I install the driver from the Matrox site then I get an undefined symbol error for MGAGetBOARDHANDLESize Then I see a bug report that says: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=345497 This user was using the proprietary mga_hal driver, which we can't support. Closing this bug, which he's fixed by removing this module. Does that make sense to anyone? Ok, so where is MGAGetBOARDHAANDLESize defined? matrox_driver-x86-4.3.0/xserver/6.8.2$ strings mga_drv.o | grep BOARD MATROXGetBOARDHANDLESize I try ([EMAIL PROTECTED]@) again using both mga_drv and mga_hal from the Matrox driver package. Note that the Matrox package has static drivers and not .so drivers. Then I get a TON of unresolved symbols Required symbol vgaHWGetIndex from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved! Required symbol vgaHWSetMmioFuncs from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved! Required symbol vgaHWGetIOBase from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved! Required symbol vgaHWMapMem from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved! [...] Do you realize how hard it is to heave a 21 CRT across the room? -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Need xserver-xorg 6.8.2 debs (was Re: Xorg not working with Matrox G550?? MGAGetBOARDHANDLESize)
On Sat, Feb 18, 2006 at 10:50:41PM +0100, Florian Kulzer wrote: Debian maintainers, kernel developers, etc. flat-out refuse to have anything to do with a problem which involves closed-source modules. This is not necessarily because of politics; they are just being pragmatic. After all, they might otherwise spend considerable time to chase down the bug, only to hit a brick wall once it is clear that the error is caused by the closed code. I guess what I'm not clear on is that the xserver-xorg package contains mga_drv.so, but not the mga_hal_drv file. $ strings mga_drv.so | grep hal mga_hal This card requires the mga_hal module for dual-head operation The problem is the mga_drv.so driver requires the mga_hal_drv. Is that true? It seems like both files are required, but only one file is included in the package? Are they both closed source? On only the mga_hal? -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: PDF with big honkin images
On Tue, Feb 07, 2006 at 06:12:27PM +0100, Jochen Schulz wrote: I didn't try it, but it should downsample to printing quality and then make a new PDF out of it. pdf2ps and ps2pdf might also work. I'll give cups-pdf a try. Thanks. pdf2ps turned it into a 250MB ps file. The ps2pdf turned it into a 113MB pdf file. The process took about two hours and made file initial pdf about four times larger. ;) -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: PDF with big honkin images
On Tue, Feb 07, 2006 at 09:17:13PM +0100, Florian Kulzer wrote: I have now figured out how to do it with ghostscript from the command line (after first failing with the -r option). The command is: gs -q -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -dDownsampleColorImages=true -dColorImageResolution=300 -sOutputFile=small.pdf big.pdf This is great, thanks. I originally stated that there were 120 or so images in the PDF. Turns out there's only 40, but a where images are side-by-side in the original PDF, or have text to the left or right side, the images extracted out as many thin horizontal slices. So, although the down sampling managed to make the file less than 10% of the original, the images that exported as slices now display in the final pdf all sliced up. Very odd. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
PDF with big honkin images
I just got a pdf that contains about 125 images. Although the image size is small on the pages, inside the pdf the images are huge: ~$ imgsize 5images-121.ppm width=2286 height=1525 and the resulting pdf file is thus huge. Clearly, they just used some program like Word and resized the images on the screen, but that didn't change the actual image size. I can extract out the images using pdfimages and batch resize them. But, is there a way to *replace* the images back into the pdf? -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: PDF with big honkin images
On Mon, Feb 06, 2006 at 10:32:52PM +0100, Florian Kulzer wrote: If your printer-subsystem offers you a pdfwriter pseudo-printer you can simply open the PDF and print it to a file with appropriate settings to downsample the images to a lower resolution. I have just tried this with KDE's Print to File (PDF) and it worked; I am sure Gnome has something similar. When you say open the PDF, how are you opening it? I have xpdf to view it, and I use CUPS for printing. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Postgresql pg_autovacuum in Sarge?
I see: $ cat /etc/issue Debian GNU/Linux 3.1 \n \l $ fgrep pg_autovac /etc/init.d/postgresql PG_AUTOVACUUM=$PREFIX/bin/pg_autovacuum start-stop-daemon --stop --user postgres --name pg_autovacuum echo pg_autovacuum not running echo pg_autovacuum is already running echo pg_autovacuum not running But I don't see what package includes pg_autovacuum. In Sid/Testing it's in postgresql-contrib-7.4, but on Sarge I don't see it in contrib: $ apt-cache show postgresql-contrib | grep vac indicates whether a vacuum is required. space that vacuum does not reclaim vacuumlo - Vacuum deleted large objects -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Xorg not working with Matrox G550?? MGAGetBOARDHANDLESize
On Tue, Jan 31, 2006 at 08:55:58AM +0200, Simo Kauppi wrote: Did you try to use both the mga_drv and the hal library from Matrox? The latest version is 4.3 and they seem to run with X.Org 6.9. The 4.3 driver I have from Matrox does not work with 6.9: matrox_driver-x86-4.3.0/install.sh: function GetXVersion { XVERSION=`X -version 21 | grep -s XFree86 Version | cut -d -f3 | sed -e s/\([^\.]*\.[^\.]*\.[^\.]*\)\.[^\.]*/\1/` [...] elif [ $XVERSION == 6.8.2.0 ]; then XPRESENT=1 XVERSION=6.8.2 else echo -e $RED\033[1mERROR\033[0m: \033[1mThe X server drivers included in this installation package echo -edo not support the current version of your X server.\033[0m echo exit 1 fi If it's 6.9 then the install script dies. By the way, how do I get auth to remotely try and start the xserver? My main display is dead in the water so I'm debugging this via ssh. [EMAIL PROTECTED]:~$ sudo /etc/init.d/xdm stop [EMAIL PROTECTED]:~$ sudo /etc/init.d/xdm start No, I'm not asking how to restart xdm. (I'm not using xdm, I'm just running startx.) I was asking how I could do: laptop: $ ssh desktop desktop: $ DISPLAY=0.0 startx -- +xinerama so startx on the desktop's server server over ssh. When I was using the desktop directly running startx was not working, but also leaving the display in an un-usable state (didn't got back to text mode). If I could startx over ssh then I could use a separate machine to debug and try restarting the server without having to reboot. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug in en_US locale
Anyone else wondering about this bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=347323 My calendar apps now start with the first day of the week being Monday. I'm not willing to give up that day off at the start of the week. ;) Seems like a serious bug, but it has not been responded to. Am I looking in the wrong package? -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Xorg not working with Matrox G550?? MGAGetBOARDHANDLESize
On Tue, Jan 31, 2006 at 06:01:18PM +0200, Simo Kauppi wrote: On Tue, Jan 31, 2006 at 06:34:05AM -0800, Bill Moseley wrote: On Tue, Jan 31, 2006 at 08:55:58AM +0200, Simo Kauppi wrote: Did you try to use both the mga_drv and the hal library from Matrox? The latest version is 4.3 and they seem to run with X.Org 6.9. The 4.3 driver I have from Matrox does not work with 6.9: I'm using it right now, so it does work. The install script might not work as Matrox is probably not 100% sure it works with 6.9. Right, the install script doesn't work. Anyway, the standard mga driver from X.Org should work as well (without the Hallib of course). I moved the mga_hal out of the way and did a dpkg -i xserver-xorg-6.9 deb to try and use the default driver. I thought what was happening is that I upgraded to 6.9 which left the mga_hal untouched but upgraded mga_drv. So by moving the mga_hal I should have been trying the standard mga driver that comes with xserver-xorg. Are you using framebuffer? No, not that I'm aware of. If you don't have any session managers in your desktop, you could try DISPLAY=desktop:0.0 startx where 'desktop' is the name of your desktop machine. That's what I was trying. But I xauth was not allowing that. I need to refresh my memory how xauth works. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Xorg not working with Matrox G550?? MGAGetBOARDHANDLESize
This I don't need! Sure hope someone can help. I've avoided a dist-upgrade for a while as last time X would not start until I download drivers from Matrox site. No such luck this time. Now I have this problem: undefined symbol: MGAGetBOARDHANDLESize http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=345497 But that bug report ends with this: This user was using the proprietary mga_hal driver, which we can't support. Closing this bug, which he's fixed by removing this module. Well, that's not helping. So what's the solution? I removed mga_hal.so and now startx gets the monitor to switch modes and then hangs (so no text mode anymore). The log shows: (EE) MGA: Failed to load module mga_hal (module does not exist, 0) (==) MGA(0): Matrox HAL module not loaded - using builtin mode setup instead (ok, that's expected) Then this: drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (No such device or address) drmOpenDevice: open result is -1, (No such device or address) drmOpenDevice: Open failed drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (No such device or address) drmOpenDevice: open result is -1, (No such device or address) drmOpenDevice: Open failed drmOpenByBusid: Searching for BusID pci::01:00.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 8, (OK) drmOpenByBusid: drmOpenMinor returns 8 drmOpenByBusid: drmGetBusid reports+ drmOpenDevice: node name is /dev/dri/card1 drmOpenDevice: open result is -1, (No such device) drmOpenDevice: open result is -1, (No such device) drmOpenDevice: Open failed drmOpenByBusid: drmOpenMinor returns -1023 drmOpenDevice: node name is /dev/dri/card2 drmOpenDevice: open result is -1, (No such device) drmOpenDevice: open result is -1, (No such device) drmOpenDevice: Open failed drmOpenByBusid: drmOpenMinor returns -1023 drmOpenDevice: node name is /dev/dri/card3 drmOpenDevice: open result is -1, (No such device) drmOpenDevice: open result is -1, (No such device) drmOpenDevice: Open failed [repeats until cart19 and then just stops] By the way, how do I get auth to remotely try and start the xserver? My main display is dead in the water so I'm debugging this via ssh. [EMAIL PROTECTED]:~$ DISPLAY=0.0 startx xauth: creating new authority file /home/moseley/.serverauth.3590 X: user not authorized to run the X server, aborting. /usr/X11R6/bin/xinit: Server error. It's not like the G550 is an uncommon or new board. I sure have not enjoyed the move to xorg. There the above problem and it seems to leak memory and when I exit the xserver I never get my console back and would have reboot. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Xorg not working with Matrox G550?? MGAGetBOARDHANDLESize
I finally had to downgrade these three packages and reinstall the mga drivers from the Matrox website to get X to start: $ dpkg -l | grep -i xserve ii xserver-common6.8.2.dfsg.1-11files and utilities common to all X servers ii xserver-xfree86 6.8.2.dfsg.1-11 transitional package for moving from xfree86 ii xserver-xorg 6.8.2.dfsg.1-11the X.Org X server Still, if I exit X I don't have my console back, and reset doesn't fix it. Back to memory leaks... -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
exim, courier, and authdaemon
This is on Sarge. I've got Courier setup for authuserdb. I can authenticate using mutt and SquirrelMail. Then I tried to setup exim to use smtp authentication against the courier authdaemon. I'm base64'ing the AUTH data and running exim4 in testing -bh testing mode. Exim shows the correct username and password in the debug output, but auth fails. I then tried using the utility courierauthtest and that also fails. So, it's a bit odd -- authentication works when using courier (via mutt or squirrelmail) but fails when using exim or courierauthtest. I've got the socket chown Debian-exim:Debian-exim, so that's not the problem. The courierauthtest is a bit lacking, but I can run with strace and see it passing \nlogin\nuser\npass to the authdaemon then then nothing is returned and then auth fails. Any ideas? -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: exim, courier, and authdaemon
On Sun, Jan 01, 2006 at 03:49:45PM -0800, Bill Moseley wrote: I've got Courier setup for authuserdb. I can authenticate using mutt and SquirrelMail [but not when using exim]. Ah, I see what I did wrong. I was only using imappw in the database, and exim uses the name exim to authenticate. So I switched to using the generic systempw entry. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Firefox font support on Sarge
I just did a Sarge install and trying to get fonts up to where they are on my Sid machines. After the base install and installing Firefox I noticed poor font support and often missing symbols. I started blindly throwing font packages at it: msttcorefonts x-ttcidfont-conf gsfonts-x11 Which seems to fix most things. Even after adding the above, I've been seeing a number of sites that use emsp; entity. http://www.htmlhelp.com/reference/html40/entities/special.html I have never understood fonts very well, so how do I figure what font package a given symbol might be found in? In other words, if Firefox shows that little box indicating it didn't find a character, how do I debug? How do I determine what font Firefox is requesting and where in the process it's failing? In other words, I'm more interested in learning how to debug this than how to fix it. I assume in the above case of emsp; that it's finding the correct font, but that it's just that the symbol is not included. dpkg -l | grep font ii console-data 2002.12.04dbs- Keymaps, fonts, charset maps, fallback table ii console-tools 0.2.3dbs-56Linux console and font utilities ii defoma 0.11.8-0.1 Debian Font Manager -- automatic font config ii fontconfig 2.3.1-2generic font configuration library ii gsfonts8.14+v8.11+urw Fonts for the Ghostscript interpreter(s) ii gsfonts-x110.17 Make Ghostscript fonts available to X11 ii latex-xft-font 0.1-5 Xft-compatible versions of some LaTeX fonts ii libconsole 0.2.3dbs-56Shared libraries for Linux console and font ii libfontconfig1 2.3.1-2generic font configuration library (shared l ii libfreetype6 2.1.7-2.4 FreeType 2 font engine, shared library files ii libt1-55.0.2-3Type 1 font rasterizer library - runtime ii libxft14.3.0.dfsg.1-1 FreeType-based font drawing library for X (v ii libxft22.1.7-1FreeType-based font drawing library for X ii msttcorefonts 1.2Installer for Microsoft TrueType core fonts ii x-ttcidfont-co 17 Configure TrueType and CID fonts for X ii xfonts-100dpi 4.3.0.dfsg.1-1 100 dpi fonts for X ii xfonts-75dpi 4.3.0.dfsg.1-1 75 dpi fonts for X ii xfonts-base4.3.0.dfsg.1-1 standard fonts for X ii xfonts-scalabl 4.3.0.dfsg.1-1 scalable fonts for X ii xfs4.3.0.dfsg.1-1 X font server -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Can Grub bypass menu.lst when it contains an error?
I added a splashscreen to grub, but had a typo in the device: (hd1,0) instead of (hd0,0). This caused grub to continue to cycle upon boot (I guess trying to read the non-existent drive) before the boot menu is shown. I couldn't see how to get grub to just ignore menu.lst on boot and give me a grub prompt -- for example, by holding down a special key sequence. Did I miss something obvious in the docs? http://www.gnu.org/software/grub/manual/grub.html#General-boot-methods -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Can Grub bypass menu.lst when it contains an error?
On Wed, Dec 28, 2005 at 03:38:23PM +, Clive Menzies wrote: On (28/12/05 07:27), Bill Moseley wrote: I added a splashscreen to grub, but had a typo in the device: (hd1,0) instead of (hd0,0). This caused grub to continue to cycle upon boot (I guess trying to read the non-existent drive) before the boot menu is shown. I couldn't see how to get grub to just ignore menu.lst on boot and give me a grub prompt -- for example, by holding down a special key sequence. You could try holding 'c' which is what you do on Debian From Scratch to get a grub prompt: That seems to only work if the splashscreen works -- otherwise, it seems to try and load the splashscreen before processing the c so that's not a way around the problem. Another reason to keep a bootable cd around. Luckily I had a netinstall cd still in my cd tray. ;) -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Cups: and no local cups server
Fresh install of Sarge on a laptop with only cupsys-client. Do I need to also run cupsd server? I've always run servers and clients so never run into this problem before: [EMAIL PROTECTED]:~$ lpstat -v lpstat: Unable to connect to server: Connection refused I can specify a machine that is running cupsd: [EMAIL PROTECTED]:~$ lpstat -h bumby -v device for 4ML: canon:/dev/lp0 device for AdobePDF: ipp://PowerMac.local/printers/AdobePDF device for Stylus_Photo_870_Gutenprint: ipp://PowerMac.local/printers/Stylus_Photo_870_Gutenprint How do I get applications to see those printers? For example, firefox doesn't display any of those printers. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Xorg leaking
On Wed, Dec 14, 2005 at 12:26:25AM +0200, Micha Feigin wrote: For me it has always been process related. X seems to develop some insane memory leak and then when I close the offending process things are ok again. Can't recall now what where suspect culprits (I think it was something either web/flash related or dri). Well, I tried closing everything down. Here's what xrestop is reporing after a restart yesterday. And what processes I have running: xrestop - Display: localhost:0 Monitoring 10 clients. XErrors: 0 Pixmaps: 24191K total, Other: 68K total, All: 24259K total res-base Wins GCs Fnts Pxms Misc Pxm mem Other Total PID Identifier 0a0 0206823440K240B 23440K ? unknown 0e0 332 1381 212 1658 751K 50K802K ? unknown 100 4 1442 468B 5K 5K ? xterm 080 4 1442 468B 5K 5K ? xterm 060 4 1442 468B 5K 5K ? mutt-bumby-1000-2799-6 + (/tmp) - 120 220020B144B144B ? VIM 0c0 220020B144B144B ? xrestop 220 200010B 72B 72B ? unknown 040 020010B 72B 72B ? unknown 020 020010B 72B 72B ? unknown Too bad the top one is unknown. I'm not clear if that shows just what's on my Xserver or system wide. Xorg is the process eating memory: $ ps -p 26499 u USER PID %CPU %MEMVSZ RSS TTY STAT START TIME COMMAND root 26499 2.9 5.5 109108 50384 ?S Dec13 97:19 /usr/X11R6/bin/X :0 +xinerama And that 109108 keeps growing. Not very interesting, but here's what's I'm running under my user. (this is a bit wide -- ) $ ps -umoseley uf USER PID %CPU %MEMVSZ RSS TTY STAT START TIME COMMAND moseley 2325 0.0 0.0 5304 624 tty1 SDec05 0:00 -bash moseley 26486 0.0 0.1 4696 1012 tty1 S+ Dec13 0:00 \_ /bin/sh /usr/bin/X11/startx -- +xinerama moseley 26498 0.0 0.0 2328 572 tty1 S+ Dec13 0:00 \_ xinit /usr/X11R6/lib/X11/xinit/xinitrc -- /usr/X11R6/bin/X +xinerama moseley 26513 0.0 0.4 8176 3708 tty1 SDec13 1:01 \_ icewm moseley 26592 0.0 0.1 3948 964 ?Ss Dec13 0:00 \_ /usr/bin/ssh-agent /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session sh /home moseley 26593 0.0 0.1 3948 1160 ?Ss Dec13 0:00 \_ /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session sh /home/moseley/.xsession moseley 2667 0.0 0.3 9120 2872 ?Ss 20:17 0:00 \_ xterm moseley 2668 0.0 0.2 5292 2284 pts/374 Ss+ 20:17 0:00 | \_ bash moseley 2795 0.0 0.3 9120 2880 ?Ss 20:25 0:00 \_ xterm moseley 2796 0.0 0.2 5268 2232 pts/377 Ss 20:25 0:00 | \_ bash moseley 2799 0.2 0.5 9872 5332 pts/377 S+ 20:25 0:01 | \_ mutt moseley 2801 0.0 0.1 4684 1536 pts/377 S+ 20:25 0:00 | \_ sh -c /home/moseley/killsig.pl '/tmp/mutt-bumby-1000-2799-6'; vim '/tmp/mut moseley 2803 0.1 0.5 14784 4988 pts/377 S+ 20:25 0:00 | \_ vim /tmp/mutt-bumby-1000-2799-6 moseley 2895 0.0 0.6 10460 6152 ?Ss 20:33 0:00 \_ xterm moseley 2896 0.0 0.2 5284 2248 pts/378 Ss 20:33 0:00 \_ bash moseley 2901 0.0 0.0 3860 896 pts/378 R+ 20:35 0:00 \_ ps -umoseley uf moseley 26597 0.0 0.0 1984 428 ?Ss Dec13 0:00 dbus-daemon-1 --fork --print-pid 8 --print-address 6 --session moseley 26596 0.0 0.0 2548 624 tty1 SDec13 0:00 /usr/bin/dbus-launch --exit-with-session sh /home/moseley/.xsession -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Xorg leaking
Anyone else experiencing leaks in Xorg? My machine runs for a few days and then I notice swapping and have to restart Xorg. Memory use isn't too bad here, but already 224MB virtual size: $ ps -p 2343 u USER PID %CPU %MEMVSZ RSS TTY STAT START TIME COMMAND root 2343 1.7 8.5 230416 77416 ?S Dec05 209:36 /usr/X11R6/bin/X :0 +xinerama Or from top: Tasks: 117 total, 1 running, 116 sleeping, 0 stopped, 0 zombie Cpu(s): 2.3% us, 0.7% sy, 0.0% ni, 97.0% id, 0.0% wa, 0.0% hi, 0.0% si Mem:905892k total, 881236k used,24656k free, 4116k buffers Swap: 498004k total, 264904k used, 233100k free,83952k cached PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 2343 root 5 -10 224m 75m 55m S 1.7 8.5 209:33.06 Xorg -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Xorg leaking
On Tue, Dec 13, 2005 at 01:22:39PM -0800, Karsten M. Self wrote: on Tue, Dec 13, 2005 at 01:09:55PM -0800, Bill Moseley ([EMAIL PROTECTED]) wrote: Anyone else experiencing leaks in Xorg? Yep, yep, yep As gravity (David Nusinow, packager) says, it's what it does best. Presumably if you want to help you could run it under valgrind. Ok, I can try -- but it seems to leak somewhat slowly. It's just that I tend to keep my desktop running for months at a time. I have a root window image that updates ever five minutes. I thought I saw somewhere were that might be the leak, but I couldn't see it leak by updating my root window. Any special way of running it under valgrind? I have it installed but haven't needed it's services in a while -- thank goodness. The other bad thing is when I exit Xorg I don't get my console screen back. I get a black screen with large green blocks scattered around the screen. Running reset doesn't fix, but I can run startx again. That's a drag. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: mozilla-player for firefox 1.4...
Isn't anyone using Deer Park? On Thu, Dec 01, 2005 at 08:12:24PM -0800, Bill Moseley wrote: I just upgraded to firefox in Sid. It removed my old version of firefox and took some plugins with it. Is there a mozilla-player like plugin for the new firefox? I run icewm (not KDE) so I'm not sure if kaffeine would work. Plus it seems not to be installable on my machine. Hey, foXpose is fun: http://viamatic.com/firefox/ # apt-get install kaffeine Reading package lists... . Done Building dependency tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: kaffeine: Depends: kdelibs4c2 (= 4:3.4.2-1) but it is not going to be installed Depends: kaffeine-xine but it is not going to be installed or kaffeine-gstreamer but it is not going to be installed E: Broken packages -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Xorg Memory Leak
Top reports Xorg using 90% of RAM and processes get killed. All swap is being used, but vmstat isn't showing that much so and si paging. Load average every once in a while will shoot up to 25 or so. I can find a few posts about memory leaks, but not may responses. And one memory leak bug report in xserver-xorg. I do have a script that updates my root window with an image every five minutes, which is also what but 326956 reports. Anyone else experiencing Xorg eating memory? http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=326956 -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Now xinerma is busted (Was: Xorg Memory Leak)
Pardon me for a second. Shit, shit shit! Ok, Now after a fresh dist-upgrade and a reboot only one of my monitors is running. This really sucks. For one thing when I upgraded to Xorg it decided to make my main monitor (the screen that comes up in text mode before running the xserver) the secondary monitor when Xorg is running. For the life of me, I couldn't get the config to do it the other way, so I swapped my monitor cables on my G550 card. But, now with the second monitor not starting with xinerama, without xinerama running Xorg using the secondary port on the card for the main monitor (which isn't working) and I get a window manager-less screen on the working monitor. In other words, I have to use xinerama, and poke around in the dark (literally) with my mouse to find windows that open on what xorg thinks is my main window. Enough with the ranting. What can I use to test my second monitor port on the G550 card to see if it's just xorg now enabling the second port, or if the card if busted? Is there a good place to get xorg support? Thanks, Here's my xorg.conf, if anyone is curious. # XF86Config-4 (XFree86 X server configuration file) generated by dexconf, the # Debian X Configuration tool, using values from the debconf database. # # Edit this file with caution, and see the XF86Config-4 manual page. # (Type man XF86Config-4 at the shell prompt.) # # This file is automatically updated on xserver-xfree86 package upgrades *only* # if it has not been modified since the last upgrade of the xserver-xfree86 # package. # # If you have edited this file but would like it to be automatically updated # again, run the following commands as root: # # cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom # md5sum /etc/X11/XF86Config-4 /var/lib/xfree86/XF86Config-4.md5sum # dpkg-reconfigure xserver-xfree86 Section Files FontPath/usr/lib/X11/fonts/Speedo FontPath/usr/lib/X11/fonts/misc FontPath/usr/lib/X11/fonts/100dpi FontPath/usr/lib/X11/fonts/75dpi EndSection Section Module LoadGLcore Loadbitmap Loaddbe Loadddc Loaddri Loadextmod Loadfreetype Loadglx Loadint10 # not in old bumby Loadrecord Loadspeedo Loadtype1 Loadvbe # not in old bumby EndSection Section InputDevice Identifier Generic Keyboard Driver keyboard Option CoreKeyboard Option XkbRules xfree86 Option XkbModel pc104 # pc105 on bumby Option XkbLayout us EndSection Section InputDevice Identifier Configured Mouse Driver mouse Option CorePointer Option Device/dev/psaux Option Protocol ImPS/2 Option Emulate3Buttons true Option ZAxisMapping 4 5 EndSection # Video Card- Section Device Identifier Matrox G550[0] Driver mga Screen 0 BusID PCI:1:0:0 Option AGPMode 4 Option HWcursor EndSection Section Device Identifier Matrox G550[1] Driver mga Screen 1 BusID PCI:1:0:0 Option AGPMode 4 Option HWcursor EndSection #- Monitors - Section Monitor Identifier SonyG500 HorizSync 30-107 VertRefresh 50-85 Option DPMS DisplaySize 400 300 # 15.57 x 11.76 EndSection Section Monitor Identifier Dell21 HorizSync 30-107 Option DPMS VertRefresh 50-85 #VertRefresh 50-80 DisplaySize 362 273 # 14.25 x 10.75 EndSection Section Screen Identifier LeftScreen Device Matrox G550[0] Monitor SonyG500 DefaultDepth24 SubSection Display Depth 24 Modes 1280x960 1024x768 EndSubSection EndSection Section Screen Identifier RightScreen Device Matrox G550[1] Monitor Dell21 DefaultDepth24 SubSection Display Depth 24 Modes 1280x960 1024x768 EndSubSection EndSection Section ServerLayout Identifier Default Layout # Option Xinerama on Screen 0 LeftScreen 0 0 Screen 1 RightScreen RightOf LeftScreen InputDevice Generic Keyboard InputDevice Configured Mouse EndSection Section DRI Mode0666 EndSection -- Bill Moseley [EMAIL
Re: Now xinerma is busted (Was: Xorg Memory Leak)
Whew. Panic time is over. The drivers from the Matrox site fixed everything. Yea Matrox! Xorg put my monitors back in the right order and both monitors are working. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
mozilla-player for firefox 1.4...
I just upgraded to firefox in Sid. It removed my old version of firefox and took some plugins with it. Is there a mozilla-player like plugin for the new firefox? I run icewm (not KDE) so I'm not sure if kaffeine would work. Plus it seems not to be installable on my machine. Hey, foXpose is fun: http://viamatic.com/firefox/ # apt-get install kaffeine Reading package lists... . Done Building dependency tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: kaffeine: Depends: kdelibs4c2 (= 4:3.4.2-1) but it is not going to be installed Depends: kaffeine-xine but it is not going to be installed or kaffeine-gstreamer but it is not going to be installed E: Broken packages -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: System backup/snapshot
On Tue, Aug 16, 2005 at 06:11:25AM -0700, [EMAIL PROTECTED] wrote: I need to save several versions of the backup on the local disk and be able to restore it when system is running. I had this reference in my links. http://www.mikerubel.org/computers/rsync_snapshots/ On a related topic -- I understand there's a bunch of a failover systems available, but I often would like to have a backup machine that can take over as a primary machine if the original primary machine fails. /etc/ has configs for both application level services (Apache, DNS, etc.) but also has hardware/machine specific settings. So, I've been thinking of trying a setup where services like Apache that instead of using /etc/apache they use /etc/services/apache (and /etc/services/bind, etc.). Then /etc/services would be a symlink to various different configurations (e.g. /etc/primary /etc/backup). Then use rsync to keep those the same on both machines. The problem with that is the /etc/init.d/ scripts are hard-wired to use /etc so I assume an update to an init.d script would overwrite that setup. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dpkg: parse error, in file `/var/lib/dpkg/available'
On Sat, Aug 13, 2005 at 08:02:05PM +0200, Bob Vloon wrote: Hi, BM Any ideas about how to fix? What about /var/lib/dpkg/available-old? Is it corrupted also? Yes. dpkg-query: parse error, in file `/var/lib/dpkg/available' near line 1: field name `ôh²Îñb ' must be followed by colon dpkg: --compare-versions takes three arguments: version relation version -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Xinerama in Unstable
I have not follow the xorg transition that well. I have a problem[1] running xinerama since a recent dist-upgrade on Unstable and I'm wondering which package I might report the bug in. [1] The bug, noted in another thread, is in Gaim the underline that indicates misspelled words only displays in my main monitor, not on my secondary monitor. When I drag the window back and forth between screens the little red squiggly vanishes and reappears, but everything else stays the same. Very odd. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
dpkg: parse error, in file `/var/lib/dpkg/available'
Any ideas about how to fix? laptop:/home/moseley# apt-get update Get:1 http://bumby unstable/main Packages [3755kB] [...] Fetched 5384kB in 1m14s (72.0kB/s) E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. laptop:/home/moseley# dpkg --configure -a dpkg: parse error, in file `/var/lib/dpkg/available' near line 1: EOF after field name `' I've tried removing /var/lib/dpkg/available and also copying that file from another machine running Unstable. (Note that I'm using apt-proxy here [bumby is the machine], but I've also tried by using debian.org archives directly in sources.list.) Doing the same operation with Aptitude results in: Preconfiguring packages ... dpkg-query: parse error, in file `/var/lib/dpkg/available' near line 1: EOF after field name `' dpkg: --compare-versions takes three arguments: version relation version Type dpkg --help for help about installing and deinstalling packages [*]; Use dselect for user-friendly package management; Type dpkg -Dhelp for a list of dpkg debug flag values; Type dpkg --force-help for a list of forcing options; Type dpkg-deb --help for help about manipulating *.deb files; Type dpkg --licence for copyright licence and lack of warranty (GNU GPL) [*]. Options marked [*] produce a lot of output - pipe it through `less' or `more' ! dpkg: parse error, in file `/var/lib/dpkg/available' near line 1: EOF after field name `' E: Sub-process /usr/bin/dpkg returned an error code (2) Ack! Something bad happened while installing packages. Trying to recover: dpkg: parse error, in file `/var/lib/dpkg/available' near line 1: EOF after field name `' Reading Package Lists... Done Building Dependency Tree Reading extended state information Initializing package states... Done Reading task descriptions... Done -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Gaim lost spell check
Running on Debian Sid. I did a dist-upgrade last week and it no longer spells. I was not aware of the ABI C++ upgrade at the time and wonder if that has something to do with it.[1] Suggestions how to debug this? Seems like I'm up-to-date with gaim and aspell. [EMAIL PROTECTED]:~$ ldd /usr/bin/gaim | grep spell libgtkspell.so.0 = /usr/lib/libgtkspell.so.0 (0x40076000) libaspell.so.15 = /usr/lib/libaspell.so.15 (0x4007b000) [EMAIL PROTECTED]:~$ dpkg -S /usr/lib/libaspell.so.15 /usr/lib/libgtkspell.so.0 libaspell15: /usr/lib/libaspell.so.15 libgtkspell0: /usr/lib/libgtkspell.so.0 [EMAIL PROTECTED]:~$ apt-cache policy libaspell15 libgtkspell0 gaim libaspell15: Installed: 0.60.3-5 Candidate: 0.60.3-5 Version table: *** 0.60.3-5 0 500 http://bumby unstable/main Packages 100 /var/lib/dpkg/status libgtkspell0: Installed: 2.0.10-3 Candidate: 2.0.10-3 Version table: *** 2.0.10-3 0 500 http://bumby unstable/main Packages 100 /var/lib/dpkg/status gaim: Installed: 1:1.4.0-5 Candidate: 1:1.4.0-5 Version table: *** 1:1.4.0-5 0 500 http://bumby unstable/main Packages 100 /var/lib/dpkg/status [1] I also wonder if the C++ ABI upgrade is related to my laptop's problem that started while doing a dist-upgrade where the disk will just stop working -- no messages in any logs about disk failure -- but there's only one partition, too. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Gaim lost spell check
On Fri, Aug 12, 2005 at 07:26:46AM -0700, Rodney D. Myers wrote: On Fri, 12 Aug 2005 07:12:52 -0700 Bill Moseley [EMAIL PROTECTED] wrote: Running on Debian Sid. I did a dist-upgrade last week and it no longer spells. I was not aware of the ABI C++ upgrade at the time and wonder if that has something to do with it.[1] Suggestions how to debug this? Which version of gaim? which version of aspell? gaim: Installed: 1:1.4.0-5 Candidate: 1:1.4.0-5 Version table: *** 1:1.4.0-5 0 500 http://bumby unstable/main Packages 100 /var/lib/dpkg/status aspell: Installed: 0.60.3-5 Candidate: 0.60.3-5 Version table: *** 0.60.3-5 0 500 http://bumby unstable/main Packages 100 /var/lib/dpkg/status Have you pointed gaim to the version of aspell? aspell has had a name change, so you need to re-point to the correct name. You mean the aspell binary? Or the aspell library? libaspell15 - GNU Aspell spell-checker runtime library libaspell15c2 - GNU Aspell spell-checker runtime library [dummy] preferences - compose - spell checking Which gaim are you running. I don't have compose. On my Buddy List window I have Tools - Preferences, but nothing in there talks about spelling. Which I find odd. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Gaim lost spell check
On Fri, Aug 12, 2005 at 08:06:03AM -0700, Rodney D. Myers wrote: dpkg -l | grep gaim ii gaim 1.5.0-1 multi-protocol instant messaging client Where's that package from? apt-cache policy gaim gaim: Installed: 1:1.4.0-5 Candidate: 1:1.4.0-5 Version table: *** 1:1.4.0-5 0 500 http://bumby unstable/main Packages 100 /var/lib/dpkg/status -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Gaim lost spell check
On Fri, Aug 12, 2005 at 08:14:20AM -0700, Rodney D. Myers wrote: gaim.sourceforge.net. I also use checkinstall to create install the debs. Well, that's cool. I just installed 1.5.0 using checkinstall. gaim 1.5.0 Build Protocol Plugins : yes Protocols to link statically.. : Protocols to build dynamically : gg irc jabber msn napster novell oscar yahoo zephyr UI Library : GTK 2.x SSL Library/Libraries. : None Build with Plugin support. : yes Build with Perl support... : yes Build with Tcl support : no Build with Tk support. : no Build with Audio support.. : yes Build with NAS support : no Build with GtkSpell support... : yes Use kerberos 4 with zephyr : no Use external libzephyr : no Use XScreenSaver Extension : no Use X Session Management.. : yes Use startup notification...: no Print debugging messages.. : no Still no spell check in IRC and no options to set it. $ fgrep spell .gaim/prefs.xml pref name='spellcheck' type='bool' value='1' / Humph! BTW - checkinstall. Nice tool. It would be nice to have that linked into perl -MCPAN intall Foo:Baz My poor system is a mix of debian perl packages, packages I've created with whatever tool that is to build packages form CPAN, and modules installed with CPAN. The current gaim maintainer was a weird numbering scheme, and it plays havoc when I install on my own. He adds the 1: before the real release number. Years of using Debian and packaging is still a mystery to me! I have a laptop with it's package system hosed right now and I can't seem to get it working again. Preconfiguring packages ... dpkg-query: parse error, in file `/var/lib/dpkg/available' near line 1: EOF after field name `' dpkg: --compare-versions takes three arguments: version relation version ... Ack! Something bad happened while installing packages. Trying to recover: dpkg: parse error, in file `/var/lib/dpkg/available' near line 1: EOF after field name `' Ah, but that's another topic. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Gaim lost spell check
Crap. I found the problem with spelling. Spelling in game DOES work, it's just that the little red underline doesn't show. I'm running Xinerama with two monitors and always fire up game in the second window. Turns out the little red squiggly line doesn't show up on that screen. If I drag the window to the other monitor the line shows up. Very odd. Must have happened when a dist-upgrade migrated me to xorg??? $ dpkg -l | grep xfree ii xfree86-common6.8.2.dfsg.1-4 X Window System infrastructure transitional ii xserver-xfree86 4.3.0.dfsg.1-14the XFree86 X server I'm running a: Matrox Graphics, Inc. MGA G550 AGP -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Root window slideshows?
I'm using xslideshow to display some images. But, it's not exactly what I'd like. Maybe someone knows of another program or how to make xslideshow do what I want. I'd like to just point it at a directory and give a slide show of, say, the latest 50 photos in random order. A few fast dissolves/wipes would be nice, too. xslideshow's wipes are very slow (at least on this laptop). I'm currently using find with -mtime options piped to xargs and xslideshow. This is on Sid and running icewm as the window manager. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
apt-proxy setup questions
(sorry for dups[1]) I'm just setting up apt-proxy, but have a few questions. 1) apt-proxy caches the .deb files I request. So, if I want to *pre* fetch packages via cron during the night I might run: apt-get -qq update \ apt-get -qqd dist-upgrade \ apt-get -qq clean which fetches packages but doesn't install. I use clean to remove the packages from /var/cache/apt/archive since the packages are already on my local LAN (in /var/cache/apt-proxy). That's just to avoid storing duplicates of the same .deb files in different locations on the same disk. Is that a good method to pre-fetch packages to make a real dist-upgrade fast? 2) I'm confused about what to put into sources.list. Before apt-proxy I had not only my normal Debian archives listed, but a few others for various packages -- such as transcode and mplayer: deb ftp://ftp.nerim.net/debian-marillat/ unstable main Now, with apt-proxy I have this to use entry in sources.list (assuming aptproxy is the proxy machine): deb http://aptproxy:/debian unstable main non-free contrib Do I also need an entry for the marillat packages in sources.list? Or do I only need to add an entry into the apt-procy-v2.conf file? I suspect I don't really understand how the Debian archive works. Seems like if I add a new backend into apt-proxy then the clients would be able to find the package without having to modify the client's sources.list file. That is, if some package is not the the main Debian archive, but available someplace else (like in the marillat archive) then only apt-proxy would need to know about that new backend -- basically extending my local archive -- and the Marillat packages magically become available to all my clients. 3) One thing I'm not clear is how to limit package selection to a given archive. Say two different sites provide archives that both contain mplayer and transcode. So, normally you might only use one archive for both packages. But, is it possible to setup apt to only fetch mplayer from one archive and transcode from the other? That is, limit a package to a given archive? Thanks, [1] posted similar on apt-proxy list. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Setting up hotplug
Debian Sid with a 2.6.6 kernel. I'm trying to get a script to run when I connect a camera that shows up as a scsi drive. I have a Palm handheld device, and so I have an entry in /etc/hotplug/usb/local.usermap: $ cat local.usermap jpilot-sync 0x0003 0x0830 0x00010x 0x 0x00 0x000x000x000x00 0x00 0x That, I believe, causes the /etc/hotplug/usb/jpilot-sync script to run. That works mostly OK (although I can't figure out how the $REMOVER script is suppose to run to remove the loaded modules). That's about as far as my understanding of hotplug goes. Now, I also have a Sony camera that I access as a scsi device. This is a bit more of a mystery as it just works when I plug it in. But, what I want to do is run a script like with the Palm above. But, I have not been able to make this work -- perhaps because the of the wrong local.usermap entries (or just my lack of understanding how the parts fit together!). I tried this entry in local.usermap, but I suspect that's the wrong place (found via the hotplug website - jphoto): sony-camera 0x380 0 0 0 0 0 0 0 6 1 1 but that doesn't get a sony-camera script to run. It's probably the wrong place -- I assume I'd need to wait for the sd_mod module to be loaded first, anyway. So, I'm wondering how I determine that this specific camera is installed, and how to make a script run on this event. Here's the output when I connect the camera: May 16 14:19:58 bumby kernel: hub 1-0:1.0: connect-debounce failed, port 2 disabled May 16 14:19:58 bumby kernel: usb 1-2: new full speed USB device using address 4 May 16 14:19:59 bumby hotplug: /etc/hotplug/usb.agent ACTION = add May 16 14:19:59 bumby kernel: scsi9 : SCSI emulation for USB Mass Storage devices May 16 14:19:59 bumby usb.agent[14590]: usb-storage: already loaded May 16 14:19:59 bumby kernel: Vendor: Sony Model: Sony DSC Rev: 5.00 May 16 14:19:59 bumby kernel: Type: Direct-Access ANSI SCSI revision: 02 May 16 14:19:59 bumby kernel: SCSI device sda: 483328 512-byte hdwr sectors (247 MB) May 16 14:19:59 bumby kernel: sda: assuming Write Enabled May 16 14:19:59 bumby kernel: sda: assuming drive cache: write through May 16 14:19:59 bumby kernel: sda: sda1 May 16 14:19:59 bumby kernel: Attached scsi removable disk sda at scsi9, channel 0, id 0, lun 0 May 16 14:19:59 bumby kernel: USB Mass Storage device found at 4 May 16 14:20:00 bumby scsi.agent[14625]: sd_mod: loaded sucessfully (for disk) At this point I can manually mount the camera -- but this is where I'd like a script to run. May 16 14:20:02 bumby hotplug: remove operation May 16 14:20:02 bumby kernel: usb 1-2: USB disconnect, address 4 -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Backup mirror machine
On Fri, May 06, 2005 at 01:40:31AM -0700, Alvin Oga wrote: But that system turns out to be harder to keep in sync. nope ... actually trivial [EMAIL PROTECTED]:~$ trivial -bash: trivial: command not found I must not have it installed. You didn't provide a pointer to trivial and it doesn't seem to be a Debian package. I'll try google. Or maybe mount the dirs instead. that assumes the other remote dirs or other disk on the machine is working Yes. I guess that would mean that to be able to use the disk that it is indeed working. Then when there's a failure in master, power down master, and reboot the slave machine into master mode which then mounts that partition or partitions at /etc, /var, etc. all that should already work hands off ... without lifting a finger to touch the keyboard aka high availability Thanks, but I was only looking for one or two. see HA You mean Linux-HA, as in http://www.linux-ha.org/? if ha doesnt do what you want ... you're barking up the wrong tree Yes, I think I must be. and making things 100x more complicated than it needs to be, as the master/slave issues has long since been solved a gazillion different ways ( and your methodology unfortunately has too many holes that it will not work even if it was built as you say ) Good point. That helps. Thanks for the pointers. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Backup mirror machine
I'm looking for a few suggestions on making a mirror machine: I had a video card fail on a machine yesterday. (I had a spare available.) The machine runs mail, web, webmail, imap, DNS, and ntp. Mostly a low traffic machine. I rsync backups to another machine (actually more than one) but I realized how much time it can take to get the machine up and running again. So, I'm wondering about running a mirror that can be brought up in short notice. It's not mission critical so I'm not really interested in some kind of load-balancing/fail-over setup -- just a machine I can attach to the network and have it take over about where the last one was. What I currently have is one machine that is basically a mirror of another, but has different public and internal IPs. So to replace the main machine I'd have to go through the various configs and change IPs (and change bind from a slave to a master). Actually, it's currently a matter of changing a few symlinks, but still it's not a very good system. What I'd like to do, I think, is have a system that ran as a separate machine, but I could reboot and at the LILO prompt select another configuration that makes it boot with the other machines IPs and config settings. Perhaps mounting different /etc, /var, and /home. (and what else?) assuming I have the same package set and versions. Those /etc, /var, /home, etc. could be rsync backups based on this procedure: http://www.mikerubel.org/computers/rsync_snapshots/ Any Suggestions? -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Backup mirror machine
On Thu, May 05, 2005 at 03:30:46PM -0700, Alvin Oga wrote: one script ... change-me-from-slave-to-master.sh and symlinked to N But that system turns out to be harder to keep in sync. What I'd like to do, I think, is have a system that ran as a separate machine, but I could reboot and at the LILO prompt select another configuration that makes it boot with the other machines IPs and config settings. you cannot tell lilo to boot a remote machine No, I'm not asking that. I was thinking I could use lilo to boot a different configuration. I suppose I could use the init scripts to setup symlinks for /etc/network/interfaces and for all the services I run. That's basically what I have now -- but I've found it hard to manage. So, I was thinking more of a system that uses rsync to keep a copy of the files that make master what it is (a machine with specific IPs, and a collection of services configured a specific way, and data) on the slave machine. And then have a way to reboot the slave machine and have it start using the backup data making it act as the master. if ( running_as(slave) ) ln -s /slave.etc /etc ln -s /slave.var /var [...] else ln -s /master.etc /etc ln -s /master.var /var [...] Or maybe mount the dirs instead. Considering /etc/fstab is needed at boot, it's not that easy to place /etc on a separate partiton (initrd would be one solution, I suppose), or to symlink late in the boot process. Perhaps dual-boot would be a good way to go. Boot normally in slave mode and mount partition(s) under /backup and rsync from the master machine to the slave's /backup/etc, /backup/var, etc. dirs. Then when there's a failure in master, power down master, and reboot the slave machine into master mode which then mounts that partition or partitions at /etc, /var, etc. But, I still don't see that working since the backup of master onto slave will contain hardware dependent settings that don't work on slave -- like /etc/fstab. I'm not sure what else (/etc/modules, perhaps). I often wonder why there's not two /etc directories -- one for machine specific settings and another for application settings that don't really depend on a specific hardware configuration. Any Suggestions? gazillion ways to do it Thanks, but I was only looking for one or two. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
backport dependencies
I should know this better. I'm using exim4 on Woody via backports.org: deb http://www.backports.org/debian/ woody exim4 I'm not clear how dependencies work with this. If I go to update the system it wants to install the following: exim4-config, exim4-base, libgpg-error0, libgcrypt11, libopencdk8, libtasn1-2, libgnutls11, and exim4-daemon-heavy. If that's the only backports entry I have in sources.list, then will only packages in the http://www.backports.org/debian/dists/woody/exim4/ tree get fetched? I'm just wondering if dependencies can fetch outside of that path. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: SSH Blocking (and then IMAP passwords)
On Mon, Apr 25, 2005 at 02:26:04PM -0700, Beretta wrote: The windows ssh client PuTTY.exe will easily fit on a floppy disk (368KB) and the private key half of a private/public key pair should consume around 2KB (for a total of 370KB) Of course, I personally prefer to keep my stuff on a USB thumbdrive as they seem to be much more reliable than floppies. Scares the crap out of me using someone's Windows machine to connect with putty. I fear spyware key loggers. I assume they exist. I used to carry a small bootable linux distribution, but I can't always convince people to let me boot off it. I guess you cannot trust any machine you use that isn't your own. Single use passwords are a good idea, but seems like a pain to use. When working from a remote machine I often connect multiple times during the same session (yes, I also use screen). One hole I worry about is web mail. I setup webmail (over SSL) for my wife to use, and disabled her account so no ssh logins. Again, it's that fear of someone snooping. But, I get lazy and use the webmail access once in a while, and although it's over an SSL connection I'm typing my password in on an untrusted machine. I use exim4 to deliver to procmail which then delivers to Maildir directories. I use IMAP to access the mail with the authpam authentication module. I need to setup Courier IMAP to use a different set of passwords -- but still have read/write access to each user's $HOME/Maildir. Anyone have a suggestion on how best to do that? -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
[SOLVED -kind of] Lost console after kernel upgrade 2.6.9
Sorry, I sent this to debian-user by mistake (not subscribed), but to follow up: It's a bug listed at: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=279648 what I did to fix for now is, as mentioned in the bug report, download 2.6.9 from kernel.org and copied linux-2.6.9/drivers/video/vesafb.c to /usr/src/kernel-source-2.6.9/drivers/video/ and rebuild the kernel. --- original message --- I upgraded from 2.6.5 to 2.6.9 today -- I used the debian kernel-source-2.6.9 package and copied the 2.5.6 .config file into the 2.6.9 directory before building to retain my old config settings. I no longer have my vesa (framebuffer??) screen on boot. The screen is blank from after the lilo prompt until xdm starts. In lilo.conf I have vga=0x317 -- which is what I had before. This is odd as I had this same problem (no screen at boot) when I upgraded from 2.4.x to 2.6.x and resolved by rebuilding the kernel -- but I seem to have not written how I resolved it in my system notes. It bothers me that a kernel upgrade from 2.6.5 to 2.6.9 with only a few config changes would result in this problem. Anyone have suggestion what changed? [EMAIL PROTECTED]:~$ egrep ^CONFIG /boot/config-2.6.5-xfs-toshiba 2.6.5 [EMAIL PROTECTED]:~$ egrep ^CONFIG /boot/config-2.6.9-xfs-toshiba 2.6.9 [EMAIL PROTECTED]:~$ diff 2.6.5 2.6.9 4a5 CONFIG_GENERIC_IOMAP=y 7d7 CONFIG_STANDALONE=y 8a9 CONFIG_LOCALVERSION= 20a22,23 CONFIG_IOSCHED_CFQ=y CONFIG_SHMEM=y 47c50 CONFIG_ACPI_BOOT=y --- CONFIG_ACPI_BLACKLIST_YEAR=0 55d57 CONFIG_PCI_MMCONFIG=y 59a62 CONFIG_HOTPLUG_PCI=m 60a64,65 CONFIG_PREVENT_FIRMWARE_BUILD=y CONFIG_FW_LOADER=m 79d83 CONFIG_BLK_DEV_ADMA=y 86d89 CONFIG_SCSI_REPORT_LUNS=y 118a122,123 CONFIG_IP_NF_TARGET_LOG=m CONFIG_IP_NF_TARGET_TCPMSS=m 133,134d137 CONFIG_IP_NF_TARGET_LOG=m CONFIG_IP_NF_TARGET_TCPMSS=m 145a149 CONFIG_PRISM54=m 176a181 CONFIG_FB_MODE_HELPERS=y 183d187 CONFIG_PCI_CONSOLE=y 219a224 CONFIG_UDF_NLS=y 222a228,229 CONFIG_FAT_DEFAULT_CODEPAGE=437 CONFIG_FAT_DEFAULT_IOCHARSET=iso8859-1 224a232 -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Lost console after kernel upgrade
I upgraded from 2.6.5 to 2.6.9 today -- I used the debian kernel-source-2.6.9 package and copied the 2.5.6 .config file into the 2.6.9 directory before building to retain my old config settings. I no longer have my vesa (framebuffer??) screen on boot. The screen is blank from after the lilo prompt until xdm starts. In lilo.conf I have vga=0x317 -- which is what I had before. This is odd as I had this same problem (no screen at boot) when I upgraded from 2.4.x to 2.6.x and resolved by rebuilding the kernel -- but I seem to have not written how I resolved it in my system notes. It bothers me that a kernel upgrade from 2.6.5 to 2.6.9 with only a few config changes would result in this problem. Anyone have suggestion what changed? [EMAIL PROTECTED]:~$ egrep ^CONFIG /boot/config-2.6.5-xfs-toshiba 2.6.5 [EMAIL PROTECTED]:~$ egrep ^CONFIG /boot/config-2.6.9-xfs-toshiba 2.6.9 [EMAIL PROTECTED]:~$ diff 2.6.5 2.6.9 4a5 CONFIG_GENERIC_IOMAP=y 7d7 CONFIG_STANDALONE=y 8a9 CONFIG_LOCALVERSION= 20a22,23 CONFIG_IOSCHED_CFQ=y CONFIG_SHMEM=y 47c50 CONFIG_ACPI_BOOT=y --- CONFIG_ACPI_BLACKLIST_YEAR=0 55d57 CONFIG_PCI_MMCONFIG=y 59a62 CONFIG_HOTPLUG_PCI=m 60a64,65 CONFIG_PREVENT_FIRMWARE_BUILD=y CONFIG_FW_LOADER=m 79d83 CONFIG_BLK_DEV_ADMA=y 86d89 CONFIG_SCSI_REPORT_LUNS=y 118a122,123 CONFIG_IP_NF_TARGET_LOG=m CONFIG_IP_NF_TARGET_TCPMSS=m 133,134d137 CONFIG_IP_NF_TARGET_LOG=m CONFIG_IP_NF_TARGET_TCPMSS=m 145a149 CONFIG_PRISM54=m 176a181 CONFIG_FB_MODE_HELPERS=y 183d187 CONFIG_PCI_CONSOLE=y 219a224 CONFIG_UDF_NLS=y 222a228,229 CONFIG_FAT_DEFAULT_CODEPAGE=437 CONFIG_FAT_DEFAULT_IOCHARSET=iso8859-1 224a232 -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Installed debconf version is broken. Aborting preconfigure.
I got this message when doing an upgrade on Woody. I do have few backports installed, so it's not a pure Woody machine. # cat /etc/apt/sources.list | grep '^deb ' deb http://http.us.debian.org/debian/ stable main non-free contrib deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free deb http://security.debian.org/ stable/updates main contrib non-free deb http://www.logic.univie.ac.at/~ametzler/debian/exim4manpages/ woody/ deb http://www.logic.univie.ac.at/~ametzler/debian/gnutls/ woody/ deb http://lackof.org/taggart/debian woody/chkrootkit main It seems I do have a newer version of debconf installed: # apt-cache policy debconf debconf: Installed: 1.2.35 Candidate: 1.2.35 Version Table: *** 1.2.35 0 100 /var/lib/dpkg/status 1.0.32 0 500 http://http.us.debian.org stable/main Packages I suspect not, but is there a way to find out where the installed debconf package came from? How do I know what problems my have resulted from this failure? What should I do to follow up and make sure everything is working? BTW -- I use backports (for exim and spamassassin mostly). What procedures do I need to follow when upgrading to Sarge? Will I just remove those lines from my sources.list? # apt-get dist-upgrade Reading Package Lists... Done Building Dependency Tree... Done Calculating Upgrade... Done 5 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 1593kB of archives. After unpacking 86.0kB will be used. Do you want to continue? [Y/n] y Get:1 http://security.debian.org stable/updates/main mysql-common 3.23.49-8.7 [17.0kB] Get:2 http://www.logic.univie.ac.at woody/ exim4-config 4.34-4amwoody2 [177kB] Get:3 http://security.debian.org stable/updates/main libmysqlclient10 3.23.49-8.7 [235kB] Get:4 http://www.logic.univie.ac.at woody/ exim4-base 4.34-4amwoody2 [783kB] Get:5 http://www.logic.univie.ac.at woody/ exim4-daemon-heavy 4.34-4amwoody2 [382kB] Fetched 1593kB in 19s (79.8kB/s) Preconfiguring packages ... Installed debconf version is broken. Aborting preconfigure. (Reading database ... 17229 files and directories currently installed.) -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: My Blues just go more blue
On Sat, Sep 18, 2004 at 11:21:40AM +1000, Cameron Hutchison wrote: Did you notice a few months ago when it used to be dark blue, it changed to light blue? I did. I'm glad it's changed back. I'm not sure where I would notice it other than in mutt and vim. But I'll keep looking. Now a question about resources: Ok, so to change it back for mutt I can use in .Xdefaults-hostname: mutt*color4: DodgerBlue1 But, I really only need to set it for vim -- but when mutt runs vim, vim still has the name used for resources: WM_CLASS(STRING) = mutt, XTerm So I can't fine tune it. Is there any way for vim to use different resource names when run from within mutt? I suspect not. I suppose I could use this in my .muttrc: set editor=xterm -name vim -e vim %s But I don't really want another window opening up when I'm editing. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Recursive copies of selected files
On Thu, Sep 16, 2004 at 06:09:22PM -0700, Stefan O'Rear wrote: I needed to copy a bunch of files from a directory tree -- but only selected files (say all regular files that end in .foo). I want the destination tree to be created. find(1) is what I find most useful for specifying what files to match the files I want to move -- but I can't seem to get a good xargs command to get the files in the destination (ie create the dir if doesn't exist and copy the file). It seems the standard way to do this is tar in a pipe. find . | tar -F. -c -f- | (cd ../new tar -xf -) I think you want -T not -F: find -name \*.foo | tar -T- -cf- | (cd newdir tar -xf-) -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
My Blues just go more blue
Ok, I just did a dist-upgrade on my Sid machine and blue text changed. I first noticed in mutt that my light blue lines got darker -- I see it in the background color in the header line, for example: ---Mutt: =lists.debian-user [Msgs:6754 New:6263 Flag:1 Post:47 Inc:1]---(threads/date)--(end)--- Use to be light blue and now it's dark blue. And when I reply to a message (I use vim as my editor) the quoted text whet from a readable light blue text on black background to an unreadable dark blue on black background. What would be the common change? I realize I don't understand how colors from, say, mutt or vim running in an xterm get translated into colors on my monitor. Does mutt say blue and then the xterm has to translate that somehow? -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: My Blues just go more blue
On Sat, Sep 18, 2004 at 11:21:40AM +1000, Cameron Hutchison wrote: Once upon a time Bill Moseley said... Ok, I just did a dist-upgrade on my Sid machine and blue text changed. I first noticed in mutt that my light blue lines got darker -- I see it in the background color in the header line, for example: ---Mutt: =lists.debian-user [Msgs:6754 New:6263 Flag:1 Post:47 Inc:1]---(threads/date)--(end)--- Use to be light blue and now it's dark blue. Did you notice a few months ago when it used to be dark blue, it changed to light blue? I did. I'm glad it's changed back. Not that I remember -- but maybe I just got used to it. This changelog entry from xterm explains: + Change resource settings for color4 and color12; add some discussion in XTerm-col.ad. (Closes: #255070) Interesting discussion. Not sure I follow all of it, though. Something else to learn about. As far as I can tell, I have not overridden colors in any of my configs so this dark blue text on black background is the system default. So, I expect that it's harder to read for others, too. BTW -- where's Xterm-col.ad? So, have a look in /etc/X11/app-defaults/XTerm-color, where the light blue colours are documented, and make the necessary changes. Now, if I had all my configs under cvs then I could cvs diff and see what it just changed from -- apt doesn't know my previous version, does it? -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Recursive copies of selected files
This is going to be a doh! question, I'm sure. I needed to copy a bunch of files from a directory tree -- but only selected files (say all regular files that end in .foo). I want the destination tree to be created. find(1) is what I find most useful for specifying what files to match the files I want to move -- but I can't seem to get a good xargs command to get the files in the destination (ie create the dir if doesn't exist and copy the file). rsync would also be good, but I can't get the --exclude and --include options to work, either. I used brute force and used find to generate the list of files, then tar with --files-from option and then untarred in the destination. Now I'm feeling dumb. There must be a one-liner to do this. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Key Mapping: .Xdefaults -- translataions
I've got this in my .Xdefaults: mutt.vt100.translations: #override \n\ NoneBtn4Down: string() \n\ NoneBtn5Down: string() \n which generates and from my mouse scroll wheel. Then in .muttrc I have: bind pager previous-line bind pager next-line The problem then is I use vim as my mutt editor and those translations still happen. If I hit the scroll wheel I end up with and all over the place (Yes, I'm also using set mouse=a in .vimrc). Is there a trick to unbind those mappings when vim starts and also restore them when vim exits back to mutt? -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
[OT] More than one helper application in mozilla
Anyone know if there's an easy way to add menu items to mozilla? I'd like to add a right-click items to select more than one application for given mime types. For example, be able to select xmms, xmms -e, alsaplayer or mplayer for audio/mpeg. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Stateful packet capture with tcpdump or snort
I'm working on a problem between two MTAs. I've got tcpdump logging all port 25 packets between the two machines, but the problem only happens once in a while and the vast bulk of the traffic is not of interest. Specifically, once in a while the MTAs get confused about the state of the SMTP connection -- one issues HELO and the other says No, you can't say DATA at this point. So, first what I'd like is to capture ALL packets in a given STMP session (well ones with a payload -- flags AP in snort) ONLY when the session is initiated by one of the MTAs. Second, what would be really great, is if then only those sessions are logged where the receiving MTA generates a 500 error in the payload. Basically, I want to see just the SMTP transaction from start to finish and see if there's anything odd (like why the receiving MTA things the sending MTA sent DATA). Any suggestions? -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Can't print a PDF file
I know little about PDF and/or Postscript. I'm looking for pointers for where to seek help (perhaps a list or someone that know pdf/postscript). I'm running an up to date Sid installation. I use CUPS for printing. Printing PDFs normally works fine. I received a PDF that I'm suppose to print out and fill in the form. One feature is that some of the fields are already filled in -- as if they did some type of merge to pre-fill in a few of the fields with my specific info. The basic problem is I can't print the PDF. - Xpdf displays the pdf correctly with my personal info displayed on the form. - gv displays the form without the personal info displayed. It generates the following error: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- --nostringval-- %array_continue --nostringval-- false 1 %stopped_push --nostringval-- %loop_continue --nostringval-- %finish_show --nostringval-- --nostringval-- 4 8 1 --nostringval-- (bbox_text_enum) %op_show_continue --nostringval-- --nostringval-- --nostringval-- Dictionary stack: --dict:1053/1417(ro)(G)-- --dict:0/20(G)-- --dict:73/200(L)-- --dict:97/127(ro)(G)-- --dict:229/230(ro)(G)-- --dict:19/24(L)-- --dict:4/6(L)-- --dict:24/31(L)-- --dict:12/16(ro)(L)-- Current allocation mode is local ESP Ghostscript 7.07.1: Unrecoverable error, exit code 1 - gs displays the form for an instant and then aborts with the same message. - Printing with CUPS makes my HP non-postscript printer's light flash a few times then nothing prints. - Using Xpdf to print to file generates a postscript file. I get the same behavior trying to display it in gv or gs. - acroread displays the form correctly but when sending to the printer it also make the light flash a few times then nothing happens. Acroread does warn that the PDF contains features not supported in that version of acroread (which is the most current version available for linux). I'd like to figure out why it's failing. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]