Re: Which version of FreeBSD is it?

2010-03-17 Thread Bas v.d. Wiel

On Wed, 17 Mar 2010 16:36:38 +0100, Mikolaj Rydzewski  wrote:
> Антон Клесс wrote:
>> That is what I suspected for.
>>
>> What is the most safe way to upgrade it, remembering that this is
>> production
>> server and I have to keep it working properly?
>>
>> 6.2-RC1 -> 6.2 RELEASE -> 7.2 RELEASE -> 8.0 RELEASE, or somehow in this
>> style?
>>   
> If it works, do not fix it!

I beg to differ: having a release candidate running in production should
never happen so this situation has been sort of broken from the start.
Luckily FreeBSD is a rock solid OS!

> 
> Actually, I'm facing exactly the same problem now: I want to upgrade 
> 6.2-RELEASE to something (8.0?) newer.
> 
> Since I don't have spare machine for tests, I'm playing now with 
> VirtualBox (hosted on Linux). I'd like to test upgrade using 
> cvsup/buildworld. After I will success on virtualbox I'll perform the 
> same path on real machine.

Making an image backup of the machine's disk before you start should give
you a decent rollback scenario in case things go badly.

Bas

___
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: Which version of FreeBSD is it?

2010-03-17 Thread Bas v.d. Wiel

On Wed, 17 Mar 2010 16:56:20 +0300, Антон Клесс
 wrote:
> I have the server that's running FreeBSD for the last few years, but I
saw
> it only year ago and know nothing about when and how was installed
FreeBSD
> on it.
> 
> # uname -a
> FreeBSD myhost.net 6.2-RC1 FreeBSD 6.2-RC1 #4: Fri Mar  5 01:37:03 MSK
> 2010 r...@myhost.net:/usr/obj/usr/src/sys/MYKERN  amd64
> 
> Is it RELEASE, STABLE or what?

It is what it says it is: 6.2-RC1, meaning Release Candidate 1. That's a
development/test version. If this is a production system it would be a very
good idea to replace it with the current 8.0 RELEASE, which will give you
at least proper patch maintenance.

Bas
___
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: gd errors after rebuilding PHP

2010-03-17 Thread Bas v.d. Wiel

On Wed, 17 Mar 2010 16:44:43 +0300, Антон Клесс
 wrote:
> It doesn't helps me.
> 
> Then I try this:
> 
> # env LD_PRELOAD=/usr/local/lib/libpng.so.5  |grep png
> LD_PRELOAD=/usr/local/lib/libpng.so.5
> # env |grep png
> #
> 
> Is it OK that env doesn't save its status (LD_PRELOAD)?
> 


You should put the whole command on a single line (e-mail cuts off the
lines here):

#env LD_PRELOAD=/usr/local/lib/libpng.so.5 /usr/local/etc/rc.d/apache22
restart

In essence you're just restarting Apache in the usual BSD way, but with an
ad-hoc added environment variable. The env command doesn't save its
changes, but that is correct behaviour. I haven't tested this with a 'real'
environment variable yet because I decided to roll back the upgrade to wait
for the issue to be solved.

Bas

___
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: gd errors after rebuilding PHP

2010-03-17 Thread Bas v.d. Wiel

On Wed, 17 Mar 2010 16:23:39 +0300, Антон Клесс
 wrote:
> I have updated PHP from ports, now it is:
> 
> # uname -a
> FreeBSD host.net 6.2-RC1 FreeBSD 6.2-RC1 #4: Fri Mar  5 01:37:03 MSK
> 2010 r...@host.net:/usr/obj/usr/src/sys/MYKERN  amd64
> 
> $ php -v
> PHP 5.2.12 with Suhosin-Patch 0.9.7 (cli) (built: Feb 21 2010 23:16:07)
> Copyright (c) 1997-2009 The PHP Group
> Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
> 


This is a known issue. There's a PR for this filed under number 144403.

A sort of workaround (which I find a bit nasty), is to start Apache like
this:

#env LD_PRELOAD=/usr/local/lib/libpng.so.5 /usr/local/etc/rc.d/apache22
restart

Hope this helps!

Bas

___
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: video cam with room view for FreeBSD && Skype

2010-03-05 Thread Bas v.d. Wiel

Matthias Apitz wrote:

Hello,

To do normal Skype session (face2face) I'm using a USB video cam mounted on top
of the lid of my laptop which is good supported by the pwc kernel module:

Mar  5 09:39:57 current kernel: ugen4.2:  at usbus4
Mar  5 09:39:57 current kernel: pwc0:  on usbus4
Mar  5 09:39:58 current kernel: pwc0: This camera is equipped with a Sony CCD 
sensor + TDA8787 (32)

I would like to have a bigger model to do the same with a group of
colleagues on my side, i.e. put the cam 3-4 meter away from the table.
Does someone knows a good model for doing that, wall or table mounted
and with a long USB cable, and supported in FreeBSD 8-CURRENT?

Thx

matthias
  
In the past I've had reasonable succes using a standard camcorder over 
firewire to do things like this. It's been a few years though. If using 
firewire isn't an issue for you, I'd be happy to delve into my pile of 
notes and see if I can find you something of a howto. The advantage of a 
firewire camera is in the much more standardized protocol between PC and 
camera.


Bas

___
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: Suitable laptop for FreeBSD?

2010-03-03 Thread Bas v.d. Wiel

Aaron Lewis wrote:


Umm... that's incorrect.  Maybe you mean ATI doesn't supply closed 
drivers for FreeBSD (although they do have Linux drivers, I think).



Well , the opensource ati driver doesn't work for me , no matter linux 
or FreeBSD , it crashes
I've read the documents , and found my ATI is on the support list , 
but it just don't work ;-(


Are you saying the R400 has both integrated and discrete video cards? 
Lenovo's web site doesn't seem very oriented to telling potential 
customers details about their newer computers.


-Warren Block * Rapid City, South Dakota USA
I bought it in china , you'll had to know R400 has lots of types , 
mine is 2784a18.
Of course you can choose to buy an energy-save laptop , which has on 
independent Video Cards ,

Just an build-in intel Video Card , it's better for power saving someway.

It's very strange that your machine should crash so early in its boot 
process. I don't own any ATI hardware so I'm not entirely sure on this, 
but my impression is that booting into the console should work with just 
about any kind of video hardware. Does Windows actually work with the 
ATI card? I'm beginning to suspect broken hardware here..


Bas

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