Re: MySQL goes away?
On Sun, 31 Aug 2008 04:37:04 + Tzafrir Cohen <[EMAIL PROTECTED]> wrote: > On Sat, Aug 30, 2008 at 09:53:42PM +0200, Rico Secada wrote: > > On Sat, 30 Aug 2008 09:14:37 -0400 > > Miles Fidelman <[EMAIL PROTECTED]> wrote: > > > > > Rico Secada wrote: > > > > I keep getting this from Amavis about MySQL: > > > > > > > > **Unmatched Entries** > > > > NOTICE: reconnecting in response to: err=2006, S1000, > > > > DBD::mysql::st execute failed: MySQL server has gone away at > > > > (eval 40) line 153, line 3.: 2 Time(s) > > > > NOTICE: reconnecting in response to: err=2006, S1000, > > > > DBD::mysql::st execute failed: MySQL server has gone away at > > > > (eval 40) line 153, line 3.: 2 Time(s) > > > > > > > > Does anyone know what exactly this means? > > > > > > > > > > > well, just a guess, but it looks like your mysql daemon has died > > > > > > take a look at your mysql log files, and then restart the daemon - > > > see what happens > > > > That's the problem mysql isn't dead. > > How can you tell that? Please post here the output of the relevant > shell commands you tested with. Tzafrir you can tell that in a number of ways, here are two: # ps aux | grep mysql root 2384 0.0 0.0 10108 1516 ?SAug21 0:00 /bin/sh /usr/bin/mysqld_safe mysql 2421 0.0 0.3 147496 24028 ?Sl Aug21 0:01 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock root 2422 0.0 0.0 2636 532 ?SAug21 0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld # /etc/init.d/mysql status /usr/bin/mysqladmin Ver 8.41 Distrib 5.0.32, for pc-linux-gnu on x86_64 Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL license Server version 5.0.32-Debian_7etch6-log Protocol version10 Connection Localhost via UNIX socket UNIX socket /var/run/mysqld/mysqld.sock Uptime: 9 days 21 hours 4 min 57 sec > -- > Tzafrir Cohen | [EMAIL PROTECTED] | VIM is > http://tzafrir.org.il || a Mutt's > [EMAIL PROTECTED] || best > ICQ# 16849754 || friend > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: MySQL goes away?
On Saturday 30 August 2008 12:26:06 Rico Secada wrote: > Hi, > > I keep getting this from Amavis about MySQL: > > **Unmatched Entries** > NOTICE: reconnecting in response to: err=2006, S1000, DBD::mysql::st > execute failed: MySQL server has gone away at (eval 40) line 153, > line 3.: 2 Time(s) > NOTICE: reconnecting in response to: err=2006, S1000, DBD::mysql::st > execute failed: MySQL server has gone away at (eval 40) line 153, > line 3.: 2 Time(s) > > Does anyone know what exactly this means? > > Best regards. Have a look at the following: http://dev.mysql.com/doc/refman/5.0/en/gone-away.html I have had this issue in the past, although I can't remember what /i did to fix it. You could check the following: - firewall rules - restart mysql and see if it still happens - check how many connections you have: - sudo netstat -tapn | grep mysql - mysqladmin processlist You might have too many clients connected but iirc that would be a different error... HTH -- Thank you, Clifford W. Hansen PHP Developer / Linux Administrator (Cell)+27 82 883 8677 (Fax) +27 86 503 0634 (E-Mail) [EMAIL PROTECTED] (MSN) [EMAIL PROTECTED] (GPG) 0x936D6C19 "We have seen strange things today!" () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments signature.asc Description: This is a digitally signed message part.
Re: aptitude --purge
> The following packages will be REMOVED: > telnet{a} <- also purge instead of removing. I.e., nothing like > APT::Get::Purge. The undocumented --purge doesn't work like apt-get's. > One must follow with a > # aptitude purge ~c > to clean up the mess. If I understand you correctly, you want all automatically removed packages to get purged instead. I have the following in my ~/.aptitude/config to do just that: Aptitude ""; Aptitude::Purge-Unused "true"; -- Justin Jereza LPIC-1 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: modprobe snd-cs46xx error ALSA 1.0.17 with kernel 2.6.26-1-686
Question teh other way: Has anybody the driver for the Cirrus Logic running under 2.6.26-1-686? If so, how? Tankyou Bernd Am Samstag, 30. August 2008 schrieb Bernd Kloss: > Lenny > alsa-driver-1.0.17 > Kernel 2.6.26-1-686 > Cirrus Logic cs46xx > > Hello > > for the previous kernel 2.6.25-2-686 I could compile the audiodrivers > without problems. After kernel-update 2.6.26-1-686 I repeated the same > procedure without errors except the last step > modprobe snd-cs46xx > > Following errors are given back: > > WARNING: Error inserting snd_ac97_codec > (/lib/modules/2.6.26-1-686/kernel/sound/pci/ac97/snd-ac97-codec.ko): > Unknown symbol in module, or unknown parameter (see dmesg) > WARNING: Error inserting snd_ac97_codec > (/lib/modules/2.6.26-1-686/kernel/sound/pci/ac97/snd-ac97-codec.ko): > Unknown symbol in module, or unknown parameter (see dmesg) > FATAL: Error inserting snd_cs46xx > (/lib/modules/2.6.26-1-686/kernel/sound/pci/cs46xx/snd-cs46xx.ko): Unknown > symbol in module, or unknown parameter (see dmesg) > FATAL: Error running install command for snd_cs46xx > > > DMESG reports: > > [ *725.576042] snd_ac97_codec: Unknown symbol snd_verbose_printk > [ *725.636698] snd_ac97_codec: Unknown symbol snd_verbose_printk > [ *725.641998] snd_cs46xx: Unknown symbol snd_ac97_write_cache > [ *725.642113] snd_cs46xx: Unknown symbol snd_ac97_resume > [ *725.642533] snd_cs46xx: Unknown symbol snd_ac97_update_bits > [ *725.642585] snd_cs46xx: Unknown symbol snd_ac97_mixer > [ *725.642656] snd_cs46xx: Unknown symbol snd_ac97_bus > [ *725.642762] snd_cs46xx: Unknown symbol snd_verbose_printk > [ *725.642989] snd_cs46xx: Unknown symbol snd_ac97_suspend > [ *725.643912] snd_cs46xx: Unknown symbol snd_ac97_write > [ *725.643964] snd_cs46xx: Unknown symbol snd_ac97_read > > > In lib/modules/2.6.26-1-686/modules.dep no snd_* is found. > > No success with depmod -a 'uname -r', no further messages. > > In /lib/modules/2.6.26-1-686 there is a file > !build > but I cannot read it. > > What can I do to make my soundcard work with ALSA? > > > Thank you for helping > > Bernd -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Grafiktreiber für D865GBF
Hallo zusammen, ich suche die Treiber für meine OnBoard Grafikkarte eines Intel Desktop Board D865GBF. Auf der Intelseite sind leider nur für RedHat zu finden und da die derzeitige Auflösung (640x480) ziemlich nervig ist und ich keine andere Grafikkarte einbauen kann, muss ich mit der OnBoard auskommen. Weißt jemand eine Lösung oder wo ich die richtigen Treiber bekomme? Danke im voraus! ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Sound volume user specific?
Michal R. Hoffmann wrote: Hi, Is it possible to control sound volume on each user account independently? So when user A logs in and changes the sound volume (with gnome alsa mixer) to max it won't affect user's B settings. It is desktop debian (sid) machine, ALSA, Gnome. It should be possible to write a script that saves the mixer settings at logout and restores them at login. It happens automatically at shutdown and startup, so look in /etc/init.d/alsa-utils for the relevant sections and modify them for your use. HTH, Raj Kiran -- If you can't explain it simply, you don't understand it well enough. -- Albert Einstein -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Can't Detach from a startup script
Martin wrote: On Sat, Aug 30, 2008 at 5:56 AM, Kent West <[EMAIL PROTECTED]> wrote: case "$1" in start) echo -n "Starting $DESC: " start-stop-daemon -c $USER --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $OPT \ > /dev/null hmm looks to my that either you missed the --background option for start-stop-daemon or you missed the option for $DAEMON to send it to background... I see from the start-stop-daemon man page that I might can throw in a "-b" to force a detachment, but is that the correct way to fix my problem? The man page suggests that this should be a last resort. So you're suggesting that I DO use the -b (or --background) option, that this is the correct fix for my problem? I did add that in, and now I can exit out of my ssh session after starting the daemon, but as I say, since the man page says that's a last resort, I wasn't sure I should do that. (And I haven't tried to see if a "restart" or "stop" works properly from my script with that added in.) Thanks! -- Kent West <")))>< Westing Peacefully - http://kentwest.blogspot.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Installing experimental xorg to get smooth image scaling in iceweasel
Hi! I'm a long time debian user who recently bought a laptop with a 15.4" wuxga screen (1920x1200 resolution). The high resolution makes it necessary to zoom many webpages, and consequently I suffer a lot from the poor image scaling in iceweasel. But I read in this blogpost http://blog.vlad1.com/2008/03/18/a-little-more-cairo-just-for-you/ that smooth image scaling is coming to gnu/linux, and that it might be in the next xorg release (according to the blog post, it's already enabled in firefox, but depends on xorg to do the scaling). This is why I want to install xorg from experimental. And now begins my trouble. I'm using the amd64 port of lenny, and no matter how I try, there is a conflict with xserver-xorg-video-2 and xserver-xorg-core. Apparently, xserver-xorg-video-2 is needed by nvidia-glx, although I can't find it listed among the dependencies. I have the same trouble with xserver-xorg-input-2, which is needed by some other crucial package. If I do --force-conflicts to get nvidia-glx, I can start X, but I can't type nor move the mouse cursor, despite xserver-xorg-input-kbd and xserver-xorg-input-mouse being installed. Has anyone managed to install xorg 7.4 from experimental on amd64, and if so -- how did you do it? Please help! /hcm -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
saslauthd problem
As the attached script shows saslauthd tries to write to a file that it has never opened. Tom Script started on Sun 31 Aug 2008 10:25:45 AM EDT [EMAIL PROTECTED]:~$ strace -e trace=open,close,read,write -f testsaslauthd -u tom -p 7 73915 open("/etc/ld.so.cache", O_RDONLY) = 3 close(3)= 0 open("/lib/libresolv.so.2", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\3\0\0\0\0\0\0@"..., 832) = 832 close(3)= 0 open("/lib/libc.so.6", O_RDONLY)= 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\342\1\0\0\0\0\0@"..., 832) = 832 close(3)= 0 write(4, "connect() : No such file or direc"..., 38connect() : No such file or directory ) = 38 close(4)= 0 write(1, "0: "..., 30: ) = 3 [EMAIL PROTECTED]:~$ exit Script done on Sun 31 Aug 2008 10:25:59 AM EDT
udev and partitioning
Hi all, I just setup a machine with an ide disk for / and two sata disks I intend to mirror for storage. There were two partitions on the sata disks I wiped out to turn into one big linux raid autodetect partition. With /dev/sda, the processes worked just fine. I cfdisk'ed the drive and it's device node showed /dev/sda and /dev/sda1. The second disk I partitioned and udev never updated and continued to show /dev/sdb, /dev/sdb1, and /dev/sdb2. I tried echo'ing "- - -" into the proc scsci scan file to try to get the change to kick. dmesg showed that the kernel saw sdb correctly, but udev never updated. I even ran udevmonitor and did the echo rescan thing, but udev never even got the hotplug notification. I've since rebooted the box and all was well, so I built my mirror. But I'm a bit nervous that I had to reboot. If I loose a drive, will I have to reboot to get hotplug to work then too? Should I have had to rebooted to get the partition table rescanned? Is there a way to force udev to start over and rescan everything? Is there a reason why the kernel saw /dev/sdb1, but udev did not manage the nodes properly? Thanks, Christian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Accessing mesa's OpenGL 2.1 features
I'm on a fairly fresh and up-to-date Debian/Lenny install on a Thinkpad X40. If I run some OpenGL code in an "OSMesa" context, glGetString(GL_VERSION) returns "2.1 Mesa 7.0.4", and glGetString(GL_EXTENSIONS) shows various "shader" extensions, and "offscreen mesa" will run my GLSL code and render it correctly into a memory buffer. Fantastic! If I try and run the same code in a GLUT-created context, GL_VERSION gives "1.3 Mesa 7.0.4" and I don't see any shader extensions and calling e.g glCreateShader fails, having triggered a "Mesa 7.0.4 implementation error: User called no-op dispatch function (an unsupported extension function?)" message. I get the same sort of problem running the code in a Qt QGLWidget. How can I get mesa to provide it's nifty OpenGL 2.0+ features for stuff rendering to the screen ? Or is there some missing bit of GLX-mesa plumbing which means it's not possible (yet) ? Thanks for any help Tim For what it's worth, "apt-show-versions -r -p mesa" gives: libgl1-mesa-dev/lenny uptodate 7.0.3-5 libgl1-mesa-dri/lenny uptodate 7.0.3-5 libgl1-mesa-glx/lenny uptodate 7.0.3-5 libglu1-mesa/lenny uptodate 7.0.3-5 libglu1-mesa-dev/lenny uptodate 7.0.3-5 libosmesa6/lenny uptodate 7.0.3-5 libosmesa6-dev/lenny uptodate 7.0.3-5 mesa-common-dev/lenny uptodate 7.0.3-5 mesa-utils/lenny uptodate 7.0.3-5 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: MySQL goes away?
Rico Secada wrote: Hi, I keep getting this from Amavis about MySQL: **Unmatched Entries** NOTICE: reconnecting in response to: err=2006, S1000, DBD::mysql::st execute failed: MySQL server has gone away at (eval 40) line 153, line 3.: 2 Time(s) NOTICE: reconnecting in response to: err=2006, S1000, DBD::mysql::st execute failed: MySQL server has gone away at (eval 40) line 153, line 3.: 2 Time(s) Does anyone know what exactly this means? Your program leaves the connection open, and the connection times out. It's a bit like this: mysql> show variables like 'wait%'; +---+---+ | Variable_name | Value | +---+---+ | wait_timeout | 28800 | +---+---+ 1 row in set (0.00 sec) mysql> set wait_timeout = 60; Query OK, 0 rows affected (0.00 sec) mysql> show variables like 'wait%'; +---+---+ | Variable_name | Value | +---+---+ | wait_timeout | 60| +---+---+ 1 row in set (0.00 sec) and then, after more than a minute: mysql> show variables like 'wait%'; ERROR 2006 (HY000): MySQL server has gone away No connection. Trying to reconnect... Connection id:35716 Current database: *** NONE *** +---+---+ | Variable_name | Value | +---+---+ | wait_timeout | 28800 | +---+---+ 1 row in set (0.00 sec) Close your connections or set your wait_timeout higher. --kj -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Sound volume user specific?
On 08/30/2008 02:25 PM, Michal R. Hoffmann wrote: Hi, Is it possible to control sound volume on each user account independently? So when user A logs in and changes the sound volume (with gnome alsa mixer) to max it won't affect user's B settings. It is desktop debian (sid) machine, ALSA, Gnome. Alsactl supports a "-f" option that will let you say what file you want to store (or retrieve) the volume settings. That file can be in the user's home directory. Read "man alsactl" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: aptitude --purge
On Wed,27.Aug.08, 09:41:15, Eugene V. Lyubimkin wrote: > [EMAIL PROTECTED] wrote: > > I find no way in aptitude to > > # aptitude install telnet-ssl > > Reading package lists... Done <- Get rid of these messages, and > > The following NEW packages will be installed: > > telnet-ssl > > The following packages will be REMOVED: > > telnet{a} <- also purge instead of removing. I.e., nothing like > > APT::Get::Purge. The undocumented --purge doesn't work like apt-get's. > > One must follow with a > > # aptitude purge ~c > > to clean up the mess. > > > > > You are not right. Purge is {p}, not {a}. Also, you probably need Aptitude::Purge-Unused true; Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) signature.asc Description: Digital signature
Re: console font corruption after exiting xorg
On Thu,28.Aug.08, 10:35:27, Scott Edwards wrote: > I'm having similar problems on two different machines. For now I'll > focus on the laptop running stable on a g4 ppc CPU. > > After I switch to a console screen, or exit from xorg, the console > font is corrupted. I can see what I type, but you cannot make out > what the characters are on the screen. > > Does anyone have suggestions on how troubleshoot this? I didn't find > any related bugs on bts. Try running 'reset'. Do you get a usable console after this? Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) signature.asc Description: Digital signature
Re: network restart
On Wed,27.Aug.08, 21:34:38, Robert Jerrard wrote: > I just got a new Siemens modem for the Telus high speed enhanced > service. If I turn off the modem then turn it back on my Debian amd64 > system has an IP address of 169 when it should be a 192 address > from the DHCP set-up. No problem, just restart the network, right? > However, when I do a > > /etc/init.d/networking restart > > it claims to have reconfigured the network but the IP address is not > changed. I still have the 169... address. A reboot resets the IP > properly but I should not have to reboot. Any idea why the soft > networking restart does not re-do the IP properly? Check if you have zeroconf or network-manager installed and purge them. Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) signature.asc Description: Digital signature
Re: rkhunter on Etch
On Thu,28.Aug.08, 22:27:04, Sam Kuper wrote: [...] > Okay, so if I understand you correctly, a backport is a kind of refactoring: > the overt functionality doesn't change, but the underlying functionality > does (the refactored code is more secure, or less memory intensive, or > what-have-you depending on the nature of the fix). I hadn't previously quite > been sure that backports really are intended to *not change the overt > functionality*. Say package foo has a security issue and upstream is at 1.4 and Debian still has 1.3. Upstream will most likely release 1.4.1 to fix the issue (which could be just a few lines of code) and maybe some others small bugfixes that were pending. Debian instead will look for the exact change for the security fix and apply it to the 1.3 version. In most cases it will not even need adaptation for 1.3 so they can just apply the specific patch. However, they will ignore whatever *other* changes have happened between 1.3 and 1.4 and also between 1.4 and 1.4.1. Unstable will of course get 1.4.1 ASAP. > > It looks like your environment requires you to use new features in the > > latest version of this package so you should just use that package from > > lenny - mixing one or 2 packages from lenny isn't going to cause any harm. > > > This is an interesting suggestion, given that near the start of this thread, > one of Debian's rkhunter package maintainers recommended against this > approach, and advised using his unofficial rkhunter backport instead. > > So now I'm confused: which is the better approach for me to take? Also, why > would a maintainer be maintaining unofficial backports instead of (or as > well as) official ones? volatile is suited for packages that change *often* and will become unusable unless you upgrade. A good example is an antivirus software and its definition files. Even if you upgrade the definitions you also have to upgrade the software itself in order for it to detect new viruses. I'm not sure rkhunter qualifies for volatile, but you should be able to find the requirements somewhere on the 'net. Making backports.org an official Debian service would solve issues like this, but I guess manpower is lacking... Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) signature.asc Description: Digital signature
Re: Installing experimental xorg to get smooth image scaling in iceweasel
Hans Christian wrote: Hi! I'm a long time debian user who recently bought a laptop with a 15.4" wuxga screen (1920x1200 resolution). The high resolution makes it necessary to zoom many webpages, and consequently I suffer a lot from the poor image scaling in iceweasel. But I read in this blogpost http://blog.vlad1.com/2008/03/18/a-little-more-cairo-just-for-you/ that smooth image scaling is coming to gnu/linux, and that it might be in the next xorg release (according to the blog post, it's already enabled in firefox, but depends on xorg to do the scaling). This is why I want to install xorg from experimental. But do you in fact know that smooth scaling is in 7.4? Hugo And now begins my trouble. I'm using the amd64 port of lenny, and no matter how I try, there is a conflict with xserver-xorg-video-2 and xserver-xorg-core. Apparently, xserver-xorg-video-2 is needed by nvidia-glx, although I can't find it listed among the dependencies. I have the same trouble with xserver-xorg-input-2, which is needed by some other crucial package. If I do --force-conflicts to get nvidia-glx, I can start X, but I can't type nor move the mouse cursor, despite xserver-xorg-input-kbd and xserver-xorg-input-mouse being installed. Has anyone managed to install xorg 7.4 from experimental on amd64, and if so -- how did you do it? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: modprobe snd-cs46xx error ALSA 1.0.17 with kernel 2.6.26-1-686
On Sat, Aug 30, 2008 at 08:03:59 +0200, Bernd Kloss wrote: > > Lenny > alsa-driver-1.0.17 > Kernel 2.6.26-1-686 > Cirrus Logic cs46xx > > Hello > > for the previous kernel 2.6.25-2-686 I could compile the audiodrivers > without > problems. After kernel-update 2.6.26-1-686 I repeated the same procedure You are not really giving us a lot of information to work with here. > without errors except the last step > modprobe snd-cs46xx > > Following errors are given back: > > WARNING: Error inserting snd_ac97_codec > (/lib/modules/2.6.26-1-686/kernel/sound/pci/ac97/snd-ac97-codec.ko): Unknown > symbol in module, or unknown parameter (see dmesg) [...] > DMESG reports: > > [ *725.576042] snd_ac97_codec: Unknown symbol snd_verbose_printk [...] It looks like you recompiled snd_ac97_codec with SND_VERBOSE_PRINTK enabled while using the original 2.6.26-1-686 soundcore module, which has this feature disabled (and hence does not define the function and export the corresponding symbol). Try to add "--disable-verbose-printk" to whatever options you use in the ./configure step of your alsa 1.0.17 driver build process. -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Sharing a printer to Windows XP clients with Samba and Cups
Hi, I tray to setup my home network to share a printer to Windows XP client with Samba and Cups. I have a firewall/router (Pentium II) that have three network interfaces: the 1. one is for the Internet provider - eth2 the 2. one is for the DMZ zone - eth1 - IP 192.168.2.1 the 3. one is for the LAN - eth0 - IP 192.168.1.1 The USB printer is connected to the Debian Etch server that is on DMZ zone. The Windows XP is on LAN. This is a Pentium 4 dual boot system with Win XP and Debian Etch op. systems. >From Debian Etch system I can to print, but from Win XP I can't. I setup firewall/router with help of Shorewall, and have rules: SMB/ACCEPT dmz:192.168.2.100 loc:192.168.1.100 SMB/ACCEPT loc:192.168.1.100 dmz:192.168.2.100 I followed the steps in this tutorial: http://www.debian-administration.org/articles/425 but can't to setup things right. What am I missing here? Any advices will be appreciated! -- Regards, Paul Csanyi http://www.freewebs.com/csanyi-pal/index.htm -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Accessing mesa's OpenGL 2.1 features
On Sun, 2008-08-31 at 15:34 +0100, Tim Day wrote: > How can I get mesa to provide it's nifty OpenGL 2.0+ features for stuff > rendering to the screen ? Aha: cracked it... The system had set itself up to use the DRI i915 drivers for the onscreen OpenGL, but doing aptitude install libgl1-mesa-swx11 libgl1-mesa-swx11-dev libgl1-mesa-dri- (and restarting) swaps to use software mesa rendering for X11 OpenGL apps and they can get at all the yummy 2.0 goodness (GLSL etc). It's not exactly fast, but it is convenient to be able to do OpenGL 2.0 development on an old lappy. I hadn't actually appreciated mesa included any HW support at all until now. Tim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
website saver for linux?
I'm looking for a tool which spiders a site, and downloads every page in the domain that it finds linked from a particular url and linked urls in the domain, creating a local site that can be manipulated offline as static html. Is there such a tool for linux (better still debian)? thanks, Philip -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: website saver for linux?
Philip wrote: I'm looking for a tool which spiders a site, and downloads every page in the domain that it finds linked from a particular url and linked urls in the domain, creating a local site that can be manipulated offline as static html. Is there such a tool for linux (better still debian)? thanks, Philip look for the httrack package. WT -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: website saver for linux?
On Sun, Aug 31, 2008 at 12:02 PM, Philip <[EMAIL PROTECTED]> wrote: > I'm looking for a tool which spiders a site, and downloads every page in > the domain that it finds linked from a particular url and linked urls > in the domain, creating a local site that can be manipulated offline as > static html. > > Is there such a tool for linux (better still debian)? It sounds like you want $ wget --mirror -k -- Michael A. Marsh http://www.umiacs.umd.edu/~mmarsh http://mamarsh.blogspot.com http://36pints.blogspot.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: website saver for linux?
On Sun, Aug 31, 2008 at 05:02:01PM +0100, Philip wrote: > I'm looking for a tool which spiders a site, and downloads every page in > the domain that it finds linked from a particular url and linked urls > in the domain, creating a local site that can be manipulated offline as > static html. > > Is there such a tool for linux (better still debian)? > wget should do the trick Philippe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: mail missing between exim and mutt
On Fri,29.Aug.08, 15:44:14, Mark Copper wrote: > Hi, > > I would like to request help understanding how some email went missing. > > exim's log shows the missing pieces going into maildir: >2008-08-26 18:23:08 1KY7sS-0003mR-Be => me R=local_us er > T=maildir_home > > fetchmail should have retrieved the mail: >poll myserver proto imap >user "me", with password "secret", is "me" here, ssl > > The mail log shows emails being retrieved and flushed one by one: >Aug 28 00:17:38 algol fetchmail[2677]: reading message [EMAIL PROTECTED]:1 >205 of 1231 (804 header octets) (853 body octets) flushed > > Only I ended up missing a number of emails. > > Where could the weak link be? Maybe fetchmail? Try getmail (the config is very easy to write), it would rather get the same mail twice than loose it. Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) signature.asc Description: Digital signature
Re: Sound volume user specific?
On Sat, Aug 30, 2008 at 08:25:05PM +0100, Michal R. Hoffmann wrote: > Hi, > > Is it possible to control sound volume on each user account > independently? So when user A logs in and changes the sound volume (with > gnome alsa mixer) to max it won't affect user's B settings. > It is desktop debian (sid) machine, ALSA, Gnome. For two users running concurrently? When switching users with "switch user" in GDM? Or two sessions that never intersect? -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il || a Mutt's [EMAIL PROTECTED] || best ICQ# 16849754 || friend -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: LiloCan't Boot vmlinuz-2.6.26-1-amd64
On Fri,29.Aug.08, 21:24:21, Thomas H. George wrote: > Indeed the problem appears to be with kernels as kernel panic occurs > after a message that no ramdisk is found at 0. During the dist-upgrade > mkinitrd is automatically run for each of the three kernel images > mentioned above. When the system is booted with any of the three kernel > images the initial installation of the kernel completes with no > difficulty. It is after this that the newer kernels cannot find the ram > disk. The vmlinuz-2.6.24-1-amd64 kernel does not have this problem and > completes the boot up successfully. There is a bug in lilo that prevents it to load too big initrds. Please show the output of 'ls -la /boot' to check for this. If this is the case you can only try to make a smaller initrd. Setting "MODULES=dep" in /etc/initramfs-tools/initramfs.conf might help. Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) signature.asc Description: Digital signature
Re: MySQL goes away?
On Sun, 31 Aug 2008 16:05:39 +0100 kj <[EMAIL PROTECTED]> wrote: > Rico Secada wrote: > > Hi, > > > > I keep getting this from Amavis about MySQL: > > > > **Unmatched Entries** > > NOTICE: reconnecting in response to: err=2006, S1000, DBD::mysql::st > > execute failed: MySQL server has gone away at (eval 40) line 153, > > line 3.: 2 Time(s) > > NOTICE: reconnecting in response to: err=2006, S1000, DBD::mysql::st > > execute failed: MySQL server has gone away at (eval 40) line 153, > > line 3.: 2 Time(s) > > > > Does anyone know what exactly this means? > > Your program leaves the connection open, and the connection times > out. It's a bit like this: > > mysql> show variables like 'wait%'; > +---+---+ > | Variable_name | Value | > +---+---+ > | wait_timeout | 28800 | > +---+---+ > 1 row in set (0.00 sec) > > mysql> set wait_timeout = 60; > Query OK, 0 rows affected (0.00 sec) > > mysql> show variables like 'wait%'; > +---+---+ > | Variable_name | Value | > +---+---+ > | wait_timeout | 60| > +---+---+ > 1 row in set (0.00 sec) > > and then, after more than a minute: > > mysql> show variables like 'wait%'; > ERROR 2006 (HY000): MySQL server has gone away > No connection. Trying to reconnect... > Connection id:35716 > Current database: *** NONE *** > > +---+---+ > | Variable_name | Value | > +---+---+ > | wait_timeout | 28800 | > +---+---+ > 1 row in set (0.00 sec) > > > Close your connections or set your wait_timeout higher. Thanks kj, makes sense! > --kj > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Sound volume user specific?
On Sun,31.Aug.08, 17:37:22, Raj Kiran Grandhi wrote: > Michal R. Hoffmann wrote: >> Hi, >> >> Is it possible to control sound volume on each user account independently? >> So when user A logs in and changes the sound volume (with gnome alsa >> mixer) to max it won't affect user's B settings. >> It is desktop debian (sid) machine, ALSA, Gnome. >> > > It should be possible to write a script that saves the mixer settings at > logout and restores them at login. It happens automatically at shutdown and > startup, so look in /etc/init.d/alsa-utils for the relevant sections and > modify them for your use. AFAIK that script uses "alsactl {store|restore}" which works only for root. Use amixer instead. Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) signature.asc Description: Digital signature
Re: creating IMAP Trash folder
On 08/30/08 22:53, Mark Copper wrote: Ah, there it is. From Philip Hazel on exim-users: The Trash folder on the file system begins with a period. ie, "Maildir/.Trash" Ah, well, yes. Creating folders in a canonical method (from within your MUA, or using maildirmake(1), the leading dot would be created for you. -- Ron Johnson, Jr. Jefferson LA USA "Do not bite at the bait of pleasure till you know there is no hook beneath it." -- Thomas Jefferson -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: website saver for linux?
On 08/31/08 11:02, Philip wrote: I'm looking for a tool which spiders a site, and downloads every page in the domain that it finds linked from a particular url and linked urls in the domain, creating a local site that can be manipulated offline as static html. Is there such a tool for linux (better still debian)? $ wget -m -k -L -np http://www.example.com I run this every week on a certain site that I want to archive the contents of. The first time you run it, the whole site gets mirrored. Each subsequent run, only new and modified pages are fetched. -- Ron Johnson, Jr. Jefferson LA USA "Do not bite at the bait of pleasure till you know there is no hook beneath it." -- Thomas Jefferson -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Sound volume user specific?
On 31/08/08 17:39, Tzafrir Cohen wrote: On Sat, Aug 30, 2008 at 08:25:05PM +0100, Michal R. Hoffmann wrote: Hi, Is it possible to control sound volume on each user account independently? So when user A logs in and changes the sound volume (with gnome alsa mixer) to max it won't affect user's B settings. It is desktop debian (sid) machine, ALSA, Gnome. For two users running concurrently? When switching users with "switch user" in GDM? Or two sessions that never intersect? Preferably (if it's possible) when switching users with GDM; if not, login/logout should be sufficient. The desktop is used locally by myself and my family. Thanks to few other responses I know I can use alsactl; I tried as a mere user (not a root) and it allows me to store / restore the settings; ie /usr/sbin/alsactl -f /home/userA/.alsa-config store /usr/sbin/alsactl -f /home/userA/.alsa-config restore Now, what are the ideal places to put these commands in? So it would store on switch user/logout and restore on login? I'm afraid that if I just modify the gdm configuration files (like gdm.conf) they will be overridden soon with some gdm update (quite possible in sid). On the other hand I'd prefer to get it working globally (not to add a script on each user's account). -- Kind regards, Michal R. Hoffmann -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: aptitude --purge
On Sun, Aug 31, 2008 at 05:17:26PM +0800, Justin Jereza <[EMAIL PROTECTED]> was heard to say: > > The following packages will be REMOVED: > > telnet{a} <- also purge instead of removing. I.e., nothing like > > APT::Get::Purge. The undocumented --purge doesn't work like apt-get's. > > One must follow with a > > # aptitude purge ~c > > to clean up the mess. > > If I understand you correctly, you want all automatically removed > packages to get purged instead. I have the following in my > ~/.aptitude/config to do just that: > > Aptitude ""; > Aptitude::Purge-Unused "true"; Won't work: telnet-ssl is being purged by the greedy dependency resolver (telnet conflicts with it), not because it's unused. Daniel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Is this bug in aptitude?
Daniel Burrows wrote: On Wed, Aug 27, 2008 at 11:02:08AM +0300, "Eugene V. Lyubimkin" <[EMAIL PROTECTED]> was heard to say: Rob Gom wrote: Hello, is this bug in aptitude when I try: $ aptitude install a [...] b will be removed $ aptitude install a b [...] b will be removed [OK] $ aptitude install b [b is installed fine, the same with a] So why does aptitude want to remove package b in the first place? [snip] Aptitude tries to remove automatically installed packages. If you manually install them, aptitude won't try to do this. It's not a bug. It is interesting that "install a b" doesn't flag "b" as manual. The command-line parsing logic is hairy and tries to "do the right thing" in various cases, but this one seems to be falling through the cracks (due to when aptitude calculates unused removals). Problem is, I'd have to be careful adding code to handle this situation: the command-line is one of the few parts of aptitude that's not very well specified, and so I'm not sure exactly what would happen if I tried various hacks to do what you (quite reasonably) expect here. I don't see any obvious problems, but it's entirely possible that some other use case would be affected. Daniel Daniel I don't know whether you saw my earlier message http://lists.debian.org/debian-user/2008/08/msg02156.html but the OP has testing and unstable in his sources list and is doing #aptitude install -t unstable a so wouldn't this remove any testing packages that conflict with a or any of its dependencies? #aptitude install -t unstable b will then install the new package from unstable as its supposed to. This is how I read the OP and wouldn't want you to spend time hacking for a problem that doesn't IMHO exist. Mixing dists will cause these anomalies and they should be expected, no? HTH Wackojacko -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Installing experimental xorg to get smooth image scaling in iceweasel
On Sun, 31 Aug 2008 10:24:16 -0500 Hugo Vanwoerkom <[EMAIL PROTECTED]> wrote: > But do you in fact know that smooth scaling is in 7.4? > > Hugo No, I don't. I just wanna see if it works, because the current scaling is in my face all day and it would be a great relief to have it improve. I have tested smooth scaling running the windows version of firefox under wine, and in my opinion, it would really be worth the trouble. /hcm -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Is this bug in aptitude?
On Sun, Aug 31, 2008 at 07:10:38PM +0100, Wackojacko <[EMAIL PROTECTED]> was heard to say: > Daniel Burrows wrote: So why does aptitude want to remove package b in the first place? >> >> [snip] >> >>> Aptitude tries to remove automatically installed packages. If you >>> manually install them, aptitude won't try to do this. It's not a bug. >> >> It is interesting that "install a b" doesn't flag "b" as manual. > > I don't know whether you saw my earlier message > http://lists.debian.org/debian-user/2008/08/msg02156.html but the OP has > testing and unstable in his sources list and is doing > > #aptitude install -t unstable a > > so wouldn't this remove any testing packages that conflict with a or any > of its dependencies? Yes, but that's not why they were being removed; his example quite clearly showed that they were removed because they were unused (the "u" flag after each one says that). He also said that the packages being removed could be installed afterwards, which wouldn't be the case if they were not installable. Daniel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
making a subscript in text in SVG
Folk, This puts subscript 1 on text f in SVG but is a little cumbersome. f 1 This would be more tidy but fails. f1 Does anyone have an improvement on the first instance? Thanks,... Peter E. -- http://members.shaw.ca/peasthope/ http://carnot.yi.org/ = http://carnot.pathology.ubc.ca/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: LiloCan't Boot vmlinuz-2.6.26-1-amd64
Andrei Popescu wrote: On Fri,29.Aug.08, 21:24:21, Thomas H. George wrote: Indeed the problem appears to be with kernels as kernel panic occurs after a message that no ramdisk is found at 0. During the dist-upgrade mkinitrd is automatically run for each of the three kernel images mentioned above. When the system is booted with any of the three kernel images the initial installation of the kernel completes with no difficulty. It is after this that the newer kernels cannot find the ram disk. The vmlinuz-2.6.24-1-amd64 kernel does not have this problem and completes the boot up successfully. There is a bug in lilo that prevents it to load too big initrds. Please show the output of 'ls -la /boot' to check for this. If this is the case you can only try to make a smaller initrd. Setting "MODULES=dep" in /etc/initramfs-tools/initramfs.conf might help. Regards, Andrei The attached listing of initrd.img file sizes shows only a slight increase from kernel to kernel. Tom Script started on Sun 31 Aug 2008 11:20:06 AM EDT Phoenix:/var/state# ls -l /boot/initrd.* -rw--- 1 root root 7657200 2008-08-29 09:36 [00m/boot/initrd.img-2.6.24-1-amd64 -rw--- 1 root root 7804926 2008-08-29 09:36 [00m/boot/initrd.img-2.6.25-2-amd64 -rw--- 1 root root 7872304 2008-08-29 09:37 [00m/boot/initrd.img-2.6.26-1-amd64 Script done on Sun 31 Aug 2008 11:20:47 AM EDT
Seen this logo?
Lo, I know its slightly off topic, so lets not have a long thread. Just been watching "The IT Crowd" and in the office I saw this poster that just says "Open Source" with some very pastel OS2/Nextstep like colours... http://www.cyorxamp.info/dump/opensource.png Does anyone know where its from? Please don't respond if don't know :D -- Sincerely... Steven Maddox (Cyorxamp) Cyorxamp's Personal Website http://www.cyorxamp.info -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Installing experimental xorg to get smooth image scaling in iceweasel
On Sun, 31 Aug 2008 20:18:31 +0200 Hans Christian <[EMAIL PROTECTED]> wrote: > On Sun, 31 Aug 2008 10:24:16 -0500 > Hugo Vanwoerkom <[EMAIL PROTECTED]> wrote: > > > But do you in fact know that smooth scaling is in 7.4? > > > > Hugo > > No, I don't. I just wanna see if it works, because the current scaling is in > my > face all day and it would be a great relief to have it improve. I have tested > smooth scaling running the windows version of firefox under wine, and in my > opinion, it would really be worth the trouble. > > /hcm I was just able to check Hugos question by forcing nvidia-glx to install and creating a .xinitrc file that started iceweasel right after gnome (I still couldn't use mouse or keyboard in X). This way I was able to see that iceweasel does *not* scale smoothly using xorg 7.4 from experimental. At least it doesn't do it automagically with my current xorg.conf. If anyone has further info on iceweasel smooth image scaling I'd be very grateful to hear it! /hcm -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Debian Live Lenny Beta1
Hello List, Daniel Baumann wrote: Daniel Baumann wrote: Nevertheless, we do need your help to find more bugs and improve the live systems, so please try them out. particulary interesting would be to get reports from people with Intel-based Apple hardware (both notebooks and desktops). I have just tried the Standard one o my (old) Black MacBook: because of the keyboard freezing issue, I could not start it :-) Cheers, Jerome Regards, Daniel -- Jerome BENOIT jgmbenoit_at_mailsnare_dot_net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: LiloCan't Boot vmlinuz-2.6.26-1-amd64
On Sun,31.Aug.08, 15:12:14, Thomas H. George wrote: [...] > The attached listing of initrd.img file sizes shows only a slight increase > from kernel to kernel. > > Tom > Script started on Sun 31 Aug 2008 11:20:06 AM EDT > Phoenix:/var/state# ls -l /boot/initrd.* > -rw--- 1 root root 7657200 2008-08-29 09:36 > [00m/boot/initrd.img-2.6.24-1-amd64 > -rw--- 1 root root 7804926 2008-08-29 09:36 > [00m/boot/initrd.img-2.6.25-2-amd64 > -rw--- 1 root root 7872304 2008-08-29 09:37 > [00m/boot/initrd.img-2.6.26-1-amd64 > > Script done on Sun 31 Aug 2008 11:20:47 AM EDT Yes, but the bug has been triggered by even smaller images. Did you try my suggestion with "MODULES=dep"? Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) signature.asc Description: Digital signature
Debian 4.0 on VMware Player 2.0.5 on WinXP Pro SP3 keybounce, network, clock issues
debian-user: VMware doesn't seem to offer publicly visible support, so I'm posting here. I am running VMware Player 2.0.5: http://www.vmware.com/products/player/ on Windows XP Pro SP3 with a Debian 4.0 client: http://www.vmware.com/appliances/directory/808 I ran into keybounce, network, and clock issues: 1. When I would touch type into the virtual machine console (~50 wpm), keystrokes would get repeated -- sometimes dozens of times. When I slow down and type exactly one key at a time (hunt and peck), the keybounce problem goes away. I have found no explanation or solution to this issue, other than setting up sshd in the virtual machine and avoiding the virtual console entirely. 2. The eth0 network interface would not come up reliably at boot -- ~50% of the time it would work. I use bridged mode and DHCP on my LAN. My work-around was call ifdown/ ifup in /etc/rc.local: ifdown eth0 ifup eth0 YMMV. 3. The clock ran fast -- Debian would sometimes gain an hour or more per hour of real time. I am currently trying the work-around recommended here: http://kamilkisiel.blogspot.com/2008/01/vmware-linux-guest-clock.html by telling VMware to sync the clock by adding a line to the *.vmx file (debian-40r0-i386-netinst.vmx): tools.syncTime = true I also installed ntpdate in Debian and added a line to rc.local to set the clock on boot (it's usually off 5-15 minutes): ntpdate 0.debian.pool.ntp.org I've beat my head against these issues and various other solutions in the past: 4. One work-around for FreeBSD clients was to change a kernel setting for the interrupt timer from 1,000 interrupts/second to 100 interrupts/second. I believe it helped, but don't know if/how to do that on Debian. 5. Running ntp inside Debian kinda sorta helped #3, but the above URL cautions against that. The exact same issues were present with VMware Player 2.0.4. I ran VMware Server 1.0.4 in the past, and seem to recall similar issues. Is anyone else running a Debian virtual machines under VMware products? Have you run into similar issues? How did you address them? Have you found VMware products that don't have these issues? Are there other virtualization technologies or products that work better? David -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
pdf conversion?
This may sound strange but I am looking for a Linux utility that will let me: 1) convert from pdf to html and save any images, diagrams etc. 2) convert from pdf to ASCII text Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: pdf conversion?
On Sun, Aug 31, 2008 at 11:02 PM, Zach Uram <[EMAIL PROTECTED]> wrote: > This may sound strange but I am looking for a Linux utility that will let > me: > > 1) convert from pdf to html and save any images, diagrams etc. > 2) convert from pdf to ASCII text pdftotext && pdftohtml (i didn't test it) could help you >From poppler-utils package > > Zach > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > >
Oddity In stty
I can't figure this out. Why does the first pipeline suceed but the second fails? I'm running an up-to-date Sid. [EMAIL PROTECTED]:~$ fold -w `stty -a | head -1 | awk '{print $7}' | tr -d ';'` < /dev/null [EMAIL PROTECTED]:~$ cat /dev/null | fold -w `stty -a | head -1 | awk '{print $7}' | tr -d ';'` stty: standard input: Invalid argument fold: option requires an argument -- w Try `fold --help' for more information. [EMAIL PROTECTED]:~$ -- May the LORD God bless you exceedingly abundantly! Dave Craig - - - - - - - - - - - - - - - - - - - - "'So the universe is not quite as you thought it was. You'd better rearrange your beliefs, then. Because you certainly can't rearrange the universe.'" --from _Nightfall_ by Asimov/Silverberg -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: pdf conversion?
On Sun, 31 Aug 2008 17:02:14 -0400 "Zach Uram" <[EMAIL PROTECTED]> wrote: Hello Zach, > 1) convert from pdf to html and save any images, diagrams etc. pdftohtml may be of use, from pdftohtml or poppler-utils packages. > 2) convert from pdf to ASCII text pdftotext from poppler-utils or xpdf-utils. -- Regards _ / ) "The blindingly obvious is / _)radnever immediately apparent" Just stop and take a second U & Ur Hand - Pink signature.asc Description: PGP signature
Re: modprobe snd-cs46xx error ALSA 1.0.17 with kernel 2.6.26-1-686
Am Sonntag, 31. August 2008 schrieb Florian Kulzer: > On Sat, Aug 30, 2008 at 08:03:59 +0200, Bernd Kloss wrote: > > Lenny > > alsa-driver-1.0.17 > > Kernel 2.6.26-1-686 > > Cirrus Logic cs46xx > > > > Hello > > > > for the previous kernel 2.6.25-2-686 I could compile the audiodrivers > > without problems. After kernel-update 2.6.26-1-686 I repeated the same > > procedure > > You are not really giving us a lot of information to work with here. Sorry! ./configure --with-isapnp=no make make install modprobe snd-cs46xx > > > without errors except the last step > > modprobe snd-cs46xx > > > > Following errors are given back: > > > > WARNING: Error inserting snd_ac97_codec > > (/lib/modules/2.6.26-1-686/kernel/sound/pci/ac97/snd-ac97-codec.ko): > > Unknown symbol in module, or unknown parameter (see dmesg) > > [...] > > > DMESG reports: > > > > [ *725.576042] snd_ac97_codec: Unknown symbol snd_verbose_printk > > [...] > > It looks like you recompiled snd_ac97_codec with SND_VERBOSE_PRINTK > enabled while using the original 2.6.26-1-686 soundcore module, which > has this feature disabled (and hence does not define the function and > export the corresponding symbol). > > Try to add "--disable-verbose-printk" to whatever options you use in the > ./configure step of your alsa 1.0.17 driver build process. > > -- > Regards,| http://users.icfo.es/Florian.Kulzer > Florian | I did not check für your parameters in configure. Today I ran aptitude before I wanted to give them a try. Some libs have been upgraded and suddenly the sound is working. Strange! Nevertheless - thank you. Bernd Kloss -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Debian 4.0 on VMware Player 2.0.5 on WinXP Pro SP3 keybounce, network, clock issues
On Sun Aug 31, 2008 at 13:52:26 -0700, David Christensen wrote: > 2. The eth0 network interface would not come up reliably at boot -- >~50% of the time it would work. When it failed what was the symptoms from the Debian side? I'd guess that it came up as eth1, eth2, etc. See if that is the case by running "ifconfig -a". If it has a different number look at your udev config. > 3. The clock ran fast -- Debian would sometimes gain > an hour or more per hour of real time. Use the open-vm-tools package. Edited that would look something like this: apt-get install module-assistant open-vm-tools open-vm-source m-a prepare m-a build open-vm-source m-a install open-vm-source reboot Steve -- Managed Anti-Spam Service http://mail-scanning.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: making a subscript in text in SVG
[EMAIL PROTECTED] wrote: > Folk, > > This puts subscript 1 on text f in SVG but is a little cumbersome. > f > 1 > > This would be more tidy but fails. > f1 > > Does anyone have an improvement on the first instance? Does this work?: f1 http://www.w3.org/TR/SVG11/text.html#BaselineShiftProperty - Chris Burkhardt -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Debian 4.0 Etch apache-perl "File does not exist: ... /server-info"
debian-user: I have a Debian 4.0 Etch virtual machine and have installed apache-perl. I would like to be able to obtain server information by browsing to /server-info. I believe I have uncommented the relevant lines in httpd.conf (and restarted Apache): # Allow remote server configuration reports, with the URL of # http://servername/server-info (requires that mod_info.c be loaded). # Change the ".your_domain.com" to match your domain to enable. # SetHandler server-info Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 Allow from 192.168.0.0/255.255.0.0 When I browse to http://vmdeb40.holgerdanske.com/server-info, I get an HTTP 404 error (not found) page. /var/log/apache-perl/error.log says: [Sun Aug 31 14:22:30 2008] [error] [client 192.168.0.10] File does not exist: /home/dpchrist/apache.holgerdanske.com/www/server-info My guess is that mod_info.c isn't loaded (or compiled in). 'locate mod_info' returns nothing. http://www.debian.org/distrib/packages#search_contents makes me wonder if I need to install apache-common? /etc/apache-perl/modules.conf states: # Autogenerated file - do not edit! # This file is maintained by the apache-perl package. # To update it, run the command: #/usr/sbin/apache-modconf apache-perl man apache-modconf states: In order for apache-modconf to recognize a module, this needs to have a correctly formatted .info file in /usr/lib/apache/1.3/ /usr/lib/apache/1.3 seems to have *.info files for many Apache modules: # l /usr/lib/apache/1.3/*mod_info* /usr/lib/apache/1.3/080mod_info.info /usr/lib/apache/1.3/mod_info.so Fumble around with apache-modconf. This incantation seems to do something: # apache-modconf apache-perl enable mod_info Replacing config file /etc/apache-perl/modules.conf with new version Take a look: # grep mod_info /etc/apache-perl/modules.conf LoadModule info_module /usr/lib/apache/1.3/mod_info.so Browse to /server-info. Nope. Restart Apache: # apache-perlctl graceful /usr/sbin/apache-perlctl graceful: httpd gracefully restarted and browse again: Apache Server Information Server Settings, mod_perl.c, mod_setenvif.c, mod_expires.c, mod_auth.c, mod_access.c, mod_rewrite.c, mod_alias.c, mod_userdir.c, mod_cgi.c, mod_dir.c, mod_autoindex.c, mod_info.c, mod_status.c, mod_negotiation.c, mod_mime.c, mod_mime_magic.c, mod_log_config.c, mod_macro.c, mod_so.c, http_core.c Server Version: Apache/1.3.34 (Debian) mod_perl/1.29 Server Built: Jan 18 2008 19:19:05 API Version: 19990320:18 ... Much better! :-) HTH, David -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Does anyone know where to find mod_auth_form
I quite like the idea of making my web site use the facilities described for mod_auth_form (see apache2 manual). But I can't find where to get this module from. There doesn't appear to be a debian package. Why? Is there another repository somewhere with a deb in with this module. It needs mod_session. I can't find that either -- Alan Chandler http://www.chandlerfamily.org.uk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: Debian 4.0 on VMware Player 2.0.5 on WinXP Pro SP3 keybounce,network, clock issues
Steve Kemp wrote: > When it failed what was the symptoms from the Debian side? The Debian machine cannot access the network. > I'd guess that it came up as eth1, eth2, etc. See if that is the > case by running "ifconfig -a". $ cat ifconfig-a-eth0-dead.txt eth0 Link encap:Ethernet HWaddr 00:0C:29:5A:F3:3A inet6 addr: fe80::20c:29ff:fe5a:f33a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:9 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:1494 (1.4 KiB) Interrupt:10 Base address:0x1400 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) sit0 Link encap:IPv6-in-IPv4 NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) $ cat ifconfig-a-eth0-working.txt eth0 Link encap:Ethernet HWaddr 00:0C:29:5A:F3:3A inet addr:192.168.0.12 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fe5a:f33a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:20864 errors:0 dropped:0 overruns:0 frame:0 TX packets:16211 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:11956830 (11.4 MiB) TX bytes:2832918 (2.7 MiB) Interrupt:10 Base address:0x1400 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:28 errors:0 dropped:0 overruns:0 frame:0 TX packets:28 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:18974 (18.5 KiB) TX bytes:18974 (18.5 KiB) sit0 Link encap:IPv6-in-IPv4 NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) $ diff ifconfig-a-eth0-dead.txt ifconfig-a-eth0-working.txt 1a2 > inet addr:192.168.0.12 Bcast:192.168.0.255 Mask:255.255.255.0 4,5c5,6 < RX packets:0 errors:0 dropped:0 overruns:0 frame:0 < TX packets:9 errors:0 dropped:0 overruns:0 carrier:0 --- > RX packets:20864 errors:0 dropped:0 overruns:0 frame:0 > TX packets:16211 errors:0 dropped:0 overruns:0 carrier:0 7c8 < RX bytes:0 (0.0 b) TX bytes:1494 (1.4 KiB) --- > RX bytes:11956830 (11.4 MiB) TX bytes:2832918 (2.7 MiB) 14,15c15,16 < RX packets:0 errors:0 dropped:0 overruns:0 frame:0 < TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 --- > RX packets:28 errors:0 dropped:0 overruns:0 frame:0 > TX packets:28 errors:0 dropped:0 overruns:0 carrier:0 17c18 < RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) --- > RX bytes:18974 (18.5 KiB) TX bytes:18974 (18.5 KiB) HTH, David -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: udev and partitioning
On Sun, Aug 31, 2008 at 07:16:54AM -0700, - Xian wrote: > Hi all, > > I just setup a machine with an ide disk for / and two sata disks I intend to > mirror for storage. There were two partitions on the sata disks I wiped out > to turn into one big linux raid autodetect partition. With /dev/sda, the > processes worked just fine. I cfdisk'ed the drive and it's device node showed > /dev/sda and /dev/sda1. The second disk I partitioned and udev never updated > and continued to show /dev/sdb, /dev/sdb1, and /dev/sdb2. > > I tried echo'ing "- - -" into the proc scsci scan file to try to get the > change to kick. dmesg showed that the kernel saw sdb correctly, but udev > never updated. I even ran udevmonitor and did the echo rescan thing, but udev > never even got the hotplug notification. > > I've since rebooted the box and all was well, so I built my mirror. But I'm a > bit nervous that I had to reboot. If I loose a drive, will I have to reboot > to get hotplug to work then too? Should I have had to rebooted to get the > partition table rescanned? Is there a way to force udev to start over and > rescan everything? Is there a reason why the kernel saw /dev/sdb1, but udev > did not manage the nodes properly? I usually run udevtrigger or /etc/init.d/udev restart if I want udev to re look at the system (not sure if thats the right way, its just worked for me) > > Thanks, > Christian > > > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- I sat laughing snidely into my notebook until they showed me a PC running Linux. And oh! It was as though the heavens opened and God handed down a client-side OS so beautiful, so graceful, and so elegant that a million Microsoft developers couldn't have invented it even if they had a hundred years and a thousand crates of Jolt cola. -- LAN Times signature.asc Description: Digital signature
Re: Oddity In stty
On Sun, 2008-08-31 at 17:35 -0400, David L. Craig wrote: > I can't figure this out. Why does the first pipeline suceed but the second > fails? > I'm running an up-to-date Sid. > > [EMAIL PROTECTED]:~$ fold -w `stty -a | head -1 | awk '{print > $7}' | tr -d ';'` < /dev/null > [EMAIL PROTECTED]:~$ cat /dev/null | fold -w `stty -a | head -1 | awk '{print > $7}' | tr -d ';'` > stty: standard input: Invalid argument > fold: option requires an argument -- w > Try `fold --help' for more information. > [EMAIL PROTECTED]:~$ Well, I figured out a way around it: stty -a
RE: Debian 4.0 on VMware Player 2.0.5 on WinXP Pro SP3 keybounce, network, clock issues
debian-user: Blindly calling ifdown/ifup from /etc/rc.local was cheesy, and sure enough it didn't work reliably. So I wrote a Bash shell script to ping my gateway and do ifdown/ifup only if needed (three times maximum). I call that from rc.local instead: /root/bin/kick-eth0 David #!/bin/bash ### # $Id: kick-eth0,v 1.2 2008/09/01 03:13:47 dpchrist Exp $ # # Wake up interface eth0 as a work-around on Debian GNU/Linux virtual # machines running under VMware Player. Called by /etc/rc.local. # # Copyright 2008 by David Paul Christensen [EMAIL PROTECTED] # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, # USA. ### IFDOWN="ifdown eth0" IFUP="ifup eth0" PING="ping -c 1 192.168.0.1" declare -i tries=3 while true do echo "$0: running '$PING'..." $PING ES=$? if [ $ES = 0 ] then echo "$0: eth0 is operational" break fi echo "$0: attempting to wake up eth0" tries=tries-1 if [ $(( $tries <= 0 )) = 1 ] then echo "$0: ERROR unable to wake up eth0" exit 1 fi echo "$0: running '$IFDOWN'..." $IFDOWN sleep 1 echo "$0: running '$IFUP'..." $IFUP done ### -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: Debian 4.0 on VMware Player 2.0.5 on WinXP Pro SP3 keybounce,network, clock issues
Steve Kemp wrote: > Use the open-vm-tools package. Edited that would look something like > this: > apt-get install module-assistant open-vm-tools open-vm-source Aptitude sees module assistant, but not the others: # aptitude search module-assistant open-vm p module-assistant- tool to make module package creation easie http://packages.debian.org/search?keywords=open-vm-tools shows the module open-vm-tools in etch-backports, lenny, and sid. http://www.backports.org/dokuwiki/doku.php?id=instructions tells me how to add etch-backports to package management system. Running 'aptitude update' finds a bunch of stuff. Running 'aptitude install module-assistant' installs just that one module. Running 'aptitude -t etch-backports install open-vm-tools open-vm-source' blows up (see below) and takes out eth0. Logging in on the VMware console -- the network connection is dead. Running kick-eth0 script -- lots of errors. Reboot. Network is toast. Shut down virtual machine, move folder aside, unzip last backup... Any suggestions? David -- # aptitude -t etch-backports install open-vm-tools open-vm-source Reading package lists... Done Building dependency tree... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done Building tag database... Done The following NEW packages will be automatically installed: binutils bzip2 cpp cpp-4.1 debhelper dpatch dpkg-dev ethtool fakeroot gcc gcc-4.1 gettext html2text intltool-debian libc6-dev libdumbnet1 libicu36 libmail-sendmail-perl libmudflap0 libmudflap0-dev libssp0 linux-kernel-headers make patch patchutils po-debconf The following packages have been kept back: base-files initramfs-tools initscripts klibc-utils libklibc linux-image-2.6-686 man-db sysv-rc sysvinit sysvinit-utils vim-common vim-tiny The following NEW packages will be installed: binutils bzip2 cpp cpp-4.1 debhelper dpatch dpkg-dev ethtool fakeroot gcc gcc-4.1 gettext html2text intltool-debian libc6-dev libdumbnet1 libicu36 libmail-sendmail-perl libmudflap0 libmudflap0-dev libssp0 linux-kernel-headers make open-vm-source open-vm-tools patch patchutils po-debconf 0 packages upgraded, 28 newly installed, 0 to remove and 12 not upgraded. Need to get 20.9MB of archives. After unpacking 64.3MB will be used. Do you want to continue? [Y/n/?] y Writing extended state information... Done Get:1 http://ftp.debian.org etch/main patch 2.5.9-4 [99.5kB] Get:2 http://www.backports.org etch-backports/main debhelper 5.0.60~bpo40+1 [522 kB] Get:3 http://ftp.debian.org etch/main binutils 2.17-3 [2605kB] 3% [3 binutils 639843/2605kB 24%] [2 debhelper 89445/522kB 17%]135kB/s 2m28s 4% [3 binutils 703555/2605kB 27%] [2 debhelper 96685/522kB 18%]135kB/s 2m28s 4% [3 binutils 771611/2605kB 29%] [2 debhelper 109717/522kB 21%] 135kB/s 2m27s 4% [3 binutils 829531/2605kB 31%] [2 debhelper 112613/522kB 21%] 135kB/s 2m27s 5% [3 binutils 887451/2605kB 34%] [2 debhelper 125645/522kB 24%] 135kB/s 2m26s 5% [3 binutils 943923/2605kB 36%] [2 debhelper 132885/522kB 25%] 135kB/s 2m26s 5% [3 binutils 1001843/2605kB 38%] [2 debhelper 143021/522kB 27%] 135kB/s 2m25s 6% [3 binutils 1067003/2605kB 40%] [2 debhelper 150261/522kB 28%] 135kB/s 2m25s 6% [3 binutils 1106099/2605kB 42%] [2 debhelper 157501/522kB 30%] 135kB/s 2m24s 6% [3 binutils 1171259/2605kB 44%] [2 debhelper 167637/522kB 32%] 135kB/s 2m24s 7% [3 binutils 1221939/2605kB 46%] [2 debhelper 13/522kB 34%] 135kB/s 2m23s 7% [3 binutils 1271171/2605kB 48%] [2 debhelper 187909/522kB 35%] 135kB/s 2m23s 7% [3 binutils 1337779/2605kB 51%] [2 debhelper 205285/522kB 39%] 136kB/s 2m21s 8% [3 binutils 1398595/2605kB 53%] [2 debhelper 219765/522kB 42%] 136kB/s 2m21s 8% [3 binutils 1460859/2605kB 56%] [2 debhelper 237141/522kB 45%] 136kB/s 2m20s 8% [3 binutils 1508643/2605kB 57%] [2 debhelper 257413/522kB 49%] 136kB/s 2m20s 9% [3 binutils 1559323/2605kB 59%] [2 debhelper 271893/522kB 52%] 136kB/s 2m19s 9% [3 binutils 1618691/2605kB 62%] [2 debhelper 290717/522kB 55%] 136kB/s 2m19s 9% [3 binutils 1676611/2605kB 64%] [2 debhelper 305197/522kB 58%] 136kB/s 2m18s 14% [3 binutils 2478803/2605kB 95%] [Waiting for headers] 130kB/s 2m16s Get:4 http://www.backports.org etch-backports/contrib open-vm-source 2008.07.01- 102166-3~bpo40+2 [432kB] Get:5 http://ftp.debian.org etch/main bzip2 1.0.3-6 [269kB] 15% [5 bzip2 526/269kB 0%] [4 open-vm-source 28674/432kB 6%]139kB/s 2m6s 15% [5 bzip2 70030/269kB 26%] [4 open-vm-source 41706/432kB 9%] 139kB/s 2m6s 16% [5 bzip2 126502/269kB 47%] [4 open-vm-source 50394/432kB 11%] 139kB/s 2m5s 16% [5 bzip2 178630/269kB 66%] [4 open-vm-source 61978/432kB 14%] 139kB/s 2m5s 16% [5 bzip2 242342/269kB 90%] [4 open-vm-source 75010/432kB 17%] 139kB/s 2m4s Get:6 http://ftp.debian.org etch/main cpp-4.1 4.1.1-21 [2331kB] 17% [6 cpp-4.1 716/2331kB 0%] [4 open-vm-source 79354/432kB 18%]139kB/s 2m4s 17% [6 cpp-4.1 4
Re: network restart
On Fri, 2008-08-29 at 09:30 +0300, Andrei Popescu wrote: > On Wed,27.Aug.08, 21:34:38, Robert Jerrard wrote: > > I just got a new Siemens modem for the Telus high speed enhanced > > service. If I turn off the modem then turn it back on my Debian amd64 > > system has an IP address of 169 when it should be a 192 address > > from the DHCP set-up. No problem, just restart the network, right? > > However, when I do a > > > > /etc/init.d/networking restart > > > > it claims to have reconfigured the network but the IP address is not > > changed. I still have the 169... address. A reboot resets the IP > > properly but I should not have to reboot. Any idea why the soft > > networking restart does not re-do the IP properly? > > Check if you have zeroconf or network-manager installed and purge them. Thanks Andrei, I had network-manager installed, purging it fixed the problem. Bob -- Dr. Robert J. Jerrard, Professor of Mathematics, Concordia University College of Alberta, 7128 Ada Blvd., Edmonton, Alberta, T5B 4E4, Canada. Phone: (780) 479-9291, Fax: (780) 474-1933. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Does anyone know where to find mod_auth_form
Alan Chandler wrote: I quite like the idea of making my web site use the facilities described for mod_auth_form (see apache2 manual). But I can't find where to get this module from. There doesn't appear to be a debian package. Why? These appear to be (at least session module) in Apache 2.3. Current Lenny version is 2.2.9-7 Would that be the difference? cheers, gary -- Anyone can make a usable web site. It takes a graphic designer to make it slow, confusing and painful to use. begin:vcard fn:Gary Turner n:Turner;Gary org:Gary Turner, Web Developer adr:;;USA email;internet:[EMAIL PROTECTED] title:Czar x-mozilla-html:FALSE url:http://gtwebdev.com/ version:2.1 end:vcard
Re: Sound volume user specific?
On 08/31/2008 01:00 PM, Michal R. Hoffmann wrote: [...] Thanks to few other responses I know I can use alsactl; I tried as a mere user (not a root) and it allows me to store / restore the settings; ie /usr/sbin/alsactl -f /home/userA/.alsa-config store /usr/sbin/alsactl -f /home/userA/.alsa-config restore Now, what are the ideal places to put these commands in? So it would store on switch user/logout and restore on login? I'm afraid that if I just modify the gdm configuration files (like gdm.conf) they will be overridden soon with some gdm update (quite possible in sid). On the other hand I'd prefer to get it working globally (not to add a script on each user's account). If you're using IceWm or KDE, you can put the appropriate commands into ~/.icewm/startup or ~/.kde/Autostart/. Gnome has a sessions system that might let you specify a startup script; for scripts that quickly configure something then exit, this is tricky, but you can try going into "Settings-> Sessions" (from memory). The dialog may or may not allow you to add your script to the session. Other options are ~/.bash_profile and ~/.bashrc; however, the commands would then execute at either each login or each new subshell creation event. It's possible to write the code so that the script that sets the volume only executes once per login or session or day. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Debian 4.0 Etch apache-perl "File does not exist: ... /server-info"
On 08/31/2008 05:24 PM, David Christensen wrote: debian-user: I have a Debian 4.0 Etch virtual machine and have installed apache-perl. I would like to be able to obtain server information by browsing to /server-info. [...] My guess is that mod_info.c isn't loaded (or compiled in). 'locate mod_info' returns nothing. http://www.debian.org/distrib/packages#search_contents makes me wonder if I need to install apache-common? [...] Yes, install apache-common and perform whatever procedure you use to enable Apache 1.3 modules. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Exim4 SMTP direct send, blocked incoming port 25
Is it possible to use exim4 to send mail if port 25 is blocked by the ISP (incoming)? I can receive mail by using easyDNS and getting them to forward my mail to another port, but I'm not sure outgoing will work. I tried doing that a while back and I had issues, but there was also list trouble at the time, so I don't know if it was a misconfiguration, the blocked port, or external misconfiguration that was the problem. Rather than mess around with my settings before having answers, I want to find some things out in advance this time. Oh yes, I'm using dynamic DNS, and at that time I had and SPF TXT record on the name server. Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org The C Shore: http://www.wightman.ca/~cshore signature.asc Description: PGP signature
Re: rkhunter on Etch
2008/8/29 Andrei Popescu <[EMAIL PROTECTED]> > Say package foo has a security issue and upstream is at 1.4 and Debian > still has 1.3. Upstream will most likely release 1.4.1 to fix the issue > (which could be just a few lines of code) and maybe some others small > bugfixes that were pending. Debian instead will look for the exact > change for the security fix and apply it to the 1.3 version. In most > cases it will not even need adaptation for 1.3 so they can just apply > the specific patch. However, they will ignore whatever *other* changes > have happened between 1.3 and 1.4 and also between 1.4 and 1.4.1. > Unstable will of course get 1.4.1 ASAP. > > volatile is suited for packages that change *often* and will become > unusable unless you upgrade. A good example is an antivirus software and > its definition files. Even if you upgrade the definitions you also have > to upgrade the software itself in order for it to detect new viruses. > > I'm not sure rkhunter qualifies for volatile, but you should be able to > find the requirements somewhere on the 'net. > > Making backports.org an official Debian service would solve issues like > this, but I guess manpower is lacking... > Thanks for the comments, Andrei. I feel I'm starting to understand much better how Debian packages are maintained, and when I should consider backports or non-"stable" packages (i.e. only as a last resort, if the needed functionality isn't available in stable). Sam