Building Home Server

2007-02-16 Thread Drew Jenkins
20Hi; I'm building a server at home to mimic my live server. The instructions require that I gather the following information: * IP address * IP address of default gateway * Hostname * DNS server IP address * Subnet Mask Now, I think I can use 192.168.0.1 as my IP address, since that calls up my

Re: Building Home Server

2007-02-16 Thread Drew Jenkins
Start menu/Run cmd There you will get a win32 console where you can type in ipconfig /all Miscommunication. I *did* that. It pops up the info I need on the screen so fast then the screen disappears...I never have a chance to read the info!! What do?? Also, I found this info on a Web page

Re: Building Home Server

2007-02-16 Thread Drew Jenkins
- Original Message From: Joe Holden [EMAIL PROTECTED] To: Drew Jenkins [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Friday, February 16, 2007 11:45:47 AM Subject: Re: Building Home Server You could try opening a command prompt (cmd/command in run) and running it, that way

Re: Building Home Server

2007-02-16 Thread Drew Jenkins
- Original Message From: Nagy László Zsolt [EMAIL PROTECTED] To: Drew Jenkins [EMAIL PROTECTED]; freebsd-questions@freebsd.org Sent: Friday, February 16, 2007 12:08:13 PM Subject: Re: Building Home Server Did you run cmd.exe? Really? This is really strange. If I go to run and then enter

Panic and Dump

2007-02-16 Thread Drew Jenkins
20Hi; I've just built a new machine with two drives, one for Windoze and one for FBSD. Although I've built this according to specs, there seems to be a problem with the motherboard, because I've had a number of occasions where the computer automatically shuts down. I can now run Windoze without

Re: Building Home Server

2007-02-16 Thread Drew Jenkins
!-- DIV {margin:0px;}--- Original Message From: Robert C Wittig [EMAIL PROTECTED] To: Drew Jenkins [EMAIL PROTECTED] Sent: Friday, February 16, 2007 1:11:38 PM Subject: Re: Building Home Server Is this a Windows box or a BSD box, that you are trying to run a server on? Both: a hard

Re: Building Home Server

2007-02-16 Thread Drew Jenkins
- Original Message From: Ziad Badawi [EMAIL PROTECTED] To: Nagy László Zsolt [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Friday, February 16, 2007 1:42:53 PM Subject: Re: Building Home Server regarding the ip config, you could type: ipconfig /all | more or ipconfig /all

Can I Mount A Windoze Drive?

2007-02-16 Thread Drew Jenkins
Newbie question here. I just want to make sure I don't screw anything up. I have two hard drives in my box...one for Windoze, one for FBSD. Can I mount the former from FBSD and copy over files? Do I navigate it just like a FBSD disk...cd, cp, etc? TIA, Drew

Re: Can I Mount A Windoze Drive?

2007-02-17 Thread Drew Jenkins
- Original Message From: Greg 'groggy' Lehey [EMAIL PROTECTED] To: Drew Jenkins [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Saturday, February 17, 2007 3:03:03 AM Subject: Re: Can I Mount A Windoze Drive? Thank you to both you and Martin Tournoij as well for answering

Accessing Server TTW

2007-02-17 Thread Drew Jenkins
Hi; Another newbie question. I've successfully built (so far) my FBSD server on a separate HD on one of my 2 PCs at home. I am connected to the Internet via DHCP through my satellite dish. I would like to access Web pages on my FBSD server from my other PC. How do I set this up? TIA, Drew

Re: Can I Mount A Windoze Drive?

2007-02-18 Thread Drew Jenkins
Subject: Re: Can I Mount A Windoze Drive? On Sat 17 Feb 2007 13:02, Drew Jenkins wrote: Newbie question here. I just want to make sure I don't screw anything up. I have two hard drives in my box...one for Windoze, one for FBSD. Can I mount the former from FBSD and copy over files? Do I navigate

How Do I Surf To My Server?

2007-02-19 Thread Drew Jenkins
Hi; I have a production server that I've crashed a few times by working on it directly and making mistakes. As a result, I've finally built a mock server on my home PC on a separate hard drive with nothing but FBSD. I also have a laptop. All are connected by DHCP to a satellite dish. My

Re: Can I Mount A Windoze Drive?

2007-02-19 Thread Drew Jenkins
A Windoze Drive? On Sun 18 Feb 2007 07:02, Drew Jenkins wrote: For some reason, I can no longer mount the Windoze drive! The first time I mounted it, I didn't even change the fstab! I just issued the command: mount_ntfs /dev/ad0s1 /mnt/win and it mounted! I copied off everything I thought I

Re: How Do I Surf To My Server?

2007-02-19 Thread Drew Jenkins
20- Original Message From: Chris [EMAIL PROTECTED] To: Drew Jenkins [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Monday, February 19, 2007 9:09:16 AM Subject: Re: How Do I Surf To My Server? If however, you browse from within your own home network, all you need is the IP

Re: Can I Mount A Windoze Drive?

2007-02-19 Thread Drew Jenkins
- Original Message From: Kevin Kinsey [EMAIL PROTECTED] To: Drew Jenkins [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Monday, February 19, 2007 9:59:52 AM Subject: Re: Can I Mount A Windoze Drive? Does /mnt truly not exist? `ls -l / | grep mnt`, perhaps? Yep, exists. Here

Re: How Do I Surf To My Server?

2007-02-19 Thread Drew Jenkins
20- Original Message From: Kevin Kinsey [EMAIL PROTECTED] To: Drew Jenkins [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Monday, February 19, 2007 9:54:28 AM Subject: Re: How Do I Surf To My Server? Will this help? $ ifconfig vr0 snip And on a Windows Laptop: C:\ more c

Re: Panic and Dump

2007-02-19 Thread Drew Jenkins
- Original Message From: Lowell Gilbert [EMAIL PROTECTED] To: Drew Jenkins [EMAIL PROTECTED] Sent: Monday, February 19, 2007 12:00:54 PM Subject: Re: Panic and Dump The filesystem clearly needs a good fsck. Remember that it can't be mounted read-write to do so; usually you'll want

Re: Can I Mount A Windoze Drive?

2007-02-19 Thread Drew Jenkins
- Original Message From: Jerry McAllister [EMAIL PROTECTED] To: Drew Jenkins [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Monday, February 19, 2007 12:04:29 PM Subject: Re: Can I Mount A Windoze Drive? Great! What worked here for me was: mkdir -p /mnt/win

Re: How Do I Surf To My Server?

2007-02-20 Thread Drew Jenkins
- Original Message From: Jeffrey Goldberg [EMAIL PROTECTED] To: Drew Jenkins [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Monday, February 19, 2007 12:49:22 PM Subject: Re: How Do I Surf To My Server? On Feb 19, 2007, at 7:15 AM, Drew Jenkins wrote: Can you tell us more

Re: How Do I Surf To My Server?

2007-02-20 Thread Drew Jenkins
- Original Message From: Kevin Kinsey [EMAIL PROTECTED] To: Drew Jenkins [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Monday, February 19, 2007 6:26:07 PM Subject: Re: How Do I Surf To My Server? Use netstat -anf inet on the server and see if port 80 or 8080 is LISTENING

Re: How Do I Surf To My Server?

2007-02-21 Thread Drew Jenkins
- Original Message From: Jeffrey Goldberg [EMAIL PROTECTED] et al. I just want to thank everybody for helping me with this issue. By yesterday morning, before I left for town and a very busy day, I realized the problem (at that juncture) could not possibly have been with the IP

Setting Env

2007-03-06 Thread Drew Jenkins
20Hi; For some reason, I need to run this: setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ to get my Zope instances up and running. I'm trying to figure out how to automate that. I wrote a little script: #!/bin/csh setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ and put it here:

Re: Setting Env

2007-03-06 Thread Drew Jenkins
Bill Campbell wrote: that I should edit said line into /etc/ld.so.conf Unfortunately there is no such file on my system. - Original Message From: Jerry McAllister [EMAIL PROTECTED] To: Drew Jenkins [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Tuesday, March 6, 2007 3:33

Re: MySQL Startup Script

2007-03-06 Thread Drew Jenkins
- Original Message From: Jeremy Chadwick [EMAIL PROTECTED] To: Drew Jenkins [EMAIL PROTECTED] Cc: freebsd-ports@freebsd.org Sent: Tuesday, March 6, 2007 5:33:11 PM Subject: Re: MySQL Startup Script This isn't a good idea. ldconfig is supposed to take care of this for you. Can you

Re: Setting Env

2007-03-06 Thread Drew Jenkins
Don Hinton wrote: # ldconfig -aout -f /etc/ld.so.conf /usr/local/lib/mysql/ will create it for you. man ldconfig for more info... Well, that created a binary, but when I rebooted...nothing. Same problem :( - Original Message From: Jerry McAllister [EMAIL PROTECTED] To: Drew Jenkins

Re: Setting Env

2007-03-06 Thread Drew Jenkins
- Original Message From: Jerry McAllister [EMAIL PROTECTED] To: Drew Jenkins [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Tuesday, March 6, 2007 7:46:26 PM Subject: Re: Setting Env If you want the environment variable to be set for something that is taking place

Re: Setting Env

2007-03-07 Thread Drew Jenkins
- Original Message From: Garrett Cooper [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Wednesday, March 7, 2007 1:02:01 AM Subject: Re: Setting Env Drew Jenkins wrote: LD_LIBRARY_PATH=/usr/local/lib/mysql/ not work for you? Why not source environment variables from

Re: Setting Env

2007-03-07 Thread Drew Jenkins
20- Original Message From: Garrett Cooper [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Wednesday, March 7, 2007 4:55:19 AM Subject: Re: Setting Env Drew Jenkins wrote: - Original Message From: Garrett Cooper [EMAIL PROTECTED] To: freebsd-questions@freebsd.org

Re: Setting Env

2007-03-07 Thread Drew Jenkins
- Original Message From: Kirk Strauser [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Wednesday, March 7, 2007 11:14:51 AM Subject: Re: Setting Env On Tuesday 06 March 2007, Drew Jenkins wrote: 20Hi; For some reason, I need to run this: setenv LD_LIBRARY_PATH /usr/local

Re: Setting Env

2007-03-07 Thread Drew Jenkins
- Original Message From: Jerry McAllister [EMAIL PROTECTED] To: Drew Jenkins [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Tuesday, March 6, 2007 7:46:26 PM Subject: Re: Setting Env If you want the environment variable to be set for something that is taking place

Re: Setting Env

2007-03-07 Thread Drew Jenkins
Jerry McAllister wrote: Ok. Simplest way to solve this is to make your own run script and invoke it at boot. It's not that bad to do from what I understand.. Will this do? #!/bin/csh setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ Because I've already tried it (in /usr/local/etc/rc.d with chown

Re: Setting Env

2007-03-07 Thread Drew Jenkins
Garret Cooper wrote: Also, something to the effect like the following is better for portability reasons: #!/bin/sh if [ -n $LD_LIBRARY_PATH ] ; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib/mysql else export LD_LIBRARY_PATH=/usr/local/lib/mysql fi I put that in the

Re: Setting Env

2007-03-07 Thread Drew Jenkins
- Original Message From: Jerry McAllister [EMAIL PROTECTED] #!/bin/sh if [ -n $LD_LIBRARY_PATH ] ; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib/mysql else export LD_LIBRARY_PATH=/usr/local/lib/mysql fi I put that in the

Re: Setting Env

2007-03-07 Thread Drew Jenkins
20BTW, here is how I test to see if it works after reboot. 1) Try to pull up a page served by Zope. Get an error. 2) Shut Zope down. 3) Restart Zope with runzope to read the error. It is concerning the MySQL environment. 4) Enter the command: setenv LD_LIBRARY_PATH /usr/local/lib/mysql 5)

Re: Setting Env

2007-03-07 Thread Drew Jenkins
On 06/03/07, Drew Jenkins [EMAIL PROTECTED] wrote: Don Hinton wrote: # ldconfig -aout -f /etc/ld.so.conf /usr/local/lib/mysql/ will create it for you. man ldconfig for more info... Well, that created a binary, but when I rebooted...nothing. Same problem :( The command should

Re: Setting Env

2007-03-07 Thread Drew Jenkins
The command should be # ldconfig -m /usr/local/lib/mysql Thanks for the correction. This is actually what gets run when mysql is installed via ports. With that, I went ahead and chowned the dir back to mysql, ran the command successfully, but it still didn't work. Now I'm wondering if

Re: Setting Env

2007-03-07 Thread Drew Jenkins
So pass -i or fix the ownership/permissions. Well, I've tried both now with no luck! Drew Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel

Re: Setting Env

2007-03-07 Thread Drew Jenkins
- Original Message From: DAve [EMAIL PROTECTED] To: Drew Jenkins [EMAIL PROTECTED] Sent: Wednesday, March 7, 2007 4:25:12 PM Subject: Re: Setting Env /usr/local/lib/mysql should be owned by root:wheel, at least it is all my servers. I chown'd it back. Do that and run ldconfig -r | grep

Re: Setting Env

2007-03-07 Thread Drew Jenkins
Thanks. I'm downloading a big file right now, so can't reboot, but did chown :) Drew - Original Message From: Kevin Kinsey [EMAIL PROTECTED] To: Drew Jenkins [EMAIL PROTECTED] Sent: Wednesday, March 7, 2007 6:14:50 PM Subject: Re: Setting Env Drew Jenkins wrote: The command should

Re: Setting Env

2007-03-08 Thread Drew Jenkins
20I wrote the following script (with your help) to solve the problem I'm having with setting the MySQL environment and getting Zope up after the fact. I have saved this in /usr/local/etc/rc.d/ If I run this after the machine reboots, all is well. If I simply let it run in the reboot sequence,

Re: Setting Env

2007-03-08 Thread Drew Jenkins
- Original Message From: Garrett Cooper [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Thursday, March 8, 2007 11:09:13 AM Subject: Re: Setting Env Well, it's going to involve a bit more than that to get an rc script up and running I'm afraid.. the script needs a start,

Re: Setting Env

2007-03-08 Thread Drew Jenkins
On Thu, Mar 08, 2007 at 08:31:23AM -0800, Drew Jenkins wrote: Anyway, I suggest first just working on getting any script to run at boot time - or rather at the time the system comes up for multi- user, but that stuff does not run when it comes up to single-user. So, my next suggestion

Re: Setting Env

2007-03-08 Thread Drew Jenkins
#!/bin/sh if [ -n $LD_LIBRARY_PATH ] ; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib/mysql echo Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql because -n '$LD_LIBRARY_PATH' held true. /var/log/zz_mysql_start.log else export LD_LIBRARY_PATH=/usr/local/lib/mysql

Re: Setting Env

2007-03-08 Thread Drew Jenkins
Well, if the problem is with Zope, then why is the env variable not set after reboot? The problem, therefore, is not with Zope, but rather with setting the variable. Drew2 Jerry McAllister [EMAIL PROTECTED] wrote: On Thu, Mar 08, 2007 at 01:07:10PM -0800, Drew Jenkins wrote: #!/bin/sh

clean-hoststat

2007-03-11 Thread Drew Jenkins
Hi; Just built a new server and got this error: Removing stale entries from sendmail host status cache: /etc/periodic/daily/150.clean-hoststat: purgestat: Permission denied # ls -al /etc/periodic/daily/150.clean-hoststat -rwxr-xr-x 1 root wheel 588 Jan 12 07:42

How Do I Find Find?

2007-03-12 Thread Drew Jenkins
I built a home server to prepare to build a new production server. Well, the latter is built out, but when I went back to the former, it said there was a problem with my last shutdown (which I don't remember) and went into single user mode. I went to run a find and it complained it couldn't

Re: How Do I Find Find?

2007-03-12 Thread Drew Jenkins
Yes, /usr is mounted. When I say rebuild, I mean I stuck the FBSD 6.2 CD erased the old installation and reinstalled. Drew3 Bill Moran [EMAIL PROTECTED] wrote: In response to Drew Jenkins : I built a home server to prepare to build a new production server. Well, the latter is built out

Re: How Do I Find Find?

2007-03-12 Thread Drew Jenkins
/locate.updatedb from shell. Then just locate what you want. Good luck! Drew Jenkins skrev: I built a home server to prepare to build a new production server. Well, the latter is built out, but when I went back to the former, it said there was a problem with my last shutdown (which I don't

Corrupted OS

2007-03-16 Thread Drew Jenkins
23Hi; Is it possible to rebuild an OS without reformatting the hard drive? I have FBSD6.2, so I can't upgrade. TIA, Drew 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie showtime

Re: Corrupted OS

2007-03-16 Thread Drew Jenkins
to reinstalling Windoze on top of an existing installation, right? TIA, Drew - Original Message From: Christian Walther [EMAIL PROTECTED] To: Drew Jenkins [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Friday, March 16, 2007 6:45:40 AM Subject: Re: Corrupted OS On 16/03/07

Re: Corrupted OS

2007-03-16 Thread Drew Jenkins
How do I know the kernel has not become corrupted? Actually, as I think about it, I should probably rebuild the kernel anyway to work with packet filters. Here are my notes from the last time I updated: /usr/src/UPDATING and /usr/src/Makefile? I'm not sure what I mean by the above, but should

Re: Corrupted OS

2007-03-16 Thread Drew Jenkins
2Kevin Kinsey [EMAIL PROTECTED] wrote: synch your source to 6.2 How? And is this necessary since it's already at 6.2? The command below, cvsup -g -L 2 supfile. Assuming, of course, that the supfile is valid. Is it necessary? Depends; if you're convinced that something is wrong

Re: Corrupted OS

2007-03-16 Thread Drew Jenkins
Thanks :) - Original Message From: RW [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Friday, March 16, 2007 10:31:53 AM Subject: Re: Corrupted OS On Fri, 16 Mar 2007 07:16:33 -0700 (PDT) Drew Jenkins [EMAIL PROTECTED] wrote: Well, it never hurts to get up to date

Re: Corrupted OS

2007-03-16 Thread Drew Jenkins
in my last email ;) TIA, Drew - Original Message From: Garrett Cooper [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Friday, March 16, 2007 10:43:38 AM Subject: Re: Corrupted OS Christian Walther wrote: On 16/03/07, Drew Jenkins [EMAIL PROTECTED] wrote: 23Hi; Is it possible

Re: Corrupted OS

2007-03-16 Thread Drew Jenkins
Message From: Jerry McAllister [EMAIL PROTECTED] To: Drew Jenkins [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Friday, March 16, 2007 11:17:55 AM Subject: Re: Corrupted OS On Fri, Mar 16, 2007 at 05:09:15PM +0700, Drew Jenkins wrote: 23Hi; Is it possible to rebuild an OS without

Re: Corrupted OS

2007-03-16 Thread Drew Jenkins
Jerry McAllister [EMAIL PROTECTED] wrote: On Fri, Mar 16, 2007 at 07:16:33AM -0700, Drew Jenkins wrote: 2Kevin Kinsey wrote: synch your source to 6.2 How? And is this necessary since it's already at 6.2? The command below, cvsup -g -L 2 supfile. Assuming, of course

Re: Corrupted OS

2007-03-16 Thread Drew Jenkins
How do I access it (through SSH) if it's unmounted? Drew2 Jerry McAllister [EMAIL PROTECTED] wrote: On Fri, Mar 16, 2007 at 09:11:58AM -0700, Drew Jenkins wrote: Jerry McAllister wrote: On Fri, Mar 16, 2007 at 07:16:33AM -0700, Drew Jenkins wrote: 2Kevin Kinsey wrote: synch your

Re: Corrupted OS

2007-03-16 Thread Drew Jenkins
, 2007 at 09:12:02AM -0700, Drew Jenkins wrote: Jerry McAllister wrote: On Fri, Mar 16, 2007 at 07:16:33AM -0700, Drew Jenkins wrote: 2Kevin Kinsey wrote: synch your source to 6.2 How? And is this necessary since it's already at 6.2? The command below, cvsup -g -L 2

Re: Corrupted OS

2007-03-16 Thread Drew Jenkins
McAllister [EMAIL PROTECTED] wrote: On Fri, Mar 16, 2007 at 01:33:42PM -0700, Drew Jenkins wrote: I believe you misunderstand. I have 3 disks: 2 are SCSI RAID and are 80 GB each 1 is not and is 500 GB I don't actually need the 500 GB now. I haven't even used up the 80 GB HD's. So I can wipe

Re: Corrupted OS

2007-03-16 Thread Drew Jenkins
How large is large? Why filesystem are you using with what options?The MySQL database was just under a gigabyte, and the Zope Data.fs file/database was somewhere under 2 gigabytes. Options? No options. I had symlinks from where these dbases were supposed to live on the SCSI drives to the 500 GB

Re: Corrupted OS

2007-03-16 Thread Drew Jenkins
2How large is large? Why filesystem are you using with what options?The MySQL database was just under a gigabyte, and the Zope Data.fs file/database was somewhere under 2 gigabytes. Options? No options. I had symlinks from where these dbases were supposed to live on the SCSI drives to the 500

Re: Corrupted OS

2007-03-17 Thread Drew Jenkins
/etc/fstab says ufs. Is there a better way to check if its ufs2? Drew2 Garrett Cooper [EMAIL PROTECTED] wrote: On Mar 16, 2007, at 7:34 PM, Drew Jenkins wrote: How large is large? Why filesystem are you using with what options?The MySQL database was just under a gigabyte, and the Zope

Re: Corrupted OS

2007-03-17 Thread Drew Jenkins
, this is kinda dangerous. Got another, perhaps more complex but *safer* way to determine if it's ufs1 or 2? 2Also, what are softupdates and why do I need them? TIA, Drew Garrett Cooper [EMAIL PROTECTED] wrote: Drew Jenkins wrote: /etc/fstab says ufs. Is there a better way to check if its ufs2? Drew2