Re: HPN, nonecipher in 8.4

2013-09-10 Thread Johan Hendriks
Op dinsdag 10 september 2013 schreef javocado (javoc...@gmail.com):

 I have some questions about HPN and ssh, specifically:

 - does 8.4-RELEASE have HPN ssh built in by default?

 - if the only reason I ever installed openssh-portable port was to get HPN,
 is there any reason to add that port anymore on 8.4?

 - if I would like to still use nonecipher, what is the easiest way to get
 it, given a stock, standard 8.4-RELEASE install?

 Thanks


You need to set the following in /etc/src.conf for the nonecipher
 *WITH**_**OPENSSH**_**NONE**_**CIPHER=yes*
*
*
I think there is an option to rebuild only the ssh stuff without a whole
buildworld.
I do not know how however.

Man src.conf give you some more hints on this
http://www.freebsd.org/cgi/man.cgi?query=src.confapropos=0sektion=0manpath=FreeBSD+8.4-stablearch=defaultformat=html


Regards
Johan

Sorry for the bad layout, an ipad is not something I get used to regarding
copy/paste, lettertype and size and so on.

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

___
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: to gmirror or to ZFS

2013-07-16 Thread Johan Hendriks
Op dinsdag 16 juli 2013 schreef Frank Leonhardt (fra...@fjl.co.uk) het
volgende:

 On 16/07/2013 10:41, Shane Ambler wrote:

 On 16/07/2013 14:41, aurfalien wrote:


 On Jul 15, 2013, at 9:23 PM, Warren Block wrote:

  On Mon, 15 Jul 2013, aurfalien wrote:

  ... thats the question :)

 At any rate, I'm building a rather large 100+TB NAS using ZFS.

 However for my OS, should I also ZFS or simply gmirror as I've a
  dedicated pair of 256GB SSD drives for it.  I didn't ask for SSD
  sys drives, this system just came with em.

 This is more of a best practices q.


 ZFS has data integrity checking, gmirror has low RAM overhead.
 gmirror is, at present, restricted to MBR partitioning due to
 metadata conflicts with GPT, so 2TB is the maximum size.

 Best practices... depends on your use.  gmirror for the system
 leaves more RAM for ZFS.


 Perfect, thanks Warren.

 Just what I was looking for.


 I doubt that you would save any ram having the os on a non-zfs drive as
 you will already be using zfs chances are that non-zfs drives would only
 increase ram usage by adding a second cache. zfs uses it's own cache
 system and isn't going to share it's cache with other system managed
 drives. I'm not actually certain if the system cache still sits above
 zfs cache or not, I think I read it bypasses the traditional drive cache.

 For zfs cache you can set the max usage by adjusting vfs.zfs.arc_max
 that is a system wide setting and isn't going to increase if you have
 two zpools.

 Tip: set the arc_max value - by default zfs will use all physical ram
 for cache, set it to be sure you have enough ram left for any services
 you want running.

 Have you considered using one or both SSD drives with zfs? They can be
 added as cache or log devices to help performance.
 See man zpool under Intent Log and Cache Devices.

  I agree with the sentiment of using the SSD as ZFS cache - it's possibly
 the only logical use for them.

 I guess that with 100Tb worth of Winchesters you're not on a very tight
 budget, and not too tight on RAM for the OS either. If I was going to do
 this I'd stick with the OS on UFS and a gmirror because I simply don't
 trust ZFS. This is based on pure prejudice and inexperience.

 I know how to arrange disks on a UNIX file system for performance - what
 to use for swap, where tmp files should go and so on. I also know where
 every file will be, physically, in the event of trouble. And here's the
 clincher: If the machine blows up I can simply take one of the mirrored
 drives, slap it in to some new hardware and I've got a very reasonable
 chance that it'll boot. Can I do this with ZFS? I get the feeling that the
 answer is an emphatic maybe.

 So all things considered, I'd need a good reason not to stick with what I
 know works reliably and can be recovered in the event of a disaster (UFS),
 but I'm happy to watch and learn from everyone else's experience!


I would us a zfs for the os.
I have a couple of servers that did not survive a power failure with
gmirror.
The problems i had was when the power failed one disk was in a rebuilding
state and then when the background fsck started or was busy for some time
it would crash the whole server.
Removing the disk that was rebuilding resolved the issue.
This happened to me more than once.
Most of the times it worked as advertised but not always.

Before people tell me to use an UPS, i used a UPS but the damn thing gave
way itself.
Then after it came back from the warranty repair it gave way again.
Some times it came back right away, leaving some servers survive and some
in the state they where.
It was hard to find the cause in the beginning because of the fact some
servers did survive the power failure.
We did not suspect the UPS at first.

Anyway, gmirror did not work for me in all cases.
I am now running a few servers with a zfs root.
I did not have any problems with them till now (knock on wood).
Since reading that swap on zfs root can cause trouble i have a separate
freebsd-swap partition for the swap.

Gr
Johan




 __**_
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://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: to gmirror or to ZFS

2013-07-16 Thread Johan Hendriks
Op dinsdag 16 juli 2013 schreef Charles Swiger (cswi...@mac.com) het
volgende:

 Hi--

 On Jul 16, 2013, at 10:33 AM, Johan Hendriks 
 joh.hendr...@gmail.comjavascript:;
 wrote:
 [ ... ]
  I would us a zfs for the os.
  I have a couple of servers that did not survive a power failure with
  gmirror.
  The problems i had was when the power failed one disk was in a rebuilding
  state and then when the background fsck started or was busy for some time
  it would crash the whole server.

 Well, don't do that.  :-)


When the server reboots because of a powerfailure at night, then it boots.
Then it starts to rebuild the mirror on its own, and later the fsck kicks
in.

Not much i can do about it.

Maybe i should have done it without the automatic attachment for a new
device.





 Seriously, bring up the box on one disk, force a foreground fsck if needed
 to get the filesystem to known clean state, and then rebuild the mirror.
 Mixing the mirror rebuild with something like an fsck will just thrash the
 disks.

 [ ... ]
  Before people tell me to use an UPS, i used a UPS but the damn thing gave
  way itself.  Then after it came back from the warranty repair it gave
 way again.

 Grr.  That's when you want find another UPS vendor.


Is apc not the right choice?
I think i got a monday morning model.
Some times things fail!




Regards,
 --
 -Chuck


___
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: routing issues to freebsd.org

2013-07-08 Thread Johan Hendriks

Paul Macdonald schreef:


On doing some updates this morning, am seeing a routing issue beyond 
bgp1-ext.ysv.freebsd.org...


Updating Index
fetch: http://www.FreeBSD.org/ports/INDEX-9.bz2: No route to host

www.freebsd.org.513 IN  CNAME wfe0.ysv.freebsd.org.
wfe0.ysv.freebsd.org.   1690IN  A   8.8.178.110

traceroute to 8.8.178.110 (8.8.178.110), 64 hops max, 52 byte packets
 1  -- 0.528 
ms  0.462 ms  0.428 ms
 2  490.net2.north.dc5.as20860.net (62.233.127.210)  0.267 ms 0.263 
ms  0.263 ms
 3  593.core1.thn.as20860.net (62.233.127.173)  111.922 ms  49.373 ms  
1.125 ms
 4  ae3-309.lon11.ip4.tinet.net (77.67.74.101)  1.080 ms  1.181 ms 
1.081 ms

 5  xe-9-1-0.sjc10.ip4.tinet.net (89.149.184.53)  145.580 ms 145.746 ms
xe-8-1-0.sjc10.ip4.tinet.net (89.149.183.17)  145.216 ms
 6  213.200.66.238 (213.200.66.238)  145.702 ms  188.823 ms
ge-0-3-9.pat1.sjc.yahoo.com (216.115.96.10)  219.331 ms
 7  bgp1-ext.ysv.freebsd.org (216.115.101.227)  146.013 ms 146.385 ms
ae-5.pat2.sjc.yahoo.com (216.115.105.19)  145.653 ms
 8  * * bgp1-ext.ysv.freebsd.org (216.115.101.227)  146.519 ms
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *


Paul.


I noticed FreeBSD was not accessable this morning.
svnup gives me the following.
 svnup stable
svnup: connect failure: Connection refused

earlier i could not even open www.freebsd.org, so something is or was 
not right.

Now www.freebsd.org works again

gr
Johan Hendriks



___
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: no 9.1-release packages?

2013-03-07 Thread Johan Hendriks

Ruben de Groot schreef:

Hi,

I just rented a 9.1-release VPS and was trying to install some packages.
This however does not work as there is no directory packages-9.1-release on 
the ftp server (ftp.freebsd.org). Why is this?

ftp pwd
Remote directory: /pub/FreeBSD/ports/amd64
ftp ls
229 Entering Extended Passive Mode (|||40379|).
150 Here comes the directory listing.
lrwxrwxrwx1 633  49315 Apr 19  2007 packages - 
packages-stable
drwxrwxr-x   95 967  100  2048 Jul 17  2012 packages-10-current
drwxrwxr-x   95 967  100  2048 Oct 07 08:18 packages-7-stable
drwxrwxr-x   95 967  100  2048 Oct 11 16:19 packages-8-stable
drwxrwxr-x   95 967  100  2048 Feb 10  2011 packages-8.2-release
drwxrwxr-x   95 967  100  2048 Mar 28  2012 packages-8.3-release
lrwxr-xr-x1 967  10017 Dec 09  2011 packages-9-current - 
packages-9-stable
drwxrwxr-x   95 967  100  2048 Oct 16 21:26 packages-9-stable
drwxrwxr-x   95 967  100  2048 Dec 29  2011 packages-9.0-release
lrwxr-xr-x1 967  10019 Dec 03  2011 packages-current - 
packages-10-current
lrwxr-xr-x1 967  10017 Nov 07  2011 packages-stable - 
packages-9-stable
ftp

--
Ruben

___
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


There was a security issue and therefor there are no packages for 9.1


Due to the security incident reported here:

http://www.FreeBSD.org/news/2012-compromise.html

only the small third-party package set on the DVD image is available at 
this time for users who require pre-built packages (just GNOME and KDE 
windowing systems). The FreeBSD Project's package building 
infrastructure is undergoing a complete review and redesign. At this 
time we can not commit to a date the full release package set will 
become available. A separate announcement will be made when that becomes 
available. If you wish to install 9.1-RELEASE now you can build your own 
packages using portsnap(8) to obtain an up to date ports tree and then 
build the packages. If you require pre-built packages you should wait 
for the announcement of the full release package set becoming available.


FreeBSD 9.1-RELEASE can also be purchased on CD-ROM or DVD from several 
vendors. One of the vendors that will be offering FreeBSD 9.1-based 
products is:



regards
Johan


___
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: http://localhost/phpmyadmin

2012-12-13 Thread Johan Hendriks

Well here it is :

Start


Without being rude, please provide some more info, we do not have a 
crystal boll to see what is going on, what you try to accomplice  and so on.


gr
Johan


Anil Kumar schreef:

i want start
___
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: Famp Server

2012-10-29 Thread Johan Hendriks

Hamisi Jabe schreef:

Dear All,

I freel freebsd is very good in networking server but it make work hard for 
compiling the Famp package (Freebsd, apache, mysql, php) i would like to ask 
the developers to compile a package that its a one select and install which 
will do everything for the famp server rather than downloading selecting 
extensions, installing this and that exectra.


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

Well it is simpel, just use pkg_add -r apache mysql php  and so on.
It will install the packages without compiling.
BUT we can not tell you which php modules you need.
So it could be that you later on need php-gd or some other option.
Then pkg_add -r php-module name will install the missing module.
You could install all the php modules, but i think (know) it is not wise 
to do so.


regards


___
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: svn checkout head or stable

2012-09-28 Thread Johan Hendriks

Ed Flecko schreef:

My goal is to simply have a production server that's fully patched,
but I will be running custom kernels (which is why I'm not using
freebsd-update). I've seen a lot of subversion references to checking
out the head branch and the stable branch.

I understand the head branch is the most current, so that's the same
as the current branch, right?

If I understand correctly, most people will not follow the current
branch for production servers.

My goal is to have all of the files I need to rebuild my kernel and my
system after security updates have been released, therefore I should
do something like:



svn co svn://svn.freebsd.org/base/stable/9 /usr/src

svn co svn://svn.freebsd.org/ports/stable/9 /usr/ports

svn co svn://svn.freebsd.org/doc/stable/9 /usr/doc

This will give me everything I need to recompile and have a fully
patched system, right?



I do not make changes to the src, ports, or doc directories. From that
point forward, as new security patches are released, I can simply:

svn up /usr/src

svn up /usr/ports

svn up /usr/doc

and once again rebuild my kernel and system.



Does this sound correct?


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


It sounds correct but is not :D

If you use svn co svn://svn.freebsd.org/base/stable/9 /usr/src then you 
are tracking stable.

Stable is a not a release that receives patches.
Stable receives code from head(current) that has been tested in 
Current(head), but did not get real exposure in the stable branch which 
is now 9.

Stable is the code that is altered between releases.
So Stable might contain some bugs from head that are only exposed in the 
current code base.


So if you want a production system which only receive patches you need 
to track release.

svn co svn://svn.freebsd.org/base/releng/9.1 /usr/src

To sum it up:   (please correct me if i am wrong)

So for the latest and greatest use head which is FreeBSD 10 Current
svn co svn://svn.freebsd.org/base/head /usr/src

If you want the stable branch use
svn co svn://svn.freebsd.org/base/stable/9 /usr/src
This will give you FreeBSD 9 Stable

If you want to track release with patches use
svn co svn://svn.freebsd.org/base/releng/9.1 /usr/src
This will give you FreeBSD 9.1-px where px is the patch level if any.

I hope this clearify things a little bit

regards
Johan
___
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: Samba acting oddly.

2012-05-09 Thread Johan Hendriks
 notice.

For starters, use sendfile = yes is 2 to 3 times in the config file, one 
time is enough.

Secondly in the log section of the troubled system.

log level = 1
max log size = 1000syslog = 2


Is this a typo else it should look like this.

log level = 1
max log size = 1000
syslog = 2

what does the command testparm show on the machines?
Does the command wbinfo -u show you the users?


gr
Johan Hendriks
___
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: Synchronising jails

2012-04-27 Thread Johan Hendriks


 
 Hey Everyone,
 
 I'm looking for a way to synchronise two jails. More specifically, I
 would like to keep/maintain an exact copy of a given jail. As an
 example: Suppose I build a jail A on some system (in my particular case
 build with ezjail) , and I copy the jail
 into jail B on some other system (using tar, as is mentioned
 here: http://forums.freebsd.org/showthread.php?t=17813). Now stuff
 happens in Jail A, e.g. files change, new stuff is installed etc. I
 would like to propagate these changes to jail B, but since the transfer
 is over WAN I would like not to have to copy the entire jail again, just
 the stuff that has changed since the last backup. It is safe to assume
 nothing in Jail B changes: I basically want to maintain the exact copy
 so if something would happen to the system running Jail A I can
 immediately switch to jail B without much hassle. 
 
 Normally I would say this a perfect use case for rsync. But as the
 aforementioned thread mentions ``scp or similar wont work to copy a
 jail'', and I consider rsync similar to scp, I am under the impression
 that rsync would not be usable in this situation. Can anyone shed some
 light on this, or suggest an alternative to synchronise the jails?  
 
 
 Regards, 
 
 -- 
 
 - Frank
 ___
 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

Maybe you can store your jails on a per jail zfs filesystem.
Then use zfs send/receive to send the incremental changes to the remote machine.

Regards,
Johan Hendriks___
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: Horrible installer

2012-01-22 Thread Johan Hendriks

Michael Sierchio schreef:

I've been using FreeBSD since 2.2.1, and IMHO, the 9.0 installer SUX!
It blow chunks. It's a POS.  It's crap.  It is a joke.

I hope I made myself clear. ;-)

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

You made your self clear.

I  remember myself coming from anaconda ( The Red Hat installer.) before 
i used FreeBSD.
I thought the installer of FreeBSD was very difficult to use, i could 
not understand how that in my eyes ancient installer could ever get a 
decent OS on my disk.


But after trail and error i got used to it, and i can now almost blindly 
use it.

Now there comes another installer, same story.
I need to get used to it again, in about 6 months i do not remember the 
old installer anymore and things feel natural again.

No big deal just adapt and go on.

regards
Johan
___
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: Problem with mfi driver, 9.0-RELEASE

2012-01-15 Thread Johan Hendriks

james schreef:
I transferred a PERC5/i controller to my NAS system, which is using a 
Sapphire mini-ITX board with an AMD M350 CPU.


It seems the card is detected but driver initialisation fails:

mfi0: Dell PERC 5/i mem 0xd000-0xd000,0xfea0-0xfea1 
irq 96 at device 14.0 on pci2

mfi0: Megaraid SAS driver Ver 3.00
mfi0: 10970 (379716350s/0x0020/info) - Hibernate command received from 
host
mfi0: 10971 (boot + 0s/0x0020/info) - Firmware initialization started 
(PCI ID 0015/1028/1f02/1028)

mfi0: 10972 (boot + 0s/0x0020/info) - Firmware version 1.03.40-0232
mfi0: 10973 (boot + 0s/0x0020/info) - Firmware initialization started 
(PCI ID 0015/1028/1f02/1028)

...
mfi0: 11056 (boot + 29s/0x0002/info) - Inserted: PD 00(e0/s0) Info: 
enclPd=, scsiType=0, portMap=01, 
sasAddr=5000c546b6d5,

mfi0: 11057 (boot + 29s/0x0002/info) - Inserted: PD 01(e0/s1)
mfi0: 11058 (boot + 29s/0x0002/info) - Inserted: PD 01(e0/s1) Info: 
enclPd=, scsiType=0, portMap=02, 
sasAddr=5000c546b8cd,

mfi0: Cannot allocate interrupt
device_attach: mfi0 attach returned 22

This would seem to be similar to discussions in November which 
eventually led to JHB committing change in r227580 (and perhaps earlier).


I have downloaded the sources for 9.0-RELEASE and it looks like this 
commit did not get back-ported to the release branch.


I'm a bit of a noob with FreeBSD.  The instructions for tracking 
FreeBSD-STABLE seem a bit scary.  Is that the only way that I would 
get the necessary fixes for the mfi driver?  (Indeed, would I get 
those on FreeBSD stable?)


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


If you do not want to use stable, you could try to import the diff to 
your release src yourself.

The only change then is the mfi driver, the rest is just release.

But stable is not that bad to run, i know many people that run a stable 
release, just for this kind of things.

Many people runs 8.2 Stable for the latest ZFS version.

regards
Johan




___
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: Problem with mfi driver, 9.0-RELEASE

2012-01-15 Thread Johan Hendriks

Johan Hendriks schreef:

james schreef:
I transferred a PERC5/i controller to my NAS system, which is using a 
Sapphire mini-ITX board with an AMD M350 CPU.


It seems the card is detected but driver initialisation fails:

mfi0: Dell PERC 5/i mem 0xd000-0xd000,0xfea0-0xfea1 
irq 96 at device 14.0 on pci2

mfi0: Megaraid SAS driver Ver 3.00
mfi0: 10970 (379716350s/0x0020/info) - Hibernate command received 
from host
mfi0: 10971 (boot + 0s/0x0020/info) - Firmware initialization started 
(PCI ID 0015/1028/1f02/1028)

mfi0: 10972 (boot + 0s/0x0020/info) - Firmware version 1.03.40-0232
mfi0: 10973 (boot + 0s/0x0020/info) - Firmware initialization started 
(PCI ID 0015/1028/1f02/1028)

...
mfi0: 11056 (boot + 29s/0x0002/info) - Inserted: PD 00(e0/s0) Info: 
enclPd=, scsiType=0, portMap=01, 
sasAddr=5000c546b6d5,

mfi0: 11057 (boot + 29s/0x0002/info) - Inserted: PD 01(e0/s1)
mfi0: 11058 (boot + 29s/0x0002/info) - Inserted: PD 01(e0/s1) Info: 
enclPd=, scsiType=0, portMap=02, 
sasAddr=5000c546b8cd,

mfi0: Cannot allocate interrupt
device_attach: mfi0 attach returned 22

This would seem to be similar to discussions in November which 
eventually led to JHB committing change in r227580 (and perhaps 
earlier).


I have downloaded the sources for 9.0-RELEASE and it looks like this 
commit did not get back-ported to the release branch.


I'm a bit of a noob with FreeBSD.  The instructions for tracking 
FreeBSD-STABLE seem a bit scary.  Is that the only way that I would 
get the necessary fixes for the mfi driver?  (Indeed, would I get 
those on FreeBSD stable?)


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


If you do not want to use stable, you could try to import the diff to 
your release src yourself.

The only change then is the mfi driver, the rest is just release.

But stable is not that bad to run, i know many people that run a 
stable release, just for this kind of things.

Many people runs 8.2 Stable for the latest ZFS version.

regards
Johan





Sorry replying to myself.
Here you can download the raw diff at the end of the page.
http://freshbsd.org/commit/freebsd/r227580

Well here is the link http://freshbsd.org/commit/freebsd/r227580/diff.txt

So you can patch your own source.
I do not know if it apply's cleanly, if not, maybe jhb knows why then.

regards
Johan




___
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


mailing list and personal assaults

2012-01-02 Thread Johan Hendriks
I as a normal sys admin like to read the mailing lists, because it 
learned me a lot, and it still does.


But lately it looks like more and more people get personal!
The word ass, has passed this year even more  then i used my own.

Maybe it is the time we live in, but please !
If you are not agree with someone's statement or thoughts, ignore it or 
write your thoughts and be done with it.


regards
Johan

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


Re: gpart, modified label does not show up in /dev/gpt.

2011-12-23 Thread Johan Hendriks

Peter schreef:

Hello all.

I just installed FreeBSD 9.0 RC2 and upgraded to 9.0 RC3.

I used the standard GPT disk layout at install.

Now i want to set labels for my disk, so that i can swap around disks a
little more easy.
So reading through the man page it told me to use gpart modify -i -l

The layout is as follows:
test# gpart status
   Name  Status  Components
da0p1  OK  da0
da0p2  OK  da0
da0p3  OK  da0

test# gpart list | grep label
 label: (null)
 label: (null)
 label: (null)

Now i modified the gpart labels.

test# gpart modify -i1 -l bootpart da0
da0p1 modified
test# gpart modify -i2 -l rootpart da0
da0p2 modified
test# gpart modify -i3 -l swap da0
da0p3 modified

Ok all looks fine.
Now lets see if i can use my labels

test# cd /dev/gpt
/dev/gpt: No such file or directory.

Well it does not create my labels
I did check if the labels where there

test# gpart list | grep label
 label: bootpart
 label: rootpart
 label: swap

So i rebooted the machine!
But after a reboot, still no /dev/gpt.

So why is it not creating my labels!
Am i missing a step?

Thanks for your time.

And before i forget, merry christmas to all, and a wonderful 2012.

regards,
Johan Hendriks


I was going to say if you mount /dev/da0p? its /dev/gpt/label disappears,
and since all the partition are mounted already [/dev/gpt/ is empty], then
/dev/gpt is maybe also removed...but /dev/gpt/bootpart is not mounted
and should still show up.


When you ran the 'gpart' commands, did you set the sysctl geom debug
variable? [sysctl kern.geom.debugflags=17]
After the reboot, are the labels still there? [gpart list | grep label]

]Peter[


I placed some other disk in (for the zfs pool)
Now i have /dev/gpt/bootpart, but not the labels for swap and /
I did not use the sysctl value.

And yes the labels are stil in place.

test# cd /dev/gpt
test# ls -al
total 1
dr-xr-xr-x   2 root  wheel  512 Dec 23 20:02 .
dr-xr-xr-x  10 root  wheel  512 Dec 23 21:02 ..
crw-r-   1 root  operator0, 123 Dec 23 20:02 bootpart
test# gpart list | grep label
   label: bootpart
   label: rootpart
   label: swap
test#

I will try the debugflag option.
But it should not be nessacary i guess.

thanks
regards
Johan

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


Re: gpart, modified label does not show up in /dev/gpt.

2011-12-23 Thread Johan Hendriks

Peter schreef:

Peter schreef:

Hello all.

I just installed FreeBSD 9.0 RC2 and upgraded to 9.0 RC3.

I used the standard GPT disk layout at install.

Now i want to set labels for my disk, so that i can swap around disks a
little more easy.
So reading through the man page it told me to use gpart modify -i -l

The layout is as follows:
test# gpart status
Name  Status  Components
da0p1  OK  da0
da0p2  OK  da0
da0p3  OK  da0

test# gpart list | grep label
  label: (null)
  label: (null)
  label: (null)

Now i modified the gpart labels.

test# gpart modify -i1 -l bootpart da0
da0p1 modified
test# gpart modify -i2 -l rootpart da0
da0p2 modified
test# gpart modify -i3 -l swap da0
da0p3 modified

Ok all looks fine.
Now lets see if i can use my labels

test# cd /dev/gpt
/dev/gpt: No such file or directory.

Well it does not create my labels
I did check if the labels where there

test# gpart list | grep label
  label: bootpart
  label: rootpart
  label: swap

So i rebooted the machine!
But after a reboot, still no /dev/gpt.

So why is it not creating my labels!
Am i missing a step?

Thanks for your time.

And before i forget, merry christmas to all, and a wonderful 2012.

regards,
Johan Hendriks


I was going to say if you mount /dev/da0p? its /dev/gpt/label
disappears,
and since all the partition are mounted already [/dev/gpt/ is empty],
then
/dev/gpt is maybe also removed...but /dev/gpt/bootpart is not
mounted
and should still show up.


When you ran the 'gpart' commands, did you set the sysctl geom debug
variable? [sysctl kern.geom.debugflags=17]
After the reboot, are the labels still there? [gpart list | grep label]

]Peter[


I placed some other disk in (for the zfs pool)
Now i have /dev/gpt/bootpart, but not the labels for swap and /
I did not use the sysctl value.

And yes the labels are stil in place.

test# cd /dev/gpt
test# ls -al
total 1
dr-xr-xr-x   2 root  wheel  512 Dec 23 20:02 .
dr-xr-xr-x  10 root  wheel  512 Dec 23 21:02 ..
crw-r-   1 root  operator0, 123 Dec 23 20:02 bootpart
test# gpart list | grep label
 label: bootpart
 label: rootpart
 label: swap
test#

I will try the debugflag option.
But it should not be nessacary i guess.

thanks
regards
Johan


If you have already mounted a /dev/da0p?, its label is removed from
/dev/gpt - 'bootpart' is never mounted, that is why it's label remains.
you just have to change /etc/fstab to the /dev/gpt/labels and then they
will remain and get mounted - Or boot from a DVD, don't mount anything and
you'll see the labels.

ie:
If you mount '/dev/da0p2'as '/' then '/dev/gpt/rootpart' will no longer be
available, same goes for swap and everything else.  If you mount
'dev/gpt/rootpart' as '/', the you'll have both '/dev/da0p2' and
'/dev/gpt/bootpart'

]Peter[



Thanks that solved it. !!
because i did not see them in /dev/gpt i did not change the /etc/fstab 
file to the appropiate config.

I thought if they are not there, then i can not use them.
Wrong assumption !!!
I edited /etc/fstab to mount /dev/gpt/rootpart on / and /dev/gpt/swap on 
swap, and the machine booted like it should.

Also the gpt entries are now there!

Thanks again!

Merry cristmas !!!

regards
Johan





___
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: carp(4) on FreeBSD 8.2

2011-12-14 Thread Johan Hendriks

Victor Sudakov schreef:

Colleagues,

Are there any success stories or known issues with carp(4) on FreeBSD
8.2? I have configured a carp interface:

router1# ifconfig le0
le0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST  metric 0 mtu 
1500
 options=8VLAN_MTU
 ether 08:00:27:aa:6a:bd
 inet 10.14.135.88 netmask 0xfe00 broadcast 10.14.135.255
 media: Ethernet autoselect
 status: active
router1#
router1# ifconfig carp0
carp0: flags=49UP,LOOPBACK,RUNNING  metric 0 mtu 1500
 inet 10.14.134.99 netmask 0xfe00
 carp: MASTER vhid 1 advbase 1 advskew 0
router1#

But for some reason I can ping 10.14.135.88, but cannot ping
10.14.134.99. There seem to be ARP responses however:

$ arp -an | grep 10.14.134.99
? (10.14.134.99) at 00:00:5e:00:01:01 on re0 [ethernet]

This looks like a VRRP MAC address for sure. And this MAC address is
present in the switch forwarding table:
Core5sh mac-address-table  | i .5e00.0101
1.5e00.0101DYNAMIC Fa0/18

What is even more strange, tcpdump on le0 does not even see ICMP echo
requests addressed to 10.14.134.99.

What am I doing wrong?

Can you show your relevant rc.conf settings.
For both master and slave machine, also the relevant sysctl.conf 
settings could help.


regards
Johan Hendriks

___
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: Problem with jail network

2011-12-01 Thread Johan Hendriks

bsd schreef:

Hi,

I have been configuring a jail system using the howto provided here : 
http://www.freebsd.org/doc/handbook/jails-application.html

The is now correctly starting, but I can't seem to use the network stack.



root@master 16:52:55 ~ -  jls
JID  IP Address  Hostname  Path
   1  xx.216.yy.150  n0.no.no/jail/j/n0


But I can't ping neither outside of the jail, nor inside of It.

I am a bit confused because I don't know if I have to configure the IP using an 
alias on the main Eth interface, or do something else.


ifconfig_bce0_alias0=inetxx.216.yy.150/32



This last command seems to have frozen my system.


Since I can't reach the network, I can't install ports either… !


Thanks for your help.




Does your jail knows how to reach the router, or for that matter your 
host sytem.

What does a traceroute do.
You need to set some sysctl values to be able to ping or trace route 
from within a jail.


regards,
Johan Hendriks

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


Re: FreeBSD make buildworld fail: cc: Internal error: Killed: 9 (program cc1)

2011-11-10 Thread Johan Hendriks

Damien Fleuriot schreef:

Here are mine:
SUP_UPDATE= yes
SUP=/usr/bin/csup
SUPFLAGS=   -zgL 2
SUPHOST=cvsup1.fr.freebsd.org
SUPFILE=/etc/cvsup/stable-supfile
PORTSSUPFILE=   /etc/cvsup/ports-supfile
DOCSUPFILE= /etc/cvsup/doc-supfile

There is no -g anymore for csup, so

SUPFLAGS= -zL2 would do.

regards
Johan Hendriks

___
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: Problems after updating KDE

2011-10-19 Thread Johan Hendriks

Carmel schreef:

I have had numerous problems after updating to the latest KDE
version. For starters, I lost my desktop and only had a blank (black)
screen when starting up. I did manage to figure out how to correct
that, but numerous other problems exist.

For starters:

1) The (ALT)+(TAB) key no longer works. It doesn't switch between
applications or anything.

2) I lost my desktop configuration completely. I have tried to restore
it but I cannot find a way to add a URL shortcut to the desktop. There
is no option in the menu, or at least none that I can find.

3) I use to use a (CTRL)(ALT)(V) combination to activate the klipper
clipboard. That no longer works. In fact, virtually all of my shortcut
keys have vanished.

To the best of my knowledge I followed the directions in the UPDATINg
file correctly. Portmaster bombed out twice so I had to resort to
using portupgrade to complete the task. This command always fails:

ortmaster -o net/linphone-base ortp

With this error:


===   linphone-base-3.2.1_1,1 conflicts with installed package(s):
   ortp-0.13.0_1


So I guess I will have to delete both packages and start over. I am
just not sure which package to delete.

As i understand things correctly, the ortp port is no longer needed as 
linphone is doing the ortp part.

So you could say ortp has merged into ortp.

deleting ortp is the right choice.

regards,
Johan Hendriks
___
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: pkg_version: corrupted record (pkgdep line without argument), ignoring

2011-10-19 Thread Johan Hendriks

Carmel schreef:

After attempting to use portmaster to update the KDE port, I am
receiving repeated error messages when running the command:

pkg_version -vIL=

The error message:

pkg_version: corrupted record (pkgdep line without argument), ignoring

I am at a lost as to how to correct this problem.


run portmaster --check-depends.
You will find the dependencies that no longer exist.

regards
Johan Hendriks
___
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: Problems after updating KDE

2011-10-19 Thread Johan Hendriks

Johan Hendriks schreef:
So you could say ortp has merged into ortp. 

should read So you could say ortp has merged into linphone

Sorry for any confusion caused.

regards
Johan
___
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: Where to post articles on FBSD

2011-10-18 Thread Johan Hendriks

Alejandro Imass schreef:

Hi,

I have been using FBSD with EzJail and a lot of Perl stuff like
developing and maintaining Catalyst jails and flavours, and hos to
create a jail based on a previous Catalyst jail and such, (taking
advantage of bsdpan) etc. etc.

I'd like to publish some articles on this because I think that many
administrators simply ignore the power of FBSD and the jails system
especially with things like EzJail where I found that the info was
scattered, incomplete or outdated.

Where would be the place to publish these articles? FBSD Diary?

Thanks,


Maybe the freebsd forums.
There is a howto section.

regards
Johan Hendriks
___
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: How To Fix Use of assignment to $[ is deprecated

2011-10-16 Thread johan Hendriks

Op 16-10-11 05:09, Drew Tomlinson schreef:
Somehow while trying to upgrade my ports, I got things out of whack.  
The final straw was that perl got upgraded from 5.8.9 to 5.12.4.  I've 
read the notes in UPDATING but they are not helping my situation.  
Finally, I just decided that a portupgrade -af would be in my best 
interest.  However now portupgrade complains that Makefile possibly 
broken and then give this more relevant error:


Use of assignment to $[ is deprecated at /usr/local/sbin/apxs line 86.

This seems to be the case for just about any port I try and fix.  I 
think this file is part of apache22 so I attempted to rebuild it.  It 
compiles fine but fails on the install portion with this output:


---  Installing the new version via the port
===  Installing for apache-2.2.21
===   apache-2.2.21 depends on file: /usr/local/bin/perl5.12.4 - found
===   apache-2.2.21 depends on shared library: expat.6 - found
===   apache-2.2.21 depends on shared library: apr-1 - found
===   apache-2.2.21 depends on shared library: pcre.0 - found
===   apache-2.2.21 depends on shared library: iconv.3 - found
===   Generating temporary packing list
Making install in srclib
Making install in os
Making install in unix
Making install in server
Making install in mpm
Making install in prefork
find: /usr/local/include/apr-1/apr.h: No such file or directory
...

And then includes No such file or directory for 2-3 screens of files.

How can I fix my system?

Thanks,

Drew


I have had this on some systems also.

Deinstall apache22 and your apr program.
pkg_delete apache22 and pkg_delete apr-your-version.

Then install apache22 again.
cd /usr/local/www/apache22
make install clean

It should install your apache22 and the corensponding and working apr 
version.



regards
Johan Hendriks


___
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: GEOM_MIRROR GPT table corrupt or invalid

2011-09-27 Thread Johan Hendriks

peter harrison schreef:

Hello list,

I have a problem with a software RAID1. This was created under Freenas 0.7.2
(using the web interface - FreeBSD 7.3 under the hood) which as I understand
it uses GPT and GEOM_MIRROR. This Freenas is running on AMD64 on an ESXi 4.1
host with the 2 drives for the mirror passed through as raw disks to the
Freenas guest - if that makes a difference.

This mirror now fails to mount on boot. Checking the boot messages I see
this straight after the drives are detected:

GEOM: da1: the secondary GPT table is corrupt or invalid.
GEOM: da1: using the primary only -- recovery suggested

Further on I see:

GEOM_MIRROR: Force device data start due to timeout
GEOM_MIRROR: Device mirror/data launched (1/2)

The mirror is not mounted when booting is completed - no further messages
during boot - mount says:

freenas:~# mount
/dev/da0s1a on / (ufs, local, soft-updates)
devfs on /dev (devfs, local)
procfs on /proc (procfs, local)

When I try to mount it manually I get a continually scrolling g_vfs error:

g_vfs_done():mirror/datap1[READ(offset=-636932692096956416, length =16384)]
error = 5

and the guest becomes unresponsive.

GEOM isn't something I'm really familiar with - so any insight on how this
happened would be interesting. But the main question is, is there anyway of
getting the data off this disk? (I have some backups, but they're not
complete).

Thanks for any help.



Peter Harrison.


You can not use gmirror and GPT at the same time on the whole disk.

Both use the same diskspace to write there meta data.
What you can do is to mirror the partitions seperately.
A nice howto you can find here
http://www.unix-heaven.org/node/20

You can recover the GPT, but then the mirror can not load.
if you recreate the mirror after that, the gpt label gets corrupt.


regards,
Johan

___
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: GEOM_MIRROR GPT table corrupt or invalid

2011-09-27 Thread Johan Hendriks

peter harrison schreef:



On 27 September 2011 22:58, Johan Hendriks joh.hendr...@gmail.com 
mailto:joh.hendr...@gmail.com wrote:


peter harrison schreef:

Hello list,

I have a problem with a software RAID1. This was created under
Freenas 0.7.2
(using the web interface - FreeBSD 7.3 under the hood) which
as I understand
it uses GPT and GEOM_MIRROR. This Freenas is running on AMD64
on an ESXi 4.1
host with the 2 drives for the mirror passed through as raw
disks to the
Freenas guest - if that makes a difference.

This mirror now fails to mount on boot. Checking the boot
messages I see
this straight after the drives are detected:

GEOM: da1: the secondary GPT table is corrupt or invalid.
GEOM: da1: using the primary only -- recovery suggested

Further on I see:

GEOM_MIRROR: Force device data start due to timeout
GEOM_MIRROR: Device mirror/data launched (1/2)

The mirror is not mounted when booting is completed - no
further messages
during boot - mount says:

freenas:~# mount
/dev/da0s1a on / (ufs, local, soft-updates)
devfs on /dev (devfs, local)
procfs on /proc (procfs, local)

When I try to mount it manually I get a continually scrolling
g_vfs error:

g_vfs_done():mirror/datap1[READ(offset=-636932692096956416,
length =16384)]
error = 5

and the guest becomes unresponsive.

GEOM isn't something I'm really familiar with - so any insight
on how this
happened would be interesting. But the main question is, is
there anyway of
getting the data off this disk? (I have some backups, but
they're not
complete).

Thanks for any help.



Peter Harrison.

You can not use gmirror and GPT at the same time on the whole disk.

Both use the same diskspace to write there meta data.
What you can do is to mirror the partitions seperately.
A nice howto you can find here
http://www.unix-heaven.org/node/20



Thanks Johan, I'll check the link out. This mirror has been running OK 
for the last 6 months - so perhaps I misunderstood how FreeNAS set it 
up in the first place?



You can recover the GPT, but then the mirror can not load.
if you recreate the mirror after that, the gpt label gets corrupt.


No hope of being able to recover any data then?

Thanks again,



Peter Harrison.



regards,
Johan


I had the same issue, i saw the message of the gpt label, but it just 
booted.

So i never looked at it in detail.
Until i upgraded to 8.2, then it does not boot anymore.
8.2 just did not boot with a corrupted GPT label.
If you repair the label, you can edit the fstab file to use the normal 
filesystems and not the mirrored one.


Then it boot of just one disk, then create the mirrors of the slices as 
stated by the webpage.


If you are not sure, disconnect the second drive before doing anything.
It should be accesable in case things really did go wrong through a live 
cd or something.


So make sure you can boot of a single disk and work on from there.

regards,
Johan
___
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: What are these errors ?

2011-09-18 Thread johan Hendriks
() at sched_sync+0x1d1
Sep 18 12:30:52 store2 kernel: fork_exit() at fork_exit+0x135
Sep 18 12:30:52 store2 kernel: fork_trampoline() at fork_trampoline+0xe
Sep 18 12:30:52 store2 kernel: --- trap 0, rip
Sep 18 12:30:52 store2 kernel: =
Sep 18 12:30:52 store2 kernel: 0,
Sep 18 12:30:52 store2 kernel: r
Sep 18 12:30:52 store2 kernel: sp
Sep 18 12:30:52 store2 kernel: =
Sep 18 12:30:52 store2 kernel: 0x
Sep 18 12:30:52 store2 kernel: ff
Sep 18 12:30:52 store2 last message repeated 2 times
Sep 18 12:30:52 store2 kernel: 8
Sep 18 12:30:52 store2 kernel: 116
Sep 18 12:30:52 store2 kernel: e1
Sep 18 12:30:52 store2 kernel: fd0
Sep 18 12:30:52 store2 kernel: 0,
Sep 18 12:30:52 store2 kernel: r
Sep 18 12:30:52 store2 kernel: bp
Sep 18 12:30:52 store2 kernel: =
Sep 18 12:30:52 store2 kernel: 0
Sep 18 12:30:52 store2 kernel: --
Sep 18 12:30:52 store2 kernel: -


It seems to mention da1 but my mounted da1 partition appears just 
fine. I copy files to/from it.


gpart show da1
= 34  15519973310  da1  GPT  (7.2T)
   34 2014   - free -  (1M)
 2048  155199692801  freebsd-ufs  (7.2T)
  15519971328 2016   - free -  (1M)


Are these errors serious ?

___
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


These corrupted gpt issue you must try to resolve.
Try the following command
 gpart recover da1

These lor errors appear because you have witness enabled as well as some 
other debugging options.

These debugging and witness options will be disabled as FreeBSD is released.
If you de not want them anymore, rebuild your kernel with the following 
options disabled.
I use my own kernel config file and disable them by setting the nooption 
parameter.


# Debugging disable for use in -current
nooptions   KDB
nooptions   DDB
nooptions   GDB
nooptions   INVARIANTS
nooptions   INVARIANT_SUPPORT
ures, required by INVARIANTS
nooptions   WITNESS
nooptions   WITNESS_SKIPSPIN

There is a webpage which has all these lor's summed up.

http://ipv4.sources.zabbadoz.net/freebsd/lor.html

See if your lor is on the list if so, you can leave it like it is, if 
they ar not on the list, notify the current@freebsd list.


regards,
Johan Hendriks



___
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: FS of choice for max random iops ( Maildir )

2011-09-16 Thread Johan Hendriks

free...@top-consulting.net schreef:
I have a new server that I would like to use as a back-end Maildir 
storage shared through NFS. The specs are:


FreeBSD 9.0 Beta 2
Xeon x3470 @ 2.93 quad-core CPU
4 GB Ram @ 1333mhz ( upgrading to 12GB tomorrow )
3WARE 9650SE-16LP card with write cache enabled ( battery is installed )
16 x WD RE3 1TB drives
RAID 10 setup

Right now I defined an entire array of 8TB ( all 16 disks ) separated 
in two pieces. 50 GB for FreeBSD to boot and the rest available to 
configure as storage.


I've tried three options for the storage file system but I'm not sure 
which one is the best option since I can't really reproduce production 
conditions. I only ran tests with dd and bonnie and here's what I found:


A. TEST1: dd bs=1024 if=/dev/zero of=/data/t1 count=1M

1. ZFS performed the worst, averaging 67MB/sec
2. UFS + gjournal did around 130MB/sec
3. UFS did around 190MB/sec

B. TEST2 ( random file creation ): bonnie++ -d /data -c 10 -s 0 -n 50 
-u 0


1. UFS + gjournal performed the worst
2. ZFS performed somewhat better
3. UFS performed the best again ( about 50% better )

C. TEST3 ( sequential writing ): bonnie++ -d /data -c 10 -s 8088 -n 0 
-u 0


1. UFS + gjournal crashed the box
2. ZFS performed average
3. UFS performed better than ZFS ( about 50% better )


I really like the concepts behind ZFS and UFS + Journaling but the 
performance hit is quite drastic when compared to UFS.


What I'm looking for here is max IOPS when doing random read/writes. 
Is UFS the best choice for this ? Do my results make sense ?




___
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

Did you use raidz1 2 or 3 or mirror for the ZFS ppol.
I believe that ZFS mirror gives you the best performance, but the least 
actual space.


If you did make a raidz[1,2,3] try it with a mirror pool.

Also do not use the raid function of your raid controller if you use 
ZFS, this way you loose the goodies of zfs.

If you setup ZFS use JBOD on the raid controller.


Gr
Johan

___
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: returning to 8.2 from 9.0

2011-09-10 Thread Johan Hendriks

Fbsd8 schreef:
Have test pc. Been running 8.2 just fine. Installed 9.0 from cd and 
after playing around tried to reinstall 8.2. Got error about GTP table 
while trying to setup the HD. Used 8.0 livecd to

dd if=/del/zero of=/dev/ad0 count=5 to wipe the start of the HD clean.
Now 8.2 install issues this msg
GEOM: ad0: the primary GPT table is corrupt or invalid.

How do I fix the HD so 8.2 will install?
___
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

maybe this little script helps you.
http://wiki.freenas.org/faq:0129

It helped me in several situations.

If that does not do the job, you could try dban disknuke that will wipe 
the disk completely


regards,
Johan Hendriks
___
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: returning to 8.2 from 9.0

2011-09-10 Thread Johan Hendriks

Fbsd8 schreef:

Johan Hendriks wrote:

Fbsd8 schreef:
Have test pc. Been running 8.2 just fine. Installed 9.0 from cd and 
after playing around tried to reinstall 8.2. Got error about GTP 
table while trying to setup the HD. Used 8.0 livecd to

dd if=/del/zero of=/dev/ad0 count=5 to wipe the start of the HD clean.
Now 8.2 install issues this msg
GEOM: ad0: the primary GPT table is corrupt or invalid.

How do I fix the HD so 8.2 will install?
___
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

maybe this little script helps you.
http://wiki.freenas.org/faq:0129

It helped me in several situations.

If that does not do the job, you could try dban disknuke that will 
wipe the disk completely


regards,
Johan Hendriks





diskinfo da0

says Device not configured

I all ready did  dd if=/dev/zero of=/dev/da0 count=2 to wipe the 
front of the disk.

i now see two different things?
dd if=/del/zero of=/dev/ad0 count=5
dd if=/dev/zero of=/dev/da0 count=2

first your disk is adx and the second time it is dax

Make sure you use the right disk.
There is also a part add the end of the disk that needs to be wiped, not 
only the start of the disk.


regards,
Johan Hendriks





___
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: Cutting sendmail out of the loop

2011-09-04 Thread Johan Hendriks

Brett Glass schreef:
I'm creating some small FreeBSD servers that shouldn't be able to send 
mail to, or receive mail from, the outside world. I was originally 
just going to set sendmail_enable=NONE in /etc/rc.conf and turn off 
the mailing of output from various utilities (e.g. cron), but alas 
there seem to be a few programs I may need to run that insist upon 
sending mail. So, I'd like to see if I can set up local delivery of 
mail without invoking the memory- and cpu-hungry program that is 
sendmail. I'm therefore wondering what would happen if I just put 
/usr/libexec.mail.local in as sendmail and send-mail in 
mailer.conf and leaving out the rest of the entries. Does anyone on 
the list have experience with doing this or something similar? 
Sendmail has a lot of command line options that mail.local does not, 
but they seem to be rarely invoked by programs that do things such as 
mail output to a local user.


--Brett Glass

___
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

Maybe ssmtp is something you can use.
It is in ports, it does get mail out of the system.
I use it on all of my servers so i can receive the cron mails and so on.

Personaly i think sendmail should be replaced by such small mailer.
Also Dragonfly has removed Sendmail for there own small and clean mailer 
called DMA.

DMA - DragonFly Mail Agent

Gr
Johan Hendriks
Double L
___
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: glabel, gmirror, and gpart

2011-08-27 Thread Johan Hendriks

On Fri, Aug 26, 2011 at 11:04 PM, Warren Block wbl...@wonkity.com wrote:

 So it's cosmetic, but not really the kind of message that instills
 confidence.  gptboot needs to be able to tell if it's reading from a
 gmirror.  Or gmirror should provide one block less than it does, so it
 doesn't overwrite the GPT backup.

I use the whole disk to gmirror setup on all my servers.

And one day i thought i could try the gpart stuff.
I also saw the message at startup, and disgarded it.
This was on 8.1

But when i did an upgrade to 8.2 later on, the system could not boot.
So i had to find another way.

So i would not do it like you do now, it could turn against you in the long run.
The thing i did was to mirror each partition.
Like so http://unix-heaven.org/node/24
that way it worked.
Do not forget to make your second disk bootable also

regards,
Johan Hendriks___
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


(no subject)

2011-08-26 Thread Johan Hendriks
I am trying to set up CARP under 9.0

I want to know if my assumptions are right.

The master is the server with the lowest advskew, and has the state MASTER, as 
where the slave will be in state BACKUP.
If the master fails, the slave will be promoted to MASTER.
If the master comes backup, the Master wil be Master again, and the slave falls 
back to BACKUP.

At least this is what i think should be the case.

I now set up 2 FreeBSD 9.0 Beta1 machines.
One master, and one slave.

/etc/rc.conf on the master

ifconfig_bge0=inet 192.168.50.40 netmask 255.255.255.0
defaultrouter=192.168.50.150
# CARP
cloned_interfaces=carp0
ifconfig_carp0=vhid 1 advskew 10 pass letmepass 192.168.50.45 netmask 
255.255.255.0

On the slave i have the following in /etc/rc.conf

ifconfig_bge0=inet 192.168.50.41 netmask 255.255.255.0
defaultrouter=192.168.50.150
# CARP
cloned_interfaces=carp0
ifconfig_carp0=vhid 1 advskew 20 pass letmepass 192.168.50.45 netmask 
255.255.255.0

And on bothe machines i set
net.inet.carp.preempt=1

In my assumption, if i raise the advskew value on the master, i could let them 
flip role’s
So doing ifconfig carp0 advskew 30 on the master should change roles.

However it does not happen

Ifconfig on the master
carp0: flags=49UP,LOOPBACK,RUNNING metric 0 mtu 1500
inet 192.168.50.45 netmask 0xff00
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
carp: MASTER vhid 1 advbase 1 advskew 30

Ifconfig on the slave
carp0: flags=49UP,LOOPBACK,RUNNING metric 0 mtu 1500
inet 192.168.50.45 netmask 0xff00
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
carp: BACKUP vhid 1 advbase 1 advskew 20

So even with the higher advskew value the master stays master.

Am i doing something wrong.

Regards,
Johan Hendriks
___
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


CARP on 9.0 (was no subject)

2011-08-26 Thread Johan Hendriks
I am trying to set up CARP under 9.0



I want to know if my assumptions are right.



The master is the server with the lowest advskew, and has the state MASTER, as 
where the slave will be in state BACKUP.

If the master fails, the slave will be promoted to MASTER.

If the master comes backup, the Master wil be Master again, and the slave falls 
back to BACKUP.



At least this is what i think should be the case.



I now set up 2 FreeBSD 9.0 Beta1 machines.

One master, and one slave.



/etc/rc.conf on the master



ifconfig_bge0=inet 192.168.50.40 netmask 255.255.255.0

defaultrouter=192.168.50.150

# CARP

cloned_interfaces=carp0

ifconfig_carp0=vhid 1 advskew 10 pass letmepass 192.168.50.45 netmask 
255.255.255.0



On the slave i have the following in /etc/rc.conf



ifconfig_bge0=inet 192.168.50.41 netmask 255.255.255.0

defaultrouter=192.168.50.150

# CARP

cloned_interfaces=carp0

ifconfig_carp0=vhid 1 advskew 20 pass letmepass 192.168.50.45 netmask 
255.255.255.0



And on bothe machines i set

net.inet.carp.preempt=1



In my assumption, if i raise the advskew value on the master, i could let them 
flip role’s So doing ifconfig carp0 advskew 30 on the master should change 
roles.



However it does not happen



Ifconfig on the master

carp0: flags=49UP,LOOPBACK,RUNNING metric 0 mtu 1500

inet 192.168.50.45 netmask 0xff00

nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL

carp: MASTER vhid 1 advbase 1 advskew 30



Ifconfig on the slave

carp0: flags=49UP,LOOPBACK,RUNNING metric 0 mtu 1500

inet 192.168.50.45 netmask 0xff00

nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL

carp: BACKUP vhid 1 advbase 1 advskew 20



So even with the higher advskew value the master stays master.



Am i doing something wrong.


Also with a higer value like advskew 200 or 254 the role of the servers stays 
the same.




Regards,

Johan Hendriks
___
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: CARP on 9.0 (was no subject)

2011-08-26 Thread Johan Hendriks

How about:

%sudo netstat -s carp

...on both machines.

A few years ago I submitted (or maybe it was Steve Polyack) a patch to add
debugging to CARP, not sure if it ever got commited.

Need-more-Cisco'sih-Debugging.

~BAS


On Fri, 26 Aug 2011, Patrick Lamaiziere wrote:

 Le Fri, 26 Aug 2011 15:26:28 +,
 Johan Hendriks jo...@double-l.nl a ?crit :

 I am trying to set up CARP under 9.0

 ...

 Also with a higer value like advskew 200 or 254 the role of the
 servers stays the same.

 Ok, there is something wrong so.

 Did you check that the sysctl net.inet.carp.suppress_preempt is equal
 to zero ? If yes, I don't have any more idea.

 Regards.

Hello 
first off all thanks for your time.

sysctl -a | grep carp on both machines give me the following output

sysctl -a | grep carp
device  carp
net.inet.ip.same_prefix_carp_only: 0
net.inet.carp.allow: 1
net.inet.carp.preempt: 0
net.inet.carp.log: 2
net.inet.carp.arpbalance: 0
net.inet.carp.suppress_preempt: 0


netstat -s on the master

carp:
260 packets received (IPv4)
0 packets received (IPv6)
0 packets discarded for wrong TTL
0 packets shorter than header
0 discarded for bad checksums
0 discarded packets with a bad version
0 discarded because packet too short
0 discarded for bad authentication
0 discarded for bad vhid
0 discarded because of a bad address list
11430 packets sent (IPv4)
0 packets sent (IPv6)
0 send failed due to mbuf memory error

netstat -s on the slave

carp:
11735 packets received (IPv4)
0 packets received (IPv6)
0 packets discarded for wrong TTL
0 packets shorter than header
0 discarded for bad checksums
0 discarded packets with a bad version
0 discarded because packet too short
0 discarded for bad authentication
0 discarded for bad vhid
0 discarded because of a bad address list
448 packets sent (IPv4)
0 packets sent (IPv6)
0 send failed due to mbuf memory error

tcpdump -i bge0 on slave

20:10:48.868200 IP 192.168.50.40  vrrp.mcast.net: VRRPv2, Advertisement, vrid 
1, prio 50, authtype none, intvl 1s, length 36

Here the advskew is set to 50, on the slave it is 20.
So the slave should be the master.
if i raise the advskew to 254, i see the change in the capture.

Both machines are fresh install with nothing changed on them so far just a 
fresh build from a csup this morning.
And installed bash as the shell..

for freebsd-current@ the /etc/rc.conf file again
Master 
ifconfig_bge0=inet 192.168.50.40 netmask 255.255.255.0
defaultrouter=192.168.50.150
# CARP
cloned_interfaces=carp0
ifconfig_carp0=vhid 1 advskew 10 pass letmepass 192.168.50.45 netmask 
255.255.255.0

On the slave i have the following in /etc/rc.conf
ifconfig_bge0=inet 192.168.50.41 netmask 255.255.255.0
defaultrouter=192.168.50.150
# CARP
cloned_interfaces=carp0
ifconfig_carp0=vhid 1 advskew 20 pass letmepass 192.168.50.45 netmask 
255.255.255.0

regards,
Johan



___
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: CARP on 9.0 (was no subject)

2011-08-26 Thread Johan Hendriks
Le Fri, 26 Aug 2011 18:22:37 +,
Johan Hendriks jo...@double-l.nl a écrit :

 net.inet.carp.preempt: 0

You said it was equal to 1 on both machines. It should be at 1.

Luckely i used the slave for that. :D

I need to work on my copy paste techniques.

The master had indeed net.inet.carp.preempt=1 in the sysctl file.
The slave however was mangled to inet.inet.carp.preempt=1 in the sysctl file
I proberbly het the i twice in vi before the paste.

I will sit in the corner and write myself 1000 lines.

I will not fall in the copy/paste trap as all GUI users!!!
I will not fall in the copy/paste trap as all GUI users!!!
I will ...

And i will not use copy/paste for that :D

Thanks again for your time.
It works as advertised now.

Thanks again.
Regards
Johan Hendriks


 
___
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: Ezjail freebsd-update

2011-08-23 Thread Johan Hendriks
I had an opportunity to upgrade a server from freebsd 8.1 to 8.2 since
it had to be restarted any way. I upgraded it with freebsd-update and
compiled a custom kernel with no problem. However I haven't been able to
find a procedure for updating jails when they've been setup with ezjail.
I did 'ezjail-admin update -u' however it doesn't seem like that
upgraded things like the /etc/ dir inside jails. I'm not too worried
since everything is working however if anyone can point me in the right
direction I would appreciate it. I figure this will be especially
important when moving to 9.0 when it's released.

I always use ezjail_admin update -i 
Then do the normal mergemaster steps for the jails

mergemaster -iU -D /your/path/to/jail
You need to do that for every jail you have

So if you have three jails named jail_1, jail_2 and jail_3, you do this three 
times.

mergemaster -iU -D /your/path/to/jail_1
mergemaster -iU -D /your/path/to/jail_2
mergemaster -iU -D /your/path/to/jail_3



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


RE: freebsd-update, fetch once upgrade many machines

2011-08-19 Thread Johan Hendriks
Hi,

Is it possible to fetch files needed for freebsd-update once and put
them on a local fileserver to update many machines?

The reason for asking is that all these machines are on secure
networks and are not allowed to have Internet access but can all
access a common fileserver (using FTP, HTTP, SSH but not NFS).

I can safely assume that all these machines run the same version of
FreeBSD, installed from binary distributions, GENERIC kernel and only
upgraded using freebsd-update.

Thanks,

Paul Schenkeveld

I think the following forum thread could help you out.

http://forums.freebsd.org/showthread.php?t=6672

Gr
Johan Hendriks
Double L Automatisering
___
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: Samba and Active Directory

2011-03-01 Thread Johan Hendriks
Hello list,

I have tried putting this on the samba mail list seems that no knows or
is willing to share, having got good help with freebsd on here before,
I figured its worth a shot, apologises if it is not 100% OT.

I am sure this has been asked a million times but here goes for +1

I am looking for help, or pointers to a good resource to get FreeBSD
8.2 and Samba 3.5 working within a Win 2008 AD environment, the samba
how to got me so far, but I am missing something somewhere as none of
the shares defined within the smb.conf will connect without asking for
a username and password.

Regards

Graeme

I made a little effort helping somebody on the FreeBSD forum.

http://forums.freebsd.org/showthread.php?t=20007

Use the directions i (Sylhouette) made in the above thread.
It should get you into a running state.


Regards 
Johan 
___
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: llvm in head?

2010-06-14 Thread Johan Hendriks
Hello,

How to use llvm/clang to build the world and the kernel in HEAD since
the import? The wiki on clangBSD is not clear on this point (I think
it has not been updated).

Thanks, regards.

On i386, AMD64 and ppc you do not have to do anything.
It will be build with clang/llvm by default.

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


RE: FreeBSD and ACHI driver

2009-12-11 Thread Johan Hendriks
Hello List

Having upgraded to FreeBSD 8.0 everything is running fine, I decided to
try the ahci_load=YES in /boot/loader.conf 

The first machine was fine after a reboot, 


Aside from different motherboards in the machines, the machine that is
not working is has 2 x 3bay icy dock hot swap bays. Does anyone have
any
clues as to why this is happening?

 

Regards

 

Graeme

on the First machine the ahci driver detects the drives hence the
ada[0-9] interfaces.
It looks like on the other machine that ahci did not find the drives,
there are stil called ad[0-9] 

Ahci sees the drives as ada as the normal ata driver sees them as ad

Maybe you will need to go into the BIOS of the second machine and enable
AHCI


Regards,
Johan
___
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 Snaphost Hardware RAID

2009-11-16 Thread Johan Hendriks

Hello all.

I plan to set up backup server with 24x1Tb HDD and use ZFS with 
FreeBSD-8.0 on it.
I prefare to have ZFS only system but as I see there is no any easy 
way to do so.

I would like to use ZFS snapshots - is I undestand right what snaphots 
work OVER ZFS raidz\storage? So I can`t use hardware RAID and must make

a raidz?

I would love to head any other suggestion about using FreeBSD with ZFS 
as backup server.

-- 
Best regards,
Proskurin Kirill

An option is reading this thread on the FreeBSD forums.

http://forums.freebsd.org/showthread.php?t=3689

regards,
Johan Hendriks
___
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: PHP5 + fastcgi + apache2.2 ... how to for FreeBSD?

2009-10-20 Thread Johan Hendriks

Install from ports lang/php5

do NOT build the apache module (checkbox number 3)
│[ ] APACHE Build Apache module

Then install from ports www/mod_fcgid


Create a file in /usr/local/etc/apache22/Includes   (if you have apache22) else 
use the dir from your apache version.

Name it something like fcgi.conf

Put the following in there.

LoadModule fcgid_module libexec/apache22/mod_fcgid.so

IfModule mod_fcgid.c
AddHandler  fcgid-script .fcgi
Action  application/x-httpd-php /cgi-bin/php5.fcgi
AddHandler  application/x-httpd-php .php
/IfModule

DirectoryIndex index.html index.php


Now create a file in /usr/local/www/apache22/cgi-bin
Call this one php5.fcgi
make it executable: chmod ug+x /usr/local/www/apache22/cgi-bin/php5.fcgi
give it the right user and group: chmod www:www 
/usr/local/www/apache22/cgi-bin/php5.fcgi

In this file put the following
#!/bin/sh
PHPRC=/usr/local/etc
export PHPRC
#PHP_FCGI_CHILDREN=4
#export PHP_FCGI_CHILDREN
#PHP_FCGI_MAX_REQUESTS=5000
#export PHP_FCGI_MAX_REQUESTS
exec /usr/local/bin/php-cgi

I comment some things out, try for yourself if these works.
This should be it in great line.

Succes.
regards,
Johan Hendriks







-Oorspronkelijk bericht-
Van: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] Namens Marc G. Fournier
Verzonden: dinsdag 20 oktober 2009 0:22
Aan: freebsd-questions@freebsd.org
Onderwerp: PHP5 + fastcgi + apache2.2 ... how to for FreeBSD?


Is there one somewhere?  I'm finding *alot* of Debian ones dealing with 
their whole apget stuff, but would like to find something that speaks 
normally :)

Thx ...


Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.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

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.422 / Virus Database: 270.14.20/2444 - Release Date: 10/18/09 
09:04:00

No virus found in this outgoing message.
Checked by AVG - www.avg.com 
Version: 8.5.422 / Virus Database: 270.14.20/2444 - Release Date: 10/18/09 
09:04: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: glabel clarification

2009-10-19 Thread Johan Hendriks

I understood that labeling a disk with glabel would permit the disk to
be switched to another system and booting from that disk would not
require other manupulations than adjusting network configuration,
samba,
rc.conf and a few others..
But what if there is already a disk on the system with the identical
labels in /dev/label/ ?
I understood that whatever the actual disk might be (ad4, ad12,
ad1...)would be irrelevant?
It would appear that the actual booting goes according to the label;
so,
if there are duplicate labels the boot will not necessarily be from the
newly installed disk if there is another disk with duplicate glabel
labels?
So doing a glabel seems superfluous...
What then is the real purpose of glabel, since the boot process seems
to
need a unique identifier?

Switching between machines is not what labels are for.(enlighten me if
it is)
As far as understand, it makes switching the drive in the same machine
easier.
It does not matter if labels are used, that the device is seen as
/dev/ad0 or /dev/ad{x}.
This makes adding and replacing disk much easier.
Sometimes the disk numbers change when removing raid controllers or
other hardware.

Regards,
Johan
 

No virus found in this outgoing message.
Checked by AVG - www.avg.com 
Version: 8.5.422 / Virus Database: 270.14.20/2444 - Release Date:
10/18/09 09:04: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: Learning about Control of Optimization -- for dummies please

2009-08-05 Thread Johan Hendriks

  On Wed, 5 Aug 2009 12:19:23 +0200 Roland Smith
rsm...@xs4all.nl 
wrote:
 On Wed, Aug 05, 2009 at 10:54:07AM +0100, David Southwell wrote:
  I have found
  http://docs.freebsd.org/info/gcc/gcc.info.Optimize_Options.html.
 
  I am about to build a new kernel am starting to dig a bit deeper
into
  things I have, until now, taken for granted.
 
  The above link is very informative in technical terms about how to
  control optimization but I find it difficult to interpret the info
in a
  way that tells me what might work best on my own system (Intel
quad
  Core) with 8G of ram.
 
 The build system takes care of that, once you have set the correct
 CPUTYPE in /etc/make.conf. For a quad-core, set CPUTYPE=nocona. See
 make.conf(5), /usr/src/share/mk/bsd.cpu.mk and
 /usr/src/sys/conf/kern.pre.mk.

  As I read the man page for [g]cc, though, setting -march=nocona
(which
 is where the CPUTYPE information ends up in the cc commands) tells
the
 compiler which base instruction set to use and which model of
instruction
 scheduling to use, but to get the rest of the model-dependent
features
 used, he would still need to add -mmmx -msse -msse2 -msse3 at a
minimum
 for most other compilations, though these would not be advisable for
kernel
 compilations.  I don't recall whether SSE4 instructions are in the
Nocona/
 Merom/Kentfield chips or first appear in the Core i7 series.  I don't
think
 the compiler versions available under FreeBSD support the SSE4
 instructions, though, so SSE4 doesn't matter anyway.

 Additionally, compiler settings for building the kernel can be set
with
 COPTFLAGS in /etc/make.conf. Using anything other than -O or -O2 is
 not guaranteed to work. If you don't know what you are doing, do not
use
 COPTFLAGS and stick with the defaults that the build system
generates.

  Right.  -O3 might royally screw a kernel in particular. :-)


   Scott Bennett, Comm. ASMELG, CFIAG
Thanks for add more useful info however would you mind elaborating a
little 
more because I do not understand the implications.

should I have:
CPUTYPE=nocona 
in make.conf?
Do I need anything else in make.conf?

So far my draft make.conf has these entries:

CPUTYPE=nocona

CFLAGS= -O2 -fno-strict-aliasing -pipe

FORCE_MAKE_JOBS=true

Incidentally I am also puzzled because it appears necessary to use
amd64 
GENERIC as my starting point when the cpu is actually Intel Quad Core!!


I presume this means that in drafting a kernconf I need to refer to;

dns1# pwd
/usr/src/sys/amd64/conf
dns1# ls -l
total 44
-rw-r--r--  1 root  wheel 13 Jun 20  2005 .cvsignore
-rw-r--r--  1 root  wheel482 Apr 15 04:14 DEFAULTS
-rw-r--r--  1 root  wheel  11968 Apr 15 04:14 GENERIC
-rw-r--r--  1 root  wheel818 Apr 15 04:14 GENERIC.hints
-rw-r--r--  1 root  wheel   1036 Apr 15 04:14 MAC
-rw-r--r--  1 root  wheel132 Apr 15 04:14 Makefile
-rw-r--r--  1 root  wheel  20721 Apr 15 04:14 NOTES


It would be great if some logical consistency could be introduced into
naming 
conventions!!! It would really help those of us who know little and
make it a 
trifle easier to climb the greasy pole of knowledge chuckles

It is logical.
You use i386 on old amd processors also.
The naming amd64 comes from the fact that AMD did come first with the 64
bit processor.
If Intel was the first it proberly would have a name like i386_64 or
something like that.

Nothing to worry about.
If your Intel proccessor has 64 bit support use the AMD64 version

It is just a name.

About the make.conf the use of nocona is ok but put a ? mark ofter
CPUTYPE
Do not ask me why, people told me it is better, if i understand
correctly It has someting to do about the choice the compiler has while
building, it could override the nocona setting if it is needed.
If i recall correct

CPUTYPE?=nocona

I would ditch the CFLAGS, the normal setings ar the same as that line 

FORCE_MAKE_JOBS=true

FORCE_MAKE_JOBS is also ok



 

 



No virus found in this outgoing message.
Checked by AVG - www.avg.com 
Version: 8.5.392 / Virus Database: 270.13.44/2282 - Release Date:
08/04/09 18:01: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: Samba PDC with LDAP backend

2009-07-20 Thread Johan Hendriks
 On Sat, Jul 18, 2009 at 12:53:40PM +0800, Ruel Luchavez typed:
  On Sat, Jul 18, 2009 at 11:43 AM, Olivier Nicole o...@cs.ait.ac.th
 wrote:
 
  
Still it does not start the LDAP, hers my /etc/rc.conf:
   
slapd_flags='-h
ldapi://%2fvar%2frun%2fopenldap%2fldapi/
   ldaps://
/ ldap://127.0.0.1/;'

 You try to start slapd with ssl/tls support (ldaps), but I didn't see
any
 TLS parameters in the slapd.conf file you posted.

 Ruben


Hey Ruben,

Is it necessary to have ssl/tls support?

My goal is to build a Samba PDC on FreeBSD with a ldap backend. This
will
not authenticate ssh users just a plain samba server for our windows
clients.


More ideas are very WELCOME...


Thanks.:-)
-- 
Rhuel
FreeBSD user since 6.0
Happy BSD use...
Country:Philippines
Zip Code:8000

You do not need to add ssl/tls it is some extra security.
But First try to make sure the ldap server start.
192.168.5.0 is nota n ipadres but a network, i do not know fors ure but
i thougt it need an ipadres like 192.168.5.1 

But try this one First and look i fit starts.
slapd_flags='-h \ldapi://%2fvar%2frun%2fopenldap%2fldapi/
ldap://0.0.0.0/ ldap://127.0.0.1/\;'

It will listen on all your ip's available on your system.

If it does still not start then look at the configuration of your
slapd.conf file

Regards,
Johan Hendriks
(Sylhouette)




No virus found in this outgoing message.
Checked by AVG - www.avg.com 
Version: 8.5.392 / Virus Database: 270.13.20/2249 - Release Date:
07/19/09 17:59: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: {Disarmed} Re: Samba PDC with LDAP backend

2009-07-20 Thread Johan Hendriks

Prepare the openldap config file (/usr/local/etc/openldap/slapd.conf)
First we need to create a password for the openldap server

# slappasswd -s very-secure-password 
{SSHA}2pCGrVMhMh3cC+LakUXApebb9jwICf5e

Copy the {SSHA} line to your slapd.conf file ofter the rootpw  line

###
# BDB database definitions
###
 
databasebdb
suffix  dc=smbdomain,dc=local
rootdn  cn=Manager,dc=smbdomain,dc=local
#rootpw = very-secure-password
rootpw  {SSHA}2pCGrVMhMh3cC+LakUXApebb9jwICf5e
 
directory   /usr/local/var/db/openldap-data

 

Also make sure you have that password (plain text  very-secure-password)
in your /usr/local/etc/smbldap-tools/smbldap_bind.conf file



Regards,

Johan Hendriks
Sylhouette

 

___
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: HandbooK-Free BSD

2009-06-02 Thread Johan Hendriks


Gentlemen
Please How I can copy the Free BSD Handbook in my computer? Any Sugestion  
will be apreciate.   Thank you Rafael E Garcia

Try the following and download the pdf.zip file


ftp://ftp.freebsd.org/pub/FreeBSD/doc/en/books/handbook/

regards,
Johan Hendriks

No virus found in this outgoing message.
Checked by AVG - www.avg.com 
Version: 8.5.339 / Virus Database: 270.12.46/2145 - Release Date: 05/31/09 
05:53: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: Stable Mail Server And Web Mail

2009-05-29 Thread Johan Hendriks


 Hello,

  Hello all ,  I want to install a  Mail Server with  Webmail,
 
  Anybody to know a good Stable Mail Server and Web Mail

 I recommend the following step-by-step instructions:
 http://www.purplehat.org/?page_id=4

It's a detailed how-to but consider the following:
a) With Oracle acquiring Sun, one should move to PostgreSQL where ever 
possible.
b) Spam Assassin is a resource hog, use mail/dspam.
c) While postfix-admin is ok for one box setup, it doesn't scale at all - 
you'll have to install it for every physical machine to manage that specific 
database for that box. I know of no alternatives, hence I'm rolling my own.

-- 
Mel

Option c and do not understand.

You can use a centralized database and let as many postfix, dovecot servers 
talk to that database as you want, or am i seeing this wrong.

Regards,
Johan


No virus found in this outgoing message.
Checked by AVG - www.avg.com 
Version: 8.5.339 / Virus Database: 270.12.43/2139 - Release Date: 05/28/09 
18:09: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: Stable Mail Server And Web Mail

2009-05-25 Thread Johan Hendriks
Hello all ,  I want to install a  Mail Server with  Webmail,

Anybody to know a good Stable Mail Server and Web Mail

I will appreciate

Thanks all


A good combination for webmail is:

Postfix as MTA
Dovecot as IMAP / POP3 server
Postfixadmin for webbased management.
Mysql or postgresql for the database.
and a webmail client.
This can be roundcube, squirrelmail, imp (from Horde) and so on.

Regards,
Johan 
 

 

 

 

 

 

 

 

 

 

John Dakos
Network Administrator
Enovation Technologies
Filellinon 35, Chalandrion
15232 Athens, GREECE
Tel: +30-210 811 9673
Mob: +30-6979348082

___
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

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.339 / Virus Database: 270.12.37/2131 - Release Date: 05/24/09 
07:09:00

No virus found in this outgoing message.
Checked by AVG - www.avg.com 
Version: 8.5.339 / Virus Database: 270.12.37/2131 - Release Date: 05/24/09 
07:09: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: Changing NIC

2009-05-08 Thread Johan Hendriks
- FreeBSD 7.2-STABLE

I am about the change the (working) nic of my FreeBSD server with a 
gigabit one.
Logically I think it would be good to add the new nic first and test it 
and if it is working, just remove the old one (or leave it without cable).
Is that the common way of doing such? Are there disadvantages with that?

Jos Chrispijn

The only thing need to change is the line ifconfig_(interface_name)=xxx.xxx 
.. in the file /etc/rc.conf If the server can be offline for some time, 
install the new NIC and remove the old one.
Then look in dmesg what name the new nic has, like bge0 or em0 or something 
like that.
Edit your /etc/rc.conf file so the line ifconfig_ has your new nic module name, 
like ifconfig_em0= and restart the network with /etc/netstart If all is working 
a final reboot and all should be OK

Regards,
Johan
  

No virus found in this outgoing message.
Checked by AVG - www.avg.com 
Version: 8.5.325 / Virus Database: 270.12.21/2102 - Release Date: 05/08/09 
06:34: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


Snapshots

2009-05-05 Thread Johan Hendriks
Are there no more snapshots of current?
The last is from 02-2009


Regards,
Johan 

___
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


Forums FreeBSD

2009-04-09 Thread Johan Hendriks
Are the forums down from FreeBSD?

 

Regards,

Johan

___
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: RAID 1 failure

2009-03-18 Thread Johan Hendriks
You could download the live cd

Start the computer and insert the boot cd.
After it is done with booting select the option fixit and then Live cd.

It will ask for the live cd.

Then do the following

# chroot /dist
# mount_devfs devfs /dev
From version FreeBSD 7 You miust use mount -t devfs devfs /dev

# gmirror load
 
In the following command replace gm0 and s1a to the name of your mirror and the 
name of your / slice.
If you followed the howto it should be as follows
 
# mount /dev/mirror/gm0s1a /mnt

# ee /mnt/boot/loader.conf
Now you can edit the loader.conf file on your mirror.

So add the line: 
geom_mirror_load=YES

now exit ee and exit the livecd
# exit
# exit

Shutdown the installer, and reboot your system.

Regards,
Johan Hendriks





No virus found in this outgoing message.
Checked by AVG - www.avg.com 
Version: 8.0.238 / Virus Database: 270.11.18/2008 - Release Date: 03/17/09 
16:25: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


vi set comment #

2009-02-20 Thread Johan Hendriks
How can i in vi set a # on multiple Lines to comment out some text.

I know it must be a simple thing but i can not seem to get it right.

 

 

Like in a config file i have the following

 

define service{

use generic-service

host_name   w2003hk03

service_description Explorer

check_command   check_nt!PROCSTATE!-d SHOWALL -l Explorer.exe

}

 

And now i want to set a # to all the 6 lines.

 

Thanks for your time

Regards,

Johan 

___
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: vi set comment #

2009-02-20 Thread Johan Hendriks
 How can i in vi set a # on multiple Lines to comment out some text.
 
 I know it must be a simple thing but i can not seem to get it right.
 
 Like in a config file i have the following
 
 define service{
 use generic-service
 host_name   w2003hk03
 service_description Explorer
 check_command   check_nt!PROCSTATE!-d SHOWALL -l Explorer.exe
 }
 
 And now i want to set a # to all the 6 lines.
 
 Thanks for your time
 Regards,
 Johan 
 

This question is really more germane to a VIm mail list 
(http://www.vim.org/) , but I'll tell you how'd I'd do it.

First, turn on line numbers --

:set nu

The you'd see something like --

  1
  2
  3   define service{
  4   use generic-service
  5   host_name   w2003hk03
  6   service_description Explorer
  7   check_command   check_nt!PROCSTATE!-d SHOWALL -l
  8   }
  9
 10

Then replace the beginning of a line with a # symbol --

:3,8s/^/#/

That's all there is too it.  BTW, VIm help is your friend

:help replace


--
Regards,
Doug

Thanks all for the fast and usefull response.

Regards,
Johan Hendriks


No virus found in this outgoing message.
Checked by AVG - www.avg.com 
Version: 8.0.237 / Virus Database: 270.11.1/1962 - Release Date: 02/20/09 
07:26: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: CUPS, initial PATH environment

2009-02-09 Thread Johan Hendriks


If one installs CUPS as the printing system, one must use the
/usr/local/bin versions of lp, lpr, lpq and lprm instead of the
FreeBSD versions in /usr/bin, otherwise you get errors when using
the command line interface...

I could rename /usr/bin/lp, lpr, lpq, lprm to e.g. lp.origfreebsd, etc..
forcing the use of the /usr/local/bin versions
but this would oblige me to do that again after every FreeSBD upgrade.

Or I could put /usr/local/bin before /usr/bin in the path.
Two questions:
- is this a save thing to do (won't other things go wrong then?)
- if OK to do that, where can I change the path for every user, whatever
   shell (csh, sh, bash, tcsh, rbash) he uses?

/etc/profile, /etc/csh.* start-up files are shell-specific and as yet
distributed, only contain outcommented information, yet a newly created user 
(whether using csh of bash) has a following path / PATH set up:
/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin

Where is this path/PATH being set i.e. where can it be altered?


If I recall correct you can you use the following in /etc/make.conf

CUPS_OVERWRITE_BASE=yes

Regards,
Johan Hendriks 


No virus found in this outgoing message.
Checked by AVG - www.avg.com 
Version: 8.0.233 / Virus Database: 270.10.19/1940 - Release Date: 02/08/09 
17:57: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: how to install all p5-* one shot

2009-01-26 Thread Johan Hendriks

 2009/1/26 Saifi Khan saifi.k...@twincling.org:
 Hi all:

 There are many PERL packages in ports whose names are prefixed with p5-* .

 How does one install all the p5-* packages one shot ?

 Is there a way one can do it with the options available in ports
 or does one need to write a script to locate all the dir names
 starting with p5-* ?

 Any pointer in this direction will be appreciated.

 % cd /usr/ports
 % find . -name p5\-* | wc -l


 Good idea? Then try:

 % sudo portmaster -i */p5\-*

 - Herbert

Thanks Herbert.

I'd did not know about 'portmaster' until you mentioned in your mail.
Wow, so i got cvsup, portsnap and now portmaster :)

-- 
thanks
Saifi.

I don't think (i am actually sure) that you can not install all the p5-* ports.
A lot of ports conflict with each other. 

So it is better to install the p5-* ports you actually need.
And the good thing about the ports tree is that they will be when installing 
software that require those p5-* ports.

Regards,
Johan Hendriks


No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.10.13/1915 - Release Date: 25-1-2009 
18:13
___
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: upgrade 7.0 - 7.1 : portupgrade -af required?

2009-01-15 Thread Johan Hendriks


-Oorspronkelijk bericht-
Van: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] Namens matt donovan
Verzonden: donderdag 15 januari 2009 16:47
Aan: Olivier Mueller
CC: freebsd-questions@freebsd.org; freebsd-po...@freebsd.org
Onderwerp: Re: upgrade 7.0 - 7.1 : portupgrade -af required?

On Thu, Jan 15, 2009 at 10:07 AM, Olivier Mueller om-lists-...@omx.chwrote:

 Hello,

 After an upgrade from FreeBSD 7.0 to 7.1 (with freebsd-update in my
 case), is it required to recompile all ports (portupgrade -af) like
 specified in some docs/blog-entries, or is it not *really* necessary?
 What are you doing on your production systems?   Having to upgrade
 several servers (15), it's quite important for me to estimate the time
 required for the operation...

 I did the upgrade on a test server here, and all ports still seems to
 work  (apache, php, mysql, etc.) so I guess the answer is no, but I'd
 like to be sure before upgrading some important servers :-)

 According to:

 http://www.freebsd.org/releases/7.1R/announce.html
 Users of earlier FreeBSD releases (FreeBSD 6.x) can also use
 freebsd-update to upgrade to FreeBSD 7.1, but will be prompted to
 rebuild all third-party applications (e.g., anything installed from the
 ports tree) after the second invocation of freebsd-update install, in
 order to handle differences in the system libraries between FreeBSD 6.x
 and FreeBSD 7.x.

 It would be necessary only for major upgrades (6.x - 7.x).   Right?

 thanks  regards,
 Olivier

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


Only tiem to rebuild ports really is for a major version change say 6. -
7.x but for a minor version change you do not have to rebuild
___
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

No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.10.7/1895 - Release Date: 15-1-2009 7:46

No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.10.7/1895 - Release Date: 15-1-2009 7:46
___
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: PHP 5 | pcre extention

2008-12-08 Thread Johan Hendriks


Dear all,
Can someone tell me why, as of php 5.2.7, pcre extension is distributed 
with the core php5 package, and not as a standalone module anymore?

Jos Chrispijn

No idea but do not use 5.2.7 because of a security issue (see php.net)
So stick to 5.2.6 till 5.2.8 is released.


No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.9.15/1835 - Release Date: 7-12-2008 16:56
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: FreeBSD 7.0: which distribution

2008-12-02 Thread Johan Hendriks



 the only reason that people use FreeBSD/i386 on 64-bit processors is that
 some binary-only drivers are only availaboe for i386.

what kind of drivers would be missing for the amd64 distribution ???

Nvidia!!!

Regards,
Johan Hendriks

No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.9.12/1824 - Release Date: 2-12-2008 9:31
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Nvidia (Re: FreeBSD 7.0: which distribution)

2008-12-02 Thread Johan Hendriks

 Nvidia drivers.

 Wanted to ask, maybe somebody here knows, is there any hope to expect 64 bit 
 Nvidia drivers in some reasonable future? What is the problem with Nvidia? 
 Why they do not provide 64 bit drivers?

because there are not enough pressure from clients? (by not buying them)

They missing some things in the kernel of FreeBSD so it has nothing to do with 
nvidia not willing it is FreeBSD who lacks support in the kernel for a 64bit 
NVIDIA driver.

But like said before there are numoures threads about this.
Regards,
Johan Hendriks



No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.9.12/1824 - Release Date: 2-12-2008 9:31
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: 5 TB server

2008-11-28 Thread Johan Hendriks


Onderwerp: 5 TB server

Hello community,

 I have to come up with a solution for a company that has as we speak
4 TB of data spread among 3 computers with lots of HDDs. Of course
i've recommend
them to buy a server for that storage capacity and for data organization.

 I thought of going on the ZFS way (on FreeBSD of course) with some
raidz. One of the problems
is that the server will stay in their office so it has to be quite silent.

 I honestly don't know what hardware to look for so if you have any 
 suggestions
i'm more than open to hear them.

a great day,

Well if you mean a lot of disk then you mean a lot of heat, and with that comes 
good cooling and with that comes fans and most of them when running at full 
speed will give you some noise.

I have some HP Proliants running but those are no fun under your desk even if 
the fans are running at a lower level.

So it is better to put the server in a separate room with proper cooling or 
else you are surely going to get hit with faulty hardware because of the heat.

In short a server needs cooling and most cooling gives noise, that is just the 
way it is.

Regards,
Johan Hendriks






No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.9.11/1816 - Release Date: 27-11-2008 
19:53
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: ZFS Recovery Tools

2008-11-21 Thread Johan Hendriks


 What does MAXPHYS mean (yes max raw I/O transfer) and do? A little
 bit more specific if you may.

how large can be single read from disk.

when you say read 2 files in the same time, FreeBSD will readahead at most 
MAXPHYS from one file, then from file 2, from file 1 etc.

128kB/s is way too much for todays drives, that can read 1MB within one 
access time.

128kB/s is way to much  , and you set it to 1024, or did you mean way to low ?

Regards,
Johan Hendriks



No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.9.4/1795 - Release Date: 17-11-2008 17:24
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Disabling boot messages

2008-11-12 Thread Johan Hendriks

On Wed, Nov 12, 2008 at 06:40:29PM +0800, Fbsd1 wrote:
 Running a release 7.0 Xorg / Gdm / Xfce Desktop world. Would like to go 
 from powering on the PC directly to the Gdm login screen. Don't want the 
 users seeing all those boot message roll by.
 
 Can this be done?

It can - see the FAQ:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/x.html#INSTALL-SPLASH

Dan

-- 
Daniel Bye

Remember that this only Works on i386, on amd64 it will not work

Regards,
Johan Hendriks



No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.9.2/1782 - Release Date: 11-11-2008 19:32
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pkg_delete delete files even if md5 check fails

2008-11-07 Thread Johan Hendriks
How can i tell pkg_delete to delete all files of a package even if the md5 
checks fail?

 

Regards,

Johan Hendriks

 

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


RE: pkg_delete delete files even if md5 check fails

2008-11-07 Thread Johan Hendriks
Yes off course it does!
I thought it only deleted the package even if other packages depends on it.
Sorry for the somewhat stupid question.

Regards,
Johan Hendriks


-Oorspronkelijk bericht-
Van: Jeremy Chadwick [mailto:[EMAIL PROTECTED] 
Verzonden: vrijdag 7 november 2008 15:28
Aan: Johan Hendriks
CC: freebsd-questions@freebsd.org
Onderwerp: Re: pkg_delete delete files even if md5 check fails

On Fri, Nov 07, 2008 at 03:25:30PM +0100, Johan Hendriks wrote:
 How can i tell pkg_delete to delete all files of a package even if the md5 
 checks fail?

Does the -f flag do this?

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


No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.9.0/1771 - Release Date: 6-11-2008 20:23

No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.9.0/1771 - Release Date: 6-11-2008 20:23
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: CVSup update nagios-3.0.4_1

2008-11-06 Thread Johan Hendriks

 from web ports I have see   (
 http://www.freebsd.org/cgi/ports.cgi?query=nagios-3stype=allsektion=all)
 that is relased the version nagios-3.0.4_1 of nagios but I have on my system
 the version nagios-3.0.3.

 Now if i try to update nagios from cvsup I run the follow comands:

 cd /usr/ports/ ; make update ; make fetchindex

 When the upgrade is finished, i run:
 portversion -l '' -v | grep nagios

 but nagios-3.0.4_1 is not present.

 This is my /etc/make.conf file:

 #make.conf#
 CPUTYPE=i686
 CFLAGS= -O -pipe
 INSTALL=install -C
 SUP_UPDATE= yes
 SUP=/usr/local/bin/cvsup
 SUPFLAGS=   -g -L 2
 SUPHOST=cvsup18.FreeBSD.org
 SUPFILE=/usr/share/examples/cvsup/stable-supfile
 PORTSSUPFILE=   /usr/share/examples/cvsup/ports-supfile
 DOCSUPFILE= /usr/share/examples/cvsup/doc-supfile
 WRKDIRPREFIX=   /var/tmp
 WITHOUT_GNOME=  true
 WANT_OPENSSL_MANPAGES=  true
 MAKE_IDEA=  YES
 WITH_OPTIMIZED_CFLAGS=  yes
 PERL_ARCH=  mach
 NOPERL= yo
 NO_PERL=yo
 NO_PERL_WRAPPER=yo
 #make.conf#


 cvsup18.FreeBSD.org has not yet updated ? Have you an idea ?

cvsup18 has the latest.  You're obviously having trouble with the
index file, because that (or a database derived therefrom) is what
portversion is looking at to determine what's out of date.

Check the ports-mgmt/nagios/Makefile to be sure it is in fact showing
the new version.

I had the same thing, the makefile has the latest, butpkg_version did not 
detect the new nagios.
What I did was going to /usr/port/net-mgmt/nagios
And did a:
 make FORCE_PKG_REGISTER=yes install clean
It installed nagios 3.0.4

Regards,
Johan Hendriks

No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.9.0/1771 - Release Date: 6-11-2008 7:58
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Slow swith between console (ALT - Fx) proliant DL160

2008-11-04 Thread Johan Hendriks

 Onderwerp: Re: Slow swith between console (ALT - Fx) proliant DL160
 
 On Tue, Nov 04, 2008 at 03:36:51PM +0100, Johan Hendriks wrote:
  Hello all
  I have a small issue when i switch between my console?s on a proliant 
  DL160 G5 machine.
  It has a time gap from around 1 to 2 seconds and then it will switch to 
  the next console after pressing ALT - F2
  
  Do I need to set something in my loader.conf or sysctl.conf?
 
 Chances are you're using a USB keyboard.  Place the following in
 /boot/loader.conf and reboot the machine:
 
 hint.kbdmux.0.disabled=1
 
 
 No i have a normal ps/2 keyboard connected to it.

Try the above anyway.  There are known problems (and LORs) in kbdmux.

Well i did try the setting and it works!
Thank you very much.

Regards
Johan Hendriks

No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.8.6/1765 - Release Date: 3-11-2008 16:59
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/etc/src.conf WITHOUT_PROFILE=yes

2008-11-04 Thread Johan Hendriks
Is it wise to set the WITHOUT_PROFILE to yes
Some say it is, some not, and what does it do exactly?

regards,
Johan Hendriks

No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.8.6/1765 - Release Date: 3-11-2008 16:59
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Slow swith between console (ALT - Fx) proliant DL160

2008-11-04 Thread Johan Hendriks


Onderwerp: Re: Slow swith between console (ALT - Fx) proliant DL160

On Tue, Nov 04, 2008 at 03:36:51PM +0100, Johan Hendriks wrote:
 Hello all
 I have a small issue when i switch between my console?s on a proliant DL160 
 G5 machine.
 It has a time gap from around 1 to 2 seconds and then it will switch to the 
 next console after pressing ALT - F2
 
 Do I need to set something in my loader.conf or sysctl.conf?

Chances are you're using a USB keyboard.  Place the following in
/boot/loader.conf and reboot the machine:

hint.kbdmux.0.disabled=1


No i have a normal ps/2 keyboard connected to it.

Regards,
Johan Hendriks

No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.8.6/1765 - Release Date: 3-11-2008 16:59
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Slow swith between console (ALT - Fx) proliant DL160

2008-11-04 Thread Johan Hendriks
Hello all
I have a small issue when i switch between my console’s on a proliant DL160 G5 
machine.
It has a time gap from around 1 to 2 seconds and then it will switch to the 
next console after pressing ALT - F2

 

Do I need to set something in my loader.conf or sysctl.conf?

 

I use 7.1-PRERELEASE as of today.

I installed 7.1 Beta2 and it has this from the start.

 

 

Regards,

Johan Hendriks




 

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


RE: Question: the stable edition of Freebsd

2008-11-03 Thread Johan Hendriks
Dear Support:

I'm a newcomer and want to install FreeBSD for study. Could you pls let me
know which the stable edition of FreeBSD now? 

And let me know how to subscribe the QA list that I prefer.

Thanks in advance.

 
BR
Alex
 
The latest stable version is a release like 7.0 or 6.3
Both are at the final stages of being replaced by 7.1 and 6.4

You subscribe to the mailing list by going to the following URL:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/eresources.html#ERESOURCES-MAIL
 
Select the list and on that page you'll see Subscribing to freebsd-(listname)

Fill in your e-mailadres and follow the instructions


Regards,
Johan Hendriks

No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.8.5/1763 - Release Date: 2-11-2008 19:08
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: FreeBSD-7.1, BETA2 or PRERELEASE

2008-10-24 Thread Johan Hendriks

Onderwerp: FreeBSD-7.1, BETA2 or PRERELEASE

Hi folks,
y'day I csuped the src and built installed the kernel from RELENG_7
I was expecting FreeBSD-BETA2 in output of `uname -a`
it is still -PRERELEASE, is it by decision or I have to change something ?

I greped /usr/src for PRERELEASE but cud not locate it. I guess release
engineering team does that. comments ?

Aston

If you download the cd BETA2 then you see BETA2
But if you going to csup the latest source from the RELENG_7 branch it will be 
named PRERELEASE again.
See Beta as just a Timestamp name for the PRERELEASE branch.

Regards,
Johan Hendriks 

No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.8.2/1742 - Release Date: 23-10-2008 15:29
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: 7.1 hangs, shutdown terminated

2008-10-10 Thread Johan Hendriks


Johan Hendriks írta:
 If find / -sx is running and is consuming all CPU, what is the value of 
 vfs.ufs.dirhash_mem: 

 # sysctl -a | grep dirhash
   
shopzeus# sysctl -a | grep dirhash
vfs.ufs.dirhash_docheck: 0
vfs.ufs.dirhash_mem: 2095818
vfs.ufs.dirhash_maxmem: 2097152
vfs.ufs.dirhash_minsize: 2560

 Make sure vfs.ufs.dirhash_mem: is not close to vfs.ufs.dirhash_maxmem:
   
All right. It is close to it. Which one should I increase? I put this 
into /etc/sysctl.conf:


vfs.ufs.dirhash_maxmem=8228608


Would it be scufficient?

Thanks,

   Laszlo

vfs.ufs.dirhash_maxmem= is the value to adjust.

Mine is at 12582912. this happens on Mailservers 'which has a lot of directorys 
for the mail.


The value depends on how many directory's there are on your system.
Keep track on the value and when it hits the limit again increase the limit 
until it stays under the limit.

It can take a while to reach the limit again.

Regards,
Johan Hendriks
Double L Automatisering


No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.173 / Virus Database: 270.8.0/1717 - Release Date: 9-10-2008 16:56
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: 7.1 hangs, shutdown terminated

2008-10-10 Thread Johan Hendriks
If find / -sx is running and is consuming all CPU, what is the value of 
vfs.ufs.dirhash_mem: 

# sysctl -a | grep dirhash

Make sure vfs.ufs.dirhash_mem: is not close to vfs.ufs.dirhash_maxmem:

Regards,
Johan Hendriks
Double -L Automatisering

No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.173 / Virus Database: 270.8.0/1717 - Release Date: 9-10-2008 16:56
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: How to select/choose new NIC under FreeBSD?

2008-09-26 Thread Johan Hendriks

Hello there,

At my work, I have a Dell PowerEdge2950 running FreeBSD 7.0, Webserver. This
server has onboard Broadcom NetXtreme II BCM5708 1000Base-T with 2 ports.
But we have faced watchdog timeouts and after googling and getting help on
this great forum, we were able to figure out that this is Broadcom
incompatibilty.
So, we have bought Intel Pro 1000PT Single Port Gigabit PCIe Cu now. Which I
am going to install in the server but before;
I need some information, where I seek you guys help???

1. How to tell FreeBSD to which NIC to use?
2. Where else I should make changes under /etc folder?

I will aprecaite your help!
-- 
Thanks!

BR / vj

In the file /etc/rc.conf edit the line that looks like this now
ifconfig_bge0=inet 192.168.1.22  netmask 255.255.255.0

Change bge0 (could be a different name in your config) to the driver name of 
the intel card, proberly em0 look at dmesg for the real name.

Regards,
Johan Hendriks


No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.169 / Virus Database: 270.7.3/1691 - Release Date: 25-9-2008 19:23
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Moving to freebsd firewall for a small DataCenter network

2008-09-23 Thread Johan Hendriks


Also have a look at pfsense
www.pfsense.org


regards,
Johan Hendriks


No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.169 / Virus Database: 270.7.0/1685 - Release Date: 22-9-2008 16:08
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Error :Code 1

2008-09-08 Thread Johan Hendriks

I try to build and install custom kernel.However when i write this command,

 make buildkernel KERNCONF=MYKERNEL

I got this error:

ERROR:Missing kernel configuration file(s) (MYKERNEL)
Error code 1

Stop in /usr/src
Error code 1

Stop in /usr/src

Can somebody help me!

Thanks,
-Hilmi

You need to create a kernel config file and give it a name like MYKERNEL
Place this file in /usr/src/sys/i386/conf/
If you use amd64 then it needs to go in /usr/src/sys/amd64/conf/

If you named that file KRNL then the command needs to be:
make buildkernel KERNCONF=KRNL


regards
Johan

No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.169 / Virus Database: 270.6.19/1659 - Release Date: 8-9-2008 7:01
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: FreeBSD-7 reboots hourly

2008-08-18 Thread Johan Hendriks

Hello dear colleagues.

2 days I have strange behaviour on my 7.0-RELEASE-p3 server.
It started to reboot once an hour.
No any suspicious task in crontab, nothing strange in /var/log.
Just silent reboot.
I have no physical access to server - only remote one.

Question is: what could it be?
How to find what send computer to reboot?

Just extra information: I had such stuff before - installworld helped me 
for one week,
now it appears again :(

Opened services/sockets are:
nobody   proftpd647   1  tcp4   *:21  *:*
root sshd   845   4  tcp4   *:22  *:*
postfix  smtpd  5115  6  tcp4   *:25  *:*
bind named  525   20 udp4   xxx.xxx.xxx.xxx:53*:*
nobody   nginx  643   4  tcp4   *:80  *:*
root couriertcp 769   3  tcp4   *:110 *:*
root couriertcp 789   3  tcp4   *:143 *:*
root rsync  659   5  tcp4   *:873 *:*
root couriertcp 779   3  tcp4   *:993 *:*
root couriertcp 760   3  tcp4   *:995 *:*
root syslogd461   9  udp4   *:514 *:*

also on local interface (lo0) I have apache, postgrey, spamassasin.

I need some pieces of advice what to do with it and what could it be.

Thanks in advance,
Alexey A. Ukhov

P.S.: I mean hourly: I start top and just wait. last what I see is: 
0:59:59 uptime

Try to disable some cronjobs that run hourly.
I think it is something within a cronjob.

Regards,
Johan

No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.138 / Virus Database: 270.6.4/1617 - Release Date: 17-8-2008 12:58
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: LDAP + Samba

2008-08-18 Thread Johan Hendriks
Hi List,

Is there any tutorial or even an idea how to install LDAP + Samba in
Freebsd?
I've been searching in google for almost half day but i can't find any
relevant tutorial.
So, decided just to read a books...

Do you have some tutorials guys? Thanks.

FreeBSD Rock...


Well try this one, it is german but you can use it as a guide.
http://wiki.unixboard.de/index.php/FreeBSD_-_Samba



No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.138 / Virus Database: 270.6.4/1617 - Release Date: 17-8-2008 12:58
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: FreeBSD-7 reboots hourly

2008-08-18 Thread Johan Hendriks
Hm, already did.
No any cron tasks - only system ones.
Moreover - stopped all non-system services.
System is still going to reboot hourly.

Try to disable the system jobs also.
It could be something like the system tools!

Regards,
Johan


No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.138 / Virus Database: 270.6.4/1617 - Release Date: 17-8-2008 12:58
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: SAMBA 3.0.28a and CVE-2008-1105

2008-06-20 Thread Johan Hendriks


Konrad Heuer wrote:
 
 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]
 

Oh, is that so ... then why isn't the version number bumped up?
Slightly 
confusing, but if the patch has been incorporated it makes me feel
better.

Kindly regards,
Oliver

Reding this on freshports makes me think it is bumped!

29 May 2008 11:47:46
3.0.28a_1,1

This is a security update of Samba 3.0.28a, that address CVE-2008-1105.

Approved by:shaun (mentor, implicit)
Security:   CVE-2008-1105

Regards,
Johan Hendriks
Double L Automatisering


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


RE: FreeBSD as VOIP PBX

2008-06-20 Thread Johan Hendriks
Is anyone using FreeBSD for their VOIP PBX needs?  If so, what software
are you using?  And any recommendations for software to look at would
be
greatly appreciated.

Shane

Also you can try the following

http://www.askozia.com/

based on FreeBSD
working almost out of the box!

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


re0 in HP dx2400 not useable.

2008-06-17 Thread Johan Hendriks
Hello all 

I have a new HP dx2400 Desktop PC.

It has a Realtek network interface but FreeBSD does not get it going.

 

This is what I get with dmesg

 

re0 RealTek 8168/8111B PCIe Gigabit Ethernet port 0xe800-0xe8ff 

mem 0xfebff000-0xfebf,0fdff-0fdff irq18 at device 0.0 on
pci2

re0 Unknown H/W revision: 3c00

device attach: re0 attach returned 6

 

pciconf -lv

 

[EMAIL PROTECTED]:2:0:0: class=0x02 card=0x2a73103c chip=0x816810ec rev=0x02
hdr-0x00

vendor = 'Realtek Semiconducter'

device = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC

class = network

subclass = Ethernet

 

This is on the last snapshots from both 7 and 8 (amd64)

I do not know if the messages are the same on 7 or 8

FreeBSD 7 release does not detect the device at all

 

regards,

Johan Hendriks

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


RE: Move data from 3ware RAID-1 disk to MB disk

2008-06-16 Thread Johan Hendriks

Hi,

I have FreeBSD 7.0 with 3ware 8006-2LP RAID-1 controller hosted at
hetzner.de.

Now I want remove 3ware controller, and to stay with motherboard
controller. Is it possible to do without data loss?
I suggest to move one disk to motherboard controller, than boot via
LAN to Linux rescue, and than do dd from 3ware to MB disk.
Is it possible to do so or I will copy 3ware RAID table, and MB disk
will not be bootable?

Kind Regards

I freebsd detect the onboard controller and the drives on it, all you
need to do is to make sure /etc/fstab points to the right disks.

Now it probberly points to /dev/twe0s1* and so on if your onboard
controller uses ad then it needs to be changed to /dev/da0s1*

Make sure you have backups!!


Regards,
Johan


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


RE: problem with dovecot and mysql at boot

2008-06-16 Thread Johan Hendriks


 Nicolas Letellier wrote:
  Hello.
 
  In my rc.conf, I have:
  dovecot_enable=YES
  mysql_enable=YES
 
  At boot, I have this error:
  Jun 16 12:34:16 trinite dovecot: auth-worker(default): mysql:
Connect failed to localhost (panel): Can't connect to local MySQL server
through socket '/tmp/mysql.sock' (2) - waiting for 1 seconds before
retry
 
  I think it's because mysql is started after dovecot. How resolve
this, and specify to launch dovecot after mysql is running?
 
  Best regards,
 

 
 Are you sure this is what's happening? I have mysql and dovecot, and 
 dovecot starts after mysql in my system.
 Try something like
 
 rcorder /etc/rc.d/*   /usr/local/etc/rc.d/*
 
 or
 
 dmesg -a |more
 
 to see the startup order. Do you actually have to start it by hand
after 
 boot, or does it really start on the retry?
Ok, the problem is due to my my.cnf. However, I cannot explain which
value of this file causes this problem. I deleted it, and after reboot,
the probleme has disapeared. I re-cp it, and reboot, and the problem
was not here. I think sometimes, and with my.cnf options, mysql is too
slow to be launched, and then, dovecot and others applications could
have a problem.

So, I cannot explain this problem. On the other hand, it was not -big-
problem, just a warning.

Does you're my.cnf file contains an entry that needs to be resolved by
dns and if so can it be resolved!
Maybe named is not started before mysql.
Try setting that entry in /etc/hosts.

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


hammer

2008-05-15 Thread Johan Hendriks
Will the hammer filesystem from DragonflyBSD  make it into FreeBSD?

 

It looks like a very useable filesystem.

 

Regards,

Johan Hendriks

 

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


RE: FreeBSD 7.0 jail and Samba 3

2008-04-24 Thread Johan Hendriks
What does your ifconfig line read from /etc/rc.conf (the alias line)

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


RE: FreeBSD 7.0 jail and Samba 3

2008-04-24 Thread Johan Hendriks
 Hey,
 
 ifconfig_rl0_alias0=192.168.15.201 netmask 255.255.255.0

 the mask of an alias ipadres needs to be 32 bits.
 I do not now if this solves your problem but it needs to be 32 bits.

 ifconfig_rl0_alias0=192.168.15.201 netmask 255.255.255.255

Can you explain why it needs to be 32 bits?
I have both setups (24 and 32) and both seems to works fine.
(I am not running Samba)

 I tried with 24 bits - it doesn't work one way or the other.
 
 Thanks,
 Nejc

This is from the man page of ifconfig and there it is

alias   Establish an additional network address for this interface.
This
 is sometimes useful when changing network numbers, and one
wishes
 to accept packets addressed to the old interface.  If the
address
 is on the same subnet as the first network address for this
 interface, a non-conflicting netmask must be given.
Usually
 0x is most appropriate.

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


RE: FreeBSD 7.0 jail and Samba 3

2008-04-23 Thread Johan Hendriks

 OK.. if it is running inside your jail it doesnt respond to WINS
 broadcasts (request for NETBIOS Names.. oi, who is Machine on this
 subnet???), if it is not running in your jail, it is.

I wouldn't say WINS broadcasts but NetBIOS broadcasts, yes. Machine
is jailed Samba 3 server - I want it to be accessible from Windows machines
via \\Machine. But it is not unless I put it out of jail (or turn on WINS in
smb.conf and enter the WINS server IP into Windows clients). Windows machines
don't have the WINS server set - I don't want to use WINS server capability
of Samba (nor of any other server on the network).

 So, what are your settings for master (local, domain and wins)?

 wins support = no
 local master = yes
 domain master = yes
 preferred master = yes

 can you do a ping to machine? Can it be resolved?

C:\Users\Nejko.DOMAINping freebsd
Ping request could not find host freebsd. Please check the name and try again.

C:\Users\Nejko.DOMAINping 192.168.15.201



Pinging 192.168.15.201 with 32 bytes of data:
Reply from 192.168.15.201: bytes=32 time1ms TTL=64

 Can you connect smbclient //ipadres?

You mean \\192.168.15.201. Yes.

 Do you see the smb client listening on the machines virtual ip?

You mean smb server - yes:

root smbd   1436  18 tcp4   192.168.15.201:445*:*
root smbd   1436  19 tcp4   192.168.15.201:139*:*
root nmbd   1430  6  udp4   192.168.15.201:137*:*
root nmbd   1430  7  udp4   192.168.15.201:138*:*
root nmbd   1430  8  udp4   192.168.15.201:137*:*
root nmbd   1430  9  udp4   192.168.15.201:138*:*

 in case the above work for you it is all about name resolution.
 # man smbclient
 Read the first paragraph of servicename on servername resolution.

I know it is all about network resolution. But the question is how to
convince a jailed Samba to reply to NetBIOS broadcasts. I can't find this
in any manual.

Thanks,
Nejc

This is nota n issue with samba it is a name resolve issue.
If you add in c:\windows\system32\drivers\etc\hosts the following does all work 
then

ipadressMachine-name

where ipadress is the ipadres of the jailed samba server and machine-name is 
the netbios name of the jailed server.

If this works then you need to check your DNS server.

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


RE: Install CVsup

2008-04-21 Thread Johan Hendriks

Hi,

my freebsd server is version 6.2, I want to install cvsup and this is
what i
type in my box:

cd /usr/ports/net/cvsup-without gui
make install

..but during its process i allways has time-out connection then it ends
up..
I attached in this email the my console..PLease check it
Please tell me what i forgot..Thanks in advance..

Why do you want cvsup?
There is csup that is in the base system.
So if you use cvsup only to update the ports and base sources use csup!

Regards,
Johan Hendriks
Double L Automatisering
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: FreeBSD 7.0 jail and Samba 3

2008-04-17 Thread Johan Hendriks


 I am trying to get latest Samba running under FreeBSD 7.0 jail 
 environment. I happen
 to have problems with visibility of the Samba server on the network - 
 I cannot connect
 to it using its NetBIOS name. To be able to run nmbd, I have to use the 
 interfaces
 parameter in smb.conf like this:
 
 interfaces = 192.168.1.2/24 127.0.0.1
 
 If I don't set this, nmbd fails to run (it says it cannot find 
 interfaces). However, if
 I try the identical configuration on a non-jailed Samba (on a FreeBSD 
 6.2 though) it
 runs seamlessly - I can connect to it from another box by running 
 smbclient //server/share.
 
 Is there any way to make NetBIOS work for jailed Samba server on FreeBSD 
 7.0?

Is there really nobody who could help me out here?

Thanks,
Nejc

I think you will need to remove 127.0.0.1

Just use 192.168.1.2/24

There is no 127.0.0.1 on a jailed system

This is the output of ifconfig on my jail server

bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=9bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM
ether 00:19:bb:d1:66:06
inet 192.168.100.200 netmask 0xff00 broadcast 192.168.100.255
inet 192.168.100.201 netmask 0x broadcast 192.168.100.201
inet 192.168.100.202 netmask 0x broadcast 192.168.100.202
inet 192.168.100.203 netmask 0x broadcast 192.168.100.203
inet 192.168.100.204 netmask 0x broadcast 192.168.100.204
media: Ethernet autoselect (100baseTX full-duplex)
status: active
pflog0: flags=0 metric 0 mtu 33204
pfsync0: flags=0 metric 0 mtu 1460
syncpeer: 224.0.0.240 maxupd: 128
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff00

and here it is from my jailed server

bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=9bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM
ether 00:19:bb:d1:66:06
inet 192.168.100.202 netmask 0x broadcast 192.168.100.202
media: Ethernet autoselect (100baseTX full-duplex)
status: active
pflog0: flags=0 metric 0 mtu 33204
pfsync0: flags=0 metric 0 mtu 1460
syncpeer: 224.0.0.240 maxupd: 128
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384

as you can see the interface lo0 is there but no ip 127.0.0.1

regards,
Johan Hendriks
Double L Automatisering


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


RE: DHCP problem.Help please

2008-04-14 Thread Johan Hendriks


How to reload the dhcpd? what would be the command fo it?

Best regards..

On the freebsd server use:
/usr/local/etc/rc.d/isc-dhcpd restart

On a windows box do :
Start -- run 
Type cmd  klik ok

Then you'll get a dos box
 ipconfig /release 
This releases the ip adres 
 ipconfig /renew
try to get a new adres.

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


RE: Restart Squid proxy server

2008-04-14 Thread Johan Hendriks


Hallo,

How to restart the squid proxy server in freebsd?

Thanks...


Use the following command
/usr/local/etc/rc.d/squid restart

Regards,
Johan Hendriks
Double L Automatisering

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


RE: Apache22 Installation

2008-04-11 Thread Johan Hendriks
AOA

I m new FreeBSD 7. And i m trying to install Apache 22 on FreeBSD but
not
able to install how would i do this. Please help me in this regard.

-- 
Thanks

Farooq Hussain


Try the ports system

#cd /usr/ports/www/apache22  make install clean

Also try to read some good guides from here http://www.bsdguides.org/

Regards,
Johan Hendriks
Double L Automatisering
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Does softupdate help squid ?

2008-03-17 Thread Johan Hendriks
Squid is a forward proxy whereas varnish is just a reverse proxy

So you can not use it for for lan to wan proxy!

Regards,
Johan

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Christopher Sean
Hilton
Verzonden: maandag 17 maart 2008 12:41
Aan: Frank Bonnet
Onderwerp: Re: Does softupdate help squid ?


On Mar 17, 2008, at 4:51 AM, Frank Bonnet wrote:

 Hello

 I'm setting up a squid cache (3.0.2) machine FreeBSD 7.0 based and I  
 wonder
 if softupdates could help (make it faster ) or not the cache  
 partition ?


I can't imagine that it would hurt. Last I looked though squid may not  
be the best tool for this job. Poul Henning-Kamp has written an http  
accelerator called varnish.

I'll start by saying that implementing varnish is on list of things to  
do so my experience is purely anecdotal. No that I've said that, the  
feature that grabbed my attention was the fact that it's written to  
modern unix. If I understand what I read correctly this means that  
varnish eschews squids separation of the cache into  a fast cache in  
memory and a slow cache on disk. Instead varnish uses a big memory  
mapped file allowing the operating system to manage which cache  
objects are in memory and which ones are on disk. On FreeBSD at least  
that would seem to me to be a bigger performance win than softupdates.

-- Chris
___
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: Urgent: filesystem full, though space is available

2008-03-17 Thread Johan Hendriks
Well try deleting /usr/ports/distfiles/* it looks like your / is the
whole system and except /usr/local/

Also try sync to sync your disks right away

Regards,
Johan

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Dr. Jennifer
Nussbaum
Verzonden: maandag 17 maart 2008 16:34
Aan: freebsd-questions@freebsd.org
Onderwerp: Urgent: filesystem full, though space is available


Hi, Ive got a big problem now on a production server.

When i do various things, i am getting write failed, file system full
messages all over the place. Ive gone through and deleted
things i can, and i should have the space now, but its just
not available:

$ df -m
Filesystem  1M-blocks Used Avail Capacity  Mounted on
/dev/da0s1a  2015 1858-3   100%/
/dev/da0s1e 14061 9002  393370%/usr/local
procfs  00 0   100%/proc

I dont know what kind of math lets you do 2015-1858 and gives
you an answer of -3!

I have softupdates, or whatever, but i dont know how to get 
it to release this space. I cant reboot the running server.
I am planning on adding a disc to this system but right now
i need to get this space released ASAP! Can anyone help?

Thanks,

Jen

   
-
Never miss a thing.   Make Yahoo your homepage.
___
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: VESA option in 6.3?

2008-02-07 Thread Johan Hendriks
 Andreas Davour wrote:

 I just tried to compile my kernel with 'options VESA' and 'device 
 vga', according to the instructions from 'man 4 vga'.
 
 When I did it with 6.2 it worked, but now 'make buildkernel' tells
me 
 VESA is an unrecognized option. How come?

 I built a kernel with that for 6.3-RELEASE and it works just fine. 
 That is to say, the kernel builds, installs, boots and runs. But VESA

 itself is another story because I still can't change the syscons 
 resolution with vidcontrol and the screensavers don't work either.

 Perhaps you can send me your kernel config file?

Sure, here it is (it is a bit verbose, since I have not deleted stuff):

# UPHEAVAL kernconf, based on GENERIC 6.2

machineamd64
cpuHAMMER
ident  UPHEAVAL

snip

You are using amd64 now, there is no option VESA support for amd64.

Regards,
Johan Hendriks


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


RE: time in jail one hour behind the jailhost

2008-02-07 Thread Johan Hendriks


 Hello all
 
 I have a question regarding my time in a jail.
 
 I use ntp on the jailhost, but my jails are all one hour behind the
 host.
 
 Can someone tell me how to fix that!

Try running 'tzsetup' in the jail and selecting the correct timezone 
there.


JimBow

Thanks that did the trick
Can you tell me in which file the timezone is set.
Regards
Johan 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >