Re: problem on setting up ntpd

2007-04-08 Thread Mispunt

It will take some time before ntpd begins with syncing. Don't ask me
why, but it took a day for me before my ntpd was beginning with
syncing.

On 4/8/07, Reza Muhammad <[EMAIL PROTECTED]> wrote:

Hi all,

I was just trying to setup an ntpd server for my home network so it could sync 
with each other.  So here's what I have in my /etc/ntpd.conf:

# $OpenBSD: ntpd.conf,v 1.7 2004/07/20 17:38:35 henning Exp $
# sample ntpd configuration file, see ntpd.conf(5)

# Addresses to listen on (ntpd does not listen by default)
listen on 192.168.1.1

# sync to a single server
#server ntp.example.org

# use a random selection of 8 public stratum 2 servers
# see http://twiki.ntp.org/bin/view/Servers/NTPPoolServers
servers asia.pool.ntp.org

and here's the log from /var/log/daemon after I run the service:
Apr  8 21:09:32 blowfish ntpd[14921]: listening on 192.168.1.1
Apr  8 21:09:32 blowfish ntpd[14921]: ntp engine ready
Apr  8 21:09:51 blowfish ntpd[14921]: peer 203.123.49.3 now valid
Apr  8 21:09:51 blowfish ntpd[14921]: peer 202.155.248.218 now valid
Apr  8 21:09:51 blowfish ntpd[14921]: peer 61.129.66.79 now valid
Apr  8 21:09:53 blowfish ntpd[14921]: peer 202.71.97.92 now valid
Apr  8 21:09:53 blowfish ntpd[14921]: peer 60.56.119.79 now valid
Apr  8 21:09:55 blowfish ntpd[14921]: peer 218.75.4.130 now valid
Apr  8 21:09:56 blowfish ntpd[14921]: peer 61.129.90.164 now valid

Even though it seems to be working, I still can't get the date to sync from clients.  
When I try to telnet to 192.168.1.1 on port 123, it says "Connection Refused".  
But the daemon is running on the server:
% ps auxw | grep ntpd
root 24933  0.0  0.2   428   600 ??  Is 9:09PM0:00.00 ntpd: [priv] 
(ntpd)
_ntp 14921  0.0  0.2   388   648 ??  S  9:09PM0:00.02 ntpd: ntp 
engine (ntpd)

Can anyone pleae help me out?
Thanks in advance.




Re: OpenBSD webserver partitioning schemes

2007-03-24 Thread Mispunt

My suggestion would be this:
1 disk - OpenBSD install

raid disks:
1 partition - /var/mysql
1 partition - /var/www
1 partition - /var/www/tmp (this could be small)

Mispunt

On 3/24/07, Bray Mailloux <[EMAIL PROTECTED]> wrote:

Bray Mailloux wrote:
> Mispunt wrote:
>> I don't think it is a good idea to do that when you want to use PHP
>> and some sort of database.
>> PHP requires a /tmp and I would put that on a seperate partition.
>> Beside that I think it is also a good idea to give the database a
>> partition.
>> The rest of /var/www could be on the same partition.
>>
>> On 3/23/07, Bray Mailloux <[EMAIL PROTECTED]> wrote:
>>> I'm not too knowledgeable in the security arena so this question may
>>> prompt flogging.
>>>
>>> My server has three hard drives, one contains the OpenBSD system and
>>> the
>>> other two are blank and will be a raid mirror of the /var/www
>>> directory.
>>> Is it wise to give over the entire drive for the mount point
>>> /var/www or
>>> should I not be assigning mount points to entire drives?
>>>
>>>
>> Well, I'm using a raid mirror to store all of my http and database
>> data and a seperate disk to house my openbsd installation. Are you
>> certain that I should not just have the database and http data stored
>> on the raid mirror on two seperate partitions?




Re: DNS, bind9, and other

2007-03-19 Thread Mispunt

On 3/19/07, JOHN LUCKEY <[EMAIL PROTECTED]> wrote:

Anyone have or know of a good beginner's tutorial on how to
setup/configure a openBSD box to do DNS on a local network?
The more concrete/cookbook the examples, the better.

TIA
John


an unofficial source, but it was very usefull to me..

http://www.kernel-panic.it/openbsd/dns/

Mispunt