Re: [expert] SNF and wget
Laurent CREPET schrieb: > Since I installed a real firewall on an old P166, I can > send e-mails, browse the web, but I can't use wget from > my other systems (the one who is connected to the internet > through the firewall). > > wget takes some times to connect to ftp.kernel.org, and > then I got this error: > > --20:39:21-- ftp://ftp.kernel.org/pub/linux/kernel/testing/*.bz2 > (try: 2) => `ftp.kernel.org/pub/linux/kernel/testing/.listing' > Connecting to ftp.kernel.org:21... connected! > Logging in as anonymous ... Logged in! > ==> TYPE I ... done. ==> CWD pub/linux/kernel/testing ... done. > ==> PORT ... done.==> LIST ... > Error in server response, closing control connection. > Retrying. > > For ftp://ftp.free.fr/mirrors/ftp.mandrake-linux.com/Mandrake/updates/8.0/, > it takes too much time before getting anything... Using ncftp go faster and > I successfully download a file from this URLS... > > Do I need to open some ports ? to enable something (squid is > enable in transparent mode) ? The reason for this behaviour is that wget, as well as other Webbrowsers uses passive ftp mode. Control connections are working fine, but data connections will fail because they are normally established on a pseudo random port (both client and server port) when using passive ftp. There are two ways to solve your Problem 1. (unsafe) open all ports above 1024 so that an connection on any unprivileged port may be opened 2. (safe) force wget to use non-passive ftp by setting passive_ftp = off in /etc/wgetrc or your $HOME/.wgetrc Solution 2 will not work with other browsers Mozille/Netscape i.e. Jan Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] The CodeRedWorm mystery
[EMAIL PROTECTED] schrieb: > > How many have you had? According to my logs, as of right now, I've got > 897. (This would be a fun competition! -- who's got the most > default.ida hits?) had more than 8 in < 1 week on one of my servers Regards, Jan Want to buy your Pack or Services from MandrakeSoft? Go to http://.mandrakestore.com
Re: [expert] digital cmeras and linux
ben s schrieb: > > i was considering buying a digital camera, and was wondering which one has > the leaset problems working with linux? is usb or serial the way to go for > linux usage??? > > thanks > ben I have a Fuji Finepix 1400Zoom, it has a USB interface, it came with a 4MB SmartMedia Card and accepts up to 128 MB media. I can simply mount the camera as SCSI disk and read the pictures from the camera easily. Regards Jan Want to buy your Pack or Services from MandrakeSoft? Go to http://.mandrakestore.com
Re: [expert] bug in gettext support of php rpm?
Vincent Danen wrote: > > On Tue Jul 31, 2001 at 06:53:55PM +0200, Jan Dittberner wrote: > > > > > I just tried to use the gettext support in php, but this seems to be > > > > broken in the Mandrake 8.0 package. An strace of php running my test > > > > script gave this: > > > > > > > > > > > > lstat64("/var/www/locale", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = > > > > 0 > > > > fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 > > > > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, > > > > -1, 0) = 0x40016000 > > > > open("/etc/services", O_RDONLY) = 4 > > > > shmat(4, 0x1, 0x1ptrace: umoven: Input/output error > > > > ) = ? > > > > shmat(4, 0x2, 0x2ptrace: umoven: Input/output error > > > > ) = ? > > > > > > Don't know if this will help any, but I recently saw a thread about > > > gettext in PHP on freezer-burn.org: > > > http://www.freezer-burn.org/stories.php?story=01/07/23/4935802 > > > > Just had a look at it, but my code was already working with 7.2 it's > > definitely something broken in the 8.0 php gettext support. Thanks > > for the hint, my directory structure and code is correct, I can post > > it if anyone is interested. > > Can you do me a favour and try the php-4.0.6 rpms I built and put on > www.rpmhelp.net? They seem to work fine over here, but I'm only using > gettext() on my workstation at the moment which is running 4.0.6 (have > not yet tried it on my 8.0 servers running 4.0.4pl1 (I believe that's > the version that comes with 8.0)). Please let me know if you do try > the 4.0.6 packages if they fix the problem. It's working fine with your new RPMS thanks :-) Jan
Re: [expert] bug in gettext support of php rpm?
Paul Cox wrote: > > On Sunday, Jul 22, 2001, Jan Dittberner wrote: > > > I just tried to use the gettext support in php, but this seems to be > > broken in the Mandrake 8.0 package. An strace of php running my test > > script gave this: > > > > > > lstat64("/var/www/locale", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = > > 0 > > fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 > > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, > > -1, 0) = 0x40016000 > > open("/etc/services", O_RDONLY) = 4 > > shmat(4, 0x1, 0x1ptrace: umoven: Input/output error > > ) = ? > > shmat(4, 0x2, 0x2ptrace: umoven: Input/output error > > ) = ? > > Don't know if this will help any, but I recently saw a thread about > gettext in PHP on freezer-burn.org: > http://www.freezer-burn.org/stories.php?story=01/07/23/4935802 Just had a look at it, but my code was already working with 7.2 it's definitely something broken in the 8.0 php gettext support. Thanks for the hint, my directory structure and code is correct, I can post it if anyone is interested. Regards Jan
[expert] bug in gettext support of php rpm?
Hello, I just tried to use the gettext support in php, but this seems to be broken in the Mandrake 8.0 package. An strace of php running my test script gave this: lstat64("/var/www/locale", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000 open("/etc/services", O_RDONLY) = 4 shmat(4, 0x1, 0x1ptrace: umoven: Input/output error ) = ? shmat(4, 0x2, 0x2ptrace: umoven: Input/output error ) = ? /var/www/locale is the directory containing translations I tried exactly the same files (php script, translation files) on an Mandrake 7.2 box, where it works perfectly. Any idea? Regards Jan Dittberner
Re: [expert] quota problems with Mandrake 8.0
Jan Dittberner schrieb: > Running quotacheck on these devices doesn't create the needed files > aquota.users and aquota.group. the problem seems to lie in the RedHat patch for the quota package. I compiled the quota utilities without this patch and they work. Jan Dittberner
[expert] quota problems with Mandrake 8.0
same issue as in "quotas nfs-utils and Mandrake 8.0 kernel 2.4.3" from 21 Jun 2001 by Jason Smith. I've an AMD Athlon based System with 2 IBM 9.1 GB U160-SCSI harddisks. I want to have user quota working on partitions /dev/sdb1 (/var) and /dev/sdb2 (/home) Running quotacheck on these devices doesn't create the needed files aquota.users and aquota.group. I did an strace on quotacheck and discovered two strange things: mount(umovestr: Input/output error 0, "/home", "ext2", MS_RDONLY|MS_REMOUNT|0xc0ed, 0) = 0 seems to try a mount on /home, but fails? shmat(4, 0x80d2768, 0x2ptrace: umoven: Input/output error) = ? this happens on a lot of files. mount(umovestr: Input/output error 0, "/home", "ext2", MS_REMOUNT|0xc0ed, 0) = 0 trying to remount r/w also seems to have problems. I hope somebody here can help me with this issue. I need the quota support urgently. Regards Jan Dittberner
[expert] device permission/ownership problem
Hello, I have set the ownership/permission of the /dev/video* devices to crw-rw 1 root rvideo to enable the group rvideo to access these devices. After a reboot the devices are reset to crw--- 1 root root How can I avoid this? Which script is responsible for this behaviour? Jan
[expert] SSH and X11 forwarding problem
Hello, I have a problem with openssh and X11 forwarding. I use openssh-1.2.2 on Mandrake 7.0. X11 forwarding is enabled in the servers /etc/sshd_config and in the clients /etc/ssh_config. The /home directory is mounted via nfs from a central server. If I connect to the ssh server (server1) via $ ssh server1 It connects and don't report any problems about failed X11 forwarding, but if I try to start an X-program ie. xload it reports that authorization is wrong. I think that the problem occurs because the .Xauthority file is stored in the nfs mounted home directory how can this be avoided? Jan Dittberner Please reply to me, because I'm not on the list (enough traffic from cooker :-)
Re: [expert] mrtg and Mandrake's apache (fwd)
Wolfgang Bornath wrote: > mrtg needs gd-library 1.3-6, it doesn't run with Mandrake's > version 1.8. But with version 1.3 Mandrake's apache won't run. I had the same problem. I linked gd-1.3 statical to mrtg and it works very well. I think I'll switch to rrdtool soon which works with recent gd-libs so there's no need for gd-1.3 anymore. Jan Dittberner
Re: [expert] Virtual Mail Hosting
Jan Dittberner wrote: > Alberto Passariello wrote: >>> On Thu, 27 Apr 2000 11:54:33 +0200, Jan Dittberner wrote: >>>I have problems with some Outlook clients which want >>>to connect to the vpop3 daemon on my Mandrake box. >> verify the ownership of the mailbox file. >> if the owner is nobody change the owner to the appropriate id >The server changes the ownership back to nobody himself, >how can I avoid this? I got a solution for my problem. I had to set CHECK_UNOWNED to "no" in /etc/security/msec/security.conf, so that the Mandrake security scripts don't set ownership to nobody. Is this documented somewhere? Hope someone besides me has use for this information. Jan Dittberner
Re: [expert] Virtual Mail Hosting
Alberto Passariello wrote: > On Thu, 27 Apr 2000 11:54:33 +0200, Jan Dittberner wrote: > > >I have problems with some Outlook clients which want > >to connect to the vpop3 daemon on my Mandrake box. > > > >They get: > > > >"-ERR cannot open mailbox /var/spool/vmail/hostname//username" > >from the server. > > > >Is this a known problem? Is there a solution? > > > >Thanks > > > >Jan Dittberner > > verify the ownership of the mailbox file. > if the owner is nobody change the owner to the appropriate id The server changes the ownership back to nobody himself, how can I avoid this? Jan Dittberner
Re: [expert] Virtual Mail Hosting
Alberto Passariello wrote: > On Thu, 27 Apr 2000 11:54:33 +0200, Jan Dittberner wrote: > > >I have problems with some Outlook clients which want > >to connect to the vpop3 daemon on my Mandrake box. > > > >They get: > > > >"-ERR cannot open mailbox /var/spool/vmail/hostname//username" > >from the server. > > > >Is this a known problem? Is there a solution? > > > >Thanks > > > >Jan Dittberner > > verify the ownership of the mailbox file. > if the owner is nobody change the owner to the appropriate id This worked, but why does the mail server set wrong ownership (nobody) to the files, isn't this a bug? Jan Dittberner
[expert] Virtual Mail Hosting
I have problems with some Outlook clients which want to connect to the vpop3 daemon on my Mandrake box. They get: "-ERR cannot open mailbox /var/spool/vmail/hostname//username" from the server. Is this a known problem? Is there a solution? Thanks Jan Dittberner