Re: Duplicating machines

2003-10-16 Thread Peter Holm
On Wed, 15 Oct 2003 17:50:18 +0200, in linux.debian.isp you wrote:

fai, sysimager, mondo/mindi? What's your favourite approach?

Why not rsync ???

Have a nice thread,
Peter


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



Re: amavisd-new and clamav for woody???

2003-10-02 Thread Peter Holm
On Thu, 02 Oct 2003 07:40:11 +0200, in linux.debian.isp you wrote:

I'm using these apt-sources on my production filterboxes:

deb http://people.debian.org/~aurel32/BACKPORTS woody main
deb http://people.debian.org/~hmh/woody/ hmh/amavisd-new/

BTW, how can I pin a package to a specified source? In other words:
how to tell apt to get package x only from source X and a package Y
only from source Y?

As I can see the maintainer of the BACKPORTS above allows this to be
done with an extra dists subdir, so a line like this

deb http://people.debian.org/~aurel32/BACKPORTS woody-amavisd-new main

will get only amavisd-new. Is there no way to do this with apt?


Thanks for your attention!




Have a nice thread,
Peter


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



amavisd-new and clamav for woody???

2003-10-01 Thread Peter Holm
Hi,

where can I get recent versions of amavisd-new and clamav for woody?

Ot would be very helpful, if there where some packages for woody out
there, because I do not want to change my sources.list...


Thank you very much for your attention!

Have a nice thread,
Peter


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



mailman

2003-08-27 Thread Peter Holm
Hi,

I am new to mailman and after apt-get install mailman following the
INSTALL doc I tried a check_perms, that gave me lots of errors. Trying
to fix these with -f gave even more errors. 

Is this normal? Did I something wrong? 
Are there any special things I have to do to get it running?

Thanks for your attention!




debian:/usr/lib/mailman/bin$ ./check_perms
/var/lib/mailman/archives bad gid (has: list, expected anon gid 38)
/var/lib/mailman/lists bad gid (has: list, expected anon gid 38)
/var/lib/mailman/qfiles bad gid (has: list, expected anon gid 38)
/var/lib/mailman/data bad gid (has: list, expected anon gid 38)
/var/lib/mailman/spam bad gid (has: list, expected anon gid 38)
/var/lib/mailman/icons bad gid (has: list, expected anon gid 38)
/var/lib/mailman/templates bad gid (has: list, expected anon gid 38)
/var/lib/mailman/logs bad gid (has: list, expected anon gid 38)
/var/lib/mailman/locks bad gid (has: list, expected anon gid 38)
/var/lib/mailman/Mailman bad gid (has: list, expected anon gid 38)
/var/lib/mailman/bin bad gid (has: list, expected anon gid 38)
/var/lib/mailman/cron bad gid (has: list, expected anon gid 38)
/var/lib/mailman/filters bad gid (has: list, expected anon gid 38)
/var/lib/mailman/mail bad gid (has: list, expected anon gid 38)
/var/lib/mailman/scripts bad gid (has: list, expected anon gid 38)
/var/lib/mailman/mailman bad gid (has: list, expected anon gid 38)
/var/lib/mailman/archives/private bad gid (has: list, expected anon
gid 38)
/var/lib/mailman/archives/public bad gid (has: list, expected anon
gid 38)
/var/lib/mailman/data/pending_subscriptions.db bad gid (has: list,
expected anon gid 38)
/var/lib/mailman/data/last_mailman_version bad gid (has: list,
expected anon gid 38)
Problems found: 20
Re-run as uid 38 (or root) with -f flag to fix

debian:/usr/lib/mailman/bin$ ./check_perms -f
/var/lib/mailman/archives bad gid (has: list, expected anon gid 38)
(fixing)
Traceback (most recent call last):
  File ./check_perms, line 277, in ?
checkall()
  File ./check_perms, line 137, in checkall
os.path.walk(d, checkwalk, STATE)
  File /usr/lib/python2.1/posixpath.py, line 269, in walk
func(arg, top, names)
  File ./check_perms, line 100, in checkwalk
os.chown(path, -1, MAILMAN_GID)
OSError: [Errno 1] Operation not permitted:
'/var/lib/mailman/archives'




Have a nice thread,
Peter


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



Apache rotatelogs vs. logrotate questions

2003-08-14 Thread Peter Holm
Hi,

I am just searching the perfect solution for logfile-rotation.
The goal is to get a 24-hour rotation exactly at midnight and the
logfiles named %y-%m-%d-access.log

logrotate and rotatelogs seem to be candidates for the task, but
manpages leave some questions open.


A)

rotatelogs: 
There is no documentation about which time exactly the rotationtime
starts. My tests showed, that restarting apache seems to trigger the
countdown of the rotationtime. This seems to be a source for trouble
in my eyes, as it will make it impossible to guarantee a logfile
rotation e.g. exactly at 23.59, because the rotationtime is always
triggered new, if the server is restarted. So if for some maintanance
task the server is restarted at 4pm, the logrotation will always take
place at 4pm (value 86000 for rotationtime). 

Is this right? 

If yes, this tool doesn´t seem to be very useful, because manual
restarts will interfere with periodically logrotation.


B)

rotatelogs:
What exactly does offset define? I read the ucf-thing, but what does
this mean? 


C)

I really like the strftime-feature of rotatelogs. As I can not find
anything about this in the CustomLog directive, this does not seem to
be available for definitions of logfile-names in httpd.conf. is it
possible any other way to get this done with logrotate? 


D)

logrotate: Does apache NEED the create feature of logrotate or will
it interfere with apache?


E)

logrotate: Is an apache reload as postscript needed or is apache
restart recommended? This seems to be needed to release
apache-filedescriptors from the old logfile, right? Does this
interfere with the create feature (see D)?


F)
I read about problems with logrotate and ssl. What exactly do I have
to think about, if I want to use logrotate for mod-ssl-enabled
servers?


Thank you very much for your attention, any answers to this questions
will hopefully also help others that want to get a grip on logfile
rotation.




Have a nice thread,
Peter


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



Re: Count traffic

2003-08-14 Thread Peter Holm
On Wed, 13 Aug 2003 11:20:07 +0200, Domainbox, Tim Abenath
[EMAIL PROTECTED] wrote:

There are Solutions to Account virtual Hosts, but the are not free. 

could you name these, please? would be interested in taking a closer
look at this...



Have a nice thread,
Peter


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



Re: Count traffic

2003-08-14 Thread Peter Holm
On Wed, 13 Aug 2003 11:20:07 +0200, Domainbox, Tim Abenath
[EMAIL PROTECTED] wrote:

patched iptables to get an promisc chains on which i
account the traffic ip-based. http://idea.hosting.lv/a/iptables-promisc/

what exactly does this patch and how is it to be used? not much
documentation on that site...



Have a nice thread,
Peter


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



Apache rotatelogs vs. logrotate questions

2003-08-14 Thread Peter Holm
Hi,

I am just searching the perfect solution for logfile-rotation.
The goal is to get a 24-hour rotation exactly at midnight and the
logfiles named %y-%m-%d-access.log

logrotate and rotatelogs seem to be candidates for the task, but
manpages leave some questions open.


A)

rotatelogs: 
There is no documentation about which time exactly the rotationtime
starts. My tests showed, that restarting apache seems to trigger the
countdown of the rotationtime. This seems to be a source for trouble
in my eyes, as it will make it impossible to guarantee a logfile
rotation e.g. exactly at 23.59, because the rotationtime is always
triggered new, if the server is restarted. So if for some maintanance
task the server is restarted at 4pm, the logrotation will always take
place at 4pm (value 86000 for rotationtime). 

Is this right? 

If yes, this tool doesn´t seem to be very useful, because manual
restarts will interfere with periodically logrotation.


B)

rotatelogs:
What exactly does offset define? I read the ucf-thing, but what does
this mean? 


C)

I really like the strftime-feature of rotatelogs. As I can not find
anything about this in the CustomLog directive, this does not seem to
be available for definitions of logfile-names in httpd.conf. is it
possible any other way to get this done with logrotate? 


D)

logrotate: Does apache NEED the create feature of logrotate or will
it interfere with apache?


E)

logrotate: Is an apache reload as postscript needed or is apache
restart recommended? This seems to be needed to release
apache-filedescriptors from the old logfile, right? Does this
interfere with the create feature (see D)?


F)
I read about problems with logrotate and ssl. What exactly do I have
to think about, if I want to use logrotate for mod-ssl-enabled
servers?


Thank you very much for your attention, any answers to this questions
will hopefully also help others that want to get a grip on logfile
rotation.




Have a nice thread,
Peter


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



RE: Some advice setting up a server with for multiple virtual domainswith email

2003-05-05 Thread Peter Holm
On Mon, 05 May 2003 00:10:04 +0200, in linux.debian.isp you wrote:

qmail + vpopmail works excellent.

did you see this:
http://www-dt.e-technik.uni-dortmund.de/~ma/qmail-bugs.html


I would recommend using courier-mta.org for all mail-related tasks.
It´s fast and reliable and comes with native support for virtual
users and mysql.

You can get packages here:

deb[-src] http://debian.cobolt.net/ woody main



note: if you do not need mail-to-fax and don´t want to install the
courier-faxmail package, you have to create an empty /etc/module.fax
file.




Have a nice thread,
Peter




scponly, rssh

2003-04-28 Thread Peter Holm
Hi,

looking for a solution to allow users ONLY scp without a shell, I
found 

http://www.pizzashack.org/rssh/

and

http://www.sublimation.org/scponly/


I was wondering, if there are any debs somewhere, but could not find
any. 

Are you using these tools? is there a better alternative fopr debian?



Have a nice thread,
Peter




Re: Apache chroot

2003-04-23 Thread Peter Holm
On Wed, 23 Apr 2003 00:10:10 +0200, in linux.debian.isp you wrote:

resolved, all the pages looks to be forbiden. It's not a problem of
permision, any idea?

could we see some logs? 

maybe do you have document_root set outsite the jail?



Have a nice thread,
Peter




Re: What is a best choice for a mail program?

2003-04-23 Thread Peter Holm
No question about that, courier is the best mail-server suite one can
get. ALL features you will ever need.

www.courier-mta.org


new debs are now in unstable, I think, but for woody you can get
courier here:

deb http://debian.cobolt.net/ woody main




Have a nice thread,
Peter




Re: mod_log_sql? also missing: mod_throttle

2003-03-28 Thread Peter Holm
On Fri, 28 Mar 2003 02:40:10 +0100, in linux.debian.isp you wrote:

Really?

I tried apt-cache search thorttle and got nothing.

right, you will not find it with apt-cache, maybe there is something
wrong. But it´s already there:

woody:/usr/lib/apache/1.3# dpkg -S mod_throttle.so
apache-common: /usr/lib/apache/1.3/mod_throttle.so



Have a nice thread,
Peter


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



Re: mod_log_sql? also missing: mod_throttle

2003-03-28 Thread Peter Holm
On Fri, 28 Mar 2003 02:40:10 +0100, in linux.debian.isp you wrote:

Really?

I tried apt-cache search thorttle and got nothing.

right, you will not find it with apt-cache, maybe there is something
wrong. But it´s already there:

woody:/usr/lib/apache/1.3# dpkg -S mod_throttle.so
apache-common: /usr/lib/apache/1.3/mod_throttle.so



Have a nice thread,
Peter




Re: mod_log_sql: can NOT compile, Jesus, can anybody help me?

2003-03-28 Thread Peter Holm
Hi,

 /usr/bin/ld: cannot find -lz

you probably need the zlib1g-dev package

OK that was right! Thank you very much!

What a confusing name for a library. I thought of z in -lz as an ld
option, and understanding of this is not possible without deeper
studies... 

Have a nice day!





Have a nice thread,
Peter




Low Energy Input Servers?

2003-03-27 Thread Peter Holm
Hi,

could anybody recommend some any low energy servers. we would like to
offer low energy hosting, as these day we learn, that saving energy
could be a key to a peaceful future.

Crusoe comes to mind and from DebianWeekly I got

http://www.netwinder.net/3400/

Are there any more devices like this?

Any websites dedicated to energy saving hardware?


Thanks for your attention!



Have a nice thread,
Peter


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



Advice on remote kernel changes?

2003-03-27 Thread Peter Holm
Hi,

are there any tutorials / packages out there that address the
situation of patching / upgrading / changing the installed kernel
remotely?

three main problems come to my mind that could bring a fatal situation
of not being able to access the machine after a reboot: 

A kernel does not work with hardware for any reason and machine hangs
B kernel / modules do not work with network device for any reason. 
C kernel does not start sshd for any reason

How would one prevent this? 

is it possible to reboot old kernel automatically

A if system boot does not finish properly
B if modules for net-devices are missing / not working
C if the new one does not start all services (esp. sshd) 

Are there any solutions to this out there?

B + C could be resolved with some kind of script, I guess, but A seems
to be impossible to be done remotely? How do i change back lilo.conf,
if I have no ssh.login to the machine? 

I was looking for a boot kernel-new only once, next time boot old
kernel, that could help, but I did not found this? Any ideas? 


Thank you very much for your attention! 




Have a nice thread,
Peter


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



mod_log_sql?

2003-03-27 Thread Peter Holm
Hi, 

are there anywhere debs with mod_log_sql ???



Have a nice thread,
Peter


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



Re: mod_log_sql? also missing: mod_throttle

2003-03-27 Thread Peter Holm
Hi,

... also missing: mod_throttle... don´t you isp-guys use these
essential modules? 

not, that I wouldn´t be able to compile these myself, but it appears
to me like fallback into my redhat-times... also I do not install gcc
on servers what adds some overhead...



Have a nice thread,
Peter


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



mod_log_sql: can NOT compile, Jesus, can anybody help me?

2003-03-27 Thread Peter Holm
Hi,

did i say, i can compile it myself? Well, that was a mistake... first
time after months of using debian I come to a point where I don´t
know, what to do because a leck of indepth-compiler-knowledge...

I am trying to compile mod_log_slq, because I did not find any
deb-package for this (what confused me really, as this is a very
useful tool imho).

I follow the install docs but I get

/usr/bin/ld: cannot find -lz

It would be sooo nice, if one enlightened guru could take a look at
this, it would be really nice having mod_log_sql running with
debian...

http://www.grubbybaby.com/mod_log_sql/


I also mailed to the author, I hope he likes debian...


Thank you very much for your attention and help would be really
appreciated. Think it will take me some years until I get more
familiar with gcc and ld...



Have a nice thread,
Peter


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



Low Energy Input Servers?

2003-03-27 Thread Peter Holm
Hi,

could anybody recommend some any low energy servers. we would like to
offer low energy hosting, as these day we learn, that saving energy
could be a key to a peaceful future.

Crusoe comes to mind and from DebianWeekly I got

http://www.netwinder.net/3400/

Are there any more devices like this?

Any websites dedicated to energy saving hardware?


Thanks for your attention!



Have a nice thread,
Peter




Advice on remote kernel changes?

2003-03-27 Thread Peter Holm
Hi,

are there any tutorials / packages out there that address the
situation of patching / upgrading / changing the installed kernel
remotely?

three main problems come to my mind that could bring a fatal situation
of not being able to access the machine after a reboot: 

A kernel does not work with hardware for any reason and machine hangs
B kernel / modules do not work with network device for any reason. 
C kernel does not start sshd for any reason

How would one prevent this? 

is it possible to reboot old kernel automatically

A if system boot does not finish properly
B if modules for net-devices are missing / not working
C if the new one does not start all services (esp. sshd) 

Are there any solutions to this out there?

B + C could be resolved with some kind of script, I guess, but A seems
to be impossible to be done remotely? How do i change back lilo.conf,
if I have no ssh.login to the machine? 

I was looking for a boot kernel-new only once, next time boot old
kernel, that could help, but I did not found this? Any ideas? 


Thank you very much for your attention! 




Have a nice thread,
Peter




mod_log_sql?

2003-03-27 Thread Peter Holm
Hi, 

are there anywhere debs with mod_log_sql ???



Have a nice thread,
Peter




Re: mod_log_sql? also missing: mod_throttle

2003-03-27 Thread Peter Holm
Hi,

... also missing: mod_throttle... don´t you isp-guys use these
essential modules? 

not, that I wouldn´t be able to compile these myself, but it appears
to me like fallback into my redhat-times... also I do not install gcc
on servers what adds some overhead...



Have a nice thread,
Peter




mod_log_sql: can NOT compile, Jesus, can anybody help me?

2003-03-27 Thread Peter Holm
Hi,

did i say, i can compile it myself? Well, that was a mistake... first
time after months of using debian I come to a point where I don´t
know, what to do because a leck of indepth-compiler-knowledge...

I am trying to compile mod_log_slq, because I did not find any
deb-package for this (what confused me really, as this is a very
useful tool imho).

I follow the install docs but I get

/usr/bin/ld: cannot find -lz

It would be sooo nice, if one enlightened guru could take a look at
this, it would be really nice having mod_log_sql running with
debian...

http://www.grubbybaby.com/mod_log_sql/


I also mailed to the author, I hope he likes debian...


Thank you very much for your attention and help would be really
appreciated. Think it will take me some years until I get more
familiar with gcc and ld...



Have a nice thread,
Peter




Re: mod_log_sql? also missing: mod_throttle

2003-03-27 Thread Peter Holm
... also missing: mod_throttle... don´t you isp-guys use these
essential modules? 

ok, mod_throttle found, but major problems with mod_log_sql... please
see my other mail. 




Have a nice thread,
Peter