Re: PostgreSQL Slony-I Replication

2012-07-02 Thread Jorge Medina
look this 
http://raghavt.blogspot.com/2012/07/simple-slony-i-replication-setup.html

On Sun, Jul 1, 2012 at 6:37 PM, Wojciech Puchar
woj...@wojtek.tensor.gdynia.pl wrote:
 AFAIK postgres is just unix processes nothing special compared to say ..
 linux


 On Sun, 1 Jul 2012, Iqbal Aroussi wrote:

 Hi dear friends,

 I'm trying to setup a master-slave replication with PostgreSQL 9.1 /
 Slony-I, this is first time I'm doing it and I'm kind of lost :(
 Is there any tutorial explaining the steps how to do it with FreeBSD ?

 I'm using FreeBSD db1 9.0-RELEASE / postgresql-server-9.1.4 /
 slony1v2-2.1.1

 Thanks a lot in advance

 Best Regards

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

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



-- 
Jorge Andrés Medina Oliva.
Computer engineer.
IT consultant
http://www.bsdchile.cl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ZFS on Dell with FreeBSD

2011-10-19 Thread Jorge Medina
On Wed, Oct 19, 2011 at 11:14 AM, Albert Shih albert.s...@obspm.fr wrote:
 Hi

 Sorry to cross-posting. I don't knwon which mailing-list I should post this
 message.

 I'll would like to use FreeBSD with ZFS on some Dell server with some
 MD1200 (classique DAS).

 When we buy a MD1200 we need a RAID PERC H800 card on the server so we have
 two options :

        1/ create a LV on the PERC H800 so the server see one volume and put
        the zpool on this unique volume and let the hardware manage the
        raid.

        2/ create 12 LV on the perc H800 (so without raid) and let FreeBSD
        and ZFS manage the raid.

 which one is the best solution ?

 Any advise about the RAM I need on the server (actually one MD1200 so 12x2To 
 disk)

 Regards.

for ZFS approach the second option in my opinion is better.

 JAS
 --
 Albert SHIH
 DIO batiment 15
 Observatoire de Paris
 5 Place Jules Janssen
 92195 Meudon Cedex
 Téléphone : 01 45 07 76 26/06 86 69 95 71
 Heure local/Local time:
 mer 19 oct 2011 16:11:40 CEST
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




-- 
Jorge Andrés Medina Oliva.
Computer engineer.
IT consultant
http://www.bsdchile.cl
___
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: Virtualization with USB on Freebsd 8

2010-06-24 Thread Jorge Medina
On Thu, Jun 24, 2010 at 6:58 AM,  step...@theched.org wrote:
 Good morning/afternoon/evening,

 Do you know of any virtualisation solution that would allow USB devices
 when using Freebsd-8 as host ?

 We do indeed have virtualbox-OSE, but without USB support

 Basically I would use that to fire-up a WinXP session allowing my to sync
 various USB devices that I cannot sync using my Freebsd box (iPod, GPS
 etc.)

you can't access to them from vm :(



-- 
Jorge Andrés Medina Oliva.
___
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: disk controllers - FreeBSD

2010-06-24 Thread Jorge Medina
I have PERC and works fine!

On Thu, Jun 24, 2010 at 2:56 PM, Mariangela Meirelles
mariang...@mundo.com.br wrote:
 Dear FreeBSD Support Dept.,



 I'm buying a Dell PowerEdge R210 server to install FreeBSD. The server may
 have the following disk controllers:



 - PERC H200 (6 Gb/s)



 OR



 - SAS6iR (6 Gb/s)



 I wonder if the disk drive controllers are compatible with FreeBSD?



 Thanks in advance for your attention.



 Atenciosamente / Best Regards,

 Mariangela S Meirelles

 Mundo Provedor

 Fone +55 11 3884-4301

 ___
 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




-- 
Jorge Andrés Medina Oliva.
___
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: kernel build fails - .depend, line 27905: Need an operator

2010-05-25 Thread Jorge Medina
On Tue, May 25, 2010 at 11:00 AM, Peter Cornelius p...@gmx.net wrote:
 Dear list,

 This probably is obvious but I don't seem to be able to figure out where I 
 should look in order to learn why I can't compile the bloomin' kernel, pse 
 see below.

 Every time I update my KERNCONF, I try to remember to keep a copy of GENERIC 
 so I can diff against the updated one. This diff shows no change hence I 
 believe my KERNCONF is in order. Which I did not expect since the running 
 kernel is not that old:

 FreeBSD 8.0-STABLE #17: Thu May  6 10:21:19 UTC 2010

 I also read that config(8) was updated so I finally tried to remake world 
 hoping that that's where it comes from but (well in agreement with my 
 expectations that /usr/src should be self-contained :)) without avail.

 Any enlightenment appreciated...

 Thanks all,

 All the best,

 Peter.

 ---

 P.S.: Is it still worthwhile to report lock order reversals on 8-STABLE?

 ---

 [r...@netserv /usr/src]# ( DISPLAY= cvsup -Pm ~/etc/cvsup.netserv.src-all 
  cd /usr/src/  make kernel KERNCONF=NETSERV )
 Connected to cvsup4.de.FreeBSD.org
 Updating collection src-all/cvs
 Finished successfully

 --
 Kernel build for NETSERV started on Tue May 25 14:35:46 UTC 2010
 --
 === NETSERV
 mkdir -p /usr/obj/usr/Src-RELENG_8/sys

 --
 stage 1: configuring the kernel
 --
 cd /usr/Src-RELENG_8/sys/i386/conf;  
 PATH=/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/sbin:/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/bin:/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/games:/usr/obj/usr/Src-RELENG_8/tmp/usr/sbin:/usr/obj/usr/Src-RELENG_8/tmp/usr/bin:/usr/obj/usr/Src-RELENG_8/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
   config  -d /usr/obj/usr/Src-RELENG_8/sys/NETSERV  
 /usr/Src-RELENG_8/sys/i386/conf/NETSERV
 Kernel build directory is /usr/obj/usr/Src-RELENG_8/sys/NETSERV
 Don't forget to do ``make cleandepend  make depend''

 --
 stage 2.1: cleaning up the object tree
 --
 cd /usr/obj/usr/Src-RELENG_8/sys/NETSERV; MAKEOBJDIRPREFIX=/usr/obj  
 MACHINE_ARCH=i386  MACHINE=i386  CPUTYPE=  
 GROFF_BIN_PATH=/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/bin  
 GROFF_FONT_PATH=/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/share/groff_font  
 GROFF_TMAC_PATH=/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/share/tmac  
 _SHLIBDIRPREFIX=/usr/obj/usr/Src-RELENG_8/tmp  VERSION=FreeBSD 8.0-STABLE 
 i386 800505  INSTALL=sh /usr/Src-RELENG_8/tools/install.sh  
 PATH=/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/sbin:/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/bin:/usr/obj/usr/Src-RELENG_8/tmp/legacy/usr/games:/usr/obj/usr/Src-RELENG_8/tmp/usr/sbin:/usr/obj/usr/Src-RELENG_8/tmp/usr/bin:/usr/obj/usr/Src-RELENG_8/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
  NO_CTF=1 make KERNEL=kernel cleandir
 .depend, line 27905: Need an operator
 make: fatal errors encountered -- cannot continue
 *** Error code 1

 Stop in /usr/Src-RELENG_8.
 *** Error code 1

 Stop in /usr/Src-RELENG_8.

 --
 GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
 Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
 ___
 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


do the makebuildworld first.

-- 
Jorge Andrés Medina Oliva.
___
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: BSDStats: Project Status on May 13th, 2010

2010-05-14 Thread Jorge Medina
On Thu, May 13, 2010 at 5:05 PM, Marc G. Fournier scra...@hub.org wrote:

 Status:

  Over the past two weeks, there has been alot of work performed on the
 backend, including fixing a few bugs that were recently reported.

  As a result of using HAProxy to load balance and help ensure uptime for
 reporting clients, someone recently reported that although their sent in
 their report, their country wasn't going up in the 'Countries' states.

  This bug has been fixed (HAProxy was reporting Proxy IP vs Client IP) and
 we reset the stats period to 1st of May, causing a sharp drop in #s that has
 slowly been climbing back up again.

  The result of the change is that now Panama isn't the largest distribution
 of PC-BSD anymore, but the USofA is back in that lead, with Russia quickly
 following.

 Stats Summary:

 As of May 13th, 2010 (based on reporting ~2 weeks of reporting period since
 fix) , the project has 3 733 hosts that have reported in, broken down as
 follows:

         PC-BSD            2 357 hosts
         FreeBSD           1 243 hosts
         DesktopBSD           78 hosts
         NetBSD               34 hosts
         OpenBSD              12 hosts
         DragonFly             9 hosts
         MirBSD                0 hosts
         MidnightBSD           0 hosts
         GNU/kFreeBSD          0 hosts

 We currently have hosts being reported in from 88 countries, with the top 10
 being:

         United States             752
         Panama                    332
         Russian Federation        332
         Australia                 271
         Germany                   204
         Ukraine                   173
         Japan                     121
         Canada                    101
         Brazil                     89
         United Kingdom             89

 Project URL: http://www.bsdstats.org

 Project Objective:

 The mission of this site is to compile semi-accurate numbers for advocacy
 and marketing of the *BSD operating systems.

 PC-BSD, to the best of our knowledge, is the only one that defaults to
 enabled, while the rest have to be enabled manually.

 For FreeBSD users, you just need to install /usr/ports/sysutils/bsdstats to
 set things up.

 There is now a man page / document that has been created, that contains a
 full description of the project, as well as the steps we take to ensure the
 anonymity of those reporting while maintaining the individuality of the
 reporting machines.  This can be found at:

        http://www.bsdstats.org/bsdstats-8.html

 Project Uptime:

 In the beginning, there were issues with accessibility of the servers, due
 to only having one reporting server.  We have since moved to a distributed
 cluster using HAProxy to load balance between two physical servers, with a
 third one coming online soon.  http://www.bsdstats.org isn't running on this
 new cluster yet, but work is underway to get that moved over as well, which
 we hope to have accomplished over the next couple of days.

 If you have any questions, please feel free to email me ...


But I'm sending my stats. in Chilean country mark only one system,
those system are there previously to I send my stats

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

 Yahoo:yscrappy    Skype: hub.org    ICQ:7615664    MSN:scra...@hub.org
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


-- 
Jorge Andrés Medina Oliva.
___
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: pyglet segfaults on FreeBSD 8.0/amd64/nVidia

2010-04-14 Thread Jorge Medina
On Wed, Apr 14, 2010 at 7:44 AM, Giuseppe Pagnoni gpagn...@gmail.com wrote:
 Hello,

 First of all, let me apologize for the re- and cross-posting , but
 after a couple of weeks scouring the web and forums to no avail, I
 thought I would try again and query the FreeBSD mother source...

 I installed pyglet from the ports (latest version as of yesterday,
 py26-pyglet-1.1.2_1) on a FreeBSD 8.0 amd64 box, running the latest
 version of the ports' nvidia driver (nvidia-driver-195.36.15).  I
 found that I cannot use either font.Text or text.label without causing
 segfaults.  Here is some sample code that makes python crash:

 - SNIPPET 1
 import pyglet
 luxi = pyglet.font.load('Luxi Sans', 14)
 ---   SEGMENTATION FAULT

 - SNIPPET 2
 import pyglet
 window = pyglet.window.Window()
 label = pyglet.text.Label('Hello, world',
   font_name='Luxi Sans',
   font_size=36,
   x=window.width//2,
   y=window.height//2,
   anchor_x='center',
   anchor_y='center')
 ---   SEGMENTATION FAULT

 It seems that the problem arises already at the stage of font loading.
 I am not at all a python expert, perhaps somebody can suggest a
 way to narrow down the problem?

 Here is some more information on my system reported by a routine
 included in a python package (PsychoPy) I am trying to use:

 System info:
 FreeBSD-8.0-RELEASE-p2-amd64-64bit-ELF

 Python info
 /usr/local/bin/python
 2.6.4 (r264:75706, Mar 23 2010, 15:20:14)
 [GCC 4.2.1 20070719  [FreeBSD]]
 numpy 1.4.0
 scipy 0.7.1
 matplotlib 0.99.1
 pyglet 1.1.2
 PsychoPy 1.60.03

 OpenGL info:
 vendor: NVIDIA Corporation
 rendering engine: GeForce 9500 GT/PCI/SSE2
 OpenGL version: 3.2.0 NVIDIA 195.36.15
 (Selected) Extensions:
       True GL_ARB_multitexture
       True GL_EXT_framebuffer_object
       True GL_ARB_fragment_program
       True GL_ARB_shader_objects
       True GL_ARB_vertex_shader
       True GL_ARB_texture_non_power_of_two
       True GL_ARB_texture_float


 Thanks in advance for any suggestion/comment,

 cheers,

  giuseppe

 --
 Giuseppe Pagnoni
 Dip. Scienze Biomediche
 Sezione Fisiologia
 Univ. di Modena e Reggio Emilia
 Via Campi 287
 I-41125 Modena, Italy
 Tel: +39-059-205-5742
 Fax: +39-059-205-5336
 ___
 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


which is the resolution that you have running  the xorg?

-- 
Jorge Andrés Medina Oliva.
___
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: firefox3.6 dumps core - bus error

2010-02-09 Thread Jorge Medina
On Tue, Feb 9, 2010 at 1:15 PM, Anton Shterenlikht me...@bristol.ac.uk wrote:
 On 9.0-current ia64, firefox-3.6,1:

 TZAV firefox3 
 [6] 91741
 TZAV Bus error (core dumped)

 [6]    Exit 138                      firefox3
 TZAV gdb /usr/local/bin/firefox3 ./firefox-bin.core
 GNU gdb 6.1.1 [FreeBSD]
 Copyright 2004 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you are
 welcome to change it and/or distribute copies of it under certain conditions.
 Type show copying to see the conditions.
 There is absolutely no warranty for GDB.  Type show warranty for details.
 This GDB was configured as ia64-marcel-freebsd.../usr/local/bin/firefox3: 
 not in executable format: File format not recognized

 Core was generated by `firefox-bin'.
 Program terminated with signal 10, Bus error.
 #0  0x200041082fe0 in ?? ()
 (gdb) bt
 #0  0x200041082fe0 in ?? ()
 #1  0x2000412e20c0 in ?? ()
 Previous frame identical to this frame (corrupt stack?)
 (gdb)


 Please advise
 anton

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


echo sem_load=YES  /boot/loader.conf
reboot


-- 
Jorge Andrés Medina Oliva.
___
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 zfs_arc_max value in FreeBSD 8.

2010-01-19 Thread Jorge Medina
On Tue, Jan 19, 2010 at 6:19 AM, Sherin George l...@sheringeorge.co.ccwrote:

 Hello,

 I am trying to tune ZFS file system by setting zfs_arc_max value in
 FreeBSD 8.

 In solaris, it is achieved like this

 ==
 ===
 For example, if an application needs 5 GBytes of memory on a system with
 36-GBytes of memory, you could set the arc maximum to 30 GBytes,
 (0x78000 or 32212254720 bytes). Set the zfs:zfs_arc_max parameter in
 the
 /etc/system file:

 set zfs:zfs_arc_max = 0x78000

 or

 set zfs:zfs_arc_max = 32212254720
 =

 But, I couldn't find /etc/system file in FreeBSD.

 Could some one please guide me to correctly configure zfs_arc_max in
 FreeBSD 8.

 set in /etc/sysctl.conf
man sysctl.conf
-- 
Jorge Andrés Medina Oliva.
___
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 7.2 - stable postfix port updated problem

2009-09-22 Thread Jorge Medina
I update to postfix 2.6 from 2.5 and this don't work with VDA patch
and the port say: ported for 32 bit
port postfix25 use the 2.6 version too.

And after update don't exec this pipe never more:

autoreply   unix  -   n   n   -   -   pipe
flags=F  user=nobody
argv=/usr/local/autoresponder/main.php $sender $recipient

somebody have problems like this?

-- 
Jorge Andrés Medina Oliva.
___
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