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

2011-06-29 Thread Van Der Meulen, Mark
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"


Dell PowerEdge 1950: MPT0 doesn't recogniz hard drive > 2TB

2011-06-29 Thread O. Hartmann
On a Dell PowerEdge 1950, BIOS from 2007, a freshly installed  WD 3 TB 
SATA 6GB harddrive doesn't get recognized as 3 TB disk, it is reported 
as 2TB disk only.


The box is running FreeBSD 8.2-STABLE (see below the dmesg excerpt). The 
drive is configured as ZFS pool on top of a GPT partition.


I tried the 3 TB harddrive on a FreeBSD 9.0-CURRENT box with Intel 
ICH10R SATA chipset and it worked fine, was reported as 2.7TB drive as 
expected.


I found some postings concerning mptutil not dealing with HD > 2TB, but 
this issue seems not to be a tool-issue.


Questions:
a) Is this an issue of FreeBSD 8.2-STABLE or is it a firmware/BIOS issue 
which can be solved?


b) regarding to a), how can I update the BIOS/MPT firmware of the Dell 
PowerEdge 1950? Is there an option to do this via USB? As I said, the 
firmware is quite old, it's from 2007.



Thanks in advance,

Oliver


==


Copyright (c) 1992-2011 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.2-STABLE #266 r223622: Tue Jun 28 09:38:38 CEST 2011
r...@thusnelda.geoinf.fu-berlin.de:/usr/obj/usr/src/sys/THUSNELDA amd64
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(R) CPU   E5420  @ 2.50GHz (2493.76-MHz 
K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x10676  Family = 6  Model = 17 
Stepping = 6


Features=0xbfebfbff

Features2=0xce3bd
  AMD Features=0x20100800
  AMD Features2=0x1
  TSC: P-state invariant
real memory  = 17179869184 (16384 MB)
avail memory = 16522498048 (15757 MB)
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
FreeBSD/SMP: 2 package(s) x 4 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
 cpu4 (AP): APIC ID:  4
 cpu5 (AP): APIC ID:  5
 cpu6 (AP): APIC ID:  6
 cpu7 (AP): APIC ID:  7
ioapic0: Changing APIC ID to 8
ioapic0  irqs 0-23 on motherboard
kbd1 at kbdmux0
cryptosoft0:  on motherboard
aesni0: No AESNI support.
acpi0:  on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
ipmi0: KCS mode found at io 0xca8 on acpi
ipmi0: KCS error: ff
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0

[...]

mpt0:  port 0xec00-0xecff mem 
0xfc4fc000-0xfc4f,0xfc4e-0xfc4e irq 16 at device 0.0 on pci1

mpt0: [ITHREAD]
mpt0: MPI Version=1.5.14.0
mpt0: Capabilities: ( RAID-0 RAID-1E RAID-1 )
mpt0: 0 Active Volumes (2 Max)
mpt0: 0 Hidden Drive Members (14 Max)

[...]

ipmi0: IPMI device rev. 0, firmware rev. 2.10, version 2.0
ipmi0: Number of channels 4
ipmi0: Attached watchdog
da0 at mpt0 bus 0 scbus0 target 0 lun 0
da0:  Fixed Direct Access SCSI-5 device
da0: 300.000MB/s transfers
da0: Command Queueing enabled
da0: 715404MB (1465149168 512 byte sectors: 255H 63S/T 91201C)
da1 at mpt0 bus 0 scbus0 target 1 lun 0
da1:  Fixed Direct Access SCSI-5 device
da1: 300.000MB/s transfers
da1: Command Queueing enabled
da1: 2097151MB (4294967295 512 byte sectors: 255H 63S/T 267349C)
ses0 at mpt0 bus 0 scbus0 target 8 lun 0
ses0:  Fixed Enclosure Services SCSI-5 device
ses0: 300.000MB/s transfers
ses0: SCSI-3 SES Device
cd0 at ata0 bus 0 scbus2 target 0 lun 0SMP: AP CPU #3 Launched!
cd0:
 Removable CD-ROM SCSI-0 device
cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present 
- tray closed

SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #7 Launched!
SMP: AP CPU #4 Launched!
SMP: AP CPU #6 Launched!
SMP: AP CPU #5 Launched!


___
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 Damien Fleuriot
*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"


clean up compat/pkg

2011-06-29 Thread Albert Shih
Hi all

After some time with portupgrade I've got 1.5 Go files in

/usr/local/lib/compat/pkg

how can I clean up this directory (and not making my BSD broken...;-) ).


Regards.

JAS
-- 
Albert SHIH
DIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
mer 29 jui 2011 10:27:55 CEST
___
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 PowerEdge 1950: MPT0 doesn't recogniz hard drive > 2TB

2011-06-29 Thread Damien Fleuriot
On 6/29/11 9:58 AM, O. Hartmann wrote:
> On a Dell PowerEdge 1950, BIOS from 2007, a freshly installed  WD 3 TB
> SATA 6GB harddrive doesn't get recognized as 3 TB disk, it is reported
> as 2TB disk only.
> 

I almost stopped reading at "BIOS from 2007".

You should definitely upgrade the BIOS before barging in and saying
you've got a problem ;)



> The box is running FreeBSD 8.2-STABLE (see below the dmesg excerpt). The
> drive is configured as ZFS pool on top of a GPT partition.
> 
> I tried the 3 TB harddrive on a FreeBSD 9.0-CURRENT box with Intel
> ICH10R SATA chipset and it worked fine, was reported as 2.7TB drive as
> expected.
> 

Was the drive handled by mpt too, or by mps ?


> I found some postings concerning mptutil not dealing with HD > 2TB, but
> this issue seems not to be a tool-issue.
> 
> Questions:
> a) Is this an issue of FreeBSD 8.2-STABLE or is it a firmware/BIOS issue
> which can be solved?
> 

Let's see you update the firmware and tell us ;)


> b) regarding to a), how can I update the BIOS/MPT firmware of the Dell
> PowerEdge 1950? Is there an option to do this via USB? As I said, the
> firmware is quite old, it's from 2007.
> 

Usually, this is done using dell's ISO image.

You can either do that directly in front of the server, or remotely with
dell's DRAC and by using virtual media.

Keep in mind that virtual media might or might not be supported by your
DRAC firmware version.

If you can't use the virtual media, you may also boot dell's ISO via PXE.
___
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 PowerEdge 1950: MPT0 doesn't recogniz hard drive > 2TB

2011-06-29 Thread Jeremy Chadwick
On Wed, Jun 29, 2011 at 09:58:02AM +0200, O. Hartmann wrote:
> On a Dell PowerEdge 1950, BIOS from 2007, a freshly installed  WD 3
> TB SATA 6GB harddrive doesn't get recognized as 3 TB disk, it is
> reported as 2TB disk only.
> 
> The box is running FreeBSD 8.2-STABLE (see below the dmesg excerpt).
> The drive is configured as ZFS pool on top of a GPT partition.
> 
> I tried the 3 TB harddrive on a FreeBSD 9.0-CURRENT box with Intel
> ICH10R SATA chipset and it worked fine, was reported as 2.7TB drive
> as expected.
> 
> I found some postings concerning mptutil not dealing with HD > 2TB,
> but this issue seems not to be a tool-issue.
> 
> Questions:
> a) Is this an issue of FreeBSD 8.2-STABLE or is it a firmware/BIOS
> issue which can be solved?
> 
> b) regarding to a), how can I update the BIOS/MPT firmware of the
> Dell PowerEdge 1950? Is there an option to do this via USB? As I
> said, the firmware is quite old, it's from 2007.

The answer is here:

http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/147572

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator   Mountain View, CA, US |
| Making life hard for others since 1977.   PGP 4BD6C0CB |

___
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: monitoring changes in SVN branches

2011-06-29 Thread Simon Olofsson

On 06/28/2011 09:13 PM, Matthias Apitz wrote:

Is there some tool (in the ports) to watch if changes done in one of SVN
branches are also incorporated into other branches?


Since version 1.5 SVN records this information in the mergeinfo 
property, see [1] and [2].

Writing a script that reads this property shouldn't be too hard.

[1] 
http://svnbook.red-bean.com/en/1.5/svn.branchmerge.basicmerging.html#svn.branchmerge.basicmerging.mergeinfo


[2] http://www.collab.net/community/subversion/articles/merge-info.html

Regards,
Simon

___
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: clean up compat/pkg

2011-06-29 Thread kron24

Dne 29.6.2011 10:31, Albert Shih napsal(a):

Hi all

After some time with portupgrade I've got 1.5 Go files in

/usr/local/lib/compat/pkg

how can I clean up this directory (and not making my BSD broken...;-) ).


Regards.

JAS



see man portslean - it mentions sysutils/libchk

BR
Oli
___
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: I have a error in freebsd 8.2, an internal system error has ocurred

2011-06-29 Thread Frank Shute
On Sun, Jun 26, 2011 at 10:33:06AM -0500, Edgar Rodolfo wrote:
>
> Hi guys!, i am new on freebsd, but i had installed freebsd 8.2 with
> graphical interface (gnome), i was very happy, but suddendly i saw a
> message, exactly the message said:
> we were not expecting has ocurred ..., look the photo, i don't
> understand exactly, 30 min the message appears, is dangerous the
> message?
> 
> http://subefotos.com/ver/?46893c74c902254a3d7789bb38a6b457o.png

It's not clear from that picture which application is causing the
error. My guess is that it's Gnome but you have to narrow it down by
running just the desktop and no applications to see if it still
occurs.

If it does, your best bet is to post to gnome@ and maybe they'll be
able to identify your problem.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpny7ksamaHM.pgp
Description: PGP signature


Opinion on using AMD Phenom II x6 1090t with Gigabyte 890BPA-UD3H and 8GB DDR-3 as a WebServer.

2011-06-29 Thread eculp
I just saw this box that is being promoted as a gaming machine at a  
great price and am considering it as a web-server.


In addition to having no information on the CPU as a server lack of  
comfort with 6 cores and memory 8GB of memory that I am having a  
problem with.  I am not a gamer but I have always assumed that a  
gaming machine needs the most aggressive hardware.  I have also seen  
this processor with 12 GB rather than 8 which, in my ignorance sounds  
better.


Any opinions and guidance are appreciated.

Thanks,

ed

I will be running 9.0 on this as I am already doing on one of my web-servers.

___
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: Opinion on using AMD Phenom II x6 1090t with Gigabyte 890BPA-UD3H and 8GB DDR-3 as a WebServer.

2011-06-29 Thread Mark Felder

On Wed, 29 Jun 2011 07:31:05 -0500,  wrote:

In addition to having no information on the CPU as a server lack of  
comfort with 6 cores and memory 8GB of memory that I am having a problem  
with.  I am not a gamer but I have always assumed that a gaming machine  
needs the most aggressive hardware.  I have also seen this processor  
with 12 GB rather than 8 which, in my ignorance sounds better.


I have /basically/ the same machine at home I use as my FreeBSD and  
occasionally gaming machine with 12GB of RAM. It runs FreeBSD *very* well.  
If you care a lot about stability though the downside is that it's not  
server class hardware, no ECC RAM, etc. But for a machine with a lot of  
cores and memory -- have at it!



Cheers,


Mark
___
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 PowerEdge 1950 with LSI SAS1068E/aka DeLL SAS-6 HBA: howto update firmware with FreeBSD?

2011-06-29 Thread O. Hartmann
We run a Dell PowerEdge 1950 Server which is equipted with a LSI Logic 
LSISAS1068E SAS HBA, branded as a Dell SAS-6 HBA (MPT). The firmware is 
dated to 2007 and is not capable of handling hard disks larger than 2 TB.


We got now a 3 TB SATA harddrive (WD WD30EZRX) which doesn't get 
recognized properly and is traeted as a 2TB disk.
I found at Dell's website a proper firmware for this type of SAS 
controller, but I wasn't able to flash a new firmware (firmware found at 
http://support.dell.com/support/downloads/format.aspx?c=us&cs=19&l=en&s=dhs&deviceid=13856&libid=46&releaseid=R197383&vercnt=3&formatcnt=0&SystemID=PWE_1950&servicetag=&os=WNET&osl=en&catid=-1&dateid=-1&typeid=-1&formatid=-1&impid=-1&checkFormat=true).


This fails. The windows alternative is not applicable, how should it ... 
A FreeDOS solution - like LSI Logic offers - is obviously not in sight 
at Dell, the offer a RedHat only solution. I tried with a FedoraLive CD 
(Fedora15, 64Bit), but the process fails either with a non-found 
builVer.sh-error or, when using a emergency-Linux CD like Knoppix 6.4.4 
(famous in Germany), it's missing some utilities (rpm, stty or whatsoever).


So, I'm floating like a dead man in the water, having a full old 2 TB 
harddrive, an exchange 3TB harddrive which is recognized as 2 TB 
harddrive and no chance to update the controller's firmware.


Is anybody out here with a solution under FreeBSD?

The box is running FreeBSD 8.2-STABLE with a most recent buildworld.

Thanks in advance,

Oliver

P.S. Please CC me, I'm not subscribing list "questions".
___
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: Opinion on using AMD Phenom II x6 1090t with Gigabyte 890BPA-UD3H and 8GB DDR-3 as a WebServer.

2011-06-29 Thread Edwin L. Culp W.
On Wed, Jun 29, 2011 at 8:13 AM, Mark Felder  wrote:
> On Wed, 29 Jun 2011 07:31:05 -0500,  wrote:
>
>> In addition to having no information on the CPU as a server lack of
>> comfort with 6 cores and memory 8GB of memory that I am having a problem
>> with.  I am not a gamer but I have always assumed that a gaming machine
>> needs the most aggressive hardware.  I have also seen this processor with 12
>> GB rather than 8 which, in my ignorance sounds better.
>
> I have /basically/ the same machine at home I use as my FreeBSD and
> occasionally gaming machine with 12GB of RAM. It runs FreeBSD *very* well.
> If you care a lot about stability though the downside is that it's not
> server class hardware, no ECC RAM, etc. But for a machine with a lot of
> cores and memory -- have at it!
>
>
> Cheers,
>
>
> Mark

Thanks, Mark.  I see you have 12G.  I'm totally ignorant on the
distribution of memory for the 6 cores if there is such a thing.  Is
it advantageous to have a multiple of 6 when ordering memory? (12, 18,
24)

As far as stability is concerned for a webserver, I don't see it as a
major concern.   I'm sure some of my older machines of the last 15
years were less stable even though they all had ECC, raid, etc.
Please correct me if I am wrong.  My perspective from Mexico, I'm sure
is very different than if I were in the US or Europe, etc.

Thanks,

ed
___
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 PowerEdge 1950: MPT0 doesn't recogniz hard drive > 2TB

2011-06-29 Thread Joshua Boyd
2011/6/29 O. Hartmann 

> Questions:
> a) Is this an issue of FreeBSD 8.2-STABLE or is it a firmware/BIOS issue
> which can be solved?
>

Hi Oliver,

Neither, unfortunately. The 1068E based cards do not support drives over
2TB. See here:

http://kb.lsi.com/KnowledgebaseArticle16399.aspx

-- 
Joshua Boyd

E-mail: boy...@jbip.net
http://www.jbip.net
___
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: Opinion on using AMD Phenom II x6 1090t with Gigabyte 890BPA-UD3H and 8GB DDR-3 as a WebServer.

2011-06-29 Thread Gary Gatten
Of course it depends on your apps, but unless you're doing some HUGE number of 
connections, or your apps are  "not good", this will be MORE than enough 
RAM and CPU.

Yes, generally speaking "more" of something is always better, in fact our 
government seems to think more debt is better than less.  However, if you're 
web apps only need xGB of RAM and y MIPS; what benefit is it to have n * x RAM 
and n * y MIPS?

Maybe turn this into a virtual host and make some use of that hardware, or just 
be happy using it at 5% capacity.

G


-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of eculp
Sent: Wednesday, June 29, 2011 7:31 AM
To: freebsd-questions
Subject: Opinion on using AMD Phenom II x6 1090t with Gigabyte 890BPA-UD3H and 
8GB DDR-3 as a WebServer.

I just saw this box that is being promoted as a gaming machine at a  
great price and am considering it as a web-server.

In addition to having no information on the CPU as a server lack of  
comfort with 6 cores and memory 8GB of memory that I am having a  
problem with.  I am not a gamer but I have always assumed that a  
gaming machine needs the most aggressive hardware.  I have also seen  
this processor with 12 GB rather than 8 which, in my ignorance sounds  
better.

Any opinions and guidance are appreciated.

Thanks,

ed

I will be running 9.0 on this as I am already doing on one of my web-servers.

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








"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."


___
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: Opinion on using AMD Phenom II x6 1090t with Gigabyte 890BPA-UD3H and 8GB DDR-3 as a WebServer.

2011-06-29 Thread Edwin L. Culp W.
On Wed, Jun 29, 2011 at 10:27 AM, Gary Gatten  wrote:
> Of course it depends on your apps, but unless you're doing some HUGE number 
> of connections, or your apps are  "not good", this will be MORE than 
> enough RAM and CPU.
>
> Yes, generally speaking "more" of something is always better, in fact our 
> government seems to think more debt is better than less.  However, if you're 
> web apps only need xGB of RAM and y MIPS; what benefit is it to have n * x 
> RAM and n * y MIPS?
>
> Maybe turn this into a virtual host and make some use of that hardware, or 
> just be happy using it at 5% capacity.
>
> G

Thanks Gary.  I've been thinking about the virtual host idea and have
some extra IP's so that might be fun. Traditionally when  I renovate
one may personal servers, I have them running at 5-20% capacity and
within a year, I usually have figured out ways to put most all to use.
 The price difference between a minimal design and something like this
usually not significant.  So this is sounding more and more like a go.

Have a great day,

ed

>
> -Original Message-
> From: owner-freebsd-questi...@freebsd.org 
> [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of eculp
> Sent: Wednesday, June 29, 2011 7:31 AM
> To: freebsd-questions
> Subject: Opinion on using AMD Phenom II x6 1090t with Gigabyte 890BPA-UD3H 
> and 8GB DDR-3 as a WebServer.
>
> I just saw this box that is being promoted as a gaming machine at a
> great price and am considering it as a web-server.
>
> In addition to having no information on the CPU as a server lack of
> comfort with 6 cores and memory 8GB of memory that I am having a
> problem with.  I am not a gamer but I have always assumed that a
> gaming machine needs the most aggressive hardware.  I have also seen
> this processor with 12 GB rather than 8 which, in my ignorance sounds
> better.
>
> Any opinions and guidance are appreciated.
>
> Thanks,
>
> ed
>
> I will be running 9.0 on this as I am already doing on one of my web-servers.
>
> ___
> 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"
>
>
>
>
>
> 
> 
> 
> "This email is intended to be reviewed by only the intended recipient
>  and may contain information that is privileged and/or confidential.
>  If you are not the intended recipient, you are hereby notified that
>  any review, use, dissemination, disclosure or copying of this email
>  and its attachments, if any, is strictly prohibited.  If you have
>  received this email in error, please immediately notify the sender by
>  return email and delete this email from your system."
> 
>
> ___
> 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: Opinion on using AMD Phenom II x6 1090t with Gigabyte 890BPA-UD3H and 8GB DDR-3 as a WebServer.

2011-06-29 Thread Robert Huff

Gary Gatten writes:

>  Yes, generally speaking "more" of something is always better, in
>  fact our government seems to think more debt is better than less.
>  However, if you're web apps only need xGB of RAM and y MIPS; what
>  benefit is it to have n * x RAM and n * y MIPS?

It is my understanding surplus RAM will be allocated to
file-caching.  Whether this benefits your particular application set
I would have no idea.

Respectfully,


Robert Huff


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


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

2011-06-29 Thread Damien Fleuriot
I would guess so, however I have no experience with fcgi on apache, I
only run it with nginx and lighttpd servers.


On 6/29/11 6:04 PM, Grant Peel wrote:
> 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/mailma

Question about NIC link state initialization

2011-06-29 Thread Steve Polyack
I have a handful of systems running FreeBSD 8.1-RELEASE.  An occaisional 
fat-finger in /etc/fstab may cause one to end up in single-user mode 
from time to time.  This would normally not be a problem, but some of 
these systems have a LOM (lights-out management) controller which shares 
the system's on-board NICs.  This works great 99% of the time, but when 
the system drops out of init(8) and into single-user mode, the links on 
the interfaces never come up, and therefore the LOM becomes 
inaccessible.  Cue remote-hands at the facility to help us remedy the 
problem.


I've been playing around with this configuration on a local system, and 
I've noticed that once at a single-user shell, all one has to do is run 
ifconfig to cause the NIC's links to come up.  You don't even have to 
specify the interface, nor do you have to specify "up".  As soon as I 
hit enter, ifconfig prints the typical interface summary - intermingled 
in with this are the bold kernel log messages stating "bce0: link state 
changed to UP" and "bce1: link state changed to UP".


So, my question is - why do we have to run ifconfig(8) to bring the 
links up on the attached interfaces?  Shouldn't they come up after the 
driver discovers and initializes the devices?  Keep in mind that I don't 
even have to pass any arguments (such as "up") to ifconfig.  
Furthermore, the behavior is exactly the same for bce(4) and em(4).


Short of patching init(8) (or perhaps the NIC drivers?), I don't see 
another way for me to ensure the links come up even when the system 
drops into single-user mode on boot.


- 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"


OpenNMS under FreeBSD?

2011-06-29 Thread Dennis Glatting
I am looking at OpenNMS under FreeBSD but it isn't in the ports tree 
although there are various discussions of OpenNMS under FreeBSD.


Is there a reason why OpenNMS isn't in the ports tree, such as it doesn't 
port, no one is willing to step up as a maintainer, or there are licensing 
issues?




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


mountroot

2011-06-29 Thread Dick Hoogendijk
I'm a little desperade. I installed a mirrored ZFS freebsd system in a 
VM the other day and all went well. Now I did the same procedure on a 
real systrem with two drives and I can't get the system to boot 
properly. Everytime it halts at the mountroot prompt.
If I manually put zfs:zroot at the prompt the system boots to the login 
screen.
I checked the /etc/rc.conf and the /boot/loader.conf for syntax errors 
but all seems well. What on earth can be the cause of this behaviour? 
What do I check? Help?

___
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: mountroot

2011-06-29 Thread Trond Endrestøl
On Wed, 29 Jun 2011 20:42+0200, Dick Hoogendijk wrote:

> I'm a little desperade. I installed a mirrored ZFS freebsd system in 
> a VM the other day and all went well. Now I did the same procedure 
> on a real systrem with two drives and I can't get the system to boot 
> properly. Everytime it halts at the mountroot prompt. If I manually 
> put zfs:zroot at the prompt the system boots to the login screen. I 
> checked the /etc/rc.conf and the /boot/loader.conf for syntax errors 
> but all seems well. What on earth can be the cause of this 
> behaviour? What do I check? Help?

Have you specified a bootfs?

E.g.:

  zpool set bootfs=zroot zroot

-- 
--
Trond Endrestøl  | trond.endres...@fagskolen.gjovik.no
ACM, NAS, NUUG, SAGE, USENIX |FreeBSD 8.2-STABLE & Alpine 2.00___
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: mountroot

2011-06-29 Thread Dick Hoogendijk

Op 29-6-2011 21:15, Trond Endrestøl schreef:

On Wed, 29 Jun 2011 20:42+0200, Dick Hoogendijk wrote:


I'm a little desperade. I installed a mirrored ZFS freebsd system in
a VM the other day and all went well. Now I did the same procedure
on a real systrem with two drives and I can't get the system to boot
properly. Everytime it halts at the mountroot prompt. If I manually
put zfs:zroot at the prompt the system boots to the login screen. I
checked the /etc/rc.conf and the /boot/loader.conf for syntax errors
but all seems well. What on earth can be the cause of this
behaviour? What do I check? Help?

Have you specified a bootfs?

E.g.:

   zpool set bootfs=zroot zroot


Yes, I did. And just did it again.
___
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: mountroot

2011-06-29 Thread Trond Endrestøl
On Wed, 29 Jun 2011 21:18+0200, Dick Hoogendijk wrote:

> Op 29-6-2011 21:15, Trond Endrestøl schreef:
> > On Wed, 29 Jun 2011 20:42+0200, Dick Hoogendijk wrote:
> > 
> > > I'm a little desperade. I installed a mirrored ZFS freebsd system in
> > > a VM the other day and all went well. Now I did the same procedure
> > > on a real systrem with two drives and I can't get the system to boot
> > > properly. Everytime it halts at the mountroot prompt. If I manually
> > > put zfs:zroot at the prompt the system boots to the login screen. I
> > > checked the /etc/rc.conf and the /boot/loader.conf for syntax errors
> > > but all seems well. What on earth can be the cause of this
> > > behaviour? What do I check? Help?
> > Have you specified a bootfs?
> > 
> > E.g.:
> > 
> >zpool set bootfs=zroot zroot
> 
> Yes, I did. And just did it again.

Please post your /boot/loader.conf.

-- 
--
Trond Endrestøl  | trond.endres...@fagskolen.gjovik.no
ACM, NAS, NUUG, SAGE, USENIX |FreeBSD 8.2-STABLE & Alpine 2.00___
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: mountroot

2011-06-29 Thread Dick Hoogendijk

Op 29-6-2011 21:19, Trond Endrestøl schreef:

On Wed, 29 Jun 2011 21:18+0200, Dick Hoogendijk wrote:


Op 29-6-2011 21:15, Trond Endrestøl schreef:

On Wed, 29 Jun 2011 20:42+0200, Dick Hoogendijk wrote:


I'm a little desperade. I installed a mirrored ZFS freebsd system in
a VM the other day and all went well. Now I did the same procedure
on a real systrem with two drives and I can't get the system to boot
properly. Everytime it halts at the mountroot prompt. If I manually
put zfs:zroot at the prompt the system boots to the login screen. I
checked the /etc/rc.conf and the /boot/loader.conf for syntax errors
but all seems well. What on earth can be the cause of this
behaviour? What do I check? Help?

Have you specified a bootfs?

E.g.:

zpool set bootfs=zroot zroot

Yes, I did. And just did it again.

Please post your /boot/loader.conf.

And did it again (zpool set bootfs=zroot zroot) ; rebooted and finally 
the system boots up.

So, problem solved. Posts arfe being fetched. Thanks.
___
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"


Wine-fbsd64 updated to 1.3.23 (32bit Wine for 64bit FreeBSD)

2011-06-29 Thread David Naylor
Hi,

Packages for wine-fbsd64-1.3.23 have been uploaded to mediafire [1].  The 
package now contains support for XInput2, fixing mouse warp, and is based on 
PR ports/158406.  

This release fixes installation of MS Office 2007 compared to 1.3.21 (previous 
package available).  

nVidia uses should rerun patch-wine-nvidia.sh after updating wine.

Regards,

David

[1] http://www.mediafire.com/wine_fbsd64


signature.asc
Description: This is a digitally signed message part.


zfs tuning

2011-06-29 Thread Dick Hoogendijk
I would welcome some advise on zfs tuning. Coming from solaris I need 
this info.
The system only has 2MB of ram. No problems running solaris11 in it so 
far so FreeBSD should do just fine too, but who can suggest some 
settings for:

vm.kmem_size
vm.kmem_size_max
vfs.zfs.arc_max
vfs.zfs.vdev.cache.size
Mind you, it's for a 2MB FreeBSD-8.2 system; no X; serving mail, web, dns
___
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: zfs tuning

2011-06-29 Thread Gary Gatten
2 "Mega" Bytes?  Surely that's a typo, but is it 200MB?  2GB?

Those that know ZFS will want to know the primary use / load of this system.

G


-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Dick Hoogendijk
Sent: Wednesday, June 29, 2011 4:42 PM
To: freebsd-questions@freebsd.org
Subject: zfs tuning

I would welcome some advise on zfs tuning. Coming from solaris I need 
this info.
The system only has 2MB of ram. No problems running solaris11 in it so 
far so FreeBSD should do just fine too, but who can suggest some 
settings for:
vm.kmem_size
vm.kmem_size_max
vfs.zfs.arc_max
vfs.zfs.vdev.cache.size
Mind you, it's for a 2MB FreeBSD-8.2 system; no X; serving mail, web, dns
___
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"








"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."


___
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: mountroot

2011-06-29 Thread Warren Block

On Wed, 29 Jun 2011, Dick Hoogendijk wrote:


Op 29-6-2011 21:19, Trond Endrestøl schreef:

On Wed, 29 Jun 2011 21:18+0200, Dick Hoogendijk wrote:


Op 29-6-2011 21:15, Trond Endrestøl schreef:

On Wed, 29 Jun 2011 20:42+0200, Dick Hoogendijk wrote:


I'm a little desperade. I installed a mirrored ZFS freebsd system in
a VM the other day and all went well. Now I did the same procedure
on a real systrem with two drives and I can't get the system to boot
properly. Everytime it halts at the mountroot prompt. If I manually
put zfs:zroot at the prompt the system boots to the login screen. I
checked the /etc/rc.conf and the /boot/loader.conf for syntax errors
but all seems well. What on earth can be the cause of this
behaviour? What do I check? Help?

Have you specified a bootfs?

E.g.:

zpool set bootfs=zroot zroot

Yes, I did. And just did it again.

Please post your /boot/loader.conf.

And did it again (zpool set bootfs=zroot zroot) ; rebooted and finally the 
system boots up.

So, problem solved. Posts arfe being fetched. Thanks.


If it's a timeout problem, there's kern.cam.boot_delay=1.___
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"

Attempting to get an X11 server running

2011-06-29 Thread Dieter BSD
FreeBSD 8.2
packages: packages-8.2-release
amd64
ATI Rage XL
Dell ST2220T (1920x1080)

"Xorg -configure" generates an xorg.conf file that somehow
puts it into 1280x1024 mode and the monitor refuses to use it.
I haven't found a way to get the full modeline info for whatever
it is actually putting out.  xdpyinfo just gives the resolution,
not the timing data.  I have not found a way to force it to use
a modeline of my choosing, it appariently just ignores modelines
added to the config file.

"Xorg" puts it into 1400x1050 and the monitor accepts it.
I can start a window manager and start an xterm window
(from another terminal).  But it does not listen to the
keyboard or mouse.

dbus seems to run ok, no errors observed.
hald starts up but complains and dies:

hald[61843]: 13:03:42.634 [E] ck-tracker.c:376: Error doing GetSeats on
 ConsoleKit: org.freedesktop.DBus.Error.ServiceUnknown: The name
 org.freedesktop.ConsoleKit was not provided by any .service files
hald[61843]: 13:03:42.634 [E] ck-tracker.c:820: Could not get seats and sessions
hald[61843]: 13:03:42.634 [W] hald_dbus.c:5881: Could not initialize
seats and sessions from ConsoleKit

google found
http://www.daemonforums.org/showthread.php?p=27601
which suggests using moused instead of hald.  moused runs,
but I think I have to get Xorg to use a config file to set
  Option "AllowEmptyInput" "off"
  Option "AutoAddDevices"  "off"
so that it will work without hald.

Question 1: why does "Xorg -configure" create a config file
that doesn't work the same way as just running "Xorg" ?

Question 2: how do I get a usable config file?

Question 3: how do I get complete modeline info for what
it is currently running?

Question 4: how do I force it to use a specific modeline?

Question 5: how do I get hald to work?
___
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: Attempting to get an X11 server running

2011-06-29 Thread Bernt Hansson

2011-06-30 02:12, Dieter BSD skrev:

FreeBSD 8.2
packages: packages-8.2-release
amd64
ATI Rage XL
Dell ST2220T (1920x1080)

"Xorg -configure" generates an xorg.conf file that somehow
puts it into 1280x1024 mode and the monitor refuses to use it.
I haven't found a way to get the full modeline info for whatever
it is actually putting out.  xdpyinfo just gives the resolution,
not the timing data.  I have not found a way to force it to use
a modeline of my choosing, it appariently just ignores modelines
added to the config file.


Q1: how do you start X?

Q2: Have you tried to start X without a config file?

Q3: Do you have consolekit installed?


"Xorg" puts it into 1400x1050 and the monitor accepts it.
I can start a window manager and start an xterm window
(from another terminal).  But it does not listen to the
keyboard or mouse.

dbus seems to run ok, no errors observed.
hald starts up but complains and dies:

hald[61843]: 13:03:42.634 [E] ck-tracker.c:376: Error doing GetSeats on
  ConsoleKit: org.freedesktop.DBus.Error.ServiceUnknown: The name
  org.freedesktop.ConsoleKit was not provided by any .service files
hald[61843]: 13:03:42.634 [E] ck-tracker.c:820: Could not get seats and sessions
hald[61843]: 13:03:42.634 [W] hald_dbus.c:5881: Could not initialize
seats and sessions from ConsoleKit

google found
http://www.daemonforums.org/showthread.php?p=27601
which suggests using moused instead of hald.  moused runs,
but I think I have to get Xorg to use a config file to set
   Option "AllowEmptyInput" "off"
   Option "AutoAddDevices"  "off"
so that it will work without hald.

Question 1: why does "Xorg -configure" create a config file
that doesn't work the same way as just running "Xorg" ?

Question 2: how do I get a usable config file?

Question 3: how do I get complete modeline info for what
it is currently running?

Question 4: how do I force it to use a specific modeline?

Question 5: how do I get hald to work?
___
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: mountroot

2011-06-29 Thread Carl Chave
2011/6/29 Warren Block 

> On Wed, 29 Jun 2011, Dick Hoogendijk wrote:
>
>  Op 29-6-2011 21:19, Trond Endrestøl schreef:
>>
>>> On Wed, 29 Jun 2011 21:18+0200, Dick Hoogendijk wrote:
>>>
>>>  Op 29-6-2011 21:15, Trond Endrestøl schreef:

> On Wed, 29 Jun 2011 20:42+0200, Dick Hoogendijk wrote:
>
>  I'm a little desperade. I installed a mirrored ZFS freebsd system in
>> a VM the other day and all went well. Now I did the same procedure
>> on a real systrem with two drives and I can't get the system to boot
>> properly. Everytime it halts at the mountroot prompt. If I manually
>> put zfs:zroot at the prompt the system boots to the login screen. I
>> checked the /etc/rc.conf and the /boot/loader.conf for syntax errors
>> but all seems well. What on earth can be the cause of this
>> behaviour? What do I check? Help?
>>
> Have you specified a bootfs?
>
> E.g.:
>
>zpool set bootfs=zroot zroot
>
 Yes, I did. And just did it again.

>>> Please post your /boot/loader.conf.
>>>
>>>  And did it again (zpool set bootfs=zroot zroot) ; rebooted and finally
>> the system boots up.
>> So, problem solved. Posts arfe being fetched. Thanks.
>>
>
> If it's a timeout problem, there's kern.cam.boot_delay=1.
>

+1 for kern.cam.boot_delay=1.  I had the same problem and that setting
fixed it for me.
___
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: Opinion on using AMD Phenom II x6 1090t with Gigabyte 890BPA-UD3H and 8GB DDR-3 as a WebServer.

2011-06-29 Thread Polytropon
On Wed, 29 Jun 2011 10:47:09 -0500, Edwin L. Culp W. wrote:
>  The price difference between a minimal design and something like this
> usually not significant.  So this is sounding more and more like a go.

Allow me a short addition:

Gaming machines usually put no emphasize on energy efficiency.
This means power consumption of several hundred Watts, up to
more than 1000, is quite possible. Keep in mind that _running_
a machine also adds up to the price - see TCO. Especially CPUs
and GPU are cost-intensive, but hard disks also seem to be.

For use as a server, it's typical to assume that the machine
will run 24 hours a day, 7 days a week, as long as it fails.
You can easily calculate those costs and put them into relation
with older systems that "only" consume 150 Watts. :-)

But aside, I agree with the suggestion of utilizing the "95%
unused system capacity" for virtual hosts or other means. Make
the system more efficient than a light bulb. :-)


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: OpenNMS under FreeBSD?

2011-06-29 Thread Brandon Gooch
On Wed, Jun 29, 2011 at 12:03 PM, Dennis Glatting  wrote:
> I am looking at OpenNMS under FreeBSD but it isn't in the ports tree
> although there are various discussions of OpenNMS under FreeBSD.
>
> Is there a reason why OpenNMS isn't in the ports tree, such as it doesn't
> port, no one is willing to step up as a maintainer, or there are licensing
> issues?
>

There is a port here, created by Sevan Janiyan:

http://www.geeklan.co.uk/files/opennms/

I don't know whether or not it's been submitted to ports yet, but I'd
be interested to see if you get it up and running. Report back with
your findings!

-Brandon
___
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"


PID 11 using 400% CPU

2011-06-29 Thread Manish Jain

   Hello All,
   I have a strange problem with my 8.1 box. After booting, the hard disk
   goes into a full-speed never-ending spin. 'ps waux' always shows pid
   11 as taking 400% CPU utilization :
   /root # ps -up 11
   USER   PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED  TIME COMMAND
   root11 400.0  0.0 032  ??  RL7:22PM 166:35.46 [idle]
   I have tried multiple tweaks to resolve this - all to no effect. The
   only thing that seems out of place is that polkitd seems to be
   missing. (I have no idea why this is the case). /etc/rc.conf states
   polkitd_enable="YES".
   This happens even in single-user mode, which I used to try to fix any
   filesystem errors with 'fsck -fy' : there were none.
   My system has only 2 partitions : ad8s2a (/) and ad8s2b (swap).
   Any pointers to what might the problem be ? Thanks in advance.
   Regards
   Manish Jain
   [1]invalid.poin...@gmail.com

References

   1. mailto:invalid.poin...@gmail.com
___
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: Attempting to get an X11 server running

2011-06-29 Thread Dieter BSD
> Q1: how do you start X?

"Xorg"
(no config file)

result: display works (1400x1050), but no keyboard or mouse

"Xorg -configure"
(creates /root/xorg.conf.new)
"Xorg -config /root/xorg.conf.new"

result: 1280x1024 which monitor doesn't like

I also tried "Xorg -keyboard Keyboard0 -pointer Mouse0"
with and without "-config /root/xorg.conf.new", same results.
I tried editing the config file, adding a 1400x1050 modeline,
same results.

> Q2: Have you tried to start X without a config file?

Yes, see above

> Q3: Do you have consolekit installed?

yes, consolekit-0.4.3 from .../amd64/packages-8.2-release/...
___
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: PID 11 using 400% CPU

2011-06-29 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org  Wed Jun 29 23:07:59 2011
> Date: Thu, 30 Jun 2011 09:37:11 +0530
> From: Manish Jain 
> To: freebsd-questions@freebsd.org
> Subject: PID 11 using 400% CPU
>
>
>Hello All,
>I have a strange problem with my 8.1 box. After booting, the hard disk
>goes into a full-speed never-ending spin. 'ps waux' always shows pid
>11 as taking 400% CPU utilization :
>/root # ps -up 11
>USER   PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED  TIME COMMAND
>root11 400.0  0.0 032  ??  RL7:22PM 166:35.46 [idle]
>I have tried multiple tweaks to resolve this - all to no effect. The
>only thing that seems out of place is that polkitd seems to be
>missing. (I have no idea why this is the case). /etc/rc.conf states
>polkitd_enable="YES".
>This happens even in single-user mode, which I used to try to fix any
>filesystem errors with 'fsck -fy' : there were none.
>My system has only 2 partitions : ad8s2a (/) and ad8s2b (swap).
>Any pointers to what might the problem be ? Thanks in advance.

The problem is that you have twin dual-core CPUs or a single 4-core CPU.
The solution is to substitute a single single-core CPU.

This will bring the _system_idle_process_ utilization down to 100% when the 
system is _not_ doing anything else.

OR, you can compile the following C program:


  #include 
  int main( int argc, char** argv)
  {
 while (1);
 exit(0);
  }

and run, say, 8 copies of it in background.  this will reduce the cpu
utilization of PID 11 to roughly 0%.

The fact that the disk is running is absolutely normal.
___
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: PID 11 using 400% CPU

2011-06-29 Thread Dan Nelson
In the last episode (Jun 30), Manish Jain said:
> 
>Hello All,
>I have a strange problem with my 8.1 box. After booting, the hard disk
>goes into a full-speed never-ending spin. 

To see what disk I/O is being done, try running "ktrace -dip 0 ; sleep 10 ;
ktrace -C", to capture all syscalls done on the entire system (pid 0 plus
children) for 10 seconds, then run "kdump -m64 | less" to view the results. 
Look for read or write calls.

> 'ps waux' always shows pid
>11 as taking 400% CPU utilization :
>/root # ps -up 11
>USER   PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED  TIME COMMAND
>root11 400.0  0.0 032  ??  RL7:22PM 166:35.46 [idle]
>I have tried multiple tweaks to resolve this - all to no effect. The

As for this, what's to resolve?  The idle process is a placeholder with one
thread per CPU that accounts for time the CPU isn't doing any work.  If you
want to reduce it's "CPU use", run other CPU-intensive processes :)  BTW,
Windows has the same thing if you look at task manager; it's called "System
Idle Process" there.

-- 
Dan Nelson
dnel...@allantgroup.com
___
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: Question about NIC link state initialization

2011-06-29 Thread perryh
Steve Polyack  wrote:

> ... An occaisional fat-finger in /etc/fstab may cause one to
> end up in single-user mode ... some of these systems have a LOM
> (lights-out management) controller which shares the system's
> on-board NICs ... when the system drops out of init(8) and into
> single-user mode, the links on the interfaces never come up,
> and therefore the LOM becomes inaccessible.
>
> ... all one has to do is run ifconfig to cause the NIC's links to
> come up ... why do we have to run ifconfig(8) to bring the links
> up on the attached interfaces?

When trying to troubleshoot a problem that was known or suspected to
involve the network or its hardware, one might not _want_ the NICs
alive.

> Short of patching init(8) (or perhaps the NIC drivers?), I don't
> see another way for me to ensure the links come up even when the
> system drops into single-user mode on boot.

Something in /root/.profile, perhaps?  That should get run when the
single-user shell starts up, if it's started as a "login" shell.
___
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"