Restaging from scratch

2013-04-03 Thread Grant Peel
Hi all,

 

I have now completed creating a new server from scratch using FreeBSD 9.1
and ports.

 

The new setup uses: /, /usr, /var and /home. 

 

These filesystems have been dumped to a memory stick (root.dump, var.dump
etc).

 

The plan now is to completely zero out the drives on the other servers and
use these file systems to build anew.

 

The way I would have done it with pre 9.1 (i.e. 8.x) would have been to boot
using a live cd  based filesystem, zero out the drive, create the 4 needed
filesystems using the graphical fdisk and disklable, mount the memstick and
rebuild the filesystems using the dumps. 

 

I am at a bit of a loss as to how to do this using gpart.

 

If anyone is willing to explain step by step, how to boot, create the
filesystems, and make the disk bootable using 9.1  gpart etc I would
appreciate it! 

 

Fyi the disk would be da0 (SCSI 74G ULTRA 320).

 

-G

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: gpart

2013-04-01 Thread Grant Peel
-Original Message-
From: Erich Dollansky [mailto:erichsfreebsdl...@alogt.com] 
Sent: March-31-13 9:55 PM
To: Grant Peel
Cc: freebsd-questions@freebsd.org
Subject: Re: gpart

Hi,

On Sun, 31 Mar 2013 21:28:40 -0400
Grant Peel gp...@thenetnow.com wrote:

 I am in the midst of setting up the framework for new servers using 
 FreeBSD 9.1. I used the bsdinstall and Manual`` option when setting up 
 the disk geometry using GPT - graphical setup.
 
 The idea will be to eventually dump the 4 file systems, (/, /usr /var 
 and /home) and restore them on other servers when the time comes.
 
using a separated home is a very good idea.
  
 http://www.wonkity.com/~wblock/docs/html/disksetup.html

I have had only one problem with this description. I could not boot from a
GPT setup on my machine done as described there. But I have a disk done with
PCBSD based on 9.0 which booted well. I cannot tell you if this is a problem
caused by a later chance on the side of FreeBSD.

 Which worked well. But as yet I do not have dumps to test with.

If all worked well for you, I do not see any problems coming for you then.
 
 I was wondering in anyone sees any issues creating the drive geometry 
 using this method, with the intent of restoring dumped filesystems to 
 to, including the root filesystem.

I have some drives which partitioning I did according to this. The only
problem I have is booting. The rest is all working perfectly.
 
 I am yet to use 9.1 to do so, so any tips would be appreciated.
 
If you want this for serious servers, you might even consider 8.3, if your
hardware is supported. Nothing beats the robustness of the older FreeBSD
versions.

Erich

Interesting.

Up to this point I have always upgraded to the latest release version of
FreeBSD.

I am currently running 8.0 and am in need of many of the ports to be
upgraded, and have never had much luck doing the upgrade thing with the base
system and ports, preferring instead to completely rebuild in restore user
data.

Can I assume that the versions of the ports shown on the freebsd.orgéports
site will be available in 8.3 and 9.1é

-G


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


gpart

2013-03-31 Thread Grant Peel
Hi all,

 

I am in the midst of setting up the framework for new servers using FreeBSD
9.1. I used the bsdinstall and Manual`` option when setting up the disk
geometry using GPT - graphical setup.

 

The idea will be to eventually dump the 4 file systems, (/, /usr /var and
/home) and restore them on other servers when the time comes.

 

I am reading everything there is about GPT at this point as I have never
used it before. It seems gpart is the tool to use.

 

I have done several test runs setting the drive geometry using this as a
guide:

 

http://www.wonkity.com/~wblock/docs/html/disksetup.html

 

Which worked well. But as yet I do not have dumps to test with.

 

I was wondering in anyone sees any issues creating the drive geometry using
this method, with the intent of restoring dumped filesystems to to,
including the root filesystem.

 

I am yet to use 9.1 to do so, so any tips would be appreciated.

 

-G

 

 

 

 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD 8.0 - PHP 5.3.x

2011-10-06 Thread Grant Peel
Hi all,
Short of upgrading the OS, what is the safest way to upgrade a FreeBSD server 
to PHP 5.3.x from 5.2.11 ?
I am assuming downloading the ports tarball and rebuilding and reinstalling 
will do it?
Any advice, samples would be appreciated,
-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Distributions are missing from home burnt CD

2011-08-02 Thread Grant Walter
lol, that its my problem. Base is not installed! The part of the install where 
you normally install base does not let me install it! Its not there!! Only a 
bunch of dutch translations 

On Mon, Aug 1, 2011 at 11:17 PM, Ryan Coleman edi...@d3photography.com wrote: 
 Is portsnap installed? I was going with the effed up installer route. :)   
This works -I tried it when I wrote up the directions. I assume that if the 
machine boots into the OS, that base is installed and portsnap is in base'

- Reply message -
From: Robert Simmons rsimmo...@gmail.com
To: Ryan Coleman edi...@d3photography.com
Cc: Grant Walter grantwalt...@gmail.com, freebsd-questions@freebsd.org
Subject: Distributions are missing from home burnt CD
Date: Mon, Aug 1, 2011 8:22 pm


On Mon, Aug 1, 2011 at 11:17 PM, Ryan Coleman edi...@d3photography.com wrote:
 Is portsnap installed? I was going with the effed up installer route. :)

 This works - I tried it when I wrote up the directions.

I assume that if the machine boots into the OS, that base is installed
and portsnap is in base.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Distributions are missing from home burnt CD

2011-08-01 Thread Grant Walter
Hi guys,

I burned a CD of the LiveFS image and my installation failed. I then tried 
installing from the Disk 1 image and the install succeeded. 

My problem is that there are no Ditstributions on the disk. I don't even have 
bash now. :(
I have searched all over but cannot find a file that contains the distributions.

Thanks for the help!!!

-Grant___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Apache 2.2 + PHP5 + SuExec + (fast-cgi or mod_fcgid)

2011-06-29 Thread Grant Peel

Should I be using suPHP then instead of the formentioned suexec/mod_fcgid ?

-Grant

-Original Message- 
From: Damien Fleuriot

Sent: Wednesday, June 29, 2011 4:25 AM
To: freebsd-questions@freebsd.org
Subject: Re: Apache 2.2 + PHP5 + SuExec + (fast-cgi or mod_fcgid)

*fast* cgi , which as the name implies, is erm, fast ;)

See, only apache has PHP as a module.

Other web servers such as nginx or lighttpd use a fastcgi process.

This has several advantages:

- you'll no longer see apache exit with (quote) a signal 11, core
dumped because of lousy php code / errors.
- you can use different php config files for different vhosts
- php fcgi is faster
- you can use process accounting to check the processing time consumed
individually by your web server , and your PHP processes
- you will slightly reduce the size of your apache processes, since
they'll no longer load mod_php



On 6/29/11 8:31 AM, Van Der Meulen, Mark wrote:

I am under the impression that suPHP is the better/more secure way of
running PHP with Apache. In addition you don't need suEXEC to do so. Am
I incorrect in these assumptions? What are the benefits of running PHP
as a CGI(if you don't mind me asking) ?

Mark

-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Grant Peel
Sent: Wednesday, 29 June 2011 2:13 PM
To: freebsd-questions@freebsd.org
Subject: Apache 2.2 + PHP5 + SuExec + (fast-cgi or mod_fcgid)

Hello Everyone,

I am researching how to run PHP as CGI with Apache's Suexec module. Up
to
this point we have been using PHP as an Apache mod, but are looking to
move
to the more secure solution.

I am not sure this is exactly the right list top post to so if anyone
knows
a better one please let me know :-)

I am using FreeBSD (8) as the OS, Apache 2.2, PHP5 with several
extensions
installed.

What I am looking for is to have PHP run as a CGI wrapped with suexec,
and
to have the fastcgi module, or, mod_fcgid. I have never set this up
before
so if anyone knows of a usefull 'how-to' that would be great. I have
been
reading through
http://www.cyberciti.biz/faq/freebsd-apache22-fastcgi-php-configuration/
and
it seems to have some good hints.

Of course, once we get this all figured out, I will post a complete step
by
set here.

TIA,

-Grant

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org
***
Travelex - www.travelex.com

Travelex Outsourcing Pty Limited [Currency Select businesss] is a limited 
company registered in Australia with company number: 127 747 586.


Information in this email including any attachment ('email') is 
confidential,

may be privileged and is intended solely for the addressee. Unauthorised
recipients are requested to preserve the confidentiality of this email, 
advise
the sender immediately of any error in transmission, and then delete the 
email
from the recipient's mailbox without making copies. Any disclosure, 
copying,

distribution or action taken, or omitted to be taken, in reliance upon the
contents of this email by unauthorised recipients is prohibited and may be
unlawful.

Please note that no contracts or commitments may be concluded on behalf of 
Travelex Outsourcing Pty Limited [Currency Select businesss] or its groups 
of companies ('Travelex') by means of email, and no statement or 
representation made in this email is binding on

behalf of Travelex.

DISCLAIMER: Whilst this message has been scanned for viruses, Travelex
disclaims any responsibility or liability for viruses contained therein. 
It is

therefore recommended that all emails should be scanned for viruses.
***

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Apache 2.2 + PHP5 + SuExec + (fast-cgi or mod_fcgid)

2011-06-28 Thread Grant Peel

Hello Everyone,

I am researching how to run PHP as CGI with Apache's Suexec module. Up to
this point we have been using PHP as an Apache mod, but are looking to move
to the more secure solution.

I am not sure this is exactly the right list top post to so if anyone knows
a better one please let me know :-)

I am using FreeBSD (8) as the OS, Apache 2.2, PHP5 with several extensions
installed.

What I am looking for is to have PHP run as a CGI wrapped with suexec, and
to have the fastcgi module, or, mod_fcgid. I have never set this up before
so if anyone knows of a usefull 'how-to' that would be great. I have been
reading through
http://www.cyberciti.biz/faq/freebsd-apache22-fastcgi-php-configuration/ and
it seems to have some good hints.

Of course, once we get this all figured out, I will post a complete step by
set here.

TIA,

-Grant 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Logrotate

2011-01-23 Thread Grant Peel

Hi all,

Not sure if there is a better list to ask this, so here goes.

I use logrotate to rotate the apache log files within each domains log 
directory. They are in the home directory as such:


/home/domain1.com/logs/access_log
/home/domain2.com/logs/access_log
/home/domain3.com/logs/access_log
...

In the home directory, I also have symlinks that point to specific domain 
directories, example


cd /home

domain1.ca - domain1.com
domain1.net - domain1.com
domain1.org - domain1.com
someothername.com - domain1.com
...

All this have beein said, when I use logrotate, it rotates the logs within 
the directories that have sym links pointing to them over and over again. In 
the case of domain1.com, the log would be rotated 5 times.


I am using a logrotate.conf container that looks like so:

# more logrotate.conf
...
/home/*/logs/access_log {
   missingok
   rotate 14
   daily
   create 644 root
   }
...

So, obviously because I am using a wildcard within the container logrotate 
is going through the symlinks and rotating the logs over and over.


Is there a way or method to ignore the symlinks (or a workaround) that 
anyone knows of, other than making a logrotate.conf container for each 
individal directory.


Thanks all,

-Grant 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Updating.

2010-12-26 Thread Grant Peel
Hi all,

Up to this point I have always updated (within a branch), by dropping to single 
user mode for everything.

After running cvsup to obtain the new source, is it generally considered OK to 
run the maike buildworld in multiuser mode, or, are the dangers to doing this?

Of course, after that step, one would drop to single user mode to buildkernel, 
installkernel, and installworld.

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Updating 1 single port.

2010-12-10 Thread Grant Peel
Hi all,

I suspect I have an issue with Proftpd and need to update it quickly. At 
Christmas break we will be apdating all ports and src, but for now, I would 
like to get the latest version of Proftpd up.

What is the best / quickest method of getting 1 single port updated? (Proftpd 
1.3.3c)

-G
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Runaway ProFTP?

2010-12-10 Thread Grant Peel
- Original Message - 
From: Jerry Bell je...@nrdx.com

To: freebsd-questions@freebsd.org
Sent: Friday, December 10, 2010 4:47 PM
Subject: Re: Runaway ProFTP?


I have been having this happen a few times per week for the past few weeks. 
I believe it is caused by someone attacking proftpd.  I noticed today that 
there is an updated version - 1.3.3c that fixes a vulnerability that they 
may have been trying to exploit.


When I looked at the process list, I would see around 20 proftpd's, each 
with a high amount of CPU used, and connected to a specific IP.  I'd 
firewall off those IPs and kill off proftpd/restart.  Knock on wood, I 
have not had that happen since upgrading to 1.3.3c, but that may just be 
because no one has tried again yet.


Jerry
On 12/10/2010 4:39 PM, Ryan Coleman wrote:

Does anyone have any ideas?

On Dec 9, 2010, at 3:12 PM, Ryan Coleman wrote:


Dear list,

Has anyone else had experience with ProFTP 1.3.3a running away with 
processes? I installed it about 2 months ago with a new server build and 
over the course of the last three weeks I've had to forcibly kill, wait 
and restart the service every one-to-three days and sucking up between 
20% and 80% of my system resources.


I've attempted to change the logging in hopes to track down what is 
causing the problems but I have not been successful. Additionally it 
won't connect after a restart through Filezilla but using Terminal on my 
MBP it will connect in the CLI.


It's not the end of the world (for me) but it is for my staff when they 
have to upload large numbers of photos.


Thanks,
Ryan

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org




Indeed, this Proftpd 1.3.3a vulnerability is exactly what my post on 
upgrading a single port is all about. I can say for a fact that the botnets 
are trying to use the vulnerability and that you are quite correct that the 
CPU /  ZOMBIE processes are exploit related.


I just upgraded today and so far so good.

\FYI for anyone that is following my thread on updating one single port: I 
must have a somwhat busted installation. Using port upgrade failed ... sorry 
I did not remember to keep the output, but, I was able to download the 
source from proftpd.org and install it from scratch.


-Grant 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Console Messages

2010-11-29 Thread Grant Peel
Original Message- 
From: per...@pluto.rain.com

Sent: Sunday, November 28, 2010 10:03 PM
To: gp...@thenetnow.com
Cc: freebsd-questions-lo...@be-well.ilk.org ; freebsd-questions@freebsd.org
Subject: Re: Console Messages

Grant Peel gp...@thenetnow.com wrote:


 ...  You may need to go -hackers for this...

What is -hackers? ... ?


Yep.  I've observed a tendency not to put full listn...@domain
addresses in messages, perhaps in an attempt to avoid harvesting
by spammers :(
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Indeed, I have have tendencies in the past to accidentally hit the reply all 
instead of the reply button  will pay more attention in the future. 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Web mail for not local domains.

2010-11-28 Thread Grant Peel

Openwebmail 1.53

-Grant

-Original Message- 
From: Jim Pazarena

Sent: Sunday, November 28, 2010 2:42 PM
To: freebsd-questions@freebsd.org
Subject: Re: Web mail for not local domains.

On 2010-11-28 9:36 AM, Jorge Biquez wrote:

Hello all.

I was wondering if you can suggest the best application you consider for 
the following.


roundcube
--
Jim Pazarena fqu...@paz.bz
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Console Messages

2010-11-28 Thread Grant Peel


-Original Message- 
From: Lowell Gilbert

Sent: Sunday, November 28, 2010 10:23 AM
To: Grant Peel
Cc: freebsd-questions@freebsd.org
Subject: Re: Console Messages

Grant Peel gp...@thenetnow.com writes:


I am using FreeBSD 8.0 and am getting lots of these:

negative sbsize for uid = 0
+negative sbsize for uid = 0
+negative sbsize for uid = 0
+negative sbsize for uid = 0
+negative sbsize for uid = 0

any ideas what it means or how to cure it?


Hmm.  Interesting.  You may need to go -hackers for this...

Apparently a socket buffer is claiming to use a negative amount of
space.  Offhand I'd guess that it wrapped around, but there seem to be
checks in place to avoid that.  It's something running as root, which
should help you track it down (most network daemons should be run as
other users anyway).

Glibert,

What is -hackers? freebsd-hack...@freebsd.org?

Thanks for the reply :-)

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Console Messages

2010-11-27 Thread Grant Peel
Hi all,

I am using FreeBSD 8.0 and am getting lots of these:

negative sbsize for uid = 0
+negative sbsize for uid = 0
+negative sbsize for uid = 0
+negative sbsize for uid = 0
+negative sbsize for uid = 0

any ideas what it means or how to cure it?

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


IPFW at startup.

2010-11-14 Thread Grant Peel

Hi all,

I seem to have one server that does not flush the /etc/rc.firewall rules 
when the script taken from firewall_type  starts up. That is to say when I 
boot the machine, 3 rules seem to be still in the list when I do an ipfw -a 
list. Those three rules appear to be from the /etc.rc.firewall script. The 
rules from my /etc/ipfw.rules file DO get loaded.


Here are the three rules (100, 200, and 300), from /etc/rc.firewall.

setup_loopback () {
   
   # Only in rare cases do you want to change these rules
   #
   ${fwcmd} add 100 pass all from any to any via lo0
   ${fwcmd} add 200 deny all from any to 127.0.0.0/8
   ${fwcmd} add 300 deny ip from 127.0.0.0/8 to any

Here is my /etc/rc,conf setup:

firewall_enable=YES
firewall_logging=YES
firewall_type=/etc/ipfw.rules

Here is my /etc/ipfw.rules:

enterprise# more /etc/ipfw.rules
# Loopback
add 1 allow ip from any to any via lo0
# Office and Home
add 00200 allow ip from xxx xxx xxx xxx xxx to any
add 00201 allow ip from any to xxx xxx xxx xxx
add 00202 allow all from xxx xxx xxx xxx to any
add 00203 allow all from any to xxx xxx xxx xxx
# Allow fxp0 out
add 00204 allow all from any to any out
# Allow local net
add 02000 allow ip from any to any via fxp1
# email
add 04000 allow all from xxx xxx xxx xxx to any
add 04010 allow all from any to xxx xxx xxx xxx
add 04020 allow all from xxx xxx xxx xxx to any
add 04030 allow all from any to xxx xxx xxx xxx
add 04040 allow tcp from any to any 25,587
add 04050 allow tcp from any 25,587 to any
# Bruteblock
add 08000 deny ip from table(1) to me
add 08001 deny ip from me to table(1)
add 09050 allow udp from any to any 53 in
# Email Test
add 09100 allow icmp from any to any icmptypes 
0,3,4,5,8,9,10,11,12,13,14,15,16,17,18

add 65535 deny ip from any to any

Oddly enough, I have several machies that are setup identicly and this is 
the only one that has stikky rules from /etc/rc.firewall.


Any one have any idea what knob might have been turned that causes the 
sticky startup rules?


-Grant 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD - POP3 timeouts

2010-11-05 Thread Grant Peel

Please see below.

- Original Message - 
From: Odhiambo Washington odhia...@gmail.com

To: Grant Peel gp...@thenetnow.com
Cc: freebsd-questions@freebsd.org
Sent: Thursday, November 04, 2010 2:12 AM
Subject: Re: FreeBSD - POP3 timeouts



On Wed, Nov 3, 2010 at 11:36 PM, Grant Peel gp...@thenetnow.com wrote:


Hello all,

I have serveral servers setup with FreeBSD 8.0.

Each of these servers are running vm-pop3d, which has worked well for 
many

years now.

Since installing FreeBSD 8.0, the number of timeouts on port 110 have
skyrocketed on all the servers.



What do es since installing FreeBSD 8.0 mean here? Why did you install
FreeBSD 8.0?? What were you running before?


It means I have been running the same configuration for many years without 
seeing the issue, and am currently using the same setup with a fresh install 
of Freebsd 8.0 The same setup ran fine for years on FreeBSD 4.4, 4.10, 
5.2.1, 6.1, 6.3, 7.0/







Some clients connecting (checking thier email) 200 times a day, may be
seeing as many as 50 timeouts.

Is there any tuning somewhere I have missed?




You must also show us the server logs showing the timeouts. Please enable
debug logging on vm-pop3d if possible.


Here is a sample from /var/log/maillog. It wont say much, other than the 
user session timed out:


Nov  5 16:16:50 pegasus vm-pop3d[22070]: Connect from 24.114.xxx.xxx
Nov  5 16:16:50 pegasus vm-pop3d[22070]: uid 0, gid 6
Nov  5 16:16:51 pegasus vm-pop3d[22070]: cmd: USER i...@somedomain.ca
Nov  5 16:16:51 pegasus vm-pop3d[22070]: uid 65534, gid 6
Nov  5 16:16:51 pegasus vm-pop3d[22070]: User 'info' of 'somedomain.ca' 
logged in

Nov  5 16:16:51 pegasus vm-pop3d[22070]: cmd: STAT
Nov  5 16:21:57 pegasus vm-pop3d[22070]: Session timed out for user: info



I hope you do realize that in this forum, we mostly handle questions about
FreeBSD and not those related to the daily running of apps (like 
vm-pop3d).

so you'll bear with us since some of us run other pop3/imap4 servers
different than vm-pop3d.


I have been using these forums for many years now, and I do understand that 
this is for FreeBSD and not ports like vm-pop3d. I posted it here thinking 
there may be some strange Ethernet driver issue, or sysctl setting the I 
might not be aware of, or possibly some problem with inetd that may have 
popped up in FreeBSD 8.0.


FWIW here is the process for inetd\:
80070  ??  Ss 0:07.36 /usr/sbin/inetd -wW -C 60

and here is the config line from inetd.conf:
pop3 stream tcp nowait root /usr/libexec/tcpd 
/usr/local/sbin/vm-pop3d -D9 -t300


There are lots of Virtual Pop3d accounts spread over many domains on the 
servers, and I have a number of them myself. I have not seen this issue with 
any of the accounts I use, ever. I do not beleive thier is a firewall issue 
here.


Just for investigations, I am going to switch form inetd to daemon mode

-Grant





--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD - POP3 timeouts

2010-11-03 Thread Grant Peel

Hello all,

I have serveral servers setup with FreeBSD 8.0.

Each of these servers are running vm-pop3d, which has worked well for many 
years now.


Since installing FreeBSD 8.0, the number of timeouts on port 110 have 
skyrocketed on all the servers.


Some clients connecting (checking thier email) 200 times a day, may be 
seeing as many as 50 timeouts.


Is there any tuning somewhere I have missed?

Each server has about 200 domains on it, and each domain has an average of 5 
pop accounts.


-Grant 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ipfw

2010-08-26 Thread Grant Peel

Hi all,

I am running FreeBSD 8, and am assuming I am using ipfw2

How does one find the current version of IPFW being used?

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


IPFW and ipa

2010-08-26 Thread Grant Peel

Hi all,

Since FreeBSD 4.4, I have been using ipa(1.3.6) to do bandwidth accounting.

Since upgrading to FreeBSD 8, I now get log messages saying that the ipfw 
rules do not exist:


Example (one example of hundreds doing the same thing):

Aug 26 07:32:59 constellation ipa[2940]: rule rulename.ipa: 10017.0 doesn't 
exist in IPFW kernel table
Aug 26 07:32:59 constellation ipa[2940]: rule rulename.ipa: 10017.1 doesn't 
exist in IPFW kernel table


The ipfw rule does exist:

#ipfw -a list
10017   4826   4903117 count ip from nnn.nnn.nnn.nnn to any via bge0
10017   4233655962 count ip from any to nnn.nnn.nnn.nnn via bge0

The /usr/local/etc/ipa.conf rule looks like so:

rule rulename.ipa {
ipfw = 10017 10017.1
info = rulename bandwidth
}

The ipa database is empty:

constellation# ipastat -r rulename.ipa
+-+---+-+-+
| Rule| Info  | From| To 
|

+-+---+-+-+
| rulename.ipa| rulename bandwidth| 2010.08.01/00:00:00 | 
2010.08.31/24:00:00 |

+-+---+-+-+

++---++
| Date   | Bytes | Mbytes |
++---++
| 2010.08.01 | 0 |  0 |
| 2010.08.02 | 0 |  0 |
| 2010.08.03 | 0 |  0 |
| 2010.08.04 | 0 |  0 |
| 2010.08.05 | 0 |  0 |
| 2010.08.06 | 0 |  0 |
| 2010.08.07 | 0 |  0 |
| 2010.08.08 | 0 |  0 |
| 2010.08.09 | 0 |  0 |
| 2010.08.10 | 0 |  0 |
| 2010.08.11 | 0 |  0 |
| 2010.08.12 | 0 |  0 |
| 2010.08.13 | 0 |  0 |
| 2010.08.14 | 0 |  0 |
| 2010.08.15 | 0 |  0 |
| 2010.08.16 | 0 |  0 |
| 2010.08.17 | 0 |  0 |
| 2010.08.18 | 0 |  0 |
| 2010.08.19 | 0 |  0 |
| 2010.08.20 | 0 |  0 |
| 2010.08.21 | 0 |  0 |
| 2010.08.22 | 0 |  0 |
| 2010.08.23 | 0 |  0 |
| 2010.08.24 | 0 |  0 |
| 2010.08.25 | 0 |  0 |
| 2010.08.26 | 0 |  0 |
++---++
|| 0 |  0 |
++---++
* 26 days *


Has something changed in ipfw that no longer allows the .0 and .1 part? Does 
anyone know of a fix or workaround?


-Grant 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Why am I getting mail rejects?

2010-07-29 Thread Grant Peel
- Original Message - 
From: Greg Larkin glar...@freebsd.org

To: Grant Peel gp...@thenetnow.com
Cc: freebsd-questions@freebsd.org
Sent: Thursday, July 29, 2010 11:53 AM
Subject: Re: Why am I getting mail rejects?



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Grant Peel wrote:

- Original Message - From: Greg Larkin glar...@freebsd.org
To: Grant Peel gp...@thenetnow.com
Cc: freebsd-questions@freebsd.org
Sent: Tuesday, July 27, 2010 8:40 PM
Subject: Re: Why am I getting mail rejects?


Grant Peel wrote:

Hi everyone,

I asked this a few days ago, and did not get a response.

I have this in my /etc/periodic.conf:

constellation# more periodic.conf
# 460.status-mail-rejects
daily_status_mail_rejects_enable=NO  # Check mail
rejects
daily_status_mail_rejects_logs=0# How many 
logs

to check
daily_status_mail_rejects_shorten=NO  # Shorten 
output


And have chnaged this in my /etc/defaults/periodic.conf:

# 460.status-mail-rejects
daily_status_mail_rejects_enable=NO   # Check mail
rejects
daily_status_mail_rejects_logs=3# How many
logs to
check
daily_status_mail_rejects_shorten=NO  # Shorten 
output


And am still getting all the reject mail data showing in my daily
periodic
output.

I am using FreeBSD 8.0 p#3
The mta is Exim 4.69_4 built from ports.

What am I doing incorrectly? Why am I still getting all the mail
reject log
lines in my daily periodic output?

-Grant


Hi Grant,

Please capture the output of the following command and post it somewhere
for viewing.  This will display all of the shell commands executed by
the periodic script, and it may help someone here troubleshoot the
problem.

sh -x /etc/periodic/daily/460.status-mail-rejects

Regards,
Greg



Greg, Here is the output you suggested. (I have a /etc/periodic.conf,
but not /etc/periodic.conf.local).


[...]

Hi Grant,

I presume that you saw the response from Daniel Bye
(http://forum.nginx.org/read.php?23,113669,113860#msg-113860)?  Since
you have exim installed, it has its own version of the script, and you
have to set its variables in /etc/rc.conf instead (defaults here):

exim_status_mail_rejects_enable=YES
exim_status_mail_rejects_logs=2
exim_rejectlog=/var/log/exim/rejectlog

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMUaP30sRouByUApARAtPzAKC9xgpt2QDf7t9zPRhR/FBAaTaTzACffVPV
E6b3qwqgqa2xwAGh0n2lmHg=
=GEz6
-END PGP SIGNATURE-





I missed roberts reply, sorry, burried in my inbox. I have added the line 
and am sure it will work.


Thanks all!

-Grant 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Why am I getting mail rejects?

2010-07-28 Thread Grant Peel
- Original Message - 
From: Greg Larkin glar...@freebsd.org

To: Grant Peel gp...@thenetnow.com
Cc: freebsd-questions@freebsd.org
Sent: Tuesday, July 27, 2010 8:40 PM
Subject: Re: Why am I getting mail rejects?



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Grant Peel wrote:

Hi everyone,

I asked this a few days ago, and did not get a response.

I have this in my /etc/periodic.conf:

constellation# more periodic.conf
# 460.status-mail-rejects
daily_status_mail_rejects_enable=NO  # Check mail 
rejects

daily_status_mail_rejects_logs=0# How many logs
to check
daily_status_mail_rejects_shorten=NO  # Shorten output

And have chnaged this in my /etc/defaults/periodic.conf:

# 460.status-mail-rejects
daily_status_mail_rejects_enable=NO   # Check mail
rejects
daily_status_mail_rejects_logs=3# How many logs 
to

check
daily_status_mail_rejects_shorten=NO  # Shorten output

And am still getting all the reject mail data showing in my daily 
periodic

output.

I am using FreeBSD 8.0 p#3
The mta is Exim 4.69_4 built from ports.

What am I doing incorrectly? Why am I still getting all the mail reject 
log

lines in my daily periodic output?

-Grant


Hi Grant,

Please capture the output of the following command and post it somewhere
for viewing.  This will display all of the shell commands executed by
the periodic script, and it may help someone here troubleshoot the 
problem.


sh -x /etc/periodic/daily/460.status-mail-rejects

Regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMT3xy0sRouByUApARAq35AJ9Jscb9hHedbTiu3MXimj3UIiS3uQCcCOmB
xxU/f3r6jvqwZ51ji/jo4k0=
=qwGv
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org





Greg, Here is the output you suggested. (I have a /etc/periodic.conf, but 
not /etc/periodic.conf.local).


constellation# sh -x /etc/periodic/daily/460.status-mail-rejects
+ [ -r /etc/defaults/periodic.conf ]
+ . /etc/defaults/periodic.conf
+ periodic_conf_files='/etc/periodic.conf /etc/periodic.conf.local'
+ local_periodic=/usr/local/etc/periodic
+ daily_output=root
+ daily_show_success=YES
+ daily_show_info=YES
+ daily_show_badconfig=NO
+ daily_clean_disks_enable=NO
+ daily_clean_disks_files='[#,]* .#* a.out *.core *.CKP .emacs_[0-9]*'
+ daily_clean_disks_days=3
+ daily_clean_disks_verbose=YES
+ daily_clean_tmps_enable=NO
+ daily_clean_tmps_dirs=/tmp
+ daily_clean_tmps_days=3
+ daily_clean_tmps_ignore='.X*-lock .X11-unix .ICE-unix .font-unix 
.XIM-unix'
+ daily_clean_tmps_ignore='.X*-lock .X11-unix .ICE-unix .font-unix .XIM-unix 
quota.user quota.group'

+ daily_clean_tmps_verbose=YES
+ daily_clean_preserve_enable=YES
+ daily_clean_preserve_days=7
+ daily_clean_preserve_verbose=YES
+ daily_clean_msgs_enable=YES
+ daily_clean_msgs_days=''
+ daily_clean_rwho_enable=YES
+ daily_clean_rwho_days=7
+ daily_clean_rwho_verbose=YES
+ daily_clean_hoststat_enable=YES
+ daily_backup_passwd_enable=YES
+ daily_backup_aliases_enable=YES
+ daily_calendar_enable=NO
+ daily_accounting_enable=YES
+ daily_accounting_compress=NO
+ daily_accounting_flags=-q
+ daily_accounting_save=3
+ daily_news_expire_enable=YES
+ daily_status_disks_enable=YES
+ daily_status_disks_df_flags='-l -h'
+ daily_status_zfs_enable=NO
+ daily_status_ata_raid_enable=NO
+ daily_status_gmirror_enable=NO
+ daily_status_graid3_enable=NO
+ daily_status_gstripe_enable=NO
+ daily_status_gconcat_enable=NO
+ daily_status_network_enable=YES
+ daily_status_network_usedns=YES
+ daily_status_rwho_enable=YES
+ daily_status_mailq_enable=YES
+ daily_status_mailq_shorten=NO
+ daily_status_include_submit_mailq=YES
+ daily_status_security_enable=YES
+ daily_status_mail_rejects_enable=NO
+ daily_status_mail_rejects_logs=3
+ daily_status_mail_rejects_shorten=NO
+ daily_status_named_enable=YES
+ daily_status_named_usedns=YES
+ daily_status_ntpd_enable=NO
+ daily_queuerun_enable=YES
+ daily_submit_queuerun=YES
+ daily_local=/etc/daily.local
+ daily_status_security_inline=NO
+ daily_status_security_output=root
+ daily_status_security_noamd=NO
+ daily_status_security_logdir=/var/log
+ daily_status_security_diff_flags='-b -u'
+ daily_status_security_chksetuid_enable=YES
+ daily_status_security_chkmounts_enable=YES
+ daily_status_security_chkuid0_enable=YES
+ daily_status_security_passwdless_enable=YES
+ daily_status_security_logincheck_enable=YES
+ daily_status_security_ipfwdenied_enable=YES
+ daily_status_security_ipfdenied_enable=YES

Daily Periodic

2010-07-27 Thread Grant Peel

Hi everyone,

I asked this a few days ago, and did not get a response.

I have this in my /etc/periodic.conf:

constellation# more periodic.conf
# 460.status-mail-rejects
daily_status_mail_rejects_enable=NO  # Check mail rejects
daily_status_mail_rejects_logs=0# How many logs to 
check

daily_status_mail_rejects_shorten=NO  # Shorten output

And have chnaged this in my /etc/defaults/periodic.conf:

# 460.status-mail-rejects
daily_status_mail_rejects_enable=NO   # Check mail rejects
daily_status_mail_rejects_logs=3# How many logs to 
check

daily_status_mail_rejects_shorten=NO  # Shorten output

And am still getting all the reject mail data showing in my daily periodic 
output.


I am using FreeBSD 8.0 p#3
The mta is Exim 4.69_4 built from ports.

What am I doing incorrectly? Why am I still getting all the mail reject log 
lines in my daily periodic output?


-Grant 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Why am I getting mail rejects?

2010-07-27 Thread Grant Peel

Hi everyone,

I asked this a few days ago, and did not get a response.

I have this in my /etc/periodic.conf:

constellation# more periodic.conf
# 460.status-mail-rejects
daily_status_mail_rejects_enable=NO  # Check mail rejects
daily_status_mail_rejects_logs=0# How many logs to 
check

daily_status_mail_rejects_shorten=NO  # Shorten output

And have chnaged this in my /etc/defaults/periodic.conf:

# 460.status-mail-rejects
daily_status_mail_rejects_enable=NO   # Check mail 
rejects

daily_status_mail_rejects_logs=3# How many logs to
check
daily_status_mail_rejects_shorten=NO  # Shorten output

And am still getting all the reject mail data showing in my daily periodic
output.

I am using FreeBSD 8.0 p#3
The mta is Exim 4.69_4 built from ports.

What am I doing incorrectly? Why am I still getting all the mail reject log
lines in my daily periodic output?

-Grant


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8.1 is available

2010-07-24 Thread Daniel Grant

On 24/07/2010 16:05, Chris Whitehouse wrote:

Aiza wrote:

Since the release team never makes a announcement on this list when a
new RELEASE is published. I will let you all know that

RELEASE 8.1 has been published and is available for download.


Has it been announced anywhere? Downloads have been available for some
days. Generally advice from those who know is not to assume it's
available until the announcement because changes could still be made.

Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org



It was anounced 16 hours ago on freebsd-annou...@freebsd.org

http://lists.freebsd.org/pipermail/freebsd-announce/2010-July/001338.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


periodic sending mail rejects.

2010-07-23 Thread Grant Peel

Hi all,

I have added this to /etc/periodic.conf:

daily_status_mail_rejects_enable=NO
daily_status_mail_rejects_logs=0 
daily_status_mail_rejects_shorten=NO


and changed /etc/defaults/periodic.conf to:

daily_status_mail_rejects_enable=NO
daily_status_mail_rejects_logs=3 
daily_status_mail_rejects_shorten=NO


any yet, I am still getting all email rejects in my daily periodic emails?

Is there anything else I can do?

-Grant

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Dell SAS5/IR

2010-07-14 Thread Grant Peel

Hi all,

I was attempiting to restage a server last night to no avail. It is a 
Dell

860 with a LSI SAS (Dell SAS5/SI) controller.

This was happening when I was dumping the filesystems from a USB memory
stick (da1s1) to the hard drive (Seagate 76 GIG SAS - da0s1).

Can anyone tell me if they have seen this before? or if it is a Hard disk
problem, or a problem with the SAS controller, or is it a FreeBSD 
problem?


I ahve donwloaded the latest SAS firmware and installed it, ran the Dell 
32
Bit diags,  ran the drive diagnostics, etc etc and everything passes with 
no

errors.

I simply cant install dumps, or install a fresh copy of freebsd.

I have snapshots of what the console iis showing, but in a nutshell:

(da0:mpt:0:0:0:0): Synchonize cahce failed, status =0x4a, scsi status = 
0x0

(da0:mpt:0:0:0:0): removing device entry
Device /da0s1e went missing before all of the data could be written to 
it,

expect data loss

I have snapshots if anyone wants me to send them off list.

Any possible resalutions ?



The way I read your problem is that you are dumping a slice with 
partitions

to another slice correct?

I don't think that works, dump(1) works on the filesystem level, so a
partition by partition dump and restore is needed.

--
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org





Adam,

Sorry I should have been clearer in my original post.

I had made dumps from one machine from each individual file system

/(dev/da0s1a)
/var(dev/da0s1d)
/usr(/dev/da0s1e)
/home(/dev/da0s1f)

Then, on a different machine, was dumping them using the LIVE FS CD boot 
disk, to it's primary drive that was pre fdisk'd and the filesystems 
created.


The root, var filesystem restored fine, but, as I said, the usr filesystem 
keep crapping out with the errors mentioned.


I even get the same error when trying to actually install freebsd from CD, 
from scratch.


Yesterday, I ran every diagnostic available to the system (Dell 32 Bit 
Diags, on board controller diags, etc) and they all passed with no errors.


I have seen some scuttlebutt white googling, about the SAS5/IR buuffer 
problems, but have not seen a resolution yet.


-Grant


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Dell SAS5/IR

2010-07-14 Thread Grant Peel

I have seen some scuttlebutt white googling, about the SAS5/IR buuffer
problems, but have not seen a resolution yet.



I looked some more and it looks like that issue can also be caused by a
faulty drive, maybe even a bad cable.  Have you looked into that?



--
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org





Adam,

As I mentioned, the whole system, drive and all, passed every diagnostic I 
threw at it.


I will be going to the data center later, and was planning on opening it up 
and seeing if we might have a loose connection 


-Grant 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Dell SAS5/IR

2010-07-13 Thread Grant Peel
Hi all,

I was attempiting to restage a server last night to no avail. It is a Dell 860 
with a LSI SAS (Dell SAS5/SI) controller. 

This was happening when I was dumping the filesystems from a USB memory stick 
(da1s1) to the hard drive (Seagate 76 GIG SAS - da0s1).

Can anyone tell me if they have seen this before? or if it is a Hard disk 
problem, or a problem with the SAS controller, or is it a FreeBSD problem?

I ahve donwloaded the latest SAS firmware and installed it, ran the Dell 32 Bit 
diags,  ran the drive diagnostics, etc etc and everything passes with no errors.

I simply cant install dumps, or install a fresh copy of freebsd.

I have snapshots of what the console iis showing, but in a nutshell:

(da0:mpt:0:0:0:0): Synchonize cahce failed, status =0x4a, scsi status = 0x0
(da0:mpt:0:0:0:0): removing device entry
Device /da0s1e went missing before all of the data could be written to it, 
expect data loss

I have snapshots if anyone wants me to send them off list.

Any possible resalutions ?

TIA,

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Ports PHP 4.4.9 - GD Extension

2010-07-08 Thread Grant Peel
Hi all,

I am attempting to insall the GD PHP extension on FreeBSD 8 and am getting this 
at build time. (I need to have a php4 and mysql 4 server for compatability 
reasons).

It appears that the PNG version the port is trying to build has a security 
issue. How can I work arround this (I really need the GD extension).

Any help would be appreciated.

ds9# pwd
/usr/ports/lang/php4-extensions

ds9# make
===  Vulnerability check disabled, database not found
===  License check disabled, port has not defined LICENSE
===  Found saved configuration for php4-extensions-1.0
===  Extracting for php4-extensions-1.0
===  Patching for php4-extensions-1.0
===   php4-extensions-1.0 depends on file: /usr/local/include/php/main/php.h - 
found
===   php4-extensions-1.0 depends on file: /usr/local/lib/php/20020429/gd.so - 
not found
===Verifying install for /usr/local/lib/php/20020429/gd.so in 
/usr/ports/graphics/php4-gd
===  Vulnerability check disabled, database not found
===  License check disabled, port has not defined LICENSE
===  Found saved configuration for php4-gd-4.4.9_4
===  Extracting for php4-gd-4.4.9_4
= MD5 Checksum OK for php-4.4.9.tar.bz2.
= SHA256 Checksum OK for php-4.4.9.tar.bz2.
===  Patching for php4-gd-4.4.9_4
===  Applying FreeBSD patches for php4-gd-4.4.9_4
===   php4-gd-4.4.9_4 depends on file: /usr/local/bin/phpize - found
===   php4-gd-4.4.9_4 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - 
found
===   php4-gd-4.4.9_4 depends on file: /usr/local/bin/autoconf-2.62 - found
===   php4-gd-4.4.9_4 depends on shared library: freetype.9 - found
===   php4-gd-4.4.9_4 depends on shared library: png.6 - not found
===Verifying install for png.6 in /usr/ports/graphics/png
===  png-1.4.1_1 is forbidden: vulnerable to remote buffer overflow.
*** Error code 1

Stop in /usr/ports/graphics/png.
*** Error code 1

Stop in /usr/ports/graphics/php4-gd.
*** Error code 1

Stop in /usr/ports/graphics/php4-gd.
*** Error code 1

Stop in /usr/ports/lang/php4-extensions.
*** Error code 1

Stop in /usr/ports/lang/php4-extensions.
ds9#

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreBSD 8

2010-07-06 Thread Grant Peel

Hi again all,

I have just installed FreeBSD 8 on my NFS server.

The older machines (FreeBSD 6.x) are able to connect to the NFS exports 
fine.


I have also installed FreeBSD 8 to two more machines, 1 is a Dell 1850, and 
the other an R200. Both of these machines had FreeBSD 6.x on them and were 
able to connect to the share with no problem.


The error I am getting is: RPCPROG_NFS: RPC: Program not registered

I have pretty much memorized the handbook with regards to NFS at this point:

On the server, (from the Handbook), all the following are in rc.conf:

rpcbind_enable=YES
nfs_server_enable=YES
mountd_flags=-r

On the Clietn(s), the following line is present:

nfs_client_enable=YES

I have tried:

nfs_reserved_port_only=YES
and
nfs_reserved_port_only=NO

which does not appear to make a difference.

also,

start nfsiod -n 4 on the client, does not seem to start (not showing in the 
process list anyways, and no console output whn I try to start it.


FYI, I can ping, ssh etc etc etc through the same IPS as the nfs 
server/client use (192.168.0.x).


If it makes any difference the Server is uing fxp ethernet, and one client 
is using em and the other bge.


I know there's something simple I am missing, but damned if I can find it. I 
had the same issue trying to connect using the live filesystem a few weeks 
back, so it seems to be something with freebsd 8. (Configuration?).


Any help appreciated,

-Grant


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreBSD 8

2010-07-06 Thread Grant Peel
- Original Message - 
From: Grant Peel gp...@thenetnow.com

To: freebsd-questions@freebsd.org
Sent: Tuesday, July 06, 2010 1:07 PM
Subject: FreBSD 8



Hi again all,

I have just installed FreeBSD 8 on my NFS server.

The older machines (FreeBSD 6.x) are able to connect to the NFS exports 
fine.


I have also installed FreeBSD 8 to two more machines, 1 is a Dell 1850, 
and the other an R200. Both of these machines had FreeBSD 6.x on them and 
were able to connect to the share with no problem.


The error I am getting is: RPCPROG_NFS: RPC: Program not registered

I have pretty much memorized the handbook with regards to NFS at this 
point:


On the server, (from the Handbook), all the following are in rc.conf:

rpcbind_enable=YES
nfs_server_enable=YES
mountd_flags=-r

On the Clietn(s), the following line is present:

nfs_client_enable=YES

I have tried:

nfs_reserved_port_only=YES
and
nfs_reserved_port_only=NO

which does not appear to make a difference.

also,

start nfsiod -n 4 on the client, does not seem to start (not showing in 
the process list anyways, and no console output whn I try to start it.


FYI, I can ping, ssh etc etc etc through the same IPS as the nfs 
server/client use (192.168.0.x).


If it makes any difference the Server is uing fxp ethernet, and one client 
is using em and the other bge.


I know there's something simple I am missing, but damned if I can find it. 
I had the same issue trying to connect using the live filesystem a few 
weeks back, so it seems to be something with freebsd 8. (Configuration?).


Any help appreciated,

-Grant


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org






All,

This is now fixed, FWIW, the problem seems to be that the FreeBSD 8 NFS 
server is only usig UDP when setup as described in the handbook. The FreeBSD 
8 clients were looking for tcp. Hence the error:


[tcp] RPCPROG_NFS: RPC: Program not registered

Once I added:

nfs_server_flags=-t -u -h 192.168.0.4 -n 15

to the nfs server rc.conf, and rebooted it, the clients connected first try.

If I am still missing something, feel free to comment.

-Grant 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 8.0 p#3

2010-06-28 Thread Grant Peel
- Original Message - 
From: Balázs Mátéffy repcs...@gmail.com

To: freebsd-questions@freebsd.org
Sent: Sunday, June 27, 2010 2:42 PM
Subject: Re: FreeBSD 8.0 p#3



Hi,

Maybe portsnap fetch extract ?

Maybe the tag in your supfile was wrong for the ports.

MB.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org





I used the method described above and it got them all back.

Thanks for all the feedback everyone!

-Grant 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Updating

2010-06-27 Thread Grant Peel
Hi all,

What would be the prefered method of upgrading servers from freebsd 6.x to 8.x ?

Fresh install and reload users data, rebuild ports etc?

Upgrade direct from 6.x to 8.x?

Upgrade sequentially from 6.x to 7.x to 8.x?

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Updating

2010-06-27 Thread Grant Peel

Thanks Robert.

This is what I have done in the past, and all went well. Just thought there 
might be some progress in Major version to major version upgrades that I 
have not read about.


I need to reask this question though:

I have a build of 8.0 ready to deploy. Does anyone know of any big issues 
that are addressed in 8.1, making it worth wating for (when its released 
that is)?


-Grant


- Original Message - 
From: Robert Huff roberth...@rcn.com

To: Grant Peel gp...@thenetnow.com
Cc: freebsd-questions@freebsd.org
Sent: Sunday, June 27, 2010 11:02 AM
Subject: Updating




Grant Peel writes:


 What would be the prefered method of upgrading servers from
 freebsd 6.x to 8.x ?

 Fresh install and reload users data, rebuild ports etc?


This.
Safer, expecially if you install to a clean disk.
Possibly less time.
Definitely less hassle (once you get the initial installation
done).



Robert Huff





Thanks Robert.

This is what I have done in the past, and all went well. Just thought there 
might be some progress in Major version to major version upgrades that I 
have not read about.


I need to reask this question though:

I have a build of 8.0 ready to deploy. Does anyone know of any big issues 
that are addressed in 8.1, making it worth wating for (when its released 
that is)?


-Grant 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD 8.0 p#3

2010-06-27 Thread Grant Peel
Hi all,

When I ran CVSUp last time I seemed to have lost all ports accept the newest 
ones. i.e. almost all the port dirs are empty.

What is the best way to get them back?

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


8.1-rc1

2010-06-21 Thread Grant Peel

Hi all,

I am updating all servers this comming July.

Currently, I have a build of FreeBSD 8.0 and am wondering if anyone knows 
any showstoppers in it that should be fixed in 8.1-rc1. i.e shold I wait and 
update the build before deploying?


Apache
vm-pop3d
mysql5
php5
Perl
named
exim
...

-Grant 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


CVSUP

2010-06-10 Thread Grant Peel

Hi all,

Its been a while since I have used CVSup.

I have a server with FreeBSD 8 RELEASE on it. It was built very shortly 
after 8.0 was released.


I want to run CVSup on the source and ports before deploying it

TO make sure that just ports and source are updated, what tag do I use in 
the supfile (to stay with RELEASE only)?


RELENG_8_0?

-Grant



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Live Filesystem (Fixit Console) and NFS FreeBSD8

2010-05-10 Thread Grant Peel
- Original Message - 
From: Grant Peel gp...@thenetnow.com

To: Robert Bonomi bon...@mail.r-bonomi.com
Cc: freebsd-questions@freebsd.org
Sent: Sunday, May 09, 2010 7:39 PM
Subject: Re: Live Filesystem (Fixit Console) and NFS FreeBSD8



Robert,

Maybe I should rephrase the question:

What would the correct procedure be to connect a machine to an NFS share 
on another machine (local network, hardware already connected) with NFS 
using the FreeBSD(8)  Live CD (Fixit Console)?


-Grant

- Original Message - 
From: Robert Bonomi bon...@mail.r-bonomi.com

To: gp...@thenetnow.com
Sent: Sunday, May 09, 2010 6:27 PM
Subject: Re: Live Filesystem (Fixit Console) and NFS FreeBSD8



From owner-freebsd-questi...@freebsd.org  Sun May  9 15:49:35 2010
From: Grant Peel gp...@thenetnow.com
To: freebsd-questions@freebsd.org
Date: Sun, 9 May 2010 16:49:17 -0400
Subject: Live Filesystem (Fixit Console) and NFS FreeBSD8

Hi all,

I had a routine disk change that we required today, thought it would 
take me

2 hours, took close to 8.

I am sure there is something I did'nt read, or do, if anyone can help me
understand I would appreciate it.

I have several machines connected to a NFS share on a local network. 
When I
put the new disk in the machine, booted it up with FreeBSD(8) Live CD, 
went

to the Fixit Console, I was unable to get the machine to connect to the
Netowrk File Share. All other machines were still connected and 
functioning.


I brought up the Clinet interface with:

ifconfig em1 inet 192.168.0.5/24

and was able to ping the NFS server with no problems.

I was also able to SSH to the NFS server no problems.

The NFS server is set to allow all hosts in the 192.168.0.0/24 network.

Here is the command line I was using on the client:

mount 192.168.0.4:/mnt /enterprise

The error I got was:

RPCPROG_NFS: RPC: Program not registered

I tried everything I could think of to get it to work, adding
nfs_client_enable=YES to a rc.conf I created in etc/, tried nfsiod -n 
4

... all that. I tried starting rpcbind etc etc.

Again, any help would be appreciated,


you need the portmapper running
you need 'nfsd'
and you need 'nfsiod'

AND you need NIS (the 'yp*' stuff) running.




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org





All,

The client that had the new disk installed, and the data from the failing 
hard disk copied over, has no problem connecting to the share now.


For the record, the NFS server is running freebsd 5.2.1, and the client was 
using the FreeBSD 8 Live File System - Fixit console.


So the question remains, should I have been able to connect to an NFS share 
on a local network, using the FreeBSD 8 (CD Based) live file system.


If there are certain parameters I should have used, what should they have 
been?


I have searched and searched and I can find nothing that talks about 
connecting to an NFS share from a client using the Live Filesystem.


Again, any tips would be appreciated,

-Grant 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Live Filesystem (Fixit Console) and NFS FreeBSD8

2010-05-09 Thread Grant Peel

Hi all,

I had a routine disk change that we required today, thought it would take me 
2 hours, took close to 8.


I am sure there is something I did'nt read, or do, if anyone can help me 
understand I would appreciate it.


I have several machines connected to a NFS share on a local network. When I 
put the new disk in the machine, booted it up with FreeBSD(8) Live CD, went 
to the Fixit Console, I was unable to get the machine to connect to the 
Netowrk File Share. All other machines were still connected and functioning.


I brought up the Clinet interface with:

   ifconfig em1 inet 192.168.0.5/24

and was able to ping the NFS server with no problems.

I was also able to SSH to the NFS server no problems.

The NFS server is set to allow all hosts in the 192.168.0.0/24 network.

Here is the command line I was using on the client:

   mount 192.168.0.4:/mnt /enterprise

The error I got was:

   RPCPROG_NFS: RPC: Program not registered

I tried everything I could think of to get it to work, adding 
nfs_client_enable=YES to a rc.conf I created in etc/, tried nfsiod -n 4 
... all that. I tried starting rpcbind etc etc.


Again, any help would be appreciated,

-Grant 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Live Filesystem (Fixit Console) and NFS FreeBSD8

2010-05-09 Thread Grant Peel

Robert,

Maybe I should rephrase the question:

What would the correct procedure be to connect a machine to an NFS share on 
another machine (local network, hardware already connected) with NFS using 
the FreeBSD(8)  Live CD (Fixit Console)?


-Grant

- Original Message - 
From: Robert Bonomi bon...@mail.r-bonomi.com

To: gp...@thenetnow.com
Sent: Sunday, May 09, 2010 6:27 PM
Subject: Re: Live Filesystem (Fixit Console) and NFS FreeBSD8



From owner-freebsd-questi...@freebsd.org  Sun May  9 15:49:35 2010
From: Grant Peel gp...@thenetnow.com
To: freebsd-questions@freebsd.org
Date: Sun, 9 May 2010 16:49:17 -0400
Subject: Live Filesystem (Fixit Console) and NFS FreeBSD8

Hi all,

I had a routine disk change that we required today, thought it would take 
me

2 hours, took close to 8.

I am sure there is something I did'nt read, or do, if anyone can help me
understand I would appreciate it.

I have several machines connected to a NFS share on a local network. When 
I
put the new disk in the machine, booted it up with FreeBSD(8) Live CD, 
went

to the Fixit Console, I was unable to get the machine to connect to the
Netowrk File Share. All other machines were still connected and 
functioning.


I brought up the Clinet interface with:

ifconfig em1 inet 192.168.0.5/24

and was able to ping the NFS server with no problems.

I was also able to SSH to the NFS server no problems.

The NFS server is set to allow all hosts in the 192.168.0.0/24 network.

Here is the command line I was using on the client:

mount 192.168.0.4:/mnt /enterprise

The error I got was:

RPCPROG_NFS: RPC: Program not registered

I tried everything I could think of to get it to work, adding
nfs_client_enable=YES to a rc.conf I created in etc/, tried nfsiod -n 4
... all that. I tried starting rpcbind etc etc.

Again, any help would be appreciated,


you need the portmapper running
you need 'nfsd'
and you need 'nfsiod'

AND you need NIS (the 'yp*' stuff) running.




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


NFS Mount FreeBSD 8.0

2010-04-15 Thread Grant Peel

  Hi all,

I have been running a backups storage server for many years on FreeBSD 
5.2.1. It has been and still is working fine. Several 6.x machines are 
connected to it on the local network.


Since installing FreeBSD 8.0 on two machines (they used to run 6.x and 
connected to the nfs mount fine), But with FreeBSD 8, the are no longer 
connecting.


ps ax shows (on the client machiens)

 551  ??  Is 0:00.00 mount_nfs -t 10 -b -o rw enterprise:/mnt /mnt

Obviously backgrounded.

It never connects. df- h confirms this.

I have tested the network thuroughly, i.e. I can connect to the backup 
machine using ssh, ftp etc. named is working fine, hosts file is correct.


-No firewalling issues,
-quadruple checked the network settings,
-Checked all the settings for nfs.
-Have added the patches from Errata (all 7 of them).

I was wondering if there is some new/changed settings for the client that I 
missed in the documentation somewhere.


SERVER SETTINGS:

   rc.conf
   nfs_client_enable=YES
   nfs_server_enable=YES
   nfs_server_flags=-h 192.168.0.4 -n 15
   rpcbind_enable=YES

   /etc/exports
   /mnt -alldirs -mapall root -network 192.168.0.0 -mask 255.255.255.0

CLIENT SETTINGS:

   rc.conf
   nfs_reserved_port_only=YES
   nfs_client_enable=YES

   fstab
   enterprise:/mnt /mntnfs -t=10,-b,rw 0 
0


Any hints would be appreciated.

-Grant

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NFS Mount FreeBSD 8.0

2010-04-15 Thread Grant Peel

Ivan,

I actually just got it to work. Not sure why the default TCP no longer works 
but I added the -U flag to the fstab for the mount and it works.


Anyone know what may bave changed in FreeBSD 8 to cause this?

-Grant

P.S on the server machine the output you were looking for was
/mnt   192.168.0.0


- Original Message - 
From: Ivan Voras ivo...@freebsd.org

To: freebsd-questions@freebsd.org
Sent: Thursday, April 15, 2010 10:19 AM
Subject: Re: NFS Mount FreeBSD 8.0



On 04/15/10 15:35, Grant Peel wrote:

  Hi all,

I have been running a backups storage server for many years on FreeBSD
5.2.1. It has been and still is working fine. Several 6.x machines are
connected to it on the local network.

Since installing FreeBSD 8.0 on two machines (they used to run 6.x and
connected to the nfs mount fine), But with FreeBSD 8, the are no longer
connecting.

ps ax shows (on the client machiens)

551 ?? Is 0:00.00 mount_nfs -t 10 -b -o rw enterprise:/mnt /mnt



Just for an experiment, what does showmount -e nfs_server say on the 
client and the server sides?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Accessing Computer

2010-01-08 Thread Daniel Grant

On 08/01/2010 12:50, Carmel wrote:

Assume three computers.

Computer 1 runs Windows with Putty installed
Computer 2  3 run FreeBSD

Computer 1 runs Putty and creates a key that is installed on computer 2.
Computer 2 has a key that is installed on computer 3.

If someone were to use computer 1 via Putty to access computer 2, would
they then be able to access computer 3? If so, how could I prevent it
from happening?

I am not good at explaining things, so I hope you understand what I am 
referring to.



I would suggest protecting your keys with a passphrase, then the key 
alone is not enough to gain access to the machines.


Simply put - in order for someone to access computer 3 from computer 2, 
would be for computer 3 to have computer 2's public key.  So if computer 
2's private key can be accessed from computer 1, then yes access to 
computer 3 could be granted.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Ion-cube FreeBSD 8

2009-12-30 Thread Grant Peel

Hi all,

I am in the middle of setting up a new FreeBSD 8.0 server, and need to load 
the ioncube loader.


I have been to the ioncube site and they do not have a release for FBSD8 
yet.


I was wondering if anyone on this list has setup FreeBSD 8.0 (Php 5.2, 
Apache 2.2) using a previous version of the loader. If so, which one did you 
use?


-Grnat 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Netwroked Storage

2009-10-02 Thread Grant Peel

Hi all,

I now have a quote from Dell, for a 4 TB, RAID5 NX3000 NAS.

It comes pre configured with Windows Storage Server 2008 Standard Edition. 
Dell support assures me it will be compatable with NFS on FreeBSD, but if we 
are not happy with it we can wipe it and install whatever software we want 
... FreeNAS for example.


Questions:

Has anyone used/using Windows Storage Server 2008 with FreeBSD clients? Is 
there any compatability loss? (NSF).


Is anyone using this specific hardware? If so, comments please!

-Grant

Has anyone used
- Original Message - 
From: Olivier Nicole olivier.nic...@cs.ait.ac.th

To: gp...@thenetnow.com
Cc: amvandem...@gmail.com; freebsd-questions@freebsd.org
Sent: Wednesday, September 30, 2009 9:16 PM
Subject: Re: Netwroked Storage



Hi,


All of the 200 domains on each server have thier own Real Unix user
(obviously). Once the NAS is setup, (using NFS), how do the permissions 
on

the NAS machine play out? i.e. when user 'hisname' logs into a server via
ftp, and uploads a file to his home directory (which is on the NAS), will
the file permissions be the same, and will 'hisname' own the file exactly
the same as if he were writing to the local (server) disk?


That is expected, else something bad would exists in the configuration
of the NAS.


In the NAS
exports do I have to map every user to the NFS or can I just maproot?


Maproot is the easiest as it gives complete access to the NFS exported
directory.

Now you may consider that for security reason, users of client-machine
1 should only be allowed to NFS mount their own home directory.

In that case, you may need the users of client-machine 1 to exist on
client-machine 1 and on the server, etc for machine 2... Actually I
never had this case when a user account only exists on an NFS client
but not on the NFS server, so I am not too sure. I guess that user ID
of the users should be different on every client system.

You may consider an LDAP directory for your users, where the server
would see all the users, but each client-machine would see only the
users belonging to it (I thing that there is an host attributes, so
client-1 only sees the users with host=client-1).

Good luck,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org






___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Out of mbuf address space!

2009-10-02 Thread Grant Peel
Hi all,

I have an older RAID 5 machine running FreeBSD 5.2.1 and am using it as a 
backup storage unit.

Yesterday morning, we noticed the the NFS mounts on the clients to this machine 
we not available, which sent a bunch of cronjobs spinning out of control etc. 
We also became unable to connect via ssh.

Once at the console we noted sevral dozen entries in the messages.log:

Oct  1 08:32:13 enterprise kernel: Out of mbuf address space!
Oct  1 08:32:13 enterprise kernel: Consider increasing NMBCLUSTERS
Oct  1 08:32:13 enterprise kernel: All mbufs or mbuf clusters exhausted, please 
see tuning(7).

After rebooting the machine, and getting the clients under control I started 
investigating tunning(7) in the man pages.

I am confused however.

I have increased the kern.ipc.nmbclusters to 2048 in the /boot/loader.conf, but 
when I checked netstat -m, it appears that there are less buffers available 
then there were when the problem happened.

netstat -m

enterprise# netstat -m
mbuf usage:
GEN cache:  0/64 (in use/in pool)
CPU #0 cache:   145/640 (in use/in pool)
Total:  145/704 (in use/in pool)
Mbuf cache high watermark: 512
Maximum possible: 4096
Allocated mbuf types:
  144 mbufs allocated to data
  1 mbufs allocated to packet headers
17% of mbuf map consumed
mbuf cluster usage:
GEN cache:  0/232 (in use/in pool)
CPU #0 cache:   135/232 (in use/in pool)
Total:  135/464 (in use/in pool)
Cluster cache high watermark: 128
Maximum possible: 2048  
 -- this number was much higher
22% of cluster map consumed
- this number was much lower.
1104 KBytes of wired memory reserved (27% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines

This particular machine has 512 MB of ram.

Any suggestions what an NFS intensive machine with 512 meg ram should have 
kern.ipc.nmbclusters set to?
Are there any otyher tunables I should be looking at.

-Grant

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Netwroked Storage

2009-09-30 Thread Grant Peel
- Original Message - 
From: Adam Vande More amvandem...@gmail.com

To: Grant Peel gp...@thenetnow.com
Cc: freebsd-questions@freebsd.org
Sent: Wednesday, September 30, 2009 9:07 AM
Subject: Re: Netwroked Storage



On Tue, Sep 29, 2009 at 10:39 AM, Grant Peel gp...@thenetnow.com wrote:


Hi all,

For the past few months I have been researching methods to create a 
storage

enclosure, perferably with out spending many 10s of k's of $'s.

The intent here is to connect about 10 Web servers, each of them hosting
about 200 domains, to a central storage system to house users home
directories.

I am still looking for feedback regarding what level of hardware ( how 
much

RAM , cpu bus speed etc) people might be using for a similar setup.

The end idea is to lead FreeBSD on the storage system, create one huge
/home directory, export it via NFS and share that on all the Web 
machines.


It might be worth noting that the Web machines host a full array of
software, i.e. Mail, Web, MySQL, PHP etc.

Does anyone use a similar setup? What kind of I/O bottlenecks are 
created?




Your questions cannot be answer specifically because they do not contain
enough info.  Here is what I chose to do in a similar but smaller enviro.

1.  This a good place for virtualization.  FreeBSD jails are the most
efficient form that I'm aware of including XEN.  Jails have limitations 
XEN

doesn't however.
2.  High load DB's shouldn't be virtualized.
3.  EZjails port helps alot!
4.  Machine specs would depend on system load, you've given no indication
other than apps.
5.  You should preplan backup and failover setup.  Heartbeat, CARP, rdiff,
and other utilities should help here.





Any feedback would be welcome.

-Grant





--
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org





Hi Adam,

Thanks for the reply.

Whatever software flavour I settle on (I am trending towards FreeNAS at this 
point), I will be be running a RAID 5 array with a specific share dedicated 
to backups. Indeed, I already have a robust backup schemem in place. So no 
worries about loosing data per #5 on your list.


Per #4 on your list, I am not sure if you are asking about the NAS machine, 
or the clients. The CLients are all Dell machines (R200's, PE860's and 
PE#750's). They are all Pent 4 and Xenon machines, currently using 100MB 
ethernet. (LAN AND WAN). All of them are connected to my central switch via 
a LAN vlan, and a wan vlan. The ethernet switch is also a dell 48 port 
Managed 100MB switch, with two GB ports. The current Internet traffic is 
about 2 Megabits sustained. The hard drive lights on each server are 
blinking about once per second, a little more solid when FTP activity is 
high. As far as the NAS machine specs go, I have not decided on anything 
yet, and am looking for input on this, any takers?


I have also just came up with another question:

All of the 200 domains on each server have thier own Real Unix user 
(obviously). Once the NAS is setup, (using NFS), how do the permissions on 
the NAS machine play out? i.e. when user 'hisname' logs into a server via 
ftp, and uploads a file to his home directory (which is on the NAS), will 
the file permissions be the same, and will 'hisname' own the file exactly 
the same as if he were writing to the local (server) disk? In the NAS 
exports do I have to map every user to the NFS or can I just maproot?


TIA,

-Grant






___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Netwroked Storage

2009-09-29 Thread Grant Peel
Hi all,

For the past few months I have been researching methods to create a storage 
enclosure, perferably with out spending many 10s of k's of $'s.

The intent here is to connect about 10 Web servers, each of them hosting about 
200 domains, to a central storage system to house users home directories.

I am still looking for feedback regarding what level of hardware ( how much RAM 
, cpu bus speed etc) people might be using for a similar setup.

The end idea is to lead FreeBSD on the storage system, create one huge /home 
directory, export it via NFS and share that on all the Web machines.

It might be worth noting that the Web machines host a full array of software, 
i.e. Mail, Web, MySQL, PHP etc.

Does anyone use a similar setup? What kind of I/O bottlenecks are created?

Any feedback would be welcome.

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Netwroked Storage

2009-09-29 Thread Grant Peel


- Original Message - 
From: Mauro Rezzonico l...@ch23.org

To: freebsd-questions@freebsd.org
Sent: Tuesday, September 29, 2009 9:46 PM
Subject: Re: Netwroked Storage



Grant Peel wrote:
The intent here is to connect about 10 Web servers, each of them hosting 
about 200 domains, to a central storage system to house users home 
directories.
It might be worth noting that the Web machines host a full array of 
software, i.e. Mail, Web, MySQL, PHP etc.


I don't have an answer, bu I have a question, probably a naive one and
even slightly OT..

If the 200 domains are hosting MySQL driven web applications (let's say
200 Wordpress), then perhaps they are connecting to the very same MySQL
instance, so ALL their databases are in the same mysql_dbdir, and
perhaps the dbdir is /var/db/mysql...
So: how do you deal things like that with MySQL driven web applications?
How are you going to deal the mysql_dbdir issue? NFS perhaps is not the
best filesystem for MySQL tables (performance-wise)...
Are you going to 'mysqldump' the databases back in each home dir?
Periodically? And keep the databases on the local disks?

--
Mauro Rezzonico ma...@ch23.org, Como, Italia
Maybe this world is another planet's hell - H.Huxley



All machines are completely autonomous. i.e they each run thier own 
applications and store all data to thier own disks.


-Grant



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Bruteblock

2009-07-23 Thread Grant Peel

Ruben,


From the docs for proftpd:


By default, proftpd will log via syslog(3), using the daemon facility (auth 
for some logging), at various levels: err, notice, warn, info, and debug 
(debugging is done at this syslog level). The location of the server's log 
files in this case is determined by your /etc/syslog.conf configuration. 


If the site administrator wants to have proftpd log its messages to a file 
rather than going through syslogd, the SystemLog configuration directive is 
the one to use. There is only one such file kept for the entire daemon. See 
the ServerLog directive for keeping a similar log on a per-vhost basis. 


The docs go on to say that if the system admin opts to use the SystemLog 
directive, the default (syslog, auth and authprive) will automaticly be 
disabled. Logging to syslog is the default.


CHeers,

-Grant


- Original Message - 
From: Ruben de Groot mai...@bzerk.org

To: Grant Peel gp...@thenetnow.com
Cc: freebsd-questions@freebsd.org
Sent: Thursday, July 23, 2009 3:56 AM
Subject: Re: Bruteblock



On Wed, Jul 22, 2009 at 10:06:35PM -0400, Grant Peel typed:

Hi all,

I am trying to get Bruteblock working on FreeBSD 6.2 and hav e run into a
snag.

It appears that Proftpd is not sending log detail to the auth or authpriv
facility.

I have a simple Proftpd setup, with the SysLog directive completely
removed, and according to the man, it is supposed to be sending to 
authpriv.


Do I get this straight?
You have the syslog directive removed and still expect it to use syslog?
One of us needs coffee ;)


Also, I have the bruteblock syslog.conf setup as per the manual as well.

Proftpd and Bruteblock were both setup from ports.

Has anyone ran into a similar issue? If so, how did you get around it?

-Grant

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org






___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Bruteblock

2009-07-22 Thread Grant Peel

Hi all,

I am trying to get Bruteblock working on FreeBSD 6.2 and hav e run into a 
snag.


It appears that Proftpd is not sending log detail to the auth or authpriv 
facility.


I have a simple Proftpd setup, with the SysLog directive completely removed, 
and according to the man, it is supposed to be sending to authpriv.


Also, I have the bruteblock syslog.conf setup as per the manual as well.

Proftpd and Bruteblock were both setup from ports.

Has anyone ran into a similar issue? If so, how did you get around it?

-Grant 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NFS- SAN - FreeBSD

2009-07-21 Thread Grant Peel

Chris,

Thanks for the insight!

I will defineately investigate that DAS ... although I am not (yet) sure 
what the acronym means, I am sure it is something akin to Direct Access 
SCSI.


You are quite right, I would like to use NFS to connect the device to the 6 
servers I have, again, it would be only hosting the /home partition for each 
of them. Do you know if there would be any NFS I/O slowdowns using it in 
that fassion? Would freebsd support (on the storage device) that many 
connections?


Also, do the Dell DAS machines run with FreeBSD?

Also, from you you explained, I doubt I really need the versatility of the 
SAN at this point, or in the near future. I simply want a mass /home storage 
unit.


-Grant

- Original Message - 
From: Christopher J. Umina chris.um...@studsvikscandpower.com

To: Grant Peel gp...@thenetnow.com
Cc: questi...@freebsd.org
Sent: Tuesday, July 21, 2009 5:43 PM
Subject: Re: NFS- SAN - FreeBSD



Grant,

I mean to say that often times external SCSI solutions (direct attached) 
are cheaper and perform better (in terms of I/O) than iSCSI SANs. 
Especially if you're using many disks.  SANs are generally chosen for the 
ability to be split into LUNs for different servers.  Think of it as a 
disk which you can partition and serve out to servers on a per-partition 
basis, over Ethernet.  That's essentially what an iSCSI SAN does.  While 
DAS systems allow the same sort of configuration, they don't serve out 
over Ethernet, only SCSI/SAS.


Since you plan to use NFS to share the files to the other servers, I think 
it may make more sense for you to use a SCSI solution if yo don't need the 
versatility of a SAN.


Of course I know nothing of how you plan to expand this system, but from 
what I understand, with Dell DAS hardware it is possible to connect up to 
4 different servers to the DAS and expand to up to 6 15 disk enclosures. 
The MD3000i (iSCSI) expands only to 3.


Another issue is that without compiling in special versions of the iSCSI 
initiator, even in 8.0-BETA2 (which is not production-ready), iSCSI 
performance and reliability are terrible.  There are other versions of the 
code (which I currently use) for the iscsi_initiator kernel module, but 
unless you're comfortable doing that, you may consider DAS in terms of 
ease of implementation and maintenance as well.


Chris

Grant Peel wrote:

Chris,

I don't know what a direct attached array is.

What I was just thinking was move all of the servers /home directory to a 
huge NFS mount.


If you have the time to elaborate fursther, I would apprciate it...

This iSCSI think has me entrigued, but I must admit I know little about 
it at this point.


-Grant

- Original Message - From: Christopher J. Umina 
chris.um...@studsvik.com

To: Grant Peel gp...@thenetnow.com
Sent: Monday, July 20, 2009 11:27 PM
Subject: Re: NFS- SAN - FreeBSD



Grant,

I have to ask, is there a reason you're intent on going with a SAN 
versus a direct-attached array?


Chris

Grant Peel wrote:

Thanks for the reply.

I have not used/investigated the iSCSI thing yet

The original question is can I just use an NFS mount to the storage's 
/home partition?


-Grant
  - Original Message -   From: mojo fms To: Grant Peel Cc: 
freebsd-questions@freebsd.org Sent: Monday, July 20, 2009 4:21 PM

  Subject: Re: NFS- SAN - FreeBSD


  You would be better off at least having the SAN on 1gb ethernet or 
even better tripple 1gb (on a 100mb switch should be fine but you need 
failover for higher avaliability) ethernet for latency and failover 
reasons with a hot backup on the network controller.  I dont see why 
you could not do this, its just iscsi connection normally so there is 
not a big issue getting freebsd to connect to it.  We run 2 of the 16tb 
powervault which does pretty well for storage, one runs everything and 
the other is a replicated offsite backup.  Performance wise, it really 
depends on how many servers you have pulling data from the SAN and how 
hard the IO works on the current servers.  If you have 100 servers you 
might push the IO a bit but but it should be fine if your not serving 
more than 2Mb/s out to everyone, the servers and disks are going to 
cache a fair amount of always used data.



  On Mon, Jul 20, 2009 at 11:52 AM, Grant Peel gp...@thenetnow.com 
wrote:


Hi all,

I am assuming by the lack of response, my question to too long 
winded, let me re-phrase:


What kind of performance might I expect if I load FreeBSD 7.2 on a 
24 disk, Dell PowerVault when its only mission is to serve as a local 
area storage unit (/home). Obviously, to store all users /home data. 
Throug an NFS connection via fast (100m/b) ethernet. Each connecting 
server (6) contain about 200 domains?


-Grant

- Original Message - From: Grant Peel 
gp...@thenetnow.com

To: freebsd-questions@freebsd.org
Sent: Saturday, July 18, 2009 10:35 AM
Subject: NFS- SAN - FreeBSD



  Hi all

Re: NFS- SAN - FreeBSD

2009-07-21 Thread Grant Peel

Chris,

Again, thanks for the info.

I only have one server with a PERC (raid) card installed, and I beleive it 
is an older PERC 3 DCI, and doubt it would do the job. I would not be able 
to add more PERC cards to the other machines.


I am looking to have the connections all done via Ethernet. Again, the 
connections would be local (device to my switch, switch to the individual 
servers).


Does this mean I should be considering iSCSI, or, since the connections will 
all be on a local network, that I can continue to consider NFS?


Any takers?

-Grant

- Original Message - 
From: Christopher J. Umina chris.um...@studsvikscandpower.com

To: Grant Peel gp...@thenetnow.com
Cc: questi...@freebsd.org
Sent: Tuesday, July 21, 2009 8:01 PM
Subject: Re: NFS- SAN - FreeBSD



Grant,

DAS = Direct-Attached Storage, sorry to be confusing.

I cannot personally speak to the performance of FreeBSD's NFS, but I 
wouldn't expect it to be the bottleneck in the situation described.  Maybe 
others with more experience could chime in on this topic.


The way to use a DAS is to connect the DAS to a server with an external 
SAS cable (or two).  The PERC6/E controller you would need inside the 
server is very well supported in FreeBSD.  The DAS system would basically 
act the same as internal disks would act (in the case of the MD1000).  Of 
course you'll want to check with Dell before you make any purchases to be 
positive that your hardware will all communicate nicely, as I'm no Dell 
salesperson.


Depending on how large of an array you plan to make (if larger than 2TB) 
you may have to investigate gpart/gpt to partition correctly, but that's 
quite simple in my experience.


Chris

Grant Peel wrote:

Chris,

Thanks for the insight!

I will defineately investigate that DAS ... although I am not (yet) sure 
what the acronym means, I am sure it is something akin to Direct Access 
SCSI.


You are quite right, I would like to use NFS to connect the device to the 
6 servers I have, again, it would be only hosting the /home partition for 
each of them. Do you know if there would be any NFS I/O slowdowns using 
it in that fassion? Would freebsd support (on the storage device) that 
many connections?


Also, do the Dell DAS machines run with FreeBSD?

Also, from you you explained, I doubt I really need the versatility of 
the SAN at this point, or in the near future. I simply want a mass /home 
storage unit.


-Grant

- Original Message - From: Christopher J. Umina 
chris.um...@studsvikscandpower.com

To: Grant Peel gp...@thenetnow.com
Cc: questi...@freebsd.org
Sent: Tuesday, July 21, 2009 5:43 PM
Subject: Re: NFS- SAN - FreeBSD



Grant,

I mean to say that often times external SCSI solutions (direct attached) 
are cheaper and perform better (in terms of I/O) than iSCSI SANs. 
Especially if you're using many disks.  SANs are generally chosen for 
the ability to be split into LUNs for different servers.  Think of it as 
a disk which you can partition and serve out to servers on a 
per-partition basis, over Ethernet.  That's essentially what an iSCSI 
SAN does.  While DAS systems allow the same sort of configuration, they 
don't serve out over Ethernet, only SCSI/SAS.


Since you plan to use NFS to share the files to the other servers, I 
think it may make more sense for you to use a SCSI solution if yo don't 
need the versatility of a SAN.


Of course I know nothing of how you plan to expand this system, but from 
what I understand, with Dell DAS hardware it is possible to connect up 
to 4 different servers to the DAS and expand to up to 6 15 disk 
enclosures. The MD3000i (iSCSI) expands only to 3.


Another issue is that without compiling in special versions of the iSCSI 
initiator, even in 8.0-BETA2 (which is not production-ready), iSCSI 
performance and reliability are terrible.  There are other versions of 
the code (which I currently use) for the iscsi_initiator kernel module, 
but unless you're comfortable doing that, you may consider DAS in terms 
of ease of implementation and maintenance as well.


Chris

Grant Peel wrote:

Chris,

I don't know what a direct attached array is.

What I was just thinking was move all of the servers /home directory to 
a huge NFS mount.


If you have the time to elaborate fursther, I would apprciate it...

This iSCSI think has me entrigued, but I must admit I know little about 
it at this point.


-Grant

- Original Message - From: Christopher J. Umina 
chris.um...@studsvik.com

To: Grant Peel gp...@thenetnow.com
Sent: Monday, July 20, 2009 11:27 PM
Subject: Re: NFS- SAN - FreeBSD



Grant,

I have to ask, is there a reason you're intent on going with a SAN 
versus a direct-attached array?


Chris

Grant Peel wrote:

Thanks for the reply.

I have not used/investigated the iSCSI thing yet

The original question is can I just use an NFS mount to the storage's 
/home partition?


-Grant
  - Original Message -   From: mojo fms To: Grant Peel Cc: 
freebsd

Re: NFS- SAN - FreeBSD

2009-07-20 Thread Grant Peel

Hi all,

I am assuming by the lack of response, my question to too long winded, let 
me re-phrase:


What kind of performance might I expect if I load FreeBSD 7.2 on a 24 disk, 
Dell PowerVault when its only mission is to serve as a local area storage 
unit (/home). Obviously, to store all users /home data. Throug an NFS 
connection via fast (100m/b) ethernet. Each connecting server (6) contain 
about 200 domains?


-Grant

- Original Message - 
From: Grant Peel gp...@thenetnow.com

To: freebsd-questions@freebsd.org
Sent: Saturday, July 18, 2009 10:35 AM
Subject: NFS- SAN - FreeBSD



Hi all,

Up to this point, all of our servers are standalone, i.e. all services and 
software required are installed on each local server.


Apache, Exim, vm-pop3d, Mysql, etc etc.

Each local server is connected to the Inet via a VLAN (WAN), to our colo's 
switch.


Each server contains about 300 domains, each domain has its own IP.

Each sever is also connected to a VLAN (LAN) via the same (Dell 48 Port 
managed switch).


We have been considering consolidating all users data from each server to 
a central (local), storage unit.


While I do have active nfs's running (for backups etc), on the LAN only, I 
have never attempted to create 1 mass storage unit.


So I suppose the questions are:

1) Is there any specific hardware that anyone might reccommend? I want to 
stick with FreeBSD as the OS as I am quite comfortable admining it,


2) Would anyone reccomend NOT using FreeBSD? Why?

3) Assuming I am using FreeBSD as the storage systems OS, could NFS simply 
be used?


4) Considering out whole Inet traffic runs about 2 Mb/s, is there any 
reason the port to the Storage unit should be more than 100 M/b (would it 
be imparative to use 1 G/b transfer)?


TIA,

-Grant

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org






___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NFS- SAN - FreeBSD

2009-07-20 Thread Grant Peel
Thanks for the reply.

I have not used/investigated the iSCSI thing yet

The original question is can I just use an NFS mount to the storage's /home 
partition?

-Grant
  - Original Message - 
  From: mojo fms 
  To: Grant Peel 
  Cc: freebsd-questions@freebsd.org 
  Sent: Monday, July 20, 2009 4:21 PM
  Subject: Re: NFS- SAN - FreeBSD


  You would be better off at least having the SAN on 1gb ethernet or even 
better tripple 1gb (on a 100mb switch should be fine but you need failover for 
higher avaliability) ethernet for latency and failover reasons with a hot 
backup on the network controller.  I dont see why you could not do this, its 
just iscsi connection normally so there is not a big issue getting freebsd to 
connect to it.  We run 2 of the 16tb powervault which does pretty well for 
storage, one runs everything and the other is a replicated offsite backup.  
Performance wise, it really depends on how many servers you have pulling data 
from the SAN and how hard the IO works on the current servers.  If you have 100 
servers you might push the IO a bit but but it should be fine if your not 
serving more than 2Mb/s out to everyone, the servers and disks are going to 
cache a fair amount of always used data.


  On Mon, Jul 20, 2009 at 11:52 AM, Grant Peel gp...@thenetnow.com wrote:

Hi all,

I am assuming by the lack of response, my question to too long winded, let 
me re-phrase:

What kind of performance might I expect if I load FreeBSD 7.2 on a 24 disk, 
Dell PowerVault when its only mission is to serve as a local area storage unit 
(/home). Obviously, to store all users /home data. Throug an NFS connection via 
fast (100m/b) ethernet. Each connecting server (6) contain about 200 domains?

-Grant

- Original Message - From: Grant Peel gp...@thenetnow.com
To: freebsd-questions@freebsd.org
Sent: Saturday, July 18, 2009 10:35 AM
Subject: NFS- SAN - FreeBSD 




  Hi all,

  Up to this point, all of our servers are standalone, i.e. all services 
and software required are installed on each local server.

  Apache, Exim, vm-pop3d, Mysql, etc etc.

  Each local server is connected to the Inet via a VLAN (WAN), to our 
colo's switch.

  Each server contains about 300 domains, each domain has its own IP.

  Each sever is also connected to a VLAN (LAN) via the same (Dell 48 Port 
managed switch).

  We have been considering consolidating all users data from each server to 
a central (local), storage unit.

  While I do have active nfs's running (for backups etc), on the LAN only, 
I have never attempted to create 1 mass storage unit.

  So I suppose the questions are:

  1) Is there any specific hardware that anyone might reccommend? I want to 
stick with FreeBSD as the OS as I am quite comfortable admining it,

  2) Would anyone reccomend NOT using FreeBSD? Why?

  3) Assuming I am using FreeBSD as the storage systems OS, could NFS 
simply be used?

  4) Considering out whole Inet traffic runs about 2 Mb/s, is there any 
reason the port to the Storage unit should be more than 100 M/b (would it be 
imparative to use 1 G/b transfer)?

  TIA,

  -Grant

  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org





  -- 
  Who knew
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


NFS- SAN - FreeBSD

2009-07-18 Thread Grant Peel

Hi all,

Up to this point, all of our servers are standalone, i.e. all services and 
software required are installed on each local server.


Apache, Exim, vm-pop3d, Mysql, etc etc.

Each local server is connected to the Inet via a VLAN (WAN), to our colo's 
switch.


Each server contains about 300 domains, each domain has its own IP.

Each sever is also connected to a VLAN (LAN) via the same (Dell 48 Port 
managed switch).


We have been considering consolidating all users data from each server to a 
central (local), storage unit.


While I do have active nfs's running (for backups etc), on the LAN only, I 
have never attempted to create 1 mass storage unit.


So I suppose the questions are:

1) Is there any specific hardware that anyone might reccommend? I want to 
stick with FreeBSD as the OS as I am quite comfortable admining it,


2) Would anyone reccomend NOT using FreeBSD? Why?

3) Assuming I am using FreeBSD as the storage systems OS, could NFS simply 
be used?


4) Considering out whole Inet traffic runs about 2 Mb/s, is there any reason 
the port to the Storage unit should be more than 100 M/b (would it be 
imparative to use 1 G/b transfer)?


TIA,

-Grant 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Port 6139 Wierdness

2009-07-09 Thread Grant Peel
Hi all,

Not sure where else I could post this 

On one server, I am seeing massive numbers of connections from many different 
addresses to 2 different ips on port 6139.

Odd thing, the CPS and Size of the data is very very small.

Did many googles, found nothing.

Anyone seen this before?

Right now I am blocking them with IPFW.

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Transferring dump files ASCII or BINARY

2009-07-02 Thread Grant Peel
Hi all,

I am attempting to restore a root filesystem I donwloaded this morning.

I downloaded it in binary mode, and when I try to 

restore -rf /usbstick/root.dump

I am getting:

Tape is not a dump tape

Should dumps be transfered in BINARY or ASCII mode?

Any other insights welcome.

Also, should I remove the .snap file in the pristine filesystem before 
performing the restore?

Also, The dump was done on a freebsd 7.2 R machine, and I am using the FreeBSD 
7.2 live filesystem CD to do the restores.

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Cloning to different disks.

2009-07-01 Thread Grant Peel
Hi all,

I have serveral machines that are running different versions of FreeBSD.

Each machine only has 1 hard disk, but they all have a CD ROM and USB available.

I have built a pristine system with all packages and ports installed that I 
need.

I am now wanting to clone this to all the machines. The dificulty being that 
they all have various Disk sizes and interfaces (i.e. SCSI 3, SAS, etc).

I am wondering how everyone else might handle this situation. BTW, The new 
build uses a standard Generic kernel, i386 build.

I was thinking of:

Booting with a live CD, refdisking, labeling, then using dumps from memory 
stick.

Comments please,

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Cloning to different disks.

2009-07-01 Thread Grant Peel

Thanks Sir!


What is the easiest way to make sure the new disk is bootable.

Also, it just occured to mewe have a few different versions of SCSI 
drives SCSI-2 SAS etc.


Can I assume the the da driver will handle all these OK...ie. should not see 
any fstab problems?


-Grant



- Original Message - 
From: Manolis Kiagias son...@otenet.gr

To: Grant Peel gp...@thenetnow.com
Cc: freebsd-questions@freebsd.org
Sent: Wednesday, July 01, 2009 3:40 PM
Subject: Re: Cloning to different disks.



Grant Peel wrote:

Hi all,

I have serveral machines that are running different versions of FreeBSD.

Each machine only has 1 hard disk, but they all have a CD ROM and USB 
available.


I have built a pristine system with all packages and ports installed that 
I need.


I am now wanting to clone this to all the machines. The dificulty being 
that they all have various Disk sizes and interfaces (i.e. SCSI 3, SAS, 
etc).


I am wondering how everyone else might handle this situation. BTW, The 
new build uses a standard Generic kernel, i386 build.


I was thinking of:

Booting with a live CD, refdisking, labeling, then using dumps from 
memory stick.


Comments please,

-Grant



Done that and it works. Don't forget also to install  the boot blocks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org






___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


automount and sshfs

2009-06-19 Thread Michael Grant
sshfs is a file system that lets you mount a remote ftp dir on a
directory using fuse.  I have it working fine on freebsd.  Instead of
using the mount command to mount the fs, it's mounted by running the
sshfs command.

Is there some generic thing like amd that is not NFS specific that I
could use to automatically run the sshfs command when something
accessed a particular directory?

Michael Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RegEx

2009-06-05 Thread Grant Peel
Hi all,

Does anyone know of a current mailing list that discusses regular expressions?

I have Googled a number of time, but everything I find is old.

Specifically, I am looking for a modification to this per code:

#!/usr/local/bin/perl
...
my $iframeexp=[\IFRAMEiframe ]+.+$ifdomainname+.+[\/\\IFRAMEiframe];
...
foreach (@readin){
...
if( $_ =~ /$iframeexp/) {
print Found Match in (HTML?) $fullname\n;
$_ =~ s/$iframeexp/$replace/g;
$matched = 1;
if ($logfiles == 1) {
open(LOG, $logpath) or warn cannot open $logpath;
print LOG IFRAME (HTML?) found in $fullname\n;
close(LOG);
...
exit;

That does not strip out the BODY... part of a line that in an html file (if 
the iframe ... exists on the same line as the body tag).

-Grant

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Mysql6 or Mysql5

2009-05-30 Thread Grant Peel
Hi all,

I am asking thise here as I am aware there are many ISPs and Hosting farm 
admins on this list.

I am in the process of setting up the next gen servers, and notice the Mysql6 
is available in ports.

Does anyone have any expierience with it? Is it solid? Fast? Are there any 
'gotchas' when using databases developed on older versions of Mysql? (4).

Thanks,

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Security Consulting.

2009-03-30 Thread Grant Peel

Hi all,

I originally posted this to the PHP mailing list with, so far, less than 
helpful results. I am not a fan of cross-posting, but I suspect there may be 
a few ISP support / server admins who may be interested in this offer.


Good Morning / Afternoon,

We run several of our own servers:

- Dell Power Edge 1U, Pentium,
- FreeBSD (6.x soon to be 7.x)
- along with all the standard Web Application installation (PHP Apache Exim,
Pop3, Proftp, MySQL etc etc).

What I am asking here, is if any one in this community has the knowledge to
act as a security consultant in an occasional, as required basis. Anyone
interested should have expience with Apache, PHP, Perl on the FreeBSD
platform.

We are more than willing to compensate for services rendered, and are more
than willing to discuss terms.

In the end, we would be more than willing to share any non-fudiciary
information with anyone who could find it useful (via this or other mailing
lists).

We are asking any interested parties to contact us off-list such that we
don't need to make any private matters public.

This is a bonified request, as we can setup servers ourselves, but simply do
not have the time to research various run time, and security related items.

TIA,

-Grant 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


6.x - 7.1

2009-03-29 Thread Grant Peel

Hi all,

We have (finally) made the decision to move our server (10 -Dell) from 
Toronto to a newer data center closer to our office in London.


Before I ask this question, I would like to ensure everyone I will be 
reading all the docs I can find, but since the upgrade will be much work, I 
thought I would ask the question here anyways :-)


Question: given the items below, should I expext the make and build of 
FreeBSD and the software below, to go pretty much as it did in 6.x? (Does 
anyone know of any showstoppers)?


All software below has/will be built from ports.

Synopsis:

10 Dell 1U Rack servers (Intel Based, SCSI) more or less standard entry 
level servers)

All running
-FreeBSD 6.x,
-Apache 2.2.x
-Mysql Server 4.x
-PHP 4.x
-Perl 5.x
-Exim 4.6x
-Spamassassin etc etc

TIA,

-Grant 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Flash for FreeBSD - GNOME - Firefox

2009-01-14 Thread Grant Peel

Hi all,

Is there a port that emulates Adobe Flash? i.e. Adobe's download site 
says 'Platform not supported' is there a port or package thats can be 
used to view Flash content in Firefox?


-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD Transition Questions.

2009-01-13 Thread Grant Peel

Hi all,

Well, over the past few days I have made the transition to FreeBSD (6.4) 
as the primary OS on my home computer. I am currently running GNOME as a 
desktop, and it seems to be running well. Indeed, I am using Thunderbird 
to write this email!


I have a couple of questions regarding the transition:

1. Does there exist a port or package, a messenger program, that is 
compatible with Windoze Live Messenger? i.e. can I log in similar to 
live messenger and see my contacts and collaborate with them?


2. Can I use any type of pictures for the desktop wallpaper? Where might 
I find some good wallpaper depicting the FreeBSD Daemon and Logo?


3. How does one add a device to the desktop as an icon? i.e. an external 
USB drive?


TIA,

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Replace SCSI Drive

2009-01-13 Thread Grant Peel

Jerry McAllister wrote:

On Mon, Jan 12, 2009 at 11:09:54PM -0700, Tim Judd wrote:

  

snip

Not to be presumptious, or rude, but I've read the first part of this 
thread (a bit late, yes) and I'm just confused.


If you're going to go so far as to prep the drive at home, before 
driving to the NOC, with a unrunnable OS on a labeled disk, it seems silly.


I propose:
	Do a typical install of FreeBSD 6.4/7.1 on this disk.  Let it be as 
full as to boot an operating system (but maybe skip out on the 
networking blah blah setups).

Bring this (verified) bootable disk to the NOC, install it as da0
Move the old, 73GB failing disk to da1
Boot the Dell, maybe running in single-user mode
	You've got a pristine format (or pristine enough) to restore the 
filesystems on top of it.
	Rebooting with da0 again to see if your network settings, startup, 
apps, etc etc etc all start as appropriate.


Only if this method fails, do you use the Fixit CD and fix it



This is good, especially if he wants to upgrade to the next
version of FreeBSD at the same time.

But IIRC the problem is not that the OS currently on the disk does
not work, but that there are some problems with the disk itself - 
but that it is still readable.   It is more about replacing the

disk with another presumed more reliable than the current one.
So, in that case, it is much easier to take the few minutes to
build the disk slice  partitions and then just do the dump/restores
than to build everything new and then hand pick the things he wants
to save from the old disk.


But, if an upgrade is done at the same time - probably a good idea
actually - then that hand picking will be done anyway, so might as
well do it as you say.   I took it straight from his original
question rather than from the notion of doing an upgrade along the way.

jerry


  
Am I crazy to think this is the more logical, more straightforward way 
to perform this migration?  If Grant has already done the job, more 
power to him, but I just found it a little confusing that one would 
label a drive, format it, and possibly spend more time with the slower 
CD-ROM based Fixit than running off a nice, new 10k/15k RPM drive to 
drive everything.


If my method above is failing a point, I'd be more than happy to hear 
your statements and correct my procedures for it.  My method above has 
only one tricky part, is to restore the 'a' partition from olddrive to 
newdrive. -- and that is probably a piece of cake.



Grant, good luck (if you haven't done it yet).

--Tim


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


  

Hi Jerry,

Since you original reply to my email is still my prefered method, could 
you please resent it (if you have a copy in your sent items mailbox). I 
am wrestling with Thunderbird (on freebsd) to import all my email 
folders from OE, with no success).


I do understand all the various methods though and thanks to all for the 
replies!


-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD Transition Questions.

2009-01-13 Thread Grant Peel

Ricardo Jesus wrote:

Grant Peel wrote:

Hi all,

Well, over the past few days I have made the transition to FreeBSD 
(6.4) as the primary OS on my home computer. I am currently running 
GNOME as a desktop, and it seems to be running well. Indeed, I am 
using Thunderbird to write this email!


I have a couple of questions regarding the transition:

1. Does there exist a port or package, a messenger program, that is 
compatible with Windoze Live Messenger? i.e. can I log in similar to 
live messenger and see my contacts and collaborate with them?
Pidgin is a nice GTK program that works well with Windows Live Message 
network.


2. Can I use any type of pictures for the desktop wallpaper? Where 
might I find some good wallpaper depicting the FreeBSD Daemon and Logo?

Take a look at http://www.freebsd.org/art.html


3. How does one add a device to the desktop as an icon? i.e. an 
external USB drive?
Take a look at http://www.freebsd.org/gnome/index.html. I'm sure it 
will answer (or point you to) your Gnome related questions.


TIA,

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org




Thanks Richard,

A couple of more questions if anyone has the time.

1. I have been searching for a iTunes client. i.e. a player that I can 
play my iTunes on. Does such a thing exist? Is there an iTunes client 
that can connect to the iTunes store?


2. I want to import my Oulook express folders to Thinderbird. I know it 
can be done on windows, but when I try the impirt feature (running 
Thunderbord on FreeBSD), there is no option to do this. Is there a way?


-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD Transition Questions.

2009-01-13 Thread Grant Peel

Kurt Buff wrote:

On Tue, Jan 13, 2009 at 10:42 AM, Chuck Swiger cswi...@mac.com wrote:
  

On Jan 13, 2009, at 9:54 AM, Grant Peel wrote:


A couple of more questions if anyone has the time.
2. I want to import my Oulook express folders to Thinderbird. I know it
can be done on windows, but when I try the impirt feature (running
Thunderbord on FreeBSD), there is no option to do this. Is there a way?
  

Aside from doing the import on Windows?  Unix versions of T'bird have no
knowledge of Microsoft's PST files, but I suppose you could upload your
Outlook email to an IMAP server and then download those messages normally
from there.



Outlook != Outlook Express. OE, last I looked, stores its mail in a
.mbx file, which isn't compatible with .pst files.

Beyond that, I can't say.

Kurt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


  


Hi Guys,

Looking at the folders on Outlook Express, they are in *.dbx format.

Does this help?

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD Boot Manager

2009-01-10 Thread Grant Peel

Jerry,

Maybe true. When this all started I used the ISO disk from the Symantec site 
to remove GoBack. I assumed in doing so ('unhooking GoBack from the MBR), 
that it would replace the original windows one.


It may also be worth noting that this disk -had- a recovery partition on it 
once upon a time. I have not idea weather this plays a parts in the latest 
woes.


Either way, I need to save the data (as I mentioed \I am doing), dd the disk 
to clear everything, and reinstall.


No biggies since I have not lost any data :-)

Thanks for all the help and I ideas though, this has been a learning safari!

-Grant
- Original Message - 
From: Jerry McAllister jerr...@msu.edu

To: gpeel gp...@thenetnow.com
Cc: Jerry McAllister jerr...@msu.edu; Michael Copeland 
michael.copel...@gmail.com; freebsd-questions@freebsd.org

Sent: Saturday, January 10, 2009 1:25 PM
Subject: Re: FreeBSD Boot Manager



On Sat, Jan 10, 2009 at 12:52:07PM -0500, gpeel wrote:


Hi all,

Jusat to answer Mike's question, nothing is working to get the MBR and
Windows boot back.

I ahve been to the windows recovery console many times and ran the 
Fixboot,

Fixmbr commands, being very meticulous about the paramaters etc.

I ahve also tried reinstalling the FreeBSD boot manager, and rerunning 
the

Norton GoBack unhook.


If you read through my post on this, note the scenario I narrated.
It is quite possible that every time you run that GoBack thing, it
is putting back the wrong MBR from its corrupted stash.

jerry





When I run the recovery console, and do the fixmbr, I get messages about 
the
current MBR not being standard, and that if I install a new one, I may 
loose

the partitions. So far, that is not true. The windows partition is still
there, but not being used to boot.

Fortuneatley, I can see my windows partition in KNoppix, so I am in the
process of getting the data moved to a backup drive. Indeed, I am 
writting

this email through Konquerer!

Thank god for live file systems.

-Grant

On Fri, 09 Jan 2009 19:30:53 -0500, Michael Copeland wrote
 Jerry McAllister wrote:
  On Thu, Jan 08, 2009 at 09:33:12PM -0500, Grant Peel wrote:
 
 
  Can I use a windows install cd's R option to do the fdisk /mbr ?
 
 
  Maybe.But, MS software is notorious for not recognizing any
  other OSen nor being able to boot them   So, use the FreeBSD fdisk
  which will plant the FreeBSD MBR.
 
  jerry
 
 
 has this issue been resolved? what route did you choose to
 accomplish your task?
 
  -Grant
 
  - Original Message - 
  From: Kurt Buff kurt.b...@gmail.com

  To: Grant Peel gp...@thenetnow.com
  Cc: freebsd-questions@freebsd.org
  Sent: Thursday, January 08, 2009 8:23 PM
  Subject: Re: FreeBSD Boot Manager
 
 
 
  On Thu, Jan 8, 2009 at 5:17 PM, Grant Peel gp...@thenetnow.com
wrote:
 
  Hi all,
 
  I was bored earlier tonight and I decided to tinker a bit with
FreeBSD
  6.4 on my Windows XP SP3 box.
 
  In that machine, there is one SATA drive.
 
  On that drive, there was about 100 GB of free space, so I decided 
  to

try
  putting FreeBSD 6.4 on it.
 
  During the install, I opted to use the Free BSD boot manage. The
install
  went flawlessly.
 
  The problem is, when I boot up I get:
 
  F1 ??
  F2 FreeBSD
  F5 Disk1
 
  F2, is obviously, the new installation of FreeBSD 6.4, which boots
  perfectly.
  F5 is a spare SCSI disk connected to an Initio controller.
 
  F1 is the probelem. Windose no longer boots. When I select F2, I
simply
  get the cursor on a new line, and nothing happens.
 
  Like this:
 
  F1 ??
  F2 FreeBSD
  F5 Disk1
  _
 
  Any idea what I might need to do to make windows work again?
 
  It may be worth mentioning, I had Norton GoBack running on the 
  disk

  before I installed FreeBSD, although I am not aware if it does
anything
  to the booting system.
 
  All suggestions welcome,
 
  -Grant
 
  www.bootdisk.com
 
  Find a bootable floppy image there that includes a DOS fdisk, and
  write it out to a floppy disk.
 
  Boot your machine with that floppy, and at the DOS prompt, type 
  'fdisk
  /mbr' - it will write a standard boot sector, and Windows should 
  boot

  again.
 
  Of course, this will not allow you to boot to your new FreeBSD
  installation, but with other folks' help, you can probably overcome
  that - probably with GRUB, or another boot manager.
 
  Kurt
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  freebsd-questions-unsubscr...@freebsd.org
 
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail
to freebsd-questions-unsubscr...@freebsd.org
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions

gname

2009-01-10 Thread Grant Peel
Wow,

After a fresh install of FreeBSD 6.4, (with Xorg) I tried installing Gnome, and 
I get a stop during build, Filesystem Full!

Is Gname really that big? or did I miss doing something?

 Doing a du -h -d1 on /usr shows

...
7.0G ports.
1.8G local

df -h shows:

...
/dev/ad8s1e 9.7G(total)  9.6G(used) ... 108%  (usr)
...

Again, is gname really that big?

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD Boot Manager

2009-01-09 Thread Grant Peel

Hi all,

For those that have been following this thread:

I now have Norton GoBack uninstalled and un-hooked from the MBR
-Had to go to Symantec and get a rescue disk,
-The rescue disk tried to un-hook GOBAck from the MBR,
   -It found the MBR borken (due to the FreeBSD Boot Manager install),
   -So the rescue disk ran all night restoring the original C-Drive,

-As of this morning, I once again have a bottoable windows system,
-FreeBSD 6.4 is intalled, but,

-I have not boot manager so I cant get to the FReeBSD installation.

Can someone (please!) explain how to install the FreeBSD boot manager again?

THanks all,

-Grant
- Original Message - 
From: Steve Bertrand st...@ibctech.ca

To: Grant Peel gp...@thenetnow.com
Cc: Kurt Buff kurt.b...@gmail.com; freebsd-questions@freebsd.org
Sent: Thursday, January 08, 2009 9:39 PM
Subject: Re: FreeBSD Boot Manager



Grant Peel wrote:

So then,

IF we are able to restore the Windows MBR, and boot into windows, should
we not be able to boot the machine with a bootable FreeBSD disk, then,
use Sysinstall to restore the FreeBSD boot manager?


Yes, that is exactly what I was getting at.

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org






___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD Boot Manager

2009-01-09 Thread Grant Peel

Hi Mike,

I am not at all sure whate you are suggesting here?

What I am asking, is, somehting like:

Can I reboot the machine with the FreeBSD install disk, and using the 
sysinstall utility, reinstall the freebsd boot manger so I wind up with:


F1 Windows
F2 FreeBSD
F5 Disk1

-Grant



- Original Message - 
From: Michael Copeland michael.copel...@gmail.com

To: Grant Peel gp...@thenetnow.com
Cc: freebsd-questions@freebsd.org
Sent: Friday, January 09, 2009 9:44 AM
Subject: Re: FreeBSD Boot Manager


why not just add loader or whatever to the windows boot loader.. unless 
you specifically need fbsd boot manager


Grant Peel wrote:

Hi all,

For those that have been following this thread:

I now have Norton GoBack uninstalled and un-hooked from the MBR
-Had to go to Symantec and get a rescue disk,
-The rescue disk tried to un-hook GOBAck from the MBR,
   -It found the MBR borken (due to the FreeBSD Boot Manager install),
   -So the rescue disk ran all night restoring the original C-Drive,

-As of this morning, I once again have a bottoable windows system,
-FreeBSD 6.4 is intalled, but,

-I have not boot manager so I cant get to the FReeBSD installation.

Can someone (please!) explain how to install the FreeBSD boot manager 
again?


THanks all,

-Grant
- Original Message - From: Steve Bertrand st...@ibctech.ca
To: Grant Peel gp...@thenetnow.com
Cc: Kurt Buff kurt.b...@gmail.com; freebsd-questions@freebsd.org
Sent: Thursday, January 08, 2009 9:39 PM
Subject: Re: FreeBSD Boot Manager



Grant Peel wrote:

So then,

IF we are able to restore the Windows MBR, and boot into windows, 
should

we not be able to boot the machine with a bootable FreeBSD disk, then,
use Sysinstall to restore the FreeBSD boot manager?


Yes, that is exactly what I was getting at.

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org






___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org






___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD Boot Manager

2009-01-08 Thread Grant Peel
Hi all,

I was bored earlier tonight and I decided to tinker a bit with FreeBSD 6.4 on 
my Windows XP SP3 box.

In that machine, there is one SATA drive.

On that drive, there was about 100 GB of free space, so I decided to try 
putting FreeBSD 6.4 on it. 

During the install, I opted to use the Free BSD boot manage. The install went 
flawlessly.

The problem is, when I boot up I get:

F1 ??
F2 FreeBSD
F5 Disk1

F2, is obviously, the new installation of FreeBSD 6.4, which boots perfectly.
F5 is a spare SCSI disk connected to an Initio controller.

F1 is the probelem. Windose no longer boots. When I select F2, I simply get the 
cursor on a new line, and nothing happens.

Like this:

F1 ??
F2 FreeBSD
F5 Disk1
_

Any idea what I might need to do to make windows work again?

It may be worth mentioning, I had Norton GoBack running on the disk before I 
installed FreeBSD, although I am not aware if it does anything to the booting 
system.

All suggestions welcome,

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD Boot Manager

2009-01-08 Thread Grant Peel

Can I use a windows install cd's R option to do the fdisk /mbr ?

-Grant

- Original Message - 
From: Kurt Buff kurt.b...@gmail.com

To: Grant Peel gp...@thenetnow.com
Cc: freebsd-questions@freebsd.org
Sent: Thursday, January 08, 2009 8:23 PM
Subject: Re: FreeBSD Boot Manager



On Thu, Jan 8, 2009 at 5:17 PM, Grant Peel gp...@thenetnow.com wrote:

Hi all,

I was bored earlier tonight and I decided to tinker a bit with FreeBSD 
6.4 on my Windows XP SP3 box.


In that machine, there is one SATA drive.

On that drive, there was about 100 GB of free space, so I decided to try 
putting FreeBSD 6.4 on it.


During the install, I opted to use the Free BSD boot manage. The install 
went flawlessly.


The problem is, when I boot up I get:

F1 ??
F2 FreeBSD
F5 Disk1

F2, is obviously, the new installation of FreeBSD 6.4, which boots 
perfectly.

F5 is a spare SCSI disk connected to an Initio controller.

F1 is the probelem. Windose no longer boots. When I select F2, I simply 
get the cursor on a new line, and nothing happens.


Like this:

F1 ??
F2 FreeBSD
F5 Disk1
_

Any idea what I might need to do to make windows work again?

It may be worth mentioning, I had Norton GoBack running on the disk 
before I installed FreeBSD, although I am not aware if it does anything 
to the booting system.


All suggestions welcome,

-Grant


www.bootdisk.com

Find a bootable floppy image there that includes a DOS fdisk, and
write it out to a floppy disk.

Boot your machine with that floppy, and at the DOS prompt, type 'fdisk
/mbr' - it will write a standard boot sector, and Windows should boot
again.

Of course, this will not allow you to boot to your new FreeBSD
installation, but with other folks' help, you can probably overcome
that - probably with GRUB, or another boot manager.

Kurt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD Boot Manager

2009-01-08 Thread Grant Peel

So then,

IF we are able to restore the Windows MBR, and boot into windows, should we 
not be able to boot the machine with a bootable FreeBSD disk, then, use 
Sysinstall to restore the FreeBSD boot manager?


-Grant

- Original Message - 
From: Steve Bertrand st...@ibctech.ca

To: Kurt Buff kurt.b...@gmail.com
Cc: Grant Peel gp...@thenetnow.com; freebsd-questions@freebsd.org
Sent: Thursday, January 08, 2009 8:33 PM
Subject: Re: FreeBSD Boot Manager



Kurt Buff wrote:

On Thu, Jan 8, 2009 at 5:17 PM, Grant Peel gp...@thenetnow.com wrote:


On that drive, there was about 100 GB of free space, so I decided to try 
putting FreeBSD 6.4 on it.


During the install, I opted to use the Free BSD boot manage. The install 
went flawlessly.



Any idea what I might need to do to make windows work again?

It may be worth mentioning, I had Norton GoBack running on the disk 
before I installed FreeBSD, although I am not aware if it does anything 
to the booting system.



www.bootdisk.com

Find a bootable floppy image there that includes a DOS fdisk, and
write it out to a floppy disk.

Boot your machine with that floppy, and at the DOS prompt, type 'fdisk
/mbr' - it will write a standard boot sector, and Windows should boot
again.

Of course, this will not allow you to boot to your new FreeBSD
installation, but with other folks' help, you can probably overcome
that - probably with GRUB, or another boot manager.


Technically (theoretically) speaking, using a Win32 boot disk to fdisk
/mbr, he should be able to re-initialize the FBSD boot loader by going
through the steps he did initially.

AFAIR, Symantec GoBack, along with many other 'in-disk' restoration
programs, overwrite the boot sector with its own code.

If the OP can boot back into Windows with the fdisk /mbr, he has likely
done both:

- broke his GoBack program's ability to recover, and;
- made it possible to restore the FBSD boot manager

If Windows boots after following Kurt's recommendation of restoring the
Windows MBR, back up your Windows system, then try FreeBSD again.

You sound courageous, give 'er!


Steve



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Replace SCSI Drive

2009-01-07 Thread Grant Peel
Hi all,

I currently have a SCSI drive that *may* be going bad on one of my production 
servers. I have lots of backups :-)

Scenario:

The drive that is showing the occasion error, is a 76 GB Seagate SCSI 10K spin 
drive. It is at the network center about 120 miles away. This drive is not 
using anywhere near 76 GB, and the server will never need 76 GB. I estimate its 
using about 20 GB now.

I am at home, and have a barely used 36 GB Seagate 10K SCSI drive here, 
currently hooked up to my home (Windows XP BOX) via an Initio SCSI adaptor.

What I would like to do is:

Using my windows box, FDISK and set up the disk slices at home, using some kind 
of FreeBSD boot disk. I will of course, make sure there is enough room on each 
file system to accomodate the data from the other (going bad) disk.

Take the pristine disk to the Network Center,

Shut down all software on the machine that has the bad disk, and make full 
dumps of all filesystems on that machine (/, /var, /home, /usr) and move the 
over to the new formatted drive.

Since I have never done this before, I have some questions:

!. Can I use a FreeBSD bootable installation disk (6.4) made from an ISO image, 
to boot my PC and make the filesystems on the 36GB drive, without actually 
installing FreeBSD? (Please feel free to tell me exactly how :-)).

2. Once I get that drive to the network center, and restore the dumps to it, 
how do I ensure the drive is bootable? (I assume I actually do that in the 
previous step). 

3. Is it possible to skip step one altogether and use the instructions in the  
man pages regarding Restoring a filesystem and makeing the 'Pristine' 
filesystem? If so, again, how do I ensure the disk is bootable?

Thanks a billion in advance,

-Grant.

P.S. I AM reading all the manuals and handbooks, I just can't afford to mess 
this up :-)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Replace SCSI Drive

2009-01-07 Thread Grant Peel

Jerry, Thanks a Tera for the concise reply. Please see the answers below.

- Original Message - 
From: Jerry McAllister jerr...@msu.edu

To: Grant Peel gp...@thenetnow.com
Cc: FreeBSD Questions List freebsd-questions@freebsd.org
Sent: Wednesday, January 07, 2009 3:58 PM
Subject: Re: Replace SCSI Drive



On Wed, Jan 07, 2009 at 01:31:25PM -0500, Grant Peel wrote:


Hi all,

I currently have a SCSI drive that *may* be going bad on one of my 
production servers. I have lots of backups :-)


Scenario:

The drive that is showing the occasion error, is a 76 GB Seagate SCSI 10K 
spin drive. It is at the network center about 120 miles away. This drive 
is not using anywhere near 76 GB, and the server will never need 76 GB. I 
estimate its using about 20 GB now.


I am at home, and have a barely used 36 GB Seagate 10K SCSI drive here, 
currently hooked up to my home (Windows XP BOX) via an Initio SCSI 
adaptor.


What I would like to do is:

Using my windows box, FDISK and set up the disk slices at home, using 
some kind of FreeBSD boot disk. I will of course, make sure there is 
enough room on each file system to accomodate the data from the other 
(going bad) disk.


Take the pristine disk to the Network Center,

Shut down all software on the machine that has the bad disk, and make 
full dumps of all filesystems on that machine (/, /var, /home, /usr) and 
move the over to the new formatted drive.


Since I have never done this before, I have some questions:

!. Can I use a FreeBSD bootable installation disk (6.4) made from an ISO 
image, to boot my PC and make the filesystems on the 36GB drive, without 
actually installing FreeBSD? (Please feel free to tell me exactly how 
:-)).


2. Once I get that drive to the network center, and restore the dumps to 
it, how do I ensure the drive is bootable? (I assume I actually do that 
in the previous step).


3. Is it possible to skip step one altogether and use the instructions in 
the  man pages regarding Restoring a filesystem and makeing the 
'Pristine' filesystem? If so, again, how do I ensure the disk is 
bootable?


Thanks a billion in advance,




I have a few questions.

First, it sounds like this is the boot disk and is the only disk on
the machine.   Is this true?   If it is not the boot disk, then it
is very easy.  If it is the boot disk, then it is still easy, but
just a little more work.


This is the only drive on the machine, and it is (obviously) the boot disk.



Second, since you have to take the replacement disk to the Network Center
and do the dumps and restores there anyway, why bother doing the fdisk,
bsdlabel and newfs remotely?


I can do either (do it at home, or at the network center). I should mention 
now, the servers are Dell servers and have a DRAC card, so I can access 
remotely.



That is the easy and quickest part anyway.
So, just do it there.   Oh, can you get a console on the machine? I 
presume

so if you were going to do the dump/restore there.


Yes as mentioned, I have a DRAC card for remote access, and I have SSH 
(Putty) access as root. Also, I should mention I have an NFS mount to keep 
the dumps on (on another machine).




So, presuming some things:
1.  It is the only disk and is the boot disk. FreeBSD is the only thing 
you want on the disk no  dual boot.


Correct,


3.  You can get a console on the machine at the Network Center.


Correct,


4.  You can successfully burn and test a boot CD with the fixit image.
It used to be that the fixit was included on disc 1, but in case it
has moved, check out its location.  Might still be there.  Just find
a spare machine -  even one running MS and boot the CD and select
the fixit image.   If it comes up, then just pull it and reboot.  You
don't have to bring it all the way up just to test if it is there.


Although I have heard of the Fixit console, I have never used it. I have 
several CDs I have burned using the distribution ISO image, Including the 
version I am running on the hurting machine. Can you elaborate further on 
how to bring up the Fixit console with the CD?




Make sure the fixit comes from the same version as the one you are
restoring to the system or you could have a problem, though probably
not if they are all 6.x or 7.x.

Some of them talk about a holographic image.   I never understood
what that was supposed to mean.   I sort of expected to see a full
3D image of BSDie to materialize in my office and, possibly in
Kirk McKusick's voice, tell me how to do whatever it is.  But, that's
never happened.Not enough drugs, I suppose.

Anyway, take your CD with fixit and the one you can run sysinstall from, 
just

in case and trundle on over to where that machine resides.

Shut down the machine.

Pull out the old disk and slide it in to the #2 SCSI slot (or leave it out
until the dump/restore phase if you get nervous).
Put the replacement disk in to the #1 (boot) SCSI slot.

Plug in the monitor and keyboard

Re: Replace SCSI Drive

2009-01-07 Thread Grant Peel

Jerry,

I gave my head a shake (literally), and re-read you response. Please forgive 
the silly question about dd. I understand that you are getting me to wipe 
the disk first. I now understand pretty much everything you have written and 
the procedure involved.


Since I do have the 'newer' drive currently installed at home, I would like 
to do to 'new' disk setup here first, that way, I can take to machine down 
for as short a time as is possible.


I am quite nervous using the disklabel command(s) as I know nothing about 
the 'geometry' numbers and how to calculate them.


Considering your method, and Matthews method, let me run this by you...

At home:

1. Boot a machine (this one at home) with freebsd 6.4 installable disk (made 
from an ISO image),


2. Run sysinstall,

3. Use fdisk and disklabel to setup the slice/partitions, paying special 
attention in disklabel to make the disk bootable,


At the network center:

4. Move the current *suspect* drive to da1, and install the new drive as 
da0,


5. Boot the machine using the fixit shell, and mount the new partitions and 
the old partitions as Jerry explained below,


6. Do the dump/restore as Jerry mentions below.

7. Remove the da1, reboot and hopefully, rejoyce.

Comments please.

-Grant

- Original Message - 
From: Jerry McAllister jerr...@msu.edu

To: Grant Peel gp...@thenetnow.com
Cc: FreeBSD Questions List freebsd-questions@freebsd.org
Sent: Wednesday, January 07, 2009 3:58 PM
Subject: Re: Replace SCSI Drive



On Wed, Jan 07, 2009 at 01:31:25PM -0500, Grant Peel wrote:


Hi all,

I currently have a SCSI drive that *may* be going bad on one of my 
production servers. I have lots of backups :-)


Scenario:

The drive that is showing the occasion error, is a 76 GB Seagate SCSI 10K 
spin drive. It is at the network center about 120 miles away. This drive 
is not using anywhere near 76 GB, and the server will never need 76 GB. I 
estimate its using about 20 GB now.


I am at home, and have a barely used 36 GB Seagate 10K SCSI drive here, 
currently hooked up to my home (Windows XP BOX) via an Initio SCSI 
adaptor.


What I would like to do is:

Using my windows box, FDISK and set up the disk slices at home, using 
some kind of FreeBSD boot disk. I will of course, make sure there is 
enough room on each file system to accomodate the data from the other 
(going bad) disk.


Take the pristine disk to the Network Center,

Shut down all software on the machine that has the bad disk, and make 
full dumps of all filesystems on that machine (/, /var, /home, /usr) and 
move the over to the new formatted drive.


Since I have never done this before, I have some questions:

!. Can I use a FreeBSD bootable installation disk (6.4) made from an ISO 
image, to boot my PC and make the filesystems on the 36GB drive, without 
actually installing FreeBSD? (Please feel free to tell me exactly how 
:-)).


2. Once I get that drive to the network center, and restore the dumps to 
it, how do I ensure the drive is bootable? (I assume I actually do that 
in the previous step).


3. Is it possible to skip step one altogether and use the instructions in 
the  man pages regarding Restoring a filesystem and makeing the 
'Pristine' filesystem? If so, again, how do I ensure the disk is 
bootable?


Thanks a billion in advance,




I have a few questions.

First, it sounds like this is the boot disk and is the only disk on
the machine.   Is this true?   If it is not the boot disk, then it
is very easy.  If it is the boot disk, then it is still easy, but
just a little more work.

Second, since you have to take the replacement disk to the Network Center
and do the dumps and restores there anyway, why bother doing the fdisk,
bsdlabel and newfs remotely?   That is the easy and quickest part anyway.
So, just do it there.   Oh, can you get a console on the machine?  I 
presume

so if you were going to do the dump/restore there.

So, presuming some things:
1.  It is the only disk and is the boot disk.
2.  FreeBSD is the only thing you want on the disk - no dual boot.
3.  You can get a console on the machine at the Network Center.
4.  You can successfully burn and test a boot CD with the fixit image.
It used to be that the fixit was included on disc 1, but in case it
has moved, check out its location.  Might still be there.  Just find
a spare machine -  even one running MS and boot the CD and select
the fixit image.   If it comes up, then just pull it and reboot.  You
don't have to bring it all the way up just to test if it is there.

Make sure the fixit comes from the same version as the one you are
restoring to the system or you could have a problem, though probably
not if they are all 6.x or 7.x.

Some of them talk about a holographic image.   I never understood
what that was supposed to mean.   I sort of expected to see a full
3D image of BSDie to materialize in my office and, possibly in
Kirk McKusick's voice, tell me how

Sysinstall

2009-01-07 Thread Grant Peel
Hi all,

I keep reading in the man pages and elsewhere that 'sysinstall' is greatly in 
need of 'Death'.

How would one do a fresh install of FBSD without it?

Is there a replacement in the works?

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Fixit vrs Live filesystem.

2009-01-07 Thread Grant Peel
Hi all,

I am in the process of downloading the ISO Disk 1 and 2 for FreeBSD 6.4.

Dare I ask how one gets to the Fixit Holographic Shell, or a live file system?

Are they on Disk 1 or 2?

Are they the same thing? (Does the fixit console still exist)?

TIA,

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Sysinstall

2009-01-07 Thread Grant Peel
Cool to see the thread take this twist, but the original question still 
remains:


How doe one install FreeBSD without the sysinstal utility?

-Grant

- Original Message - 
From: Kurt Buff kurt.b...@gmail.com

To: Gonzalo Nemmi gne...@gmail.com
Cc: freebsd-questions@freebsd.org
Sent: Wednesday, January 07, 2009 6:51 PM
Subject: Re: Sysinstall



On Wed, Jan 7, 2009 at 3:14 PM, Gonzalo Nemmi gne...@gmail.com wrote:

On Wednesday 07 January 2009 8:50:39 pm Grant Peel wrote:

Hi all,

I keep reading in the man pages and elsewhere that 'sysinstall' is 
greatly

in need of 'Death'.

How would one do a fresh install of FBSD without it?

Is there a replacement in the works?

-Grant


Actually, the more  use it, the more I like it ..

The only con that I find is that I don't whether it's possible to install
Postfix instead of Sendmail by default, thus getting completely rid of
Sendmail on my FreeBSD installs. But that probably something that I'm
missing.

Regards
--
Blessings
Gonzalo Nemmi


In the curses-based sysinstall of later versions of FBSD (7+, I think
- haven't done 6 in a while) I do indeed select postfix to install, or
no MTA at all, then add postfix later. Depends on my mood...

Kurt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org






___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


pkg_info php

2009-01-06 Thread Grant Peel
 info about files
pecl-fribidi-1.0A PECL extension for the unicode Bidi algorithm
perl-5.8.8  Practical Extraction and Report Language
php4-4.4.4_1PHP Scripting Language (Apache Module and CLI)
php4-4.4.7_1PHP Scripting Language (Apache Module and CLI)
php4-bz2-4.4.4_1The bz2 shared extension for php
php4-ctype-4.4.4_1  The ctype shared extension for php
php4-curl-4.4.4_1   The curl shared extension for php
php4-domxml-4.4.4_1 The domxml shared extension for php
php4-extensions-1.0 A meta-port to install PHP extensions
php4-ftp-4.4.4_1The ftp shared extension for php
php4-gd-4.4.4_1 The gd shared extension for php
php4-gettext-4.4.4_1 The gettext shared extension for php
php4-iconv-4.4.4_1  The iconv shared extension for php
php4-mcrypt-4.4.4_1 The mcrypt shared extension for php
php4-mysql-4.4.4_1  The mysql shared extension for php
php4-openssl-4.4.4_1 The openssl shared extension for php
php4-overload-4.4.4_1 The overload shared extension for php
php4-pcre-4.4.4_1   The pcre shared extension for php
php4-session-4.4.4_1 The session shared extension for php
php4-snmp-4.4.4_1   The snmp shared extension for php
php4-sockets-4.4.4_1 The sockets shared extension for php
php4-tokenizer-4.4.4_1 The tokenizer shared extension for php
php4-xml-4.4.4_1The xml shared extension for php
php4-zlib-4.4.4_1   The zlib shared extension for php
php5-bz2-5.1.6_3The bz2 shared extension for php
php5-calendar-5.1.6_3 The calendar shared extension for php
php5-ctype-5.1.6_3  The ctype shared extension for php
php5-curl-5.1.6_3   The curl shared extension for php
php5-dom-5.1.6_3The dom shared extension for php
php5-extensions-1.0 A meta-port to install PHP extensions
php5-filepro-5.1.6_3 The filepro shared extension for php
php5-ftp-5.1.6_3The ftp shared extension for php
php5-gd-5.1.6_3 The gd shared extension for php
php5-gettext-5.1.6_3 The gettext shared extension for php
php5-iconv-5.1.6_3  The iconv shared extension for php
php5-mbstring-5.1.6_3 The mbstring shared extension for php
php5-mcrypt-5.1.6_3 The mcrypt shared extension for php
php5-mhash-5.1.6_3  The mhash shared extension for php
php5-mysql-5.1.6_3  The mysql shared extension for php
php5-openssl-5.1.6_3 The openssl shared extension for php
php5-pcre-5.1.6_3   The pcre shared extension for php
php5-posix-5.1.6_3  The posix shared extension for php
php5-session-5.1.6_3 The session shared extension for php
php5-simplexml-5.1.6_3 The simplexml shared extension for php
php5-sqlite-5.1.6_3 The sqlite shared extension for php
php5-tokenizer-5.1.6_3 The tokenizer shared extension for php
php5-xml-5.1.6_3The xml shared extension for php
php5-xmlreader-5.1.6_3 The xmlreader shared extension for php
php5-xmlwriter-5.1.6_3 The xmlwriter shared extension for php
php5-zlib-5.1.6_3   The zlib shared extension for php
pico-4.64   PIne's message COmposition editor
pkg-config-0.21 A utility to retrieve information about installed libraries
png-1.2.12_1Library for manipulating PNG images
popt-1.7_1  A getopt(3) like library with a number of enhancements, fro
proftpd-1.3.0_2 Highly configurable ftp daemon
python24-2.4.3_3An interpreted object-oriented programming language
python25-2.5_1  An interpreted object-oriented programming language
razor-agents-2.82   A distributed, collaborative, spam detection and filtering
rrdtool-1.2.15  Round Robin Database Tools
suphp-0.5.2_2   Securely execute PHP scripts
sympa-4.1.2_3   Sympa is an electronic mailing list manager
t1lib-5.1.0_1,1 A Type 1 Rasterizer Library for UNIX/X11
trafshow-5.2.3,1Full screen visualization of network traffic
unzip-5.52_2List, test and extract compressed files in a ZIP archive
vm-pop3d-1.1.6_1A virtual POP3 server
webalizer-2.1.10_7  A web server log file analysis program
xorg-libraries-6.9.0 X11 libraries and headers from X.Org


Thanks,

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Memory Usage

2009-01-02 Thread Grant Peel
Hi all,

Does anyone have scripts they may be willing to share the parses any FreeBSD 
utility (top, w, etc) suitable for using the output to use mrtg to show memory 
and disk usage?

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


PHP and PHP-Extensions

2008-12-17 Thread Grant Peel
Hi all,

I have a somewhat broken installation of php 4.4.7 and the extensions and want 
to completely remove them and reinstall them.

How does one conpletely remove php4 (from ports) and the extensions to ensure a 
clean install?

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


gzip and dump

2008-11-21 Thread Grant Peel
Hi all,

I lost my Hard Drive and all my many tens of thousands of emails.

Thus, my excellent repository of answers from this list were sent to oblivion.

I make dumps using gzip and forget the command line to restore files from the 
zipped dump.

I use the command line like:

dump 0 -h0 -uaLf - /home | gzip  dumpfile.gz

If someone cand remind me the proper way to restore a file I would be greatful.

TIA,

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


FreeBSD 6.3-RELEASE installing php-imap

2008-10-24 Thread Grant Peel

Hi all,

I have a script that required php-imap extension installed but I keep 
running into a 2 snags when 'making' the port (mail/php-imap)...


First, I have to use the -DFORCE_PKG_REGISTER so openssl_overwtite_base 
won't kill the make, which seems to work,


and, most importantly,

when the mail/imap-php port tried to actually do the build of the imap part, 
it says it can't find (OpenSSLs) 'evp.h' file. I assume it is just failing 
on the first file it can't find.


So, I guess the question is, when making the mail/imap-php port, is there a 
way to pass the path for the OpenSSL libraries? My libs appear to be in two 
places:


server# locate evp.h
/usr/include/openssl/evp.h
/usr/src/crypto/openssl/crypto/evp/evp.h

If I can pass the path, I assume I should use the /usr/include dir, but how?

make -D--with-openssl=/usr/include/openssl  ???

TIA,

-Grant 


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


Re: Mailman + Apache + Cookies + FreeBSD

2008-10-12 Thread Grant Peel

Jeff,

are you running apache with Suexec? If so I would realy like to expand in 
this with you.


-Grant

- Original Message - 
From: Jeffrey Goldberg [EMAIL PROTECTED]

To: Odhiambo Washington [EMAIL PROTECTED]
Cc: Grant Peel [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Sent: Saturday, October 11, 2008 11:10 PM
Subject: Re: Mailman + Apache + Cookies + FreeBSD



On Oct 10, 2008, at 1:45 AM, Odhiambo Washington wrote:


Could you downgrade Mailman and see if the problem still persists?
I run the combination you have (except Mailman is 2.1.9 and FreeBSD is
6.3) and I haven't had an issue. Might be a bug introduced in Mailman
2.1.11


I'm running mailman 2.1.11 (installed from ports) without the  described 
problem.


So in at least one case, Apache, FreeBSD and Mailman 2.1.11 work  without 
exhibiting the described problem.


-j

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





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


Mailman + Apache + Cookies + FreeBSD

2008-10-09 Thread Grant Peel

Hi all,

I am not a fan of cross posting, but, I have to make a exception in this 
case as I can't seem to nail down whether its the software or OS causing me 
the problem.


Software: Apache 2.2, Python 2.5, Mailmain 2.1.11
OS: FreeBSD 6.2 Release #0

Apache and Python were built from ports, Mailman was built from source.

Problem: I can't stay logged into the Mailman web interface. Each time I 
submit a form, I am logged out. When I do log in, If I look on my local 
machine, I cant find a session cookie anywhere. It like is never set. And 
the Mailman documentation clearly states that none of the changes will be 
saved in that scenario.


Question: are there any people out there who can point me in the right 
direction? I assume that Python should be setting a cookie, but thats just a 
guess ... could it be OS related?


TIA,

-Grant 


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


Re: Mailman + Apache + Cookies + FreeBSD

2008-10-09 Thread Grant Peel

Thanks Chuck,

Tried all that several times.

My browser accepts cookies from many different (tested today and yesterday) 
sites.


-Grant

- Original Message - 
From: Chuck Swiger [EMAIL PROTECTED]

To: Grant Peel [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Thursday, October 09, 2008 6:09 PM
Subject: Re: Mailman + Apache + Cookies + FreeBSD



On Oct 9, 2008, at 2:59 PM, Grant Peel wrote:
Problem: I can't stay logged into the Mailman web interface. Each  time I 
submit a form, I am logged out. When I do log in, If I look  on my local 
machine, I cant find a session cookie anywhere. It like  is never set. 
And the Mailman documentation clearly states that none  of the changes 
will be saved in that scenario.


Question: are there any people out there who can point me in the  right 
direction? I assume that Python should be setting a cookie,  but thats 
just a guess ... could it be OS related?


Try restarting your browser, and double-checking that your preferences 
allow the webserver to set cookies.


Regards,
--
-Chuck

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





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


Re: Mailman + Apache + Cookies + FreeBSD

2008-10-09 Thread Grant Peel

Jerry,

I tried a few times to build it from source but since I am using 
Apache+Suexec, I was stuck on how to 'make' it and pass the parms needed to 
set the user and home directory, i.e. I needed the install directory to be 
set to /home/mailmain when the ports version insisted on setting it to 
/usr/local/mailman.


-Grant

- Original Message - 
From: Jerry [EMAIL PROTECTED]

To: freebsd-questions@freebsd.org
Sent: Thursday, October 09, 2008 6:22 PM
Subject: Re: Mailman + Apache + Cookies + FreeBSD


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


Re Apache + Mailman

2008-10-09 Thread Grant Peel

Cool Paul,

How about the rest of these:

'--prefix=/home/mailman'
'--with-username=mailman'
'--with-mail-gid=mailman'
'--with-cgi-gid=mailman'

And do you think it would make a difference to the cookies issue I am 
having?


-Grant 


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


Updating and Ports

2008-10-01 Thread Grant Peel

Hi all,

I have heard people chattering occasionally about /etc/make.conf.

In a few days, I will be updating from 6.2, and 6.3, to RELENGE_6_3 and am 
curious how I can use / modufy /etc/make.conf so that I dont need to install 
all my ports again.


Which leads to the question: I just installed /usr/ports/archivers/unzip 
onto all the servers, when I update to RELENG_6_3, will I need to reinstall 
them all over again? Which leads back to the original question, can I modify 
/etc/make.conf so that all ports currenly install are re installed?


-Grant 


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


Logrotate

2008-10-01 Thread Grant Peel

Hi all,

I have recently started using logrotate to rotate all the logs in the users 
home directories. These are all apache logs files.


/home/domain.com/logsaccess_log
/home/domain.com/logsaccess_log.0.gz
/home/domain.com/logsaccess_log.1.gz
/home/domain.com/logsaccess_log.2.gz

I have a problem though. Some of my domains have softlinks pointing to them, 
this causes the logs to be rotated 2 or more times (i.e. 1 time for the 
'real' directory, and 1 time each for each softlink pointing to them).


Example

/home/domain.com/logs/
domain2.com - domain.com
domain3.com - domain.com

will result in the 'access_log' being rotated 3 times in one run, causing my 
log dirs to look like this:


-rw-r--r--   1 root  holt   160 Oct  1 05:44 access_log
-rw-r--r--   1 root  holt   446 Oct  1 05:44 error_log
-rw-r--r--   1 root  holt20 Oct  1 03:46 access_log.1.gz
-rw-r--r--   1 root  holt20 Oct  1 03:46 access_log.2.gz
-rw-r--r--   1 root  holt20 Oct  1 03:46 access_log.3.gz
-rw-r--r--   1 root  holt20 Oct  1 03:46 access_log.4.gz
-rw-r--r--   1 root  holt20 Oct  1 03:46 access_log.5.gz
-rw-r--r--   1 root  holt20 Oct  1 03:46 access_log.6.gz
-rw-r--r--   1 root  holt   224 Oct  1 03:46 access_log.7.gz
-rw-r--r--   1 root  holt20 Sep 30 03:46 access_log.8.gz
-rw-r--r--   1 root  holt20 Sep 30 03:46 access_log.9.gz

Here is this appropriate part of my logrotate.conf

# logrotate.conf

compress

...

/home/*/logs/access_log {
   missingok
   rotate 14
   daily
   create 644 root
   sharedscripts
   postrotate
   /usr/local/sbin/apachectl restart
   endscript
   }

# End of logrotate.conf


Question, is there a way to stop this from happening?

-Grant


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


Bruteblocker

2008-10-01 Thread Grant Peel

Hi all,

I have been tinkering with bruteblock all night, and was wondering if anyone 
else on this list has used it. I can't seem to get proftpd.conf, syslog.conf 
setup correclty to log the ips to table one (in ipfw).


Any assistance would be appreciated.

-grant 


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


Server - Linux Compat

2008-09-23 Thread Grant Peel

Hi all,

When I was young, many many moons ago, and I installed FreeBSD 4.4 for the 
first time, I enabled linux compatability ...


Each build since, I have enabled it ...

So not I am at the point of asking myself why?

All I run is webservers and namesrvers, you know, Bind, Apache, Mysql, 
vmpop3d, PHP, Exim and shh...not to mention a few utils, ipa, ipfw etc.


Does anyone have any compelling reason I should continue to enable linux 
compatability?


Are there any pitfalls (Security, Performance) in doing so?

-Grant 


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


Re: Dealing with portscans

2008-09-22 Thread Grant Peel
- Original Message - 
From: David Allen [EMAIL PROTECTED]

To: freebsd-questions@freebsd.org
Sent: Monday, September 22, 2008 4:06 PM
Subject: Re: Dealing with portscans



On 9/22/08, Greg Larkin [EMAIL PROTECTED] wrote:

David Allen wrote:
Over the last few weeks I've been getting numerous ports scans, each 
from

unique hosts.  The situation is more of an annoyance than anything else,
but I would prefer not seeing or having to deal with an extra 20-30K
entries in my logs as was the case recently.

I use pf for firewalling, and while it does offer different methods
(max-src-conn, max-src-conn-rate, etc.) for dealing with abusive hosts, 
it

doesn't seem to offer much in the way of dealing with repeated blocked
(non-stateful) connection attempts from a given host.

Short of running something like snort, is there a suitable tool for
dealing with this?  If not, I'll probably resort to running a cronjob to
parse the logfile and add the offending hosts manually.


Hi David,

You might want to try security/portsentry from the ports tree.  It's a
bit dated, and it has no maintainer at the moment, but a cursory glance
at it tells me it might work for you.  It supports pf for blocking
connections once your trigger conditions are met.


I'll give it a try.

FWIW, I did discover that parsing the log files to get a list of
offending hosts (denied a number of times above a given certain
threshold) wasn't really as slow or troublesome as I thought.  That
slightly hackish approach might be useful for port scans in addition
to the various rubbish I get sent.

Thanks to both you and Jeff Laine for the replies.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]





Hiyas,

Would it work with IPFW or just PF?

Can PF and IPFW run at the same time?

-Grant 


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


  1   2   3   4   5   6   7   >