Re: disk is AWOL

2013-08-05 Thread Dieter BSD
 8.2 amd64
 ad8 is a 3TB Seagate on nforce4-ultra controller

 At boot:
 ad8: 2861588MB ST3000DM001 9YN166 CC4B at ata4-master UDMA100 SATA 3Gb/s
 DEBUG g_part_gpt.c gpt_read_hdr() ad8 succeeded with pp-sectorsize=512

 An hour later:
 # dd if=/dev/ad8 bs=4k count=1 of=/dev/null
 dd: /dev/ad8: No such file or directory

 BUT: there was no ad8: FAILURE - device detached or similar message
 on the console, in dmesg, or in /var/log/*.  The disk just disappeared
 without a peep from the kernel. What's going on?

Frank writes:
 Is this repeatable? Does it appear when you reboot and then vanish
 after a period of time?

The disk reappeared after a reboot, and is still there working fine
(both read and write) after over 21 hours.

 At boot, what does atacontrol list say,

Before reboot:

ATA channel 4:
Master:  no device present
Slave:   no device present

After reboot:

ATA channel 4:
Master:  ad8 ST3000DM001-9YN166/CC4B Serial ATA II
Slave:   no device present

(It shouldn't even report a slave for the SATA ports, since SATA doesn't
*have* slaves.)

 and what about before and after you've tried to read from the drive?

No change, even after being up over 21 hours.
___
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


disk is AWOL

2013-07-26 Thread Dieter BSD
8.2 amd64
ad8 is a 3TB Seagate on nforce4-ultra controller

At boot:
ad8: 2861588MB ST3000DM001 9YN166 CC4B at ata4-master UDMA100 SATA 3Gb/s
DEBUG g_part_gpt.c gpt_read_hdr() ad8 succeeded with pp-sectorsize=512

An hour later:
# dd if=/dev/ad8 bs=4k count=1 of=/dev/null
dd: /dev/ad8: No such file or directory

BUT: there was no ad8: FAILURE - device detached or similar message
on the console, in dmesg, or in /var/log/*.  The disk just disappeared
without a peep from the kernel. What's going on?
___
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 on Motorola Droid RAZR i ... Intel Atom ... workable ?

2013-02-12 Thread Mm Bsd

The Motorola Droid RAZR i (a variant
of the RAZR m) has an intel atom z2460 processor in it.
 
Unless I am mistaken, this is an amd64 compatible chip that
mainline FreeBSD could run on, yes ?
 
Without getting into the specifics of loading the system
(and using a touchscreen as input), would plain old amd64
FreeBSD run on this device ?
___
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


Best approach to jails + zfs

2013-01-25 Thread bsd
Hi, 

I wanted to have the point of view of the community on the best approach in 
order to handle a quite large system with couple of jails (shouldn't have more 
than 5 to 10). Whole system is based on zfs. I'll use this as a backup server.

I have been using the handbook approach so far. It is quite stable but the 
linked directories inside each jail is quite error prone and may be confusing. 
With this approach you can update all your jails at once… this is quite 
tempting, but if you have an error… all your jails are gone at once ! == you 
can't afford to have a kernel compile problem while updating your system or 
you're dead !! 

http://www.freebsd.org/doc//handbook/jails-build.html


The other approach that I have found is to use create a base jail system using 
sysinstall and then zfs snapshot to clone It. You then use this to create a 
jail. You end up with couple of independent jails which are not linked to each 
other in any way. You can / need to update each jail one by one. 

http://vocalbit.com/article/402/freebsd-jails-using-zfs-and-bsdinstall


• I wanted to know if the handbook approach is still the most recent one 
considering the latest progress in FBSD jail management ? 

• I wanted to know if you had some mixed approach that can leverage the risk 
of the handbook approach ? 

• Last but not least - do you have any good pointer to recent guide / howto / 
studies on the subject ? 


Thanks 


––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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: Best approach to jails + zfs

2013-01-25 Thread bsd
Le 25 janv. 2013 à 18:41, Steve O'Hara-Smith a écrit :

 On Fri, 25 Jan 2013 18:25:06 +0100
 bsd b...@todoo.biz wrote:
 
 Hi, 
 
 I wanted to have the point of view of the community on the best approach
 in order to handle a quite large system with couple of jails (shouldn't
 have more than 5 to 10). Whole system is based on zfs. I'll use this as a
 backup server.
 
   You might like the sysutils/ezjail port - I use it for a very
 similar purpose and find it works well.
 
 -- 
 Steve O'Hara-Smith st...@sohara.org



I am a bit skeptical on the third party script approach. 

How stable has It been ? 

I have been using warden with PC-BSD TrueOS for testing and I have 
encountered all sorts of problems (not stable when you have two pools of disks 
- can't delete jail…)… Quite interesting approach, but not mature enough to be 
launched in production. 

I have finally gotten back to the FreeBSD root file system which I am using 
since couple of years now. It is not fancy, It does not provide script to ease 
your pain… But you understand what you are doing and It does what you tell him 
to do !! 

ZFS has introduced a new challenge, but now that I have understood (more or 
less) how It is working, I found It really great! 
Just trying to figure out the best way to use both Jail + ZFS. 


But I might re-consider my position… Does ezjail comply with the latest FreeBSD 
9 / 9.1 advances in jail / ZFS management improvement ? 


Thanks for your feedback. 


––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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


9.1-R and garbage on the console

2013-01-12 Thread bsd
Hello.

I installed 9.1-R amd64 on a flash drive and boot off it to do remote ZFS
backups.  Booting and the text console screen, including the other alt-f?
consoles, work fine at this point.  A few minutes into the ZFS receive my
console turns into blocky garbage:  http://imgur.com/y8kWR . The system is
not crashed and works fine via SSH.  The box's mainboard (GA-E7AUM-DS2H)
has Integrated NVIDIA GeForce 9400 graphics.  It appears to me that the
RAM shared with the video card is overwritten/corrupted.

Any ideas on how to remedy this?  Thanks for any advice.


___
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


SSD for FreeBSD NAS device

2012-11-20 Thread bsd
Hello, 

I have just acquired an Intel R2312GZ4GC4 which I have equipped with a Adaptec 
RAID 51245 and 6 WD red disks of 3To - It'll come with 32Gb of Kingston ECC 
RAM. 

I am planing to use It as a backup device on a second hosting facility to 
backup couple of critical servers of mine. 


  Item: Intel(R) Server System R2312GZ4GC4
Intel(R) Server System: integrated in a 2U chassis supporting
12x3.5* Hot-swap drives, 24 DIMMs,  2 750W Redundant Power
Supplies, enterprise class IO, Intel(R) Remote Management
Module 4 (AXXRMM4R) Integrated Intel(R) Server System with (1) 
Intel(R) Server Board S2600GZ4 in 2U chassis, (1) airduct, (1) 
Control panel on rack handle, Support for 2x SSD mounting on
airduct, (12) 3.5” Hot Swap Drive Carriers with (1) Hot Swap 
Backplane, (3) SFF8087 to SFF8087 cables, (2) CPU heatsinks,
Redundant and hotswap cooling fans, (2) risers with 3 x8 slots 
(2xFHFL 1xFHHL), (2) 750W AC Power Supply, Intel(R) Remote
Management Module 4, (1 Set) Value rails 
   Qty: 1



I will use ZFS as file system for both the root drive (SSD ?) - and the Adaptec 
RAID / JBOD controller (RAIDZ2 probably).

I wanted to know what were your experiences on choosing an SSD HD as master 
boot device / root FS ? 

Do you think I should go for a redundant SSD drives (RAID 1) or does this 
offers limited interest in such config ? 


I have been reading comments about failure / problems here and there, but 
comments are not so fresh (one year is very old in SSD). 

So I wanted to have fresh infos and updates on your experiences with SSD on 
such mid size system. 


Thx. 

––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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 do I set number of retries in Firefox?

2012-09-20 Thread Dieter BSD
 I have a problem with various parts of web pages stopping
 before getting completely downloaded. Links has a useful retries
 setting (setup-network options-retries) which seems to fix
 this. I need a similar fix for firefox 3.6.2

 Firefox 15
 URL: about:config
 search: retry
 network.http.connection-retry-timeout;250

3.6.2 doesn't have network.http.connection-retry-timeout,
but I found network.http.max-connections and friends,
reducing those should reduce the timeouts.  So far so good.

I would have never guessed to type about:config as a URL.
Very useful to know.  Thank you.
___
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


How do I set number of retries in Firefox?

2012-09-12 Thread Dieter BSD
[ no response on mozilla@ list, trying questions@ ]

I have a problem with various parts of web pages stopping
before getting completely downloaded. Links has a useful retries
setting (setup-network options-retries) which seems to fix
this. I need a similar fix for firefox 3.6.2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Apache 2.2 and php 5.4.5 failing on freebsd 8.3

2012-08-21 Thread bsd

Le 21 août 2012 à 04:10, John Levine a écrit :

 Are you running pecl-APC? If so, what version? There's a major issue with 
 the 
 latest.
 
 Hmmn, that might have been it.
 
 I backed down to 5.3, but when I have a chance I'll try 5.4 again without 
 APC.
 
 Tried it without APC, didn't help.  We're back to the theory that there's
 something in PHP 5.4.5 that builds OK on 9.0 but not on 8.x.

I suggest that you start with a fresh php.ini file in order to have up to 
date values. 

If you have compiled it with cli, you can post the output of php -v here so we 
can figure out more precisely what is going on with your install… 

I am running PHP 5.4.5 on 7.4 without problem - I had problem upon install, but 
they all came from php.ini not beeing up to date (AFAIR). 


Thx. 

 
 R's,
 John
 ___
 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


––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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


Compatible Wi-Fi card mini PCI-Express

2012-07-20 Thread bsd
Hello friends, 


I am looking for a FreeBSD compatible card in Mini PCI-Express. 

I know that the hardware list provides a lot of links, but since there are many 
providers, I thought It could be faster to ask the mailing list directly. 

This will be used as an AP in a pfSense appliance (for testing purposes) and 
might be deployed in larger scale deployment if testing is ok… So I'd rather 
use very good quality branded hardware. Could be 802.11 G. 



Sincerely yours. 

––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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: UEFI Secure Boot Specs - And some sanity

2012-06-14 Thread Dieter BSD
grarpamp writes:
 Plenty of millionaires
 out there now who are in tune with opensource who could startup,
 buy the same ARM/ATOM/etc chips, the same support chips, load
 Android and sell it to the masses.

Would you please post a list of these millionaire FLOSS entrepreneurs?
Thank you.
___
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


Problem installing bind in jail

2012-04-05 Thread bsd
Hi, 

I have followed the tutorial provided in 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-application.html
I have now five jails up and running and I am very happy with the system. 

One of my jail is acting as an important DNS server and It needs to be up to 
date. 

I have decided to recompile bind in the latest version and I am running into a 
problem which is caused by bind port not following the FreeBSD requisites and 
trying to install things in /usr/include/isc 


making all in /s/portbuild/usr/ports/dns/bind98/work/bind-9.8.2/lib/isc/x86_32
making all in 
/s/portbuild/usr/ports/dns/bind98/work/bind-9.8.2/lib/isc/x86_32/include
making all in 
/s/portbuild/usr/ports/dns/bind98/work/bind-9.8.2/lib/isc/x86_32/include/isc
making install in 
/s/portbuild/usr/ports/dns/bind98/work/bind-9.8.2/lib/isc/include
making all in 
/s/portbuild/usr/ports/dns/bind98/work/bind-9.8.2/lib/isc/include/isc
making install in 
/s/portbuild/usr/ports/dns/bind98/work/bind-9.8.2/lib/isc/include/isc
/bin/sh ../../../../mkinstalldirs /usr/include/isc
mkdir /usr/include/isc
mkdir: /usr/include/isc: Read-only file system
*** Error code 1

Stop in /s/portbuild/usr/ports/dns/bind98/work/bind-9.8.2/lib/isc/include/isc.
[…] 



I am not certain of the path I should take to solve this issue… 
Most probably I should simlink from the RO part of the system to the RW… but I 
am not 100% sure how to proceed. 


Why is ISC trying to setup things in this location and not on 
/usr/local/include/ ? 


I think I would need to simlink from the RO portion of the system 
/usr/include/isc to /usr/local/include/isc but I am not certain how to proceed. 



Thanks for your help. 

G.B. 


––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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


Setting up a syslog server in a jail

2012-01-30 Thread bsd
Hello, 

I would like to setup a syslog server inside a jail 
I have setup couple of other jail and they are already working as a DNS server 
and a HTTP server. 

The next step would be to configure a new jail as a syslog server. 

I have the following parameters : 

jail_enable=YES
jail_mount_enable=YES
jail_set_hostname_allow=NO
jail_sysvipc_allow=YES # for syslog et postgres
jail_socket_unixiproute_only=NO
jail_list=ns0 lacoste logjail
jail_logjail_hostname=logjail.osnet.eu
jail_logjail_ip=1.2.3.4
jail_logjail_rootdir=/jails/j/logjail
jail_logjail_devfs_enable=YES


I have also setup in /etc/sysctl.conf : 

security.jail.allow_raw_sockets=1

• I can ping the remote host (the one sending IP datagram)
• I can dig any domain


I am still not able to get the log correctly sent to the specified jail… ?? 


Any idea ? 

––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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: Setting up a syslog server in a jail

2012-01-30 Thread bsd
Le 30 janv. 2012 à 16:59, Matthew Seaman a écrit :

 On 30/01/2012 15:40, bsd wrote:
 I am still not able to get the log correctly sent to the specified jail… ?? 
 
 Are you running syslogd in the host environment?

Yes I am running it both in the host and jail environment. 

  If so, it's probably
 bound to INADDR_ANY and thus pre-empted your jailed syslog from binding
 to a network port.
 
 Try adding
 
 syslogd_flags=-ss

Ok, I have the following sockstat on the host environment : 

surf:root 17:09:02 ~ # sockstat | grep sysl
root syslogd3176  4  dgram  /var/run/log
root syslogd3176  5  dgram  /var/run/logpriv
root syslogd3153  4  dgram  /var/run/log
root syslogd3153  5  dgram  /var/run/logpriv
root syslogd3153  6  udp4   1.2.3.6:514 *:*
root syslogd2191  4  dgram  /var/run/log
root syslogd2191  5  dgram  /var/run/logpriv
root syslogd2191  6  udp4   1.2.3.5:514 *:*
root syslogd1947  4  dgram  /var/run/log
root syslogd1947  5  dgram  /var/run/logpriv
root syslogd1947  6  dgram  /var/run/log
root syslogd1947  7  dgram  /var/named/var/run/log
root syslogd1947  8  udp4   1.2.3.4:514 *:*


My syslog server is supposed to be on 1.2.3.6 

In the jail environment I have : 

logjail# sockstat | grep syslo
root syslogd3153  4  dgram  /var/run/log
root syslogd3153  5  dgram  /var/run/logpriv
root syslogd3153  6  udp4   1.2.3.6:514 *:*

… But still no log from outside the jail… ?  



 
 in the host environment.  That prevents syslogd from listening via a
 network port at all, although it will still happily log messages from
 the local machine.
 
 Use sockstat(1) to diagnose what addresses syslogd(8)s have bound to.
 


Thanks for your answers

   Cheers,
 
   Matthew
 
 -- 
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW
 


––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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: Setting up a syslog server in a jail [SOLVED]

2012-01-30 Thread bsd

Le 30 janv. 2012 à 17:15, bsd a écrit :

 Le 30 janv. 2012 à 16:59, Matthew Seaman a écrit :
 
 On 30/01/2012 15:40, bsd wrote:
 I am still not able to get the log correctly sent to the specified jail… ?? 
 
 Are you running syslogd in the host environment?
 
 Yes I am running it both in the host and jail environment. 
 
 If so, it's probably
 bound to INADDR_ANY and thus pre-empted your jailed syslog from binding
 to a network port.
 
 Try adding
 
 syslogd_flags=-ss
 
 Ok, I have the following sockstat on the host environment : 
 
 surf:root 17:09:02 ~ # sockstat | grep sysl
 root syslogd3176  4  dgram  /var/run/log
 root syslogd3176  5  dgram  /var/run/logpriv
 root syslogd3153  4  dgram  /var/run/log
 root syslogd3153  5  dgram  /var/run/logpriv
 root syslogd3153  6  udp4   1.2.3.6:514 *:*
 root syslogd2191  4  dgram  /var/run/log
 root syslogd2191  5  dgram  /var/run/logpriv
 root syslogd2191  6  udp4   1.2.3.5:514 *:*
 root syslogd1947  4  dgram  /var/run/log
 root syslogd1947  5  dgram  /var/run/logpriv
 root syslogd1947  6  dgram  /var/run/log
 root syslogd1947  7  dgram  /var/named/var/run/log
 root syslogd1947  8  udp4   1.2.3.4:514 *:*
 
 
 My syslog server is supposed to be on 1.2.3.6 
 
 In the jail environment I have : 
 
 logjail# sockstat | grep syslo
 root syslogd3153  4  dgram  /var/run/log
 root syslogd3153  5  dgram  /var/run/logpriv
 root syslogd3153  6  udp4   1.2.3.6:514 *:*
 
 … But still no log from outside the jail… ?  
 
 
 
 
 in the host environment.  That prevents syslogd from listening via a
 network port at all, although it will still happily log messages from
 the local machine.
 
 Use sockstat(1) to diagnose what addresses syslogd(8)s have bound to.
 
 
 
 Thanks for your answers

Problem was with the IP I was listening on. 

Was the wrong one. 

Found that using the debug option of syslog -d 

Very straight forward after debug was enable. 

 
  Cheers,
 
  Matthew
 
 -- 
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW
 
 
 
 ––
 - Grégory Bernard Director -
 --- www.osnet.eu ---
 -- Your provider of OpenSource appliances --
 ––
 OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO
 
 ___
 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


––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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


Backup strategy for zfs + jail

2012-01-17 Thread bsd
Hi, 

I have a simple 1U server with two disks that I have configured as a jail 
server. 

I want to setup a simple yet very efficient backup policy for my jail 
environment. 

This server is running a ZFS filesystem. 

Ideally I would like to backup the main zfsroot/jail and all subdirectories on 
a backup FTP server. 


• What kind of tool would you suggest ? 

I need to focus on : 

-- Simplicity of setup
-- Ease of recovery
-- Efficiency 
-- Compatibility with ZFS


Thanks. 

––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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: Backup strategy for zfs + jail

2012-01-17 Thread bsd

Le 17 janv. 2012 à 22:52, Devin Teske a écrit :

 
 
 -Original Message-
 From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
 questi...@freebsd.org] On Behalf Of bsd
 Sent: Tuesday, January 17, 2012 1:04 PM
 To: Liste FreeBSD
 Subject: Backup strategy for zfs + jail
 
 Hi,
 
 I have a simple 1U server with two disks that I have configured as a jail
 server.
 
 I want to setup a simple yet very efficient backup policy for my jail
 environment.
 
 This server is running a ZFS filesystem.
 
 Ideally I would like to backup the main zfsroot/jail and all subdirectories 
 on
 a
 backup FTP server.
 
 
 . What kind of tool would you suggest ?
 
 I need to focus on :
 
 -- Simplicity of setup
 -- Ease of recovery
 -- Efficiency
 -- Compatibility with ZFS
 
 
 
 If you're running 9, give HAST a shot.
 
 TCP/IP block-level mirroring provided by HAST should be able to mirror the ZFS
 container in near-RT and be tolerant of things like network issues.

Though HAST seems quite interesting I am not looking for a cluster solution. 
My FTP server is provided by my ISP, and Ideally I would like something that 
feets in that solution… 

So something like ZFS snapshots + some syncing level FTP service that will do 
the copy to the remote location… I don't really know if this approach will work 
with a ZFS snapshot, I use to work at file level using duplicity… works well 
though a bit heavy ! 


G.B. 

 -- 
 Devin
 
 _
 The information contained in this message is proprietary and/or confidential. 
 If you are not the intended recipient, please: (i) delete the message and all 
 copies; (ii) do not disclose, distribute or use the message in any manner; 
 and (iii) notify the sender immediately. In addition, please be aware that 
 any message addressed to our domain is subject to archiving and review by 
 persons other than the intended recipient. Thank you.


––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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


Problem installing world in jail template

2012-01-12 Thread bsd
Hi, 


I am following the FBSD handbook tutorial in order to install the world in my 
jail template : 

# cd /usr/src
# make installworld DESTDIR=/jails/j/mroot


The directory already exists. 

I have the following errors : 


 ln -fs libcom_err.so.5 /jails/j/mroot/usr/lib/libcom_err.so
 install -C -o root -g wheel -m 444  
 /usr/src/lib/libcom_err/../../contrib/com_err/com_err.h 
 /usr/src/lib/libcom_err/../../contrib/com_err/com_right.h 
 /jails/j/mroot/usr/include
 install -o root -g wheel -m 444 com_err.3.gz  
 /jails/j/mroot/usr/share/man/man3
 === lib/libcom_err/doc (install)
 install-info --quiet  --defsection=Programming  development tools.  
 --defentry=* libcom_err: (com_err).A Common Error Description 
 Library for UNIX.  com_err.info /jails/j/mroot/usr/share/info/dir
 install-info: /jails/j/mroot/usr/share/info/dir: empty file
 *** Error code 1
 
 Stop in /usr/src/lib/libcom_err/doc.
 *** Error code 1
 
 Stop in /usr/src/lib/libcom_err.
 *** Error code 1
 
 Stop in /usr/src/lib.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 




Target OS is 9.0-RC3. 


Thanks for your help. 


––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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 installing world in jail template [Solved] 

2012-01-12 Thread bsd
Le 12 janv. 2012 à 19:46, bsd a écrit :

 
 Le 12 janv. 2012 à 17:29, ss griffon a écrit :
 
 On Thu, Jan 12, 2012 at 8:09 AM, bsd b...@todoo.biz wrote:
 Hi,
 
 
 I am following the FBSD handbook tutorial in order to install the world in 
 my jail template :
 
 # cd /usr/src
 # make installworld DESTDIR=/jails/j/mroot
 
 
 The directory already exists.
 
 I have the following errors :
 
 
 ln -fs libcom_err.so.5 /jails/j/mroot/usr/lib/libcom_err.so
 install -C -o root -g wheel -m 444  
 /usr/src/lib/libcom_err/../../contrib/com_err/com_err.h 
 /usr/src/lib/libcom_err/../../contrib/com_err/com_right.h 
 /jails/j/mroot/usr/include
 install -o root -g wheel -m 444 com_err.3.gz  
 /jails/j/mroot/usr/share/man/man3
 === lib/libcom_err/doc (install)
 install-info --quiet  --defsection=Programming  development tools.  
 --defentry=* libcom_err: (com_err).A Common Error Description 
 Library for UNIX.  com_err.info /jails/j/mroot/usr/share/info/dir
 install-info: /jails/j/mroot/usr/share/info/dir: empty file
 *** Error code 1
 
 Stop in /usr/src/lib/libcom_err/doc.
 *** Error code 1
 
 Stop in /usr/src/lib/libcom_err.
 *** Error code 1
 
 Stop in /usr/src/lib.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 
 
 
 
 
 Target OS is 9.0-RC3.
 
 
 Thanks for your help.
 
 
 ––
 - Grégory Bernard Director -
 --- www.osnet.eu ---
 -- Your provider of OpenSource appliances --
 ––
 OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO
 
 ___
 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
 
 Can you check if any of the directories in the path:
 /jails/j/mroot/usr/share/info/dir are actually created as empty files?
 It seems like I have had that problem before but I don't remember what
 the cause was.  I fixed it by deleting the file and making it a
 directory.
 
 As far as I can tell all directories are directories and not empty files. 
 
 
 [root@surf /jails]# cd j
 [root@surf /jails/j]# ls -al 
 total 6
 drwxr-xr-x   4 root  wheel   4 Jan 12 18:16 .
 drwxr-xr-x   4 root  wheel   4 Jan 12 18:08 ..
 drwxr-xr-x  17 root  wheel  18 Jan 12 23:43 mroot
 drwxr-xr-x   2 root  wheel   2 Jan 12 18:16 skel
 [root@surf /jails/j]# cd mroot/
 [root@surf /jails/j/mroot]# ls -al 
 total 26
 drwxr-xr-x  17 root  wheel  18 Jan 12 23:43 .
 drwxr-xr-x   4 root  wheel   4 Jan 12 18:16 ..
 drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 bin
 drwxr-xr-x   7 root  wheel   7 Jan 12 18:18 boot
 dr-xr-xr-x   2 root  wheel   2 Jan 12 18:18 dev
 drwxr-xr-x  20 root  wheel  20 Jan 12 18:18 etc
 drwxr-xr-x   3 root  wheel   4 Jan 12 23:43 lib
 drwxr-xr-x   3 root  wheel   3 Jan 12 18:18 libexec
 drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 media
 drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 mnt
 dr-xr-xr-x   2 root  wheel   2 Jan 12 18:18 proc
 drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 rescue
 drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 root
 drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 sbin
 lrwxr-xr-x   1 root  wheel  11 Jan 12 23:43 sys - usr/src/sys
 drwxrwxrwt   2 root  wheel   2 Jan 12 18:18 tmp
 drwxr-xr-x  14 root  wheel  14 Jan 12 18:18 usr
 drwxr-xr-x  23 root  wheel  23 Jan 12 18:18 var
 [root@surf /jails/j/mroot]# cd usr/
 [root@surf /jails/j/mroot/usr]# ls -al 
 total 22
 drwxr-xr-x  14 root  wheel  14 Jan 12 18:18 .
 drwxr-xr-x  17 root  wheel  18 Jan 12 23:43 ..
 drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 bin
 drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 games
 drwxr-xr-x  51 root  wheel  53 Jan 12 20:21 include
 drwxr-xr-x   7 root  wheel  28 Jan 12 23:43 lib
 drwxr-xr-x   4 root  wheel   4 Jan 12 18:18 lib32
 drwxr-xr-x   5 root  wheel   5 Jan 12 18:18 libdata
 drwxr-xr-x   6 root  wheel   6 Jan 12 18:18 libexec
 drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 local
 drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 obj
 drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 sbin
 drwxr-xr-x  27 root  wheel  27 Jan 12 18:18 share
 drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 src
 [root@surf /jails/j/mroot/usr]# cd share/
 [root@surf /jails/j/mroot/usr/share]# ls -al 
 total 47
 drwxr-xr-x   27 root  wheel   27 Jan 12 18:18 .
 drwxr-xr-x   14 root  wheel   14 Jan 12 18:18 ..
 drwxr-xr-x8 root  wheel8 Jan 12 18:18 calendar
 drwxr-xr-x2 root  wheel2 Jan 12 18:18 dict
 drwxr-xr-x   13 root  wheel   13 Jan 12 18:18 doc
 drwxr-xr-x   37 root  wheel   37 Jan 12 18:18 examples
 drwxr-xr-x3 root  wheel3 Jan 12 18:18 games
 drwxr-xr-x   16 root  wheel   16 Jan 12 18:18 groff_font
 drwxr-xr-x4 root  wheel4 Jan 12 18:18 i18n
 drwxr-xr-x3 root  wheel3 Jan 12 18:21 info
 drwxr-xr-x  176 root  wheel  176 Jan 12 18:18 locale

Shared Memory allocation in jail

2012-01-05 Thread bsd
Hi, 

I am trying to run both postgres and zabbix in the same jail and I am only able 
to start postgres or zabbix not both of them. 

I have tuned my sysctl on master host as follow : 

kern.ipc.shmmax=268435456
kern.ipc.shmall=409600
kern.ipc.semmap=256

security.jail.allow_raw_sockets=1
security.jail.sysvipc_allowed=1
security.jail.enforce_statfs=1


No special tunning on jail host. 


I have also tunned in rc.conf 
jail_sysvipc_allow=YES



I am still not able to start both at the same time. 


Any idea ? 

––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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: Shared Memory allocation in jail

2012-01-05 Thread bsd
Le 5 janv. 2012 à 14:56, bsd a écrit :

 Hi, 
 
 I am trying to run both postgres and zabbix in the same jail and I am only 
 able to start postgres or zabbix not both of them. 
 
 I have tuned my sysctl on master host as follow : 
 
 kern.ipc.shmmax=268435456
 kern.ipc.shmall=409600
 kern.ipc.semmap=256
 
 security.jail.allow_raw_sockets=1
 security.jail.sysvipc_allowed=1
 security.jail.enforce_statfs=1
 
 
 No special tunning on jail host. 
 
 
 I have also tunned in rc.conf 
 jail_sysvipc_allow=YES
 
 
 
 I am still not able to start both at the same time. 
 
 
 Any idea ? 

Infos here were helpful : http://www.freebsddiary.org/jail-multiple.php

I have 

• re-configure /boot/loader.conf
• configured sysctl.conf with various options


# rebooted and the issue was solved. 


 
 ––
 - Grégory Bernard Director -
 --- www.osnet.eu ---
 -- Your provider of OpenSource appliances --
 ––
 OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO
 
 ___
 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


––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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


Best solution to install zfs on root for FBSD 9

2011-12-20 Thread bsd
Hi, 

I would like to know if there is an official howto that could help me in the 
process of installing zfs on root. 

I will need a raid 1 configuration and plan to use the whole disks to be part 
of the pool. 

How far can we go with the installer ?

Do I have to use gpart ?

What is best way to achieve this ? 


Any recent and up to date pointer will be welcome. 


Thx. 



––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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: Best solution to install zfs on root for FBSD 9 [SOLVED]

2011-12-20 Thread bsd

Le 20 déc. 2011 à 18:42, Ivan Klymenko a écrit :

 В Tue, 20 Dec 2011 18:11:36 +0100
 bsd b...@todoo.biz пишет:
 
 Hi, 
 
 I would like to know if there is an official howto that could help
 me in the process of installing zfs on root. 
 
 I will need a raid 1 configuration and plan to use the whole disks to
 be part of the pool. 
 
 How far can we go with the installer ?
 
 Do I have to use gpart ?
 
 What is best way to achieve this ? 
 
 
 Any recent and up to date pointer will be welcome. 
 
 
 Thx. 
 
 http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot
 http://www.aisecure.net/2011/05/01/root-on-zfs-freebsd-current/

Ok thanks for your posting. 
There is an update for the post mentioned up there which is exactly what I was 
looking for : 

http://www.aisecure.net/2011/11/28/root-zfs-freebsd9/



Thx everyone. 


––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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


Problem with jail network

2011-11-30 Thread bsd
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. 


––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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-11-30 Thread bsd
Le 30 nov. 2011 à 17:17, Damien Fleuriot a écrit :

 
 
 On 11/30/11 5:05 PM, bsd wrote:
 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. 
 
 
 Confirm that the MISSING SPACE between your inet and xxx.216...
 statements is only a typo and NOT present in your actual rc.conf
 

This is confirmed. 

I have the equivalent of : 

ifconfig_bce0_alias0=inet 1.2.3.4/32


 ___
 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


––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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-11-30 Thread bsd
Le 30 nov. 2011 à 17:45, masayoshi a écrit :

 
 - Original Message -
 From: bsd b...@todoo.biz
 To: Liste FreeBSD freebsd-questions@freebsd.org
 Cc: 
 Sent: Thursday, 1 December 2011 1:05 AM
 Subject: Problem with jail network 
 
 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… ! 
 
 
 It might be wrong information. _
 Perhaps you might setup /etc/resolv.conf in Jail?
 
 http://www.cyberciti.biz/faq/freebsd-mount_nullf-usrports-inside-jail/
 

root@master 18:27:21 ~ - jls
  JID  IP Address  Hostname  Path
1  1.2.3.4 n0.n.o/jail/j/ns0
root@master 18:27:25 ~ - jexec 1 sh

# more /etc/resolv.conf
domain  n.o
nameserver  8.8.8.8



n0# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
^C
--- 8.8.8.8 ping statistics ---
13 packets transmitted, 0 packets received, 100.0% packet loss





 
 ---
 Inexperienced FreeBSD user: Level 4
 masayoshi  Ayumi Kinoshita
 http://tinyurl.com/63zg3op
 
 ___
 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


––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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-11-30 Thread bsd
Le 30 nov. 2011 à 18:36, Damien Fleuriot a écrit :

 
 
 On 11/30/11 6:29 PM, bsd wrote:
 Le 30 nov. 2011 à 17:17, Damien Fleuriot a écrit :
 
 
 
 On 11/30/11 5:05 PM, bsd wrote:
 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. 
 
 
 Confirm that the MISSING SPACE between your inet and xxx.216...
 statements is only a typo and NOT present in your actual rc.conf
 
 
 This is confirmed. 
 
 I have the equivalent of : 
 
 ifconfig_bce0_alias0=inet 1.2.3.4/32
 
 
 AFAIK, unless you allow raw sockets, you will not be able to ping from
 the jail.
 
 
 Find below the conf I successfully used, a long time ago, for a jail
 hosting DNS.
 
 This is from my rc.conf on the host system.
 
 
 
 
 ### JAILS
 jail_enable=NO
 jail_set_hostname_allow=NO
 jail_list=ns
 jail_ns_interface=lo53
 jail_ns_ip=192.168.0.53,2001:41d0:2:613b::53/56
 jail_ns_hostname=ns.my.gd
 # fec0:[interface index]::[damien fleuriot]:[interface number]
 # example: fec0:5::df:252 for loopback interface lo252
 jail_ns_rootdir=/var/jail/ns
 jail_ns_devfs_enable=YES
 #jail_ns_devfs_ruleset=devfsrules_jail_ns
 
 
 You will notice this creates a lo53 (loopback) interface with private
 IPv4 and IPv6 addresses.
 
 I then used PF to redirect DNS queries to this jail.

I don't want the IP to be redirected, I would like the jail to have It's own 
IP. 
Redirection would probably involve a NAT on your main IP to the IP of the jail, 
which is something I would like to avoid. 


Did you use something like the aforementioned ifconfig alias to give the IP to 
your jail ? 

ifconfig_bce0_alias0=inet 1.2.3.4/32


What bothers me is that I am not able to ping from the outside either… ?? 

And I can't install any ports because I don't have any network available inside 
the jail. 




––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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: Re[2]: Problem with jail network

2011-11-30 Thread bsd
Le 30 nov. 2011 à 18:38, Коньков Евгений a écrit :

 Здравствуйте, bsd.
 
 Вы писали 30 ноября 2011 г., 19:29:34:
 
 b Le 30 nov. 2011 а 17:17, Damien Fleuriot a йcrit :
 
 
 
 On 11/30/11 5:05 PM, bsd wrote:
 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. 
 
 
 Confirm that the MISSING SPACE between your inet and xxx.216...
 statements is only a typo and NOT present in your actual rc.conf
 
 
 b This is confirmed. 
 
 b I have the equivalent of : 
 
 b ifconfig_bce0_alias0=inet 1.2.3.4/32
 
 in this case I write full netmask: inet 1.2.3.4 netmask 255.255.255.255
 It works fine
 

Ok, I'll try that with netmask 255.255.255.255 instead of /32

And use the mentionned parameters with raw socket. 


Thx

 
 -- 
 С уважением,
 Коньков  mailto:kes-...@yandex.ru
 


––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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


Whats the difference between password+RSA, and password-protected RSA ?

2011-11-21 Thread Mm Bsd
Let's say I'd like to add a small amount of extra security to my SSH login 
process.

Let's say I decide the way I want to do this is by requiring BOTH a password 
and an RSA key.  There appear to be patches, or procedures, that allow me to do 
this.  So to log in, I would be required to enter a normal unix password, but I 
would ALSO be required to hold a proper RSA public key.

My question is this:

In terms of security (and correctness ?) what's the difference between this 
(unix password + SSH RSA key) and simply generating my RSA key *with* a 
password ?  Both ways require me to have something and know something, but 
they are obviously different, technically.

Comments on the difference, and relative security of the two methods ?

___
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


Problem with php5-dba build install

2011-11-04 Thread bsd
Hi, 

I have a problem building the php5-dba port. 

I know this is not exactly the right place to post problem related to that, but 
since I have already contacted the maintener couple of weeks ago, and I think 
the problem is not really so difficult to solve, I am asking this question 
here. 


swell:root 17:12:28 /usr/ports/databases/php5-dba # make install
===  Patching for php5-dba-5.3.8
===  Applying FreeBSD patches for php5-dba-5.3.8
===   php5-dba-5.3.8 depends on file: /usr/local/bin/phpize - found
===   php5-dba-5.3.8 depends on file: /usr/local/bin/autoconf-2.68 - found
===  PHPizing for php5-dba-5.3.8
Configuring for:
PHP Api Version: 20090626
Zend Module Api No:  20090626
Zend Extension Api No:   220090626
configure.in:3: warning: prefer named diversions
configure.in:3: warning: prefer named diversions
===  Configuring for php5-dba-5.3.8
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cpp
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... yes
checking build system type... amd64-portbld-freebsd7.4
checking host system type... amd64-portbld-freebsd7.4
checking target system type... amd64-portbld-freebsd7.4
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php 
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM 
-I/usr/local/include/php/Zend -I/usr/local/include/php/ext 
-I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/20090626
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to 
regenerate PHP parsers.
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for QDBM support... no
checking for GDBM support... no
checking for NDBM support... no
checking for Berkeley DB4 support... no
checking for Berkeley DB3 support... no
checking for Berkeley DB2 support... no
checking for DB1 support... no
checking for DBM support... no
checking for CDB support... no
checking for INI File support... no
checking for FlatFile support... no
checking whether to enable DBA interface... no
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... (cached) 262144
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd7.4 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag CXX to libtool
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... 
checking if c++ static flag  works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd7.4 ld.so
(cached

Problems with EFI / partitioning with FreeBSD ONLY mac mini ... from USB drive ...

2011-10-31 Thread Mm Bsd

I booted the 8.2-RELEASE CD on my Intel mac mini, which has a thumb drive 
plugged into USB.

I promptly entered FIXIT and used dd to zero out the ENTIRE internal hard 
drive.  I may use it, I may not, but for now I want to reduce variables and I 
don't want remnants of OSX on that disk tripping me up.

I exited FIXIT and proceeded with a plain old install of FreeBSD 8.2 onto the 
thumb drive, which was seen as da0.  Upon rebooting, I see a folder icon with a 
question mark inside of it, blinking on the screen.  The mac mini cannot see an 
OS to boot.

I have tried to solve this by:

- same as above, but plain old loader instead of FreeBSD boot manager.  Both 
failed

- During install, in FDISK, using the T option to change the type to 238

Still failing.  Any idea what the missing part of this recipe is
 ?

NOTE:  I see something of an answer here:

http://lists.freebsd.org/pipermail/freebsd-current/2011-September/027585.html

But I do not know how to put a dummy MBR there even if using GPT layout ... 
so if that is the answer, some additional details, please :)

Just trying to boot FreeBSD, and only FreeBSD, off of the thumb drive plugged 
into a mac mini with no other disks.  Any help appreciated.

___
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


Resetting bootloader on a CF

2011-08-31 Thread bsd
Hi, 

I am trying to reset the bootloader of a pfSense nanoBSD CF card. 

I need the boot loader to be reset because 

 The embedded image set the bootloader to use a serial console.  That isn't 
 necessary with the box I am trying to use (the BIOS does console redirection 
 to the serial port for you) and causes the boot to hang.


Part of the solution seems to be : 

1. Mount the CF on a FBSD 
2. Initialize the bootloader with : 

# fdisk -B /dev/disk

3. This is where I need you help… 


How can I re-install a boot loader ? 

Should I use the command : 

# fdisk -B -b /boot/boot0 device


Any other suggestion, guidance will be welcome. 


Thanks for your support. 


P.S. I'll check your answer in 10+ hours as I am already tired and It is 11.45 
pm in Paris where I leave. ;-) - thanks for your understanding. 

––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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: trying for 1920x1080 was: Re: Attempting to get an X11 server running

2011-07-19 Thread Dieter BSD
Reducing the color depth to 16 allows the wimpy Rage XL (8 MiB) to do 1920x1080.

So then I moved the old slow X terminal out of the way and moved the shiny new
Dell ST2220T LCD into the prime spot in front of the keyboard drawer...
...and the cable doesn't reach. Two HD-15 to BNC cables back-to-back fixed
that, but now it doesn't do the DCC/EDID stuff, so I had to get it to use a
modeline to get 1920x1080. And of course it doesn't go into standby mode.  sigh

Still have some minor issues like finding a decent font for xterm, and putting
a window at +0+0 hides a few pixels off-screen, and FreeBSD can't tell the
difference between a Unix keyboard and a pee-cee keyboard, but it is usable.

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


Re: trying for 1920x1080 was: Re: Attempting to get an X11 server running

2011-07-19 Thread Dieter BSD
 Have you tried:
 $ xset +dpms
 to use standby etc.?

xset:  unknown option +dpms

I assume it needs more than the 5 coaxes to do dpms.
(It did appear to be working with the short cable that came
with the monitor.)

 Font for xterm: x11-fonts/inconsolata-ttf

I installed package inconsolata-ttf-20090215.tbz

caching, new cache contents: 24 fonts, 0 dirs
/var/db/fontconfig: cleaning cache directory
fc-cache: succeeded

xset fp+ /usr/local/lib/X11/fonts/OTF
xset fp rehash
xterm -fn -*-inconsolata-*-r-*-*-*-*-*-*-*-*-*-*
xterm: cannot load font -*-inconsolata-*-r-*-*-*-*-*-*-*-*-*-*

also xfontsel acts screwy if I select inconsolata.
The sample doesn't get updated, and it starts acting like
it needs backing store but doesn't have it.  If I then
select some other family, then xfontsel starts acting
normally again.

 Pixels off screen: x11/xvidtune
 and show modeline once adjusted and stick it in xorg.conf

That was easy, 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


Re: Attempting to get an X11 server running

2011-06-30 Thread Dieter BSD
 That is incorrect.  Don't set AllowEmptyInput, just turn off AutoAddDevices.
 http://www.wonkity.com/~wblock/docs/html/aei.html

I reduced the config file to:

Section ServerLayout
        Identifier     X.org Configured
#       Screen      0  Screen0 0 0
        InputDevice    Mouse0 CorePointer
        InputDevice    Keyboard0 CoreKeyboard
        Option AutoAddDevices Off
EndSection

Section Module
        Disable  record
EndSection

Section InputDevice
        Identifier  Keyboard0
        Driver      kbd
EndSection

Section InputDevice
        Identifier  Mouse0
        Driver      mouse
        Option      Protocol auto
        Option      Device /dev/sysmouse
        Option      ZAxisMapping 4 5 6 7
EndSection

and now the mouse works as expected.  After more
debugging, got it to see the keysymdb and now the
keyboard works as well.

Thank you!

Now to see if I can get this wimpy rage xl to do 1920x1080.
___
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


trying for 1920x1080 was: Re: Attempting to get an X11 server running

2011-06-30 Thread Dieter BSD
 Now to see if I can get this wimpy rage xl to do 1920x1080.

 Please don't mess with modelines, it should not be needed any more.
 Just set the resolutions desired in the Screen/Display section.  If
 modelines are really required, get them out of /var/log/Xorg.0.log.
 But they almost certainly are not.

 Though if you *really* wanted to, there's cvt(1):

The cvt utility helpfully created a couple of modelines which I think
should work, but Xorg doesn't appear to use it.  I know it sees it,
because if I put in a typo it complains.  :-)  But the modelines don't
appear in the log file, even with Option ModeDebug and -logverbose 100.

I do get these:
(II) MACH64(0): Modeline 1920x1080x0.0  148.50  1920 2008 2052 2200  1080 
1084 1089 1125 +hsync +vsync (67.5 kHz)
(II) MACH64(0): Modeline 1920x1080x60.0  172.80  1920 2040 2248 2576  1080 
1081 1084 1118 -hsync +vsync (67.1 kHz)

but it doesn't use them:
(II) MACH64(0): default monitor: Using hsync range of 30.00-83.00 kHz
(II) MACH64(0): default monitor: Using vrefresh range of 56.00-76.00 Hz
(II) MACH64(0): default monitor: Using maximum pixel clock of 170.00 MHz
(II) MACH64(0): Estimated virtual size for aspect ratio 1.7778 is 1920x1080
(II) MACH64(0): Maximum clock: 124.00 MHz
[ ... ]
(II) MACH64(0): Not using driver mode 1920x1080 (bad mode 
clock/interlace/doublescan)
(II) MACH64(0): Not using driver mode 1280x1024 (bad mode 
clock/interlace/doublescan)
(II) MACH64(0): Not using driver mode 1920x1080 (bad mode 
clock/interlace/doublescan)
(WW) MACH64(0): Shrinking virtual size estimate from 1920x1080 to 1400x1050
(--) MACH64(0): Virtual size is 1400x1050 (pitch 1408)
(**) MACH64(0): *Default mode 1400x1050: 122.0 MHz, 64.9 kHz, 60.0 Hz
(II) MACH64(0): Modeline 1400x1050x60.0  122.00  1400 1488 1640 1880  1050 
1052 1064 1082 +hsync +vsync (64.9 kHz)

What is this 124.00 MHz clock?  Should I be using 124 or 170?
The 1400x1050 being 122 makes me think it is using 124 as the limit.
It isn't clear what it means by bad mode clock/interlace/doublescan.
Other rejections have reasons that make sense, vrefresh out of range,
insufficient memory and so on.

If the pixel clock is the problem, would reducing the color depth help?

The xrandr utility doesn't help:

xrandr --fb 1920x1080 -display :0
xrandr: screen cannot be larger than 1400x1050 (desired size 1920x1080)

xrandr --size 1920x1080 -display :0
Size 1920x1080 not found in available modes

Current xorg.conf:

Section ServerLayout
        Identifier     X.org Configured
#       Screen      0  Screen0 0 0
        InputDevice    Mouse0 CorePointer
        InputDevice    Keyboard0 CoreKeyboard
        # need Option AutoAddDevices Off to avoid the non-working hald
        # run moused instead
        Option AutoAddDevices Off
EndSection

Section Module
        Disable  record
EndSection

Section InputDevice
        Identifier  Keyboard0
        Driver      kbd
EndSection

Section InputDevice
        Identifier  Mouse0
        Driver      mouse
        Option      Protocol auto
        Option      Device /dev/sysmouse
        Option      ZAxisMapping 4 5 6 7
EndSection

Section Device
        Identifier Device0
        Option ModeDebug
EndSection

Section Monitor
        Identifier Monitor2220
        VendorName Dell
        ModelName  ST2220T
        HorizSync  30.00-83.00
        VertRefresh 56.00-76.00

# cvt -v  1920 1080 57
# Warning: Refresh Rate is not CVT standard (50, 60, 75 or 85Hz).
# 1920x1080 56.90 Hz (CVT) hsync: 63.67 kHz; pclk: 163.00 MHz
Modeline 1920x1080_57.00  163.00  1920 2040 2240 2560  1080 1083 1088 1119 
-hsync +vsync

# cvt -v -r 1920 1080
# 1920x1080 59.93 Hz (CVT 2.07M9-R) hsync: 66.59 kHz; pclk: 138.50 MHz
Modeline 1920x1080R  138.50  1920 1968 2000 2080  1080 1083 1088  +hsync 
-vsync
EndSection
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Attempting to get an X11 server running

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

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

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

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

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

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

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

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

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

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

Question 5: how do I get hald to work?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Attempting to get an X11 server running

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

Xorg
(no config file)

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

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

result: 1280x1024 which monitor doesn't like

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

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

Yes, see above

 Q3: Do you have consolekit installed?

yes, consolekit-0.4.3 from .../amd64/packages-8.2-release/...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing X11 gives perl version conflict

2011-06-24 Thread Dieter BSD
perryh running 8.1-RELEASE (and not 8-STABLE)
[ ... ]
perryh /packages-8.1-release/

AH HA 

The .message file contains the solution (I hope):

packages-*-release directories are built from the ports collection
shipped with the release, and are not updated thereafter.

packages-*-stable and packages-*-current are updated roughly once a week.

stable should be renamed bleeding-edge to warn dunderheads like
me that think stable means stable rather than unstable.

And maybe web browsers should automagically display the .message file.

THANK YOU !!!

If only debugging X11 were so easy...
___
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


Installing X11 gives perl version conflict

2011-06-23 Thread Dieter BSD
FreeBSD 8.2
amd64

Attempting to install X11 server.

Attempt to install package xf86-video-fbdev-0.4.2.tbz
gives conflict between perl-5.10.1_3 and perl-5.12.3
even when installing into clean directory tree.


# mkdir /tmp/test_pkg_install
# export PKG_DBDIR=/tmp/test_pkg_install/var/db/pkg
# pkg_add -P /tmp/test_pkg_install/   xf86-video-fbdev-0.4.2.tbz


Note that some of the standard modules are provided as separate
ports since they require extra dependencies:

bsddb           databases/py-bsddb
gdbm            databases/py-gdbm
sqlite3         databases/py-sqlite3
tkinter         x11-toolkits/py-tkinter

Install them as needed.


Removing stale symlinks from /usr/bin...
    Removing /usr/bin/perl
    Removing /usr/bin/perl5
Done.
Creating various symlinks in /usr/bin...
    Symlinking /tmp/test_pkg_install//bin/perl5.12.3 to /usr/bin/perl
    Symlinking /tmp/test_pkg_install//bin/perl5.12.3 to /usr/bin/perl5
Done.
Cleaning up /etc/make.conf... Done.
Spamming /etc/make.conf... Done.
Cleaning up /etc/manpath.config... Done.
Spamming /etc/manpath.config... Done.
Running fc-cache to build fontconfig cache...
Fontconfig error: Cannot load default config file
/usr/local/lib/X11/fonts: caching, new cache contents: 0 fonts, 1 dirs
/usr/local/lib/X11/fonts/local: caching, new cache contents: 0 fonts, 0 dirs
/var/db/fontconfig: cleaning cache directory
fc-cache: succeeded


*
Although libxcb can yield dramatic improvements in speed,
memory footprint, and responsiveness, and will probably
become the default Xlib for X.org/freedesktop.org, it is
still experimental software.  Some broken callers will abort()
on locking assertion failures.  As a temporary workaround, set
LIBXCB_ALLOW_SLOPPY_LOCK in your environment to skip the abort().
This may result in noisy stacktrace printing.
*

pkg_add: package 'perl-5.10.1_3' conflicts with perl-5.12.3
pkg_add: please use pkg_delete first to remove conflicting package(s) or -f to 
force installation
pkg_add: autoload of dependency 
'/ro/dist/freebsd/freebsd_8.2/amd64/packages/perl-5.10.1_3.tbz' failed!
pkg_add: autoload of dependency 
'/ro/dist/freebsd/freebsd_8.2/amd64/packages/glib-2.26.1_1.tbz' failed!
pkg_add: package 'perl-5.10.1_3' conflicts with perl-5.12.3
pkg_add: please use pkg_delete first to remove conflicting package(s) or -f to 
force installation
pkg_add: autoload of dependency 
'/ro/dist/freebsd/freebsd_8.2/amd64/packages/perl-5.10.1_3.tbz' failed!
pkg_add: package 'perl-5.10.1_3' conflicts with perl-5.12.3
pkg_add: please use pkg_delete first to remove conflicting package(s) or -f to 
force installation
pkg_add: autoload of dependency 
'/ro/dist/freebsd/freebsd_8.2/amd64/packages/perl-5.10.1_3.tbz' failed!
pkg_add: autoload of dependency 
'/ro/dist/freebsd/freebsd_8.2/amd64/packages/glib-2.26.1_1.tbz' failed!
pkg_add: autoload of dependency 
'/ro/dist/freebsd/freebsd_8.2/amd64/packages/gamin-0.1.10_4.tbz' failed!

...


Hiding perl-5.10.1_3 from pkg_add doesn't work:

pkg_add: could not find package perl-5.10.1_3 !

Hiding perl-5.12.3 from pkg_add doesn't work:

pkg_add: could not find package perl-5.12.3 !
___
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 reports incorrect amount of memory

2011-06-21 Thread Dieter BSD
Machine has been running FreeBSD/amd64 with 2 GiB of memory.
I just installed a 2nd 2 GiB of memory for 4 GiB total.
FreeBSD thinks it now has 32 GiB ???

FreeBSD 8.2-RELEASE #22: Tue Jun  7 12:37:21 PDT 2011
CPU: AMD Athlon(tm) 64 Processor 3000+ (1808.34-MHz K8-class CPU)
real memory  = 34359738368 (32768 MB)
avail memory = 3614437376 (3446 MB)

vm.kmem_map_free: 3629518848
vm.kmem_map_size: 9322496
vm.kmem_size_scale: 1
vm.kmem_size_max: 329853485875
vm.kmem_size_min: 0
vm.kmem_size: 3638841344
hw.physmem: 3749433344
hw.usermem: 3095994368
hw.realmem: 3758030848

    1 users    Load  0.00  0.00  0.00                  Jun 21 13:54

Mem:KB    REAL            VIRTUAL                       VN PAGER   SWAP PAGER
        Tot   Share      Tot    Share    Free           in   out     in   out
Act  272856   22968  1951804    52608  134640  count
All  335752   24556 1075766k    65644          pages
Proc:                                                            Interrupts
  r   p   d   s   w   Csw  Trp  Sys  Int  Sof  Flt        cow    5113 total
  1          76      8119   18 1754 3115  120             zfod        atkbd0 1
                                                          ozfod       uart0 irq4
 3.0%Sys   0.2%Intr  0.0%User  0.0%Nice 96.8%Idle        %ozfod    16 ohci1 siis
|    |    |    |    |    |    |    |    |    |    |       daefr     5 ed0 ohci2+
==                                                        prcfr       fwohci0++
                                        13 dtbuf          totfr       fwohci1 bg
Namei     Name-cache   Dir-cache    135416 desvn          react       ohci0+ 21
   Calls    hits   %    hits   %      2926 numvn          pdwak       ehci0+ 22
                                      1995 frevn          pdpgs  3094 nfe0 irq23
                                                          intrn  1998 cpu0: time
Disks   ad4   ad6   ad8  ad10  ada0  ada1  ada2    638292 wire
KB/t   0.00  0.00  0.00  0.00  0.00  0.00  0.00     97364 act
tps       0     0     0     0     0     0     0   2682588 inact
MB/s   0.00  0.00  0.00  0.00  0.00  0.00  0.00     77168 cache
%busy     0     0     0     0     0     0     0     57472 free
                                                   376080 buf

As far as I know, the mainboard (Tyan Tomcat k8e 2865) only
supports 4 GiB. Is this going to cause some problem with FreeBSD
trying to use memory that isn't there? How do I debug/fix this?
Didn't find anything with google.
___
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 reports incorrect amount of memory

2011-06-21 Thread Dieter BSD
# dmidecode 2.11
SMBIOS 2.2 present.

Handle 0x0005, DMI type 5, 24 bytes
Memory Controller Information
        Error Detecting Method: 64-bit ECC
        Error Correcting Capabilities:
                None
        Supported Interleave: One-way Interleave
        Current Interleave: One-way Interleave
        Maximum Memory Module Size: 4096 MB
        Maximum Total Memory Size: 16384 MB
        Supported Speeds:
                70 ns
                60 ns
                50 ns
        Supported Memory Types:
                Standard
                DIMM
        Memory Module Voltage: 2.9 V
        Associated Memory Slots: 4
                0x0006
                0x0007
                0x0008
                0x0009
        Enabled Error Correcting Capabilities: None

Handle 0x0006, DMI type 6, 12 bytes
Memory Module Information
        Socket Designation: A0
        Bank Connections: 0 1
        Current Speed: 5 ns
        Type: Unknown EDO
        Installed Size: 8192 MB (Double-bank Connection)
        Enabled Size: 8192 MB (Double-bank Connection)
        Error Status: OK

Handle 0x0007, DMI type 6, 12 bytes
Memory Module Information
        Socket Designation: A1
        Bank Connections: 2 3
        Current Speed: 5 ns
        Type: Unknown EDO
        Installed Size: 8192 MB (Double-bank Connection)
        Enabled Size: 8192 MB (Double-bank Connection)
        Error Status: OK

Handle 0x0008, DMI type 6, 12 bytes
Memory Module Information
        Socket Designation: A2
        Bank Connections: 4 5
        Current Speed: 5 ns
        Type: Unknown EDO
        Installed Size: 8192 MB (Double-bank Connection)
        Enabled Size: 8192 MB (Double-bank Connection)
        Error Status: OK

Handle 0x0009, DMI type 6, 12 bytes
Memory Module Information
        Socket Designation: A3
        Bank Connections: 6 7
        Current Speed: 5 ns
        Type: Unknown EDO
        Installed Size: 8192 MB (Double-bank Connection)
        Enabled Size: 8192 MB (Double-bank Connection)
        Error Status: OK

Handle 0x001B, DMI type 16, 15 bytes
Physical Memory Array
        Location: System Board Or Motherboard
        Use: System Memory
        Error Correction Type: None
        Maximum Capacity: 16 GB
        Error Information Handle: Not Provided
        Number Of Devices: 4

Handle 0x001C, DMI type 17, 21 bytes
Memory Device
        Array Handle: 0x001B
        Error Information Handle: Not Provided
        Total Width: 64 bits
        Data Width: 64 bits
        Size: 8192 MB
        Form Factor: DIMM
        Set: None
        Locator: A0
        Bank Locator: Bank0/1
        Type: Unknown
        Type Detail: None

Handle 0x001D, DMI type 17, 21 bytes
Memory Device
        Array Handle: 0x001B
        Error Information Handle: Not Provided
        Total Width: 64 bits
        Data Width: 64 bits
        Size: 8192 MB
        Form Factor: DIMM
        Set: None
        Locator: A1
        Bank Locator: Bank2/3
        Type: Unknown
        Type Detail: None

Handle 0x001E, DMI type 17, 21 bytes
Memory Device
        Array Handle: 0x001B
        Error Information Handle: Not Provided
        Total Width: 64 bits
        Data Width: 64 bits
        Size: 8192 MB
        Form Factor: DIMM
        Set: None
        Locator: A2
        Bank Locator: Bank4/5
        Type: Unknown
        Type Detail: None

Handle 0x001F, DMI type 17, 21 bytes
Memory Device
        Array Handle: 0x001B
        Error Information Handle: Not Provided
        Total Width: 64 bits
        Data Width: 64 bits
        Size: 8192 MB
        Form Factor: DIMM
        Set: None
        Locator: A3
        Bank Locator: Bank6/7
        Type: Unknown
        Type Detail: None

Assuming that dmidecode isn't buggy, the firmware is internally inconsistant,
and very wrong.  Not a surprise, the firmware is crap.  Surely the kernel
doesn't just believe whatever random garbage the firmware says?
___
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


ESS (extended service set) configuration for FBSD

2011-06-13 Thread bsd
Hello, 

I wanted to know what is the best way to build an ESS (extended service set aka 
group of Access Points) using FreeBSD. Knowing that we are looking at the 
classic features of such network: 

1. Couple of AP's configured with the same SSID
2. Authentication 
3. Security 
4. Roaming between AP's 
5. Communication between stations in the same ESS


The main problem to solve seems to be related to IAPP (Inter Access Point 
Protocol) aka 802.11f  
It is not very clear to me in which stage we are with this protocol and It's 
implementation… 



What would you advice ? 

How would you proceed ? 


Thanks for your support. 

––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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


xpdf does not accept input from keyboard

2011-05-30 Thread Dieter BSD
FreeBSD 8.2  amd64

xpdf version 3.02

whines:

Warning: translation table syntax error: Unknown keysym name:  osfActivate
Warning: ... found while parsing ':KeyosfActivate:            
ManagerParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfBeginLine
Warning: ... found while parsing ':KeyosfBeginLine:           
ManagerGadgetTraverseHome()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfHelp
Warning: ... found while parsing ':KeyosfHelp:                        
ManagerGadgetHelp()'
Warning: String to TranslationTable conversion encountered errors
Warning: Cannot allocate colormap entry for default background.
Warning: translation table syntax error: Unknown keysym name:  osfActivate
Warning: ... found while parsing ':KeyosfActivate:    
PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfHelp
Warning: ... found while parsing ':KeyosfHelp:                Help()'
...
Warning: translation table syntax error: Unknown keysym name:  osfCancel
Warning: ... found while parsing 'KeyosfCancel:                       
MenuEscape()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfActivate
Warning: ... found while parsing ':KeyosfActivate:    
PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfSelect
Warning: ... found while parsing ':KeyosfSelect:      ArmAndActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: Cannot convert string -*-times-bold-i-normal--20-*-*-*-*-*-iso8859-1 
to type FontStruct
Warning: Cannot convert string 
-*-times-medium-r-normal--14-*-*-*-*-*-iso8859-1 to type FontStruct
Warning: Color name LightYellow is not defined

And then seems to mostly work, except that it does not notice
any input from the keyboard.  Clicking on buttons with the mouse
works as expected, but attempting to paste text into the
find text box does not work.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


xpdf does not accept input from keyboard

2011-05-20 Thread Dieter BSD
FreeBSD 8.2  amd64

xpdf version 3.02

whines:

Warning: translation table syntax error: Unknown keysym name:  osfActivate
Warning: ... found while parsing ':KeyosfActivate:            
ManagerParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfBeginLine
Warning: ... found while parsing ':KeyosfBeginLine:           
ManagerGadgetTraverseHome()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfHelp
Warning: ... found while parsing ':KeyosfHelp:                        
ManagerGadgetHelp()'
Warning: String to TranslationTable conversion encountered errors
Warning: Cannot allocate colormap entry for default background.
Warning: translation table syntax error: Unknown keysym name:  osfActivate
Warning: ... found while parsing ':KeyosfActivate:    
PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfHelp
Warning: ... found while parsing ':KeyosfHelp:                Help()'
...
Warning: translation table syntax error: Unknown keysym name:  osfCancel
Warning: ... found while parsing 'KeyosfCancel:                       
MenuEscape()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfActivate
Warning: ... found while parsing ':KeyosfActivate:    
PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfSelect
Warning: ... found while parsing ':KeyosfSelect:      ArmAndActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: Cannot convert string -*-times-bold-i-normal--20-*-*-*-*-*-iso8859-1 
to type FontStruct
Warning: Cannot convert string 
-*-times-medium-r-normal--14-*-*-*-*-*-iso8859-1 to type FontStruct
Warning: Color name LightYellow is not defined

And then seems to mostly work, except that it does not notice
any input from the keyboard.  Clicking on buttons with the mouse
works as expected, but attempting to paste text into the
find text box does not work.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Creating clone of a HDD including boot partition

2010-12-16 Thread bsd

Le 15 déc. 2010 à 20:20, Warren Block a écrit :

 On Wed, 15 Dec 2010, bsd wrote:
 
 Is there a way to dd to a file to create an iso image and then restore 
 (still using dd from this image).
 I only have one IDE -- USB cable so this is the reason why It'd more 
 simple for me to create an iso image of the disk and then restore.
 
 Use dd's of= parameter to send output to a file.  If it really has to be an 
 ISO, pipe it to mkisofs.  Using dd like that makes big files with lots of 
 wasted space.  The article I posted earlier shows how to save some of that by 
 filling the disk's empty space with zeros.  Then gzip can do some useful 
 compression.
 
 Using dump won't be very useful because I won't be able to get the first 63 
 segments where boot info are written, I need something of lower level 
 (obviously dd will be my friend).
 
 A hybrid approach would be to save the first 63 blocks with dd, then use dump 
 for the UFS filesystems.
 
 dd if=/dev/ad0 of=mbr.bin count=63
 
 PS: top-posting bad, inline with trimmed irrelevancies good.

Ok, 

Thanks for the link and explanation. 

I have tried to use the compressed approach using smthg like:

# mount /dev/ad0s1a /mnt
# cd /mnt
# dd if=/dev/zero of=zerofile bs=1M


I have a lot of errors on standerr output such as : 

g_vfs_done() : da0s1a [WRITE(offset=58978680256, length=131072)]error = 5

Up to a point where It has finaly freezed my running FBSD 8.1. 


I don't think I have reached the end of the file… ?? 

-- 

I am restarting the operation. 


––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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: Creating clone of a HDD including boot partition

2010-12-16 Thread bsd
Le 16 déc. 2010 à 16:03, Bernt Hansson a écrit :

 2010-12-16 11:55, bsd:
 
 I have tried to use the compressed approach using smthg like:
 
 # mount /dev/ad0s1a /mnt
 # cd /mnt
 # dd if=/dev/zero of=zerofile bs=1M
 
 
 I have a lot of errors on standerr output such as :
 
 g_vfs_done() : da0s1a [WRITE(offset=58978680256, length=131072)]error = 5
 
 You have to little disk space, is my guess.
 
 Up to a point where It has finaly freezed my running FBSD 8.1.
 
 To little to fast.
 
 I don't think I have reached the end of the file… ??
 

Ok, 

I have got It working. 

I have created an 736 MB archive of my 160 GB hard drive. 
Now I am trying to restore It from my mac with : 

$ gzcat pfSense_HDD.gz | dd of=/dev/disk1 bs=1m


It has started at 19h52 and at 32h02 it is still not finished… 
I thing I'll go to sleep and see if the baby is born tomorow morning. 

Is there anything I can do to speed up the process ?


Anyway thank you for all this useful help. 

––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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: Creating clone of a HDD including boot partition

2010-12-15 Thread bsd
Is there a way to dd to a file to create an iso image and then restore (still 
using dd from this image). 
I only have one IDE -- USB cable so this is the reason why It'd more simple 
for me to create an iso image of the disk and then restore. 

Using dump won't be very useful because I won't be able to get the first 63 
segments where boot info are written, I need something of lower level 
(obviously dd will be my friend). 


Thanks everyone. I'll try to post the line code once I got It up and running.  


Thanks. 



Le 15 déc. 2010 à 09:00, Robert Bonomi a écrit :

 
 From owner-freebsd-questi...@freebsd.org  Tue Dec 14 09:01:02 2010
 From: nagios nag...@todoo.biz
 Date: Tue, 14 Dec 2010 15:42:42 +0100
 To: Liste FreeBSD freebsd-questions@freebsd.org
 Subject: Creating clone of a HDD including boot partition
 
 Hello,
 
 I have setup a tailored made configuration (1 UFS partition + 1
 swap + boot sectors) for some hardware that I am reselling and
 would like to clone one existing HDD (tailor made) and be able to
 dump to another new HDD.
 
 System is running pfSense with FreeBSD 7.2 and soon 8.x
 
 What would be your suggested method to achieve this goal.
 
 *IF* the disks are the same size/geometry, then simply dd(1) from one raw
 device to the other.
 
 
 ___
 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


––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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 IPSec stack contains backdoors?

2010-12-15 Thread bsd
This is not so clear ! 

http://www.itworld.com/open-source/130820/openbsdfbi-allegations-denied-named-participant

We should ask competent persons like Colin Percival… the FreeBSD Security 
Officer since 2005. 
He would have a point of view much more precise than anyone of us could have. 

;-) 


Le 15 déc. 2010 à 15:23, Victor Lyapunov a écrit :

 Hi folks,
 Recently OpenBSD developer Gregory Perry disclosed information about
 possible backdoors in OpenBSD IPSec stack (see
 http://permalink.gmane.org/gmane.os.openbsd.tech/22557) In particular,
 Gregory Perry, who has been working on a OpenBSD -ish implementation
 of IPSec says a number of backdoors have been introduced into the
 code.
 
 As far as I am aware, FreeBSD contains considerable amount of code
 ported from OpenBSD. The question is: was the FreeBSD's ipsec code
 ported from OpenBSD's implementation? If so, what might be the impact
 of this?
 
 Thanks,
 Victor Lyapunov.
 ___
 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


––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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: Creating clone of a HDD including boot partition

2010-12-15 Thread bsd
Just to be precise, I am not trying to do an ISO image of a running root FS, 
but of a USB attached disk.  

… 

Le 15 déc. 2010 à 16:45, Giorgos Keramidas a écrit :

 On Wed, 15 Dec 2010 16:11:45 +0100, bsd b...@todoo.biz wrote:
 Is there a way to dd to a file to create an iso image and then restore
 (still using dd from this image).  I only have one IDE -- USB cable
 so this is the reason why It'd more simple for me to create an iso
 image of the disk and then restore.
 
 Using dump won't be very useful because I won't be able to get the
 first 63 segments where boot info are written, I need something of
 lower level (obviously dd will be my friend).
 
 Thanks everyone. I'll try to post the line code once I got It up and
 running.
 
 No dd(1) cannot do that.
 
 What you _can_ do is boot into single-user mode, and then use mkisofs
 with burncd or growisofs from dvd+rw-tools to burn an image while still
 in single-user mode.  The only user mode process is your root shell at
 that point, so you can be relatively sure there are no major changes
 happening somewhere at the filesystem while you are still dumping it to
 a CD-ROM or DVD-ROM disk.
 
 


––
- Grégory Bernard Director -
--- www.osnet.eu ---
-- Your provider of OpenSource appliances --
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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


Benchmark tool

2010-09-04 Thread bsd
Hi, 

I am looking for a tool (or a configuration setup) that will allow me to 
benchmark (performance test) couple of firewall based on pfSense, and eventualy 
to compare them with other software / hard solution. 

Any idea, clue, link will be highly appreciated. 


Thanks 


Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz




___
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


Applying a patch to a port

2010-09-03 Thread bsd
Hello, 

I have a patch for clamav that was submited by a developer of clamav. 
I don't know how to apply It to the source code of the port. 

What I would like to do: 

1. Get the source code 
2. cd to the source directory 
3. Apply the patch 
4. Recompile 
5. Test 

If this is ok, then as an option: 

6. validate changes  updates 
7. submit patch to the FBSD port


Thanks for your support. 



Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz




___
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


Sticky bit Change ??

2010-07-16 Thread bsd info
Hello all,

 

Thank you for your response in advance.

 

I am running i386 FreeBSD 7.2 p4 on an HP DL380 G2.  I upgraded from 6.1 p23
in March but the machine was built last fall.  I am not at liberty to
upgrade the machine due to its purpose.  However I agree it is time.  I had
been using sticky bits set on directories to allow groups of users to upload
files but making sure only the file or directory owner could modify the
file.  The directory owner would retrieve the file and delete it.  It seems
that my later release no longer allows the directory owner to manipulate
(delete) the files.  This functioned in the earlier release.

 

The documentation sees to be at odds.  The current Freebsd Handbook claims
that only the file owner is allowed to manipulate a file loaded in the
directory where the sticky bit is set.  However, in the man pages, sticky(8)
claims that root, the directory owner, and the file owner are allowed to
manipulate (write/delete) the file.

 

It appears that I have found a bug in documentation or code.  Can you tell
me where the issue is, code or documentation?If this is a conscious
change by the project, can you suggest an alternate method to achieve the
functionality?

 

I apologize if I missed documentation that describes this as a change.

 

Thank you,

 

Ray

___
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


Global backup solution for FBSD Ubuntu

2010-07-04 Thread bsd
Hello, 

I am trying to build a global backup solution for couple of strategic servers 
(7) based on two operating systems : 

- FreeBSD (6 - 7 // soon 7 - 8)
- Ubuntu 8.04 LTS

These servers are hosting some strategic components mainly related to DNS 
infrastructure and databases. 


For the moment I am backing up these server using network based backup 
solution: 

- A duplicity based solution which backs up key directories in my 
infrastructure on a remote FTP server provided by my hosting company. 
- A dump of some key components which I am doing on regular basis for FreeBSD 
servers. 
- Duplicity is also used for the Ubuntu servers. 
- Databases are replicated live on a remote server using slony for the most 
strategic ones (Postgres DB) and using mysql dump export for MySQL.


• I am not a 100% sure these solutions will allow me to restart rapidly from a 
crash, specially for Ubuntu servers. 
• I would like to know which solution(s) you have deployed at what cost for 
what results ? 

I am actually considering couple of different solutions 

- SAIT solution and backula. 
- Disk based solution (maybe also with backula). 
… 


I have couple of servers that will reach their end of life that could be 
recycled as backup solution at a very convenient price… 


Thanks for you help. 


Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz




___
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 update from 7.2p8 to 7.3-RELEASE

2010-07-01 Thread bsd
Hello, 

I wanted to know if I could safely update one of my production server from 
7.2p8 to 7.3-RELEASE without having to recompile all userland apps installed… ? 

I am using portmaster and have a couple of hundred ports installed… 


Thanks for your advise 




Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz




___
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


Problem with system install with Toshiba MK2565GSX SATA disk

2010-06-24 Thread bsd
Hello, 

I am trying to install a toshiba HD on an appliance, the Toshiba is a MK2565GSX 
of 250GB described 
here:http://www3.toshiba.co.jp/storage/english/spec/hdd25/65.htm#spec02

The system I am trying to install is pfSense (FBSD 7.2). 

I am not a 100% sure about the disk geometry… as It is not quite clear. 

What is sure is that disk has 488 397 168 sectors… 

Normally It should have 484 521 cylinder 16 heads and 63 sectors, but I am not 
certain this setting is ok… 
If I have a look at the BIOS setting after install, It tells me that disk has 
65535 cylinder, 16 head, 255 sector which is not quite the same as the above… 

If I use a simple install I generally end up with an error on my HD after 
boot, once he tries to mount the disk… 
Kernel is loaded ok, up until he reaches the disk da0 then there is an error: 

ad1: FAILURE - READ_DMA48 status=51READY,DSC,ERROR error=10NID_NOT_FOUND 
LBA=18446744073709551553
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/ad1s1a
Trying to mount root from ufs:/dev/ad1s1a 
Trying to mount root from ufs:/dev/ad1s1a
Trying to mount root from ufs:/dev/ad1s1a
Trying to mount root from ufs:/dev/ad1s1a
Trying to mount root from ufs:/dev/ad1s1a
[…]

Then I do not have access to the device using manual system mounting… 

What would be your advise?  
Any idea what is precisely going wrong? 


Thank you very much. 

G.B.



Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz




___
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 system install with Toshiba MK2565GSX SATA disk

2010-06-24 Thread bsd
Looks like the problem was related to BIOS setting. 

I have changed the setting of disk detection from AUTO to LBA and this has 
allowed me to boot on the disk.

One more question: 

With the disk I am using FBSD seems to have two possibility for the partition 
table size (or at least depending on different boot, It is offering me 
sometimes the 1st option and other time the second one): 

1. 30401 cylinders | 255 heads | 63 sectors 
2. 484521 cylinders | 16 heads | 63 sectors

Global dis size is 250GB (LBA 488397168)



Le 24 juin 2010 à 20:37, bsd a écrit :

 Hello, 
 
 I am trying to install a toshiba HD on an appliance, the Toshiba is a 
 MK2565GSX of 250GB described 
 here:http://www3.toshiba.co.jp/storage/english/spec/hdd25/65.htm#spec02
 
 The system I am trying to install is pfSense (FBSD 7.2). 
 
 I am not a 100% sure about the disk geometry… as It is not quite clear. 
 
 What is sure is that disk has 488 397 168 sectors… 
 
 Normally It should have 484 521 cylinder 16 heads and 63 sectors, but I am 
 not certain this setting is ok… 
 If I have a look at the BIOS setting after install, It tells me that disk has 
 65535 cylinder, 16 head, 255 sector which is not quite the same as the above… 
 
 If I use a simple install I generally end up with an error on my HD after 
 boot, once he tries to mount the disk… 
 Kernel is loaded ok, up until he reaches the disk da0 then there is an error: 
 
 ad1: FAILURE - READ_DMA48 status=51READY,DSC,ERROR error=10NID_NOT_FOUND 
 LBA=18446744073709551553
 SMP: AP CPU #1 Launched!
 Trying to mount root from ufs:/dev/ad1s1a
 Trying to mount root from ufs:/dev/ad1s1a 
 Trying to mount root from ufs:/dev/ad1s1a
 Trying to mount root from ufs:/dev/ad1s1a
 Trying to mount root from ufs:/dev/ad1s1a
 Trying to mount root from ufs:/dev/ad1s1a
 […]
 
 Then I do not have access to the device using manual system mounting… 
 
 What would be your advise?  
 Any idea what is precisely going wrong? 
 
 
 Thank you very much. 
 
 G.B.
 
 
 
 Gregober --- PGP ID -- 0x1BA3C2FD
 bsd @at@ todoo.biz
 
 
 
 
 ___
 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


Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz




___
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: iphone, freebsd, vpn

2010-02-14 Thread bsd
A good idea would be to use pfsense 
It is an excellent firewall based on FreeBSD, freely available here 
http://www.pfsense.org/ 

Then you can choose whatever you want as a VPN solution… You would have an 
optimized kernel (for firewalling) a simple interface to do all related 
install. 
A dedicated community with lots of network guru… 

I would tend to use IPSec rather that L2TP or PPTP because It is more secure. 
A good solution would also be OpenVPN (but surely not for the Iphone). 


You would also find some pointers to configuration guide. 

Good luck. 

Le 7 févr. 2010 à 12:31, Dánielisz László a écrit :

 Hi, 
 
 I'm looking forward how to connect from my iphone to my FreeBSD server using 
 VPN, do you have any suggestions?
 Should I use, L2TP, PPTP or IPSec? Do you have any experience with it?
 
 Some details: my iphone always gets a new ip address from my GSM provider 
 when I connect to the internet, my FreeBSD server connects to the internet 
 using PPPoE connection with static IP and I want to reach it through the 
 internet.
 
 Thank you!
 László
 


Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing this 
e-mail


___
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


[URGENT] Problem with OpenSSL openssl-0.9.8l_3

2010-01-21 Thread bsd
I have a serious problem after an upgrade of openssl ! 

/libexec/ld-elf.so.1: Shared object libcrypto.so.5 not found, required by 
sshd





Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing this 
e-mail


___
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: [URGENT] Problem with OpenSSL openssl-0.9.8l_3

2010-01-21 Thread bsd
I have downgraded to openssl-0.9.8l_1 and It has solved my problem… 

openssl-0.9.8l_3 is obviously boggus ! 



Le 21 janv. 2010 à 09:50, bsd a écrit :

 I have a serious problem after an upgrade of openssl ! 
 
 /libexec/ld-elf.so.1: Shared object libcrypto.so.5 not found, required by 
 sshd
 
 
 
 
 
 Gregober --- PGP ID -- 0x1BA3C2FD
 bsd @at@ todoo.biz
 
 
 P Please consider your environmental responsibility before printing this 
 e-mail
 
 
 ___
 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


Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing this 
e-mail


___
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-installing a port to a specific version

2010-01-05 Thread bsd
Hello, 

I am re-installing a server where I have an old version of slony installed (db 
replication for postgresql)… 
I am keeping my port tree up to date with portmaster (I have added an +IGNOREME 
file in order to avoid updates on this specific port). 
I have to change server, a new server has been installed with a fresh BSD 
install. 

I want to know how i can copy, or re-install this specific port… 
I have in my possession : 

1. the distfiles located on the running server in /usr/ports/distfiles/slony.xx
2. a newer version of the Makefile (couple of version ahead)… 


Any idea or clue on how to reinstall this port to this specific version. 

Thx. 



P.S. I know there is a solution that consist to sync the port tree to the 
specific date (of version xxx of slony) and then compile, but this is quite 
heavy manipulation… If I could avoid that, It'd be great; 



Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing this 
e-mail


___
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


Restoreing Dump on FreeBSD headless server

2010-01-04 Thread bsd
Hello folks, 


I would like to know how to proceed in order to restore a dump from a backup 
headless server (remotely using ssh). 

How am I supposed to proceed, should I first install the server (a FreeBSD 
Fresh install with spare partition) then restore the dump on an empty partition 
?  

Should the new empty partition be the exact same size as the dumped partition ? 

Is there a tool that could allow me to restore remotely ? 


Any advice or howto will be (very) welcome. 


Thanks. 


P.S. Happy new BSD year !! 



Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing this 
e-mail


___
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: Restoreing Dump on FreeBSD headless server

2010-01-04 Thread bsd

Le 4 janv. 2010 à 19:56, Jerry McAllister a écrit :

 On Mon, Jan 04, 2010 at 07:08:51PM +0100, bsd wrote:
 
 Hello folks, 
 
 
 I would like to know how to proceed in order to restore a dump from a 
 backup headless server (remotely using ssh). 
 
 How am I supposed to proceed, should I first install the server (a FreeBSD 
 Fresh install with spare partition) then restore the dump on an empty 
 partition ?  
 
 Depends on what you have and what you want to restore.
 Is the reason for the restore because the old disk went belly up?
 Or did you just nuke some stuff accidently.   Is the restore the
 boot disk or an extra work disk?   

Well, to tell you the truth: I am using a remote backup solution since 2.5 
years and the provider has just told me that he would no longer support my 
hardware
so I need to rebuild a new server based on my previous config


 
 In the first case, yes you will need to create something on the disk - 
 some sort of filesystem.   Probably that would mean using a fixit
 image to boot and do an fdisk(8), bsdlabel(8) and newfs(8).   

Ok, I think the server I will install that on might use some sort of virtual 
KVM that could allow me to do that


 
 It the second case, the filesystem[s] is[are] still intact and you
 only need to do an 'interactive' restore of just the files you want.
 IF you are doing an intereactive restore and if you have room, it may 
 be easiest to copy the whole dump file over to some big space on the 
 system and run the restore from that copy.  Then you can just ssh in 
 and run it just as if it was setting beside you.
 
 The same might not be true if you are replacing a destroyed disk 
 because the restore will be a complete one and no file selecting
 will be necessary.
 
 If you cannot get physical contact with the machine, and the disk was
 damaged and replaced, you may have to learn how to do a network boot 
 and install.   I have never had to do that so am not a good one to guide 
 that process.   

Well my idea was to rebuild the new server based on the dump I have realised 
(in order to save me the time to do the reinstall). 
But from what you are telling me It might not be so easy


 
 In either case of having to create slices, partitions and filesystems,
 you do not have to do a complete system install.  You need to do just
 enough building to have the filesystems created and mountable.

Yes but how should I partition that ? 

Should I re-create the 

/
/var
/usr
/tmp

or 

/ with minimal system


and re-create the mapping with nothing on slice. 


 The fixit
 is just fine for that.   If you can get that going remotely, then
 do the fdisk, bsdlabel and newfs-s from that and then restore from 
 the dump to the new filesystems.  

Ok, that should be the good path



 Forget about doing a real install.
 
 
 Should the new empty partition be the exact same size as the dumped 
 partition ? 
 
 It just has to be large enough to hold what you restore.
 In fact, it is a good time to increase or adjust filesystem sizes if
 you have more room on the replacement disk.

Good


 
 
 Is there a tool that could allow me to restore remotely ? 
 
 
 You can use rsh(1).   I have done that.
 Probably some specific ssh method too, but I am so old I haven't
 done one with that new fangled secure ssh yet...

Ok. 


Thanks. 

 
 jerry
 
 
 
 Any advice or howto will be (very) welcome. 
 
 
 Thanks. 
 
 
 P.S. Happy new BSD year !! 
 
 
 
 Gregober --- PGP ID -- 0x1BA3C2FD
 bsd @at@ todoo.biz
 
 
 P Please consider your environmental responsibility before printing this 
 e-mail
 
 
 ___
 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
 


Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing this 
e-mail


___
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: Restoreing Dump on FreeBSD headless server

2010-01-04 Thread bsd

Le 4 janv. 2010 à 22:36, Jerry McAllister a écrit :

 On Mon, Jan 04, 2010 at 08:42:33PM +0100, bsd wrote:
 
 
 Le 4 janv. 2010 à 19:56, Jerry McAllister a écrit :
 
 On Mon, Jan 04, 2010 at 07:08:51PM +0100, bsd wrote:
 
 Hello folks, 
 
 
 I would like to know how to proceed in order to restore a dump from a 
 backup headless server (remotely using ssh). 
 
 How am I supposed to proceed, should I first install the server (a FreeBSD 
 Fresh install with spare partition) then restore the dump on an empty 
 partition ?  
 
 Depends on what you have and what you want to restore.
 Is the reason for the restore because the old disk went belly up?
 Or did you just nuke some stuff accidently.   Is the restore the
 boot disk or an extra work disk?   
 
 Well, to tell you the truth: I am using a remote backup solution since 2.5 
 years and the provider has just told me that he would no longer support 
 my hardware so I need to rebuild a new server based on my previous config
 
 I am not clear on what you mean by a 'remote backup solution' - do you
 mean that you are using dump(8) but writing to some remote device or
 do you mean you are using some '3rd party' backup software/hardware
 that your provider/hoster is supplying?

I am using dump(8). 
I have successfully created a backup of all major partition of my server which 
is now secured on a remote HD. 

 
 
 In the first case, yes you will need to create something on the disk - 
 some sort of filesystem.   Probably that would mean using a fixit
 image to boot and do an fdisk(8), bsdlabel(8) and newfs(8).   
 
 
 Ok, I think the server I will install that on might use some sort of 
 virtual KVM that could allow me to do that
 
 Well, that could be helpful.   It should give you a console type access
 which is convenient in installation situations.   Does that 'KVM' 
 supply the backup device too, or talk to it directly?

I haven't tried It so I don't know what functionnality It offers… 
But I guess I might start a fresh install from that console… 

At which point should I do the restore(8) in the install process ? 

 
 
 It the second case, the filesystem[s] is[are] still intact and you
 only need to do an 'interactive' restore of just the files you want.
 IF you are doing an intereactive restore and if you have room, it may 
 be easiest to copy the whole dump file over to some big space on the 
 system and run the restore from that copy.  Then you can just ssh in 
 and run it just as if it was setting beside you.
 
 The same might not be true if you are replacing a destroyed disk 
 because the restore will be a complete one and no file selecting
 will be necessary.
 
 If you cannot get physical contact with the machine, and the disk was
 damaged and replaced, you may have to learn how to do a network boot 
 and install.   I have never had to do that so am not a good one to guide 
 that process.   
 
 
 Well my idea was to rebuild the new server based on the dump I have 
 realised (in order to save me the time to do the reinstall). 
 But from what you are telling me It might not be so easy
 
 I am not clear again just what you are meaning by 'based on the dump
 I have realised'.   Do you mean that  you would keep the filesystem
 structure you have already?   IS there a dump file/tape for each
 filesystem in the old system?   

Dump is stored on a remote HD. 
There is one dump file per partition (not for /tmp). 

 
 If that is what you mean, good.   There is no harm in keeping the
 old filesystem structure if it was working for you.   Take a look
 at how much is used in each filesystem and think if you need to
 change the size.  But, that is just a detail of sizing the partitions
 and not a critical structure consideration.   If the new system has
 larger disk, then you can make use of it just by making bigger 
 partitions where they are needed.

Ok. 

 
 
 
 In either case of having to create slices, partitions and filesystems,
 you do not have to do a complete system install.  You need to do just
 enough building to have the filesystems created and mountable.
 
 Yes but how should I partition that ? 
 
 Should I re-create the 
 
 /
 /var
 /usr
 /tmp
 
 or 
 
 / with minimal system
 
 and re-create the mapping with nothing on slice. 
 
 Create what you want it to be and go from there unless the old and
 the new structure are incompatible in some way.   My usual set of
 partitions/filesystems are:
 
  /
  swap
  /tmp
  /usr
  /var
  /home   or other convenient name such as /bighome
  /work   if there is a lot of extra space on the new disk and
  you don't want it clumped in with the rest for some reason.
  I usually put all the rest in that /bighome  filesystem.
  If I have an extra disk with lots of space, I make that /work
 
 
 But, if your structure is working for you, stick with it.
 
 
 
 The fixit
 is just fine for that.   If you can get that going remotely, then
 do the fdisk, bsdlabel and newfs-s from that and then restore from

Re: incremental FTP backup program

2009-12-18 Thread bsd
Thanks Manfred ! 

This program really rocks. 
Backup up are fast and efficient… Learning curve is not so steep, seems very 
good to me. 

Encrypts backup with GPG; looks perfect. 


Thx everyone for your answers. 

Le 18 déc. 2009 à 10:16, Manfred Usselmann a écrit :

 On Thu, 17 Dec 2009 17:29:54 +0100
 bsd b...@todoo.biz wrote:
 
 Hello, 
 
 I have been provided with a 1To backup space by my hosting company…
 unfortunately It is only accessible by FTP which does not allow me to
 do the regular backup / restore I use to do using RSYNC. 
 
 
 What are the options I have in order to do the backup / restore of
 the files knowing that : 
 
 1. I would like to have a time based backup solution (incremental
 with sub-folder for daily backup so I can restore files from xxx days
 ago). 
 
 2. I need to use ftp as a transport
 
 3. Some of my servers have limited space so doing a local sync then
 FTP will not be possible. 
 
 4. If possible I would like a bullet proof solution ideally well
 known | tested and available from the port tree. 
 
 
 In fact what I would be looking for is something like rsnapshot but
 with FTP transport / compatibility. 
 
 Have a look at duplicity (http://duplicity.nongnu.org/). It can use ftp
 as transport and uses the rsync algorithm so only the changed parts of
 files are sent to the archive when doing an incremental backup.
 
 Manfred
 
 
 
 ___
 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


Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing this 
e-mail


___
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


incremental FTP backup program

2009-12-17 Thread bsd
Hello, 

I have been provided with a 1To backup space by my hosting company… 
unfortunately It is only accessible by FTP which does not allow me to do the 
regular backup / restore I use to do using RSYNC. 


What are the options I have in order to do the backup / restore of the files 
knowing that : 

1. I would like to have a time based backup solution (incremental with 
sub-folder for daily backup so I can restore files from xxx days ago). 

2. I need to use ftp as a transport

3. Some of my servers have limited space so doing a local sync then FTP will 
not be possible. 

4. If possible I would like a bullet proof solution ideally well known | 
tested and available from the port tree. 


In fact what I would be looking for is something like rsnapshot but with FTP 
transport / compatibility. 


 

Thanks for your answer(s). 



Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing this 
e-mail


___
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: incremental FTP backup program

2009-12-17 Thread bsd
Are there any specific scripting tools that I could use in order to achieve 
that ? 

From what you are describing a tool that would automate the dump process and 
take care of snapshots versions would be a must… ?? 


Any idea ? 


Le 17 déc. 2009 à 18:12, Roland Smith a écrit :

 On Thu, Dec 17, 2009 at 05:29:54PM +0100, bsd wrote:
 Hello, 
 
 I have been provided with a 1To backup space by my hosting company…
 unfortunately It is only accessible by FTP which does not allow me to do the
 regular backup / restore I use to do using RSYNC.
 
 
 What are the options I have in order to do the backup / restore of the files
 knowing that :
 
 1. I would like to have a time based backup solution (incremental with
 sub-folder for daily backup so I can restore files from xxx days ago).
 
 2. I need to use ftp as a transport
 
 3. Some of my servers have limited space so doing a local sync then FTP will
 not be possible.
 
 4. If possible I would like a bullet proof solution ideally well known |
 tested and available from the port tree.
 
 There are several avenues available even with the tools in the base system.
 
 One of those is to use dump(8), assuming you are using UFS filesystems, of
 course. Make regular dumps (of different levels), compress them using
 bzip2(1), encrypt the compressed dumpfiles using openssl(1) (do _not_ use
 crypt(1)!) and use ftp(1) to transfer them to the hosting company.
 
 Another way is to use mtree(8). You can use this to generate a file 
 containing the
 state of a filesystem hierarchy. Running it against a previously saved
 specification can yield a list of files that have changed. Use tar and bzip2
 to create an archive of the files that have changed. Encrypt and send same as
 above. 
 
 All these programs come with the base system, you would just need to script
 them.
 
 Roland
 -- 
 R.F.Smith   http://www.xs4all.nl/~rsmith/
 [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
 pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing this 
e-mail


___
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


Swap and memory optimization

2009-10-01 Thread bsd

Hello,

I have a FBSD 6.4p7 box that I use as a mail server - 1Go RAM - RAID1
Works quite well.

As I plan to put 100 more mail accounts soon on the server I was  
wondering if the memory  swap was ok on the server considering these  
figures:



last pid: 18956;  load averages:  0.04,  0.11,   
0.05 
   up 
 19+08:36:23  09:53:38

125 processes: 1 running, 124 sleeping
CPU:  0.0% user,  0.0% nice,  1.5% system,  0.4% interrupt, 98.1% idle
Mem: 499M Active, 70M Inact, 362M Wired, 41M Cache, 111M Buf, 20M Free
Swap: 2000M Total, 160M Used, 1840M Free, 8% Inuse


Though It looks good to me - the server swaps a bit (between 8 to 14%)  
and there is not much memory left.



Let me know what you think about these figures.



Thanks.



Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



___
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


sudo script not executing

2009-09-11 Thread bsd

Hello,

I have an sh script that is called by the www process which has a  
shell that defaults to /sbin/nologin


I have configured the sudoers file with these settings:

www ALL=(www) NOPASSWD: /usr/local/bin/postfixadmin-domain- 
postdeletion.sh



And It does not seem to be able to execute…


Sorry, user www is not allowed to execute '/usr/local/bin/ 
postfixadmin-mailbox-postdeletion.sh y...@test.com test.com' as www on newmail.rmm.fr 
.





The file I am trying to delete is also owned by a non privileged  
user… ??



Any clue





Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



___
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: pgpsendmail instructions

2009-08-02 Thread bsd schaft
Glenn,

My mailer.conf contains:

/etc/mail cat mailer.conf
# $FreeBSD: src/etc/mail/mailer.conf,v 1.3.34.1 2009/04/15 03:14:26 kensmith
Exp $
#
# Execute the real sendmail program, named /usr/libexec/sendmail/sendmail
#
sendmail/usr/libexec/sendmail/sendmail
send-mail   /usr/libexec/sendmail/sendmail
mailq   /usr/libexec/sendmail/sendmail
newaliases  /usr/libexec/sendmail/sendmail
hoststat/usr/libexec/sendmail/sendmail
purgestat   /usr/libexec/sendmail/sendmail

regarding the symbolic link:

/etc/mail ls -l /usr/sbin/sen*
lrwxr-xr-x  1 root  wheel 21 May 31 10:28 /usr/sbin/sendmail -
/usr/sbin/mailwrapper

It was the /usr/sbin/sendmail, sorry about that!

So lets say , we replace the /usr/libexec/sendmail/sendmail with the
pgpsendmail object from /usr/local/lib.

/etc/mail cd /usr/libexec/sendmail/
/usr/libexec/sendmail ls -l
total 704
-r-xr-sr-x  1 root  smmsp  665512 May 31 10:28 sendmail
-r-xr-sr-x  1 root  smmsp   30944 Jul 23 19:17 sendmail.pgp
/usr/libexec/sendmail mv sendmail sendmail.real
/usr/libexec/sendmail mv sendmail.pgp sendmail

As you can see, exactly the same security and all.
Now check my env , for the PGPPATH variable:

SHELL=/usr/local/bin/bash
TERM=xterm
OLDPWD=/etc/mail
USER=root
PAGER=more
FTP_PASSIVE_MODE=YES
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin
:/root/bin
MAIL=/var/mail/root
BLOCKSIZE=K
PWD=/usr/libexec/sendmail
PS1=$PWD 
SHLVL=1
HOME=/root
_=/usr/bin/env

Not there, so i can restart the process...

/etc/rc.d ./sendmail restart
Stopping sendmail.
Starting sendmail.
SENDMAIL refers back to PGPsendmail!
Someone didn't read the installation notes...

I checked the pkg-message file:

/usr/ports/mail/pgpsendmail ls -l
total 10
-rw-r--r--  1 root  wheel  640 Oct 16  2005 Makefile
-rw-r--r--  1 root  wheel  204 Nov 25  2005 distinfo
drwxr-xr-x  2 root  wheel  512 May 31 17:07 files
-rw-r--r--  1 root  wheel  456 Apr 17  1995 pkg-descr
-rw-r--r--  1 root  wheel   58 Aug 17  1998 pkg-plist

But is is not there...
What can i do next, add/replace a line in mailer.conf:

sendmail/usr/local/lib/pgpsendmail

Again, after a restart, i receive the same error...

,Danny




- Original Message - 
From: Glen Barber glen.j.bar...@gmail.com
To: Familie van der Schaft fam.vandersch...@kpnplanet.nl
Cc: freebsd-questions@freebsd.org
Sent: Sunday, August 02, 2009 1:08 PM
Subject: Re: pgpsendmail instructions


On Sun, Aug 2, 2009 at 6:48 AM, Familie van der
Schaftfam.vandersch...@kpnplanet.nl wrote:
 LS,

 I am trying to get pgpsenmail working but i can't figure out what to do.
 For example which instance of sendmail can/must be replaced:

 /usr/libexec/sendmail (which is symbolic link)

What do you have this linked to?
/usr/libexec/sendmail - /usr/libexec/sendmail/sendmail ?

 /usr/sbin/sendmail

 in both cases, i get the following message:

 /etc/rc.d ./sendmail restart
 sendmail not running? (check /var/run/sendmail.pid).
 Starting sendmail.
 SENDMAIL refers back to PGPsendmail!
 Someone didn't read the installation notes...

Sometimes the problem is explained in the errors...
Other times, pkg-message would be helpful in a port.

%ls -1 /usr/ports/mail/pgpsendmail/
Makefile
distinfo
files
pkg-descr
pkg-plist

 /etc/rc.d sendmail forcestart
 SENDMAIL refers back to PGPsendmail!
 Someone didn't read the installation notes...

 But where can i find these instructions (notes).
 The man-page (pgpsendmail(8)) does not give any extra info.
 Can anybody help me?


Have a look at mailer.conf(5)

-- 
Glen Barber







No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.392 / Virus Database: 270.13.40/2276 - Release Date: 08/01/09
18: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: UK Currency Symbol in 7.2 Console - A Question actually about FreeBSD

2009-05-29 Thread bsd

Hi,

I use a Macintosh as client host, but this could be any computer as  
long as you have a working keyboard configured.



My shell is bash (latest port version).

In my .bashrc I have included the following:

# Display quoted characters
stty cs8 -istrip -parenb
bind 'set convert-meta off'
bind 'set meta-flag on'
bind 'set output-meta on'


Furthermore I have configured emacs (my favorite editor) to also  
handle UTF8 character and encoding


In my .emacs:

(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(prefer-coding-system 'utf-8)



This allows me to have all my characters encoded in UTF-8.


One more interesting thing is the prompt (more fancy than really  
usefull):


In .bashrc:

case $TERM in
xterm*|rxvt*)
PS1=\[\033[01;33;33m\]\h \w -- \[\033[00m\]
PS2='\u:\w '
;;
screen)
#PS1='\e[1;31...@\h:\e[1;37m\w\e[1;31m\$\e[0;37m '
PS1=\[\033[01;36;36m\]\h \t \w screen $ \[\033[00m\]
;;
*)
PS1='\h:\w\$ '
;;
esac


And the history search, still in .bashrc:

bind '\e[A':history-search-backward
bind '\e[B':history-search-forward







Le 29 mai 09 à 08:54, Graham Bentley a écrit :


Hello All,

Im still struggling with this one and have tried all I could find
by Googling lists and forums. @ and  keys are fine as are
every other key apart from £ symbol. Can anyone suggest
ways to track this down. At 'Login:' I can actually get £ but
after loging I get a beep? I have tried various fonts and maps
to no avail.

Any suggestions / pointers, even an RT[URL]FM or useful
flame appreciated.

Thanks!



Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



___
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


/dev/sa0 no longer recognized after 7.2 update

2009-05-18 Thread bsd
 is ufsid/49144f76156ad96a.
GEOM_LABEL: Label ufsid/49144f763236b77b removed.
GEOM_LABEL: Label for provider aacd0s1g is ufsid/49144f763236b77b.
GEOM_LABEL: Label ufsid/49144f7fa22f4f43 removed.
GEOM_LABEL: Label for provider aacd0s1d is ufsid/49144f7fa22f4f43.
GEOM_LABEL: Label ufsid/49144f7f3b01ea1a removed.
GEOM_LABEL: Label for provider aacd0s1e is ufsid/49144f7f3b01ea1a.
GEOM_LABEL: Label ufsid/49144f80de269f7c removed.
GEOM_LABEL: Label for provider aacd0s1f is ufsid/49144f80de269f7c.
GEOM_LABEL: Label ufsid/49144f76156ad96a removed.
GEOM_LABEL: Label ufsid/49144f763236b77b removed.
GEOM_LABEL: Label ufsid/49144f7fa22f4f43 removed.
GEOM_LABEL: Label ufsid/49144f7f3b01ea1a removed.
GEOM_LABEL: Label ufsid/49144f80de269f7c removed.
em0: link state changed to UP

??



Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



___
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


Proxy to filter peer to peer connexion on port 80

2009-04-01 Thread bsd

Hello folks,


I am looking for a good and simple proxy that will allow me to filter  
peer to peer on my FBSD box - knowing that I have a firewall that  
already does the job of filtering outside connexions, but people are  
still using port 80 to download using P2P software.


As we have a very limited bandwidth - 512Kbps - and as the resources  
are very expensive - 5K$ / month - yes this is possible  It is  
actually in Angola !


So considering these figures I would like to install a proxy to filter  
all port 80 requests.



As I haven't been worknig with proxy since many years, I would like to  
follow good advice.

The last memories I had regarding proxy was using Squid //

I don't know if this is a good choice ??


Any pointer or how to will be welcome.



Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



___
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


Login local2 to a log file

2009-03-06 Thread bsd

Hello,

How can I log messages sent to local2 to a given log file ?
Which file do I have to update in order to achieve that?


Thanks for your support.



Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



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

2009-03-06 Thread bsd

Yes !

There is a very good soft called apcupsd.

I am working in Angola and have had a lot of problems with  
electricity // until I have discovered this soft.
It works perfectly with the apc network card (It came as an option on  
my APC 1500).


I have setup apcupsd to use snmp (this seems to be the most stable use).


I was very surprised because the soft did shutdown the server  
automatically when the UPS went out of battery… and I had not tested  
that (lack of time).

So the soft even went beyond my expectations…


Port:   apcupsd-3.14.5
Path:   /usr/ports/sysutils/apcupsd
Info:   Set of programs for controlling APC UPS
Maint:  ite...@freebsd.org
B-deps:	gettext-0.17_1 gmake-3.81_3 libiconv-1.11_1 net-snmp-5.4.2.1_2  
perl-5.8.9_2

R-deps: net-snmp-5.4.2.1_2 perl-5.8.9_2
WWW:http://www.apcupsd.com



Le 6 mars 09 à 16:04, Pieter Donche a écrit :


The vendor of our new server, tells me that an APC Smart-UPS 2200VA
or APC Smart-UPS 3000VA does not have software for automatic  
shutdown when power is lost, which is compatible with FreeBSD, it is  
only compatible with Windows and Linux.


Is this true? Has someone experience with that?
___
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 




Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



___
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 7.O compiled code is very slow

2009-02-18 Thread Bsd Lord
On Wed, Feb 18, 2009 at 8:44 PM, Kailash Kailash
kailash.kail...@zscaler.com wrote:
 I am using FreeBSD 7.0 in 64 BIT mode. Same code compiled on BSD 7.0 runs
 50% speed (as expected by CPU and code architecture) compared to BSD 6.2.
 Here is one real code with binary output. On 3.0 GHz Woodcrest processor, I
 am able to copy from one cache to another cache at the speed of
 24Gbytes/second verses 12 Gbytes/second. Any help is appreciated.

 Thanks,
 Kailash


Whatever happened to your brilliant team that you assembled in India ?
Heard you started SafeMarch and BlueJune. what happened ?
Looks like still you are fixated with NetScaler and got as far as zScaler. Huh ?
___
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


Power off and network apcupsd

2009-02-04 Thread bsd

Hello,


I would like to know if this is possible to keep the network during a  
shutdown as describe and explained below for a Linux system.


How could we do that?

This will be used in a procedure to shutdown the UPS and the system  
after a Power Failure has been detected. Any experience with that will  
be of high interest to me.


---

You may need to take steps to ensure networking stays active during  
your
OS’s shutdown sequence in order for the PCNET driver to power off  
the
UPS (the so-called ”killpower” operation). On a Linux distro, you  
can use

commands such as...

chkconfig --level 0 network on
chkconfig --level 0 iptables on




¯ 
¯ 
¯ 
¯ 
¯ 
¯ 
¯ 
¯ 
¯ 
¯ 
¯ 
¯ 


Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz
¯ 
¯ 
¯ 
¯ 
¯ 
¯ 
¯ 
¯ 
¯ 
¯ 
¯ 
¯ 



P Please consider your environmental responsibility before printing  
this e-mail



___
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


APC PowerChute on FBSD

2009-01-30 Thread bsd

Hello,

I am trying to see if someone has already configured an APC PowerChute  
software on FreeBSD.


There is a linux version, I was just wondering how to set It up on BSD  
and if anyone has successfully installed such soft…


I have installed a BSD box in Angola in unstable electrical  
conditions, and I am afraid the server will be rebooted the hard way  
quite often (without any warning) if I don't use this kind of soft…




Thanks for your help.



Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



___
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


Backup program on FreeBSD for DLT drive

2009-01-22 Thread bsd

Hello,


I am using a FreeBSD server 7.0 as a Samba server and wanted to backup  
this server using Quantum DLT tape.


I would need a simple tool that could be configured rapidl at that's  
stable enough to provide high security for the data.

Ideally any good pointer to a howto would be a must!


Thanks for your support.



Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



___
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: questions named.conf

2009-01-22 Thread bsd

Well,

I use this:

logging {
channel syslog_errors { syslog daemon; severity info; };
channel file_log {
file /var/log/dns.log versions 3 size 10m;
severity dynamic;
print-category no;
print-severity yes;
print-time yes;
};
category default { file_log; syslog_errors; };
category lame-servers { null; };
};


;;

Maybe you should add a category default statement…



Le 22 janv. 09 à 10:37, GanGan a écrit :


first question :

for have log i add this in my named.conf

logging {
   category resolver { debug; };
   category client { debug; };
   category queries { debug; };
   channel debug {
   file /var/log/named/named.log versions 2 size 50m;
   print-time yes;
   print-category yes;
   };
   };

It's good ? because my named.log is empty



Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



___
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: Backup program on FreeBSD for DLT drive

2009-01-22 Thread bsd
Well I have installed It but I find It quite confusing to configure…  
so I have just stopped;

The problem is that I don't have a lot of time to really get into it…


Did you use any good pointer or just take time to learn It the  
standard way… ??


I found It quite hard to configure to tell the truth!


Le 22 janv. 09 à 20:51, Stephen Corbesero a écrit :


I used to use Amanda on a small FreeBSD RAID server that used a single
DLT drive.  It held up pretty well.




Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



___
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: Backup program on FreeBSD for DLT drive

2009-01-22 Thread bsd

Yes,

This is probably the one I'll go for…
There is a good hack described in the O'Reilly BSD hacks to setup  
Bacula…


I'll consider this article as a starting point…



Thank you very much folks.


Le 23 janv. 09 à 04:21, Geoff Fritz a écrit :


On Thu, Jan 22, 2009 at 08:30:56PM +0100, bsd wrote:

Hello,


I am using a FreeBSD server 7.0 as a Samba server and wanted to  
backup

this server using Quantum DLT tape.

I would need a simple tool that could be configured rapidl at that's
stable enough to provide high security for the data.
Ideally any good pointer to a howto would be a must!


I've had success with Bacula for a small office file server  
(FreeBSD) and
Windows clients clients.  It supports SSL for the data transfer (if  
the
client and server are not the same machine), as well as data  
encryption:


http://www.bacula.org/en/dev-manual/Data_Encryption.html

I haven't used the encryption myself.  Bacula has a bit of a  
learning curve
to set up corretly, but I really enjoy its use once it it set up  
correctly.


-- Geoff



Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



___
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


reinstall all p5 installed ports with portmaster

2009-01-15 Thread bsd

Hello,

I was looking for an efficient way to reinstall (recompile due to an  
update in the perl port) all installed p5 ports…


I have done that manually, but I am certain there is a better way to  
do that…



I have tried:

# portmaster -rdf p5-


But that didn't work as I had to re-install all ports…



Thanks for your help.




Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



___
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: reinstall all p5 installed ports with portmaster [solved]

2009-01-15 Thread bsd


Le 15 janv. 09 à 12:19, Herbert J. Skuhra a écrit :


2009/1/15 bsd b...@todoo.biz:

Hello,

I was looking for an efficient way to reinstall (recompile due to  
an update

in the perl port) all installed p5 ports…


Have you tried perl-after-upgrade? See UPDATING and man page.


No…

That's exactly what I was looking for…
Works perfectly.




I have done that manually, but I am certain there is a better way  
to do

that…


I have tried:

# portmaster -rdf p5-


But that didn't work as I had to re-install all ports…


Have you tried portmaster without -rf ?


Yes, but no success…




- Herbert
___



Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



___
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


7.0-RELEASE-p6 problem amd64 daemonology

2008-11-25 Thread bsd
Hello I have updated my server (Intel Modular server) using the  
classical


# freebsd-update install


And I am now facing very weired issues only on amd64 servers I am  
maintaining.
Servers boots and then freezes when It launch ipfilter. This is not  
a low level freeze, simply all access to the server are disabled.


- Single user boot does not work.
- SSH access does not work either.


These servers were working perfectly before this update…

---

What would you suggest to get out of this situation…

1. Rollback to the 7.0-RELEASE-p5 which was stable and worked well.
-- If so how can I access the server knowing that single user mode  
does not work?
-- Can you describe me the stages I would have to go through - I am  
not very used to this kind of situations.


2. Deactivate ipfilter (is there a way to do that at boot time without  
editing /etc/rc.conf ) ?


3. Deactivate all services at boot time (is there a way of bypassing  
at boot time the rc.conf file) ?



Thanks for your support.



Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



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


Re: 7.0-RELEASE-p6 problem amd64 daemonology

2008-11-25 Thread bsd

Hello,


I think you all deserve a clear information about what has been going  
on today.


After the update of all servers to P-6 - the server could not be  
booted normaly - in fact they did boot but after that they didn't get  
back with the prompt… So I ended up in a dead end.


As I was working last weeks with the engineers that helped me setup  
the hardware (and as Intel didn't have a right guideline specifying  
that TCP ports needed to be opened) - I have ended up mofidying a  
little parameter in /boot/loader.conf that was aimed to redirect the  
console to vidconsole  comconsole.


This little parameter seems to have caused a conflict with the KVM of  
intel which probably uses the same redirect or blocked us from  
receiving the output (even from ssh).



It took me quite a long time to figure out what was going on as I  
suspected other problems to have happened. This has all the symptoms  
of a system freeze, but services were launched (at least some of them)…


I have found the solution by booting using a low level prompt that has  
allowed me to pass the parameter set console=comconsole and all went  
back to normal.




Quite firghtening, but finaly armless.

Le 25 nov. 08 à 16:27, bsd a écrit :

Hello I have updated my server (Intel Modular server) using the  
classical


# freebsd-update install


And I am now facing very weired issues only on amd64 servers I am  
maintaining.
Servers boots and then freezes when It launch ipfilter. This is  
not a low level freeze, simply all access to the server are disabled.


- Single user boot does not work.
- SSH access does not work either.


These servers were working perfectly before this update…

---

What would you suggest to get out of this situation…

1. Rollback to the 7.0-RELEASE-p5 which was stable and worked well.
-- If so how can I access the server knowing that single user mode  
does not work?
-- Can you describe me the stages I would have to go through - I am  
not very used to this kind of situations.


2. Deactivate ipfilter (is there a way to do that at boot time  
without editing /etc/rc.conf ) ?


3. Deactivate all services at boot time (is there a way of bypassing  
at boot time the rc.conf file) ?



Thanks for your support.



Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



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




Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



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


Delay startup of services in rc.conf || elswhere

2008-11-18 Thread bsd

Hello,


I have a server configured to start 10 services at startup (in /etc/ 
rc.conf)


Unfortunately, the startup of MySQL seems to be returning ok before  
It actually has started completely the program… the next program rely  
on MySQL and does not start well because the database is not fully  
started.


I would like to introduce something like a sleep 10 timer in the  
service startup process…



How can I do that?



Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



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


scripting text replacement

2008-11-08 Thread bsd
Sorry for this cross posting, but I can not find a good bash mailing  
list…
I am certain FreeBSD gurus will provide me with a fast and reliable  
answer to this little question.



Here is the deal:
-


I have a file containing a list of items like that:

line1item1 line1item2 line1item3
line2item1 line2item2 line2item3
…400 times

I need to insert this into another text file using printf() items  
should be converted into variable looping… like that:


printf Bla bla bla $1 bla bla $2 bla bla $3 bla bla $2


The main thing is that I can not get $1 $2 $3 to correspond to  
line1item1 line1item2 line1item3



Any good idea or example will be welcome.



Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



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


Moving to freebsd firewall for a small DataCenter network

2008-09-23 Thread bsd

Hello,


I have been using FreeBSD for many years as a server and have based  
most of my hosting services on this fantastic OS.
Since three years I have been using SonicWall firewall as a firewall  
device.


As my hosting services are growing, It seems that the SonicWall device  
is quite light for what I am doing. I have now 10 servers hosted on  
one uniq /28 network with direct connexion to the Net.


I was wondering if there is a good if possible integrated firewall  
device running on FreeBSD.
I have deployed local firewall on each of my servers based on ipf.  
Works great, but I am not sure I want to dig all the time into a file  
based config, little visual interface could ease my pain… (of course  
this is optional).


I would like something quite strong but simple that I could deploy on  
a small 1U server or dedicated device.


Any pointer / howto / feed back on experience will be most welcome.


Something similar to this could be nice: http://www.untangle.com/



Thanks for your support.


Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz

P Please consider your environmental responsibility before printing  
this e-mail



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


Freebsd inspiron mini 9

2008-09-05 Thread bsd

Hi folks,


Does anyone knows if the latest mini Dell computer will be compatible  
with our favorite system?

http://www.cio-today.com/story.xhtml?story_id=61697

From what I can read It is based on:

- a Processeur Intel®  AtomTM  (1,6 GHz, memory cache L2 de 512 Ko,  
FSB de 533 MHz)

- Chipset Intel®  965PM / GM Express


It can be shipped with Ubuntu.
So my simple question is: will It be compatible with FreeBSD 7.x ??


I know the hardware list here: http://www.freebsd.org/releases/7.0R/hardware.html#PROC-I386 
 but no link to either Atom or 965PM could be found…

Is it bad news doctor?




Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



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


amavisd-new needs lib32 on amd64 ?

2008-07-28 Thread bsd

Hello folks,


I am trying to install amavisd-new for filtering purposes on an amd64  
install.


It complains at compile startup not to be able to install it


===  amavisd-new-2.6.1,1 requires 32-bit libraries installed under / 
usr/lib32.

*** Error code 1

Stop in /usr/ports/security/amavisd-new.
*** Error code 1

Stop in /usr/ports/security/amavisd-new.




I don't know how to install such library…

What should I do ?




Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



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


Re: Deinstalling X and all dependencies[SOLVED]

2008-07-28 Thread bsd

I have opted for the:

pkg_delete -a

Which has done a great job cleaning everything.
Only had to make clean in one of the port directory to properly  
recompile all needed apps.


As I had configured root to use /usr/local/bin/bash had to take care  
to change that with vipw before doing the uninstall / reinstall.



Took me half a day for three servers… But at least I have a very clean  
install with 30 ports instead of 250 !!



Thanks everybody for your wise answers.


Le 27 juil. 08 à 15:17, andrew clarke a écrit :


On Sun 2008-07-27 12:52:56 UTC+0200, bsd ([EMAIL PROTECTED]) wrote:

I have just received a new system that's planned to be a large  
scale DNS

server.
I have asked the guy who has setup the hardware not to install X?

This has been useless!!

I am now ending up with 250 apps in the port tree!!


He probably just went with the defaults.


Is there a good way to get rid of all these useless apps without
breaking the system?
What would you suggest?

Like removing X and It's dependencies?


I can also remove all apps in the port tree and recompile only the  
one

needed?

What's best what do you suggest.


FreeBSD provides a base system with software such as a SSH daemon,
Sendmail, BIND, etc.  You can uninstall all the packages on your
system, but the FreeBSD base system will still remain.  This allows
FreeBSD to boot normally without any packages installed.

I recommend you uninstall all packages (with 'pkg_delete -a', or
'pkg_delete -av' if you want to watch all the files being deleted),
then install only what you need from the Ports tree.

Your DNS server should probably not require any packages to be
installed, as DNS server software (BIND) is provided with the FreeBSD
base system.  But that really depends what your requirements are.

Regards
Andrew



Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



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


Re: amavisd-new needs lib32 on amd64 ?

2008-07-28 Thread bsd

Ok,

After digging a little bit more into the code, It seems that It was  
due to rar decompile which is a 32bit ports;


I uncommented the rar options for this port and It went ok.

I would still be interested in a more detailed answer to my own  
question regarding 32/64 bit compatibility.



Sincerly yours.

G.B.


Le 28 juil. 08 à 19:10, bsd a écrit :


Hello folks,


I am trying to install amavisd-new for filtering purposes on an  
amd64 install.


It complains at compile startup not to be able to install it


===  amavisd-new-2.6.1,1 requires 32-bit libraries installed  
under /usr/lib32.

*** Error code 1

Stop in /usr/ports/security/amavisd-new.
*** Error code 1

Stop in /usr/ports/security/amavisd-new.




I don't know how to install such library…

What should I do ?




Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



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




Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



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


Deinstalling X and all dependencies

2008-07-27 Thread bsd

Hello,

I have just received a new system that's planned to be a large scale  
DNS server.

I have asked the guy who has setup the hardware not to install X…

This has been useless!!

I am now ending up with 250 apps in the port tree!!

Is there a good way to get rid of all these useless apps without  
breaking the system…

What would you suggest?

Like removing X and It's dependencies…


I can also remove all apps in the port tree and recompile only the one  
needed…




What's best what do you suggest.




I'd rather do painful jobs now than in 6 months when everything will  
be up and running !!



Thanks.


Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



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


PAE support using freebsd-update procedure

2008-07-01 Thread bsd

Hello folks,


I have just baught brand new servers with an 8Gb memory attached to  
each of these server.
I generaly use the freebsd-update procedure to update and apply  
patches to the system.


Problem is the default kernel provided with freebsd-update does not  
seem to have the PAE support enabled by default.



My question is:
---

--- What will be the best way to upgrade smoothly my system and have  
my PAE support enabled?


--- What procedure would you suggest to do that properly and on  
regular basis (every time a patch is issued).




Thanks for your answer(s).


Sincerly yours.




Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



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


Re: PAE support using freebsd-update procedure

2008-07-01 Thread bsd

Adding some infos to the issue, plus partial answer…

Main answer still needed !!


Le 1 juil. 08 à 18:53, bsd a écrit :


Hello folks,


I have just baught brand new servers with an 8Gb memory attached to  
each of these server.
I generaly use the freebsd-update procedure to update and apply  
patches to the system.


Problem is the default kernel provided with freebsd-update does not  
seem to have the PAE support enabled by default.



My question is:
---

--- What will be the best way to upgrade smoothly my system and  
have my PAE support enabled?


PAE seems to disable kld module used for example if you have a firewal  
such as ipf (and haven't compiled it in the kernel).



--- Wouldn't It be better to run amd64 instead of i386?

I have seen that this will allow to take full capacity of the memory -  
on the other hand there seems to have restriction on the ports

Can anyone let me know if these restrictions will apply to:

- postfix
- postgreSQL
- amavisd-new
- dovecot




--- What procedure would you suggest to do that properly and on  
regular basis (every time a patch is issued).




Thanks for your answer(s).


Sincerly yours.




Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



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




Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail


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


Re: dump and remote file fetching

2008-06-07 Thread bsd

What I do :

Allow ssh access only using key PubkeyAuthentication yes
Allow root access
Create a root ssh Pubkey
Automate the access using any script based on ssh…

If you want to be more restrictive, you can deploy a firewall localy  
on your server and limit ssh access to one or more selected IPs.



Bye //


Le 28 mai 08 à 07:53, Zbigniew Szalbot a écrit :


Hi there,

Need a word of advice. I use dump to backup my data. All fine.  
Dump saves compressed *.bz2 files. Nice. All I need now is a way  
to copy them from the server to a remote backup machine. The  
problem I am facing is that bz2 files are owned by root:wheel. So  
if I use scp [EMAIL PROTECTED]:/path/to/*.bz2, it does not have  
sufficient permissions to fetch the files. I can use sudo, but  
then I need to interactively type the password, which I would like  
to avoid.
Can you suggest simple ways of getting around this? I don't mind  
using special tools for the job, especially if they are not too  
complicated... :)
Before firing this email off I took a look at rsync and it seems  
easy enough to do just what I need but still many thanks for  
suggestions!
I have been very happy with rsnapshot.  Take that for a spin and  
see how it works for you


I have taken a look at rsnapshot but it seems I am left to deal with  
the same problem:


From their page:
In addition to full paths on the local filesystem, you can also  
backup remote systems using rsync over ssh. If you have ssh  
installed and enabled (via the cmd_ssh parameter), you can specify a  
path like:


backup  [EMAIL PROTECTED]:/etc/ example.com/

This behaves fundamentally the same way, but you must take a few  
extra things into account.


a/ The ssh daemon must be running on example.com
b/ You must have access to the account you specify the remote  
machine, in this case the root user on example.com.


I do not allow remote root login so what are my options in that  
case? How do you deal with such a scenario? Many thanks!


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




Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



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


JRE problem after installing linux-sun-jre1.6.0

2008-05-16 Thread bsd

Hello,


I have installed linux-sun-jre1.6.0 and I have an error stating

# java -version
/usr/local/linux-sun-jre1.6.0/bin/java: error while loading shared  
libraries: libjli.so: cannot open shared object file: No such file or  
directory



What do you suggest me to make that work properly - I just need to  
have a little java app working…



Thanks for your support.



Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



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


Re: FreeBSD Server Settings Consult

2008-05-03 Thread Free BSD
 controller port 0xf800-0xf81f irq 21 at device 16.1
on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2: VIA 83C572 USB controller port 0xf700-0xf71f irq 21 at device 16.2
on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2: VIA 83C572 USB controller on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb2
uhub2: 2 ports with 2 removable, self powered
uhci3: VIA 83C572 USB controller port 0xf600-0xf61f irq 21 at device 16.3
on pci0
uhci3: [GIANT-LOCKED]
uhci3: [ITHREAD]
usb3: VIA 83C572 USB controller on uhci3
usb3: USB revision 1.0
uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb3
uhub3: 2 ports with 2 removable, self powered
ehci0: VIA VT6202 USB 2.0 controller mem 0xdfffe000-0xdfffe0ff irq 21 at
device 16.4 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: VIA VT6202 USB 2.0 controller on ehci0
usb4: USB revision 2.0
uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb4
uhub4: 8 ports with 8 removable, self powered
isab0: PCI-ISA bridge at device 17.0 on pci0
isa0: ISA bus on isab0
pci0: multimedia, audio at device 17.5 (no driver attached)
acpi_tz0: Thermal Zone on acpi0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio0: type 16550A
sio0: [FILTER]
sio1: 16550A-compatible COM port port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
sio1: [FILTER]
pmtimer0 on isa0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: Parallel port bus on ppc0
ppbus0: [ITHREAD]
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
ppc0: [GIANT-LOCKED]
ppc0: [ITHREAD]
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
ukbd0: Dell Dell USB Keyboard, class 0/0, rev 1.10/3.01, addr 2 on uhub0
kbd2 at ukbd0
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert enabled, nat loadable, rule-based
forwarding enabled, default to accept, logging limited to 100 packets/entry
by default
ad0: 76319MB Seagate ST380011A 8.01 at ata0-master UDMA100
ad4: 76319MB Seagate ST380811AS 3.AAE at ata2-master SATA150
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/ad4s1a
rl0: link state changed to UP

- Hide quoted text -



On Fri, May 2, 2008 at 7:20 PM, Mel [EMAIL PROTECTED]
wrote:

On Friday 02 May 2008 13:28:44 Free BSD wrote:
 We've been having some problems with our server and I was wondering if
 someone had any advice or suggestions for our current system settings.

Would help to know, at minimum:
- ammount of ram
- ammount of cpu's
- platform (uname -m )
- pciconf -lv|grep ^none
- dmesg output that complains about hardware
- what's different about your kernel with respect to GENERIC

What the problems are:
- from the sysctl variables, I'm guessing you want more network performance
- you mention core dumps, does the kernel crash?

Some background:
- what's the primary purpose of the machine
- why are things like ipc tuned?


 kern.maxfilesperproc=65536

The above will only work with programs that use open(2) exclusively and not
fopen, because fopen is limited to SHRT_MAX, being 32767.


--
Mel

Problem with today's modular software: they start with the modules
   and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   3   4   5   >