Re: Samba + CUPS + Windows 2000

2003-01-10 Thread Antoine Jacoutot
On Fri, 2003-01-10 at 23:52, Rus Foster wrote:
> Hi,
> Does anyone have a working smb.conf for cups printing that I could have a
> copy of as I just can't get it work here and starting to get annoyed at it
> all

here is a part of it:

print command = lpr -P %p -o raw %s -r
load printers = yes
printing = cups

[printers]
   comment = All Printers
   browseable = no
   path = /tmp
   printable = yes
   public = no
   writable = no
   create mode = 0700

Antoine


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




Re: Desktop Performance Issue

2002-12-28 Thread Antoine Jacoutot


-Original Message-
   >From: "Bruce Sass"<[EMAIL PROTECTED]>
   >Sent: 27/12/02 23:15:06
   >To: "[EMAIL PROTECTED]"<[EMAIL PROTECTED]>
   >Cc: "xio"<[EMAIL PROTECTED]>
   >Subject: Re: Desktop Performance Issue
 >On Fri, 27 Dec 2002, xio wrote:
   >
   >> Frank Gevaerts wrote:
   >> > Probably not needed. Try running hdparm to enable DMA.
   >>
   >> I agree.  First thing after a Debian install I always put the following
   >> line into /etc/init.d/bootmisc.sh:
   >>
   >> /sbin/hdparm -d 1 /dev/hd[abc]
   >>
   >> Works like a treat!
   >
   ># hdparm -d 1 /dev/hda
   >
   >/dev/hda:
   > setting using_dma to 1 (on)
   > HDIO_SET_DMA failed: Operation not permitted
   > using_dma=  0 (off)
   
Do it as root



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




Re: Excluding internal ipaddresses periodically from internet.

2002-12-27 Thread Antoine Jacoutot

>have a look at fwbuilder. It is a GUI iptables (and some other) firewall
   >configurator that supports time schedules. (I use it, but I never tried
   >the schedules.)
   
I think you need to patch the kernel and iptables in order to use rules by schedules 
in Woody.

Antoine


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




Re: ntpdate from cron -- DON'T DO THAT!

2002-12-22 Thread Antoine Jacoutot
On Sun, 2002-12-22 at 01:47, John Hasler wrote:
> Antoine writes:
> > I was one of the people using ntpdate in a cron job, although it was not
> > because I was lazy, all my servers have ntpd, I only used ntpdate on
> > clients.
> 
> Then your clients should have been connecting to the ntp daemons on your
> servers, so there should have been no impact on the public servers.

Hum... how do you know there were connecting on the ntp daemons on the
public servers... I never said that... and you know what, there were NOT
!
All my clients did ntpdate to local servers, and the servers (which were
using ntpd) are connecting to public servers.

So I don't think there was any impact on the public servers...

Voila


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




Re: ntpdate from cron -- DON'T DO THAT!

2002-12-21 Thread Antoine Jacoutot
On Sun, 2002-12-22 at 00:51, N. Thomas wrote:
> * Sonny Kupka <[EMAIL PROTECTED]> [2002-12-21 10:46:12 -0600]:
> > I have ntpdate installed on woody.. and it's not automagically keeping my 
> > system in sync..
> 
> Contrary to what you may have heard, ntpdate does not keep your system
> clock synced. Also ignore the foolish recommendations to run ntpdate
> from a cron job.
> 
> ntpdate works like date(1), but it sets your clock's time to that of an
> ntp server (or servers) instead of having it specified by you.
> 
> If you want to keep your clock in sync use ntpd -- that's what it was
> designed for. It uses many sophisticated algorithms and statistical
> methods to accomplish this. After some time, it can even figure out how
> "bad" your system clock is (i.e. its drift) and compensate for it, even
> if your network connection goes out.
> 
> Unfortunately, some people, instead of taking the time to read the ntp
> documentation and writing a proper ntp.conf file, took the easy route
> and started running ntpdate from cron.
> 
> This caused two problems, firstly it did not keep very good time:
> immediately after you called ntpdate, your clock would begin to drift
> again. And  more importantly, every hour or so, the ntp servers were
> being affected by a "thunderclap" effect, the result of everybody
> putting:
> 
> 0 * * * * /usr/local/bin/ntpdate
> 
> or something similar into their crontab files. The ntp daemon does not
> do this as it randomizes the time it waits between queries.
> 
> For this reason, Dr. Mills (ntp author) has deprecated ntpdate, and
> indeed, he will be removing it completely from a future release.
> 
> hth,
> thomas

Thank you very much for this information.
I was one of the people using ntpdate in a cron job, although it was not
because I was lazy, all my servers have ntpd, I only used ntpdate on
clients.
>From now, I'll only run ntpd on all my clients (and once again, I took
the time reading the ntpd documentation) and not ntpdate anymore.

Thanks.

Antoine



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




Re: ntpdate

2002-12-21 Thread Antoine Jacoutot
On Sat, 2002-12-21 at 17:46, Sonny Kupka wrote:
> I have ntpdate installed on woody.. and it's not automagically keeping my 
> system in sync..
> 
> I have to run ntpdate restart manually to get the clock updated.. Anyone 
> have a clue as to what I need to do to fix this situation?
> 

either use the ntp package or add a cron job to get ntpdate to sync:

# Time synchronization - every hour
0 * * * * /usr/sbin/ntpdate time.server.com > /dev/null 2>&1



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




Re: DMA woes

2002-12-17 Thread Antoine Jacoutot
# hdparm -d1 /dev/hda
> 
> /dev/hda:
>  setting using_dma to 1 (on)
>  HDIO_SET_DMA failed: Operation not permitted
>  using_dma=  0 (off)

You need to be root to do this...


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




Re: sound editing software under Debian Linux

2002-12-14 Thread Antoine Jacoutot
On Sat, 2002-12-14 at 18:07, Lukas Ruf wrote:
> Dear all,
> 
> does anyone know a good software to edit sound files (preferably WAV
> and mp3) that runs under Linux?
> 
> Thanks for any enlightenment!
> 

audacity



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




Re: Apache: mod_bandwidth

2002-12-13 Thread Antoine Jacoutot
On Fri, 2002-12-13 at 15:18, Paul Johnson wrote:
> OK, how do I get mod_bandwidth to work?  I can't find any accurate or
> complete documentation about it, and it's really starting to get a bit
> annoying at this point.
> 
> I'm fairly sure mod_bandwidth is the answer to my problem.
> 
> What I'm trying to go for is to scale down how much bandwidth requests
> to specific directories can suck up, failing that, the entire
> webserver.
> 
> What sparse documentation there is in the mod_bandwidth source does
> not appear accurate or complete, so I have to wonder if anybody's
> gotten this to work.
>

I did, but not on Debian, I keep getting errors and it doesn't work...
On Gentoo, it works though.

Antoine



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




Re: Cracked cracker?

2002-12-12 Thread Antoine Jacoutot
On Thu, 2002-12-12 at 16:55, Michael Olds wrote:
> This is a small sample from my access log. Can someone explain to me why
> this person would repeatedly attempt access to my computer using the same IP
> and the same requests over and over? This isn't to the point of being a DOS
> attack; can't they see I don't have any of these things that they think will
> enable them to crack my machine? Or is there something else going on here?

My apache access.log is full of those too...
I guess that must be some king of automated attack against IIS servers,
so I never worried.

Antoine



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




Re: Questions about horde2

2002-12-09 Thread Antoine Jacoutot
Selon Mikael Jirari <[EMAIL PROTECTED]>:

> Hi List,
> 
> I successfully installed horde2/imp/turba and the calendar program.
> 
> Basic action are working, i.e sending receiving email but :
> 
> I can't create a new folder for my mails, I have this error in the logs
> Failed retrieving prefs for mikael [on line 267 of
> "/usr/share/horde2/lib/Prefs/sql.php"]
> 
> I can't add new stuff in my calendar
> 
> I can't change my prefs.
> 
> If anybody have had the same problem, I'll really appreciate help about how
> he did resolve that issue.

It looks like you either:
- didn't install mysql
- didn't configure mysql (create the tables.. for horde)

Antoine


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




Re: BIND9 DDNS features

2002-12-05 Thread Antoine Jacoutot
On Thu, 2002-12-05 at 21:53, Expert User wrote:
> Has anybody successfully used the DDNS features of bind9?
> 
> I am trying to setup bind 9, and a dhcp server which can update the DNS
> records when there is a new host connected to network...
> 
> I went through all the docs but was not able to get it working.
> 
> finally I went back to bind8 and installed dhcp-dns package that does
> the same thing through perl scripts and cron jobs.
> 
> 

I did it.

In named.conf:

zone "bla_bla_bla" {
type master;
file "/etc/bind/db.bla_bla_bla";
allow-update {localhost;};
};

...

In dhcpd.conf:

ddns-update-style interim;
ignore client-updates;

zone bla_bla_bla {
primary 127.0.0.1;
}




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




Re: Power Point reader

2002-12-05 Thread Antoine Jacoutot
On Thu, 2002-12-05 at 17:37, stan wrote:
> What tool can I use to view  power point file?
> 

$ apt-cache search powerpoint
ppthtml - A program for converting Microsoft Power Point Files .ppt

And of course... OpenOffice.org

Antoine



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




Re: Sub-process /usr/bin/dpkg returned an error code

2002-12-04 Thread Antoine Jacoutot
On Thu, 2002-12-05 at 01:07, Seneca wrote:
> On Wed, Dec 04, 2002 at 04:25:43PM +0100, Antoine Jacoutot wrote:
> > I installed for some tests the cyrus-imap server.
> > Today I did:
> > apt-get --purge remove cyrus-imap
> > I saw that the cyrus user was not removed from /etc/passwd, so I did:
> > userdel cyrus
> > 
> > And now, I can't install packages anymore, I get the followinf error:
> > dpkg: syntax error: unknown user `cyrus' in statusoverride file 
> > E: Sub-process /usr/bin/dpkg returned an error code (2)
> > 
> > Anyone has an idea how to resolve this problem without recreating the cyrus user
> > which I don't need...
> 
> I'm not sure if this is the best way to do it, but there is a file
> called /var/lib/dpkg/statoverride. See if there is a line starting with
> "cyrus". If there is, make a backup of the file then remove the line
> from the file.

It worked nicely, thank you very much for that.

Best regards.

Antoine


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




Sub-process /usr/bin/dpkg returned an error code

2002-12-04 Thread Antoine Jacoutot
Hi !

I installed for some tests the cyrus-imap server.
Today I did:
apt-get --purge remove cyrus-imap
I saw that the cyrus user was not removed from /etc/passwd, so I did:
userdel cyrus

And now, I can't install packages anymore, I get the followinf error:
dpkg: syntax error: unknown user `cyrus' in statusoverride file 
E: Sub-process /usr/bin/dpkg returned an error code (2)

Anyone has an idea how to resolve this problem without recreating the cyrus user
which I don't need...

Thanks in advance.

-- 
Antoine Jacoutot 
Debian GNU/Linux 
[EMAIL PROTECTED] 
http://www.lphp.org 
"Computers are like air conditioners: 
they stop working properly when you open Windows..." 





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




mplayer error

2002-12-03 Thread Antoine Jacoutot
Hi !

I've been using mplayer from marillat.free.fr for a while now anf I
never had any problem with it.
But this morning, it suddenly crashed. I reinstalled it but that didn't
do anything.
Here is the error message I have:


$ mplayer 
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer 0.90pre10-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6,
Stepping: 6)
MMX2 supported but disabled
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX SSE

[cfg] read config file: /home/ajacoutot/.mplayer/gui.conf
vo: X11 running at 1600x1200 with depth 24 and 32 bpp (":0" => local
display)
Reading /home/ajacoutot/.mplayer/codecs.conf: can't open
'/home/ajacoutot/.mplayer/codecs.conf': No such file or directory
Reading /etc/codecs.conf: 44 audio & 110 video codecs
font: can't open file: /home/ajacoutot/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (495 chars)
Failed to open /dev/rtc: Permission denied (mplayer should be setuid
root or /dev/rtc should be readable by the user.)
Using usleep() timing
Can't open input config file /home/ajacoutot/.mplayer/input.conf : No
such file or directory
Input config file /etc/input.conf parsed : 50 binds
Setting up lirc support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed opening lirc support!
You won't be able to use your remote control


MPlayer interrupted by signal 11 in module: unknown 
- MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with
--enable-debug and make a 'gdb' backtrace and disassembly. For details,
see DOCS/bugreports.html section 5.b.
- MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer
code _or_ in your drivers _or_ in your gcc version. If you think it's
MPlayer's fault, please read DOCS/bugreports.html and follow
instructions there. We can't and won't help unless you provide these
informations when reporting a possible bug.
**

I do have the rtc module loaded, and the device accessible only by root:
crw-rw1 root root  10, 135 Mar 14  2002 /dev/rtc

If I launch mplayer as root, it works... So I guess it has something to
do with the /dev/rtc permission that should be rw for all users.
The  strange thing is that it always worked until this morning...
Nothing new on the machine...

If you have any idea.

Thanks in advance.

Antoine



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




Re: debian user vs. browser plug-ins

2002-11-29 Thread Antoine Jacoutot

> > > Flash and realplayer are already in debian, and you can get java debs from 
> > > blackdown.
> > 
> > I can't find RealPlayer...
> 
> The realplayer contrib installer had a bucketload of bugs and was
> recently removed as a result.

So there's a need for a new one.


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




Re: debian user vs. browser plug-ins

2002-11-29 Thread Antoine Jacoutot
On Fri, 2002-11-29 at 13:23, Tom Badran wrote:
> On Friday 29 Nov 2002 10:04 am, Antoine Jacoutot wrote:
> 
> > Why not create a wrapper script that would download all those plug-ins
> > (Flash+Java+Real Player...).
> > Is this allowed ?
> >
> > I think it would be a good idea to include this in Debian, so you could
> > apt-get the plugins without violating the distribution licence.
> 
> Flash and realplayer are already in debian, and you can get java debs from 
> blackdown.

I can't find RealPlayer...



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




Re: debian user vs. browser plug-ins

2002-11-29 Thread Antoine Jacoutot
> The problem with Java, Flash and Acrobat is that they're non-Free.
> Debian isn't allowed to distribute them.  There are other solutions (you
> can get a Java plugin from blackdown.org, f'r instance), not until there
> are Free versions, it can't be integrated into Debian.  If you want it
> to work, go and complain to Sun, Macromedia and Adobe and tell them to
> just Free their software and make the world a better place.

Why not create a wrapper script that would download all those plug-ins
(Flash+Java+Real Player...).
Is this allowed ?

I think it would be a good idea to include this in Debian, so you could
apt-get the plugins without violating the distribution licence.

Or am I wrong ?

Antoine



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




mod_bandwidth

2002-11-26 Thread Antoine Jacoutot
Hi !

I want to use mod_bandwidth with Apache on Woody.
My configuration should be ok since I cutted and pasted it from a redhat server
with mod_bandwidth working and enabled.
However, when the server access a directory that is in mod_bandwith config, I
get the following error in the logs:
[error] (2)No such file or directory: mod_bandwidth : Can't create/access master
file /var/state/apache/mod-bandwidth/master/8514:2501867

So, I chmod 777 on /var/state/apache/mod-bandwidth/master/, but it still does
not work.
Am I missing anything ?

Thanks in advance.

-- 
Antoine Jacoutot 
Debian GNU/Linux 
[EMAIL PROTECTED] 
http://www.lphp.org 
"Computers are like air conditioners: 
they stop working properly when you open Windows..." 


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




Re: Postfix server acting as relay !!!!

2002-11-26 Thread Antoine Jacoutot
Selon Curtis Vaughan <[EMAIL PROTECTED]>:

> Well, I took your advice, except for the check_relay_domains, but still 
> I am relaying. I guess the intended recipients have FQDNs.
> 
> check_relay_domains I am not using because originally that is what I 
> did, but it would only relay to those domains.  What if an authorized 
> user wishes to send a letter to someone at yahoo.com?  It's not in the 
> relay domains, therefore it is dropped.
> 

Sorry it didn't help... I myself am using pop-before-smtp authentication, so I
can't really help you...


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




Re: Postfix server acting as relay !!!!

2002-11-25 Thread Antoine Jacoutot
On Tue, 2002-11-26 at 01:22, Curtis Vaughan wrote:
> I thought I had fixed my server so it wouldn't relay, but I just now 
> looked at the queue and OH MY GOD!!!
> 
> Here is my main.cf
> 
> Any ideas

You could add a line like this:
smtpd_recipient_restrictions = permit_mynetworks,
reject_non_fqdn_recipient, check_relay_domains



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




nautilus+nis

2002-10-19 Thread Antoine Jacoutot
Hi,

I'm having an error launching Nautilus on Debian Woody.
I'm using NIS for authentification and /home is mounted over nfs.

Here is what I get when launching Nautilus as a regular user (as root, it works):

Eel-WARNING **: GConf error:
  Failed to contact configuration server (a likely cause of this is that you
have an existing configuration server (gconfd) running, but it isn't reachable
from here - if you're logged in from two machines at once, you may need to
enable TCP networking for ORBit)

Any idea ?

Thanks in advance for any suggestion...

Antoine


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




apache/php memory exhausted

2002-06-18 Thread Antoine Jacoutot
Hi !

I have a very big problem with squirrelmail (again !).
I thank all the people who helped me with my previous problem.

What's happening is that when I want to compose / reply a message, I get
this error:

"Fatal error: Allowed memory size of ... exhausted ... in
/usr/share/squirrelmail/functions/imap_general.php"

Besides, the apache process goes up to 99.99% of CPU time !
The message get sent anyway but with no indication whatsoever and
nothing in the sent folder.

I changed the value in php.ini so that:
max_execution_time = 180
memory_limit = 80M

I would suppose it is a php problem, but I don't have any issue with my
other php interfaces.
By the way, I'm using php4.

-- 
Antoine Jacoutot
Debian GNU/Linux 3.0 Woody
[EMAIL PROTECTED]
http://linuxfr.dyndns.org
-



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



little postfix problem...

2002-06-18 Thread Antoine Jacoutot
Hi !

I'm having a very simple problem with postfix and aliases.
Here is an extract of my /etc/aliases file:

webmaster:  root
root:   user
postmaster: root

I issued the command $postmap /etc/aliases

And when someone send a mail to [EMAIL PROTECTED], I don' receive
it.
My mail.log contains this:

Jun 18 15:11:09 srv01 postfix/local[17300]: 828CCB69FA:
to=<[EMAIL PROTECTED]>, relay=local, delay=0, status=bounced
(unknown user: "webmaster")

Thanks a lot in advance for helping.

Antoine



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



imap / squirrelmail

2002-06-18 Thread Antoine Jacoutot
Hi !

I'm using imap and squirrelmail on a Debian Woody.
I have a problem with one of my users: only the INBOX folder is
available on his imap box, the Drafs, Sent and Trash folders are
missing.
I tried to recreate the account, but it didn't change anything.
Anyone has an idea how I can have those forlders back ?
Thanks.

Antoine





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



sound problem, anyone willing to help ?

2002-05-24 Thread Antoine Jacoutot
Hi everybody !

I'm posting my question again since no one answered before --> tell me
if it's not the right list.

I'm facing a very annoying problem: I cannot record any sound.
First of all, here is my configuration: Woody+SBlive Oss drivers+kernel
2.4.18-686.
I check the mixer settings for recording correctly.
My sound card is working properly (I can hear the sound from any
possible source).
But as soon as I want to record a sound, it crashes/doesn't work.
Here is the output of a "strace" on sox, for recording. I'd really
appreciate if anyone could help me with that.
Thank you very much in advance and sorry for the "not so good" English.

[EMAIL PROTECTED]:~$ strace sox -t ossdsp -c 2 -r 44100 -s -w /dev/dsp
-t wav Desktop/out.wav
execve("/usr/bin/sox", ["sox", "-t", "ossdsp", "-c", "2", "-r", "44100",
"-s", "-w", "/dev/dsp", "-t", "wav", "Desktop/out.wav"], [/* 21 vars
*/]) = 0
uname({sys="Linux", node="linuxsta", ...}) = 0
brk(0)  = 0x8098700
open("/etc/ld.so.preload", O_RDONLY)= -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=34009, ...}) = 0
old_mmap(NULL, 34009, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40014000
close(3)= 0
open("/lib/libm.so.6", O_RDONLY)= 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2007\0"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0644, st_size=130088, ...}) = 0
old_mmap(NULL, 132708, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x4001d000
mprotect(0x4003d000, 1636, PROT_NONE)   = 0
old_mmap(0x4003d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0x1f000) = 0x4003d000
close(3)= 0
open("/usr/lib/libogg.so.0", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\17"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0644, st_size=12744, ...}) = 0
old_mmap(NULL, 15824, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x4003e000
mprotect(0x40041000, 3536, PROT_NONE)   = 0
old_mmap(0x40041000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0x2000) = 0x40041000
close(3)= 0
open("/usr/lib/libvorbis.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P*\0\000"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0644, st_size=121624, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40042000
old_mmap(NULL, 124704, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40043000
mprotect(0x4005e000, 14112, PROT_NONE)  = 0
old_mmap(0x4005e000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0x1a000) = 0x4005e000
close(3)= 0
open("/usr/lib/libvorbisfile.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\25\0\000"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0644, st_size=21292, ...}) = 0
old_mmap(NULL, 24372, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40062000
mprotect(0x40067000, 3892, PROT_NONE)   = 0
old_mmap(0x40067000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0x4000) = 0x40067000
close(3)= 0
open("/usr/lib/libvorbisenc.so.0", O_RDONLY) = 3
read(3, "[EMAIL PROTECTED]"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0644, st_size=466120, ...}) = 0
old_mmap(NULL, 469200, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40068000
mprotect(0x40072000, 428240, PROT_NONE) = 0
old_mmap(0x40072000, 430080, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x9000) = 0x40072000
close(3)= 0
open("/lib/libc.so.6", O_RDONLY)= 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\30\222"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1153784, ...}) = 0
old_mmap(NULL, 1166560, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x400db000
mprotect(0x401ee000, 40160, PROT_NONE)  = 0
old_mmap(0x401ee000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0x113000) = 0x401ee000
old_mmap(0x401f4000, 15584, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401f4000
close(3)= 0
munmap(0x40014000, 34009)   = 0
brk(0)  = 0x8098700
brk(0x8098a30)  = 0x8098a30
brk(0x8099000)  = 0x8099000
open("/dev/dsp", O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFCHR|0660, st_rdev=makedev(14, 3), ...}) = 0
ioctl(3, SNDCTL_DSP_RESET, 0)   = 0
ioctl(3, SNDCTL_DSP_GETFMTS, 0xb96c) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xb96c) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xb96c) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xb96c) = 0
ioctl(3, SNDCTL_DSP_GETBLKSIZE 
+++ killed by SIGSEGV +++

-- 
Antoine Jacoutot
Debian GNU/Linux Woody
[EMAIL PROTECTED]
http://linuxfr.dyndns.org
-



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



recording sound crashes

2002-05-22 Thread Antoine Jacoutot
Hi everybody !

I'm facing a very annoying problem: I cannot record any sound.
First of all, here is my configuration: Woody+SBlive Oss drivers+kernel
2.4.18-686.
I check the mixer settings for recording correctly.
My sound card is working properly (I can hear the sound from any
possible source).
But as soon as I want to record a sound, it crashes/doesn't work.
Here is the output of a "strace" on sox, for recording. I'd really
appreciate if anyone could help me with that.
Thank you very much in advance and sorry for the "not so good" English.

[EMAIL PROTECTED]:~$ strace sox -t ossdsp -c 2 -r 44100 -s -w /dev/dsp
-t wav Desktop/out.wav
execve("/usr/bin/sox", ["sox", "-t", "ossdsp", "-c", "2", "-r", "44100",
"-s", "-w", "/dev/dsp", "-t", "wav", "Desktop/out.wav"], [/* 21 vars
*/]) = 0
uname({sys="Linux", node="linuxsta", ...}) = 0
brk(0)  = 0x8098700
open("/etc/ld.so.preload", O_RDONLY)= -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=34009, ...}) = 0
old_mmap(NULL, 34009, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40014000
close(3)= 0
open("/lib/libm.so.6", O_RDONLY)= 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2007\0"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0644, st_size=130088, ...}) = 0
old_mmap(NULL, 132708, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x4001d000
mprotect(0x4003d000, 1636, PROT_NONE)   = 0
old_mmap(0x4003d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0x1f000) = 0x4003d000
close(3)= 0
open("/usr/lib/libogg.so.0", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\17"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0644, st_size=12744, ...}) = 0
old_mmap(NULL, 15824, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x4003e000
mprotect(0x40041000, 3536, PROT_NONE)   = 0
old_mmap(0x40041000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0x2000) = 0x40041000
close(3)= 0
open("/usr/lib/libvorbis.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P*\0\000"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0644, st_size=121624, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40042000
old_mmap(NULL, 124704, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40043000
mprotect(0x4005e000, 14112, PROT_NONE)  = 0
old_mmap(0x4005e000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0x1a000) = 0x4005e000
close(3)= 0
open("/usr/lib/libvorbisfile.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\25\0\000"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0644, st_size=21292, ...}) = 0
old_mmap(NULL, 24372, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40062000
mprotect(0x40067000, 3892, PROT_NONE)   = 0
old_mmap(0x40067000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0x4000) = 0x40067000
close(3)= 0
open("/usr/lib/libvorbisenc.so.0", O_RDONLY) = 3
read(3, "[EMAIL PROTECTED]"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0644, st_size=466120, ...}) = 0
old_mmap(NULL, 469200, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40068000
mprotect(0x40072000, 428240, PROT_NONE) = 0
old_mmap(0x40072000, 430080, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x9000) = 0x40072000
close(3)= 0
open("/lib/libc.so.6", O_RDONLY)= 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\30\222"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1153784, ...}) = 0
old_mmap(NULL, 1166560, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x400db000
mprotect(0x401ee000, 40160, PROT_NONE)  = 0
old_mmap(0x401ee000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0x113000) = 0x401ee000
old_mmap(0x401f4000, 15584, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401f4000
close(3)= 0
munmap(0x40014000, 34009)   = 0
brk(0)  = 0x8098700
brk(0x8098a30)  = 0x8098a30
brk(0x8099000)  = 0x8099000
open("/dev/dsp", O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFCHR|0660, st_rdev=makedev(14, 3), ...}) = 0
ioctl(3, SNDCTL_DSP_RESET, 0)   = 0
ioctl(3, SNDCTL_DSP_GETFMTS, 0xb96c) = 0
ioctl(3, SOUND_PCM_READ_BITS, 0xb96c) = 0
ioctl(3, SNDCTL_DSP_STEREO, 0xb96c) = 0
ioctl(3, SOUND_PCM_READ_RATE, 0xb96c) = 0
ioctl(3, SNDCTL_DSP_GETBLKSIZE 
+++ killed by SIGSEGV +++

-- 
Antoine Jacoutot
Debian GNU/Linux Woody
[EMAIL PROTECTED]
http://linuxfr.dyndns.org
-



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



No certificate files found with proftpd on woody

2002-05-15 Thread Antoine Jacoutot
Hi !

I'm having a odd error when I launch proftpd:

srv01:~# /etc/init.d/proftpd restart
Restarting professional ftp daemon.proftpd.
.. - No certificate files found!
proftpd.
 done.

--> what is this "No certificate files found" error ?
Any idea ?
Thanks.

Antoine



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



X11Forwarding --> pbm solved

2002-05-14 Thread Antoine Jacoutot
Hi !

I resolved my X11Forwarding problem under ssh.
In fact, I missed the xbase-clients.

Thank you all for helping.

Antoine





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



usb permissions + export display

2002-05-12 Thread Antoine Jacoutot
Hello everybody !

I'm new to Debian but not (quite!) to Linux.
I used to run RedHat, and today I'm under Woody. I have to little
problems that I never had to deal with under RH:

1. When I plug my didgital usb camera, I can only access it under root,
not as a regular user. I know this is because /proc/bus/usb/000/...
entries are accessible only by root, and I can't change it since as soon
as I re-plug my camera, the permissions are back only for root. Someone
mentionned the hotplug package (right now, I'm using usbmgr, I don't
really know the difference), but I read the manual and didn't see
anything helpfull regarding my problem.

2. I want to export my display on anothre computer. On the server
running X, I issued the following command: "xhost +", and on the client,
when I launch an application, like "xterm -display server:0", I get this
error message: "xterl Xt error: Can't open display: server:0".
Isn't it odd since my X server is supposed to accept connections from
any host ?

Thanks in advance for your help in those 2 problems.

Antoine
ps: I hope you understood my questions because of my poor English.




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



affichage déporté

2002-05-12 Thread Antoine Jacoutot
Bonjour,

J'ai un petit pbm pour déporté mon affichage X.
Sur le poste ou mon serveur X tourne, j'ai fait "xhost +".
Sur le client, je lance l'applicarion "xterm -display serveur:0"
Et il me dit "Can't open display: serveur:0.
Quelqu'un aurait-il une idée pour remédier à ce problème, car à part un
xhost +, je ne vois pas ce que je peux faire.

Merci.

Antoine





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



/dev/usb

2002-05-11 Thread Antoine Jacoutot
Hello !

Is there a package in Woody that would create the entries in /dev/usb ?
I have 2 Woody boxes and one of them has /dev/usb/... (all the nodes)
and the other one only has /dev/usbmouse...
Why is that ? I need to have /dev/usb entries since I use an usb
scanner, usb printer...

Thanks for your answer.

Antoine





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



kernel source and image

2002-05-03 Thread Antoine Jacoutot

Hi !

I was wondering if kernel-image-2.4.18-686 and kernel-source-2.4.18
matched ?
I'm asking that because I'm having a lot of problem insmoding new
compiled modules (lots of unresolved symbols...).
Thanks

Antoine




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