Re: Open File Limit

2003-05-11 Thread J.J. van Gorkum
 english mode=tarzan
 
 Maybe I'm wrong, but I don't think that /proc/sys/fs/inode-nr means so,
 looks like /proc/sys/fs/file-nr is the one you are looking for.
 
 I've found this:
 http://www.cs.tau.ac.il/~didi/file-nr.html
 
 /english

That is true, but I allways thought that you also need to change the
per/process limits with ulimit -n (if you are working with bash)

-- 
JJ van Gorkum Knowledge Zone
If UNIX isn't the solution, you've got the wrong problem.




Re: Smart Array 641 ?

2003-05-11 Thread J.J. van Gorkum
On Sat, 2003-05-10 at 15:08, Pierfrancesco Caci wrote:
 Anyone managed to install debian on a compaq smart array 641 ?
 
 I'm pretty sure I read someone managed to do that, but I can't
 find the link anymore. Any help would be appreciated
 
 Woody's bf24 kernel has a cciss driver version 2.4.5 that doesn't 
 find it. On HP site, they mention a 2.4.44 version.
 
 So we are stuck with a machine with no HD, unless we put them on the non-scsi
 controller... 

This is a bit of a problem, HP/Compaq assume you are using a redhat
kernel (which is a base linus kernel with a whole lot of -ac and other
patches). The cciss driver used in the 2.4.18-bf24 kernel uses an old
(buggy) cciss driver. Wait for the 2.4.21 kernel (currently in -rc2
state) to become available for Debian. in this source tree the cciss
(and other hp/compaq) drivers are bumped to the current (same as on the
hp/compaq site) version.
-- 
JJ van Gorkum Knowledge Zone
If UNIX isn't the solution, you've got the wrong problem.




Re: PPTP and Firewalls

2003-05-11 Thread khaosse_angel


Does the PPTP server have a real IP address, or is there some sort of 
NAT/DNAT/SNAT being done by the firewall?

The PPTP server doesn't have a real IP, part of the problem for me is trying
to get the DNAT/SNAT rules working properly. As I understand it, I need to DNAT
all GRE traffic to the PPTP server and SNAT it back again, but I can't quite
figure out the rules.

What do you see with a tcpdump on the firewall, and does the server's ConfReq

actually make it to the client at all?

The tcpdump shows packets being sent into both sides of the firewall, but never
coming out of it. This quite clearlt indicates that my GRE forwarding rules
are wrong, but I can't figure out what the right ones are.

Can the PPTP server ping the client?

The server can ping the client IP fine, the firewall seems to work correctly
for everything other than the GRE packets.

Have you explicitly allowed GRE traffic through the firewall?

I'm trying, but I think that's what I've got wrong. If you could give me some
example rules that would do this, that'd be really appreciated.

Thanks for the help.

t
-- 
GPG : http://n12turbo.com/tarragon/public.key


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






can't compile courier-imap with authmysql *G*

2003-05-11 Thread Gregory Machin
I can't compile with authmysql on debian 3 woody...

yes i do have all the require lib's for mysql got a full server install
and libmysqlclient10 installed.

I have tried the following as sergested by the faq and in mailing list...

CPPFLAGS=-I/usr/local/ssl/include
LDFLAGS=-L/usr/local/ssl/lib
export CPPFLAGS
export LDFLAGS

./configure \
--with-mysql-libs=/usr/local/mysql/lib/mysql \
--with-mysql-includes=/usr/local/mysql/include/mysql \
--with-authmysql \ --with-authmysql=yes ...

and i still get .
configure: error: --with-authmysql specified but no mysqlclient.so
configure: error: /bin/sh ' .configure' failed for authlib

Please help
many thanks
greg




Re: PPTP and Firewalls

2003-05-11 Thread Shri Shrikumar
On Sun, 2003-05-11 at 11:00, [EMAIL PROTECTED] wrote:
 Does the PPTP server have a real IP address, or is there some sort of 
 NAT/DNAT/SNAT being done by the firewall?
 
 The PPTP server doesn't have a real IP, part of the problem for me is trying
 to get the DNAT/SNAT rules working properly. As I understand it, I need to 
 DNAT
 all GRE traffic to the PPTP server and SNAT it back again, but I can't quite
 figure out the rules.

You do not have to SNAT it back. have you tried testing the PPTP server
from inside the network to make sure that there is no problem with the
PPTP server ?

HTH,



Shri

-- 

Shri Shrikumar   U R Byte Solutions   Tel:   0845 644 4745
I.T. Consultant  Edinburgh, Scotland  Mob:   0773 980 3499
 Web: www.urbyte.com  Email: [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Re: can't compile courier-imap with authmysql *G*

2003-05-11 Thread Emmanuel Lacour
On Sun, May 11, 2003 at 12:57:30PM -, Gregory Machin wrote:
 I can't compile with authmysql on debian 3 woody...
 
Do you really need self compiled courier-authmysql and mysql ... both
exists in woody...

-- 
Emmanuel Lacour  Easter-eggs
44-46 rue de l'Ouest  -  75014 Paris   -   France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37- Fax: +33 (0) 1 41 35 00 76
mailto:[EMAIL PROTECTED]   -http://www.easter-eggs.com




Re: can't compile courier-imap with authmysql *G*

2003-05-11 Thread Thomas Lamy
Gregory Machin wrote:
 
 I can't compile with authmysql on debian 3 woody...
 
 yes i do have all the require lib's for mysql got a full 
 server install
 and libmysqlclient10 installed.
 
 I have tried the following as sergested by the faq and in 
 mailing list...
 
 CPPFLAGS=-I/usr/local/ssl/include
 LDFLAGS=-L/usr/local/ssl/lib
 export CPPFLAGS
 export LDFLAGS
 
 ./configure \
 --with-mysql-libs=/usr/local/mysql/lib/mysql \
 --with-mysql-includes=/usr/local/mysql/include/mysql \
 --with-authmysql \ --with-authmysql=yes ...
 
 and i still get .
 configure: error: --with-authmysql specified but no mysqlclient.so
 configure: error: /bin/sh ' .configure' failed for authlib
You need libmysqlclient10-dev to compile packages using the mysql client.
You also have to specify --with-mysql-{libs,includes} to point to
/usr/include/mysql and /usr/lib respectively.

I also think that there's no need to compile it yourself, since courier-imap
and authmysql are in stable (Woody). If you realyy want to compile your own,
then get the debianized sources with build dependencies and satisfy them. In
most cases backporting to woody is easier than building from un-debianized
sources.

In general, me (and most debian using people I know of) prefer to (in this
order):
- use the maintainer debs (from woody or sarge)
- backport (or use) debs from sid
- build own debs (merge fresh mainstream sources and the debianized stuff
from the maintainer)
- use mainstream sources only

Most of us are in the ISP business or work for medium to large sized
companies, and IMHO in this position it's wise to benefit from a packet
maintainer's work. If you need a software with no deb maintainer, give back
to the community and actually _become_ a maintainer for that software
package.

Just my 0.02 Euros.

  Thomas

 
 Please help
 many thanks
 greg