usign cbq.init to control ftp traffic

2003-01-21 Thread Patrick Hsieh
Hello list,

I'd like to use cbq.init script to control the ftp download traffic, however, 
since ftp transfer the data via a dynamic port, it is not possible to use 
cbq.init script to shape the download traffic, Actually I wonder if tc 
command can achieve this purpose.

Any idea?
-- 
Patrick Hsieh[EMAIL PROTECTED]


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




Re: how to build mozilla .deb's from sources?

2002-12-19 Thread Patrick Hsieh
O
 To get them unified, I gather the three together in the same directory
 (just the three, into, say /moz_tmp), and do a # dpkg-source -x *.dsc,
 which (for this example) produces: /home/me/wherever/moz_tmp/mozilla-1.2.1

 I then cd to mozilla-1.2.1, and do a # debian/rules binary-arch, which
 (hopefully) produces 13 different *.deb packages.

 Oh, and the *.dsc shows the build-dependencies.

 I believe an apt-get source package... will get sources too, but I'm not
 familiar with it, and I usually don't know its name, want a specific thing,
 or want to do something in the source tree before I compile the package(s).


If I have an additional patch, where should I put the patch before I do # 
debian/rules binary-arch and hopefully build my own patched .deb package?






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




ssh login can't apply /etc/security/limits.conf

2002-12-18 Thread Patrick Hsieh
Hello list,

I am trying to configure the user resource restriction in 
/etc/security/limits.conf. I believe the configuration has no problem, but 
when the user ssh login, the session will not include the limits in the 
limits.conf file.

BTW, I checked the /etc/pam.d/login and /etc/pam.d/ssh file.
Both have this line in it:
sessionrequired pam_limits.so

Is there anything I missed?


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




upgrade mysql server with least downtime

2002-12-17 Thread Patrick Hsieh
Hello list,

I am planing to upgrade a running mysql server on woody to fix the recent 
security issue. Is there any trick to make the service have least downtime 
when upgrading the mysql server?

I was thinking if it is possible that I have two mysql daemons running on the 
same machine(port 3306 and 3307) and share the same mysql data. When I 
upgrade the 1st daemon, the iptables redirects the incoming tcp 3306 
connection to tcp 3307, on which the secondary daemon is listening. When 
finish upgrading, change the localhost iptables rules to dismiss the 
redirection. Is it possible? Will I have locking problem with 2 daemons 
sharing the same mysql data?


Any idea is highly welcome.



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




Re: sharing CD-BURNER via iSCSI

2002-12-16 Thread Patrick Hsieh
I am also highly interested in iSCSI. I think CD-BUNER via iSCSI is possible, 
but the cost , of course, will be very expensive.  In addition, I wonder if 
there is any iSCSI adapter well-supported under Linux?

I am also curious about the MySQL cluster delopyment over the iSCSI channel, 
that is, multiple mysql servers share/mount the same storage device over 
iSCSI. Is it a better solution than mysql servers with NFS mount data 
storage?






 Ideas anyone?


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




Re: Wireless card recommendations

2002-12-16 Thread Patrick Hsieh
Works well under my IBM X21 laptop. :-)

FYI.


 I second this experience!  They are excellent cards.


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




many packages need to be upgraded

2002-12-15 Thread Patrick Hsieh
Hello list,

I've been sticking to woody for a long time. Today I noticed there are some 
packages need to be upgraded:

The following packages will be upgraded
  cpp-2.95 g++-2.95 gcc-2.95 libgd1 libstdc++2.10-dev libstdc++2.10-glibc2.2
  php4 php4-cgi php4-curl php4-imap php4-ldap php4-mysql php4-pear 
13 packages upgraded, 0 newly installed, 0 to remove and 1  not upgraded.
Need to get 4868kB of archives. After unpacking 20.5kB will be used.
Do you want to continue? [Y/n] 


Is there any security issues about these packages or whatever? Basically the 
stable release will not upgrade its packages unless there is security concern 
or big problem. Can someone explain this?


-- 
 09:42:29 up 2 days, 17:53,  7 users,  load average: 4.41, 3.74, 3.08

Patrick Hsieh[EMAIL PROTECTED]
GnuPG Pubilc Key at http://www.ezplay.tv/~pahud/pahudatezplay.pubkey
MD5 checksum: b948362c94655b74b33e859d58b8de91
1024D/F3662014 9ADF 6E3F 68DE 8DF8 4A67  0B54 6608 BAA8 F366 2014


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




Re: many packages need to be upgraded

2002-12-15 Thread Patrick Hsieh
Is 3.0r1 about to release?

-- 
 10:02:15 up 2 days, 18:13,  5 users,  load average: 3.74, 3.72, 3.54

Patrick Hsieh[EMAIL PROTECTED]
GnuPG Pubilc Key at http://www.ezplay.tv/~pahud/pahudatezplay.pubkey
MD5 checksum: b948362c94655b74b33e859d58b8de91
1024D/F3662014 9ADF 6E3F 68DE 8DF8 4A67  0B54 6608 BAA8 F366 2014


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




DivX to VCD?

2002-12-13 Thread Patrick Hsieh
Hello list,

Is there anyone who has the experience in converting DivX file into VCD format 
iso? I think  it's possible to convert divx file into mpeg1 file, and 
vcdtools may be capable of making it ito a iso image. I am asking here if 
anyone have a one-liner example to do the job?Say, mencoder divxfile | 
vcdtool | mkisofs something like this?

I hope I can convert the divx to vcd on-the-fly.

Ideas? 
-- 
 16:20:17 up 31 min,  5 users,  load average: 0.16, 0.22, 0.23

Patrick Hsieh[EMAIL PROTECTED]
GnuPG Pubilc Key at http://www.ezplay.tv/~pahud/pahudatezplay.pubkey
MD5 checksum: b948362c94655b74b33e859d58b8de91
1024D/F3662014 9ADF 6E3F 68DE 8DF8 4A67  0B54 6608 BAA8 F366 2014


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




build an overloaded linux server

2002-12-09 Thread Patrick Hsieh
Hello list,

For experimental requirement, I want to build an overloaded linux server in 
which openssh is binding tcp port 22. The criteria is, when a ssh client is 
connecting to the sshd on the overloaded one, the sshd will take more than 60 
seconds to respond.(that is, tcp socket established but the sshd hangs over 
60 seconds)

Is there any trick to build this overloaded server? 
-- 
Patrick Hsieh[EMAIL PROTECTED]
GnuPG Pubilc Key at http://www.ezplay.tv/~pahud/pahudatezplay.pubkey
MD5 checksum: b948362c94655b74b33e859d58b8de91


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




is there any dummy bandwidth shaping script?

2002-12-04 Thread Patrick Hsieh
Hello list,

I've tried shaper in Debian woody but it seems to be only capable of the 
shaping of outbound traffic. Is there any dummy script or utility that can 
easily do the inbound/outbound traffic shaping?


-- 
Patrick Hsieh[EMAIL PROTECTED]
GnuPG Pubilc Key at http://www.ezplay.tv/~pahud/pahudatezplay.pubkey
MD5 checksum: b948362c94655b74b33e859d58b8de91
1024D/F3662014 9ADF 6E3F 68DE 8DF8 4A67  0B54 6608 BAA8 F366 2014


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




what process is using swap

2002-12-04 Thread Patrick Hsieh
Hello list,

Is there any way to know what process is using the swap space?

-- 
Patrick Hsieh[EMAIL PROTECTED]
GnuPG Pubilc Key at http://www.ezplay.tv/~pahud/pahudatezplay.pubkey
MD5 checksum: b948362c94655b74b33e859d58b8de91
1024D/F3662014 9ADF 6E3F 68DE 8DF8 4A67  0B54 6608 BAA8 F366 2014


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




Re: install usb thumb drive

2002-12-04 Thread Patrick Hsieh
Thank you.
I installed hotplug and compile kernel with hotplug support, reading the man 
pages but can't find the place to define my userspace command. Can you 
indicate the correct configuration file or give some examples?



On Wednesday 04 December 2002 17:45, Rob Weir wrote:
 On Wed, Dec 04, 2002 at 03:49:29PM +0800, Patrick Hsieh wrote:
  Thank you.
  Is there any way to make the Linux automount the thumb drive and execute
  my customized command when I connect the usb thumb drive to the usb port?
 
  If automatic command execution is possible, then it will be very
  interesting.

 Should be possible; I think 'hotplug' can be setup to run arbitrary
 programs when something is plugged in...

 -rob

-- 
Patrick Hsieh[EMAIL PROTECTED]
GnuPG Pubilc Key at http://www.ezplay.tv/~pahud/pahudatezplay.pubkey
MD5 checksum: b948362c94655b74b33e859d58b8de91
1024D/F3662014 9ADF 6E3F 68DE 8DF8 4A67  0B54 6608 BAA8 F366 2014


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




Re: is there any dummy bandwidth shaping script?

2002-12-04 Thread Patrick Hsieh
Does wondershaper still consume the full downstream bandwidth  when it is 
shaping the download traffic? 


Limit download speed


This is slightly trickier as we can't really influence how fast the internet
ships us data. We can however drop packets that are coming in too fast,
which causes TCP/IP to slow down to just the rate we want. Because we don't
want to drop traffic unnecessarily, we configure a 'burst' size we allow at
higher speed.

Now, once we have done this, we have eliminated the downstream queue totally
(except for short bursts), and gain the ability to manage the upstream queue
with all the power Linux offers.




On Wednesday 04 December 2002 18:49, Andrea Borgia wrote:
 On Wed, 4 Dec 2002, Patrick Hsieh wrote:

 PHI've tried shaper in Debian woody but it seems to be only capable of the
 PHshaping of outbound traffic. Is there any dummy script or utility that
 can PHeasily do the inbound/outbound traffic shaping?

 I'm very happy with wondershaper, available at:
 http://lartc.org/wondershaper

 You need to tune it a little, basically you're trading a little bandwidth
 in return for lower latency and you have to get the right balance for you

 Hope this helps,
 Andrea.

-- 
Patrick Hsieh[EMAIL PROTECTED]
GnuPG Pubilc Key at http://www.ezplay.tv/~pahud/pahudatezplay.pubkey
MD5 checksum: b948362c94655b74b33e859d58b8de91
1024D/F3662014 9ADF 6E3F 68DE 8DF8 4A67  0B54 6608 BAA8 F366 2014


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




install usb thumb drive

2002-12-03 Thread Patrick Hsieh
Hello list,

I am trying to install the usb thumb drive on the IBM X21 laptop but have some 
problem. I modprobe usb-uhci and usb-storage, and the screen shows the 
message

usb.c: deregistering driver usb-storage
scsi : 1 host left.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi1 : SCSI emulation for USB Mass Storage devices
  Vendor:   Model: USB DISK  Rev: 2.08
  Type:   Direct-Access  ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sda: 128000 512-byte hdwr sectors (66 MB)
sda: Write Protect is off
 sda: sda1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
usb.c: usb-storage driver claimed interface d7236460
USB Mass Storage support registered.


However, when I fdisk /dev/sda, it complains:
Unable to open /dev/sda

Is there anything wrong?




-- 
Patrick Hsieh[EMAIL PROTECTED]
GnuPG Pubilc Key at http://www.ezplay.tv/~pahud/pahudatezplay.pubkey
MD5 checksum: b948362c94655b74b33e859d58b8de91
1024D/F3662014 9ADF 6E3F 68DE 8DF8 4A67  0B54 6608 BAA8 F366 2014


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




Re: install usb thumb drive

2002-12-03 Thread Patrick Hsieh
problem solved!
I noticed that all /dev/sd* were gone. So I copy the /dev/sd* from another 
machine. And every works!



-- 
Patrick Hsieh[EMAIL PROTECTED]
GnuPG Pubilc Key at http://www.ezplay.tv/~pahud/pahudatezplay.pubkey
MD5 checksum: b948362c94655b74b33e859d58b8de91
1024D/F3662014 9ADF 6E3F 68DE 8DF8 4A67  0B54 6608 BAA8 F366 2014


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




Re: install usb thumb drive

2002-12-03 Thread Patrick Hsieh
Thank you.
Is there any way to make the Linux automount the thumb drive and execute my 
customized command when I connect the usb thumb drive to the usb port?

If automatic command execution is possible, then it will be very interesting.



 Another solution is to run 'MAKEDEV', which is a script that knows how
 to create device nodes for you.

 -rob

-- 
Patrick Hsieh[EMAIL PROTECTED]
GnuPG Pubilc Key at http://www.ezplay.tv/~pahud/pahudatezplay.pubkey
MD5 checksum: b948362c94655b74b33e859d58b8de91
1024D/F3662014 9ADF 6E3F 68DE 8DF8 4A67  0B54 6608 BAA8 F366 2014


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




is it possible to install eMule unser wine?

2002-11-30 Thread Patrick Hsieh
Hello list,

Anyone has experience? It's a pity that eMule does not support Linux
platform.


-- 
Patrick Hsieh[EMAIL PROTECTED]
GnuPG Pubilc Key at http://www.ezplay.tv/~pahud/pahudatezplay.pubkey
MD5 checksum: b948362c94655b74b33e859d58b8de91
1024D/F3662014 9ADF 6E3F 68DE 8DF8 4A67  0B54 6608 BAA8 F366 2014


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




IPX over TCP/IP?

2002-11-22 Thread Patrick Hsieh
Hello list,

Is it possible to build a pptpd on Linux and make some Windows client to
use pptp to connect to the pptpd server and connect to each other via
IPX protocol?

Some LAN games use IPX protocol, how can I make it possible to achieve
IPX over TCP/IP?


-- 
Patrick Hsieh[EMAIL PROTECTED]
GnuPG Pubilc Key at http://www.ezplay.tv/~pahud/pahudatezplay.pubkey
MD5 checksum: b948362c94655b74b33e859d58b8de91
1024D/F3662014 9ADF 6E3F 68DE 8DF8 4A67  0B54 6608 BAA8 F366 2014


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




rebuild all installed .deb

2002-11-21 Thread Patrick Hsieh
Hello list,

Is there any way to rebuild all the installed .deb package with 
gcc 3.2 and some optimization configurations?

Gentoo Linux has a very idea to build the system from base. I tried 
apt-build in Debian, but it doesn't seem to be able to build libraries.
I wonder if it can build gcc, binutils and glibc,etc.

Is it possible to use dpkg -l to list all installed .deb and then
use apt-build to fetch the source, unpack, rebuild into .deb and
reinstall all the packages? Then the machine will be much more optimized.
(Pentium3 optimized v.s. i386 optimized)

idea?


-- 
Patrick Hsieh[EMAIL PROTECTED]
GnuPG Pubilc Key at http://www.ezplay.tv/~pahud/pahudatezplay.pubkey
MD5 checksum: b948362c94655b74b33e859d58b8de91
1024D/F3662014 9ADF 6E3F 68DE 8DF8 4A67  0B54 6608 BAA8 F366 2014

10:12:14 up 33 days, 14:22, 17 users,  load average: 1.99, 1.75, 1.78


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




rebuild gcc, glibc for woody

2002-11-19 Thread Patrick Hsieh
Hello list,

Is it possible to rebuild the gcc and glibc in woody with some optimized gcc
argument? I've noticed that gentoo has a /etc/make.conf in which I can defile

CHOST=i686-pc-linux-gnu
CFLAGS=-march=i686 -O3 -pipe

is it possible for debian woody to do so to rebuild the gcc and glibc with 
optimized compilation method? If yes, which is the best recommended way to 
achieve this?




-- 
Patrick Hsieh[EMAIL PROTECTED]
GnuPG Pubilc Key at http://www.ezplay.tv/~pahud/pahudatezplay.pubkey
MD5 checksum: b948362c94655b74b33e859d58b8de91
1024D/F3662014 9ADF 6E3F 68DE 8DF8 4A67  0B54 6608 BAA8 F366 2014


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




rebuild mozilla on debian woody

2002-11-18 Thread Patrick Hsieh
Hello list,

I'd like to rebuild mozilla .deb package in debian woody. I tried to use
apt-build as the following command:

$apt-build --rebuild --build-only --reinstall install mozilla

then I got the error msg:

cd build-tree/mozilla  autoconf  \
OS_LIBS=-lc -lpthread CC=gcc CXX=g++ \
./configure --prefix=/usr --sysconfdir=/etc \
--mandir=/usr/share/man --infodir=/usr/share/info \
--localstatedir=/var \
--with-default-mozilla-five-home=/usr/lib/mozilla --disable-debug --disable-tests 
--disable-short-wchar --enable-xprint --enable-optimize=-pipe -w -O2 -DDEBIAN 
--enable-strip-libs --enable-crypto --enable-mathml --enable-oji 
--enable-extensions=all --enable-ldap --with-system-zlib --enable-freetype2  \
--disable-svg --without-system-mng --without-system-png  \
 \

build/autoconf/altoptions.m4:140: error: m4_defn: undefined macro: _m4_divert_diversion
build/autoconf/altoptions.m4:137: MOZ_READ_MOZCONFIG is expanded from...
build/autoconf/altoptions.m4:140: the top level
make: *** [debian/stampdir/build] Error 1
Error while building mozilla !
- Moving packages to repository -
mv: cannot stat `/var/cache/apt-build/build/*.deb': No such file or directory
- Updating repository -



How can I correct this? Any other method to rebuild mozilla 1.0.0 in
Woody?


-- 
Patrick Hsieh[EMAIL PROTECTED]
GnuPG Pubilc Key at http://www.ezplay.tv/~pahud/pahudatezplay.pubkey
MD5 checksum: b948362c94655b74b33e859d58b8de91


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




pptpd and MPPE encrypt

2002-11-18 Thread Patrick Hsieh
Hello list,


I installed pptpd 1.1.2-1.2 on Woody and patched the linux kernel as
well as pptpd to support MPPE encryption. The following is my
pptpd-options file:

home:/home/pahud# grep -v ^# /etc/ppp/pptpd-options  | grep -v ^$
debug
name pptp
domain ezplay.tv
auth
-chap
-chapms
+chapms-v2
mppe-40
mppe-128
mppe-stateless
netmask 255.255.255.255
proxyarp
lock




When my Windows client connect the pptpd, I use sniffit to capture the
packet data on device ppp0 of the pptpd server. The sniffit shows the
cleartext data.  Is there anything wrong? How can I ensure the PPTP
encrypts all of the transfering data with MPPE?


-- 
Patrick Hsieh[EMAIL PROTECTED]
GnuPG Pubilc Key at http://www.ezplay.tv/~pahud/pahudatezplay.pubkey
MD5 checksum: b948362c94655b74b33e859d58b8de91


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




traffic shaping scripts

2002-11-18 Thread Patrick Hsieh
Hello list,

Is there any good traffic shaping scripts that control both inbound and
outbound traffic? I tried shaper in debian, but it only support
outbound traffic shaping. 

Any suggestion highly welcome.


-- 
Patrick Hsieh[EMAIL PROTECTED]
GnuPG Pubilc Key at http://www.ezplay.tv/~pahud/pahudatezplay.pubkey
MD5 checksum: b948362c94655b74b33e859d58b8de91


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




Unknown HZ value! (0) Assume 100.

2002-11-10 Thread Patrick Hsieh
Hello list,

I began to see this message when I type ps in Debian woody kernel 2.4.16. I 
searched the google and was noticed that it could be a bug in libproc.
Is it true? Any way to fix this problem?

My system info:
# uname -a
Linux luke 2.4.16 #7 SMP Thu Dec 13 09:09:23 CST 2001 i686 unknown

# dpkg -l | grep libc
ii  libc6  2.2.5-11.2 GNU C Library: Shared libraries and Timezone
ii  libc6-dev  2.2.5-11.2 GNU C Library: Development Libraries and Hea
ii  libcap11.10-12support for getting/setting POSIX.1e capabil
ii  libcarp-datum- 0.2.8-1Debugging And Tracing Ultimate Module (for p
ii  libconvert-ber 1.31-1 Perl implementation of Basic Encoding Rules 
ii  libcurl2-ssl   7.9.5-2Multi-protocol file transfer library. (SSL s
ii  libgpmg1   1.19.6-12  General Purpose Mouse Library [libc6]

# dpkg -l | grep proc
ii  at 3.1.8-11   Delayed job execution and batch processing
ii  cpp2.95.4-14  The GNU C preprocessor.
ii  cpp-2.95   2.95.4-7   The GNU C preprocessor.
ii  cron   3.0pl1-72  management of regular background processing
ii  gawk   3.1.0-3GNU awk, a pattern scanning and processing l
ii  libproc-proces 0.33-3 Perl library for accessing process table inf
ii  mawk   1.3.3-8a pattern scanning and text processing langu
ii  procinfo   17-1   Gathers and displays misc. system informatio
ii  procps 2.0.7-8The /proc file system utilities.
ii  psmisc 20.2-2.1   Utilities that use the proc filesystem
ii  textutils  2.0-12 The GNU text file processing utilities.

-- 
Patrick Hsieh[EMAIL PROTECTED]
GnuPG Pubilc Key at http://www.ezplay.tv/~pahud/pahudatezplay.pubkey
MD5 checksum: b948362c94655b74b33e859d58b8de91


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




Re: Unknown HZ value! (0) Assume 100.

2002-11-10 Thread Patrick Hsieh
I saw this on linux-kernel mailing list.

http://www.cs.helsinki.fi/linux/linux-kernel/2001-21/0756.html


So what can I do for my Debian woody?



-- 
Patrick Hsieh[EMAIL PROTECTED]
GnuPG Pubilc Key at http://www.ezplay.tv/~pahud/pahudatezplay.pubkey
MD5 checksum: b948362c94655b74b33e859d58b8de91


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




Re: Unknown HZ value! (0) Assume 100.

2002-11-10 Thread Patrick Hsieh


 I don't know. But the HZ value is set in /etc/login.defs, in my case
 like this:

 ENV_HZ  HZ=100


 Also, quoted from 'man login.defs':

  ENV_HZ (string)
   This parameter specifies a value for an HZ environ�
   ment parameter.  Example usage is:

ENV_HZ HZ=50

   If this parameter is not defined then no  HZ  value
   will be established.


 Cheers!
 Shyamal

in this case, I guess the kernel found HZ=100 is defined in the config file 
but actually the HZ value in the system was 0. Hence it complained. 

It seems to be a harmless message, but very annoying. Is there any reason why 
the kernel maintainers keep to print the message since it is not really 
harmful? Why not send to syslog or somewhere else?







-- 
Patrick Hsieh[EMAIL PROTECTED]
GnuPG Pubilc Key at http://www.ezplay.tv/~pahud/pahudatezplay.pubkey
MD5 checksum: b948362c94655b74b33e859d58b8de91


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




any read-only news group for this ML?

2002-10-24 Thread Patrick Hsieh
Hello list,

Is there any read-only public news group available which collects all mailing 
list archive of [EMAIL PROTECTED]?
-- 
Patrick Hsieh[EMAIL PROTECTED]
GnuPG Pubilc Key at http://www.ezplay.tv/~pahud/pahudatezplay.pubkey
MD5 checksum: b948362c94655b74b33e859d58b8de91


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




specify a parent proxy to a certain domain name

2002-10-15 Thread Patrick Hsieh

Hello list,

I have a proxy server with 2 different ADSL lines of different ISPs  on
it. Now I've noticed that there is a routing problem on line 1 to
www.ora.com whinel the routing to which on line 2 is OK. Since the
routing to my parent proxy is in line 1, I have to find a way to make my
squid route via line 2 when the request goes to www.ora.com.  How could
I configure squid proxy to do that? I configured 2 parent proxy servers
like this




-- 
Patrick Hsieh [EMAIL PROTECTED]

GPG public key http://pahud.net/pubkeys/pahudatezplay.gpg


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




utility to get daily NIC input/output total throughput

2002-10-09 Thread Patrick Hsieh

Hello list,

Is there any command line utility to get daily total ethernet
inbound/outbound throughput? I'd like to generate a monthly report with
shell script. Any suggestion highly appreciated.
-- 
Patrick Hsieh [EMAIL PROTECTED]

GPG public key http://pahud.net/pubkeys/pahudatezplay.gpg


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




Re[2]: utility to get daily NIC input/output total throughput

2002-10-09 Thread Patrick Hsieh

Hello Joris [EMAIL PROTECTED],

How to reset the TX/RX value of ifconfig output?
Why is it smart to save the count to /etc/init.d/networking before
resetting? Can you give an example?


On Wed, 09 Oct 2002 21:46:19 +0200
Joris [EMAIL PROTECTED] wrote:

  Is there any command line utility to get daily total ethernet
  inbound/outbound throughput? I'd like to generate a monthly report with
  shell script. Any suggestion highly appreciated.
 
 you could use 'ifconfig', but then it would be smart to edit
 /etc/init.d/networking to save the count before resetting
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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




ssh and running command

2002-10-06 Thread Patrick Hsieh

Hello list,

I'd like to execute a certain command upon someone connect to my server
with ssh [EMAIL PROTECTED]. I will not authenticate the visitor in
the ssh session, that is, anyone can do ssh [EMAIL PROTECTED] in
order to execute my self-defined command or shell script. Is there any
way to configure ssh to achieve this? Additionally, If the
self-defined command or shell script is pertty easy, say, 

#!/bin/sh

export PATH=/bin:/usr/bin  \
echo Hello there!  exit 0;


Is there also security problem?
-- 
Patrick Hsieh[EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatezplay.gpg
http://www.ezplay.tv

10:32:50 up 39 days,  2:19, 18 users,  load average: 1.73, 1.85, 1.86


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




cvsweb access control

2002-09-26 Thread Patrick Hsieh

Hello list,

Is there any way to configore cvsweb only allow the access from a
specific IP? I've read /etc/cvsweb.conf but didn't find any useful
infomation. Then I consult httpd.conf, but it seems apache can only
limit the access by Directory, not by a specific file or cgi program.

Idea?
-- 
Patrick Hsieh [EMAIL PROTECTED]

GPG public key http://pahud.net/pubkeys/pahudatezplay.gpg


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




apache FollowSymLinks and SymLinksIfOwnerMatch question

2002-09-25 Thread Patrick Hsieh

Hello list,

Now that apache has FollowSymLinks and SymLinksIfOwnerMatch options,
there's still some security issue. For example, someone cp /etc/passwd
to his home directory(/home/foo/passwd), create a symbolic link from
/home/foo/passwd to /var/www/hidden_dir/passwd. Since the owner maches,
it will still lead to exposure of passwd file. Is there any way to avoid
this? I'd like to restrict the symbolic link from linking across the
DocumentRoot, idea?


-- 
Patrick Hsieh [EMAIL PROTECTED]

GPG public key http://pahud.net/pubkeys/pahudatezplay.gpg


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




what's the correct way to delete at queue?

2002-09-23 Thread Patrick Hsieh

Hello list,

I used at to insert a job in the at queue, reading the at man pages
but couldn't find any way to delete that job from the queue. Hence I 
delete files under /var/spool/cron/atjobs and type atq to make sure
nothing in the queue still.

Is it correct? Any formal way to remove at queue?


-- 
Patrick Hsieh [EMAIL PROTECTED]

GPG public key http://pahud.net/pubkeys/pahudatezplay.gpg


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




import Maildir mails to mailman archive?

2002-09-22 Thread Patrick Hsieh

Hello list,

I installed mailman can created a brand-new mailing list.
Now I'd like to import some mails in my Maiildir folder to mailman
archive. Is there any import tool or utility to achive this?

BTW, If I want to backup mailmain archive as well as all configuration,
what directories should I backup?


-- 
Patrick Hsieh [EMAIL PROTECTED]

GPG public key http://pahud.net/pubkeys/pahudatezplay.gpg


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




postfix: how to apply uce control only to some accounts?

2002-09-19 Thread Patrick Hsieh

Hello list,

I have some UCE control rule in my postfix mail server. However, I'd
like the postfix not to apply the UCE to everyone by default, while have
a list who are willing to use UCE. In my main.cf, it looks something
list this

smtpd_client_restrictions = permit_mynetworks,
check_client_access regexp:/etc/postfix/access,
hash:/etc/postfix/lamers,
check_client_access regexp:/etc/postfix/clientcheck,
reject_unknown_client,
check_client_access regexp:/etc/postfix/openrelay,
reject_maps_rbl


In this case, all accounts in /etc/postfix/lamers will not be affected
by UCE rules while others will. This is not my goal. What I want is to
create a list, say /etc/postfix/paranoid and put some accounts in it to
make them use UCE rules, while leaving others untouched.

Is there any possible configuration or solution?




--
Patrick Hsieh [EMAIL PROTECTED]


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




woody and resierfs mini-cd wanted

2002-09-12 Thread Patrick Hsieh

Hello list,

Is there woody netinstall mini-cd with reiserfs support available?

-- 
Patrick Hsieh [EMAIL PROTECTED]


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




apt-build world ?

2002-09-12 Thread Patrick Hsieh

Hello list,

I've read the manpage of apt-build. Is there anyone tried apt-build
world? Is it stable?

-- 
Patrick Hsieh [EMAIL PROTECTED]


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




can't delete a file

2002-09-04 Thread Patrick Hsieh

Hello list,

I created a file as root and chown it to a common account, then su to
that account, trying to delete it as that account but failed. Any idea?

# touch todel
# chown pahud todel
# ls -l todel
-rw-r--r--1 pahud   root0 Sep  4 16:08 todel
# su pahud
 rm -f todel
rm: cannot unlink `todel': Permission denied
 ls -al todel
-rw-r--r--1 pahud   root0 Sep  4 16:08 todel



-- 
Patrick Hsieh [EMAIL PROTECTED]


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




how to define multpile static routing in Debain?

2002-06-30 Thread Patrick Hsieh
Hello,

I can use route command to add static routing tables in woody.
Is it possible to define the rules in a file so that it will be applied
at boot time?
-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



pls recommend a IDE raid card

2002-06-26 Thread Patrick Hsieh
Hello list,

I'd like to implement RAID 1 or RAID 0+1 in my Debian woody.
Please recommend the product or chipset which supports Linux well and
proven stable in productive environment. Thanks.
-- 
Patrick Hsieh [EMAIL PROTECTED]


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



Re: NFS on Woody!

2002-06-26 Thread Patrick Hsieh
Hello Emil H輍erlund [EMAIL PROTECTED],

Did you start portmap?

/etc/init.d/portmap start

On Wed, 26 Jun 2002 12:31:56 +0100
Emil H輍erlund [EMAIL PROTECTED] wrote:

 Hi,
 
 what steps do I need to do to get a NFS share on my server
 configured and mountable from clients?
 
 I have created a /etc/exports file on the server (s1)containing
 access for clients (w1):
 
 /apps w1(rw,no_rot_squash)
 
 When I try mounting from w1:
 
 mount -t nfs s1:/apps /apps
 
 I get mount: RPC: not supported
 
 Whats wrong?
 
 /Emil
 
 -- 
 Get your free email from www.linuxmail.org 
 
 
 Powered by Outblaze
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



Re: install a debian woody into a plain redhat 7.2

2002-06-26 Thread Patrick Hsieh
Hello skuda [EMAIL PROTECTED],

How about format it and fresh install with Debian bootable CD?

On Wed, 26 Jun 2002 14:04:41 +0200
skuda [EMAIL PROTECTED] wrote:

 hi, i have a computer where i want to install debian woody but all that i 
 have is an ssh account with root privileges to the plain red hat 7.2 
 installed on it, how i can change it to debian?

-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



Enhanced Real Time Clock Support?

2002-06-25 Thread Patrick Hsieh
Hello,

In the kernel configuratioin, I found a description in the help page of
SMP support.

People using multiprocessor machines who say Y here should also say x
  x Y to Enhanced Real Time Clock Support, below. The Advanced Power x
  x Management code will be disabled if you say Y here.   



My question is, where is the Enhanced Real Time Clock Support? How can
I enable it in the kernel configuration?


-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



postfix--unknown user xxx kept in the queue

2002-06-25 Thread Patrick Hsieh
Hello list,

I've delete some user accounts in my postfix mail server. However, when
someone sent to the deleted account, it will kept in the mail queue. So
I typed mailq command and it came out a big unknown user queue list.

Is there any why to fix that?


-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



filtering with procmail + Maildir

2002-06-16 Thread Patrick Hsieh
Hello list,

Is there any one having experience about filtering mail with Procmail
and Maildir? I am running courier-imap4 and I'd like to filter the mail
on the server-side. Any examples or URLs recommended?
-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



increase mysql max connections over 1024

2002-06-14 Thread Patrick Hsieh
Hello list,

I'd like to increase the number of max connections above 1024 in Linux.
I think I have to increase PTHREAD_THREADS_MAX  in 

/usr/include/bits/local_lim.h

/* The number of threads per process.  */
#define _POSIX_THREAD_THREADS_MAX   64
/* This is the value this implementation supports.  */
#define PTHREAD_THREADS_MAX 1024


My question is, what should I do after modify this file. Should I
rebuild mysql-server .deb package again? Or I just set mysql max
connections and restart mysql server?


-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



ps and caculate start_time

2002-06-14 Thread Patrick Hsieh
Hello list,

I'd like to show the process list and try to list those who has be
running over customized time. Is it possible? Say, I'd like to list the
cron programs which has been running for 3 days.


-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



su to a specific system account without input password

2002-06-14 Thread Patrick Hsieh
Hello list,

I'd like some of the user accounts to su mysql without input any
password. Is it possible? How?

-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



Re: do I need a woody update after 50 days?

2002-06-13 Thread Patrick Hsieh
Hello [EMAIL PROTECTED],

Woody is frozen and will shortly become stable release.
Whenever you get your woody CDs, after installation you'd better use
apt-get update to update the packages list from the headquarter and
apt-get upgrade to upgrade necessary packages.

Also a Debian user in Tainwan :-)



On 13 Jun 2002 12:30:09 +0800
[EMAIL PROTECTED] wrote:

 How much did woody change in the last 50 days?  i.e.  at our first
 meeting I took the 8 woody CD's marked 2002.5.14.  At our next meeting
 should I have my friend make a supplemental CD to keep me fresh or are
 the changes minor and I can download them at 56K, or not download them
 at all?  On 2002.6.29 we will have another woody installfest in
 Taibei, Taiwan to be posted to http://www.slat.org/activity/TLUG_en
 -- 
 http://jidanni.org/ Taiwan(04)25854780
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



Warning only 896MB will be used?

2002-06-13 Thread Patrick Hsieh
Hello list,

The following is part of my dmesg output. I have 2 512MB ECC registered
ram modules. But only 896MB will be used? What does this mean?


Linux version 2.4.18 ([EMAIL PROTECTED]) (gcc version 2.95.4 (Debian 
prerelease)) #2 SMP
 Sun Mar 10 21:28:37 CST 2002
BIOS-provided physical RAM map:
 BIOS-e820:  - 0009fc00 (usable)
 BIOS-e820: 0009fc00 - 000a (reserved)
 BIOS-e820: 000e - 0010 (reserved)
 BIOS-e820: 0010 - 4000 (usable)
 BIOS-e820: fec0 - fec02000 (reserved)
 BIOS-e820: fee0 - fee01000 (reserved)
 BIOS-e820: fff8 - 0001 (reserved)
Warning only 896MB will be used.
Use a HIGHMEM enabled kernel.
found SMP MP-table at 000ff780
hm, page 000ff000 reserved twice.
hm, page 0010 reserved twice.
hm, page 000f reserved twice.
hm, page 000f1000 reserved twice.
On node 0 totalpages: 229376
zone(0): 4096 pages.
zone(1): 225280 pages.
zone(2): 0 pages.
Intel MultiProcessor Specification v1.4

-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



Re: how to increase max connections above 1024 in Linux

2002-06-13 Thread Patrick Hsieh
Hello Tonu Samuel [EMAIL PROTECTED],

Thanks, but my Debian woody did not install glibc package.
Should I get the package source, modify the PTHREAD_THREADS_MAX value
and rebuild glibc package for further installation?




On Thu, 13 Jun 2002 08:55:35 +0200 (EET)
Tonu Samuel [EMAIL PROTECTED] wrote:

 
 
 On Thu, 13 Jun 2002, Patrick Hsieh wrote:
 
  Hello,
 
  I want to raise the max connections in mysql. Due to the linux limix
  thread limitation, I can only increase the number to around 1024. How
  can I break the limitation?
 
 This is topic of glibc (assuming you are using kernel 2.4 at least). Look
 into links (I found them with Google right now):
 
 http://www.volano.com/linuxnotes.html
 http://www.mysqldeveloper.com/4.x-bk_tree/Docs/glibc-2.2.5.patch
 
   Tonu
 
 
 -
 Before posting, please check:
http://www.mysql.com/manual.php   (the manual)
http://lists.mysql.com/   (the list archive)
 
 To request this thread, e-mail [EMAIL PROTECTED]
 To unsubscribe, e-mail [EMAIL PROTECTED]
 Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



Re: how to increase max connections above 1024 in Linux

2002-06-13 Thread Patrick Hsieh
Hello Tonu Samuel [EMAIL PROTECTED],

home:~# dpkg -l | grep libc
ii  libc6  2.2.5-6GNU C Library: Shared libraries and Timezone
ii  libc6-dev  2.2.5-6GNU C Library: Development Libraries and Hea


I think I have to rebuild one of them and reinstall the package again.
Which one should I choose?





On Thu, 13 Jun 2002 08:55:35 +0200 (EET)
Tonu Samuel [EMAIL PROTECTED] wrote:

 
 
 On Thu, 13 Jun 2002, Patrick Hsieh wrote:
 
  Hello,
 
  I want to raise the max connections in mysql. Due to the linux limix
  thread limitation, I can only increase the number to around 1024. How
  can I break the limitation?
 
 This is topic of glibc (assuming you are using kernel 2.4 at least). Look
 into links (I found them with Google right now):
 
 http://www.volano.com/linuxnotes.html
 http://www.mysqldeveloper.com/4.x-bk_tree/Docs/glibc-2.2.5.patch
 
   Tonu
 
 
 -
 Before posting, please check:
http://www.mysql.com/manual.php   (the manual)
http://lists.mysql.com/   (the list archive)
 
 To request this thread, e-mail [EMAIL PROTECTED]
 To unsubscribe, e-mail [EMAIL PROTECTED]
 Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



Re: how to increase max connections above 1024 in Linux

2002-06-13 Thread Patrick Hsieh
Hello Tonu Samuel [EMAIL PROTECTED],

In my Debian woody, I found relative definition in 
/usr/include/bits/local_lim.h

/* The number of threads per process.  */
#define _POSIX_THREAD_THREADS_MAX   64
/* This is the value this implementation supports.  */
#define PTHREAD_THREADS_MAX 1024


I think I have to modify this file to raise the number of max threads,
however, what shoudl I do after modifying this file? Should I recompile
the Linux kernel?







On Thu, 13 Jun 2002 08:55:35 +0200 (EET)
Tonu Samuel [EMAIL PROTECTED] wrote:

 
 
 On Thu, 13 Jun 2002, Patrick Hsieh wrote:
 
  Hello,
 
  I want to raise the max connections in mysql. Due to the linux limix
  thread limitation, I can only increase the number to around 1024. How
  can I break the limitation?
 
 This is topic of glibc (assuming you are using kernel 2.4 at least). Look
 into links (I found them with Google right now):
 
 http://www.volano.com/linuxnotes.html
 http://www.mysqldeveloper.com/4.x-bk_tree/Docs/glibc-2.2.5.patch
 
   Tonu
 
 
 -
 Before posting, please check:
http://www.mysql.com/manual.php   (the manual)
http://lists.mysql.com/   (the list archive)
 
 To request this thread, e-mail [EMAIL PROTECTED]
 To unsubscribe, e-mail [EMAIL PROTECTED]
 Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



Re: do I need a woody update after 50 days?

2002-06-13 Thread Patrick Hsieh
Hello [EMAIL PROTECTED],


I suggest you bring a copy of Debian ftp archive in the laptop or hard
disk drive and put it in the LAN as the central installation source.
It's about 8.4 GB total. I think the InstallFest may need a ftp archive
in the LAN for faster installation. If you put one in the LAN, then
everyone can modify their /etc/apt/sources.list like

# Taiwan Debian Installfest

deb ftp://domain.or.ip stable main contrib non-free
deb ftp://domain.or.ip testing main contrib non-free
deb ftp://domain.or.ip/debian-non-US testing/non-US main contrib non-free
deb ftp://domain.or.ip/debian-security stable/updates main contrib non-free

The advantage is that everyone can install latest pacages from the same
installation source.


On 14 Jun 2002 07:58:08 +0800
[EMAIL PROTECTED] wrote:

 P Whenever you get your woody CDs, after installation you'd better use
 P apt-get update to update the packages list from the headquarter and
 P apt-get upgrade to upgrade necessary packages.
 
 what if the debian system is remote, no phone line.  Can I somehow
 first tell headquarters that I want to download all the changes from
 5/14/02 to today onto some file, and then take that file to the remote
 system?
 -- 
 http://jidanni.org/ Taiwan(04)25854780
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



how to define my max_connections?

2002-06-10 Thread Patrick Hsieh
Hello list,

I am running mysql-3.23.49 on Linux 2.4.18 for production purpose.
Now I want to define a proper max_connections value in mysql. The
document said,

The maximum number of connects MySQL is depending on how good the thread 
library is on a 
given platform. Linux or Solaris should be able to support 500-1000
simultaneous connections, depending on how much RAM you have and what
your clients are doing.

My question is, how can I raise the max_connections value as many as
possible? Does it depend on the hardware resource limit or how the OS
implement thread library?





-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



Re: when is debian 3.0 coming out ?

2002-06-07 Thread Patrick Hsieh
Hello Mark A. Bialik [EMAIL PROTECTED],

2005? Are you kidding? How do you define stable in this way?
Where can we know the unfixed bugs which are supposed to be fixed in
so-called stable release?

On Fri, 07 Jun 2002 02:39:04 -0500
Mark A. Bialik [EMAIL PROTECTED] wrote:

 No, everyone is too worried about creating
 testing/development/unstable/semi-stable/used-to-be-stable dists at the
 moment.  An actual stable environment should be released in 2005.
 
 Mark
 
 
 faisal gillani wrote:
  
  does anyone knows the release date of debian 3.0 told
  by the debian people ?
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



Re: when is debian 3.0 coming out ?

2002-06-07 Thread Patrick Hsieh
Hello Tom Cook [EMAIL PROTECTED],

Thanks. I'll follow-up. :-)

On Fri, 7 Jun 2002 17:28:52 +0930
Tom Cook [EMAIL PROTECTED] wrote:

 On  0, Patrick Hsieh [EMAIL PROTECTED] wrote:
  Hello Mark A. Bialik [EMAIL PROTECTED],
  
  2005? Are you kidding? How do you define stable in this way?
  Where can we know the unfixed bugs which are supposed to be fixed in
  so-called stable release?
 
 This was a common English language device known as a Joke.  This
 specific Joke probably fits somewhere in the dramatic irony category.
 2005 is not a reasonable release date, but surely you have been
 offline, naive or dead for the last few weeks if you get this list and
 have not seen the enormous discussion threads about the woody
 release...
 
 Tom
 -- 
 Tom Cook
 Information Technology Services, The University of Adelaide
 
 Chaos Theory is a new theory invented by scientists panicked by the thought 
 that the public were beginning to understand the old ones.
   - Mike Barfield
 
 Get my GPG public key: 
 https://pinky.its.adelaide.edu.au/~tkcook/tom.cook-at-adelaide.edu.au

-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



nothing to apt-get upgrade for a long while?

2002-06-06 Thread Patrick Hsieh
Hello,

I've got nothing to apt-get upgrade on my woody for a long while. Is it
normal?
-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



Re: [Solved!] Re: Replacing default PPP deb with custom deb?

2002-06-06 Thread Patrick Hsieh
Hello Jamin W.Collins [EMAIL PROTECTED],

Then, how to unhold the package?


On Thu, 6 Jun 2002 15:02:13 -0500
Jamin W.Collins [EMAIL PROTECTED] wrote:

 On Thu, 06 Jun 2002 22:01:26 +0200
 Joris [EMAIL PROTECTED] wrote:
 
  http://www.google.com/search?q=dpkg+%22put+package+on+hold%22
  gives me:
  $ echo package hold | dpkg --set-selections
 
 Sweet!  Works like a charm. As I suspected, I simply wasn't looking for
 the right options.  Thank you for very fast response.
 
 -- 
 Jamin W. Collins
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



Re: Replacing default PPP deb with custom deb?

2002-06-06 Thread Patrick Hsieh
Hello John Hasler [EMAIL PROTECTED],

You mean to modify the version number in the changelog?


On 06 Jun 2002 15:23:03 -0500
John Hasler [EMAIL PROTECTED] wrote:

 Jamin W. Collins writes:
  The deb package made from the patched source bears the same name and
  version as the official package.  I tried finding a way to change this,
  but haven't found anything of help.
 
 Edit the changelog.
 -- 
 John Hasler
 [EMAIL PROTECTED] (John Hasler)
 Dancing Horse Hill
 Elmwood, WI
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



Re: Setting system time on startup

2002-06-06 Thread Patrick Hsieh
Hello Pietro Cagnoni [EMAIL PROTECTED],

What is the advantage to keep the clock on GMT?

On Wed, 05 Jun 2002 19:21:28 +0200
Pietro Cagnoni [EMAIL PROTECTED] wrote:

 Ian D. Stewart wrote:
  Howdy Folks,
  
  Right now, when booting my linux box, the system clock is off by four 
  hours (I'm guessing it is set to GMT).  I can reset the clock using 
  date, but this is starting to get a bit tedious.  Is there a way to 
  automate this process and/or convince Linux to set the system clock to 
  local time?
 
 debian readjusts the clock on shutdown, maybe there's something broken
 somewhere; check the console output on shutdown.
 
 if you use just linux on the box, it's better to keep the clock on
 GMT: adjust UTC=* in /etc/default/rcS .
 
 pietro.
 
 
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



seek Tape drive with USB interface

2002-06-02 Thread Patrick Hsieh
Hello,

I am looking for Tape drive with USB interface.
Any suggestion?


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



unknown user mail queue in postfix

2002-05-31 Thread Patrick Hsieh
Hello,

I have a postfix mail server with 50 mail accounts and 24*7 network
conectivity. When I type mailq, there are always unknown user mail
queue in the system. I question is, why that mail queue still exist in
the system? Since my smtp server respond the smtp client with unknown
user message, why postfix still keeps them in the queue?


-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



MaxClient in apache

2002-05-30 Thread Patrick Hsieh
Hello,

I'd like to raise the MaxClient to 1500 in apache.
Basically, I have to get apache source and modify the HARD_SERVER_LIMIT
value in httpd.h and rebuild the .deb package. However, if I use apt-get
upgrade to upgrade my system packages, I have to rebuild the apache
package again.

Is there any way to avoid this or make things easier?
-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



Re: MaxClient in apache

2002-05-30 Thread Patrick Hsieh
Hello John Griffiths [EMAIL PROTECTED],

Yes. But it can't violate the hardlimit, which is defined in the source
code.

I'd like to raise to 1500, which is more than the default hard limit.

On Thu, 30 May 2002 17:23:04 +1000
John Griffiths [EMAIL PROTECTED] wrote:

 At 03:21 PM 5/30/02 +0800, Patrick Hsieh wrote:
 I'd like to raise the MaxClient to 1500 in apache.
 Basically, I have to get apache source and modify the HARD_SERVER_LIMIT
 value in httpd.h and rebuild the .deb package. However, if I use apt-get
 upgrade to upgrade my system packages, I have to rebuild the apache
 package again.
 
 
 isn't max client specified in the /etc/apache/httpd.conf ?
  
 just change the number then
 
 #apachectl restart
 
 should work to my knowledge, you might want to bump up some of the other
 numbers in there while you're at it though.

-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



syn flood attacked?

2002-05-17 Thread Patrick Hsieh
Hello list,

I have a heavy smtp server and recently I got a lot messages like

May 17 22:53:24 ms2 kernel: possible SYN flooding on port 25. Sending cookies.
May 17 22:54:25 ms2 kernel: possible SYN flooding on port 25. Sending cookies.
May 17 22:55:25 ms2 kernel: possible SYN flooding on port 25. Sending cookies.
May 17 22:56:25 ms2 kernel: possible SYN flooding on port 25. Sending cookies.
May 17 22:57:25 ms2 kernel: possible SYN flooding on port 25. Sending cookies.
May 17 23:03:11 ms2 kernel: possible SYN flooding on port 25. Sending cookies.

When I use netstat to grep the smtp connection, I lots of

ms2:~# netstat -ant | grep SYN_RECV | wc -l
   2539


Am I being syn flood attacked? How can I get rid of this?


-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



How does Debian support iSCSI

2002-05-17 Thread Patrick Hsieh
Hello list,

I am evaluating iSCSI solution on Debian. How does it currently being
supported on Linux? Any experience highly appreciated.


-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



porting innd data from SuSE 7.2 to Debian woody

2002-05-08 Thread Patrick Hsieh
Hello list,

I jsut copy the innd data from SuSE 7.2 to Debian Woody.
When I restart innd, an error occurred:

mis:/home/pahud# tail -f /var/log/news/news.notice
May  8 12:47:27 mis innd: SERVER descriptors 1024
May  8 12:47:27 mis innd: SERVER outgoing 1011
May  8 12:47:27 mis innd: /var/lib/news/history cant dbminit SERVER Numerical 
argument out of domain


What does it mean?
-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



how to use -j DROPLOG in iptables?

2002-05-08 Thread Patrick Hsieh
Hello,

When I use -j DROPLOG in iptables, my woody complains:
iptables v1.2.6a: Couldn't load target 
`DROPLOG':/lib/iptables/libipt_DROPLOG.so: cannot open shared object file: No 
such file or directory

Try `iptables -h' or 'iptables --help' for more information.



Any way to deal with that?

-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



Re: OpenOffice 1.0 ,debs?

2002-05-03 Thread Patrick Hsieh
Hello Peter Whysall [EMAIL PROTECTED],

Is there any sources.list for j2sdk 1.4 or j2re1.4?




On Fri, 3 May 2002 09:17:25 +0100
Peter Whysall [EMAIL PROTECTED] wrote:

 on Fri, May 03, 2002, Hans Gubitz ([EMAIL PROTECTED]) wrote:
  On Fri, May 03, 2002 at 12:48:34AM +0200, Stefan Bellon wrote:
   stan wrote:
Does anyone know where I can get .debs for Openoffice 1.0?
   
   [EMAIL PROTECTED] grep office /etc/apt/sources.list 
   deb http://apt-proxy.sourceforge.net/openoffice unstable main contrib
   deb-src http://apt-proxy.sourceforge.net/openoffice unstable main contrib
   
   Greetings,
   
   Stefan.
  
  
  
  bash-2.05a$ openoffice 
  running openoffice setup...
  FATAL ERROR: required java version not found!
  OpenOffice.org could not be started - /home/gubitz/.openoffice/soffice
  is not available
  bash-2.05a$ 
  
  
  
  Which java version?
  Where can I get those .debs ?
 
 Do you have any java at all installed?
 
 I've had no problems using the j2re1.3 Blackdown Java package.
 
 I use the following line in /etc/apt/sources.list:
 
 deb
 ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/debian/
 woody non-free
 
 (All on one line - pesky line wrapping!)
 
 Hope this helps
 
 Take care,
 
 Peter.
 -- 
 Peter Whysall
 [EMAIL PROTECTED]
 The TLD in my email address is sdrawkcab.
 Debian GNU/Linux 3.0 sid -- kernel 2.4.18

-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



Re: route goes on reboot ?

2002-05-02 Thread Patrick Hsieh
Hello David Smead [EMAIL PROTECTED],

BTW, if I have multiple routing table, where can I define so that it
will work upon reboot?


On Wed, 1 May 2002 21:59:25 -0700 (PDT)
David Smead [EMAIL PROTECTED] wrote:

 Put the info in /etc/network/interfaces.  Mine looks like:
 
 auto eth0
 iface eth0 inet static
 address 192.168.8.30
 netmask 255.255.255.0
 network 192.168.8.0
 broadcast 192.168.8.255
 gateway 192.168.8.254
 
 Technically you don't need all the fields but I put them all in as a
 reminder.
 
 -- 
 Sincerely,
 
 David Smead
 http://www.amplepower.com.
 
 On Thu, 2 May 2002, Kapil Khosla wrote:
 
  Hi,
  In my current configuration , I have to do an
  ifconfig eth0 IP addr and route commands everytime I reboot.
  The problem is on reboot, all these settings vanish and I have to give 
  these commands again.
 
  I sort of know that these have to be put in some /etc/rc**
  but am not sure which file do I have to put these files and if they should 
  be put early in the booting procedure or in the last will do.
 
  Thanks
  Kapil
 
 
 
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



Re: How to keep Woody update when not in stable release?

2002-05-02 Thread Patrick Hsieh
Hello Brian Nelson [EMAIL PROTECTED],

This is what I am worried about.

If the fixed packages of woody take a couple of days before dropping
into the official woody archive. Then my woody system will become
vulnerable in this period. I am kinda paranoid in this way?

On 26 Apr 2002 10:29:28 -0700
Brian Nelson [EMAIL PROTECTED] wrote:

 Patrick Hsieh [EMAIL PROTECTED] writes:
 
  Hello list,
  
  Since all the official Debian security announcements are for Potato only,
  how can I keep my Woody up to date? Shoud I grab the patch myself and
  rebuild my patched .deb?
 
 Normally security updates appear in sid/unstable at approximately the
 same time they appear in the security updates for potato, so it's
 normally easier to simply manually grab the new debs from there rather
 than rebuild them yourself.
 
 Otherwise, the fixed packages will usually drop into woody in a few
 days anyway.
 
 -- 
 Brian Nelson [EMAIL PROTECTED]
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



How to keep Woody update when not in stable release?

2002-04-26 Thread Patrick Hsieh
Hello list,

Since all the official Debian security announcements are for Potato only,
how can I keep my Woody up to date? Shoud I grab the patch myself and
rebuild my patched .deb?


-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



mysql thread resource control?

2002-04-24 Thread Patrick Hsieh
Hello list,

Is it possible to limit the mysql thread resource?
Say, when there is a heavy-load query, it will not use 99% of the cpu
time and afect other system processes. Idea?


-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



Amavis - can't connect to daemon

2002-04-24 Thread Patrick Hsieh
Hello list,

I install postfix and amavis-postfix on Woody:

ii  amavis-postfix 0.3.12pre5.200 Interface between MTA and virus scanner.
ii  postfix1.1.4-2A high-performance mail transport agent




The following is my modification of postfix main.cf and master.cf

main.cf:
content_filter = vscan:
soft_bounce = yes


master.cf:
vscan unix  -   n   n   -   10  pipe user=amavis 
argv=/usr/sbin/amavis ${sender} ${recipient}
localhost:10025  inet  n  -  n  -  -   smtpd -o content_filter=


Then I restarted postfix and amavis-postfix, and tried to relay mail
from local postfix. But the mail.log said:


Apr 26 19:12:41 deb90 postfix/cleanup[2749]: B7285372422A: message-id=[EMAIL 
PROTECTED]
Apr 26 19:12:41 deb90 postfix/qmgr[2713]: B7285372422A:
from=[EMAIL PROTECTED], size=306, nrcpt=1 (queue active)
Apr 26 19:12:41 deb90 amavis[2758]: Virus scanner failure: ScannerDaemon - 
can't connect to daemon
Apr 26 19:12:41 deb90 amavis[2758]: All virus scanners failed!
Apr 26 19:12:41 deb90 amavis[2758]: do_exit:959 - ending execution with 75
Apr 26 19:12:41 deb90 postfix/pipe[2750]: B7285372422A:
to=[EMAIL PROTECTED], relay=vscan, delay=7, status=deferred (temporary
failure)
Apr 26 19:17:46 deb90 postfix/smtpd[2715]: disconnect from debxfs[127.0.0.1]



Is there any solution to this problem?


-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



mutt+Maildir

2002-04-21 Thread Patrick Hsieh
Hello list,

I use postfix and Maildir together.
When I export MAIL=$HOME/Maildir, mutt can read the inbox.
But when I send mail out, it will not backup in the $HOME/Maildir/.Sent
directory. How to make it work?


-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



Re: Woody (Testing) question

2002-04-21 Thread Patrick Hsieh
Hello DSC Extra [EMAIL PROTECTED],

You can apt-get upgrade even woody releases stable.


On Sun, 21 Apr 2002 13:56:27 +0200
DSC Extra [EMAIL PROTECTED] wrote:

 I'm on Woody install now, but I have a question:
 
- When woody releases under stable, will apt-get handle the final upgrade 
 to stable (any last
 minute changes, bug fixes, etc.)?
 
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



Re: mutt+Maildir

2002-04-21 Thread Patrick Hsieh
Hello craigw [EMAIL PROTECTED],

I set the following lines in my .muttrd

set folder=~/Maildir
set mbox_type=Maildir
set record=~/Maildir/.Sent


And it works with mutt and .Sent Maildir format folder.
Thanks.

On Sun, 21 Apr 2002 08:28:59 -0700
craigw [EMAIL PROTECTED] wrote:

 On Sun Apr 21, 2002 at 09:49:11PM +0800, Patrick Hsieh wrote:
  Hello list,
  
  I use postfix and Maildir together.
  When I export MAIL=$HOME/Maildir, mutt can read the inbox.
  But when I send mail out, it will not backup in the $HOME/Maildir/.Sent
  directory. How to make it work?
  
  -- 
 
 Put this in ~/.muttrc:
 set record='~/Mailidir/.Sent'
 
 note that in this case .Sent will be a mbox-style mail file, not a
 directory. So if you have created a directory called .Sent you would
 need to remove it. Or else maybe you prefer something like this:
 
 set record='~/Mailidir/.Sent/mbox'
 
 (I am not familiar with Maildir)
 -- 
 
 -CraigW
 
 You stole fizzy lifting drinks! You bumped into the ceiling which now has 
 to be washed and sterilized, so you get nothing! You lose! Good day sir!
   -Willy Wonka
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



to use debian-cd, what should I mirror

2002-04-19 Thread Patrick Hsieh
Hello list,

I'd like to generate woody ISO images with debian-cd.
Am I supposed to mirror complete debian ftp archive?
What is the minimal necessary directories I should mirror?
Any good utility or idea?

Thanks.
-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



whereis iptables LOG

2002-04-18 Thread Patrick Hsieh
Hello,

I use this rule to redirect the outgoing smtp connection under NAT.
Where are the log messages? I just can't find any log begging with
SMTP_LOG under /var/log/. Idea?

iptables -t nat -A PREROUTING -p TCP -s 192.168.10.0/24 ! -d
111.222.333.444 --dport 25 -j LOG --log-prefix SMTP_LOG:

-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



encrypt ISO image files

2002-04-17 Thread Patrick Hsieh
Hello list,

I use mkisofs to make my backup archive into multiple ISO images.
Is it possible to encrypt them so that when they were burned, the owner
still need to enter password to authentacate?



-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg



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



Re: encrypt ISO image files

2002-04-17 Thread Patrick Hsieh
Hello Jeremy T. Bouse [EMAIL PROTECTED],

I am considering to tar the whole archive into one single file and gpg
sign/encrypt before burn it into the CD.

Is this workable?


On Tue, 16 Apr 2002 23:39:41 -0700
Jeremy T. Bouse [EMAIL PROTECTED] wrote:

   If you ever find out how to do this or if it's even possible
 please let me know as this is something I've been trying to find for
 awhile... I've only seen one implimentation but it was for windows and
 actually required loading a software utility that handled the decryption
 on the fly...
 
   Jeremy
 
 On Wed, Apr 17, 2002 at 01:00:33PM +0800, Patrick Hsieh wrote:
  Hello list,
  
  I use mkisofs to make my backup archive into multiple ISO images.
  Is it possible to encrypt them so that when they were burned, the owner
  still need to enter password to authentacate?
  
  
  
  -- 
  Patrick Hsieh [EMAIL PROTECTED]
  GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg
  
  
  
  -- 
  To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
  with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



postfix with SASL on Debian?

2002-04-17 Thread Patrick Hsieh
Hello,

I'd like to enable SASL support of Postfix on woody.

What packages should I install anyway? Any instructions ?


-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg


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



choose slackware or debian?

2002-04-15 Thread Patrick Hsieh
Hello list,

We are planing to develop a next-generation server appliance as our
product. We used to develop from slackware 7.0 as the old version with
16MB DOM on it. However, we hope to use hard disk drive in the next
generation product.
Now, I am wondering if it is wise to change from slackware to debian as
the core Linux distribution in the next generation product platform. My
point is:


1. Debian has bigger development community than Slackware

2. Debian has 3-tier open-developing model; slackware is kind of
close and conservative  in this way

3. Debian has better package management and better system integrity,
which is a very important feature in a dedicated Linux server appliance;
Slacware bosats its system consistency and Unix tarball philosophy.

4. Debian has an open bug tracking system; Slackware does not(I can't
find any).


My question is, how can I get the current development status of each,
e.g. number of official developers of each and how did the number
increase or decrease in the last years; how many packages currently in
each distribution and how much user base of each?


I hope to get enough information to help me make the right decision.
Well, maybe I  also have to  evaluate other aspect in addition to
development model and its user base. Anyway, I wish to hear any
suggestions and information from here.


-- 
Patrick Hsieh [EMAIL PROTECTED]
GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg



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



how to get the total resource usage of a uid?

2002-04-13 Thread Patrick Hsieh
Hello,


I'd like to know the real-time memory/cpu usage of the total processes
of a single uid. How can I get the report? I've tried vmstat and top,
but failed to get what I need.

For example, if I allocate the max memory/cpu resource for www-data in
/etc/security/limits.conf, how can I know the current usage, even the
percentage?


-- 
Patrick Hsieh [EMAIL PROTECTED]

GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg



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



is apache 2.x available?

2002-04-08 Thread Patrick Hsieh
Hello list,

Apache 2.x has been under testing for a long time.
Is it ready for Debian GNU/Linux in testing/unstable release?
Is it a good idea to use in a productive environment?


-- 
Patrick Hsieh [EMAIL PROTECTED]

GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg



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



how to remove apache server info in the header?

2002-04-08 Thread Patrick Hsieh
Hello list,

How can I remove the server info. form the apache http header?


Server: Apache/1.3.23 (Unix) Debian GNU/Linux PHP/4.1.2



[EMAIL PROTECTED]:~$ telnet localhost 80

GET HTTP/1.1 /

HTTP/1.1 400 Bad Request
Date: Tue, 09 Apr 2002 02:37:49 GMT
Server: Apache/1.3.23 (Unix) Debian GNU/Linux PHP/4.1.2
Connection: close
Content-Type: text/html; charset=iso-8859-1

!DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN
HTMLHEAD
TITLE400 Bad Request/TITLE
/HEADBODY
H1Bad Request/H1
Your browser sent a request that this server could not understand.P
Invalid URI in request GET HTTP/1.1 /P
/BODY/HTML
Connection closed by foreign host.

-- 
Patrick Hsieh [EMAIL PROTECTED]

GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg



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



make customized woody bootable CD within 180MB

2002-04-07 Thread Patrick Hsieh
Hello list,

I am working on debian-cd utility to make my own customized woody
bootable CD iso. Well, now that I could use dpkg --get-selections to
figure out the package list Ive installed in my system, I hope to pull
them altogether into 1 bootable CD. What should I do with debian-cd
package? 

-- 
Patrick Hsieh [EMAIL PROTECTED]

GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg



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



limits.conf problem

2002-04-04 Thread Patrick Hsieh
Hello list,
This is my limits.conf for testing Debian GNU/Linux server:

*   hardcore0
*   hardnofile  1024
*   hardrss 1
*   hardnproc   100
*   hardstack   102400
roothardcore0
roothardnofile  65536
#roothardrss40
roothardnproc   65536



Please notice that I set 102400 KB of stack size for individual user.
However, when I ssh login and ulimit -a, I get


core file size(blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size   (kbytes, -m) 1
open files(-n) 1024
pipe size  (512 bytes, -p) 8
stack size(kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes(-u) 100
virtual memory(kbytes, -v) unlimited


The stack size become 8192 only. Is there any configuration that make
the limit above limits.conf?


-- 
Patrick Hsieh [EMAIL PROTECTED]

GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg



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



Re: limits.conf problem

2002-04-04 Thread Patrick Hsieh
Hello Patrick Hsieh [EMAIL PROTECTED],

Have to use ulimit -aH to read the hard limit. ^_^

My problems:

1. What's the difference btween soft and hard limit?
What will happen if I exceed the soft limit but in the hard limit?


2. How to tune the stack size, max locked memory  and max memory size?
My Debian GNU/Linux server has 1G RAM as a productive web server.




On Thu, 04 Apr 2002 20:33:40 +0800
Patrick Hsieh [EMAIL PROTECTED] wrote:

 Hello list,
 This is my limits.conf for testing Debian GNU/Linux server:
 
 *   hardcore0
 *   hardnofile  1024
 *   hardrss 1
 *   hardnproc   100
 *   hardstack   102400
 roothardcore0
 roothardnofile  65536
 #roothardrss40
 roothardnproc   65536
 
 
 
 Please notice that I set 102400 KB of stack size for individual user.
 However, when I ssh login and ulimit -a, I get
 
 
 core file size(blocks, -c) 0
 data seg size (kbytes, -d) unlimited
 file size (blocks, -f) unlimited
 max locked memory (kbytes, -l) unlimited
 max memory size   (kbytes, -m) 1
 open files(-n) 1024
 pipe size  (512 bytes, -p) 8
 stack size(kbytes, -s) 8192
 cpu time (seconds, -t) unlimited
 max user processes(-u) 100
 virtual memory(kbytes, -v) unlimited
 
 
 The stack size become 8192 only. Is there any configuration that make
 the limit above limits.conf?
 
 
 -- 
 Patrick Hsieh [EMAIL PROTECTED]
 
 GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
Patrick Hsieh [EMAIL PROTECTED]

GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg



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



is 2.2r6 iso available?

2002-04-03 Thread Patrick Hsieh
Hello,

Is there official 2.2r6 iso available?

Where to download?
-- 
Patrick Hsieh [EMAIL PROTECTED]

GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg



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



Debian on PS2 with 2.5 IDE raid??

2002-04-03 Thread Patrick Hsieh
Hello list,


I'd like to install Debian on Sony PS2 with 2 2.5 IDE disks as software
raid disk array. Is it possible? Is there anyone having experience?


-- 
Patrick Hsieh [EMAIL PROTECTED]

GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg



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



looking for dialog examples

2002-03-21 Thread Patrick Hsieh
Hello list,

I'd like to write some shell scripts with dialog.
Is there any good website with a lot of examples?
Any info. highly welcome.


-- 
Patrick Hsieh [EMAIL PROTECTED]

GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg



Re: Where I Can Find OpenSSH+OpenLDAP Documents?

2002-03-21 Thread Patrick Hsieh
Hello Russell Coker [EMAIL PROTECTED],

I installed libnss-ldap in woody, copied 
/usr/share/doc/libnss-ldap/examples/nsswitch.ldap
to /etc/nsswitch.conf.


in /etc/libnss-ldap.conf, the remote ldap server information is defined,
and /etc/nsswitch.conf defines that:

# the following two lines obviate the + entry in /etc/passwd and /etc/group.
passwd: files ldap
group:  files ldap

So it will authenticate the files then, if fails, ldap server, right?

OK. So I added a user james on the remote ldap server with some
attributes like uid, uidnumber, loginshell and userpassword,etc. But I
didn't add james in my local OS. However, when I ssh my local machine
with account james, it just doesn't work.

Is there anything I could have missed?



On Thu, 21 Mar 2002 17:37:31 +0100
Russell Coker [EMAIL PROTECTED] wrote:

 On Thu, 21 Mar 2002 16:53, axacheng wrote:
  Does Anyone Know where i can find the OpenSSH+OpenLDAP implement
 
  documents in the internet??
 
 Just use the PAM LDAP support and configure /etc/pam.d/ssh appropriately.
 
 But first try nss-ldap as it's slightly easier to setup and has all the same 
 config file formats etc.
 
 -- 
 If you send email to me or to a mailing list that I use which has 4 lines
 of legalistic junk at the end then you are specifically authorizing me to do
 whatever I wish with the message and all other messages from your domain, by
 posting the message you agree that your long legalistic sig is void.
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
Patrick Hsieh [EMAIL PROTECTED]

GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg



.htaccess does not work under /var/www/

2002-03-20 Thread Patrick Hsieh
Hello list,

I made a very simple .htaccess file under /var/www, which is the default
DocumentRoot in the apache of Debian, but it doesn't work.

However, if I put it under ~/public_html/, it works!
Is there any configuration problem?
-- 
Patrick Hsieh [EMAIL PROTECTED]

GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg



pop-before-smtp on postfox problem

2002-02-24 Thread Patrick Hsieh
Hello list, 

I installed
postfix 1.1.3-1
courier-imap 1.4.2-1
courier-pop 0.37.2-1
pop-before-smtp 1.28-4


I read /usr/share/doc/README.*

modified /etc/postfix/main.cf as
smtpd_recipient_restrictions = permit_mynetworks, hash:/etc/postfix/lamers,
check_client_access hash:/etc/postfix/pop-before-smtp,
reject_unknown_client,
check_client_access regexp:/etc/postfix/clientcheck,
check_client_access regexp:/etc/postfix/openrelay, reject_maps_rbl,
check_relay_domains


Then edit /etc/pop-before-smtp/pop-before-smtp.conf
to

# Simple empty pattern to speed up a bit when only one pattern is needed
# (might spit out errors if you in fact have such lines in your logfile)
pat2 = '^X$'

# For Courier-IMAP:
pat = '^(... .. ..:..:..) \S+ imaplogin: LOGIN, user=\S+, 
ip=\[(\d+\.\d+\.\d+\.\d+)\]$'



after /etc/init.d/pop-before-smtp restart and
/etc/init.d/postfix reload

I tried to check my pop mail first, but the I failed to relay my mail
with this postfix smtp server. Neither did it work after courier-imap
mail retrieval.  Is there anything I could have missed?

Thanks.

-- 
Patrick Hsieh [EMAIL PROTECTED]



firewire storage solution recommended

2002-02-06 Thread Patrick Hsieh
Hello list,

I am planing to buy a firewire external removeable ide disk.

How does currently linux 2.4 kernel support firewire interface?

Any firewire removeable ide disk or interface has been proven workable
under Linux 2.4?

Any recommendations are highly welcome.
-- 
Patrick Hsieh [EMAIL PROTECTED]

GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg



e100 keeps up and down

2002-02-04 Thread Patrick Hsieh
Hello list,
My dmesg is filled with the messages:

e100: eth0 NIC Link is Down
e100: eth0 NIC Link is Up 100 Mbps Half duplex
e100: eth0 NIC Link is Down
e100: eth0 NIC Link is Up 100 Mbps Half duplex
e100: eth0 NIC Link is Down
e100: eth0 NIC Link is Up 100 Mbps Half duplex
e100: eth0 NIC Link is Down
e100: eth0 NIC Link is Up 100 Mbps Half duplex
e100: eth0 NIC Link is Down
e100: eth0 NIC Link is Up 100 Mbps Half duplex
e100: eth0 NIC Link is Down
e100: eth0 NIC Link is Up 100 Mbps Half duplex
e100: eth0 NIC Link is Down
e100: eth0 NIC Link is Up 100 Mbps Half duplex
e100: eth0 NIC Link is Down
e100: eth0 NIC Link is Up 100 Mbps Half duplex



is there something wrong?

I download e100 driver directly from www.intel.com and compiled the
e100.o myself.
-- 
Patrick Hsieh [EMAIL PROTECTED]

GPG public key http://pahud.net/pubkeys/pahudatpahud.gpg



  1   2   >