Re: fstab to mount as hal does it

2009-06-11 Thread Benjamin MENUET
Hi Seb,

You can do this by following these steps:

1°) Install packages: usbmount, hal and pmount

2°) Edit the file /etc/usbmount/usbmount.conf and modify these lines like
that:

FILESYSTEMS="ext2 ext3 vfat"
FS_MOUNTOPTIONS="fstype=vfat,gid=floppy,dmask=0007,fmask=0117"

3°) Add your user to the group plugdev:

# adduser  plugdev

4°) To finish remount your fs:

mount -a -o remount

Or reboot your computer.

Ben

2009/6/11 Seb 
>
> Hi,
>
> I think it's hald daemon that mounts an external USB hard drive to
> /media/DISK_LABEL whenever one clicks on its icon in a file browser or
> the like.  This works very nicely if you're at the desktop, plug in a
> device and want to access it for a while, then unplug it and go away
> with your USB drive.  Permissions are left untouched in the USB tree,
> and /media/DISK_LABEL has root permisions.  It's not practical though if
> the drive is always by the desktop, as backup space or normal
> filesystem.  I have a few such devices and would like to do what hal
> does here, and avoid having to create a directory under /media with the
> label of all the drives, and worry about all the different mounting
> options and any other tricks hal does here.  Is there a way to have any
> of these devices that are plugged in at boot up be mounted
> automatically, to avoid having to mount them manually after booting?
> Thanks.
>
>
> --
> Seb
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmas...@lists.debian.org
>


Re: Create a service

2009-06-26 Thread Benjamin MENUET
Hi,

You can use daemontools.
You can find information on that site: http://cr.yp.to/daemontools.html.

It does exactly what you ask.
I have used daemontools for restarting automatically a python application.

Ben

2009/6/26 Suno Ano 

>
>  Jesus> Hello, I created an aplication with Mono to test a hardware, but
>  Jesus> I need to create a service to run this aplication, the problem
>  Jesus> is that I need that if this service go down it has to go up
>  Jesus> itself. Someone knows how can I make it or where can i get some
>  Jesus> help?
>
> yes, you want to monitor it and restart it automatically if it, for some
> reason, goes belly-up. There http://supervisord.org/ you go.
>


Re: Can VMware ever talk to USB scanners?

2009-07-15 Thread Benjamin MENUET
Hi,

Check the right of your driver in /dev on your Lenny.
The user who run VMware need to have an access rx on the driver.

Ben

2009/7/11 Steve Kleene 

> On Thu, 9 Jul 2009 21:11:33 -0400,  I asked:
>
> > Has anyone here gotten a USB scanner to work from VMware 2?
>
> On Fri, 10 Jul 2009 13:55:41 -0700, Kevin Ross 
> replied:
>
> > I can't help you with your VMWare problems, but have you tried
> > VirtualBox instead of VMWare?
>
> No, I haven't gotten around to that.  I was pretty happy with VMware except
> for the scanner.  In the Win98 days, I used to like Win4Lin, until that
> product went down the tubes.  Maybe I'll have to switch again.
>
> Thanks.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
>
>


Re: problem flash_player_10 on ubuntu 9.04 amd64

2009-08-31 Thread Benjamin MENUET
Hi,

It's because the line below is wrong :

sudo cp install_flash_player_10_linux/libflashplayer.so
/usr/lib/mozilla/plugins/

Because when you untar the archive install_flash_player_10_linux.tar.gz, it
doesn't create the directory install_flash_player_10_linux it juste put the
file libflashplayer.so in the current directory.

So you need to replace the wrong line by the line below :

sudo cp libflashplayer.so /usr/lib/mozilla/plugins/

Ben.

2009/8/31 Lisi Reisz 

> On Monday 31 August 2009 09:08:16 Benoit durand wrote:
> > i've problem with flash_player_10 on ubuntu amd64.
>
> Hi!
>
> There could be various reasons why you have not so far had a reply.  One
> could
> obviously be that it is not very long since you posted.
>
> But another is that this is a Debian users group and your question is about
> Ubuntu.  You would do better to ask an Ubuntu question on the Ubuntu users
> list:
>
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
> Lisi
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
>
>


Re: 4gb seg fixup

2009-10-08 Thread Benjamin MENUET
2009/10/8 Tomasz Pajor 

>
>  How can I fix this?
>
> 2009-10-07T15:39:08+00:00 kernel: printk: 10521 messages suppressed.
> 2009-10-07T15:39:08+00:00 kernel: 4gb seg fixup, process python2.6 (pid
> 1282), cs:ip 73:00192e14
> 2009-10-07T15:39:13+00:00 kernel: printk: 7903 messages suppressed.
> 2009-10-07T15:39:13+00:00 kernel: 4gb seg fixup, process nginx (pid
> 1257),
> cs:ip 73:00193c8e
> 2009-10-07T15:39:18+00:00 kernel: printk: 7983 messages suppressed.
> 2009-10-07T15:39:18+00:00 kernel: 4gb seg fixup, process python2.6 (pid
> 1282), cs:ip 73:00192e14
> 2009-10-07T15:39:23+00:00 kernel: printk: 7923 messages suppressed.
> 2009-10-07T15:39:23+00:00 kernel: 4gb seg fixup, process nginx (pid
> 1305),
> cs:ip 73:00253c8e
> 2009-10-07T15:39:28+00:00 kernel: printk: 25069 messages suppressed.
> 2009-10-07T15:39:28+00:00 kernel: 4gb seg fixup, process python2.6 (pid
> 1282), cs:ip 73:00192e14
> 2009-10-07T15:39:33+00:00 kernel: printk: 13009 messages suppressed.
> 2009-10-07T15:39:33+00:00 kernel: 4gb seg fixup, process python2.6 (pid
> 1282), cs:ip 73:00192e14
> 2009-10-07T15:39:38+00:00 kernel: printk: 13571 messages suppressed.
> 2009-10-07T15:39:38+00:00 kernel: 4gb seg fixup, process nginx (pid
> 1305),
> cs:ip 73:00253c8e
> 2009-10-07T15:39:43+00:00 kernel: printk: 13671 messages suppressed.
> 2009-10-07T15:39:43+00:00 kernel: 4gb seg fixup, process nginx (pid
> 1305),
> cs:ip 73:00253c8e
> 2009-10-07T15:39:48+00:00 kernel: printk: 8794 messages suppressed.
> 2009-10-07T15:39:48+00:00 kernel: 4gb seg fixup, process nginx (pid
> 1305),
> cs:ip 73:00253c8e
> 2009-10-07T15:39:53+00:00 kernel: printk: 5049 messages suppressed.
> 2009-10-07T15:39:53+00:00 kernel: 4gb seg fixup, process nginx (pid
> 1305),
> cs:ip 73:00253c8e
>
>
>
 Which kernel are you using ?

 I remember that issue with Xen and /lib/ssl, but don't known about
 what could be happen in your case.




>>> I'm running this machine on amazon ec2, kernel is 2.6.21.7-2.fc8xen.
>>> debian is up-to-date squeeze
>>>
>>>
>> Maybe:
>> http://wiki.debian.org/Xen#A4gbsegfixuperrors
>>
>>
> I've got this done already, and I'm still getting this messages, any other
> suggestions?
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a
> subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>
> Hi,

Have you install libc6-xen?

Ben


Re: 4gb seg fixup

2009-10-08 Thread Benjamin MENUET
In which machine do you have this issue?

On your dom-0 or on a dom-U?


2009/10/8 Tomasz Pajor 

> Benjamin MENUET wrote:
>
>>
>>
>> 2009/10/8 Tomasz Pajor mailto:ni...@puffy.pl>>
>>
>>
>>
>>How can I fix this?
>>
>>2009-10-07T15:39:08+00:00 kernel: printk: 10521
>>messages suppressed.
>>2009-10-07T15:39:08+00:00 kernel: 4gb seg fixup,
>>process python2.6 (pid
>>1282), cs:ip 73:00192e14
>>2009-10-07T15:39:13+00:00 kernel: printk: 7903
>>messages suppressed.
>>2009-10-07T15:39:13+00:00 kernel: 4gb seg fixup,
>>process nginx (pid
>>1257),
>>cs:ip 73:00193c8e
>>2009-10-07T15:39:18+00:00 kernel: printk: 7983
>>messages suppressed.
>>2009-10-07T15:39:18+00:00 kernel: 4gb seg fixup,
>>process python2.6 (pid
>>1282), cs:ip 73:00192e14
>>2009-10-07T15:39:23+00:00 kernel: printk: 7923
>>messages suppressed.
>>2009-10-07T15:39:23+00:00 kernel: 4gb seg fixup,
>>process nginx (pid
>>1305),
>>cs:ip 73:00253c8e
>>2009-10-07T15:39:28+00:00 kernel: printk: 25069
>>messages suppressed.
>>2009-10-07T15:39:28+00:00 kernel: 4gb seg fixup,
>>process python2.6 (pid
>>1282), cs:ip 73:00192e14
>>2009-10-07T15:39:33+00:00 kernel: printk: 13009
>>messages suppressed.
>>2009-10-07T15:39:33+00:00 kernel: 4gb seg fixup,
>>process python2.6 (pid
>>1282), cs:ip 73:00192e14
>>2009-10-07T15:39:38+00:00 kernel: printk: 13571
>>messages suppressed.
>>2009-10-07T15:39:38+00:00 kernel: 4gb seg fixup,
>>process nginx (pid
>>1305),
>>cs:ip 73:00253c8e
>>2009-10-07T15:39:43+00:00 kernel: printk: 13671
>>messages suppressed.
>>2009-10-07T15:39:43+00:00 kernel: 4gb seg fixup,
>>process nginx (pid
>>1305),
>>cs:ip 73:00253c8e
>>2009-10-07T15:39:48+00:00 kernel: printk: 8794
>>messages suppressed.
>>2009-10-07T15:39:48+00:00 kernel: 4gb seg fixup,
>>process nginx (pid
>>1305),
>>cs:ip 73:00253c8e
>>2009-10-07T15:39:53+00:00 kernel: printk: 5049
>>messages suppressed.
>>2009-10-07T15:39:53+00:00 kernel: 4gb seg fixup,
>>process nginx (pid
>>1305),
>>cs:ip 73:00253c8e
>>
>>
>>Which kernel are you using ?
>>
>>I remember that issue with Xen and /lib/ssl, but don't
>>known about
>>what could be happen in your case.
>>
>>
>>
>>I'm running this machine on amazon ec2, kernel is
>>2.6.21.7-2.fc8xen.
>>debian is up-to-date squeeze
>>
>>Maybe:
>>http://wiki.debian.org/Xen#A4gbsegfixuperrors
>>
>>I've got this done already, and I'm still getting this messages,
>>any other suggestions?
>>
>>
>>
>>--To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
>><mailto:debian-user-requ...@lists.debian.org> with a subject of
>>"unsubscribe". Trouble? Contact listmas...@lists.debian.org
>><mailto:listmas...@lists.debian.org>
>>
>> Hi,
>>
>> Have you install libc6-xen?
>>
> Yes.
>
> app-0:/etc/apache2# dpkg -l|grep libc6-xen
> ii  libc6-xen  2.9-25 GNU C
> Library: Shared libraries [Xen version
>