mod-clamav errors with apxs -q CFLAGS_SHLIB ?

2004-02-01 Thread Karl M. Joch
i try to run FreeBSD 4.7, Apache 2.0.48 with mod_clamav (0.13) from 
http://software.othello.ch/mod_clamav/. this looks like a solution for a 
real time scanner/proxy.

anybody knows how to fix this apxs error:

Global symbol $CFG_CFLAGS_SHLIB requires explicit package name at 
(eval 27) line 2.
Global symbol $CFG_LDFLAGS_SHLIB requires explicit package name at 
(eval 27) line 2.

it happens when configure/make runs:

apxs -q CFLAGS_SHLIB

so far it compiles, but when starting apache i always get a core dump (10).

i try to setup a port with this makefile:

NO_CHECKSUM=yes  ## test. no checksum
PORTNAME=   mod_clamav
PORTVERSION=0.13
CATEGORIES= www
MASTER_SITES=   http://software.othello.ch/mod_clamav/
MAINTAINER= xx
COMMENT=Real Time Scanner for Apache2 Proxy Module running with clamav
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
USE_LIBTOOL=yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS=	--with-apxs=/usr/local/sbin/apxs 
--libdir=/usr/local/lib/apache2
CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
CONFIGURE_ENV+=	LDFLAGS=${LDFLAGS}

.include bsd.port.pre.mk
.include bsd.port.post.mk


many thanks for any hints how to get it to run.

--
Best regards / Mit freundlichen Gruessen,
Karl M. Joch

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD SPAM

2003-10-04 Thread Karl M. Joch
Sean Page wrote:

Granted it's not an inexpensive solution, but we switched from SpamAssassin
to PureMessage by ActiveState.
http://www.activestate.com/Products/PureMessage 
We are thoroughly impressed with the accuracy and the dynamic feature set of
the product. Automatic updates come down at least a couple of times a week
to keep up with the latest tactics, and the support is second to none.
Just my $.02 worth

Sean.

-Original Message-
From: Kliment Andreev [mailto:[EMAIL PROTECTED] 
Sent: October 3, 2003 9:23 AM
To: [EMAIL PROTECTED]
Subject: Re: FreeBSD  SPAM



I know this is an issue that comes up a lot, but I wanted to get 
an opinion from some people on the list. We, along with everyone 
else, have TONS of SPAM hit our server. Unfortunately, we haven't 
found any good way to reduce it. We're using ORDB and SpamCop, but 
neither are really doing the job. We're a small small company (7 
employees) with about 100 mailboxes on the server. We don't mind 
paying for a service that works, but we are certainly on a tight 
budget. Any recommendations would be greatly appreciated. 
Currently, we're using Sendmail, although we're considering (and 
testing) a switch to PostFix. TIA for any


Check www.kaspersky.com for anti-virus and anti-spam tools for FreeBSD. If
you decide to use SpamAssassin and if you have a lot of spam-mail coming and
a slow server, mind that it will clog you CPU very, very soon.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


blocking dynamic ip and dialup users with dnsbl lists reduces 60-70% of 
the spam. there is a very good one on an .nl server. for some special 
ones an access list helps. adding a combination of mailscanner and 
spamassassin to sendmail does the rest. the rest which comes thru is not 
really a lot of mails. and all of that stuff is open source and free.

happyly running above things with 50k+ mails / day.

--
Best regards / Mit freundlichen Gruessen,
Karl M. Joch

http://www.freebsd.at - Das Power Betriebssystem

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Replacing an exchange 2000 server?

2003-09-04 Thread Karl M. Joch
James Horvath wrote:
For a commercial solution you can look at:

http://www.bynari.net

or

http://www.billworkgroup.org/billworkgroup/home

Both claim to be suitable exchange replacements running under Linux.  I
expect they can be made to run under FreeBSD easily enough (though I have
not tried to do so with either).
James

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Fernando
Gleiser
Sent: Thursday, September 04, 2003 3:00 PM
To: [EMAIL PROTECTED]
Subject: Replacing an exchange 2000 server?
I need to replace an Exchange 2000 server. I am thinking in
sendmail/cyrus IMAP/squirrel for the mail part, but I don't know what
I can use for the calendar/scheduller/address book?
It doesn't have to be an exact replacement, web-based solutions are
also welcomed.
Thanks in advance.

Fer

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


___
This message was scanned and certified Virus Free by Alexssa | HNet.
www.alexssa.net
www.hnet.net
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
i am trying to replace a few exchange servers too. i found samsung 
contact and their free 5 user version, but it requires linux. anybody 
tried / got it to work on freebsd? redhat 7.2 should work, there should 
be a possibility to run it in the emulation.

--
Best regards / Mit freundlichen Gruessen,
Karl M. Joch

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Opengroupware? (replace exchange)

2003-07-18 Thread Karl M. Joch
I try to replace an exchange server with freebsd. most tasks works fine. 
the real pain is the exchange calendar. i found opengroupware.org which 
claims to works nicly with outlook and mozilla clients and works with 
calendar and without using a web interface which wouldnt be accepted by 
the users compared to a real application.

anybody tried that already?

--
Best regards / Mit freundlichen Gruessen,
Karl M. Joch

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.1 on a production box with some small problems (su, linux emu 7)

2003-06-27 Thread Karl M. Joch
i run 5.1 on one of the inhouse production boxes successful. there are 
only 2 small points witch are a pain and i found no solution. box was 
fresh setup with 5.0 then cvsuped to 5.1.

1. when starting some scripts su doesnt return from the shell and hangs 
on boot. when starting manually i get tty output stopped. with exit 
there is a way out of this shell, but i havnt found a solution. most of 
the scripts runs since 3.x, at least 4.x and was working up to 4.8. one 
of this scripts is the pervasive sql server startup script which is part 
of the pervasive server for linux. using #!/compat/linux/bin/sh doesnt 
help. there are 2 lines in it starting sqlmgr and psql with:
echo commands | /bin/su - psql || exit 1
after the 1st one tty output is stopped. the other script is vmware and 
vncserver related and uses linux emu too.

2. the pervasive sql server (running under linux emu 7) has a daemon 
named mkded witch was running since a long time till 4.8. on 5.1 i have 
the strange problem, that if the daemon is startet with the -start 
option (which should put it in the background) there is no listener 
opened. netstat -an doesnt show a listener on port 3351, but the daemon 
is running without logging any error. when starting mkded with the 
-console flag whitch keeps it in the forground the listener is opened 
and a connection is possible. i meanwhile use screen, starting up with a 
detached session and the -console flag to have it running, but a 
solution would be really great because this slows down the database 
access dramaticly.

--
Best regards / Mit freundlichen Gruessen,
Karl M. Joch
[EMAIL PROTECTED]
http://www.ctseuro.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


tyan dual xeon 1800 + vmware.2.0.4.1142 Trap 12

2003-02-06 Thread Karl M. Joch
hi,

i have a production box where i need one w2k server running on top of 
freebsd 4.7. all tests on single cpu boxes was working great including 
suspend on shutdown and automatic boot w2k on freebsds startup. now i 
installed it onto the production box and start vmware via vncserver. i 
see w2k booting and before the final booting screen disappears where it 
would switch i get a trap 12 and the box reboots.

are there any known problems with smp systems and vmware? single cpu 
systems works just great. 60 GB real data on the box and no way to 
play around with it. only chance would be to tell the customer we need 1 
adittional box for it. but then i would have to install one linux box 
there and i want to stay with freebsd because all customer boxes are 
freebsd.

i updated everything to the latest software via ports cvsuped today.

man thanks,

best regards,

karl



Feb  6 23:29:29 sv00 syslogd: restart
Feb  6 23:29:29 sv00 /kernel:
Feb  6 23:29:29 sv00 /kernel:
Feb  6 23:29:29 sv00 /kernel: Fatal trap 12: page fault while in kernel mode
Feb  6 23:29:29 sv00 /kernel: mp_lock = 0202; cpuid = 2; lapic.id = 
0600
Feb  6 23:29:29 sv00 /kernel: fault virtual address	= 0x5e3a860
Feb  6 23:29:29 sv00 /kernel: fault code		= supervisor read, page not 
present
Feb  6 23:29:29 sv00 /kernel: instruction pointer	= 0x8:0xc38e2f3c
Feb  6 23:29:29 sv00 /kernel: stack pointer	= 0x10:0xe05febb8
Feb  6 23:29:29 sv00 /kernel: frame pointer	= 0x10:0xe05febbc
Feb  6 23:29:29 sv00 /kernel: code segment		= base 0x0, limit 0xf, 
type 0x1b
Feb  6 23:29:29 sv00 /kernel: = DPL 0, pres 1, def32 1, gran 1
Feb  6 23:29:29 sv00 /kernel: processor eflags	= interrupt enabled, 
resume, IOPL = 3
Feb  6 23:29:29 sv00 /kernel: current process		= 718 (vmware)
Feb  6 23:29:29 sv00 /kernel: interrupt mask		= none - SMP: XXX
Feb  6 23:29:29 sv00 /kernel: trap number		= 12
Feb  6 23:29:29 sv00 /kernel: panic: page fault
Feb  6 23:29:29 sv00 /kernel: mp_lock = 0202; cpuid = 2; lapic.id = 
0600
Feb  6 23:29:29 sv00 /kernel: boot() called on cpu#2
Feb  6 23:29:29 sv00 /kernel:
Feb  6 23:29:29 sv00 /kernel: syncing disks... 67 63 63 63 63 63 63 63 
63 63 63 63 63 63 63 63 63 63 63 63 63
Feb  6 23:29:29 sv00 /kernel: P 127.0.0.1:512 from 127.0.0.1:1456
Feb  6 23:29:29 sv00 /kernel: Feb  6 23:01:44 sv00 /kernel: Connection 
attempt to UDP 127.0.0.1:512 from 127.0.0.1:1456
Feb  6 23:29:29 sv00 /kernel: Feb  6 23:03:44 sv00 su: joch to root on 
/dev/ttyp1
Feb  6 23:29:29 sv00 /kernel: Feb  6 23:10:04 sv00 shutdown: reboot by 
jochCPUs
Feb  6 23:29:29 sv00 /kernel: cpu_reset: Restarting BSP
Feb  6 23:29:29 sv00 /kernel: Copyright (c) 1992-2003 The FreeBSD Project.
Feb  6 23:29:29 sv00 /kernel: Copyright (c) 1979, 1980, 1983, 1986, 
1988, 1989, 1991, 1992, 1993, 1994
Feb  6 23:29:29 sv00 /kernel: The Regents of the University of 
California. All rights reserved.
Feb  6 23:29:29 sv00 /kernel: FreeBSD 4.7-STABLE #4: Thu Feb  6 19:47:37 
CET 2003
Feb  6 23:29:29 sv00 /kernel: 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CTSDUALCPU
Feb  6 23:29:29 sv00 /kernel: Timecounter i8254  frequency 1193182 Hz
Feb  6 23:29:29 sv00 /kernel: CPU: Intel(R) XEON(TM) CPU 1.80GHz 
(1799.80-MHz 686-class CPU)
Feb  6 23:29:29 sv00 /kernel: Origin = GenuineIntel  Id = 0xf24 
Stepping = 4
Feb  6 23:29:29 sv00 /kernel: 
Features=0x3febfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
Feb  6 23:29:29 sv00 /kernel: Hyperthreading: 2 logical CPUs
Feb  6 23:29:29 sv00 /kernel: real memory  = 1073741824 (1048576K bytes)
Feb  6 23:29:29 sv00 /kernel: avail memory = 1040289792 (1015908K bytes)
Feb  6 23:29:29 sv00 /kernel: Programming 24 pins in IOAPIC #0
Feb  6 23:29:29 sv00 /kernel: IOAPIC #0 intpin 2 - irq 0
Feb  6 23:29:29 sv00 /kernel: Programming 24 pins in IOAPIC #1
Feb  6 23:29:29 sv00 /kernel: Programming 24 pins in IOAPIC #2
Feb  6 23:29:29 sv00 /kernel: FreeBSD/SMP: Multiprocessor motherboard
Feb  6 23:29:29 sv00 /kernel: cpu0 (BSP): apic id:  0, version: 
0x00050014, at 0xfee0
Feb  6 23:29:29 sv00 /kernel: cpu1 (AP):  apic id:  1, version: 
0x00050014, at 0xfee0
Feb  6 23:29:29 sv00 /kernel: cpu2 (AP):  apic id:  6, version: 
0x00050014, at 0xfee0
Feb  6 23:29:29 sv00 /kernel: cpu3 (AP):  apic id:  7, version: 
0x00050014, at 0xfee0
Feb  6 23:29:29 sv00 /kernel: io0 (APIC): apic id:  8, version: 
0x00178020, at 0xfec0
Feb  6 23:29:29 sv00 /kernel: io1 (APIC): apic id:  9, version: 
0x00178020, at 0xfec8
Feb  6 23:29:29 sv00 /kernel: io2 (APIC): apic id: 10, version: 
0x00178020, at 0xfec80400
Feb  6 23:29:29 sv00 /kernel: Preloaded elf kernel kernel at 0xc04b9000.
Feb  6 23:29:29 sv00 /kernel: Pentium Pro MTRR support enabled
Feb  6 23:29:29 sv00 /kernel: md0: Malloc disk
Feb  6 23:29:29 sv00 /kernel: Using $PIR table, 14 entries at 0xc00f3f80
Feb  6 23:29:29 sv00 /kernel: npx0: math processor on motherboard
Feb  6 23:29:29 sv00 /kernel: npx0: 

Re: Spam filter combined with virus filter

2003-01-26 Thread Karl M. Joch
Dragoncrest schrieb:

Looking for a good anti-virus to go with my spam filter.  Currently 
using spam assassin with mixed results, but now I'm getting more and 
more of these stupid viruses coming into the mail server I'd rather deal 
without.  Anybody got a good suggestion for a good spam filter/virus 
filter combination?  Should I stick with Spam Assassin or go with 
something else?  I'm fishing for ideas, cause this is getting kind of 
old dealing with this stuff.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message

using sendmail with enabled rblĀ“s + networkwide access control + 
mailscanner (mcafee + f-prot) and spam assasin happyly.

--
Best regards / Mit freundlichen Gruessen,

Karl M. Joch
[EMAIL PROTECTED]
http://www.ctseuro.com



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: FreeBSD 4.7 - 5.0 (Removing Perl/UUCP safly?)

2003-01-21 Thread Karl M. Joch
Elden Fenison schrieb:

* Alex [01/21/2003 21:01]:


How to safly and completely  remove Perl / UUCP and maybe others which 
have been removed from the source tree. UPDATING doesnt mention anything 
about it.


I'm no expert... but I just successfully upgraded from 4.7 to 5.0 today.
It didn't seem too hard to just look in /sbin /usr/sbin /bin /usr/bin to
find things that weren't dated with today's date and delete them. The
only stuff that wouldn't have been dated today after a build/install
world would have been old leftovers from 4.7.

Perhaps that was a bit foolhardy, but so far all is well.



thats for sure one way, but deleting by date could maybe let some stuff 
back. a touch on any file egardless the reason of it would cause the 
date to change too. so a list of files which are to remove would be 
fine. then there would be the possibility of making a script which 
deletes the files and the updated system would be clean. i think i will 
make a diff of the trees 4.7 and 5.0  and then a script of it. but as 
more people upgrade the question will come up very often i think or it 
will cause lot of troubles with perl when letting the 4.x stuff on the box.



Furthermore there is need for doing installworld on some boxes far away 
in multi user mode. any chance this works?


I did learn one important thing... when the UPDATING doc says to install
the new kernel, then RE-boot into single user mode to install world, it
means it. Just dropping to single user mode without a reboot was not
enough. The installworld refuses to work unless you're actually booted
on the new kernel. And I would highly doubt, that after installing the
new kernel but having the old world that you could boot into anything
BUT single user mode.



i havnt tried till now. have you included the COMPAT 4 option in the 
kernel to still be able to run the 4.x binaries? i succussfull build 5.0 
on a box running 4.7. till now (except the a.ot - elf update) it always 
worked in multiuser mode too. sometimes after the first rebbot a second 
installworld was neccecary but it worked. but i will try today if 
installword lets me do it and then post the result. i only dont want to 
travel thousends of km to boxes to do a installworld.

--
Best regards / Mit freundlichen Gruessen,

Karl M. Joch


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


FreeBSD 4.7 - 5.0 (Removing Perl/UUCP safly?)

2003-01-20 Thread Karl M. Joch
How to safly and completely  remove Perl / UUCP and maybe others which 
have been removed from the source tree. UPDATING doesnt mention anything 
about it.

Furthermore there is need for doing installworld on some boxes far away 
in multi user mode. any chance this works?

--
Best regards / Mit freundlichen Gruessen,

Karl M. Joch


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Real time server mirroring?

2002-11-17 Thread Karl M. Joch
Hi,

i am working on a very big project thruout our whole country and have the
possibility to install freebsd on all servers in this project. i already
have solutions for all needed components including the needed ipsec and ssl
stuff.

there is only one point i havnt found a real solution. i need to real time
mirror some servers (4*2) for fault tolerance. the requirements is that
these ones never can break down because it is used as a medical net. best
would be mirror over locations. the servers are running:

postgres, mysql
sendmail and cyrus imap
samba

any idea how to have mirrored servers in real time with freebsd?

thanks a lot.

--
Best regards / Mit freundlichen Gruessen,

Karl M. Joch

http://www.freebsd.at - Das Power Betriebssystem


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Real time server mirroring?

2002-11-17 Thread Karl M. Joch
thanks a lot. that was what i am looking for.

will give it a try.

karl

- Original Message -
From: Don Bowman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Sunday, November 17, 2002 10:08 PM
Subject: RE: Real time server mirroring?


 From: Karl M. Joch
 there is only one point i havnt found a real solution. i need to
 real time mirror some servers (4*2) for fault tolerance.
 the requirements is that these ones never can break down
 because it is used as a medical net. best
 would be mirror over locations. the servers are running:

 http://www.bsdshell.net/
 may provide some assistance (it is the high-uptime bsd
 project, HUT). This provides some of the components.

 For the individual services, see e.g. postgresql replication (there
 are several different mechanisms to achieve for postgres).



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Compaq RAID - drive replacement - array rebuild problem

2002-10-15 Thread Karl M. Joch

i have a few 370 with the same raid controller. one one there was a similiar
problem that the rebuild is done, but the leds never come up again as they
should. the small  leds works as usual, but the drive leds still shows no
completed process. but the ida soft errors gone away and the drive works as
raid 5 without ptobs and the rebuild should be ok because changing another
hot plugged hard drive worked.

cya

karl

- Original Message -
From: Joseph Moore [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 15, 2002 9:02 PM
Subject: Compaq RAID - drive replacement - array rebuild problem


 I'm running 4.x STABLE (as of March 2001, aka 4.3RC#0) on a compaq DL380
 with integrated RAID (ida0). It had been running flawlessly for over a
year
 until one of the drives failed. I replaced the dead drive (hot-plugged)
and
 re-booted to start the array rebuild process. This was a couple of months
 ago and the new drive is still flashing it's LEDs to indicate that the
 rebuild is still underway. I re-booted the box and when the array
controller
 initialized it displayed a message saying that it would continue the
 automatic rebuild. How do I get this array rebuild to finish? It's a RAID
1
 config with 2, 18GB drives mirrored in hardware.

 TIA   ...jgm


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message