Re: Running debian on athlon X2?

2006-03-13 Thread Darryl Clarke
On 13/03/06, Steve Juranich [EMAIL PROTECTED] wrote:
 I'm looking at getting a new rig, and I've decided that what I *really* want
 is one of those new Athlon64 X2's (cue Homer S. gargling noise).

 Since I've been a happy Debian user for over 5 years now, I'd like to stick
 with what I know.  But from looking at the web site, I haven't found any
 definitive proof that Debian is compatible with such a system.

 Can anybody out there tell me if Debian will, in fact, run on such a system.
 And, if so, are there any special caveats or workarounds that I should be
 awaree of?


Works good for me.  The only issue I had was one with a 2.6.12 kernel,
and an interrupt timing problem due to the dual core.  It was fixed in
a later kernel, 2.6.15 is what I use now and it's perfectly fine.

--
~ Darryl  ~ [EMAIL PROTECTED]
~ http://darrylclarke.com



Re: Adding GNUsTicker

2006-03-12 Thread Darryl Clarke
On 12/03/06, B.Hoffmann [EMAIL PROTECTED] wrote:
Thank you, this did the trick and I got a bit further this time, 
 but now it's complaining about

  checking for headers required to compile python extensions... not found
  configure: error: could not find Python headers

  I guess I should use a distro that comes with all this by default, like 
 Debian?

It's all readily available in ubuntu.

python-dev is the package name.

When compiling anything, chances are you'll need a handful of -dev
packages.  Whenever it complains about something missing look for it.

Ubuntu is based on debian, so they share the same packages, just not
the same default configurations...  And, AFAIK debian doesn't install
very many (if any) -dev packages by default either.

--
~ Darryl  ~ [EMAIL PROTECTED]
~ http://darrylclarke.com



Re: apt-get update's messages

2006-02-14 Thread Darryl Clarke
On 14/02/06, Bruno Buys [EMAIL PROTECTED] wrote:
 Hi!
 I receive these Ign... lines, when apt-get updating. What do they
 mean? Is this source being ignored? How do I fix this?

 I am running Sarge.


It's ok, it just means there were no changes and the file doesn't need
downloading.

--
~ Darryl  ~ [EMAIL PROTECTED]
~ http://darrylclarke.com



Re: Squirrelmail folder problem

2006-02-12 Thread Darryl Clarke
On 12/02/06, ms linux [EMAIL PROTECTED] wrote:
 I've got Squirrelmail 1.4.5 installed on my unstable
 box using sid with PHP4, uw-imap ssl and apache2.
 The installation went fine. But everytime I access the
 Folder link, there's nothing happen.
 Apache2 error log says Allowed memory size of
 16777216 bytes exhausted (tried to allocate 169
 bytes).
 I have my PHP4 set up to allocate 16M memory ( default
 8M ).
 Thanks.

Increase it more!

the error indicates it tried to go 169 bytes beyond the allocated 16mb.


--
~ Darryl  ~ [EMAIL PROTECTED]
~ http://darrylclarke.com



Re: source for downloadable music?

2006-02-11 Thread Darryl Clarke
On 10/02/06, noob lenoobie [EMAIL PROTECTED] wrote:
 What about free music  ?

  http://www.musicalibre.es/MUSICA/index.php
  http://www.jamendo.com/
 http://www.musique-libre.org/index.php?op=editochoice_user_language=english
  http://magnatune.com/
  http://opsound.org/info/license/
  http://www.lecridelaharpe.com/krayola/


  


  http://en.wikipedia.org/wiki/Free_music

I'm glad someone brought up sites like these.  I've found myself
wandering around at magnatune quite often sifting through a bunch of
unknown, unique, and different pieces of music.

It's a big big bonus when you stumble across music that you like that
you may not have heard otherwise.

It's nice to step away from the mainstream.

And _free_ music is a wonderful way to explore.

--
~ Darryl  ~ [EMAIL PROTECTED]
~ http://darrylclarke.com



Re: How do I disable USB?

2006-02-11 Thread Darryl Clarke
On 11/02/06, Desmond Rivet [EMAIL PROTECTED] wrote:
 On Sat, Feb 11, 2006 at 03:15:25PM -0800, Tony Godshall wrote:
   Anyway, is there any way to force Debian to ignore my USB hardware so
   these things don't get loaded in the first place?
 
  Easiest way is to disable it in the BIOS.  Then it won't
  show up in lspci or /proc and the various autoloading
  packages like discover and hotplug won't load the drivers
  for it.

 Thanks, but if this wern't feasible, what would be my options?

Blacklist the modules.

look in /etc/modules.d/

--
~ Darryl  ~ [EMAIL PROTECTED]
~ http://darrylclarke.com



Re: Cannot change Apache2 ServerName/ServerAlias

2006-02-06 Thread Darryl Clarke
On 06/02/06, Yu,Glen [Ontario] [EMAIL PROTECTED] wrote:
 I'm having trouble changing the ServerName  ServerAlias to look up my page.

 I'm running Debian 3.1 with 2.4.x kernel on an old Dell laptop, however, I 
 can only access my page via http://server but not as something else (i.e. 
 http://newpagename).  This is what I have at the moment inside 
 /etc/apache2/sites-available/default (I simply changed DocumentRoot, 
 commented out RedirectMatch ~/$ /apache2-default, and added in ServerName 
 server and ServerAlias newpagename:

[snip]

ServerName http://server
ServerAlias newpagename

 /VirtualHost

ServerName should only be a name, ie 'server'. http://server is invalid.

you can use: apache2ctl configtest

to verify your config after making changes.

--
~ Darryl  ~ [EMAIL PROTECTED]
~ http://darrylclarke.com



Re: 32bit debian on 64bit hardware

2006-01-26 Thread Darryl Clarke
On 26/01/06, Hans du Plooy [EMAIL PROTECTED] wrote:
 Hi guys,

 I'm just curious, I have a mailserver at work which runs Sarge,
 installed from the normal i386 CD, onto a 64bit enabled Sempron along
 with the K8 kernel.  When I do uname -a I get this:

 Linux mercury 2.6.8-11-amd64-k8 #1 Mon May 30 22:15:15 UTC 2005 x86_64
 GNU/Linux

 I tought x86_64 means I'm running a 64bit OS?  Or does it simply show
 the underlying hardware architecture?

It means you have a 64bit kernel installed.  Which would say to me
it's been installed as a 64bit OS.

To be specific the kernel package is:
linux-image-2.6.8-11-amd64-k8

--
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: Mozilla: howto block java for certain servers was: howto *really* 'accept images that come from the originating server only'?

2006-01-25 Thread Darryl Clarke
On 25/01/06, Florian Kulzer [EMAIL PROTECTED] wrote:
 Johannes Wiedersich wrote:

 [...]

  Closer inspection shows that this is not due to the embedded images, but
  the source code contains javascript as well that is pointing to the
  external server.
 
  NB 2: I consider this a security hole:
 
 
  It would be nice, if site specific configuration of java and/or
  javascript was possible with Mozilla as is implemented for images,
  popups etc.

 Try the noscript extension. It allows you to manage javascript
 permissions on a per-site basis. All javascript is forbidden by default
 and you get a small icon on the bottom of your browser window which
 indicates the javascript-status of the current site. You can then change
 the permissions via a handy pop-up menu when you click on this icon. I
 like especially that it allows me to use the javascript functionalities
 of a certain site while still blocking all the embedded javascript from
 other sites (which is normally related to marketing and user tracking).

 Unfortunately I don't know of any comparable extension for java. The
 prefbar extension will at least allow you to switch it on and off
 quickly without having to go three levels deep into the preferences
 menu.

NoScript, (4.54 stars, 210668 downloads)
Extra protection for your Firefox: NoScript allows JavaScript, Java
(and other plugins) only for trusted domains of your choice (e.g. your
home-banking web site). This whitelist based pre-emptive blocking
approach prevents exploitation of security vulnerabilities (known and
even unknown!) with no loss of functionality... Experts will agree:
Firefox is really safer with NoScript ;-)

Looks like NoScript handles Java too.


--
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: mounting DVDs via NFS problem

2006-01-23 Thread Darryl Clarke
On 21/01/06, Piers Kittel [EMAIL PROTECTED] wrote:
 Hello all,

 Am trying to mount a DVD drive via NFS and am having problems.  For
 note, 192.168.1.2 (hostname - destiny) is the client and 192.168.1.15
 (hostname - mythtv) is the server.

 I have this in my /etc/exports:

 /media/cdrom0 192.168.1.2(ro,sync)

 and 192.168.1.2 is in the /etc/hosts.allow.

 If the DVD is not mounted, it works perfectly fine:

 destiny:/mnt# mount mythtv:/media/cdrom0 /mnt/mythtv
 destiny:/mnt# df
 Filesystem   1K-blocks  Used Available Use% Mounted on
 snip
 mythtv:/media/cdrom0   1829192   1547128184472  90% /mnt/mythtv
 destiny:/mnt#

 If I unmount the above, and then mount the DVD on mythtv:

 mythtv:/home/piers# mount /cdrom
 mythtv:/home/piers#

 and try again on destiny, I get:

 destiny:/# mount mythtv:/media/cdrom0 /mnt/mythtv
 mount: mythtv:/media/cdrom0 failed, reason given by server: Permission
 denied
 destiny:/#

 and in the logs, I get:

 Jan 21 21:57:08 localhost kernel: UDF-fs INFO UDF 0.9.8.1 (2004/29/09)
 Mounting volume 'FIREFLY_D3', timestamp 2003/09/08 20:08 (1000)
 Jan 21 21:57:39 localhost rpc.mountd: authenticated mount request from
 destiny.10sca.intranet:923 for /media/cdrom0 (/media/cdrom0)
 Jan 21 21:57:39 localhost rpc.mountd: getfh failed: Operation not permitted

 I've googled for a long time with the last message but I can't find any
 help anywhere.

 I've tried this on my 2 Macs but had the exact same problem:

 Jan 21 20:34:55 localhost rpc.mountd: authenticated mount request from
 ukyo.10sca.intranet:982 for /media/cdrom0 (/media/cdrom0)
 Jan 21 20:34:55 localhost rpc.mountd: getfh failed: Operation not permitted
 Jan 21 21:29:59 localhost rpc.mountd: authenticated mount request from
 akane.10sca.intranet:972 for /media/cdrom0 (/media/cdrom0)
 Jan 21 21:29:59 localhost rpc.mountd: getfh failed: Operation not permitted

 I'm hoping you guys can tell me what I'm doing wrong here?

 Thanks very much in advance!

just a shot in the dark, you might have to 'exportfs -a' after
mounting your dvdrom to make the nfs server rehash the directory.

--
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: Can't open port 3306 on eth0 but can for lo

2006-01-15 Thread Darryl Clarke
On 15 Jan 2006 10:07:26 -0800, Tim [EMAIL PROTECTED] wrote:
 I'm trying to open port 3306 on my Debian server to the LAN. I already
 have a firewall separating me from the outside world, so my server can
 be completely open if necessary. Unfortunately, I can't seem to get
 iptables to do what I want. The port 3306 is accessible from the
 loopback adapter (lo) but not from my network card (eth0). When I try
 to connect to mysql from another machine on port 3306 using telnet, I
 get Connection refused.

[big snip]

from /etc/mysql/my.cnf:
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
bind-address  = 127.0.0.1 192.168.0.1

Check that (and set your ip accordingly)

--
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: Problem mounting 2GB SD card in USB card reader

2006-01-11 Thread Darryl Clarke
On 1/10/06, Steven Flintham [EMAIL PROTECTED] wrote:
 Hi,

 I'm running Debian 3.1 and have been using a couple of 512MB SD cards in
 my USB card reader without any problems. I'm running the standard 2.4
 kernel and have the following in /etc/fstab:

 /dev/sdc1   /media/mmc  vfatrw,user,noauto  0   0

[snip]

 SCSI device sdc: 2031616 1024-byte hdwr sectors (2080 MB)

According to this your SD exceeds 2GB by a few MB in size.  Try
formatting with Fat32.

[big snip]

HTH.


--
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: mozilla-firefox and firefox packages

2005-12-17 Thread Darryl Clarke
On 12/17/05, [KS] [EMAIL PROTECTED] wrote:
 I have noticed that since about a week or so ago that there is another
 package for firefox browser namely firefox (version 1.4.99+1.5rc3)!
 The rc version had been in experimental earlier and now this package can
 be found in unstable.

 I don't know if I have missed an annoucement (gladium ??) about the
 package name change or something similar but I'm confused as to why the
 change is there. Both 1.0.7 and 1.4.99+1.5rc3 are presently in unstable
 and firefox conflicts mozilla-firefox.

 Any light on this confusion will be appreciated.
 Regards,

the 'mozilla-firefox' package is changed to 'firefox'.  Due to
trademark issues of course.

the only 'firefox' package should be the 1.4.99+ one, the
'mozilla-firefox' should be 1.0.7 -- they conflict, because 'firefox'
is a replacement for 'mozilla-firefox'



--
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: X on a USB Disk under Windows

2005-12-16 Thread Darryl Clarke
On 12/16/05, Leonid Grinberg [EMAIL PROTECTED] wrote:
  Are you allowed to boot the computer off your usb disk? If yes, you
  could try installing something like FeatherLinux
  (http://featherlinux.berlios.de) on your usb drive and boot the
  computer off it. It would have ssh and X for you, along with a few
  other Linux programs.

 Probably yes, but that would be decided by some high administration
 official. The librarians would have a heart attack if they saw an
 xterm window and they wouldn't even bother arguing about it with me.
 Is their another way?

You'd need a windows based X-server for your X apps (forwarded via
SSH) to connect to.  X-Win32 is one that comes to mind. I'm not sure
if it'd operate off a USB disk though. It might!

--
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: sane access for non-root user

2005-12-14 Thread Darryl Clarke
On 12/14/05, Richard Lyons [EMAIL PROTECTED] wrote:
 On Tuesday, 13 December 2005 at 20:53:09 -0500, Darryl Clarke wrote:
  On 12/13/05, Richard Lyons [EMAIL PROTECTED] wrote:
   On Tuesday, 13 December 2005 at 14:01:06 -0500, Darryl Clarke wrote:
   
udev isn't setting permissions properly on the device, I would imagine.
   
I forget exactly where though... /etc/udev/ would be a starting point.
  
   I had already looked there, and /etc/udev/rules.d contains the line:
  
   # Epson Corp.|Perfection 1260
   SYSFS{idVendor}==04b8, SYSFS{idProduct}==011d, MODE=660, GROUP=sca\
   nner, RUN+=/etc/hotplug.d/usb/libsane.hotplug
  
   Which sounds perfect to me.  Must be more to it than that, I guess.
 
  Sounds perfect, but it's not.  Did you check and see what damage
  /etc/hotplug.d/usb/libsane.hotplug might be doing?  It _could_ be
  undoing the permissions.

 I am fumbling here, but /etc/hotplug.d/usb/libsane.hotplug is not too long
 and says around line 27
 chown $3 $DEVICE  chmod $4 $DEVICE

 Can it be that this relates to the info taken from /etc/udev/rules.d
 (see above), cos if so $3 and $4 are reversed? Or is that too obvious...

That's about where I cheated and changed it to:
chown root:scanner $DEVICE  chmod 0660 $DEVICE

I'm not exactly sure the order parameters are passed to the RUN+
script from udev, so I can't say whether $3 and $4 are actually
correct.

On the other hand, if udev only provides a group, and $3 is that
group, then 'chown $3' is technically wrong and could very well be the
cause.


--
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: sane access for non-root user

2005-12-13 Thread Darryl Clarke
On 12/13/05, Richard Lyons [EMAIL PROTECTED] wrote:
 I've just spent over an hour googling in vain.  And I am sure I should
 know the answer to this...

 New sid install (on a not-new Dell Inspiron 8200 FWIW).  Installed xsane
 and can only access it as root.  Added myself to scanner group, but
 still xsane finds 'no devices available' as ordinary user.  Can someone
 remind me or point me at the relevant instructions.

 uname -r says 2.6.12-1-386. udevd is running -- I suppose that is
 obvious as the scanner works for root.  What else is important?

udev isn't setting permissions properly on the device, I would imagine.

I forget exactly where though... /etc/udev/ would be a starting point.

use 'lsusb' to show the device list

When the scanner is plugged in check /proc/bus/usb/XXX/NNN where XXX
is the bus and NNN is the device listed in lsusb output... and find
the device and see what the permissions actually are.

you can manually change the permissions on the device too, just chgrp
scanner NNN and chmod g+rw NNN

--
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: sane access for non-root user

2005-12-13 Thread Darryl Clarke
On 12/13/05, Richard Lyons [EMAIL PROTECTED] wrote:
 On Tuesday, 13 December 2005 at 14:01:06 -0500, Darryl Clarke wrote:
  On 12/13/05, Richard Lyons [EMAIL PROTECTED] wrote:
 [...]
   Installed xsane
   and can only access it as root.  Added myself to scanner group, but
   still xsane finds 'no devices available' as ordinary user.  Can someone
   remind me or point me at the relevant instructions.
  
   uname -r says 2.6.12-1-386. udevd is running -- I suppose that is
   obvious as the scanner works for root.  What else is important?
 
  udev isn't setting permissions properly on the device, I would imagine.
 
  I forget exactly where though... /etc/udev/ would be a starting point.

 I had already looked there, and /etc/udev/rules.d contains the line:

 # Epson Corp.|Perfection 1260
 SYSFS{idVendor}==04b8, SYSFS{idProduct}==011d, MODE=660, GROUP=sca\
 nner, RUN+=/etc/hotplug.d/usb/libsane.hotplug

 Which sounds perfect to me.  Must be more to it than that, I guess.

Sounds perfect, but it's not.  Did you check and see what damage
/etc/hotplug.d/usb/libsane.hotplug might be doing?  It _could_ be
undoing the permissions.

It's been a while since I messed with my scanner, but I think I
remember having something similar happen, I just edited the libsane
script and forced the permissions at the end.  not very graceful, but
I was annoyed. :)

  use 'lsusb' to show the device list
 
  When the scanner is plugged in check /proc/bus/usb/XXX/NNN where XXX
  is the bus and NNN is the device listed in lsusb output... and find
  the device and see what the permissions actually are.
 
  you can manually change the permissions on the device too, just chgrp
  scanner NNN and chmod g+rw NNN

 That worked.  But I hope I don't have to do it manually every time I
 reboot or hotplug the device.

You will :) Until the script(s) are sorted out, you will...

--
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: Move software raid to new machine

2005-12-09 Thread Darryl Clarke
On 12/9/05, Johannes Wiedersich [EMAIL PROTECTED] wrote:
 Dear all,

 I would like to move our software raid array (mdadm) to a new hardware.
 Currently, I have one disk for the system etc. and two 'identical disks'
 that serve as software raid 1.

 Can I just move the two discs to the new machine? Do I have to take care
 that they retain their names as /dev/hdb and /dev/hdd? Is there a way to
 rename them to say /dev/hda and /dev/hdb?

 Note: the new machine has one sata disk, so /dev/hda will become known
 as /dev/sda.

Yup.  Best practice is to try and get your two drives to be the same
as what they are (hdb, hdd) and it should be ok.  Although, if they
are not the same dev names, mdadm and the raid drivers _should_ be
able to figure out they belong together based on the UUID of the raid.

I just recently moved a 2 disk mirror from my old box and it worked
without me touching a thing.

--
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: jerks

2005-12-08 Thread Darryl Clarke
On 12/8/05, Glenn English [EMAIL PROTECTED] wrote:
 I'm trying to make a Digital Audio Workstation (DAW) out of a SUN W2100z
 (dual AMD64).

 Every few seconds, at seemingly random times, everything freezes for
 ~50ms. Even the mouse. Sometimes. Reliable at the first card moved in
 Aisle Riot Solitaire and when Jack is running. Often when I'm typing
 email (chars don't get from the keyboard to the screen).

 I know that's not much of a description, but I don't know where to start
 looking for this. I'm assuming interrupts are being disabled entirely
 momentarily. My background says it's time for a bus monitor, but I don't
 have one handy.

 This happens with a 2.6 kernel from the current updated Sarge or a 2.4
 from DeMuDi 1.2.1 distro.

 Anybody have any idea how to begin tracing this down? Or maybe a better
 explanation of what's going on?

I had this type of behaviour when i first upgraded to a dual core amd64...

Anything in dmesg about lost ticks?

What is the exact version of your 2.6 kernel?

There are issues with amd64 timer/interrerupts up to 2.6.14 (fixed in .15 afaik)



--
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: Dumb DNS

2005-12-05 Thread Darryl Clarke
On 12/5/05, Ben Sagal [EMAIL PROTECTED] wrote:
 I have a lan wich connects to the internet (only web sites, nothing
 else is allowed) via a transparent proxy. Does anyone know of a light
 DNS server that could be set up that whatever request is made, the
 address of the server is given (It would be nice if for names in the
 host file the relevent ip is given).

If you have a transparent proxy, why does the dns have to be fake?

By definition a transparent proxy intercepts all requests, without the
user knowing, reagardless of their destination...

But, if it has to be done, I *think* powerdns can be setup this way.

--
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: Question: Maximum number of directories?

2005-12-04 Thread Darryl Clarke
On 12/4/05, Jochen Schulz [EMAIL PROTECTED] wrote:
 Gerorge Reece-Howe:
 
  I was wondering if there was a limit to the number of directories a
  single directory could hold? I assume the number of directories would
  be the limit (if any) to the number of databases MySQL could handle.

 Does MySQL really use a directory in the filesystem for every DB?

[snip]

Yes, it does.  At least for MyISAM type databases, it will create a
subdirectory that contains all the files (3 for each table)

As for filesystem restrictions, they're different per filesystem --
and I can't seem to find a difinitive list on which do what.

From my experience, ext3(2) get really slow with a lot of directory
and file entries.

--
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: php _SERVER[REMOTE_ADDR] is fixed ip address

2005-11-06 Thread Darryl Clarke
On 11/6/05, 高勇KevinGao [EMAIL PROTECTED] wrote:
 I use debian sarge version
 now I found a problem in php
 when using
  getenv(REMOTE_ADDR) or
 _SERVER[REMOTE_ADDR]
 return a fixed ip address,not my real internet ip address
 but the same code is ok in an freebsd server
 anyone can tell me why?

That depends on how you are accessing the server.

REMOTE_ADDR returns the value of the IP address of the machine doing
the request to the web server.  It is not the address of the
webserver.

I'm assuming by 'fixed ip address' you are refering to a private,
internal ip such as 192.168.0.15 or 10.1.3.125 (or something similar)

If you want the IP of the server, use SERVER_ADDR -- this will report
the IP address that the server accepted the request on.

If both machines are on a private network they will always report
private ip's and not you real internet address.

--
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com


Re: quake4 installation

2005-11-06 Thread Darryl Clarke
On 11/5/05, debianista.deb [EMAIL PROTECTED] wrote:
 hello

 I'm run the quake4 for linux and it gives me this:

  Verifying archive integrity... All good.
  Uncompressing Quake
 IV..
  ./setup.sh: line 207: /root/.setup10040: No such file or directory
  ./setup.sh: line 207: /root/.setup10040: No such file or directory
  The setup program seems to have failed on x86_64/glibc-2.0

  Fatal error, no tech support email configured in this setup

 how can I fix it ? please

  thanks
  debianista.deb



Is there enough space in /root/ ? It appears that the files aren't
being unpacked properly.

--
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: kill someone logged on

2005-09-07 Thread Darryl Clarke
On 9/7/05, debian [EMAIL PROTECTED] wrote:
[snip]

 how do I kill off this user and all his processes ?
 
 ps -t *pts/2 reports:

Omit the *
or 
ps aux | grep pts/2

 
 BTW, what do the *'s represent ?  According to man finger they represent 
 denial of write access.  But this is definately not the case here.


It means you can not use the 'write' command to send them a message.

-- 
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: kill someone logged on

2005-09-07 Thread Darryl Clarke
On 9/7/05, debian [EMAIL PROTECTED] wrote:
 On Wed, Sep 07, 2005 at 02:31:33PM -0400, Darryl Clarke wrote:
 
  Omit the *
  or
  ps aux | grep pts/2
 
 ##
 [EMAIL PROTECTED]:~$ ps -aux | grep pts/2
 Warning: bad syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
 debian   21085  0.0  0.1  1536  468 pts/0S+   19:26   0:00 grep pts/2
 [EMAIL PROTECTED]:~$
 ##
 
 I just cannot get ps to show up  the 'pts' bits.

Maybe it is dead. 

Try 
ps aux | grep bash

that should show you all the shells, and you can match (and kill) the
pid of the bash attached to pts/2 if it shows up.



-- 
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



listing packages from a source

2005-08-01 Thread Darryl Clarke
Hi,

I was just wondering if there is a way to list all packages that were
installed from a specific apt source?

A long time ago I installed a fair amount of packages from a site that
is no longer maintained and I would just like to remove everything
that came from that site.

Any suggestions are welcome.

Thanks.
-- 
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Maildir - c-client

2005-08-01 Thread Darryl Clarke
Hi,

While doing an upgrade tonight (to sarge/3.1) I was warned of dropped
Maildir support in the c-client libraries.

Does anybody have a source for a .deb that I can get that has the
library patched for Maildir support?

I use Courier daemons and Postfix with Maildir support, both work fine
- however, my webmail application which relies heavily on c-client
(php) is broken due to this.

Thanks,
-- 
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: slightly-OT: centralized user management

2005-07-30 Thread Darryl Clarke
On 7/29/05, Roberto C. Sanchez [EMAIL PROTECTED] wrote:
 Greetings,
 
 I currently have a small home network (1 server, 1 workstation, 1
 laptop) with only two users.  What I would like to do is to setup some
 sort of centralized user authentication mechanism (NIS, LDAP, whatever)
 with home directories mounted from the server.  This is primarily since
 I will be adding more machines and more users in the near future.
 
 I would like recommendations/experiences from the list on what is a good
 approach and maybe some resources.  The server already runs NFS, and I
 have experience with a combined NIS/NFS setup for a computer lab I
 formerly admined.
 
 One thing that is an absolute necessity is a sort of roaming profile
 support similar to that which is available with certain Redmond-based
 legacy operating systems.  Specifically, logging into machine A will
 cause a copy of my $HOME to be cached on the machine.  Machine A is a
 laptop and I unplug it from the network.  I would like to be able to
 login to the machine, make changes to my files/whatever and then have
 them automagically sync up with the server next time machine A
 reconnects to the network at home.  This may obviate the need for NFS.
 Additionally, it would be necessary for the login credentials to be
 cached so that disconnected login would actually work.  I am pretty sure
 that this is possible, but I am not really sure what the best approach
 is.  Ideas and recommendations are welcome.
 


For all my permanently connected machines I use NIS for users and NFS for /home

Simply doing that will propgate any user settings to any
perma-connected machine that reads the same /home (assuming the same
software is used, ex. if gnome 2.8 is used on one machine it will have
issues with some of the things gnome 2.10 does with configurations)

For my laptop I maintain local users, which is just me, and I use
rsync in various methods to keep my files up to date.  I treat my
folders as if they were the equivalent to windows' offline, only no
automagic syncronizing, because I don't want my entire /home on the
laptop to be /home on the server (diskspace restrictions, other users
that don't use the laptop, etc.)

-- 
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: You have new mail and maildir

2005-07-30 Thread Darryl Clarke
On 7/30/05, Brice Méalier [EMAIL PROTECTED] wrote:
 
 Hello
 
 
 I use in my config mutt+exim4+procmail+fetchmail
 
 Procmail is adjusted to delivers the mails in my /home directory into
 the maildir format.
 
 The matter is that right now when I get a new mail in my box and I log
 in in the console I don't have the You have new mail notification.
 It's strange because bash is able to do it for the maildir format and I
 adjust in my bashrc (that I source in bash_profile) export
 MAILPATH=my_box.

Modify your /etc/pam.d/login like the following, you'll receive new
mail notifications.

Session optional pam_mail.so standard noenv dir=~/Maildir

For application support, you might want to change the variables in
/etc/login.defs too.

HTH.

-- 
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: php4 vs php4-gd (dotproject: no gantt charts)

2005-07-21 Thread Darryl Clarke
On 7/21/05, w trillich [EMAIL PROTECTED] wrote:
 hiya. haven't posted in a while, trying to keep the noise down. :)
 of course, i'm about to make up for lost time--
 
 
 short version:
 
 apache: PHP Warning:  gd:  Unable to register functions, unable to load in 
 Unknown on line 0

 # grep -r gd.so /etc/php4
 /etc/php4/apache/php.ini:extension=gd.so
 /etc/php4/apache/php.ini:extension=gd.so
 /etc/php4/cgi/php.ini:;extension=gd.so
 /etc/php4/cgi/php.ini:extension=gd.so
 /etc/php4/cli/php.ini:;extension=gd.so
 /etc/php4/cli/php.ini:extension=gd.so
 # dpkg -S gd.so
 libgd2-xpm: /usr/lib/libgd.so.2.0.33
 libgd2-xpm: /usr/lib/libgd.so.2
 php4-gd: /usr/lib/php4/20020429/gd.so
 

Your php.ini in /etc/php4/apache/ is loading the module twice.

-- 
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: RealPlayer 10 for Debian?

2005-07-12 Thread Darryl Clarke
On 7/12/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Dear friends:
 
 Is there a special Debian package for RealPlayer 10? Since it is a commercial
 package, I'd imagine that it's not part of Sarge itself.
 

http://www.real.com/linux?pcode=rnsrc=freeplayer_partneropage=freeplayer_partner

There's no .deb that I'm aware of.  Their installer works fine though.

 Thank you.

You're welcome!

-- 
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: Anyone got SSH over HTTP working?

2005-07-12 Thread Darryl Clarke
On 7/12/05, Julian Gilbey [EMAIL PROTECTED] wrote:
 I'm going to be working in a school which sits behind a nasty
 firewall: it will not allow outbound SSH traffic.  (And it appears
 that they are filtering based on protocol, not only on port number :/ )
 
 I'd like to be able to ssh to my home machine, and I can use putty as
 a terminal program, but only if I could teach it to use an HTTP
 protocol.  Yuck.
 
 Does anyone have any ideas if this is feasible?  Or another idea for
 how to do this?

I've done this. (in essance)

I have a squid proxy at home running on port 80, it is configured to
allow HTTPS/CONNECT requests from IPs that I provide.

Using that, I can use putty's proxy settings to connect using an
HTTPS/CONNECT pipe.

Basically when Putty connects, any firewall will assume it's a regular
https request and in most cases, they're allowed.


-- 
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: RealPlayer 10 for Debian?

2005-07-12 Thread Darryl Clarke
On 7/12/05, Benjamin Sher [EMAIL PROTECTED] wrote:
 On Tuesday 12 July 2005 06:50 pm, Darryl Clarke wrote:
  On 7/12/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
   Dear friends:
  
   Is there a special Debian package for RealPlayer 10? Since it is a
   commercial package, I'd imagine that it's not part of Sarge itself.
 
  http://www.real.com/linux?pcode=rnsrc=freeplayer_partneropage=freeplayer_
 partner
 
  There's no .deb that I'm aware of.  Their installer works fine though.
 
   Thank you.
 
  You're welcome!
 
 Dear Darryl:
 
 Thanks for the tip. My problem is that I don't know if Debian allows you to
 install an RPM? Which RealPlayer package should I install, please?
 

The .bin file is a compatable installer script.
The install instructions (right below the big button) are slightly
flawed, they don't seem to mention you need root to install.

$ sudo ./RealPlayer10GOLD.bin

When it prompts for a path, I use /usr/local/RealPlayer

When it asks for 'configure system wide symlinks' I hit 'Y'.

That should be it.
-- 
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: RealPlayer 10 for Debian?

2005-07-12 Thread Darryl Clarke
On 7/12/05, Darryl Clarke [EMAIL PROTECTED] wrote:
 
 The .bin file is a compatable installer script.
 The install instructions (right below the big button) are slightly
 flawed, they don't seem to mention you need root to install.
 
 $ sudo ./RealPlayer10GOLD.bin
 

Woops.  sudo probably isn't configured for you ;)  It's not done up by
default in debian.  Just use
$ su
first, then 
# ./RealPlayer10GOLD.bin

Sorry 'bout that.
-- 
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: IP-Aliasing

2005-07-11 Thread Darryl Clarke
On 7/11/05, Frank Hempel [EMAIL PROTECTED] wrote:
 Hello,
 
 I don't get IP-Aliasing to work. The machine has got one interface
 (eth0) working correctly with ip=192.168.1.1
 Issuing the commands
 
 ifconfig eth0:1 192.168.1.100
 route add -host 192.168.1.100 dev eth0:1
 
 brings the interface eth0:1 up, but I can't ping it from the same
 machine or other ones.
 
 
 An odd thing I noticed is the ifconfig output:
 
 eth0  Protokoll:Ethernet  Hardware Adresse 00:0B:6A:78:EB:25
inet Adresse:192.168.1.66  Bcast:192.168.1.255
 Maske:255.255.255.0
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:27843 errors:0 dropped:0 overruns:0 frame:0
TX packets:28857 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:2944191 (2.8 MiB)  TX bytes:17241905 (16.4 MiB)
Interrupt:11 Basisadresse:0xd400
 
 eth0:1Protokoll:Ethernet  Hardware Adresse 00:0B:6A:78:EB:25
inet Adresse:192.168.1.100  Bcast:192.168.1.255
 Maske:255.255.255.0
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
Interrupt:11 Basisadresse:0xd400
 
 loProtokoll:Lokale Schleife
inet Adresse:127.0.0.1  Maske:255.0.0.0
UP LOOPBACK RUNNING  MTU:16436  Metric:1
RX packets:339 errors:0 dropped:0 overruns:0 frame:0
TX packets:339 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX bytes:144621 (141.2 KiB)  TX bytes:144621 (141.2 KiB)
 
 
 It doesnt show the RX/TX etc. lines for the eth0:1.
 
 Could someone give me a hint on how to do it right?
 
 Thanks, Frank.

Seems like you've done it properly.  What's the output of 'route -n'
and are you running any type of firewall who's rules need to be reset
after you added the alias?

As for the RX/TX, linux only tracks that on a physical interface, so
eth0 is combined totals for any IPs aliased.  If you want to actually
track per-ip you'll probably need to investigate some iptables rules,
and some other monitoring software like mrtg.


-- 
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: .torrent clients sugestions

2005-07-11 Thread Darryl Clarke
On 7/11/05, Nathaniel Homier [EMAIL PROTECTED] wrote:
 Hi, I used to use Azureus on Windows and liked it allot.  Of course I
 use Debian now and would like to set up a .torrent client.  However I no
 longer have any desire to use Java hence Azureus is out of the question.
   Does anybody know of an replacement that is as good as Azureus.  I
 have some tv shows that start their season soon so I would like
 suggestions on a client.

If you want a client that will do multiple torrents at once, qtorrent is decent.


-- 
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: [OT] Need advice on building a Storage Server

2005-07-10 Thread Darryl Clarke
On 7/10/05, William Ballard [EMAIL PROTECTED] wrote:
 I would like to build a storage server.  I have some hardware questions.
 I don't know a forum where I will get intelligent practical questions
 for this unusual task.
 
 I'm envisioning adding 5-8 300GB or 400GB hard drives, a single gigabit
 ethernet, a minimal mobo/proc/ram for strictly serving up files.
 
 1. I've seen a LanBoy type case that can hold 8 internal 3.5 drives.
 Mini ATX.  Any dangers with running 8 HDs in a mini-ATX case?

No dangers.  More below.

 
 2. Is there a mobo which can drive 8 HDs?  Or will I need daughtercards?

There are a few motherboards out there that can support 8 (or even
more) HDs.  Asus A8N-SLIDeluxe is one that I can think of.  I know
Gigabyte has one with a mitful of ports as well.  They don't fit your
minimal mobo category though.  Personally, if I had the budget, I
would probably just get a lesser motherboard with an 8 port (or two 4
port) SATA card. Adaptec cards are a bit pricey, but they're
excellent.

 
 3. How big a power supply should I get?  500W?

500 should be good. Depends on your CPU and other stuff though.  I've
been using an Antec TruPower 380 Watt with 6 HDs (plus cdroms, etc.)
on an athlon XP box for a while with no issues.  Just don't go cheap
on the PSU.

 
 4. Is this going to be a heat / noise / weight nightmare?

HDs these days have a tendancy to be pretty quiet.  Heat will be an
issue though.  You will definitely need at least 2x 80mm or 1x 120mm
fans blowing across these drives from the front, just because of the
quantity - and at least one on the back sucking air out. Also, make
sure the case has some space between the drives.  I know a lot of
cases that don't leave space and you end up stacking your disks. the
ones in the middle will cook.
 
 Anybody's who's built such a monster and has recommendations, please
 share.
 
 Thanks, and sorry for being OT.

HTH.

-- 
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: decyphering spam

2005-06-02 Thread Darryl Clarke
On 6/2/05, Steve Lamb [EMAIL PROTECTED] wrote:
 michael wrote:
  how do i decypher what the following HTML/javascript attempts (original
  'write' was all one line)?
 
 Personally, I used Python's urllib.unquote and got the following:
 
 SCRIPT LANGUAGE=javascriptdocument.write('empty..');/SCRIPTscript
 language=javascriptfunction dF(s){var s1=unescape(s.substr(0,s.length-1));
 var
 t='';for(i=0;is1.length;i++)t+=String.fromCharCode(s1.charCodeAt(i)-s.substr(s.length-1,1));document.write(unescape(t));}/script
 
  dF('*8HXHWNUY*75QFSLZFLJ*8I*77of%
  7Bfxhwnuy*77*75XWH*8I*77ktyt3ox*77*8J*5I*5F44*75XFRUQJ*75XHWNUY*75*787*752*75HFQQNSL*75FS*75J%5DYJWSFQ*75OX*75KNQJ*5I*5F*8H4XHWNUY*8J*5I*5F5')/script
 
 Which is then fed the above segment to decode.  Don't feel like digging
 into the above javascript to make a Python equivolant decoder for that
 section.  Maybe someone else will jump in?  :D
 

That final segment decodes to this:
 
SCRIPT LANGUAGE=javascript SRC=foto.js // SAMPLE SCRIPT #2 -
CALLING AN EXTERNAL JS FILE /SCRIPT

which, unless there was a base reference issued in the actual spam,
leads nowhere. :)

--
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: Script executed with /etc/init.d/networking

2005-05-04 Thread Darryl Clarke
On 5/4/05, Marco Calviani [EMAIL PROTECTED] wrote:
 Hi,
 i would like to know which scripts are executed when starting the
 network interfaces, since i would like to delete a reference to
 firestater that i've currently uninstalled.
 
 DHCPACK from 192.168.0.1 sh: /etc/init.d/firestarter: No such file or
 directory bound to 192.168.0.2 -- renewal in 129600 seconds.
 

You can check /etc/network/if-up.d/

it contains scripts to execute on network 'up'. (there's a few others
too, if-down.d, post-down, etc... there too that might have  junk left
behind.)

-- 
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: Script executed with /etc/init.d/networking

2005-05-04 Thread Darryl Clarke
On 5/4/05, Marco Calviani [EMAIL PROTECTED] wrote:
 Darryl Clarke ha scritto:
 
 
 Unfortunately there is nothing there pointing to load
 /etc/init.d/firestarter or something related to it
 

How about, /etc/dhclient-exit-hooks ?

-- 
~ Darryl  ~ [EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: how to set up 2 hard drives to cable select

2005-01-03 Thread Darryl Clarke
On Sun, 2 Jan 2005 22:45:08 -0800, Paul Johnson [EMAIL PROTECTED] wrote:
snip 

 Cable select only works with one drive on the cable if it's going to
 work at all.  I generally consider cable select *way* more trouble than
 it was ever worth, and I *really* wish hard drive manufacturers would
 let it die already.  Just use master/slave.

The whole purpose of cable select is to auto-configure multiple
drives. As for letting it die, there is no Master/Slave/CS on SATA
drives because they're only one drive per channel, thus all are
Master.

I use cable select on every IDE drive I put in any machine (including
optical drives). Never had a problem. You've gotta remember to use
proper 80 pin cables. Black = master, gray = slave, blue =
motherboard and set your bios to Auto if you plan on switching
drives fairly often.

-- 
Darryl
[EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: can't 'apt-get install' fr a site

2005-01-03 Thread Darryl Clarke
On Mon, 3 Jan 2005 22:19:44 +0800, jianan [EMAIL PROTECTED] wrote:
 Hi,
 
 Someone recommended me a site to download a Debian package. But 'apt-get
 install' complained that it could not resolve the site address. Is there  an
 approved list of sites for Debian packages? The package 'knemo' is not yet a
 'sarge' package.
 
 Any suggestion?

You can run 'apt-setup' to configure sources using debian's list.

-- 
Darryl
[EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: XF86Config-4 and XDMCP

2005-01-02 Thread Darryl Clarke
On Sun, 2 Jan 2005 09:56:34 -0800 (PST), Ridge Chittenden
[EMAIL PROTECTED] wrote:
 
 
 snip
 
 OK, but that's what I don't really understand. Which
 machine is running X?
 
 Machine A (adam) is running gdm. From machine B
 (byron), I log on to adam's gdm screen, which is
 delivered by XDMCP. When I log on to adam from byron,
 I use an adam user account; the display is on byron.
 (adam has no monitor, keyboard or mouse.)
 
 Is it adam or byron that needs the XF86Config-4? If
 adam, what sort of monitor settings should I use, as
 two machines with different kinds of monitors log on
 to adam over XDMCP?

byron is running X.   I believe if you edit /etc/gdm/gdm.conf you
can make gdm not load a local (on adam) gui.

When you connect to a machine with gdm (or xdm or any other display
manager) you are essentially logging onto that machine. It's like
using SSH to log into a shell, only your machine running X (byron) has
the capability to display graphics.  Any applications you run on adam
(say Mozilla) will connect to $DISPLAY (it's an environment variable)
in this case byron; and byron will display with the application on
adam says to display.

-- 
Darryl
[EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sound Problem Using Blender

2005-01-02 Thread Darryl Clarke
On Sat, 01 Jan 2005 21:41:12 -0500, tech [EMAIL PROTECTED] wrote:
I am posting this question on this list because I beleve the problem
 might be Debian related.
 
 I am using Blender 2.35 on Debian amd64 unstable with KDE3.
 I was trying a sample audio project and I am getting the following error:
 
 open /dev/[sound/]dsp: Device or resource busy
 Couldn't open audio: No available audio device
 
 however my sound system works fine on kde and other applications.
 
 also, the Blender worked on windows and suse9.1 on the same PC.
 
 Anyone have the same problem?

You'll have to kill your sound server. either esd or artsd (i think
arts is kde default).

Blender wants direct access to the sound device(s) and it can't get it
when the sound daemon is using it.

-- 
Darryl
[EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Debian 64 bit on servers

2005-01-02 Thread Darryl Clarke
On Sat, 1 Jan 2005 16:36:56 +0530, Siju George [EMAIL PROTECTED] wrote:
 Hi all,
 
 I run Debian Woody 3.0r2 on a Pentium III machine now!!
 
 I would like to have a faster machine (a medium server but not any
 high end server) .
 
 So I would like to know the experience of others about installing
 64-bit debian on an AMD 64-bit hardware or any other faster servers.
 
 Is 64-bit Debian as stable as 32-bit Debian?
 
 Thankyou so much

Using a normal Sarge install then installing this:
kernel-image-2.6.9-9-amd64-k8 - Linux kernel image for version 2.6.9
on AMD64 systems

has resulted in a very stable environment for myself.  Mind you, not
all applications are 64 bit but most of them don't have to be.

Aside from a few enhancments (much like back in the day between
pentium and pentium-mmx cpu's) the 64 bit really only means (to me)
more memory and more bandwidth support.

-- 
Darryl
[EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Courier-imap Mysql 4.x

2004-12-29 Thread Darryl Clarke
On Wed, 29 Dec 2004 10:11:22 -0300, Guilherme B. Viebig
[EMAIL PROTECTED] wrote:
  
 Hi all, 
   
 Merry Christmas and a happy new year...  
   
 I´m using sarge, and my courier-imap don´t work with Mysql 4.x, but,
 perfectly with 3.x 
   
 I need to know if there is a way to use mysql 3.23.xx in my sarge, or a
 updated courier-imap that supports mysql 4.x. 
   
 Thank you in advance... 

What types of problems are you having?

I use courier-imap  3.0.8-3 with courier-authmysql 0.47-3 and
courier-authdaemon  0.47-3  to authenticate virtual users
using mysql-server 4.0.22-2  (as well as client and libraries)...


-- 
Darryl
[EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com



Re: script help

2004-12-29 Thread Darryl Clarke
On Wed, 29 Dec 2004 15:26:17 +0100, Bob Alexander [EMAIL PROTECTED] wrote:
 I keep a few different kernel source trees under /usr/src and each of
 them has a different .config file.
 
 Part of my pre-backup script I would like to run a command such as
 
 find /usr/src -name .config
 
 for example:
 
 /usr/src/kernel-source-2.6.9-rja/.config
 /usr/src/linux-2.6.10-rja/.config
 
 and for every match write a file to my /backup_data directory with a
 filename that is made up like kernel-source-2.6.9-rja.config and
 linux-2.6.10-rja.config or some similar unique filename which relates
 the the kernel tree.

With 'find' you can -exec on each result.

For example (note the trailing \; is required to end the exec string.
find will execute all commands until that is found.):

find /usr/src -name .config -exec cp {} /backup_data{} \;

{}  will be expanded to the entire path of the found file. The above
line won't work because cp won't create the entire path
/backup_data/usr/src/kernel-source-2.6.9-rja/.config :) You might
want to process {} to create a proper destination.

Hope that Helps!


-- 
Darryl
[EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: mysql-server package not innodb ready?

2004-12-29 Thread Darryl Clarke
On Wed, 29 Dec 2004 14:31:18 -0700, Nathan Zabaldo [EMAIL PROTECTED] wrote:
 Hello,
 
 I hope I am posting to the correct list for this question.
 
 I have recently apt-get'd dbmail-mysql from testing so I am running mysql
 4.022.  It has not been compiles with innodb support and I need it.  Is
 there a way to enable innodb support after installing the mysql-server
 package?
 

It is enabled. You just have to comment out the 'skip-innodb' line in
/etc/mysql/my.cnf

It is recommended you read the manual for further configuration as the
defaults may not be what you want.


-- 
Darryl
[EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Thunderbird 1.0

2004-12-28 Thread Darryl Clarke
On Tue, 28 Dec 2004 21:18:58 +, Alan Chandler
[EMAIL PROTECTED] wrote:
 On Tuesday 28 December 2004 20:58, Christopher L. Everett wrote:
  What are the plans for T-Bird 1.0?  I want to make it the company
  standard email tool, but I need some features in 1.0.
 
 Why do you want to make it the standard tool if you do not know what features
 it has.  Why aren't to evaluating the other possibilities and then deciding
 the one that is closest to your needs?

He _does_ know the features. He means he needs those found in 1.0
rather than 0.9's in order to make it company standard.

As for timeframe into when 1.0 will be in... I have no idea. It's
suprisingly not even in Unstable yet...

This is information I am interested in.  Firefox 1.0 hit unstable and
testing rather quick.

-- 
Darryl
[EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



[OT] Weather Monitoring?

2004-12-28 Thread Darryl Clarke
Hi!

This isn't really debian specific. 

Has anybody any experience with weather monitoring?

I'm basically looking for some hardware to interface with my linux
system and so on.

Any pointers as to what kind of hardware there is out there that can
hookup to a PC would be wonderful.

Please reply off-list (unless others show interest too.)

Thanks!
-- 
Darryl
[EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Device not ready. Make sure there is a disc in the drive.

2004-12-27 Thread Darryl Clarke
Hi List,

Ever since I did a dist-upgrade a couple of weeks ago to get gnome 2.8
on my 'testing' box my syslog is filled with:

Device not ready.  Make sure there is a disc in the drive.

Now, this is because of gnome's volume manager checking each of my
cdrom/dvd drives at regular intervals in order to auto-mount them.
That's fine.

Can I surpress this warning?  It floods my dmesg output and my console.

Thanks!

-- 
Darryl
[EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Device not ready. Make sure there is a disc in the drive.

2004-12-27 Thread Darryl Clarke
On Mon, 27 Dec 2004 11:57:48 -0600, Ron Johnson [EMAIL PROTECTED] wrote:
 On Mon, 2004-12-27 at 12:42 -0500, Darryl Clarke wrote:
  Hi List,
 
  Ever since I did a dist-upgrade a couple of weeks ago to get gnome 2.8
  on my 'testing' box my syslog is filled with:
 
  Device not ready.  Make sure there is a disc in the drive.
 
  Now, this is because of gnome's volume manager checking each of my
  cdrom/dvd drives at regular intervals in order to auto-mount them.
  That's fine.
 
  Can I surpress this warning?  It floods my dmesg output and my console.
 
 Interesting.  I'm also running 2.8 w/ g-v-m, but such messages
 don't happen on my system.
 
 Are you running autofs, or maybe there's a spurious --verbose
 somewhere?
 

No autofs. I dabbled with it a long time ago, but removed it.  It may
be something else, but gnome's automagic desktop icon, as well as auto
opening Nautilus' burn option on a blank disc are just things I did
notice as 'new' after my upgrade.

_Something_ on my system is checking all my cdroms at 2 second
intervals; causing that message...

-- 
Darryl
[EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Backup-software FTP

2004-12-26 Thread Darryl Clarke
On Sun, 26 Dec 2004 14:09:43 +0100, Jon-Eirik Pettersen
[EMAIL PROTECTED] wrote:
 What would you recommend of software to do simple directory-based
 backups to an FTP-server?
 

the ncftp package comes with 'ncftpput' and 'ncftpget' - it's handy
for scripted uploading/downloading via FTP.

-- 
Darryl
[EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Synchronize two servers (warm backup)

2004-12-24 Thread Darryl Clarke
On Thu, 23 Dec 2004 20:46:26 -0500, Carl Fink [EMAIL PROTECTED] wrote:
 Hi.
 
 I'm in the process of setting up a warm backup for a server I run.  I was in
 the middle of hacking together scripts to keep them in sync, but then it
 came to me:  what if Debian has a package that does that *for* me?
 
[snip]
 
 Suggestions?

I don't think there is any one single utility that does this.

I have a secondary box setup with various configured server elements.
DNS, Apache, MySQL, Courier-Imap/POP, Postfix and Proftpd are my
primary peices with often changing configuration data.

the majority of my configuration (virtual hosts, relay domains, mail
logins, ftp logins etc) comes from mysql.  the rest that's in
/etc/daemon/ is pretty static and is easily sent to the secondary.

The easiest way to sync MySQL is to have the secondary set to slave
(replication) of the primary server.  This way it always has an exact
copy of what was on the primary server.

It's easy enough to rsync /home and various other parts where mail and
web data is stored.

As for a 'switch'  I would do this:
(assuming your servers aren't configured via dhcp and you have control
over the IPs)
On the secondary box have a cron that 'pings' the to see if its alive.
This process should take into consideration the time it takes for your
primary server to reboot -- including potential fsck's. ex. if it's
down for 1 minute don't switch, but if its down for  20 minutes
switch over.  If in the event the primary is non responsive the
secondary box can ifup eth0:1 -- an aliased (non automagic) interface
using the primary server's ip address. This way it will basically
takeover any incoming requests for the now non-responsive main server.

Of course, when your primary server comes back to life (either by
itself or after being fixed) there's a good chance some of the data
- mail, web, mysql will be out of sync and you would have to then
rsync back to the primary server before making it your #1 again.

-- 
Darryl
[EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: erased iPod software

2004-12-24 Thread Darryl Clarke
On Fri, 24 Dec 2004 20:11:34 +0200, George Iordanou [EMAIL PROTECTED] wrote:
 Brian Nelson wrote:
 
 On Fri, Dec 24, 2004 at 07:58:21PM +0200, George Iordanou wrote:
 
 
 I've purchased an iPod  (40GB) for Macs. I've mounted the hfs+ partition
 to /media/ipod. Then i've had the *stupid* idea to rm -rf /media/ipod/*.
 Unfortunately the ipod won't start since i erased its software. Any
 ideas how to restore it?
 
 
 
 It comes with software for MacOS and Windows that can restore the
 filesystem.  There's no way to restore it in Linux though unless you
 backed it up manually beforehand.
 
 
 
 I do have a windows machine around. The problem is that it does not
 turns on in order for my pc to detect it and restore the filesystem.

It does not turn on at all?  I think there may be a more serious issue
than just a missing OS.  It should still be usable as a firewire disk
and be capable of a 'restore' or 'update'.

-- 
Darryl
[EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Audacity sound problem

2004-12-24 Thread Darryl Clarke
On Sat, 25 Dec 2004 01:48:33 +0530, Micheal Mukherji
[EMAIL PROTECTED] wrote:
 I can play sound with xmms, mplayer etc.
 I use esd.
 
 Audacity reportsCould not Initialize sound, host error
 I made sure that no audio appl was holding the sound device.
 
 Any help wud be appreciated.


The more you post, the less likely you are to get an answer.  Be
patient, and google for your problem while you wait.

I get the same error when I try to load Audacity.

I'm guessing it's not happy when it comes to gnome's multimedia system and ESD.

-- 
Darryl
[EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Audacity sound problem

2004-12-24 Thread Darryl Clarke
On Fri, 24 Dec 2004 15:31:13 -0500, Darryl Clarke [EMAIL PROTECTED] wrote:
 On Sat, 25 Dec 2004 01:48:33 +0530, Micheal Mukherji
 [EMAIL PROTECTED] wrote:
  I can play sound with xmms, mplayer etc.
  I use esd.
 
  Audacity reportsCould not Initialize sound, host error
  I made sure that no audio appl was holding the sound device.

 I get the same error when I try to load Audacity.
 
 I'm guessing it's not happy when it comes to gnome's multimedia system and 
 ESD.

Right from Audacity's website... 
 Are you using a soundserver like aRts (commonly found with KDE) or
esd (commonly found with GNOME)? If so, you will need to kill it first
before using Audacity! Example:
killall esd 

-- 
Darryl
[EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: How to access external USB hard drive?

2004-12-24 Thread Darryl Clarke
On Fri, 24 Dec 2004 18:19:35 -0800 (PST), Matt Perry
[EMAIL PROTECTED] wrote:
 Hi everyone.  I'm running Debian Sarge with kernel 2.6.8-1-686 (from
 the deb kernel package).  I just bought a USB drive enclosure with a
 drive that I wish to mount in Debian.  I'm not sure what I need to do
 to make this happen.
 
 I plugged the unit into the USB port but I didn't see anything appear
 in the syslog.  I also did modprobe usb-storage which also appeared
 to do nothing.  I know the drive and enclosure are good since I was
 able to use it on a Windows box.  USB is enabled in my BIOS settings.
 
 Any suggestions on how to get this to work?  I'm not sure what I need
 to look at next.

If you check 'dmesg' output right after you plug it in you should see
something similar to this:

(this is my compact flash reader, but my harddrives behave the same)

usb 2-2: new full speed USB device using address 10
scsi15 : SCSI emulation for USB Mass Storage devices
  Vendor: Genesys   Model: USB to IDE Card   Rev: 0113
  Type:   Direct-Access  ANSI SCSI revision: 02
SCSI device sdj: 1000945 512-byte hdwr sectors (512 MB)
sdj: assuming Write Enabled
sdj: assuming drive cache: write through
 /dev/scsi/host15/bus0/target0/lun0: p1
Attached scsi removable disk sdj at scsi15, channel 0, id 0, lun 0
USB Mass Storage device found at 10

it created a  device 'sdj' to represent the card, with a single partition.

You need to make sure a handful of modules are installed. modprobe of
usb_storage _should_ have loaded the majority of them. In which case
you should see a whole bunch of neatstuff in dmesg.

You can check and see what modules are loaded by using 
lsmod 
or 
cat /proc/modules

I use a stock 2.6.8-1-k7 image and modules.

I also have udev and hotplug installed to handle the devices. 

It can be very complicated unfortunately. So I would suggest starting
to see if you have hotplug installed... maybe that will lead you.

-- 
Darryl
[EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: How to access external USB hard drive?

2004-12-24 Thread Darryl Clarke
On Fri, 24 Dec 2004 18:45:41 -0800 (PST), Matt Perry
[EMAIL PROTECTED] wrote:
 On Fri, 24 Dec 2004, Darryl Clarke wrote:
 
[snip]
 
 Do I need hotplug installed for the kernel to see the drive?  It's
 currently not installed.

Maybe? I can not confirm that. All I know is that it manages my usb
devices and it works for my 4 USB2 HDs.  At least it's easy to remove
if it doesn't work ;)

I can say that they use SCSI emulation, so maybe some scsi modules are missing.
I have sd_mod (scsi disk) and scsi_mod (base scsi support) loaded

-- 
Darryl
[EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sarge not showing all RAM

2004-12-23 Thread Darryl Clarke
On Thu, 23 Dec 2004 13:54:56 +0100, Björn Abt [EMAIL PROTECTED] wrote:
 Hello List,
 
 I have a HP DL360 G4 with 2GB ECC RAM and a P4-Xeon with 3 GHz. I installed 
 Debian Sarge netinst on this machine and after examining the system i found 
 out that top only shows 906MB RAM, even /proc/meminfo shows only 906MB. I 
 tried this with both the 2.4 (kernel-image-2.4.27-1-386) and 2.6 
 (kernel-image-2.6.8-1-386) Kernels. After that I ran memtestx86 to see if I 
 had malicious Memory, but it showed the full 2GB and it ran a whole day 
 without showing any errors.


I would suggest using kernel-image.2.4.27-1-686-smp or
kernel-image-2.6.8-1-686-smp for your particular machine.

It will enable the HyperThreading on your XEON processor, as well as
support all of your RAM.



Re: imap-addressbook connect failure

2004-12-23 Thread Darryl Clarke
On Thu, 23 Dec 2004 14:37:53 -0600, Ron Johnson [EMAIL PROTECTED] wrote:
 On Thu, 2004-12-23 at 15:26 -0500, Don Hayward wrote:
  We can't get to an address book on the imap server -- but we can login
 
 IMAP address book?
 
 IMAP is for email, and LDAP is for addresses.  What am I missing?

Pine supports an address book stored within an IMAP folder.

Unfortunately I can't answer Don's question.

-- 
Darryl
[EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: nVidia Video Drivers Need Reinstalled After Reboot

2004-12-20 Thread Darryl Clarke
On Mon, 20 Dec 2004 04:06:42 -0800, Scarletdown
[EMAIL PROTECTED] wrote:
 I just recently did a fresh install of Debian (Sarge - Net Install and
 dist-upgraded to Sid) with Kernel 2.6.9-1-K7.  After a bit of hair
 pulling, I managed to get the latest nVidia GeForce drivers installed.
 However, every time I reboot I have to reinstall the drivers, and then
 manually run gdm.  Any ideas how to fix this?

Everytime you reboot? That seems odd. The only time you should have to
install the nVidia (I'm assuming the non-free ones from nvidia's site)
is when you upgrade or change your kernel.

Typically my behaviour after a new kernel image is installed gdm will
fail because nvidia module fails to load. I rebuild the module(s),
modprobe it, restart gdm, and all is well. But not every reboot.

Since you are using unstable, I would suggest going to the devel lists
rather than the user list.

-- 
Darryl
[EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: usb flash stick on 2.6.8.1 kernel

2004-12-20 Thread Darryl Clarke
On Mon, 20 Dec 2004 17:09:53 +0530, Vijaya S [EMAIL PROTECTED] wrote:
  Hi all, 

[snip] 

 uname -r 2.6.8.1
 How to get usb flash stick working on 2.6.8.1 kernel debian sarge 

your uname -r result does not look like a debian kernel image.

A debian kernel result looks like:
halifax:~# uname -r
2.6.8-1-k7

Did you compile the kernel yourself? If you did, I would suggest
installing a proper debian built kernel image ( apt-get install
kernel-image-2.6.8-1-k7 ) and it will install proper modules as well.

-- 
Darryl
[EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: debian boot slow due to 2min 40 sec pause during exportfs in S20nfs-kernel-server

2004-12-20 Thread Darryl Clarke
On Mon, 20 Dec 2004 22:52:22 -0500, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Hi. I am using a notebook to share a debian mirror via a nfs mount.
 
 However the bootup of the notebook has become very slow, due to a 2minute 40
 second 'pause' in the script S20nfs-kernel-server in /etc/rc2.d while the
 program /sbin/exportfs -r is run. I am booting up not connected to the
 network.
 
 What is causing this timeout? I think that dns may be screwed up on the
 system... i know this cause I had to add the explicit ip addresses of device
 on the network to /etc/hosts to avoid a 10 second timeout for ssh between
 other systems and the notebook.
 
 I am struggling to understand cacheing nameservers.
 Of course my  nfs - exportfs issues  may be unrelated to my dns issues :). I
 just may be a multifactorial newbie/screwup here. :)
 Mitchell
 

Do you have host-name based authroity in your /etc/exports file?
ex:
/mirror host1,host2(ro)

If you do, NFS will try and resolve all hostnames first and cause a
really long timeout if it can not.

Just an idea...

-- 
Darryl
[EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Replacing Dying Harddisk (ReiserFS)

2004-12-19 Thread Darryl Clarke
Hi,

I was wondering if anybody has any wonderful ideas as to how I should
go about ghosting my existing linux system.

Norton Ghost only supports EXT2/3 for linux and I used ReiserFS so
using it is out of the question.

Does anybody have any ideas as to how I could transfer my existing
setup to the new drive?

Old Disk: 8gb /dev/hda
New Disk: 80gb /dev/sda (currently plugged into USB2, to be moved to /dev/hda)
Bootloader: Grub
Filesystems: ReiserFS

Hopefully there's a simple solution ;) Thanks!

-- 
Darryl
[EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Starting MySQL?

2004-08-30 Thread Darryl Clarke
well, typically, 
# invoke-rc.d mysql start

However, if you want tcp connections you'll have to change the default
settings in /etc/mysql/my.cnf to enable network support rather than
just socket connections.


On Mon, 30 Aug 2004 22:06:27 -0400, Ed Sutherland [EMAIL PROTECTED] wrote:
 How do I start mysql in Debian? Thanks.
 
 Ed
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 


-- 
Darryl
[EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Starting MySQL?

2004-08-30 Thread Darryl Clarke
On Mon, 30 Aug 2004 19:47:59 -0700, Brian Nelson [EMAIL PROTECTED] wrote:
 On Mon, Aug 30, 2004 at 10:12:43PM -0400, Darryl Clarke wrote:
  well, typically,
  # invoke-rc.d mysql start
 
 No, '/etc/init.d/mysql start' or 'service mysql start' (if you have
 sysvconfig installed).  invoke-rc.d should not be used by users.


Why not?

-- 
Darryl
[EMAIL PROTECTED]
http://smartssa.com / http://darrylclarke.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]