Re: root is full

2004-02-18 Thread Will Prater
Thanks all for the abundance of replys. Looks like you all had the same 
idea.

Before I got your emails I found out the problem. I had another 
partition for backups mounted on the root level. I had forgot to add an 
entry to /etc/fstab. Things were running fine for weeks, however, there 
was a crash and when it came back online the /backup existed on the 
root.

Thanks!

On Feb 18, 2004, at 2:48 PM, Dirk-Willem van Gulik wrote:

On Feb 18, 2004, at 9:00 PM, Will Prater wrote:

My root partition is full, but I cannot figure out how it got filled 
so fast the last security check claimed there to be 5% of capacity 
and now its at 108%. Where else can I check to see what is filling 
the root partition?
Try
cd /
du -sk *
Dw


--will

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


root is full

2004-02-18 Thread Will Prater
List,

My root partition is full, but I cannot figure out how it got filled so 
fast the last security check claimed there to be 5% of capacity and now 
its at 108%. Where else can I check to see what is filling the root 
partition?

Thanks in advance

--will

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


Re: help with system loging

2004-01-28 Thread Will Prater
On Jan 28, 2004, at 5:01 AM, Roman Neuhauser wrote:

# [EMAIL PROTECTED] / 2004-01-28 02:59:50 -0800:
Currently saslauthd is logging in two places, however, I cannot figure
out how to turn off its logging or have it log just to auth.log rather
than messages and auth.log.
here is what I have for /var/log/messages
*.notice;authpriv.none;kern.debug;mail.crit;news.err  
/var/log/messages
I guess it's the "auth" facility messages you get logged in
/var/log/messages. If this is true, add auth.none into the line
somewhere after the "*.notice"
That seemed to do the trick. Thanks!!



--
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html
--will

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


help with system loging

2004-01-28 Thread Will Prater
List,

Currently saslauthd is logging in two places, however, I cannot figure 
out how to turn off its logging or have it log just to auth.log rather 
than messages and auth.log.

here is what I have for /var/log/messages
*.notice;authpriv.none;kern.debug;mail.crit;news.err  /var/log/messages
what should be removed to not allow saslauthd log there. here is what I 
have for auth.log
auth.info;authpriv.info   /var/log/auth.log

Any ideas appreciated.

Thanks

--will

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


Re: sshd crashing server

2004-01-08 Thread Will Prater
On Jan 8, 2004, at 12:38 AM, Will Prater wrote:

Subhro,

On Jan 6, 2004, at 9:36 PM, Subhro wrote:

Hi Will,
READ the Handbook :-). After you cvsup
 for some special installation instructions

 <<<<===Start building the world i.e. the new 
binaries
 <<< Here is the custom kernel stuff
 <<<= Here goes the 
kernel
building
 <<<===Installed the 
kernel
here
 <<<mind it its single user. The box 
boots here
on the new kernel

 <<<<===Here goes your new system
 <<<===this time a normal boot
Yes, I have run over the handbook, I was just a bit worried about the 
crashing server. Thanks for the run down.

I do not have physical access to the server. Can one make installworld 
running in multiuser mode, if one had shut down any active daemons and 
locked out the users?
I could re-install sshd into /usr/local so when I make installworld 
/usr/sbin/sshd will not be overwritten.

Can this be done without booting into single user?

Thanks!

Thanks for any advice.

If your system gives you a login prompt then the steps to follow are




 :-)
hurray!

And yes u can cvsuo to current as well as stable tree. If you want to 
go to
stable, then use /usr/share/examples/cvsup/stable-supfile.
Do read through that file before you run it.
Great.

--will

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


--will

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


Re: sshd crashing server

2004-01-08 Thread Will Prater
Subhro,

On Jan 6, 2004, at 9:36 PM, Subhro wrote:

Hi Will,
READ the Handbook :-). After you cvsup
 for some special installation instructions

 ===Start building the world i.e. the new binaries
 <<< Here is the custom kernel stuff
 <<<= Here goes the 
kernel
building
 <<<===Installed the 
kernel
here
 <<

Re: sshd crashing server

2004-01-04 Thread Will Prater
Subhro,

On Jan 3, 2004, at 10:54 PM, Subhro wrote:

Hey Will,
Do you remember if you added anything nonstandard to CFLAGS in
/etc/make.conf?
I dont thin I have added anything to /etc/make.conf. I can confirm once 
the system is up again. SSHD did not start up at boot after the crash 
so I am trying to have someone in the colo start it manually, hoping 
that will get me in!!

 Something like -funroll-loops or some non standard
optimizations? Also what is the securelevel you are running the system 
at?
I am not sure, probably 0.

Did u specifically mention to OVERWRITE the base system and did u add 
the
line sshd_script="/usr/local/sbin/sshd" in /etc/rc.conf?
Yes, those are done. That is why I wonder why no sshd started at 
bootup. I sure hope the team over at the colo can get sshd running.

IF u did all of
these then I would recommend add NO_OPENSSH="YES" to /etc/make.conf and
rebuild the world. Also go through a CVSup before the rebuild. Also if
possible paste the last 25 lines of /var/log/messages. As far as I can 
make
out without the logs, somehow the sshd code has got to become 
incompatible
with the rest of the source tree.
OK. Let me get the machine up and I would gladly send you some of the 
messages.

Thanks again!!

Cheers!
Subhro
-Original Message-----
From: Will Prater [mailto:[EMAIL PROTECTED]
Sent: Sunday, January 04, 2004 11:00 AM
To: Subhro
Cc: [EMAIL PROTECTED]
Subject: Re: sshd crashing server
Subhro,

I have done this and tried another command that would spew some data
and the machine crashed again. Any more ideas why the sshd process
would be choking and crashing the server?
I cant send you an example as I am locked out. Looks like sshd is not
starting after the new port install described below.
Regards

Will

On Jan 3, 2004, at 1:09 PM, Subhro wrote:

Hey Will,
The original SSH shipped with the base system is actually a scaled 
down
version. Check out /usr/ports/security/openssh-portable. Compile the
above
port with option -DOPENSSH_OVERWRITE_BASE and also include
-DWITHOUT_KERBEROS if you do not need the Kerberos Authentication.
This will
overwrite the base SSH system with an OpenSSH version specifically
ported to
FreeBSD. Also I would like to know the contents of CFLAGS in
/etc/make.conf.
Make a note that after every "make world" you would have to clean and
reinstall the port with

make install -DOPENSSH_OVERWRITE_BASE -DWITHOUT_KERBEROS

Cheers!

Subhro

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Will Prater
Sent: Sunday, January 04, 2004 2:20 AM
To: [EMAIL PROTECTED]
Subject: Re: sshd crashing server
On Jan 2, 2004, at 3:36 PM, Lowell Gilbert wrote:

Will Prater <[EMAIL PROTECTED]> writes:

List,

sshd seems to be crashing my server. I am looking for any help
regarding why this could be happening. I am running sshd version
OpenSSH_3.6.1. Here is the output from dmesg:
the machine crashed every time when running

#ipfw show
or
#dmesg -a
for example and will crash when part way through the listing. Any
ideas??

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code  = supervisor read, page not present
instruction pointer = 0x8:0xc023c52a
stack pointer   = 0x10:0xd9ff6bbc
frame pointer   = 0x10:0xd9ff6be4
code segment= base 0x0, limit 0xf, type 0x1b
 = DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 394 (sshd)
interrupt mask  = net tty
trap number = 12
panic: page fault
1) What version of FreeBSD?
4.9 RELEASE

2) How did you install that version of OpenSSH?
I have tried the one from the ports and the pre-installed version.

Thanks

--will

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





--will







--will

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


Re: sshd crashing server

2004-01-03 Thread Will Prater
Subhro,

I have done this and tried another command that would spew some data 
and the machine crashed again. Any more ideas why the sshd process 
would be choking and crashing the server?

I cant send you an example as I am locked out. Looks like sshd is not 
starting after the new port install described below.

Regards

Will

On Jan 3, 2004, at 1:09 PM, Subhro wrote:

Hey Will,
The original SSH shipped with the base system is actually a scaled down
version. Check out /usr/ports/security/openssh-portable. Compile the 
above
port with option -DOPENSSH_OVERWRITE_BASE and also include
-DWITHOUT_KERBEROS if you do not need the Kerberos Authentication. 
This will
overwrite the base SSH system with an OpenSSH version specifically 
ported to
FreeBSD. Also I would like to know the contents of CFLAGS in 
/etc/make.conf.
Make a note that after every "make world" you would have to clean and
reinstall the port with

make install -DOPENSSH_OVERWRITE_BASE -DWITHOUT_KERBEROS

Cheers!

Subhro

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Will Prater
Sent: Sunday, January 04, 2004 2:20 AM
To: [EMAIL PROTECTED]
Subject: Re: sshd crashing server
On Jan 2, 2004, at 3:36 PM, Lowell Gilbert wrote:

Will Prater <[EMAIL PROTECTED]> writes:

List,

sshd seems to be crashing my server. I am looking for any help
regarding why this could be happening. I am running sshd version
OpenSSH_3.6.1. Here is the output from dmesg:
the machine crashed every time when running

#ipfw show
or
#dmesg -a
for example and will crash when part way through the listing. Any
ideas??

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code  = supervisor read, page not present
instruction pointer = 0x8:0xc023c52a
stack pointer   = 0x10:0xd9ff6bbc
frame pointer   = 0x10:0xd9ff6be4
code segment= base 0x0, limit 0xf, type 0x1b
 = DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 394 (sshd)
interrupt mask  = net tty
trap number = 12
panic: page fault
1) What version of FreeBSD?
4.9 RELEASE

2) How did you install that version of OpenSSH?
I have tried the one from the ports and the pre-installed version.

Thanks

--will

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






--will

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


Re: sshd crashing server

2004-01-03 Thread Will Prater
On Jan 2, 2004, at 3:36 PM, Lowell Gilbert wrote:

Will Prater <[EMAIL PROTECTED]> writes:

List,

sshd seems to be crashing my server. I am looking for any help
regarding why this could be happening. I am running sshd version
OpenSSH_3.6.1. Here is the output from dmesg:
the machine crashed every time when running

#ipfw show
or
#dmesg -a
for example and will crash when part way through the listing. Any
ideas??

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code  = supervisor read, page not present
instruction pointer = 0x8:0xc023c52a
stack pointer   = 0x10:0xd9ff6bbc
frame pointer   = 0x10:0xd9ff6be4
code segment= base 0x0, limit 0xf, type 0x1b
 = DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 394 (sshd)
interrupt mask  = net tty
trap number = 12
panic: page fault
1) What version of FreeBSD?
4.9 RELEASE

2) How did you install that version of OpenSSH?
I have tried the one from the ports and the pre-installed version.

Thanks

--will

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


sshd crashing server

2004-01-01 Thread Will Prater
List,

sshd seems to be crashing my server. I am looking for any help 
regarding why this could be happening. I am running sshd version 
OpenSSH_3.6.1. Here is the output from dmesg:

the machine crashed every time when running

#ipfw show
or
#dmesg -a
for example and will crash when part way through the listing. Any 
ideas??


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code  = supervisor read, page not present
instruction pointer = 0x8:0xc023c52a
stack pointer   = 0x10:0xd9ff6bbc
frame pointer   = 0x10:0xd9ff6be4
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 394 (sshd)
interrupt mask  = net tty
trap number = 12
panic: page fault



--will

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


Re: ipf / pf availability in 4.9

2003-12-31 Thread Will Prater
On Dec 31, 2003, at 12:13 PM, Micheal Patterson wrote:



- Original Message -
From: "Will Prater" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, December 31, 2003 1:27 PM
Subject: Re: ipf / pf availability in 4.9

On Dec 31, 2003, at 5:12 AM, fbsd_user wrote:

The post you are replying to tells you pf has been ported to FBSD.
Yes, and my question was how to get a port to 4.9. I am aware of the
port being available for 5.0, 5.1.
I would like to know if anyone has gotten it to run on 4.9 and what
patches were necessary.
Thanks


Are you talking about PF or IPF in 4.9? If it's IPF, it's a kernel 
option.
PF. I already have IPF working. I am more familiar with PF and would 
rather be using it.

Thanks

Check out LINT and you'll find:

options IPFILTER#ipfilter support
options IPFILTER_LOG#ipfilter logging
options IPFILTER_DEFAULT_BLOCK  #block all packets by default
Also, you should be able to do a man ipf on 4.9.
--
Micheal Patterson
TSG Network Administration
405-917-0600
Confidentiality Notice:  This e-mail message, including any 
attachments, is
for the sole use of the intended recipient(s) and may contain 
confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, 
please
contact the sender by reply e-mail and destroy all copies of the 
original
message.



--will

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


Re: ipf / pf availability in 4.9

2003-12-31 Thread Will Prater
On Dec 31, 2003, at 5:12 AM, fbsd_user wrote:

The post you are replying to tells you pf has been ported to FBSD.
Yes, and my question was how to get a port to 4.9. I am aware of the 
port being available for 5.0, 5.1.

I would like to know if anyone has gotten it to run on 4.9 and what 
patches were necessary.

Thanks


All you had to do is go look for it in the port collection your
self,
here is the direct link.
http://www.freebsd.org/cgi/ports.cgi?query=pf&stype=all&release=5.1-
CURRENT%2Fi386
pf_freebsd-2.00_1
OpenBSD pf as a kldmodule
Maintained by: [EMAIL PROTECTED]
Also listed in: ipv6
Description : Sources : Package : Changes : Download
http://pf4freebsd.love2party.net/index.html

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Will Prater
Sent: Wednesday, December 31, 2003 2:59 AM
To: [EMAIL PROTECTED]
Subject: Re: ipf / pf availability in 4.9
List,

Anyone know if there is a way to get PF to port to FreeBSD 4.9?

Thanks

On Dec 30, 2003, at 7:26 PM, fbsd_user wrote:

PF has been just ported to FBSD. I don't know if ipf & pf have a
common code background, but I do know pf & ipf have totally
different rule processing logic though the rules do look some what
common. When it comes to using variables on the rule set, that is
just the normal function of shell processing. Ipfw, ipf, and pf
can
all be buried inside of an shell script and perform variable
substitution.
In FBSD the rc.conf statement for pointing to the directory
location
of the ipf rules can not process a script. You just point that
rc.conf statement to an empty file just to get the system up. Then
you have script in the startup application directory that executes
to load the ipf rules.  Works great.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, December 30, 2003 7:35 PM
To: [EMAIL PROTECTED]
Subject: ipf / pf
Hi,

Here's a question that might seem trivial:

What's the relationship between the freebsd ipf and the openbsd
pf?
Are they
the same thing, or are they separately developed branches of a
common
codebase?  Or maybe they are totally different.  I ask this
because
I was
looking around for guides for ipf.rules, and some of the openbsd
pf
examples
look similar, but some command syntax are different.  The openbsd
pf.conf
example had the ability to define variables of ip addresses,
interface names,
etc, but it doesn't seem to work with ipf.rules.  Is there any way
to define
variables in ipf.rules?
please cc me in your responses cause I'm not subscribed to the
list
thanks so much
jonathan


___
[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]"

--will

___
[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]"


--will

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


Re: ipf / pf availability in 4.9

2003-12-31 Thread Will Prater
List,

Anyone know if there is a way to get PF to port to FreeBSD 4.9?

Thanks

On Dec 30, 2003, at 7:26 PM, fbsd_user wrote:

PF has been just ported to FBSD. I don't know if ipf & pf have a
common code background, but I do know pf & ipf have totally
different rule processing logic though the rules do look some what
common. When it comes to using variables on the rule set, that is
just the normal function of shell processing. Ipfw, ipf, and pf can
all be buried inside of an shell script and perform variable
substitution.
In FBSD the rc.conf statement for pointing to the directory location
of the ipf rules can not process a script. You just point that
rc.conf statement to an empty file just to get the system up. Then
you have script in the startup application directory that executes
to load the ipf rules.  Works great.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, December 30, 2003 7:35 PM
To: [EMAIL PROTECTED]
Subject: ipf / pf
Hi,

Here's a question that might seem trivial:

What's the relationship between the freebsd ipf and the openbsd pf?
Are they
the same thing, or are they separately developed branches of a
common
codebase?  Or maybe they are totally different.  I ask this because
I was
looking around for guides for ipf.rules, and some of the openbsd pf
examples
look similar, but some command syntax are different.  The openbsd
pf.conf
example had the ability to define variables of ip addresses,
interface names,
etc, but it doesn't seem to work with ipf.rules.  Is there any way
to define
variables in ipf.rules?
please cc me in your responses cause I'm not subscribed to the list

thanks so much
jonathan


___
[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]"


--will

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


mysql and slow_query_log

2003-12-17 Thread Will Prater
List,

I have log-slow-queries on and set my slow query time to 5.

Weird thing is, all the queries are being logged hostname-slow.log. 
Even the ones at 0 seconds.
Here is an example. What am I missing here?


select alias from virtual where username = 
'[EMAIL PROTECTED]' and status = '1' limit 1;
# [EMAIL PROTECTED]: mail[mail] @ localhost []
# Query_time: 0  Lock_time: 0  Rows_sent: 0  Rows_examined: 24
select alias from virtual where username = '@lists.horde.org' and 
status = '1' limit 1;


--will

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


mysql and slow_query_log

2003-12-17 Thread Will Prater
List,

I also have 'log-long-format' enabled, but this should have no affect.

Thanks for any ideas.

--will

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


ispman

2003-12-02 Thread Will Prater
List,

I have been searching the net and seen a mix of answers.

Can one run ISPMAN on FreeBSD 4.9?

What features can and can we not use. I see that  pam_ldap in ports is 
not up to 1.8 or later. Also  nss_ldap does not seem to be compatible 
(unless FreeBSD 5.1) according to the developers site.

Any other ISP virtual host solutions out there that people are using? I 
have a set of command line perl hacks that I have been using. These 
work fine. I just want some standardization and billing control would 
be really nice.

Thanks

--will

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


Re: web log and bandwidth usage

2003-11-25 Thread Will Prater
The current port appears to be broken.

In the immortal words of Will Prater <[EMAIL PROTECTED]>...
I am looking for a solution that will monitor bandwidth usage for
websites on a server. I would like to get notified if a certain site
has exceeded a certain limit. I could create such a script myself by
parsing the weblogs.. or parsing output from a web log analyzer such
as analog, but I would like to see if there are any solutions that
some of you may be employing before I spend development time on this.
check out mod_accounting, it's designed specifically for what you want.

What might be some of the better choices for web log analysis as well?
I use webalizer but mostly I get what I need from mod_accounting (look
in ports under www)


--
Tim Aslat <[EMAIL PROTECTED]>
Spyderweb Consulting
http://www.spyderweb.com.au
P: +61 8 82243020M: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"

--will

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


Re: postfix restrictions error

2003-11-25 Thread Will Prater
try inserting a comma after this line

reject_invalid_hostname

On Nov 25, 2003, at 7:59 PM, dave wrote:

Hello,
I'm trying to implement the below restrictions on my postfix 2.0.16
system. I am getting the error:
"Missing '=' after attribute 'permit_mynetworks'" on a line number
I copied these verbatum from a site, i do not understand what is 
up.
Thanks for any help, it's probably just the late hour.
Thanks a lot.
Dave.

# uce values
strict_rfc821_envelopes = yes
smtpd_etrn_restrictions = permit_mynetworks
smtpd_helo_required = yes
smtpd_helo_restrictions =
permit_mynetworks,
reject_unauth_pipelining,
reject_invalid_hostname
reject_maps_rbl
maps_rbl_domains =
sbl.spamhaus.org,
relays.ordb.org,
opm.blitzed.org,
dun.dnsrbl.net,
spam.dnsrbl.net
smtpd_sender_restrictions =
reject_non_fqdn_sender,
reject_unknown_sender_domain
smtpd_recipient_restrictions =
permit_mynetworks,
reject_unauth_destination,
reject_non_fqdn_recipient
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"


--will

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


web log and bandwidth usage

2003-11-25 Thread Will Prater
List,

I am looking for a solution that will monitor bandwidth usage for 
websites on a server. I would like to get notified if a certain site 
has exceeded a certain limit. I could create such a script myself by 
parsing the weblogs.. or parsing output from a web log analyzer such as 
analog, but I would like to see if there are any solutions that some of 
you may be employing before I spend development time on this.

What might be some of the better choices for web log analysis as well? 
I use to use analog.

Thanks

--will

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


Re: daemon monitoring

2003-11-25 Thread Will Prater
On Nov 25, 2003, at 12:26 PM, Chris Pressey wrote:

On Tue, 25 Nov 2003 11:51:20 -0800
Will Prater <[EMAIL PROTECTED]> wrote:
Also does one only need to create a log directory if the application
itself does not log? Or is this to log other information, I cant seem
to find an answer to this on DJB site.
Thanks

--will
I'm pretty sure that if the application manages log files for itself,
you don't need a log subdir.  That's only useful for when you want to
log (or otherwise intercept) the application's stdout/stderr/etc 
output.
This makes sense. Thanks

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


Re: daemon monitoring

2003-11-25 Thread Will Prater
On Nov 24, 2003, at 2:59 PM, Jesse Guardiani wrote:

I'm particularly fond of daemontools/supervise, actually. You've got 
to
jump through some hoops to get it working (process must run in
foreground,
process must start first time, etc..), but it's very reliable and the
qmail style qmailctl script can be adapted to any configuration with
minimal
work to make an excellent control script.
Yes, it looks promising. I have it working for a few of my processes. 
I
was looking to something similar to Mac OS X Servers watchdog. This is
much better.

I get weird errors when I am trying to get saslauthd since I have to
use fghack to get it going.
Can you send me the qmailctl script or some examples that you have 
with
some daemons on your system?


Do you have weirdness when working with daemons that run themselves in 
the backgroud? One has to use fghack to place them in the foreground 
and then there is no control to stop the service through daemontools. 
For example saslatuhd..

Also does one only need to create a log directory if the application 
itself does not log? Or is this to log other information, I cant seem 
to find an answer to this on DJB site.

Thanks

--will

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


Re: daemon monitoring

2003-11-24 Thread Will Prater
List,

On Nov 24, 2003, at 3:14 AM, Mathieu Arnold wrote:

+-le 23/11/2003 16:46 -0800, Will Prater écrivait :
| Sorry, I mispoke. I will be using Nagios to monitor, but I need to 
make
| sure they will restart if there is an error. Will nagios do this as 
well?

Nagios can make use of net/nrpe, which can restart services.
This is interesting. This would be all one needs to keep this up and 
online. I dont see a real need for daemontools/supervise if one can use 
nagios to monitor, report, and keep services online.

Is anyone using Nagios in this manor?

Thanks

--will

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


Re: daemon monitoring

2003-11-24 Thread Will Prater
On Nov 24, 2003, at 1:10 PM, Jesse Guardiani wrote:

Will Prater wrote:

List,

What are most of you using to monitor the running daemons? I have been
loooking into DJB daemontools which seems appropriate, but are there
any others that you reccomend?
If DJB's daemontools is the one, could I get some more examples? I am
primarily trying to keep my mail system online: postfix, cyrus,
saslauthd, mysql, and spamassassin.
I'm particularly fond of daemontools/supervise, actually. You've got to
jump through some hoops to get it working (process must run in 
foreground,
process must start first time, etc..), but it's very reliable and the
qmail style qmailctl script can be adapted to any configuration with 
minimal
work to make an excellent control script.
Yes, it looks promising. I have it working for a few of my processes. I 
was looking to something similar to Mac OS X Servers watchdog. This is 
much better.

I get weird errors when I am trying to get saslauthd since I have to 
use fghack to get it going.

Can you send me the qmailctl script or some examples that you have with 
some daemons on your system?

Thanks


--
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"


--will

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


Re: daemon monitoring

2003-11-23 Thread Will Prater
Sorry, I mispoke. I will be using Nagios to monitor, but I need to make 
sure they will restart if there is an error. Will nagios do this as 
well?

Thanks

On Nov 23, 2003, at 1:57 PM, Alex de Kruijff wrote:

On Sun, Nov 23, 2003 at 10:52:48AM -0800, Will Prater wrote:
List,

What are most of you using to monitor the running daemons? I have been
loooking into DJB daemontools which seems appropriate, but are there
any others that you reccomend?
If DJB's daemontools is the one, could I get some more examples? I am
primarily trying to keep my mail system online: postfix, cyrus,
saslauthd, mysql, and spamassassin.
I would advise Nagios.

--
Alex
Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"


--will

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


daemon monitoring

2003-11-23 Thread Will Prater
List,

What are most of you using to monitor the running daemons? I have been 
loooking into DJB daemontools which seems appropriate, but are there 
any others that you reccomend?

If DJB's daemontools is the one, could I get some more examples? I am 
primarily trying to keep my mail system online: postfix, cyrus, 
saslauthd, mysql, and spamassassin.

Thanks for any input

--will

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