Re: server rebuilds and disaster recovery

2006-04-28 Thread Philip Hallstrom
this weekend, im going to have to rebuild my 6.0 server in order to recover from a faulty disk (i have to eliminate a RAID1 array, and break rebuild the RAID5 with one more disk). all my daemons and whatnot, im pretty good at recovering. sendmail, apache, mysql, etc, shouldnt be a problem. what

Re: backup system rsync <-> dump

2006-05-02 Thread Philip Hallstrom
I have two disks; one is the fbsd system drive, the other is for backup purposes. I'm in doubt about what to use: dump or rsync I guess I can do something like: mount /dev/ad1s3a /backup/root mount /dev/ad1s3d /backup/var mount /dev/ad1s3f /backup/usr /usr/local/bin/rsync -avHxS --delete /usr /b

Re: backup system rsync <-> dump

2006-05-03 Thread Philip Hallstrom
With the right settings of --backup --backup-dir you can easily create a week (or two or three or whatever) archive of the "daily" changed files. So, for example.. /backup/usr - contains identical copy /backup/dailys/usr/Mon - contains files that changed on /usr on Monday. Then just set things

Re: FTPd recommendation?

2006-05-04 Thread Philip Hallstrom
What are people using for their ftpd these days? I am looking for something easy to initiailize, configure, and is very secure. pure-ftpd http://pureftpd.sourceforge.net/ I've got it set up with my own SSL cert and dissallow plain text FTP. You can also configure it to use completely virtu

Re: file system full

2006-05-04 Thread Philip Hallstrom
Hi all, My "/var" is fully 99%, because I create one tar.gz of the squid logs. I was move for smbfs, then network die!!! I try: rm -rf file.tar.gz and don't have more free space oon the file system. Somebody help me? Also, be sure that no process (ie. squid, syslog, etc.) still has

Re: jails or chroot?

2006-05-09 Thread Philip Hallstrom
With the inclusion of mergemaster -u subsequent base system upgrades are much less painful. Using null mounts for the common areas should lessen the version sync issues. Once unionfs is stable again, you could just use one jail as a base image and allow the others to be cloned off of that. ezj

Re: limit bandwidth 'make fetch'

2006-05-10 Thread Philip Hallstrom
how i can limit bandwidth when i using 'make fetch' (make install in Ports)? I wrote a patch to fetch awhile back that does exactly this. That was with 4.x, but it might apply cleanly in 6. I ended up not using it, well cause once I had everything installed it didn't seem to matter so much.

Re: limit bandwidth 'make fetch'

2006-05-10 Thread Philip Hallstrom
On 5/10/06, Philip Hallstrom <[EMAIL PROTECTED]> wrote: > how i can limit bandwidth when i using 'make fetch' (make install in Ports)? I wrote a patch to fetch awhile back that does exactly this. That was with 4.x, but it might apply cleanly in 6. I ended up not using it

Re: Intelligent way of dealing with dependancies in ports

2006-05-11 Thread Philip Hallstrom
I'm rather tired of having to update firefox port due security fixes and then having to build the new versions of glib, expat, and so on an so on, every one of which complains that tere are older versions of the lib installed. I've tried pkg_delete -f and install of the newer version, but then

Re: Copying a file system w/ tar - symbolic links not copied right - More info

2006-05-11 Thread Philip Hallstrom
Hi all... Ok... More info for the puzzle. I'm trying to move a file system from one disk to another, and when I do this: tar cf - /source/* | ( cd /destination && tar xfv - ) It copies all the files, but the symbolic links are copied as files of 0 length, rather than re-established as link

RE: Copying a file system w/ tar - symbolic links not copied right - More info

2006-05-11 Thread Philip Hallstrom
L PROTECTED] On Behalf Of Philip Hallstrom Sent: Thursday, May 11, 2006 10:35 AM To: Don O'Neil Cc: freebsd-questions@freebsd.org Subject: Re: Copying a file system w/ tar - symbolic links not copied right - More info Hi all... Ok... More info for the puzzle. I'm trying to move a f

Re: VM and jailed processes

2006-05-14 Thread Philip Hallstrom
It's my understanding that if there is more than one instance of a specific application running, then portions of the code are shared in memory. I would assume that would apply to dynamically linked applications as well; i.e. if two different applications are linked against the same library, the g

Re: rsync errors

2006-05-28 Thread Philip Hallstrom
I have rsync installed on 2 6.1-RELEASE boxes on my home lan. I want to sync the webserver (curly) to the backup server (moe). When I run rsync on moe, I get the following: $ rsync -avz curly:/usr/local/etc/apache22/httpd.conf /usr/local/etc/apache22 Password: receiving file list ... done rsy

Re: Simple DNS For Private LAN

2006-06-23 Thread Philip Hallstrom
If you're getting a static IP, then you can become master for your domain, but you'll still need a secondary NS, and most (if not all) registrars will require that the secondary NS be on a different IP. I Don't know about the others, but dotster doesn't care. My domain is one box, 5 IP's. bind

Re: IMAP server alternatives

2006-07-13 Thread Philip Hallstrom
I tried to install cyrus-imapd, courier-imapd and dovecot, in this order. :-) Dovecot has my preference. I could install it in a few minutes, and it was very easy to configure. At least it is easier than courier, for me. :-) One thing to note here, and I've never looked into dovecot, so maybe i

Re: Subversion web development question.

2006-07-24 Thread Philip Hallstrom
Forgive me if this question is stupid or has been answered before, more than likely this info exists, but I'm not looking in the right place. I work in a I'd recommend searching the subversion mailing lists as well. It's been covered, but it's not stupid :) small corporation that is heavily

Re: Subversion web development question.

2006-07-24 Thread Philip Hallstrom
At this point you can manage your files on your workstation and immediately check your results. Then when happy, you can commit your changes with SVN and they get committed to the repository. You don't need subversion to move files into your web tree. That's not what it does. Fair enough,

Re: Subversion web development question.

2006-07-24 Thread Philip Hallstrom
Why would you need to be root? Here's what we do at work: Because /usr/local/www/apache22/data is owned by root. I guess I mistakenly figured that this is where the files should go. I know that you can configure Apache to point to any directory, but was unsure of the consequences of pointi

Re: Virtual Private Servers???

2006-07-25 Thread Philip Hallstrom
Ok, I'm a FreeBSD guy. Recently I moved into another company. All of their servers runs Linux. For my first assignment, I need to have a comparison between various Linux Virtualizations. So far I came up with Virtuozzo/OpenVZ, Xen, UML, Linux-Vserver. As far as I can understand, all of them are so

Re: Reducing the timeout on a TCP connection

2006-08-01 Thread Philip Hallstrom
I'm writing some monitoring scripts, and I'm having some trouble because the TCP seems to wait 90 seconds before giving up on initiating a connection. (The script is in PHP, testing a PostgreSQL database. Neither PHP nor libpq (which PHP's PostgreSQL support is based on) seem to have any setting

Re: Stand up and be counted - BSDStats Project

2006-08-03 Thread Philip Hallstrom
pciconf -lv needs to be parsed, this being the hard step, into a string that can be sent via HTTP ... this is the hard part because it has to be done as/in a shell script ... anyone out there *really* good at shell programming? What needs to happen is: [EMAIL PROTECTED]:0:2: class=0x060400 car

Re: Changing root's shell

2006-08-08 Thread Philip Hallstrom
so it seems changed root login's shell to /usr/bin/bash which doesn't exist. now I can't login to root at all. Oh yes, sudo isn't installed. How would you grand masters of FreeBSD fix my embarrasing mistake. Boot into single user mode, then vipw the password file and change it back. _

Re: FreeBSD as a VPN Server/Router

2006-08-09 Thread Philip Hallstrom
I am going to venture into the field of the security gurus so help me God! It looks like I am gonna get stuck in wet cement, I can feel it;) I have two sites, siteA and siteB. Each site has a horde of Windows PCs behind a FreeBSD box, which acts as a firewall/router/proxy/everything:) Each site h

Re: Low-cost, FreeBSD-compatible notebook

2006-08-09 Thread Philip Hallstrom
I am looking into buying a cheap notebook computer (sub $800, the cheaper the better). I have been playing around with FreeBSD for the last few months and have decided to make it my sole OS, so I really want a notebook that's as FreeBSD-compatible as possible. I know ThinkPad's the best for Li

RE: New Web Server

2006-08-10 Thread Philip Hallstrom
Ok, I just tried that, and it wants to open index.php with a text editor. It is acting like Apache does not know how to handle a *.php file. In my httpd conf, http://www.php.net says to add LoadMudule and AddMudule statements. Are those still needed? I believe so... unless you've built it sta

RE: New Web Server

2006-08-10 Thread Philip Hallstrom
PHP Scripting Language (Apache Module and CLI) RC -Original Message- From: Philip Hallstrom [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 11:37 AM To: Clark, Ronald Cc: Javier Henderson; [EMAIL PROTECTED]; freebsd-questions@freebsd.org Subject: RE: New Web Server

RE: New Web Server

2006-08-10 Thread Philip Hallstrom
I have started over. I am back to this level: FreeBSD 5.5-STABLE FreeBSD 5.5-STABLE #0: Tue Aug 1 17:59:18 CDT 2006 With MySQL server 4.1 installed and working. Now to build Apache13-modssl and hopefully add PHP to it. However, I cannot find mod_php5 in ports. Is this port deprecated and is now

Re: Cluster mail system using FreeBSD

2006-08-23 Thread Philip Hallstrom
I am looking for the best possible solution in order to setup a High availability mail cluster using FreeBSD (smtp/imap/pop server with 1000 accounts). Selected software are as followed : --- - Postfix - Amavisd-new - SpamAssassin - Courier Imap - DCC-DCCD - C

Re: rubygems in ports

2006-08-25 Thread Philip Hallstrom
I've been meaning to ask this for a while... what is the motivation for including individual Ruby gems in ports? It strikes me as unnecessary duplication, as the gem tool works well on its own, even for gems with C code. Are there many gems with FreeBSD-specific extensions or dependencies? And

Re: freebsd-specific postfix antispam howto

2006-08-28 Thread Philip Hallstrom
Hello, Does anyone have any information on this? I've googled and have found a lot of information for Linux and even an OpenBSD howto, but i am looking for something freebsd-specific, preferably fbsd6. I'm having issues getting all the services, amavisd-new configured/starting up properly and

Does QUOTA work for users not in /etc/password (ie. by UID?)

2006-08-28 Thread Philip Hallstrom
Hi all - I was looking at implementing QUOTA for a server, but all of our users are stored in a database (ftp/pop/imap authenticates against the db). They each have their own uid's though so the files are owned "individually". I would think file system quotas would work for this, but from th

Any issue having multiple sound cards running at the same time in 6.1?

2006-08-29 Thread Philip Hallstrom
Hi all - I've got a freebsd server in the garage that has a low end soundblaster (I think) card in it that I've been using to play music. Works just fine. We moved and now I'd like to be able to have different music play in different rooms (living, family, and outside). I can do all the othe

Re: Any issue having multiple sound cards running at the same time in 6.1?

2006-08-30 Thread Philip Hallstrom
I've got a freebsd server in the garage that has a low end soundblaster (I think) card in it that I've been using to play music. Works just fine. We moved and now I'd like to be able to have different music play in different rooms (living, family, and outside). I can do all the other wiring for sp

Re: php5/mysql5

2006-08-30 Thread Philip Hallstrom
Production server is running apache13/php4/mysql4. Have fresh 6.1 install on workbench PC. Workbench PC is being used to build apache13/php5/mysql51 environment for working php web application writing and reading mysql database. Installed mysql51-server then php5 and made sure make config had apa

<    1   2   3