Re: SAMBA 3.0.28a and CVE-2008-1105

2008-06-19 Thread Konrad Heuer


On Thu, 19 Jun 2008, O. Hartmann wrote:

We still have Samba R3.0.28a in the ports but regarding to CVE-2008-1105 
shouldn't it be R3.0.30?


As far as I know the mentioned security patch gets applied when building 
Samba from ports.


Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [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: Vsftpd rotate logs with newsyslog...

2008-06-19 Thread Agus
2008/6/20 Agus <[EMAIL PROTECTED]>:

> 2008/6/19 David Robillard <[EMAIL PROTECTED]>:
>
>> > Well yes, this is precisely the reason why we use a SIGHUP (equivalent
>> to
>> > "apachectl restart") instead of a SIGUSR1 (apachectl graceful). We don't
>> > really care about a few broken client connections since the logs are
>> rotated
>> > at a quiet time.
>> >
>> > Of course, YMMV.
>>
>> Yes, of course :)
>>
>> > regards,
>> > Ruben
>>
>> Cheers,
>>
>> DA+
>> --
>> David Robillard
>> UNIX systems administrator & Oracle DBA
>> CISSP, RHCE & Sun Certified Security Administrator
>> Montreal: +1 514 966 0122
>>
>
>
> Thank u all very much guysi will see if i do a graceful or simply a
> restart cause i dont think the apache will be getting too many connections
> all the timebut that clarifications was quite good Davidand thank u
> for the examplethat is always the best way to understand things...much
> appreciated...
>
> Will try bothjust a question about compression...What i understood from
> your mail is that as apache takes some time to let his children close all
> connections i shouldn zip those logs cause, newsyslog wont wait till apache
> finishes and probably will xip logs that are still being access by the
> children? if htat is the case using a HUP will close all and allow me to use
> compresion?
>
> Cheers,
> Agustin
>


Sorry guys...got one more doubtWhy do u use B (binary) if apache logs
are simple text? any particular reason?

Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Vsftpd rotate logs with newsyslog...

2008-06-19 Thread Agus
2008/6/19 David Robillard <[EMAIL PROTECTED]>:

> > Well yes, this is precisely the reason why we use a SIGHUP (equivalent to
> > "apachectl restart") instead of a SIGUSR1 (apachectl graceful). We don't
> > really care about a few broken client connections since the logs are
> rotated
> > at a quiet time.
> >
> > Of course, YMMV.
>
> Yes, of course :)
>
> > regards,
> > Ruben
>
> Cheers,
>
> DA+
> --
> David Robillard
> UNIX systems administrator & Oracle DBA
> CISSP, RHCE & Sun Certified Security Administrator
> Montreal: +1 514 966 0122
>


Thank u all very much guysi will see if i do a graceful or simply a
restart cause i dont think the apache will be getting too many connections
all the timebut that clarifications was quite good Davidand thank u
for the examplethat is always the best way to understand things...much
appreciated...

Will try bothjust a question about compression...What i understood from
your mail is that as apache takes some time to let his children close all
connections i shouldn zip those logs cause, newsyslog wont wait till apache
finishes and probably will xip logs that are still being access by the
children? if htat is the case using a HUP will close all and allow me to use
compresion?

Cheers,
Agustin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


g4u

2008-06-19 Thread Jean-Paul Natola
can I use G4U  to clone a 40 gig drive to a 30 gig drive,  if the source
drive only has 20 gigs of data?
 
 
 
 
 
 
 
Jean-Paul Natola
Network Administrator
Information Technology
Family Care International
588 Broadway Suite 503
New York, NY 10012
Phone:212-941-5300 xt 36
Fax:  212-941-5563
Mailto: [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: FreeBSD and Greek support

2008-06-19 Thread Giorgos Keramidas
On Thu, 19 Jun 2008 08:51:40 +0300, Manolis Kiagias <[EMAIL PROTECTED]> wrote:
>> Good point.  I'm too sleepy right now (the coffee hasn't started kicking
>> in yet from a very early wake up), but it would be nice if we also added
>> a note to the article saying that it is important to have the correct
>> locale environment *before* the X server fires up, to make sure that all
>> X11 programs grok Greek.
>>
>> Manolis, if you feel like it, and you get to it before I do later today,
>> can you add a note like this?  If you don't, I'll get around to it when
>> I finish some early morning errands.
>
> Done, and pushed along with a few minor other fixes.

In CVS now too.  Thanks! :-)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ImageMagick 6.4.1.5 tests fail on FBSD-7.0

2008-06-19 Thread Chris Whitehouse

Anton Shterenlikht wrote:

On Wed, Jun 18, 2008 at 08:23:20PM +0100, Chris Whitehouse wrote:

Anton Shterenlikht wrote:

I sent a query to ImageMagick port maintainers about this.

I'm getting errors while trying to upgrade to
ImageMagick 6.4.1.5 on FreeBSD 7.0-release.

Below are the error messages and my ImageMagick configuration.

Please advise
many thanks
anton


[skip]

PASS: utilities/tests/wave.sh
PASS: utilities/tests/montage.sh

All 697 tests passed

cd PerlMagick && make CC='cc' test
/bin/sh ../magick.sh PERL_DL_NONLAZY=1 /usr/local/bin/perl5.8.8 
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" 
t/*.t t/bzlib/*.t t/fpx/*.t t/jbig/*.t t/jpeg/*.t t/jp2/*.t t/png/*.t 
t/tiff/*.t t/wmf/*.t t/zlib/*.t

t/blobdubious




   Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED test 1
   Failed 1/1 tests, 0.00% okay
t/bzlib/read..dubious
   Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED test 1
   Failed 1/1 tests, 0.00% okay
t/bzlib/write.dubious
   Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED test 1
   Failed 1/1 tests, 0.00% okay
t/composite...dubious
   Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-18
   Failed 18/18 tests, 0.00% okay
t/filter..dubious
   Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-58
   Failed 58/58 tests, 0.00% okay
t/fpx/readdubious
   Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-5
   Failed 5/5 tests, 0.00% okay
t/fpx/write...dubious
   Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-4
   Failed 4/4 tests, 0.00% okay
t/getattributedubious
   Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-25
   Failed 25/25 tests, 0.00% okay
t/jbig/read...dubious
   Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED test 1
   Failed 1/1 tests, 0.00% okay
t/jbig/write..dubious
   Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED test 1
   Failed 1/1 tests, 0.00% okay
t/jp2/readdubious
   Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-3
   Failed 3/3 tests, 0.00% okay
t/jpeg/read...dubious
   Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-2
   Failed 2/2 tests, 0.00% okay
t/jpeg/write..dubious
   Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-2
   Failed 2/2 tests, 0.00% okay
t/montage.dubious
   Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-19
   Failed 19/19 tests, 0.00% okay
t/png/read-16.dubious
   Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-5
   Failed 5/5 tests, 0.00% okay
t/png/readdubious
   Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-6
   Failed 6/6 tests, 0.00% okay
t/png/write-16dubious
   Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-5
   Failed 5/5 tests, 0.00% okay
t/png/write...dubious
   Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-6
   Failed 6/6 tests, 0.00% okay
t/readdubious
   Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-47
   Failed 47/47 tests, 0.00% okay
t/setattributedubious
   Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-71
   Failed 71/71 tests, 0.00% okay
t/tiff/read...dubious
   Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-16
   Failed 16/16 tests, 0.00% okay
t/tiff/write..dubious
   Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-10
   Failed 10/10 tests, 0.00% okay
t/wmf/readdubious
   Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-2
   Failed 2/2 tests, 0.00% okay
t/write...dubious
   Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-32
   Failed 32/32 tests, 0.00% okay
t/zlib/read...dubious
   Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED test 1
   Failed 1/1 tests, 0.00% okay
t/zlib/write..dubious
   Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED test 1
   Failed 1/1 tests, 0.00% okay
Failed Test  Stat Wstat Total Fail  Failed  List of Failed
---
t/blob.t0   139 12 200.00%  1
t/bzlib/read.t  0   139 12 200.00%  1
t/bzlib/write.t 0   139 12 200.00%  1
t/composite.t   0   13918   36 200.00%  1-18
t/filter.t  0   13958  116 200.00%  1-58
t/fpx/read.t0   139 5   10 200.00%  1-5
t/fpx/write.t   0   139 48 200.00%  1-4
t/getattribute.t0   13925   50 200.00%  1-25
t/jbig/read.t   0   139 12 200.00%  1
t/jbig/write.t  0   139 12 200.00%  1
t/jp2/read.t0   139 36 200.00%  1-3
t/jpeg/read.t   0   139 24 

Re: FreeBSD based web hosting?

2008-06-19 Thread Garance A Drosihn

At 10:37 PM -0400 6/18/08, Maxim Khitrov wrote:

On Wed, Jun 18, 2008 at 9:27 PM, cpghost <[EMAIL PROTECTED]> wrote:

 On Thu, 19 Jun 2008 10:31:31 +1000
 Greg 'groggy' Lehey <[EMAIL PROTECTED]> wrote:


 I'm looking for somebody to host some web sites for me.  Ideally I'd
 like a complete machine, but a jail would do too.  I can find plenty
 of Linux-based offerings, but the only one I can find with FreeBSD is
 in Germany and requires me to be resident in Germany.  Can anybody
 point me to one that I, as an Australian resident, can use?


 Here's a list of FreeBSD-based hosters:
  http://www.freebsd.org/commercial/isp.html



Is anyone here using RootBSD?


I recently signed up for a Xen VPS setup at RootBSD.  It seems to be
working fine, at least for what I want out of it.  I'm using it as a
"hot-spare, off-site backup" for a service that I run, so what I'm
doing is probably much less demanding than what most people would
want from it.  But so far I've been able to set things up the way I
want, and it's worked fine.  My biggest problem so far is that I
haven't had enough spare time to work on it!

I have no idea if they would take customers from outside the US,
but they have been pretty responsive to questions I have sent to
them via email.

I see they've updated their site since I signed up:
  http://www.rootbsd.net/


I'm currently with JohnCompanies. Overall, it's been a positive
experience, though I wish they offered FreeBSD 7. Beta testing for
it was supposed to begin last month, but so far no news.


My Xen VPS is setup with FreeBSD 7.0-RELEASE.  When I signed up,
they were just starting to try Xen-based setups instead of jails.
It looks like they've officially rolled that out as a service to
everyone.


My main concern is disk space; I have 2GB for ~$26 per month. For the
same price at RootBSD you could get almost eight times as much. The
question is how reliable are they? I can't find any information on
their site about where the data center is or the exact system
specifications.


Machines are located in two different datacenters in Raleigh, NC (or
at least, that's what they told me!).  In my case, I just wanted a
machine located far enough away from Troy, NY that any problem which
took out my office machine would not take out my "off-site" machine.
North Carolina sounded far enough away to me!

At the moment, my machine has been up for 35 days, and at that time
the reason it went down was because I rebooted it after making some
changes.  I've had the system for maybe two months, and haven't had
any problems with it.  Remember though, I haven't been pushing it
all that much.  Basically do automatic backups to it at night, and
then may ssh into it to test a few things a week.

--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [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: FreeBSD based web hosting?

2008-06-19 Thread Garance A Drosihn

Seeing the question:

 > Is anyone here using RootBSD?



At 10:55 AM +0700 6/19/08, OutBackDingo wrote:

I was going to go with them for their XEN based hosting, but i sent
them an email, asking a couple questions, they never replied, so
went with Verio instead


I notice the rootbsd guys did a major web-site upgrade at the end
of May.  They also have a recent news-item saying:

   Friday, June 13th, 2008

   - Unfortunately we had a programming problem on part of our
 website.  Messages sent through the 'contact' form have not
 been received.  This is now fixed.
   - If you have sent us a message and not received a response,
 please contact us again.  We apologize for the inconvenience
 and promise we weren't just trying to ignore you.

Obviously this is too late to help OutBackDingo, but if someone else
is waiting for email from them, you might want to try to contact them
again.

--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [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: clone a drive, no raid involved

2008-06-19 Thread Warren Block

On Thu, 19 Jun 2008, Brad Mettee wrote:

I'm setting up a pair of machines with almost identical OS config, and 
completely identical hardware. One is a primary DNS server, the other is 
secondary. NS1 will also serve web, NS2 will be a mail server. Both are low 
volume/loads.


It looks like I can use DD to copy an entire drive, but it's a 500G drive and 
that's going to take a really long time (especially since it's brand new with 
no data besides base OS).


My question: Is there a better way to duplicate a drive including boot info?


The way I've done that in the past is to backup the source system with 
dump for /, /var, and /usr.


Then do a minimal install on the clone, setting up the appropriate 
partition sizes.  That is quicker for me than trying to remember fdisk 
and bsdlabel options.  It also avoids the embarrassing situation of 
getting source and destination disks mixed up when they're both on the 
same machine.


On the clone, restore from the original dump files over the new system 
with "restore -ruf dumpfile".


This may be helpful:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Frets on Fire from ports (short and sweet)

2008-06-19 Thread Gonzalo Nemmi
On Thursday 19 June 2008 16:07:48 Jona Joachim wrote:
> On 2008-06-19, Gonzalo Nemmi <[EMAIL PROTECTED]> wrote:
> > in short: has anybody been able to get it working from ports?
> >
> > in here:
> >
> > [EMAIL PROTECTED]:~ # uname -srm
> > FreeBSD 7.0-RELEASE i386
> > [EMAIL PROTECTED]:~ # cd /usr/ports/games/fretsonfire
> > [EMAIL PROTECTED]:/usr/ports/games/fretsonfire # make install clean
> >===>  Installing for fretsonfire-1.2.451_2
> >===>   fretsonfire-1.2.451_2 depends on
> > file: /usr/local/lib/python2.5/site-packages/Numeric/_numpy.so - found
> >===>   fretsonfire-1.2.451_2 depends on
> > file: /usr/local/lib/python2.5/site-packages/pygame/__init__.py - found
> >===>   fretsonfire-1.2.451_2 depends on
> > file: /usr/local/lib/python2.5/site-packages/OpenGL/__init__.py - found
> >===>   fretsonfire-1.2.451_2 depends on
> > file: /usr/local/lib/python2.5/site-packages/amanith.py - found
> >===>   fretsonfire-1.2.451_2 depends on
> > file: /usr/local/lib/python2.5/site-packages/PIL/__init__.py - found
> >===>   fretsonfire-1.2.451_2 depends on
> > file: /usr/local/lib/python2.5/site-packages/glew/__init__.py - not found
> >===>Verifying install
> > for /usr/local/lib/python2.5/site-packages/glew/__init__.py
> > in /usr/ports/graphics/py-glewpy
> >===>  py25-glewpy-0.7.4_1 is marked as broken: fails to install.
> > *** Error code 1
> >
> > Stop in /usr/ports/graphics/py-glewpy.
> > *** Error code 1
> >
> > Stop in /usr/ports/games/fretsonfire.
> > [EMAIL PROTECTED]:/usr/ports/games/fretsonfire #
> >
> > py25-glewpy-0.7.4_1 has been marked as broken since the day I installed
> > FBSD7 (2 two days after its release).
> >
> > Has anyone tried to install it and succeded or shoud I fill a PR on
> > py25-glewpy-0.7.4_1 (or fretsonfire for that matter ...)??
> >
> > I want to make sure before submitting a PR .. or two =P
>
> in the graphics/py-glewpy Makefile you can read:
>
> BROKEN=   fails to install
> DEPRECATED= Has been broken for more than 6 months
> EXPIRATION_DATE=2008-09-19
> this means that glewpy is known to be broken and it is scheduled for
> deletion.

Yup .. I had read the Makefile ... I just wanted to make sure somebody else 
was on this in order not to submmit a useless PR ...

> If you try to build glewpy it tells you something about pyrex not
> generating the right code. I don't know if that problem actually comes from
> pyrex or from glewpy.
>
> Anyway filing PR about this will not change anything, except if they come
> with a patch to make it work ;)

Thanks for clearing that out .. That's one less PR then
(unfortunately I'm in no position to submmit a patch :( sorry ..)

> As for Frets on Fire, yes it's very unfortunate that it doesn't work on
> FreeBSD ATM.

Indeed =(

Thanks for clearing my doubts =)
-- 
Blessings
Gonzalo Nemmi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Jail problem while starting

2008-06-19 Thread Jo Pesko

Hi,

I'm using FreeBSD 7.0 version and expecting some problems with jail. 
/etc/rc.d/jail script hangs when it try to map jail's interface to alias 
address of my nic. Script successfully starting if i removing alias 
address from rc.conf(or manually via ifconfig). Any info will be 
helpful. Thanks.


Best Regards,
Jo Pesko
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dual NIC routing (?) problem

2008-06-19 Thread The MadDaemon
(Sorry, I replied to Yuri only by mistake)

On Thu, Jun 19, 2008 at 10:49 AM, The MadDaemon <[EMAIL PROTECTED]> wrote:
> On Tue, Jun 17, 2008 at 3:47 PM, Yuri Pankov <[EMAIL PROTECTED]> wrote:
>> The MadDaemon wrote:
>>>
>>> List,
>>>
>>> I'm having a problem with a dual-homed host running 7.0-RELEASE with
>>> regards to traffic on one of the interfaces that I'm hoping someone
>>> knows something about.
>>>
>>> The goal of this box is to run Nessus on bge0 only (which is plugged
>>> into a trunk port on a switch), keeping fxp0 free as the admin
>>> interface and for serving web pages on my LAN.
>>>
>>> Here's ifconfig:
>>>
>>> bge0: flags=8802 metric 0 mtu 1500
>>>options=9b
>>>ether 00:19:b9:22:a8:22
>>>inet 0.0.0.0 netmask 0xff00 broadcast 0.0.0.255
>>>media: Ethernet autoselect (100baseTX )
>>>status: active
>>> fxp0: flags=8843 metric 0 mtu 1500
>>>options=b
>>>ether 00:02:b3:bb:59:17
>>>inet 10.20.10.24 netmask 0xff00 broadcast 172.20.10.255
>>>inet 10.20.10.28 netmask 0x broadcast 172.20.10.28
>>>inet 10.20.10.29 netmask 0x broadcast 172.20.10.29
>>>media: Ethernet autoselect (100baseTX )
>>>status: active
>>>
>>> /etc/rc.conf section:
>>>
>>> # Created: Mon Jun  9 09:32:52 2008
>>> defaultrouter="10.20.10.254"
>>> hostname="darkhorse.mydomain.local"
>>> ifconfig_fxp0="inet 10.20.10.24  netmask 255.255.255.0"
>>> ifconfig_fxp0_alias0="inet 10.20.10.28 netmask 255.255.255.255"
>>> ifconfig_fxp0_alias1="inet 10.20.10.29 netmask 255.255.255.255"
>>> ifconfig_bge0="inet 0.0.0.0 netmask 255.255.255.0"
>>
>> Try using ifconfig_bge0="up" in /etc/rc.conf instead of assigning bogus
>> (probably) address.
>
> Tried that as well and it didn't work.  I found a few different things
> regarding VLAN setup, so my new (and not working) configuration is
> this (in part):
>
> ##
> # VLAN Configuration #
> ##
> cloned_interface="vlan2"
> ifconfig_vlan2="inet 10.21.1.245 netmask 255.255.255.0 vlan 2 vlandev bge0"
> cloned_interface="vlan5"
> ifconfig_vlan5="inet 10.20.8.245 netmask 255.255.255.0 vlan 5 vlandev bge0"
> cloned_interface="vlan6"
> ifconfig_vlan6="inet 10.20.7.245 netmask 255.255.255.0 vlan 6 vlandev bge0"
>
> (I got the VLAN IDs straight from the router, so they are correct for
> each VLAN.)
>
> [EMAIL PROTECTED] [~]# ifconfig bge0 inet 10.20.8.245 netmask 255.255.255.0
> [EMAIL PROTECTED] [~]# ifconfig bge0 up
> [EMAIL PROTECTED] [~]# ifconfig bge0
> bge0: flags=8843 metric 0 mtu 1500
>options=9b
>ether 00:19:b9:22:a8:22
>inet 10.20.8.245 netmask 0xff00 broadcast 10.20.8.255
>media: Ethernet autoselect (100baseTX )
>status: active
> [EMAIL PROTECTED] [~]# ping -c 2 10.20.8.4
> PING 10.20.8.4 (10.20.8.4): 56 data bytes
>
> --- 10.20.8.4 ping statistics ---
> 2 packets transmitted, 0 packets received, 100.0% packet loss
>



-- 
It said "use Linux 2.4 kernel or better" so I installed FreeBSD. Now
everything runs better. Why didn't they just tell me to do that to
begin with?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: clone a drive, no raid involved

2008-06-19 Thread Alexander Motin

Brad Mettee wrote:
I'm setting up a pair of machines with almost identical OS config, and 
completely identical hardware. One is a primary DNS server, the other is 
secondary. NS1 will also serve web, NS2 will be a mail server. Both are 
low volume/loads.


It looks like I can use DD to copy an entire drive, but it's a 500G 
drive and that's going to take a really long time (especially since it's 
brand new with no data besides base OS).


My question: Is there a better way to duplicate a drive including boot 
info?


Partition second drive (I usually prefer sysinstall which also installs 
loaders), mount it and use dump/restore:


cd /mnt
dump -aLf - -C32 / | restore -rf -

--
Alexander Motin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Frets on Fire from ports (short and sweet)

2008-06-19 Thread Jona Joachim
On 2008-06-19, Gonzalo Nemmi <[EMAIL PROTECTED]> wrote:
> in short: has anybody been able to get it working from ports?
>
> in here:
>
> [EMAIL PROTECTED]:~ # uname -srm
> FreeBSD 7.0-RELEASE i386
> [EMAIL PROTECTED]:~ # cd /usr/ports/games/fretsonfire
> [EMAIL PROTECTED]:/usr/ports/games/fretsonfire # make install clean
>===>  Installing for fretsonfire-1.2.451_2
>===>   fretsonfire-1.2.451_2 depends on 
> file: /usr/local/lib/python2.5/site-packages/Numeric/_numpy.so - found
>===>   fretsonfire-1.2.451_2 depends on 
> file: /usr/local/lib/python2.5/site-packages/pygame/__init__.py - found
>===>   fretsonfire-1.2.451_2 depends on 
> file: /usr/local/lib/python2.5/site-packages/OpenGL/__init__.py - found
>===>   fretsonfire-1.2.451_2 depends on 
> file: /usr/local/lib/python2.5/site-packages/amanith.py - found
>===>   fretsonfire-1.2.451_2 depends on 
> file: /usr/local/lib/python2.5/site-packages/PIL/__init__.py - found
>===>   fretsonfire-1.2.451_2 depends on 
> file: /usr/local/lib/python2.5/site-packages/glew/__init__.py - not found
>===>Verifying install 
> for /usr/local/lib/python2.5/site-packages/glew/__init__.py 
> in /usr/ports/graphics/py-glewpy
>===>  py25-glewpy-0.7.4_1 is marked as broken: fails to install.
> *** Error code 1
>
> Stop in /usr/ports/graphics/py-glewpy.
> *** Error code 1
>
> Stop in /usr/ports/games/fretsonfire.
> [EMAIL PROTECTED]:/usr/ports/games/fretsonfire # 
>
> py25-glewpy-0.7.4_1 has been marked as broken since the day I installed FBSD7 
> (2 two days after its release).
>
> Has anyone tried to install it and succeded or shoud I fill a PR on 
> py25-glewpy-0.7.4_1 (or fretsonfire for that matter ...)??
>
> I want to make sure before submitting a PR .. or two =P

in the graphics/py-glewpy Makefile you can read:

BROKEN=   fails to install
DEPRECATED= Has been broken for more than 6 months
EXPIRATION_DATE=2008-09-19

this means that glewpy is known to be broken and it is scheduled for deletion.

If you try to build glewpy it tells you something about pyrex not generating the
right code. I don't know if that problem actually comes from pyrex or from
glewpy.

Anyway filing PR about this will not change anything, except if they come with a
patch to make it work ;)

As for Frets on Fire, yes it's very unfortunate that it doesn't work on FreeBSD
ATM.


-- 
Pond-erosa Puff wouldn't take no guff
Water oughta be clean and free
So he fought the fight and he set things right
With his OpenBSD

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /var full

2008-06-19 Thread Peter Boosten



Paul Schmehl wrote:
--On Thursday, June 19, 2008 20:02:59 +0200 Peter Boosten 
<[EMAIL PROTECTED]> wrote:



Paul Schmehl wrote:



 I'm leaning toward some sort of bug in mysql version 5.0.51 which
creates a temporary file (in the wrong place) and then doesn't
release it until it exhausts the space on the drive.  In any case,
I'm going to report it to the mysql folks as such and hope they can
figure out what the cause is.




try to find the file with
# fstat | grep var


This will give a list with inodes for open files (the 6th column).

# find /var -inum 



Interesting.


From the last section of entries in dmesg.today:


pid 73721 (dd), uid 2 inumber 27131920 on /var: filesystem full
pid 730 (mysqld), uid 88 inumber 27132148 on /var: filesystem full

# find /var/ -inum 27132148
/var/db/mysql/buttercup3-bin.31

# ls -lsa /var/db/mysql/buttercup3-bin.31
15856 -rw-rw  1 mysql  mysql  16208184 Jun 19 03:28 
/var/db/mysql/buttercup3-bin.31


Do you replicate this mysql server to another?

If not, comment the log-bin directive in my.cnf.
That'll take care of these binary logfiles.

Peter


So it could have been something else entirely, and when those files 
tried to write to /var it was already full?




My first thought: mysql is just reporting something wrong, but isn't
actually causing it.

I've seen a partition filling up once by a deleted, yet open apache
log file. No df nor du reported a full disk, yet it was. Restarting
apache did the trick.

Peter

--
http://www.boosten.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /var full

2008-06-19 Thread Paul Schmehl
--On Thursday, June 19, 2008 20:02:59 +0200 Peter Boosten <[EMAIL PROTECTED]> 
wrote:



Paul Schmehl wrote:



 I'm leaning toward some sort of bug in mysql version 5.0.51 which
creates a temporary file (in the wrong place) and then doesn't
release it until it exhausts the space on the drive.  In any case,
I'm going to report it to the mysql folks as such and hope they can
figure out what the cause is.




try to find the file with
# fstat | grep var


This will give a list with inodes for open files (the 6th column).

# find /var -inum 



Interesting.


From the last section of entries in dmesg.today:


pid 73721 (dd), uid 2 inumber 27131920 on /var: filesystem full
pid 730 (mysqld), uid 88 inumber 27132148 on /var: filesystem full

# find /var/ -inum 27132148
/var/db/mysql/buttercup3-bin.31

# ls -lsa /var/db/mysql/buttercup3-bin.31
15856 -rw-rw  1 mysql  mysql  16208184 Jun 19 03:28 
/var/db/mysql/buttercup3-bin.31


# find /var/ -inum 27131920
/var/db/entropy/saved-entropy.6

# ls -lsa /var/db/entropy/saved-entropy.6
2 -r  1 operator  operator  2048 Jun 19 17:33 
/var/db/entropy/saved-entropy.6


So it could have been something else entirely, and when those files tried to 
write to /var it was already full?


Why is operator running dd?  Is it trying to fix the problem?

--
Paul Schmehl
As if it wasn't already obvious,
my opinions are my own and not
those of my employer.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: JohnCompanies and RootBSD (was Re: FreeBSD based web hosting?)

2008-06-19 Thread OutBackDingo
It might be nice if the RootBSD people answered their email inquiries, i
know they have lost customers, me for one for not answering a simple
email

On Thu, 2008-06-19 at 13:35 -0400, [EMAIL PROTECTED] wrote:
> * Maxim Khitrov <[EMAIL PROTECTED]> [2008-06-18 22:37:13+]:
> > Is anyone here using RootBSD?
> 
> I am using both RootBSD and JohnCompanies.
> 
> > I'm currently with JohnCompanies. Overall, it's been a positive
> > experience, though I wish they offered FreeBSD 7. Beta testing for it
> > was supposed to begin last month, but so far no news.
> 
> Agreed. JC has been fine so far, and I asked them to include me in their
> FreeBSD 7 beta testing when it opens up. I don't think they have a
> schedule posted for when that will start.
> 
> I started out at RootBSD on 6.2, and when FreeBSD 7 was first offered by
> them (about a month ago), they were nice enough to setup a 7.0 VPS for
> me, and give me a liberal amount of time for me to move my data over
> from my 6.2 VPS.
> 
> > My main concern is disk space; I have 2GB for ~$26 per month.
> 
> This too is my only gripe about JohnCompanies. For $29 a month, I only
> get a VPS with 2GB of space -- and they don't allow you to add more
> diskpace unless you upgrade to a higher ($49/month) plan.
> 
> Contrast that with RootBSD, where I pay $19 a month and I get 10GB of
> space.
> 
> On the JC server, one can easily fill up that 2GB by building various
> ports (I did it by running "cd /usr/ports/graphics/ImageMagick; make
> install"). The RootBSD box comes with 10GB of space which is more than
> enough to build almost any port.
> 
> I am sticking with both for now, only because JC reliability/uptime is
> purported to be excellent. Granted, I've not had any hardware or
> connectivity issues with either provider yet, so I've not yet
> experienced any serious problems firsthand.
> 
> 
> 
> I should also add that they both have excellent customer service and
> response times, I've been pleasantly surprised with how good the support
> from both places are.
> 
> hth,
> Thomas
> ___
> 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]"


Frets on Fire from ports (short and sweet)

2008-06-19 Thread Gonzalo Nemmi
in short: has anybody been able to get it working from ports?

in here:

[EMAIL PROTECTED]:~ # uname -srm
FreeBSD 7.0-RELEASE i386
[EMAIL PROTECTED]:~ # cd /usr/ports/games/fretsonfire
[EMAIL PROTECTED]:/usr/ports/games/fretsonfire # make install clean
===>  Installing for fretsonfire-1.2.451_2
===>   fretsonfire-1.2.451_2 depends on 
file: /usr/local/lib/python2.5/site-packages/Numeric/_numpy.so - found
===>   fretsonfire-1.2.451_2 depends on 
file: /usr/local/lib/python2.5/site-packages/pygame/__init__.py - found
===>   fretsonfire-1.2.451_2 depends on 
file: /usr/local/lib/python2.5/site-packages/OpenGL/__init__.py - found
===>   fretsonfire-1.2.451_2 depends on 
file: /usr/local/lib/python2.5/site-packages/amanith.py - found
===>   fretsonfire-1.2.451_2 depends on 
file: /usr/local/lib/python2.5/site-packages/PIL/__init__.py - found
===>   fretsonfire-1.2.451_2 depends on 
file: /usr/local/lib/python2.5/site-packages/glew/__init__.py - not found
===>Verifying install 
for /usr/local/lib/python2.5/site-packages/glew/__init__.py 
in /usr/ports/graphics/py-glewpy
===>  py25-glewpy-0.7.4_1 is marked as broken: fails to install.
*** Error code 1

Stop in /usr/ports/graphics/py-glewpy.
*** Error code 1

Stop in /usr/ports/games/fretsonfire.
[EMAIL PROTECTED]:/usr/ports/games/fretsonfire # 

py25-glewpy-0.7.4_1 has been marked as broken since the day I installed FBSD7 
(2 two days after its release).

Has anyone tried to install it and succeded or shoud I fill a PR on 
py25-glewpy-0.7.4_1 (or fretsonfire for that matter ...)??

I want to make sure before submitting a PR .. or two =P

Thanks 
-- 
Blessings
Gonzalo Nemmi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How do they do their VPS product? [was Re: FreeBSD based web hosting?]

2008-06-19 Thread Maxim Khitrov
On Thu, Jun 19, 2008 at 12:29 PM, George Hartzell <[EMAIL PROTECTED]> wrote:
> Sahil Tandon writes:
>  > Maxim Khitrov <[EMAIL PROTECTED]> wrote:
>  >
>  > > I'm currently with JohnCompanies. Overall, it's been a positive
>  > > experience, though I wish they offered FreeBSD 7. Beta testing for it
>  > > was supposed to begin last month, but so far no news.
>  >
>  > +1 for JC.  The tech support and availability is unparalleled.  Satisfied
>  > customer for over three years.
>
> Seeing JC advertise a FreeBSD VPS product reminded me of an itch I've
> never been able to scratch.
>
> I know about jails at the simple end, and I know about VMware at the
> complicated end, but I've never been able to figure out what technology
> underlies the VPS offerings.
>

I'm not sure about FreeBSD 4.x, but with the more recent versions, the
solutions I've seen were using jails, Xen, or VMWare. I tried running
FreeBSD using Parallels a while back and didn't get very far.

JC is using Jails. An easy way to tell is if you run 'ifconfig' and
don't see the loopback address (127.0.0.1). This is a restriction of
the jails system. Another hint is if you run 'mount' and see that the
device mounted as / doesn't exist in /dev. The main disadvantage of
jails is that you cannot mess with the kernel, but otherwise I think
it's actually a better solution, in my opinion. Less resources are
wasted with jails than with a full VM. A Xen or VMWare server will
behave exactly the same as a physical machine.

- Max
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: internet slowdown

2008-06-19 Thread prad
On Wed, 18 Jun 2008 17:23:26 -0400
John Almberg <[EMAIL PROTECTED]> wrote:

> Do you have PF installed? pftop is a quick way to see what's  
> happening on the network interface.
>
thanks john that's a good utility!
also, thanks bill for the explanation of the ssh problem.

we've found the problem we think after a lot of testing and working with
the fellow from the cable company.

it was our old 10T hubs and nics. we'd put together our server with bits
and pieces given to us or bought from the salvation army or value
village. it was a homeschooling project for my son and me. it's worked
just fine for us until this media blitz that started recently.

normally, our most active sites might get 1 hits a month, but
what's been happening is we're exceeding that per day. june 11 was
35000+ and yesterday was 44500+

that's what seemed to be bogging everything down.

so we bought some 100T switches and nics. we also went to cat6 cabling
from cat5 and it looks like we're keeping up with the demand nicely now.

now we're thinking about replacing our old 700MHs servers (one has
192M the other 128M), with something more powerful. but that's going
to be a subject for another thread.

all the assistance here is very much appreciated! 

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /var full

2008-06-19 Thread Peter Boosten

Paul Schmehl wrote:



 I'm leaning toward some sort of bug in mysql version 5.0.51 which
creates a temporary file (in the wrong place) and then doesn't
release it until it exhausts the space on the drive.  In any case,
I'm going to report it to the mysql folks as such and hope they can
figure out what the cause is.




try to find the file with
# fstat | grep var

This will give a list with inodes for open files (the 6th column).

# find /var -inum 

will the display the file (unless it has been
deleted while still open - seen that once: restarting mysql probably 
will resolve that).


Peter
--
http://www.boosten.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /var full

2008-06-19 Thread Paul Schmehl
--On Thursday, June 19, 2008 11:09:57 -0500 Jeffrey Goldberg 
<[EMAIL PROTECTED]> wrote:



On Jun 19, 2008, at 9:40 AM, Paul Schmehl wrote:


As you can see from the df -i I posted (to which you responded),
inode exhaustion is not an issue.


You are probably right about that, but could you also post the result of

  sudo tunefs -p /var


# tunefs -p /var
tunefs: ACLs: (-a) disabled
tunefs: MAC multilabel: (-l)   disabled
tunefs: soft updates: (-n) enabled
tunefs: gjournal: (-J) disabled
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: average file size: (-f)16384
tunefs: average number of files in a directory: (-s)   64
tunefs: minimum percentage of free space: (-m) 8%
tunefs: optimization preference: (-o)  time
tunefs: volume label: (-L)



That won't tell us what is in use, but it will confirm whether /var was set
up with funky parameters or not.  Also, the last time I ran out of inodes,
the error messages made it clear that that was what was happening instead of
merely giving a disk full error.


 I'm leaning toward some sort of bug in mysql version 5.0.51 which
creates a temporary file (in the wrong place) and then doesn't
release it until it exhausts the space on the drive.  In any case,
I'm going to report it to the mysql folks as such and hope they can
figure out what the cause is.


That would be my guess.  I haven't seen a mention of that of the mysql lists,
but I don't follow the lists closely.   (For the most part, I just go and
clean out the mail folder they collect in every week or so.)



I looked all over their website and didn't see a place or an email address to 
submit bug reports unless you're an enterprise customer.


--
Paul Schmehl
As if it wasn't already obvious,
my opinions are my own and not
those of my employer.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


JohnCompanies and RootBSD (was Re: FreeBSD based web hosting?)

2008-06-19 Thread thomas
* Maxim Khitrov <[EMAIL PROTECTED]> [2008-06-18 22:37:13+]:
> Is anyone here using RootBSD?

I am using both RootBSD and JohnCompanies.

> I'm currently with JohnCompanies. Overall, it's been a positive
> experience, though I wish they offered FreeBSD 7. Beta testing for it
> was supposed to begin last month, but so far no news.

Agreed. JC has been fine so far, and I asked them to include me in their
FreeBSD 7 beta testing when it opens up. I don't think they have a
schedule posted for when that will start.

I started out at RootBSD on 6.2, and when FreeBSD 7 was first offered by
them (about a month ago), they were nice enough to setup a 7.0 VPS for
me, and give me a liberal amount of time for me to move my data over
from my 6.2 VPS.

> My main concern is disk space; I have 2GB for ~$26 per month.

This too is my only gripe about JohnCompanies. For $29 a month, I only
get a VPS with 2GB of space -- and they don't allow you to add more
diskpace unless you upgrade to a higher ($49/month) plan.

Contrast that with RootBSD, where I pay $19 a month and I get 10GB of
space.

On the JC server, one can easily fill up that 2GB by building various
ports (I did it by running "cd /usr/ports/graphics/ImageMagick; make
install"). The RootBSD box comes with 10GB of space which is more than
enough to build almost any port.

I am sticking with both for now, only because JC reliability/uptime is
purported to be excellent. Granted, I've not had any hardware or
connectivity issues with either provider yet, so I've not yet
experienced any serious problems firsthand.



I should also add that they both have excellent customer service and
response times, I've been pleasantly surprised with how good the support
from both places are.

hth,
Thomas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How do they do their VPS product? [was Re: FreeBSD based web hosting?]

2008-06-19 Thread OutBackDingo
the libvirt stuff might be a clue, a while back I designed a virtual
system using libvirt and some ported linux code, which basiclaly acted
as an enhanced chroot for apache, ftp, mail, pop3, imap. also NTT has a
derivitive version of FreeBSD with hints at virtualization, im waiting
for our Verio to be setup now, so once it is ill peruse it a bit

On Thu, 2008-06-19 at 09:29 -0700, George Hartzell wrote:
> Sahil Tandon writes:
>  > Maxim Khitrov <[EMAIL PROTECTED]> wrote:
>  > 
>  > > I'm currently with JohnCompanies. Overall, it's been a positive
>  > > experience, though I wish they offered FreeBSD 7. Beta testing for it
>  > > was supposed to begin last month, but so far no news.
>  > 
>  > +1 for JC.  The tech support and availability is unparalleled.  Satisfied 
>  > customer for over three years.
> 
> Seeing JC advertise a FreeBSD VPS product reminded me of an itch I've
> never been able to scratch.
> 
> I know about jails at the simple end, and I know about VMware at the
> complicated end, but I've never been able to figure out what technology
> underlies the VPS offerings.
> 
> I help out a friend on a Verio VPS that reports itself as FreeBSD 4.7
> w/ a kernel config file named VKERN.  There's some concept of a
> virtual root, a command named 'virtual' works a bit like sudo does for
> credentials, and there's otherwise an odd mix of "it's all my machine"
> and "it's a shared server".
> 
> Is/was there some proprietary virtualization technology in the 4.x
> days?  Is it still alive and kicking somewhere?
> 
> Anyone have any insights into how these VPS products were built?
> 
> Thanks,
> 
> g.
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-isp
> 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: clone a drive, no raid involved

2008-06-19 Thread Jerry McAllister
On Thu, Jun 19, 2008 at 12:08:34PM -0400, Brad Mettee wrote:

> I'm setting up a pair of machines with almost identical OS config, and 
> completely identical hardware. One is a primary DNS server, the other is 
> secondary. NS1 will also serve web, NS2 will be a mail server. Both are low 
> volume/loads.
> 
> It looks like I can use DD to copy an entire drive, but it's a 500G drive 
> and that's going to take a really long time (especially since it's brand 
> new with no data besides base OS).
> 
> My question: Is there a better way to duplicate a drive including boot info?

Really, the better way is to use fdisk/bsdlabel/newfs to create the
identical file systems and boot/label blocks.   Then use dump(8) piped
to restore(8) to populate them with the data from the old file
systems.   It is generally better than making a byte-by-byte copy
with dd unless you are experimenting with some oddities of unformatted
disk access or whatever.

Also, using dump/restore will allow for those small differences from
disk to disk that are usually there without causing the problems dd
copies of whole disks can have.

jerry


> 
> Brad Mettee
> PC HotShots, Inc.
> Baltimore, MD
> (410) 426-7617
> 
>  -> Let us bring out the *Power* of your PCs. <-
> -> Custom Business Software Solutions since 1991 <-
> 
> visit http://www.pchotshots.com for information about our company.
> 
> ___
> 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]"


How do they do their VPS product? [was Re: FreeBSD based web hosting?]

2008-06-19 Thread George Hartzell
Sahil Tandon writes:
 > Maxim Khitrov <[EMAIL PROTECTED]> wrote:
 > 
 > > I'm currently with JohnCompanies. Overall, it's been a positive
 > > experience, though I wish they offered FreeBSD 7. Beta testing for it
 > > was supposed to begin last month, but so far no news.
 > 
 > +1 for JC.  The tech support and availability is unparalleled.  Satisfied 
 > customer for over three years.

Seeing JC advertise a FreeBSD VPS product reminded me of an itch I've
never been able to scratch.

I know about jails at the simple end, and I know about VMware at the
complicated end, but I've never been able to figure out what technology
underlies the VPS offerings.

I help out a friend on a Verio VPS that reports itself as FreeBSD 4.7
w/ a kernel config file named VKERN.  There's some concept of a
virtual root, a command named 'virtual' works a bit like sudo does for
credentials, and there's otherwise an odd mix of "it's all my machine"
and "it's a shared server".

Is/was there some proprietary virtualization technology in the 4.x
days?  Is it still alive and kicking somewhere?

Anyone have any insights into how these VPS products were built?

Thanks,

g.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: clone a drive, no raid involved

2008-06-19 Thread David Kelly
On Thu, Jun 19, 2008 at 12:08:34PM -0400, Brad Mettee wrote:
> I'm setting up a pair of machines with almost identical OS config, and
> completely identical hardware. One is a primary DNS server, the other
> is secondary. NS1 will also serve web, NS2 will be a mail server. Both
> are low volume/loads.
> 
> It looks like I can use DD to copy an entire drive, but it's a 500G
> drive and that's going to take a really long time (especially since
> it's brand new with no data besides base OS).

Yes dd(1) works, especially if the 2nd drive is equal size or larger
than the original.

> My question: Is there a better way to duplicate a drive including boot
> info?

Mount both drives on same machine, right? Then move one to the other?

I think you will find its not all that hard to build the 2nd machine
from install CDs. But it is a useful learning exercise to learn how to
clone a drive before all hell breaks loose and the whole world is
depending on you.

Study the man page for bsdlabel(8) and reproduce the configuration on
your 2nd drive that you see on your first.

Write the new filesystems with newfs(8).

Then for each filesystem (only showing / below):

mount /dev/your-2nd-drive's-root /mnt
dump -0aL -f - / | ( cd /mnt/ ; restore -r )

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: clone a drive, no raid involved

2008-06-19 Thread Wojciech Puchar
that's going to take a really long time (especially since it's brand new with 
no data besides base OS).


My question: Is there a better way to duplicate a drive including boot info?


make same partitions, same newfs, copy files and then bsdlabel -B disk



   Brad Mettee
   PC HotShots, Inc.
   Baltimore, MD
   (410) 426-7617

-> Let us bring out the *Power* of your PCs. <-
-> Custom Business Software Solutions since 1991 <-

visit http://www.pchotshots.com for information about our company.

___
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: /var full

2008-06-19 Thread Jeffrey Goldberg

On Jun 19, 2008, at 9:40 AM, Paul Schmehl wrote:

As you can see from the df -i I posted (to which you responded),  
inode exhaustion is not an issue.


You are probably right about that, but could you also post the result of

 sudo tunefs -p /var

That won't tell us what is in use, but it will confirm whether /var  
was set up with funky parameters or not.  Also, the last time I ran  
out of inodes, the error messages made it clear that that was what was  
happening instead of merely giving a disk full error.


 I'm leaning toward some sort of bug in mysql version 5.0.51 which  
creates a temporary file (in the wrong place) and then doesn't  
release it until it exhausts the space on the drive.  In any case,  
I'm going to report it to the mysql folks as such and hope they can  
figure out what the cause is.


That would be my guess.  I haven't seen a mention of that of the mysql  
lists, but I don't follow the lists closely.   (For the most part, I  
just go and clean out the mail folder they collect in every week or so.)


Cheers,

-j



--
Jeffrey Goldberghttp://www.goldmark.org/jeff/



Re: Off topic: Online article DIY - kernel module

2008-06-19 Thread Roger Olofsson



Zbigniew Szalbot skrev:

Hi there,

Roger Olofsson:


Dear newsgroup,

I accidentally stumbled over an article that allegedly describes how 
to make your own kernel module for FreeBSD7 and felt an urge to share 
this.


The article talks about ULE scheduler. Would you recommend using it 
against SCHED_4BSD in this context:


CPU: Intel(R) Core(TM)2 Quad CPUQ6600  @ 2.40GHz (2400.01-MHz 
686-class CPU)
Jun 17 17:22:38 relay kernel: FreeBSD/SMP: Multiprocessor System 
Detected: 4 CPUs


Many thanks!

Zbigniew Szalbot


Dear Zbigniew,

May I suggest that you direct your question to the author of the article?

/Roger

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


clone a drive, no raid involved

2008-06-19 Thread Brad Mettee
I'm setting up a pair of machines with almost identical OS config, and 
completely identical hardware. One is a primary DNS server, the other is 
secondary. NS1 will also serve web, NS2 will be a mail server. Both are low 
volume/loads.


It looks like I can use DD to copy an entire drive, but it's a 500G drive 
and that's going to take a really long time (especially since it's brand 
new with no data besides base OS).


My question: Is there a better way to duplicate a drive including boot info?

Brad Mettee
PC HotShots, Inc.
Baltimore, MD
(410) 426-7617

 -> Let us bring out the *Power* of your PCs. <-
-> Custom Business Software Solutions since 1991 <-

visit http://www.pchotshots.com for information about our company.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: perl WITH_THREADS= yes or no?

2008-06-19 Thread Roberto Nunnari

Hi Anton.

I'm no expert here, but I found that installing perl
without threads works for the vast majority of ports.

In one occasion I needed to recompile perl with thread
because another port required so.

Also, I remember that using WITH_THREADS=yes came together
with a warning that it could break other applications
requiring perl.

So, if not a requirement, I'd stick with perl without threads.

Best regards.

--
Robi


Anton Shterenlikht wrote:

Should I build ports/lang/perl5.8 WITH_THREADS=yes ?

I run FreeBSD-7.0-stable on old compaq armada1700 laptop.
I don't use perl myself much, but many ports I use rely on it.

How will this affect performance of perl on my laptop?

More to the point, are there any ports which require perl with threads?
For example, can ImageMagick post-build test failures (using PerlMagick,
perl5.8.8 exited on signal 11) be related to the fact that perl is installed
with no threaded support?

many thanks
anton
 




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


perl WITH_THREADS= yes or no?

2008-06-19 Thread Anton Shterenlikht
Should I build ports/lang/perl5.8 WITH_THREADS=yes ?

I run FreeBSD-7.0-stable on old compaq armada1700 laptop.
I don't use perl myself much, but many ports I use rely on it.

How will this affect performance of perl on my laptop?

More to the point, are there any ports which require perl with threads?
For example, can ImageMagick post-build test failures (using PerlMagick,
perl5.8.8 exited on signal 11) be related to the fact that perl is installed
with no threaded support?

many thanks
anton
 

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Off topic: Online article DIY - kernel module

2008-06-19 Thread Zbigniew Szalbot

Hi there,

Roger Olofsson:


Dear newsgroup,

I accidentally stumbled over an article that allegedly describes how to 
make your own kernel module for FreeBSD7 and felt an urge to share this.


The article talks about ULE scheduler. Would you recommend using it 
against SCHED_4BSD in this context:


CPU: Intel(R) Core(TM)2 Quad CPUQ6600  @ 2.40GHz (2400.01-MHz 
686-class CPU)
Jun 17 17:22:38 relay kernel: FreeBSD/SMP: Multiprocessor System 
Detected: 4 CPUs


Many thanks!

Zbigniew Szalbot


smime.p7s
Description: S/MIME Cryptographic Signature


Off topic: Online article DIY - kernel module

2008-06-19 Thread Roger Olofsson

Dear newsgroup,

I accidentally stumbled over an article that allegedly describes how to 
make your own kernel module for FreeBSD7 and felt an urge to share this.


The article can be found and downloaded at www.freesoftwaremagazine.com.

/Roger

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /var full

2008-06-19 Thread Paul Schmehl
--On Thursday, June 19, 2008 02:28:31 -0400 Steve Bertrand <[EMAIL PROTECTED]> 
wrote:



Paul Schmehl wrote:

--On June 18, 2008 11:59:49 PM -0400 Sahil Tandon <[EMAIL PROTECTED]> wrote:



Also, what is the output of 'df -i /var'?



# df -i /var/
Filesystem  1K-blocksUsed Avail Capacity iusedifree %iused
Mounted on
/dev/da1s1d 283737842 5397568 255641248 2%   20350 366736640% /var


See recent thread on FreeBSD Forums for context:

http://www.freebsdforums.org/forums/printthread.php?t=58071


Thanks.  At least I know I'm not the only one to have run into this oddity.

I'm not that knowledgeable of inodes.  My understanding is they are
destroyed once a file is no longer in use.  Is that correct?  Is there
any sort of history kept of file system activity that would identify
what filename was identified by the inumbers listed in dmesg.today?  Or
is that vain hope?

This is a 6.2 RELEASE system.  (Looks like it's time to upgrade to 7.0
STABLE.)


I am not in any which way certain changing major revision numbers will affect
the file system in any which way. I am also not very knowledgeable in regards
to inodes, but I do know that they can run out before disk space does.

 From what I understand, 1MB of filespace will take up X inodes. If 1MB of
file size is fragmented, it could take up X multiplied by N number of inodes,
that could include a large portion of wasted whitespace.

Please correct me if I am wrong.


I wouldn't be the one to correct you.  My knowledge of inodes is rudimentary at 
best.  :-)




Off the top of my head, with no testing or researching behind me, what
happens if:

- stop mysqld
- note perms of filesystem
- cp -R /var/db /another/location/with/space
- rm -r /var/db/*
- fsck /dev/location-of-var
- cp -R /copy/of/db/dir /var/db
- reset perms
- start mysqld

... does that free up some inodes?



As you can see from the df -i I posted (to which you responded), inode 
exhaustion is not an issue.  I'm leaning toward some sort of bug in mysql 
version 5.0.51 which creates a temporary file (in the wrong place) and then 
doesn't release it until it exhausts the space on the drive.  In any case, I'm 
going to report it to the mysql folks as such and hope they can figure out what 
the cause is.


--
Paul Schmehl
As if it wasn't already obvious,
my opinions are my own and not
those of my employer.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "Fixing" a RAID

2008-06-19 Thread Tuc at T-B-O-H
> 
> I recently had this happen to me on an 8 x 1 TB RAID-5 array on a
> Highpoint RocketRAID 2340 controller. For some unknown reason two drives
> developed unreadable sectors within hours of each other. To make a long
> story short, the way I "fixed" this was to:
> 
Not FreeBSD related, so you can delete now if not interested...

We had a 1.5TB NetApp filer at my previous place. It was originally
backed up by another 1.5TB filer taking snapshots every few hours. After
a few years, the customer decided it was "too safe" so they used the 2nd
filer for something else. A month later, we had a double disk failure in the
same volume.

The NetApp freaked out and rebooted, but when it did it marked one
disk dead, and the other as fine. Since there was a hot spare, it started
to attempt a rebuild. It took 9 hours for a 72G disk, and the 1/2 failed
drive sounded like it was putting the head through the media with lead shot
in it. The filer performed at about 1/2 speed during that time. The SECOND
that it finished, and the software claimed that the array was in optimal 
mode, we immediately pulled the bad disk out and replaced it with a fresh
disk. That rebuild went fine. Pulled the failed disk, and put another disk
in for hot spare.

Not sure if its a testimony to NetApp, or our and the customers
luck. They had specifically not wanted backups, and rebuilding the data
would have taken months, many man hours, and loss of revenue to the site. 

Ever since then, I try to get disks made at different times and
different batches. You figure that if they were MADE around the same time,
they will most likely DIE around the same time. :)

Tuc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ImageMagick 6.4.1.5 tests fail on FBSD-7.0 => perl: signal 11

2008-06-19 Thread Anton Shterenlikht
On Thu, Jun 19, 2008 at 09:41:01AM +0100, Anton Shterenlikht wrote:
> On Wed, Jun 18, 2008 at 08:23:20PM +0100, Chris Whitehouse wrote:
> > Anton Shterenlikht wrote:
> > >I sent a query to ImageMagick port maintainers about this.
> > >
> > >I'm getting errors while trying to upgrade to
> > >ImageMagick 6.4.1.5 on FreeBSD 7.0-release.
> > >
> > >Below are the error messages and my ImageMagick configuration.
> > >
> > >Please advise
> > >many thanks
> > >anton
> > >
> > >
> > >[skip]
> > >
> > >PASS: utilities/tests/wave.sh
> > >PASS: utilities/tests/montage.sh
> > >
> > >All 697 tests passed
> > >
> > >cd PerlMagick && make CC='cc' test
> > >/bin/sh ../magick.sh PERL_DL_NONLAZY=1 /usr/local/bin/perl5.8.8 
> > >"-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" 
> > >t/*.t t/bzlib/*.t t/fpx/*.t t/jbig/*.t t/jpeg/*.t t/jp2/*.t t/png/*.t 
> > >t/tiff/*.t t/wmf/*.t t/zlib/*.t
> > >t/blobdubious
> > >Test returned status 0 (wstat 139, 0x8b)
> > >DIED. FAILED test 1
> > >Failed 1/1 tests, 0.00% okay
> > >t/bzlib/read..dubious
> > >Test returned status 0 (wstat 139, 0x8b)
> > >DIED. FAILED test 1
> > >Failed 1/1 tests, 0.00% okay
> > >t/bzlib/write.dubious
> > >Test returned status 0 (wstat 139, 0x8b)
> > >DIED. FAILED test 1
> > >Failed 1/1 tests, 0.00% okay
> > >t/composite...dubious
> > >Test returned status 0 (wstat 139, 0x8b)
> > >DIED. FAILED tests 1-18
> > >Failed 18/18 tests, 0.00% okay
> > >t/filter..dubious
> > >Test returned status 0 (wstat 139, 0x8b)
> > >DIED. FAILED tests 1-58
> > >Failed 58/58 tests, 0.00% okay
> > >t/fpx/readdubious
> > >Test returned status 0 (wstat 139, 0x8b)
> > >DIED. FAILED tests 1-5
> > >Failed 5/5 tests, 0.00% okay
> > >t/fpx/write...dubious
> > >Test returned status 0 (wstat 139, 0x8b)
> > >DIED. FAILED tests 1-4
> > >Failed 4/4 tests, 0.00% okay
> > >t/getattributedubious
> > >Test returned status 0 (wstat 139, 0x8b)
> > >DIED. FAILED tests 1-25
> > >Failed 25/25 tests, 0.00% okay
> > >t/jbig/read...dubious
> > >Test returned status 0 (wstat 139, 0x8b)
> > >DIED. FAILED test 1
> > >Failed 1/1 tests, 0.00% okay
> > >t/jbig/write..dubious
> > >Test returned status 0 (wstat 139, 0x8b)
> > >DIED. FAILED test 1
> > >Failed 1/1 tests, 0.00% okay
> > >t/jp2/readdubious
> > >Test returned status 0 (wstat 139, 0x8b)
> > >DIED. FAILED tests 1-3
> > >Failed 3/3 tests, 0.00% okay
> > >t/jpeg/read...dubious
> > >Test returned status 0 (wstat 139, 0x8b)
> > >DIED. FAILED tests 1-2
> > >Failed 2/2 tests, 0.00% okay
> > >t/jpeg/write..dubious
> > >Test returned status 0 (wstat 139, 0x8b)
> > >DIED. FAILED tests 1-2
> > >Failed 2/2 tests, 0.00% okay
> > >t/montage.dubious
> > >Test returned status 0 (wstat 139, 0x8b)
> > >DIED. FAILED tests 1-19
> > >Failed 19/19 tests, 0.00% okay
> > >t/png/read-16.dubious
> > >Test returned status 0 (wstat 139, 0x8b)
> > >DIED. FAILED tests 1-5
> > >Failed 5/5 tests, 0.00% okay
> > >t/png/readdubious
> > >Test returned status 0 (wstat 139, 0x8b)
> > >DIED. FAILED tests 1-6
> > >Failed 6/6 tests, 0.00% okay
> > >t/png/write-16dubious
> > >Test returned status 0 (wstat 139, 0x8b)
> > >DIED. FAILED tests 1-5
> > >Failed 5/5 tests, 0.00% okay
> > >t/png/write...dubious
> > >Test returned status 0 (wstat 139, 0x8b)
> > >DIED. FAILED tests 1-6
> > >Failed 6/6 tests, 0.00% okay
> > >t/readdubious
> > >Test returned status 0 (wstat 139, 0x8b)
> > >DIED. FAILED tests 1-47
> > >Failed 47/47 tests, 0.00% okay
> > >t/setattributedubious
> > >Test returned status 0 (wstat 139, 0x8b)
> > >DIED. FAILED tests 1-71
> > >Failed 71/71 tests, 0.00% okay
> > >t/tiff/read...dubious
> > >Test returned status 0 (wstat 139, 0x8b)
> > >DIED. FAILED tests 1-16
> > >Failed 16/16 tests, 0.00% okay
> > >t/tiff/write..dubious
> > >Test returned status 0 (wstat 139, 0x8b)
> > >DIED. FAILED tests 1-10
> > >Failed 10/10 tests, 0.00% okay
> > >t/wmf/readdubious
> > >Test returned status 0 (wstat 139, 0x8b)
> > >DIED. FAILED tests 1-2
> > >Failed 2/2 tests, 0.00% okay
> > >t/write...dubious
> > >Test returned status 0 (wstat 139, 0x8b)
> > >DIED. FAILED tests 1-32
> > >Failed 32/32 tests, 0.00% okay
> > >t/zlib/read...dubious
> > >Test returned status 0 (wstat 139, 0x8b)
> > >DIED. FAILED test 1
> > >Failed 1/1 tests, 0.00% okay
> > >t/zlib/write..dubious
> > >Test returned status 0 (wstat 139, 0x8b)
> > >DIED. FAILED test 1
> > >Failed 1/1 tests, 0.00% okay
> > >Failed Test

Re: [Ports] How to find where a port is located?

2008-06-19 Thread The MadDaemon
On Mon, Jun 16, 2008 at 11:45 AM, Oliver Fromme <[EMAIL PROTECTED]> wrote:
> Gilles <[EMAIL PROTECTED]> wrote:
>  > Currently, to find where a software is located under /usr/ports/, I
>  > rune the "find" command. Is there a database that I could query
>  > instead so that it gives out the whole path to that the application?
>
> In addition to the ways that others have suggested, there
> is also this one:
>
> http://www.secnetix.de/tools/porgle/

You can also use the "quicksearch" option:

[EMAIL PROTECTED] [~]# cd /usr/ports/
[EMAIL PROTECTED] [/usr/ports]# make quicksearch name=dsniff
Port:   dsniff-2.3_3
Path:   /usr/ports/security/dsniff
Info:   Various sniffing utilities for penetration testing


-- 
It said "use Linux 2.4 kernel or better" so I installed FreeBSD. Now
everything runs better. Why didn't they just tell me to do that to
begin with?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Process management in FreeBSD 7

2008-06-19 Thread Alexander Sack



Mr Y wrote:
> 
> Hi All,
> 
> I'm trying to find the equivilents for Linux's schedule() and
> set_task_state(TASK_RUNNING).
> 
> Does anybody have a tip?
> 

I would start perhaps in kern/kern_sync.c and mi_switch() which will request
that a new process be scheduled (sched_switch in either 4BSD or ULE
scheduler's).

That should get you pointed in the right direction!  :D!

-aps
-- 
View this message in context: 
http://www.nabble.com/Process-management-in-FreeBSD-7-tp18007313p18009680.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Cross platform building best practices (building 6 on 7)

2008-06-19 Thread Alexander Sack
Hello Folks:

I've done a lot of Googling and scouring the lists about this
particular subject so I apologize for rehashing it.  However, I'm
still confused on what's the best way to perform BSD cross platform
builds.  Ideally what I want to have is an environment whereby I can
build a 6.1-RELEASE tree on a 7.0-RELEASE box.  I thought originally I
could check out a 6.1 release version, perform make world, and then
use the output of that build as either a basis for a jail or a
toolchain.  However, as noted by previous threads, 6.x doesn't build
on a 7.x due to gcc4/binutils compatibility issues (please correct me
if I'm wrong).  I then thought I could potentially download a patched
binutils, copy it into src/contrib/binutils and that would potentially
fix it.  No dice (and I'm still debugging why since this binutils
package DOES build outside of the make world infrastructure without
issue, this very well could be pilot error on my part since I didn't
update the VERSION string and didn't trim the source files as per the
FreeBSD-deleteList etc.).

I THEN thought if I build/install a gcc-3.x/bintuils toolchain I could
complie a 6.x on a 7.x machine.  Well I haven't done that yet since at
this point I believe I'm diverged from the path of FreeBSD build
enlightenment!  Moreover, if would be NICE if I could bootstrap the
normal dev tools from the exiting make world build tree.  I'm not yet
ready for a lot of hackery on the build tree without asking around.
:D!

Does anyone due cross-platform builds (without host virtualization)?

Thanks!

-aps
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


SAMBA 3.0.28a and CVE-2008-1105

2008-06-19 Thread O. Hartmann
We still have Samba R3.0.28a in the ports but regarding to CVE-2008-1105 
shouldn't it be R3.0.30?


Regards,
Oliver

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Vsftpd rotate logs with newsyslog...

2008-06-19 Thread David Robillard
> Well yes, this is precisely the reason why we use a SIGHUP (equivalent to
> "apachectl restart") instead of a SIGUSR1 (apachectl graceful). We don't
> really care about a few broken client connections since the logs are rotated
> at a quiet time.
>
> Of course, YMMV.

Yes, of course :)

> regards,
> Ruben

Cheers,

DA+
-- 
David Robillard
UNIX systems administrator & Oracle DBA
CISSP, RHCE & Sun Certified Security Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /var full

2008-06-19 Thread Steve Bertrand
>
> Steve Bertrand writes:
>
>>  I am not in any which way certain changing major revision numbers
>>  will affect the file system in any which way. I am also not very
>>  knowledgeable in regards to inodes, but I do know that they can
>>  run out before disk space does.
>
>   It is my understanding that is certainly possible.  However, it
> is usually limited to a small set of well-known cases of that
> generate many small files; the canonical example is a news server
> (e.g. inn) though a mail server (or the database back-end thereto)
> might also qualify.
>
>
>>  Off the top of my head, with no testing or researching behind me,
>>  what happens if:
>>
>>  - stop mysqld
>>  - note perms of filesystem
>>  - cp -R /var/db /another/location/with/space
>>  - rm -r /var/db/*
>>  - fsck /dev/location-of-var
>
>   Ahem - dismount partition before fsck, yes?

Well, of course as you please ;)

Thanks for pointing out my mis-step.

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /var full

2008-06-19 Thread Robert Huff

Steve Bertrand writes:

>  I am not in any which way certain changing major revision numbers
>  will affect the file system in any which way. I am also not very
>  knowledgeable in regards to inodes, but I do know that they can
>  run out before disk space does.

It is my understanding that is certainly possible.  However, it
is usually limited to a small set of well-known cases of that
generate many small files; the canonical example is a news server
(e.g. inn) though a mail server (or the database back-end thereto)
might also qualify.


>  Off the top of my head, with no testing or researching behind me,
>  what happens if:
>  
>  - stop mysqld
>  - note perms of filesystem
>  - cp -R /var/db /another/location/with/space
>  - rm -r /var/db/*
>  - fsck /dev/location-of-var

Ahem - dismount partition before fsck, yes?


Robert Huff

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Process management in FreeBSD 7

2008-06-19 Thread Yony Yossef
Hi All,

I'm trying to find the equivilents for Linux's schedule() and
set_task_state(TASK_RUNNING).

Does anybody have a tip?

Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD based web hosting?

2008-06-19 Thread Patrick C
I can, as usual, highly recommend M5 Hosting. Mike (the owner) is VERY
helpful and he is very knowledgeable in *BSD - a lot of hosts will
install it, but few know how to use it. His hardware is good and he
uses AMCC (3Ware) cards for RAID. The network rocks.

I can also say I have had decent luck with ThePlanet, but I get better
bandwidth with M5 and I know if I have to call someone, he knows his
stuff.

-Patrick

2008/6/18 Sahil Tandon <[EMAIL PROTECTED]>:
> Maxim Khitrov <[EMAIL PROTECTED]> wrote:
>
>> I'm currently with JohnCompanies. Overall, it's been a positive
>> experience, though I wish they offered FreeBSD 7. Beta testing for it
>> was supposed to begin last month, but so far no news.
>
> +1 for JC.  The tech support and availability is unparalleled.  Satisfied
> customer for over three years.
>
> --
> Sahil Tandon <[EMAIL PROTECTED]>
> ___
> 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: "Fixing" a RAID

2008-06-19 Thread Daniel Eriksson
Ryan Coleman wrote:

> Jun  4 23:02:28 testserver kernel: ar0: 715425MB  RAID5 (stripe 64 KB)> status: READY
> Jun  4 23:02:28 testserver kernel: ar0: disk0 READY using ad13 at
ata6-slave
> Jun  4 23:02:28 testserver kernel: ar0: disk1 READY using ad16 at
ata8-master
> Jun  4 23:02:28 testserver kernel: ar0: disk2 READY using ad15 at
ata7-slave
> Jun  4 23:02:28 testserver kernel: ar0: disk3 READY using ad17 at
ata8-slave
> Jun  4 23:05:35 testserver kernel:
g_vfs_done():ar0s1c[READ(offset=501963358208, length=16384)]error = 5
> ...

My guess is that the rebuild failure is due to unreadable sectors on one
(or more) of the original three drives.

I recently had this happen to me on an 8 x 1 TB RAID-5 array on a
Highpoint RocketRAID 2340 controller. For some unknown reason two drives
developed unreadable sectors within hours of each other. To make a long
story short, the way I "fixed" this was to:

1. Used a tool I got from Highpoint tech-support to re-init the array
information (so the array was no longer marked as broken).
2. Unplugged both drives and hooked them up to another computer using a
regular SATA controller.
3. One of the drives was put through a complete "recondition" cycle(a).
4. The other drive was put through a partial "recondition" cycle(b).
5. I hooked up both drives to the 2340 controller again. The BIOS
immediately marked the array as degraded (because it didn't recognize
the wiped drive as part of the array), and I could re-add the wiped
drive so a rebuild of the array could start.
6. I finally ran a "zpool scrub" on the tank, and restored the few files
that had checksum errors.

(a) I tried to run a SMART long selftest, but it failed. I then
completely wiped the drive by writing zeroes to the entire surface,
allowing the firmware to remap the bad sectors. After this procedure the
long selftest succeeded. I finally used a diagnostic program from the
drive vendor (Western Digital) to again verify that the drive was
working properly.

(b) The SMART long selftest failed the first time, but after running a
surface scan using the diagnostic program from Western Digital the
selftest passed. I'm pretty sure the diagnostic program remapped the bad
sector, replacing it with a blank one. At least the program warned me to
back up all data before starting the surface scan. Alternatively I could
have used dd (with offset) to write to just the failed sector (available
in the SMART selftest log).


If I were you I would run all three drives through a SMART long
selftest. I'm sure you'll find that at least one of them will fail the
selftest. Use something like SpinRite 6 to recover the drive, or use dd
/ dd_rescue to copy the data to a fresh drive. Once all three of the
original drives pass a long selftest the array should be able to finish
a rebuild using a fourth (blank) drive.

By the way, don't try to use SpinRite 6 on 1 TB drives, it will fail
halfway through with a division-by-zero error. I haven't tried it on any
500 GB drives yet.

/Daniel Eriksson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [Ports] How to find where a port is located?

2008-06-19 Thread Gilles
On Mon, 16 Jun 2008 17:45:37 +0200 (CEST), Oliver Fromme
<[EMAIL PROTECTED]> wrote:
>http://www.secnetix.de/tools/porgle/

Thanks guys for the suggestions.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ImageMagick 6.4.1.5 tests fail on FBSD-7.0

2008-06-19 Thread Anton Shterenlikht
On Wed, Jun 18, 2008 at 08:23:20PM +0100, Chris Whitehouse wrote:
> Anton Shterenlikht wrote:
> >I sent a query to ImageMagick port maintainers about this.
> >
> >I'm getting errors while trying to upgrade to
> >ImageMagick 6.4.1.5 on FreeBSD 7.0-release.
> >
> >Below are the error messages and my ImageMagick configuration.
> >
> >Please advise
> >many thanks
> >anton
> >
> >
> >[skip]
> >
> >PASS: utilities/tests/wave.sh
> >PASS: utilities/tests/montage.sh
> >
> >All 697 tests passed
> >
> >cd PerlMagick && make CC='cc' test
> >/bin/sh ../magick.sh PERL_DL_NONLAZY=1 /usr/local/bin/perl5.8.8 
> >"-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" 
> >t/*.t t/bzlib/*.t t/fpx/*.t t/jbig/*.t t/jpeg/*.t t/jp2/*.t t/png/*.t 
> >t/tiff/*.t t/wmf/*.t t/zlib/*.t
> >t/blobdubious
> >Test returned status 0 (wstat 139, 0x8b)
> >DIED. FAILED test 1
> >Failed 1/1 tests, 0.00% okay
> >t/bzlib/read..dubious
> >Test returned status 0 (wstat 139, 0x8b)
> >DIED. FAILED test 1
> >Failed 1/1 tests, 0.00% okay
> >t/bzlib/write.dubious
> >Test returned status 0 (wstat 139, 0x8b)
> >DIED. FAILED test 1
> >Failed 1/1 tests, 0.00% okay
> >t/composite...dubious
> >Test returned status 0 (wstat 139, 0x8b)
> >DIED. FAILED tests 1-18
> >Failed 18/18 tests, 0.00% okay
> >t/filter..dubious
> >Test returned status 0 (wstat 139, 0x8b)
> >DIED. FAILED tests 1-58
> >Failed 58/58 tests, 0.00% okay
> >t/fpx/readdubious
> >Test returned status 0 (wstat 139, 0x8b)
> >DIED. FAILED tests 1-5
> >Failed 5/5 tests, 0.00% okay
> >t/fpx/write...dubious
> >Test returned status 0 (wstat 139, 0x8b)
> >DIED. FAILED tests 1-4
> >Failed 4/4 tests, 0.00% okay
> >t/getattributedubious
> >Test returned status 0 (wstat 139, 0x8b)
> >DIED. FAILED tests 1-25
> >Failed 25/25 tests, 0.00% okay
> >t/jbig/read...dubious
> >Test returned status 0 (wstat 139, 0x8b)
> >DIED. FAILED test 1
> >Failed 1/1 tests, 0.00% okay
> >t/jbig/write..dubious
> >Test returned status 0 (wstat 139, 0x8b)
> >DIED. FAILED test 1
> >Failed 1/1 tests, 0.00% okay
> >t/jp2/readdubious
> >Test returned status 0 (wstat 139, 0x8b)
> >DIED. FAILED tests 1-3
> >Failed 3/3 tests, 0.00% okay
> >t/jpeg/read...dubious
> >Test returned status 0 (wstat 139, 0x8b)
> >DIED. FAILED tests 1-2
> >Failed 2/2 tests, 0.00% okay
> >t/jpeg/write..dubious
> >Test returned status 0 (wstat 139, 0x8b)
> >DIED. FAILED tests 1-2
> >Failed 2/2 tests, 0.00% okay
> >t/montage.dubious
> >Test returned status 0 (wstat 139, 0x8b)
> >DIED. FAILED tests 1-19
> >Failed 19/19 tests, 0.00% okay
> >t/png/read-16.dubious
> >Test returned status 0 (wstat 139, 0x8b)
> >DIED. FAILED tests 1-5
> >Failed 5/5 tests, 0.00% okay
> >t/png/readdubious
> >Test returned status 0 (wstat 139, 0x8b)
> >DIED. FAILED tests 1-6
> >Failed 6/6 tests, 0.00% okay
> >t/png/write-16dubious
> >Test returned status 0 (wstat 139, 0x8b)
> >DIED. FAILED tests 1-5
> >Failed 5/5 tests, 0.00% okay
> >t/png/write...dubious
> >Test returned status 0 (wstat 139, 0x8b)
> >DIED. FAILED tests 1-6
> >Failed 6/6 tests, 0.00% okay
> >t/readdubious
> >Test returned status 0 (wstat 139, 0x8b)
> >DIED. FAILED tests 1-47
> >Failed 47/47 tests, 0.00% okay
> >t/setattributedubious
> >Test returned status 0 (wstat 139, 0x8b)
> >DIED. FAILED tests 1-71
> >Failed 71/71 tests, 0.00% okay
> >t/tiff/read...dubious
> >Test returned status 0 (wstat 139, 0x8b)
> >DIED. FAILED tests 1-16
> >Failed 16/16 tests, 0.00% okay
> >t/tiff/write..dubious
> >Test returned status 0 (wstat 139, 0x8b)
> >DIED. FAILED tests 1-10
> >Failed 10/10 tests, 0.00% okay
> >t/wmf/readdubious
> >Test returned status 0 (wstat 139, 0x8b)
> >DIED. FAILED tests 1-2
> >Failed 2/2 tests, 0.00% okay
> >t/write...dubious
> >Test returned status 0 (wstat 139, 0x8b)
> >DIED. FAILED tests 1-32
> >Failed 32/32 tests, 0.00% okay
> >t/zlib/read...dubious
> >Test returned status 0 (wstat 139, 0x8b)
> >DIED. FAILED test 1
> >Failed 1/1 tests, 0.00% okay
> >t/zlib/write..dubious
> >Test returned status 0 (wstat 139, 0x8b)
> >DIED. FAILED test 1
> >Failed 1/1 tests, 0.00% okay
> >Failed Test  Stat Wstat Total Fail  Failed  List of Failed
> >---
> >t/blob.t0   139 12 200.00%  1
> >t/bzlib/read.t  0   139 12 200.00%  1
> >t/bzlib/write.t 0   139 12 200.00%  1
> >t/composite.t   0   13918

Re: FreeBSD based web hosting?

2008-06-19 Thread Charles Trevor




+1 for JC.  The tech support and availability is unparalleled.  Satisfied 
customer for over three years.




+2 for JohnCompanies. Excellent support and good prices for VPS. I 
intend to have several more VPS with them over the next few months.


HTH

Charlie
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Vsftpd rotate logs with newsyslog...

2008-06-19 Thread Ruben de Groot
On Wed, Jun 18, 2008 at 11:29:13AM -0400, David Robillard typed:
> >> Well, i take this opportunity also to ask about Apache toowhich signal
> >> should i send?
> >
> > A HUP signal should work for apache.
> 
> Actually, the Apache documentation says that one must use USR1 instead
> of HUP to send a gracefull restart instead of a hangup.
> This is to let the children httpd processes some time to finish their
> transactions before the master restarts. It is also for this reason
> that the logs should not be compressed by newsyslogd.

Well yes, this is precisely the reason why we use a SIGHUP (equivalent to 
"apachectl restart") instead of a SIGUSR1 (apachectl graceful). We don't 
really care about a few broken client connections since the logs are rotated
at a quiet time.

Of course, YMMV.

regards,
Ruben

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"