Boot hangs on ZOTAC ZBOX (Via Nano X2)

2013-02-27 Thread G
Hi,

I've got a ZOTAC ZBOX nano VD01
(http://www.zotacusa.com/zbox-nano-vd01.html). The boot process 
(9.1-RELEASE, amd64) hangs after Timecounters tick every 1.000 msec.
I tried with ACPI off, but it crashes.

Here's a pic with Verbose turned on: http://i.imgur.com/DQJkmoV.jpg

I've found this post about adding some PCI ids:
http://www.mavetju.org/mail/view_message.php?list=svn-src-vendorid=3610911raw=yes

The box gets mentioned in the list. Has this been been committed to
9.1? Does it have anything to do with the issue at hand?

Finally, tried with 10-CURRENT (amd64-20130105-r245067), no luck.
For what it's worth, here's what it looks like with verbose on:
http://i.imgur.com/L938PH2.jpg

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: FreeBSD9 - Fresh install (2)

2012-10-13 Thread Denise H. G.

On 2012/10/14 at 01:59, Jos Chrispijn j...@webrz.net wrote:
 
 When setting up my 1TB harddisk for FreeBSD 9.0, I have some questions
 about partioning:
 I think of creating two partitions of 5Gb; one for the standard
 FreeBSD file layour and a second one with a /backup slice on it.
 Does this make sense?
 
 BR,
 Jos Chrispijn
  

If you intend to use ZFS, then backup would not be very difficult. I've
just tried backing up my ZFS filesystem onto an external USB harddrive
with just a few steps. 

-- 
10 PRINT HELLO, WORLD
___
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 I need to use sysutils/ataidle to avoid high LCC for my hard drive?

2012-10-08 Thread Denise H. G.
Hi list.

I am currently running FreeBSD 9.1-PRERELEASE on my laptop. And I am
wondering if I still need to use sysutiles/ataidle to avoid high Load
Cyle Count for my hard drive. Is there still a need to run this utility
to avoid LCC under FreeBSD 9.1-PRERELEASE?

Thanks for your attention!
___
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


implications of adding root to a group

2012-08-23 Thread Krims G
Hello, I've been looking at the /etc/group and have noticed that some
groups have root included in them, for example operator. Is it not
implied that root has access to all things and groups? What is the purpose
of adding root to a group? If I add root to some new arbitrary group, what
does it result in differently than if I do not add root to that group?

Answers  suggestions appreciated,

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


VirtualBox USB support

2011-12-27 Thread Alain G. Fabry

Hello in the FreeBSD handbook it mentions there's USB support in 
Virtualbox. In other sources I read however that the VBoxPuelMain module is not 
supported in FreeBSD.

So I'm wondering if the VBox extension pack needs to be installed since it is 
not mentioned in the Handbook. When trying to install the extension Pack, I get 
the VBoxPuelMain error, but without this and following the instructions in the 
handbook, my guest OS's don't see any USB devices (Nor do I see them in 
preferences of VBox)

Thanks in advance for letting me know if this should work or not.

Alain

___
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: AHCI driver and static device names

2011-12-03 Thread Denise H. G.

On 2011/12/03 at 10:51, Rob li...@midsummerdream.org wrote:
 
 I was getting ready to install the latest FreeBSD 9-RCs image, and I
 found that 9 now defaults to using the ahci driver for sata disks.
 This would be great if it weren't for the fact that the ahci driver
 seems to do dynamic device name assignment as opposed to the static
 ones used with the older drivers.
 
 I've looked around on google and while this is mentioned (in old
 threads), the solution is to use labels or elaborate mapping via
 hints which really aren't solutions imo.  If I have 15 disks in an
 array, I want to be able to label them and know which bay is which
 device name. If I have to replace a drive, I have no idea what dynamic
 device name it will have when it comes time to partition (and label,
 if I were using that).  I could probably figure it out by looking at
 what disks are used on the system, but that's more work that it really
 should be.

It seems AHCI driver uses static naming policies if you have 'options
ATA_STATIC_ID' in your kernel configuration. Anyway, I just have one
SATA disk, which the system recognizes as 'ada4'.

I don't know whether this will apply in your case.

 
 Is there a way to use the ahci driver and get static device names?
 
 Rob
  



-- 
The first page the author turns to upon receiving an
advance copy will be the page containing the worst
error.
___
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: file system on 9.0

2011-11-20 Thread Denise H. G.

On 2011/11/20 at 19:25, Thomas Mueller mueller6...@bellsouth.net wrote:
 
 from darc...@gmail.com (Denise H. G.):
 I strongly advise that /usr and /usr/local reside on different
 partitions. Furthermore, If you plan to run a desktop environment,
 your /usr/local should be big enough, say 8G - 10G, to hold all
 stuff you built from the ports. And putting /var on a separate
 partitiion is a good idea, I think.
  
 You can find detailed information on how to lay out and size your
 partitions in tuning(7) either locally or online.
 
 The one directory I really want to put on a separate partition is
 /home . That way, you can fully rebuild/redo your system and keep user
 data.
 

Yes. I always put /home on a separate partition. Actually, my /home is
on a ZFS partition which is of more scalability and easier snapshots.

 I don't like to put /var on a separate partition because of the danger
 of running short of space. I had nervous moments when running
 freebsd-update on the older computer and seeing the used part of /var
 grow.

I always size /var to 2G or 3G, which is typical for me. I seldom run
freebsd-update, but upgrade from sources instead. I only encountered
problems with Xorg that crashed filling up /var with core dumps...

 
 I don't really see a need to put /usr/local on a separate partition,
 though conceivably you could build applications with both FreeBSD
 ports and NetBSD pkgsrc, but keep these separate. NetBSD pkgsrc has
 been ported to other (quasi-)Unixes including FreeBSD. Default
 directory corresponding to FreeBSD's /usr/local is /usr/pkg .
 

It is long before I started thinking of joining /usr and /usr/local into
one partition. However, my current installation dates back to FreeBSD 6
or 7. Many things changed exept the filesystem layout.

 I think I like FreeBSD ports better than NetBSD pkgsrc, the latter
 which I used only with NetBSD.
 
 I originally installed FreeBSD 9.0-BETA1 using bsdinstall on the USB
 stick, including the ports.
 
 There was a conflict when I ran portsnap fetch update, that didn't
 work. I had to run portsnap fetch and portsnap extract, scrapping
 the ports tree from bsdinstall in favor of the fresh ports tree. So
 now I know best to not install ports tree from bsdinstall; this would
 presumably apply for sysinstall too.

I guess 'portsnap fetch update' is run only after the ports tree is
there. For a fresh install of the ports tree, 'portsnap fetch extract'
is the correct way. For me, I only pull the ports tree with 'portsnap'.
That way, I can complete a fresh install of FreeBSD in less than 20
minutes.

 
 Tom
 
 
 



-- 
If you've got them by the balls,
their hearts and minds will follow.
___
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: file system on 9.0

2011-11-19 Thread Denise H. G.

On 2011/11/19 at 20:09, ajtiM lum...@gmail.com wrote:
 
 Hi!
 One more question before I start installing FreeBSD 9.0 RC-2.
 Now we have a new bsdinstall and as I red and if I understood correct there 
 is 
 also SU journaling file sistem. I will switch to the GPT partion. If I want 
 to 
 have SU-j file system is it enough that I just choose this option and voila?

Yes. I think so. 'options UFS_GJOURNAL' is present in GENERIC kernel
config. If you use GENERIC kernel, it is there.

 And another question is about ports. There is an option ports tree which is 
 marked default. It is okay that I use this later with portsnap?

Sure. portsnap is designed to work with the ports tree.

 
 Thanks in advance.
 
 Mitja
 
 http://jpgmag.com/people/lumiwa
  



-- 
If you've got them by the balls,
their hearts and minds will follow.
___
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: file system on 9.0

2011-11-19 Thread Denise H. G.

On 2011/11/19 at 21:18, RW rwmailli...@googlemail.com wrote:
 
 On Sat, 19 Nov 2011 20:29:40 +0800
 Denise H. G. wrote:
 
 
 On 2011/11/19 at 20:09, ajtiM lum...@gmail.com wrote:
  
  Hi!
  One more question before I start installing FreeBSD 9.0 RC-2.
  Now we have a new bsdinstall and as I red and if I understood
  correct there is also SU journaling file sistem. I will switch to
  the GPT partion. If I want to have SU-j file system is it enough
  that I just choose this option and voila?
 
 Yes. I think so. 'options UFS_GJOURNAL' is present in GENERIC kernel
 config. If you use GENERIC kernel, it is there.
 
 UFS_GJOURNAL is for gjournal not soft-update journalling. 
 
 A file system doesn't actually need to be created with either
 soft-updates or soft-update journalling- it's something that can be
 turned of and on. And yes enabling it in the installer should be
 sufficient.
 

Thanks for clarifying. 

  And another question is about ports. There is an option ports
  tree which is marked default. It is okay that I use this later
  with portsnap?
 
 Sure. portsnap is designed to work with the ports tree.
 
 There's no point in installing the default tree since portsnap has to
 do an initial extract. In general I'd suggest starting portsnap on an
 empty ports directory just to eliminate any minor cruft.

Yes. the ports tree on the installation CD/DVD is always old and only
takes longer time to install than without them.

  



-- 
If you've got them by the balls,
their hearts and minds will follow.
___
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: file system on 9.0

2011-11-19 Thread Denise H. G.

On 2011/11/19 at 23:03, ajtiM lum...@gmail.com wrote:
 
 On Saturday 19 November 2011 06:29:40 Denise H. G. wrote:
 On 2011/11/19 at 20:09, ajtiM lum...@gmail.com wrote:
  Hi!
  One more question before I start installing FreeBSD 9.0 RC-2.
  Now we have a new bsdinstall and as I red and if I understood correct
  there is also SU journaling file sistem. I will switch to the GPT
  partion. If I want to have SU-j file system is it enough that I just
  choose this option and voila?
 
 Yes. I think so. 'options UFS_GJOURNAL' is present in GENERIC kernel
 config. If you use GENERIC kernel, it is there.
 
  And another question is about ports. There is an option ports tree
  which is marked default. It is okay that I use this later with portsnap?
 
 Sure. portsnap is designed to work with the ports tree.
 Thank you and one more, please...
 
 Partitioning: if I choose guided than I got:
 freebsd-boot
 freebsd-ufs /
 freebsd-swap
 
 If I press enter on freebsd-ufs / than I got options to make moe 
 partitions. 
 Is it okay that I make /, /var, /tmp and /usr as I have now.

I strongly advise that /usr and /usr/local reside on different
partitions. Furthermore, If you plan to run a desktop environment, your
/usr/local should be big enough, say 8G - 10G, to hold all stuff you
built from the ports. And putting /var on a separate partitiion is a
good idea, I think.

You can find detailed information on how to lay out and size your
partitions in tuning(7) either locally or online.

 
 Thank you very much for the help.
 
 
 Mitja
  

Regards.

-- 
If you've got them by the balls,
their hearts and minds will follow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: problems in ppp negotiating

2011-11-16 Thread Denise H. G.

On 2011/11/16 at 03:25, Matthias Apitz g...@unixarea.de wrote:
 
 El día Wednesday, November 16, 2011 a las 01:14:42AM +0800, Denise H. G. 
 escribió:
 Hi
 
 What is in your /etc/ppp.conf? To better locate your problem, you'd
 better show us the config file.
 
 Hello,
 
 I was thinking in this, but then I realized that the ppp.bad file
 contained it, even the SIM PIN; anyway, here it is:
 
 
 # 
 default:
  set log Phase Chat LCP IPCP CCP tun command
 
 umts:
 
  set device /dev/cuaU0.0 # device name in CURRENT
  set speed 230400
 
  set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
 \\ AT OK-AT-OK ATZ OK \
 AT+CFUN=1 OK \
 at+cpin=4708 O \
 AT+COPS=0 OK \
 AT+CGDCONT=1,\\\IP\\\,\\\pinternet.interkom.de\\\ OK \
 \\dATDT\\T TIMEOUT 40 CONNECT
 
  set logout ABORT BUSY ABORT ERROR TIMEOUT 30 \\ +++ATH O ATH OK
 
  set phone *99*1\#
  set authname fonic
  set authkey fonic
  set timeout 300
  set ifaddr 0.0.0.0/0 10.64.64.64/0 255.255.255.0 0.0.0.0

The line above might be the problem. If you dial mode is NOT `auto', you
don't need `set ifaddr' thing, according to the manual of `ppp(8)'. Or
you are using `auto' mode to dial up, give it try to use:

set ifaddr 10.64.64.64/0 10.64.64.64/0 255.255.255.255 0.0.0.0

This part of the ppp configuration is about using IPCP protocal to
negotiate IP address. And your attached ppp logs have IPCP errors.
Anyway, I am not sure if this would help or not. Just give it try.

Regards.

  add default HISADDR# Add a (sticky) default route
  enable dns
  disable ipv6cp
 -- 
 Matthias Apitz
 e g...@unixarea.de - w http://www.unixarea.de/
 UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
 UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
  



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


Re: problems in ppp negotiating

2011-11-15 Thread Denise H. G.
Hi

  What is in your /etc/ppp.conf? To better locate your problem, you'd
  better show us the config file.

Regards!

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


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

2011-11-10 Thread Denise H. G.

On 2011/11/10 at 18:05, Traiano Welcome traiano.welc...@mtnbusiness.co.za 
wrote:
 
 Hi All
  I'm trying to upgrade from FreeBSD 8.0-RELEASE #0 to FreeBSD 8.2 or
 better. My upgrade sequence would be as follows:
 
  0. cd /usr/src/;make cleanworld (and in extreme cases rm -rf /usr/src/*
 and rm -rf /usr/obj)
  1. csup -L 2 stable supfile.
  2. cd /usr/src; make buildworld  make buildkernel  make installkernel
  make installworld  reboot
  3. mergemaster -p  make installworld  mergemaster  reboot
 

No. your upgrade steps are a little bit wrong. Just follow this:

build world - build kernel - install kernel - reboot to singler user -
mergemaster -p - install world - mergemaster - make delete-old ...

You'd better take a look at /usr/src/UPGRADING, which contains details
about upgrade steps.


 
 My stable-supfile is as follows:
 
 ---
  *default host=cvsup2.za.freebsd.org
  *default base=/var/db
  *default prefix=/usr
  *default release=cvs tag=RELENG_8_2
  *default delete use-rel-suffix
  src-all
 ---
 
 
  However, I'm not getting past make buildworld. Below is the tail end of
 my make buildworld:
 
 ---
 .
 .
 .
 
 cc -O2 -pipe -DIN_GCC -DHAVE_CONFIG_H
 -DPREFIX=\/usr/obj/usr/src/tmp/usr\
 -I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
 -I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
 -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc
 -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config
 -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include
 -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include
  -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber
   -I/usr/obj/usr/src/tmp/legacy/usr/include -c ../cc_tools/insn-attrtab.c
 cc: Internal error: Killed: 9 (program cc1)
 Please submit a full bug report.
 See URL:http://gcc.gnu.org/bugs.html for instructions.
 *** Error code 1
 
 Stop in /usr/src/gnu/usr.bin/cc/cc_int.
 *** Error code 1
 
 Stop in /usr/src/gnu/usr.bin/cc.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 ---
 
 
 My questions are:
 
 - Is this a known issue (can't  seem to find much on google) ?
 - If not, how would I go about pinpointing the root cause of this compile
 error. Upping the make debug level doesn't seem to get my any more
 detailed information that I can use .
 
 I've run csup multiple times (with multiple make clean;make
 cleanworld;make cleandir in between) across 48 hours , but each update  to
 my source tree doesn't seem to get any different result.
 
 I've also tried upgrading my userland tools before doing the upgrade
 (portupgrade -a) in the hope that the my compiler tools might have been
 updated to fix this.
 
 
 Any advice would be appreciated,
 Traiano
 
 
  



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


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

2011-11-10 Thread Denise H. G.

On 2011/11/10 at 20:56, Traiano Welcome traiano.welc...@mtnbusiness.co.za 
wrote:
 
 Hi 
 Thanks for the feedback.
 
 
 
 I'd be happy to try this sequence, however I don't make it  past make
 buildworld. 
 (of note, the sequence I used above works on all my other boxen though)
 
 I've just scrutinised /usr/src/UPDATING (there is no file called UPGRADING
 ? ) and can't seem to find anything specific to this make fail. File
 version as follows:

Sorry, it's a typo. It IS UPDATING not UPGRADING:)

If you still can't make it, there probably are some problems with your
system. Or you could clean up everything, re-csup your system sources
and try again. Or you could file a bug report to see if it helps.

 
  $FreeBSD: src/UPDATING,v 1.632.2.19.2.6 2011/10/04 19:07:38 cperciva Exp $
 
 I'm following the process outlined in the FreeBSD manual up until make
 buildworld, and can't see where I might be wrecking things:
 
  1) synching the source:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html
 
  (... BTW, note to editor: I see nothing in this section of the manual
 about csup?

csup is a C language rewrite of cvsup. Generally you could tell no
difference between them from a user's perspective.


 
  2) building world:
 
  
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
 
 BTW: I've just upgraded my binutils (as, ld) as there was a reference  in
 the UPDATING file to an ld bug, but that did not seem to affect anything.
 

I think this might be irrelevant to your case.

-- 
History proves nothing.
___
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: Firefox clean installation but does not execute

2011-09-20 Thread Alain G. Fabry
On Tue, Sep 20, 2011 at 01:40:56PM +0100, Anton Shterenlikht wrote:
 On Tue, Sep 20, 2011 at 02:16:35PM +0200, Alain G. Fabry wrote:
  On Tue, Sep 20, 2011 at 05:53:06AM -0600, Warren Block wrote:
   On Tue, 20 Sep 2011, Alain G. Fabry wrote:
   
   I've installed both firefox and firefox36. Neither of them can be found 
   on 
   the system while the installation build and installed without errors
   
   afabry@desmo 13:40 % pkg_info | grep firefox
   firefox-3.6.22,1Web browser based on the browser portion of Mozilla
   firefox-6.0.2,1 Web browser based on the browser portion of Mozilla
   afabry@desmo 13:41 % which firefox
   firefox: Command not found.
   afabry@desmo 13:41 % which firefox3
   firefox3: Command not found.
   
   See 'man csh | less -p rehash'.
   
   But also these should run with a full path:
   
   % /usr/local/bin/firefox3
   % /usr/local/bin/firefox
   ___
  
  Files are just not found on the system... :-(
  
  afabry@desmo 14:10 % pkg_info | grep firefox
  firefox-3.6.22,1Web browser based on the browser portion of Mozilla
  firefox-6.0.2,1 Web browser based on the browser portion of Mozilla
  afabry@desmo 14:10 % rehash
  afabry@desmo 14:14 % /usr/local/bin/firefox
  /usr/local/bin/firefox: Command not found.
  afabry@desmo 14:12 % ls -l /usr/local/bin/ | grep fire
  -r-xr-xr-x  1 root  wheel10108 Sep  7 07:29 aafire
  afabry@desmo 14:12 % 
 
 what about
 
 pkg_info -Lx firefox-3
 pkg_info -Lx firefox-6
 
 On my system:
 
 TZAV pkg_info -Lx firefox-3 | grep bin
 /usr/local/bin/firefox3
 /usr/local/include/firefox3/gtk2xtbin.h
 /usr/local/lib/firefox3/bin
 /usr/local/lib/firefox3/firefox-bin
 TZAV
 
 

Seems to be ok here ??

afabry@desmo 15:22 % pkg_info -Lx firefox-3 | grep bin
/usr/local/bin/firefox3
/usr/local/include/firefox3/gtk2xtbin.h
/usr/local/lib/firefox3/bin
/usr/local/lib/firefox3/firefox-bin
afabry@desmo 15:23 % pkg_info -Lx firefox-6 | grep bin 
/usr/local/bin/firefox
/usr/local/include/firefox/gtk2xtbin.h
/usr/local/lib/firefox/bin
/usr/local/lib/firefox/firefox-bin
/usr/local/lib/firefox/searchplugins/bing.xml



 -- 
 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
___
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: Firefox clean installation but does not execute

2011-09-20 Thread Alain G. Fabry
On Tue, Sep 20, 2011 at 02:40:42PM +0100, Anton Shterenlikht wrote:
 On Tue, Sep 20, 2011 at 03:26:29PM +0200, Alain G. Fabry wrote:
  On Tue, Sep 20, 2011 at 01:40:56PM +0100, Anton Shterenlikht wrote:
   On Tue, Sep 20, 2011 at 02:16:35PM +0200, Alain G. Fabry wrote:
On Tue, Sep 20, 2011 at 05:53:06AM -0600, Warren Block wrote:
 On Tue, 20 Sep 2011, Alain G. Fabry wrote:
 
 I've installed both firefox and firefox36. Neither of them can be 
 found on 
 the system while the installation build and installed without errors
 
 afabry@desmo 13:40 % pkg_info | grep firefox
 firefox-3.6.22,1Web browser based on the browser portion of 
 Mozilla
 firefox-6.0.2,1 Web browser based on the browser portion of 
 Mozilla
 afabry@desmo 13:41 % which firefox
 firefox: Command not found.
 afabry@desmo 13:41 % which firefox3
 firefox3: Command not found.
 
 See 'man csh | less -p rehash'.
 
 But also these should run with a full path:
 
 % /usr/local/bin/firefox3
 % /usr/local/bin/firefox
 ___

Files are just not found on the system... :-(

afabry@desmo 14:10 % pkg_info | grep firefox
firefox-3.6.22,1Web browser based on the browser portion of Mozilla
firefox-6.0.2,1 Web browser based on the browser portion of Mozilla
afabry@desmo 14:10 % rehash
afabry@desmo 14:14 % /usr/local/bin/firefox
/usr/local/bin/firefox: Command not found.
afabry@desmo 14:12 % ls -l /usr/local/bin/ | grep fire
-r-xr-xr-x  1 root  wheel10108 Sep  7 07:29 aafire
afabry@desmo 14:12 % 
   
   what about
   
   pkg_info -Lx firefox-3
   pkg_info -Lx firefox-6
   
   On my system:
   
   TZAV pkg_info -Lx firefox-3 | grep bin
   /usr/local/bin/firefox3
   /usr/local/include/firefox3/gtk2xtbin.h
   /usr/local/lib/firefox3/bin
   /usr/local/lib/firefox3/firefox-bin
   TZAV
   
   
  
  Seems to be ok here ??
  
  afabry@desmo 15:22 % pkg_info -Lx firefox-3 | grep bin
  /usr/local/bin/firefox3
  /usr/local/include/firefox3/gtk2xtbin.h
  /usr/local/lib/firefox3/bin
  /usr/local/lib/firefox3/firefox-bin
  afabry@desmo 15:23 % pkg_info -Lx firefox-6 | grep bin 
  /usr/local/bin/firefox
  /usr/local/include/firefox/gtk2xtbin.h
  /usr/local/lib/firefox/bin
  /usr/local/lib/firefox/firefox-bin
  /usr/local/lib/firefox/searchplugins/bing.xml
 
 So, what do you get if you now type:
 
 /usr/local/bin/firefox3
 
 or
 
 /usr/local/bin/firefox
 
 -- 
What I mentioned before ;-)  'command not found' 

afabry@desmo 15:40 % /usr/local/bin/firefox3
/usr/local/bin/firefox3: Command not found.
afabry@desmo 15:40 % /usr/local/bin/firefox
/usr/local/bin/firefox: Command not found.
afabry@desmo 15:41 % 

files don't exist, and must have deinstalled/installed already 3 times...


 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
___
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: Firefox clean installation but does not execute

2011-09-20 Thread Alain G. Fabry
On Tue, Sep 20, 2011 at 02:40:42PM +0100, Anton Shterenlikht wrote:
 On Tue, Sep 20, 2011 at 03:26:29PM +0200, Alain G. Fabry wrote:
  On Tue, Sep 20, 2011 at 01:40:56PM +0100, Anton Shterenlikht wrote:
  
  Seems to be ok here ??
  
  afabry@desmo 15:22 % pkg_info -Lx firefox-3 | grep bin
  /usr/local/bin/firefox3
  /usr/local/include/firefox3/gtk2xtbin.h
  /usr/local/lib/firefox3/bin
  /usr/local/lib/firefox3/firefox-bin
  afabry@desmo 15:23 % pkg_info -Lx firefox-6 | grep bin 
  /usr/local/bin/firefox
  /usr/local/include/firefox/gtk2xtbin.h
  /usr/local/lib/firefox/bin
  /usr/local/lib/firefox/firefox-bin
  /usr/local/lib/firefox/searchplugins/bing.xml
 
 So, what do you get if you now type:
 
 /usr/local/bin/firefox3
 
 or
 
 /usr/local/bin/firefox
 

afabry@desmo 15:45 % sudo find / -name firefox3
/usr/local/lib/firefox3
/var/db/ports/firefox3

only finds 2 matches for firefox3, nothing in /usr/local/bin

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


Re: Firefox clean installation but does not execute

2011-09-20 Thread Alain G. Fabry
On Tue, Sep 20, 2011 at 05:41:45PM +0100, Frank Shute wrote:
 On Tue, Sep 20, 2011 at 03:44:31PM +0200, Alain G. Fabry wrote:
 
  On Tue, Sep 20, 2011 at 02:40:42PM +0100, Anton Shterenlikht wrote:
   
   So, what do you get if you now type:
   
   /usr/local/bin/firefox3
   
   or
   
   /usr/local/bin/firefox
   
   -- 
  What I mentioned before ;-)  'command not found' 
  
  afabry@desmo 15:40 % /usr/local/bin/firefox3
  /usr/local/bin/firefox3: Command not found.
  afabry@desmo 15:40 % /usr/local/bin/firefox
  /usr/local/bin/firefox: Command not found.
  afabry@desmo 15:41 % 
  
  files don't exist, and must have deinstalled/installed already 3 times...
  
 
 You don't mention how you are installing/deleting.
 
 Try:
 
 # pkg_delete -f firefox\*
 # cd /usr/ports/www/firefox
 # make install clean
 # ls -l /usr/local/bin/firefox
 

I've always installed it from ports, I'll also try the pkg_delete and reinstall 
from ports as you mentioned.

See following settings for install

--
===  Configuring for firefox-3.6.22,1
(cd /usr/ports/www/firefox36/work/mozilla-1.9.2  /usr/local/bin/autoconf-2.13)
(cd /usr/ports/www/firefox36/work/mozilla-1.9.2/js/src/  
/usr/local/bin/autoconf-2.13)
Adding configure options from ./.mozconfig:
  --prefix=/usr/ports/www/firefox36/work/fake
  --program-transform-name=s/firefox/firefox3/
  --with-default-mozilla-five-home=/usr/local/lib/firefox3
  --enable-svg
  --enable-svg-renderer=cairo
  --enable-application=browser
  --enable-official-branding
  --disable-updater
  --enable-canvas
  --enable-libxul
  --disable-necko-wifi
  --disable-ipc
  --with-system-nspr
  --enable-crypto
  --disable-tests
  --enable-default-toolkit=cairo-gtk2
  --enable-xft
  --with-pthreads
  --x-includes=/usr/local/include
  --x-libraries=/usr/local/lib
  --enable-extensions=default
  --enable-image-decoders=default
  --enable-necko-protocols=default
  --with-system-zlib=/usr
  --with-gssapi=/usr
  --disable-auto-deps
  --disable-debug-symbols
  --enable-chrome-format=jar
  --disable-cpp-exceptions
  --disable-cpp-rtti
  --disable-glibtest
  --disable-gtktest
  --disable-freetypetest
  --enable-double-buffer
  --enable-mathml
  --disable-installer
  --disable-md
  --disable-pedantic
  --disable-bidi
  --disable-xterm-updates
  --disable-xprint
  --enable-xinerama
  --disable-gnomevfs
  --enable-strip
  --enable-install-strip
  --disable-debug
  --enable-optimize=
  --disable-logging
  --disable-gnomeui
creating cache ./config.cache
..


All the way at the end I see a 
stat: /usr/local/bin/firefox3: stat: No such file or directory


/usr/bin/find /usr/ports/www/firefox36/work/fake -type l -exec  echo stat -f 
\'/bin/ln -hfs \%Y\ \%N\\' {} + |  /usr/bin/sed 
s'|/usr/ports/www/firefox36/work/fake|/usr/local|g' | /bin/sh |  /usr/bin/sed 
-n s'|/usr/ports/ww
w/firefox36/work/fake|/usr/local|p' | /bin/sh -x^M
stat: /usr/local/lib/firefox3/lib: stat: No such file or directory^M
stat: /usr/local/lib/firefox3/bin: stat: No such file or directory^M
stat: /usr/local/lib/firefox3/include: stat: No such file or directory^M
stat: /usr/local/lib/firefox3/idl: stat: No such file or directory^M
stat: /usr/local/bin/firefox3: stat: No such file or directory^M
/bin/mkdir -p /usr/local/share/applications /usr/local/share/pixmaps^M
install  -o root -g wheel -m 444 /usr/ports/www/firefox36/work/firefox3.desktop 
/usr/local/share/applications/^M
/bin/mkdir -p /usr/local/lib/firefox3/chrome/icons/default^M
/bin/ln -sf /usr/local/lib/firefox3/chrome/icons/default/default48.png 
/usr/local/share/pixmaps/firefox3.png^M
==^M
^M
SMB issues:^M
Network group, machine, and share browsing does not work correctly.^M
^M
SFTP:^M
Only sftp access using public key authentication works.  To easily^M
setup public key authentication to remote_host:^M
^M
ssh-keygen -t dsa^M
cat ~/.ssh/id_dsa.pub | ssh remote_host cat  .ssh/authorized_keys^M
^M
The SSH server on remote_host must allow pub key authentication.^M
^M
==^M
^M

---


But don't break you head over this strange issue. If I can't find a solution 
soon, I'll take the opportunity to reinstall latest release, currently running 
7.0 release.

Thanks,

Alain
 
 Regards,
 
 -- 
 
  Frank
 
  Contact info: http://www.shute.org.uk/misc/contact.html
 
 


___
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


Firefox clean installation but does not execute

2011-09-19 Thread Alain G. Fabry
Hello,

I've installed Firefox36 from ports, it installed without a problem but it does 
not launch. In other words, there's no firefox file on my system.
Had it installed before and working, then to clean out the system with 
unnecessary ports, I removed all ports and reinstalled only what is necessary.
Somehow now I can't get firefox to work. The installation runs through cleanly, 
but when I try to run firefox, the system just responds with 'command not found'

 fabry@desmo 7:27 % pkg_info | grep firefox
 firefox-3.6.22,1Web browser based on the browser portion of Mozilla
 afabry@desmo 7:28 % firefox
 firefox: Command not found.

What could be the problem, where could I start looking?


___
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: Unbootable memory stick snapshot?

2011-08-29 Thread Rolf G Nielsen

2011-08-29 19:07, Neil Cafferkey skrev:

Hi,

I can't boot the FreeBSD-9.0-CURRENT-201107-ia64-memstick.img snapshot.

From a hexdump, it doesn't appear to have a boot block.


Regards,
Neil
___
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


ia64 is for Itanium, if it's an x86_64 you have, you need amd64, even if 
it's an Intel.

___
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: A quality operating system

2011-08-20 Thread Carl G Smith


-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Antonio Olivares
Sent: Saturday, August 20, 2011 6:06 PM
To: Evan Busch
Cc: freebsd-questions@freebsd.org
Subject: Re: A quality operating system

 All of this adds up to a quality operating system in theory that does
 not translate into quality in reality.

 You alienate users and place the burden upon them to sort through your
 mess, then sneer at them.

 You alienate business, professional and artistic users with your
 insistence on hobbyism. These people have full lives; 48 hour sessions
 of trying to configure audio drivers, network cards or drive arrays
 are not in their interest.

 Even when you get big parts of the operating system correct, it's the
 thousand little details that have been forgotten, ignored or snootily
 written off that add up to many hours of frustration for the end user.
 This is not necessary frustration, and they get nothing out of it. It
 seems to exist because of the emotional and social attitudes of the
 FreeBSD team.


 Sadly, Ron is right. FreeBSD is not right for us, or any others who
 care about using an operating system as a means to an end. FreeBSD is
 a hobby and you have to use it because you like using it for the
 purpose of using it, and anything else will be incidental.


1)  Is someone pointing a gun to you and forcing you to use FreeBSD?

2)  A system is as good as its users, and you my friend might not be
an adequate user

3)  If you don't like it Don't Use it!

4) Many of your opinions are just that opinions and not facts.  They
remind me of the saying Opinions are like assholes, everyone has one
:)

5)  The community is excellent and very helpful.  Sure some questions
might go unanswered, but in any list you have all kinds of folks,
folks that are very helpful and folks who tell you to READ and find
out for yourself.  Also, if you want additional support you may also
pay for it.  There is no such thing as a Free Lunch.  There are
several BSD certification courses you may take and be a true power
user.

6)  Every system out there has its advantages  disadvantages.  You
don't have to come  insult the people who run/use FreeBSD just
because it does not suit your tastes.

7)  For the audio drivers  network cards part, Have you asked about
it?  Have you done some work?  Have you run
$ su -
passwd
# kldload snd_driver
# cat /dev/sndstat

# ifconfig -a
and check which interfaces are shown and have tried to prompt network
with one of them?
Do you expect everything to be done for you like other systems who
have spoiled you?  You can compare FreeBSD to other systems and it has
been shown that it is a Giant among Giants.  If you wanted some
handholding along they way, you could have tried PC-BSD.

8)  I have used many systems, and I have had some difficulties with
FreeBSD.  Is it FreeBSD's fault?  No of course not!  I have found help
from many caring users and fixed many of them.  I shot myself in the
foot several times and complained to myself why does FreeBSD seem too
hard?  It is what you make of it.  You have to invest some time, and
don't expect things to just happen.

9)  If you came across with a different tone or perspective, then you
could get more positive feedback.  You are attacking a community that
does not OWE you anything.  You could have made some suggestions but
in a friendly way not like you did.

10)  Have a nice day and enjoy your OS of choice be it whatever it is.

Regards,

Antonio

Happy FreeBSD user.
___
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


I have heard that the OS X OS is based on FreeBSD. Is this true?


Carl G Smith
c...@carlgsmith.com

___
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: source code

2011-04-21 Thread Rolf G Nielsen

2011-04-21 14:58, philippe joffre skrev:

Hi ,

May you help me

  I'm looking for  the code-source FREEBSD please it's possible to send me
the links .

Thank you in advance .

Best regards

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




ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/8.2-RELEASE/src/

or

ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/8.2-RELEASE/src/

These should be the same, but just in case. Note that amd64 also works 
with Intel's 64 bit processors (x86_64), just as i386 works with AMD's 
32 bit processors.


Once you've downloaded the source, run the install.sh script. You may 
need to edit it or change its permissions.

___
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: nfs error: No route to host when starting apache ...

2011-04-02 Thread Marc G. Fournier

On Fri, 1 Apr 2011, Rick Macklem wrote:


Since rpc.lockd and rpc.statd expect to be able to do IP broadcast
(same goes for rpcbind), I suspect that might be a problem w.r.t.
jails, although I know nothing about how jails work?


Oh, and you can use the nolock mount option to avoid use of
rpc.lockd and rpc.statd.


based on the mount_nfs man page, as well as trying it just in case, this 
option no longer appears to be availalble in the 7.x nfs code ... :(


___
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


nfs error: No route to host when starting apache ...

2011-04-01 Thread Marc G. Fournier


I just setup an nfs mount between two servers ...

ServerA, nfsd on 192.168.1.8
ServerB, nfs client on 192.168.1.7

I have a jail, ServerC, running on 192.168.1.7 ... most operations appear 
to work, but it looks like 'special files' of a sort aren't working, for 
when I try and startup Apache, I get:


[Fri Apr 01 19:42:02 2011] [emerg] (65)No route to host: couldn't grab the 
accept mutex


When I try and do a 'newaliases', I get:

# newaliases
postalias: fatal: lock /etc/aliases.db: No route to host

Yet, for instance, both MySQL and PostgreSQL are running without any 
issues ...


So, the mount is there, it is readable, it is working ... I can ssh into 
the jail, I can create files, etc ...


I do have rpc.lockd and rpc.statd running on both client / server sides 
...


I'm not seeing anything in eithr the man page for mount_nfs *or* nfsd that 
might account / corect for something like this, but since I'm not sure 
what this is exactly, not sure exactl what I should be looking for :(


Note that this behaviour happens at the *physical* server level as well, 
having tested with using postalias to generate the same 'lock' issue above 
...


Now, I do have mountd/nfsd started iwth the -h to bind them to 192.168.1.8 
... *but*, the servers themselves, although on same switch do have 
different default gateways ... I'm not seeing anything within the man page 
for, say, rpc.statd/rpc.lockd that allows me to bind it to the 
192.168.1.0/24 IP, so is it binding to my public IP instead of my private? 
So nfsd / mount_nfs can talk find, as they go thorugh 192.168.1.0/24 as 
desired, but rpc.statd/rpc.lockd are the public IPs and not able to talk 
to each other?


Thx ...
___
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: nfs error: No route to host when starting apache ...

2011-04-01 Thread Marc G. Fournier


I've succeedig in getting a bit further ... by the time I got to the 
bottom of my original, I started to think in terms of rpc more, and had 
overlooked lookign at thte rpcbind man page, which *does* have a -h option 
... setting that fixes things perfectly *almost* ...


The last issue I seem to be  hitting *might* be a 6.x NFS client against a 
7.x server issue ... ?


Postfix generates:

postfix/showq[65261]: fatal: select lock: Permission denied

The only post I found about this was:

http://lists.freebsd.org/pipermail/freebsd-questions/2010-April/215284.html

But there didn't appear to be any responses ... so either all responses 
were private to Robert, or ... ?


This is my last 6.x box, so it is not overly critical, but would be nice 
if I could get it to work properly ...



On Fri, 1 Apr 2011, Marc G. Fournier wrote:



I just setup an nfs mount between two servers ...

ServerA, nfsd on 192.168.1.8
ServerB, nfs client on 192.168.1.7

I have a jail, ServerC, running on 192.168.1.7 ... most operations appear to 
work, but it looks like 'special files' of a sort aren't working, for when I 
try and startup Apache, I get:


[Fri Apr 01 19:42:02 2011] [emerg] (65)No route to host: couldn't grab the 
accept mutex


When I try and do a 'newaliases', I get:

# newaliases
postalias: fatal: lock /etc/aliases.db: No route to host

Yet, for instance, both MySQL and PostgreSQL are running without any issues 
...


So, the mount is there, it is readable, it is working ... I can ssh into the 
jail, I can create files, etc ...


I do have rpc.lockd and rpc.statd running on both client / server sides ...

I'm not seeing anything in eithr the man page for mount_nfs *or* nfsd that 
might account / corect for something like this, but since I'm not sure what 
this is exactly, not sure exactl what I should be looking for :(


Note that this behaviour happens at the *physical* server level as well, 
having tested with using postalias to generate the same 'lock' issue above 
...


Now, I do have mountd/nfsd started iwth the -h to bind them to 192.168.1.8 
... *but*, the servers themselves, although on same switch do have different 
default gateways ... I'm not seeing anything within the man page for, say, 
rpc.statd/rpc.lockd that allows me to bind it to the 192.168.1.0/24 IP, so is 
it binding to my public IP instead of my private? So nfsd / mount_nfs can 
talk find, as they go thorugh 192.168.1.0/24 as desired, but 
rpc.statd/rpc.lockd are the public IPs and not able to talk to each other?


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




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

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


Re: bash can not find most of my commands

2011-02-22 Thread Rolf G Nielsen

2011-02-22 17:47, Alokat skrev:

On 02/22/11 17:44, Rolf Nielsen wrote:

2011-02-22 17:40, Alokat skrev:

Hi,

I have changed my shell from csh to bash ...


Why?
Do you use root as your regular login?


But after that I have to call reboot like /sbin/reboot.

How can I change that without changing the shell. :)

my /root/.profile:

PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin


export PATH
HOME=/root
export HOME
TERM=${TERM:-cons25}
export TERM
PAGER=more
export PAGER

Regards,
Alokat
___
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

It's just for example ... :)
I have a non root login for regular stuff.


To me the .profile looks ok, and I can't really say why it doesn't work.
However, do not use a shell that's not in the base system for root. Some 
would point security issues, but I don't know much about those when it 
comes to bash, however, if you need to boot into single user, you may 
get into troubles with a shell not in base.



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



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


Re: google browser?

2011-02-16 Thread Denise H. G.

On 2011/02/16 at 15:09, Gary Kline kl...@thought.org wrote:
 
 Anybody know how to use this Chrome?  I don't see any places to
 plug in players ... like vlc, etc.  Can't find and back/Forward
 icons, nothing like firefoxI give it all three thumbs
 down.
 
 Would still like to see GOOG have its own twitter and facebook
 tho.
 
 Anybody else have the browser on FBSD??
 

Tried it before then deleted it... it depends on ALSA and builds its own
webkit package instead of the one in the ports

 -g
 
 -- 
  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
Journey Toward the Dawn, E-Book: http://www.thought.org
   The 7.98a release of Jottings: http://jottings.thought.org
 
  



-- 
If you're early, it'll be canceled.
If you knock yourself out to be on time, you will
   have to wait.
If you're late, you will be too late.
___
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: portsnap fetch corrupt

2011-02-15 Thread Alain G. Fabry
On Tue, Feb 15, 2011 at 06:49:14AM -0500, Jerry wrote:
 On Tue, 15 Feb 2011 08:00:55 +0100
 Alain G. Fabry alainfa...@belgacom.net articulated:
 
  Hello,
  
  Whenever I try to do a portsnap, it tels me metadata is corrupt.
  
  harley# portsnap fetch update
  Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found.
  Fetching snapshot tag from portsnap5.FreeBSD.org... done.
  Fetching snapshot metadata... done.
  Updating from Fri Feb 11 01:08:40 CET 2011 to Tue Feb 15 07:25:54 CET
  2011. Fetching 3 metadata patches. done.
  Applying metadata patches... done.
  Fetching 3 metadata files... /usr/sbin/portsnap: cannot open
  d0fcac86ce12456d1bf6a63b3628725c24ea32d3e98d7d71280a7a681e17.gz:
  No such file or directory metadata is corrupt.
  
  
  I've already removed /var/db/portsnap directory, and redo the
  portsnap fetch, but the problem remains since several days now. 
  
  What can I do to get this going again?
  
  Running FreeBSD 8.1-RELEASE #0
 
 That annoying problem pops up once or twice a month on my machines
 also. It appears to be, although I have never taken the time to confirm
 it, dependent on what URL portsnap is attempting to download from. The
 problem usually goes away in 24 to 72 hours. As far as I can tell, it
 does not require any user intervention; although I suppose you could
 try playing around with it. Honestly, the vicissitude of portsnap is
 something that I have become accustomed to.
 
 I just ran portsnap and got this output:
 
 Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found.
 Fetching snapshot tag from portsnap5.FreeBSD.org... done.
 Fetching snapshot metadata... done.
 Updating from Mon Feb 14 06:59:32 EST 2011 to Tue Feb 15 06:30:44 EST 2011.
 Fetching 3 metadata patches.. done.
 Applying metadata patches... done.
 Fetching 0 metadata files... done.
 Fetching 66 patches.102030405060... done.
 Applying patches... done.
 Fetching 4 new ports or files... done.
 Removing old files and directories... done.
 
 Possible the problem has all ready dissipated.
 
 -- 

I just tried and the problem remains, I've seen this for +2 weeks now, that's 
why I believe it might be another issue.


harley# rm -R /var/db/portsnap
harley# mkdir /var/db/portsnap
harley# portsnap fetch
Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found.
Fetching public key from portsnap5.FreeBSD.org... done.
Fetching snapshot tag from portsnap5.FreeBSD.org... done.
Fetching snapshot metadata... done.
Fetching snapshot generated at Tue Feb 15 01:11:54 CET 2011:
6894de6c5ce6ec6f3d8edb291e78cfb62c96f77a944887100% of   64 MB  871 kBps 00m00s
Extracting snapshot... done.
Verifying snapshot integrity... done.
Fetching snapshot tag from portsnap5.FreeBSD.org... done.
Fetching snapshot metadata... done.
Updating from Tue Feb 15 01:11:54 CET 2011 to Tue Feb 15 12:42:07 CET 2011.
Fetching 3 metadata patches. done.
Applying metadata patches... done.
Fetching 3 metadata files... /usr/sbin/portsnap: cannot open 
9625c296a4dfb1bc8e285b117c77ea6a9ce389dba368b91fa39918d2fe208d5b.gz: No such 
file or directory
metadata is corrupt.


Thanks,

 Jerry ???
 freebsd.u...@seibercom.net
 
 Disclaimer: off-list followups get on-list replies or get ignored.
 Please do not ignore the Reply-To header.
 __
 Gravity is a myth, the Earth sucks.
___
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


portsnap fetch corrupt

2011-02-14 Thread Alain G. Fabry
Hello,

Whenever I try to do a portsnap, it tels me metadata is corrupt.

harley# portsnap fetch update
Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found.
Fetching snapshot tag from portsnap5.FreeBSD.org... done.
Fetching snapshot metadata... done.
Updating from Fri Feb 11 01:08:40 CET 2011 to Tue Feb 15 07:25:54 CET 2011.
Fetching 3 metadata patches. done.
Applying metadata patches... done.
Fetching 3 metadata files... /usr/sbin/portsnap: cannot open 
d0fcac86ce12456d1bf6a63b3628725c24ea32d3e98d7d71280a7a681e17.gz: No such 
file or directory
metadata is corrupt.


I've already removed /var/db/portsnap directory, and redo the portsnap fetch, 
but the problem remains since several days now. 

What can I do to get this going again?

Running FreeBSD 8.1-RELEASE #0

Thanks,

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


CF-Card Install for post FBSD-8.x systems

2011-02-02 Thread Martes G Wigglesworth


Hey guys.

Does anyone know what the new minimal install size is?

I remember running across a blurb about FBSD-7 and above  require more 
space and supposedly won't fit on less than 512MB or something like that.


What are these specs?

And I feel like I should still be able to product an 8-20MB image for an 
embedded firewall/network appliance.


I am attempting to port my firewall and vpn appliance to a CF-Card, or 
to the user-loadable flash on this old PIII motherboard which runs this 
system.


I am having a bit of a time locating information in reference to this 
task, which does not reference 4.x and netbsd.


--
Respectfully,


Martes G Wigglesworth
M. G. Wigglesworth Holdings, LLC
www.mgwigglesworth.net

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


Re: How to label a GELI device

2011-01-25 Thread Rolf G Nielsen

2011-01-25 19:37, J. Porter Clark skrev:

On Tue, Jan 25, 2011 at 07:28:25PM +0100, Rolf Nielsen wrote:

X-Spam-Level:

2011-01-25 19:13, J. Porter Clark skrev:

On Tue, Jan 25, 2011 at 03:29:37PM +0100, Rolf Nielsen wrote:


Correct me if I'm wrong anyone.
You need to first label da0s1d

e.g. like so

glabel label data da0s1d

then geli init the labeled device

e.g. like so

geli init -l 256 -s 4096 label/data


Unfortunately, this step overwrites the label.


It does not. I just tested it with a file backed md device, and
hexdumped it after each step (creating the file, mdconfig it, label the
md device and encrypting it).
After the first two steps, I got just zeros, after labeling it, I got
the last sector containing the label, and after encrypting it, I got the
second last sector (i.e. the last sector of the labeled device)
containing the eli data and the last secor still containing the label.

If it does overwrite the label, you most likely specified the da0s1d to
the geli init command. You need to specify label/data (replace data
with the name you choose).


Ah!  That is, in fact, exactly what I did.  I didn't realize
that the glabeled device was actually shrunk by 1 sector.

Thanks!



You're welcome. Hope you got it working in the end. :)
___
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 can I implement true vps with FreeBSD as a host?

2010-12-31 Thread Martes G Wigglesworth


Greetings.

I have been searching for solutions to the problem of jails not being 
truly encapsulated environments.


I have looked at the Xen information for freebsd and it appears to be 
still a bit premature, as compared to NetBSD.


Does anyone have any good resources or advice on how to begin 
implementing true-vps functionality using FreeBSD as a host?


I am still researching what work has been completed on Xen-freebsd port, 
and am actually new to researching Xen in general, so any help would be 
much appreciated.


Thanks in advance, for any input.

--
Respectfully,


Martes G Wigglesworth
M. G. Wigglesworth Holdings, LLC
www.mgwigglesworth.net

___
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


XDM not showing login screen

2010-12-31 Thread Alain G. Fabry
Hi, I'm trying to get my XDMCP to work, but for some reason the XDM daemon 
doesn't reply to XDMCP requests.

I see the XDMCP packet arriving on my xdm server

harley# tcpdump port 177
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on bge0, link-type EN10MB (Ethernet), capture size 96 bytes
10:33:42.930750 IP 192.168.1.200.1291  255.255.255.255.xdmcp: UDP, length 7

All seems to be running ok
harley# ps ax | grep xdm
76517  ??  Ss 0:00.41 /usr/local/bin/X :0 -auth 
/usr/local/lib/X11/xdm/authdir/authfiles/A:0-Z5AiCR (Xorg)
76519  ??  Is 0:00.06 xdm: :0 (xdm)
 6040   2  S+ 0:00.00 grep xdm
 76515   5  I+ 0:00.01 xdm -nodaemon -debug 1


The XDM daemon does not reply with a login screen.

I've commented out the following in my xdm-config file
! DisplayManager.requestPort:   0

following in my Xaccess file
*   #any host can get a login window

xdm and X are running, and I see the following in my xdm.log file, even though 
I don't get a login screen, the log file indicates incorrect login

SetPrompt(1, NULL, LOGIN_PROMPT_ECHO_OFF(2))
SetPrompt(0, NULL, LOGIN_PROMPT_ECHO_ON(1))
source /usr/local/lib/X11/xdm/Xsetup_0
SetPrompt(0, NULL, LOGIN_PROMPT_NOT_SHOWN(0))
SetPrompt(1, NULL, LOGIN_PROMPT_NOT_SHOWN(0))
pam_msg: PAM_PROMPT_ECHO_ON (2): '   Login:'
SetPrompt(0,Login:, LOGIN_PROMPT_ECHO_ON(1))
RedrawFail('Login incorrect', 0)
dispatching :0
RedrawFail('Login incorrect', 0)

What more can I do to verify why it's not working, and what could be wrong.

Thanks,

Alain

___
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 can I implement true vps with FreeBSD as a host?

2010-12-31 Thread Martes G Wigglesworth


On 12/31/2010 07:26 PM, Da Rock wrote:
Have you checked into Xen specifically and how it works? 
I am currently researching how Xen works.  I am finding the top-level 
information a bit lacking in low-level information.


I came across the website with all the objects for Xen, however, I have 
yet to find implementation or developer information, so I still have 
some digging to do, obviously.


I have downloaded the pdf information, however, I have not gotten far 
enough into the docs to figure out what is actually needed to have Xen 
function as it should on FreeBSD.


I am also researching the different types or products to figure out what 
should be my target for the most investigation.
I think you're where I was at a while ago, and a little investigation 
will
change your mind.FWIW Xen is a hypervisor, and platforms need to be 
able to run in it, not the other way around. Have a read up on it anyway. 


I am still premature in my research of this platform, so I am still 
trying to figure out what is done by the Xen implementation that is not 
within the indigenous OS. (I assume that it encapsulates environments as 
would be needed for true virtual private services.)


Thanks for the dialogue, I am still very much premature in my research 
of this virtualization appliance project that I thought up for my 
environment, and it is nice to see some feedback.


--
Respectfully,


Martes G Wigglesworth
M. G. Wigglesworth Holdings, LLC
www.mgwigglesworth.net

___
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 can I implement true vps with FreeBSD as a host?

2010-12-31 Thread Martes G Wigglesworth


Just wanted to clarify:

I do understand that Xen runs under the dom0 OS however, I keep 
forgetting to use the correct terminology.


sorry about that.

I guess the requirement is that FreeBSD needs kernel work to run as a 
hypervisor-aware dom0 Operating system.


I may want to check on what I am really trying to do.

I really just want to have a fair, and/or encapsulation of jailed 
environments.


Is there really no other way to do this without running VBox?

Has anyone ever investigated a fair resource manager for jails on BSD 
before?


(I know this is probably a huge undertaking, but I figured that was the 
only third option that I came up with, prior to emailing the list...)


--
Respectfully,


Martes G Wigglesworth
M. G. Wigglesworth Holdings, LLC
www.mgwigglesworth.net

___
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 can I implement true vps with FreeBSD as a host?

2010-12-31 Thread Martes G Wigglesworth


On 12/31/2010 08:04 PM, Da Rock wrote:
Depends on what you mean by 'fair'. I think you can now determine CPU 
usage in jails, even allocate cores. I think the man pages can tell 
you more about that, and the docs on freebsd.org. You can unmask some 
devices within the jail and allow only certain jails and users to 
access it. And finally I think you can jail a jail now, so that might 
be useful- especially in CPU allocation. 


I was thinking about possible DoS issues with memory management, 
however, I have not read far enough into the Jails docs to find out if 
there is anything new in this arena.  I was actually considering the 
security aspects of memory overflows, etc


--
Respectfully,


Martes G Wigglesworth
M. G. Wigglesworth Holdings, LLC
www.mgwigglesworth.net

___
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: Can a home LAN server use a jail as a router?

2010-12-07 Thread Martes G Wigglesworth


On 12/05/2010 10:53 PM, Da Rock wrote:

Is it possible to use FreeBSD to create three jails on one
box, so that one jail can be a router to the internet, and the other
two can be webservers?
What you seem to need is to run the host as a router, and create two or 
three more jails on top of that router kernel.
The default should be a  router and the secondary functions should be 
the jail.
I think you just need to read a bit more on how jails are used on the 
BSD platform and it will be clear to you.



I wanted to create an environment where if one
webserver got compromised, the other webserver would be unaffected.

This would be the true use of jails in your environment.
You want to isolate web services such as Apache installs into jails so 
if they get compromised then you don't have to worry about the rest of 
the system becoming completely compromised.

So I would
also like to make a jail to be a samba server. 
I believe that you can install samba inside a jailed environment as 
well, however, I have never done this, so I am not familiar with how it 
will be done, however, I have a Bind-9 environment where the external 
internet interface serves the internet my public information, and there 
is a second jail which hosts dns for the internal segment. So I can see 
how Samba can be installed in a jail, and it would make appropriate 
sense to do so.


I hope this helps you in your investigation(s).

--
Respectfully,


Martes G Wigglesworth
M. G. Wigglesworth Holdings, LLC
www.mgwigglesworth.net

___
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: Build World fails on 7-stable with cvs sources

2010-12-02 Thread Martes G Wigglesworth


Greetings Mickael

I am now testing with the same sources tree on three different virtual 
machines to see if it will fail. If it won't, then I will just have to 
accept that one of the other poster's indications that it may be 
hardware related, is the cause, and look at replacing that equipment. So 
far, two of them are still running without error with the same sources 
tree. (Just started the third on another system for good measure.)


I am running them on different host architectures as both a test of the 
vm, and as a test to make sure that a clean install of 7.3-Release will 
not fail upon building world on them.


On 11/28/2010 10:14 PM, Michael Eubanks wrote:

Curious. What does your ``make'' command look like?

My make command is as follows:
make buildworld

I actually have the entire process built into a simple shell script 
which runs the commands and throws their output to log files, and then 
reports back to the central updater script with any errors at any 
level of the process. Nothing fancy, because I forgot that it was their 
about a month later when I didn't need to update anymore systems.


--

Respectfully,


Martes G Wigglesworth
M. G. Wigglesworth Holdings, LLC
www.mgwigglesworth.net

___
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 on Virtualbox: No network access

2010-12-02 Thread Martes G Wigglesworth


On 12/02/2010 09:03 PM, Weihang Wang wrote:

Now the guest OS does not have network access. When using ifconfig, the virtual 
ethernet card le0 (when using PCI II) or pcn0 (when using PCnet FAST III) has 
no IP address.

Have you attempted to select different available network interfaces?

I have a similar issue when I first started using virtualbox, and it was 
due to not having the correct interface drop-down option from within the 
Settings tab on the VirtualBox Gui. (Where all the VMs are listed.)


--
Respectfully,


Martes G Wigglesworth
M. G. Wigglesworth Holdings, LLC
www.mgwigglesworth.net

___
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


Build World fails on 7-stable with cvs sources

2010-11-28 Thread Martes G Wigglesworth


Greetings.

I have cvs'd to the most current 7-stable source tree and have compiled 
a kernel using these sources.
However, when I attempt to complete the buildworld process, I keep 
getting failures in the below-listed areas.


Does anyone know of an issue with these sources?  I see that this 
release is now considered legacy so I hope I am not at end of life on 
this source tree.


The system is just an edge router so I am just updating to the newest 
stable release due to the assumptions that there may be some fixes 
included in the sources.


I have my own patched ipfirewall sources, (don't feel like writing a 
script for ipfw to run and figure out why it isn't running at boot, 
etc),however, I have not installed them yet, since I have not 
patched anything on this test upgrade box, yet.


I have the full logs from build world and kernel build, if someone would 
like to see them. (very long, and don't fail until the point listed below)


The kernel kept failing as well, until I used the old method by hand, in 
the /usr/src/sys/i386/conf directory.


That is another question that I would like to ask.

Why am I able to compile and install a kernel just fine using the old 
method, however, using the make buildkernel... method fails on some 
obscure module that I usually don't even have included within the config 
file?


gnu/lib/libgomp (buildincludes)
sed -e 's/@OMP_LOCK_ALIGN@/4/g'  -e 's/@OMP_LOCK_KIND@/4/g'  -e 
's/@OMP_LOCK_SIZE@/4/g'  -e 's/@OMP_NEST_LOCK_ALIGN@/4/g'  -e 
's/@OMP_NEST_LOCK_KIND@/8/g'  -e 's/@OMP_NEST_LOCK_SIZE@/8/g'  
/usr/src/gnu/lib/libgomp/../../../contrib/gcclibs/libgomp/omp.h.in  omp.h

=== gnu/lib/libregex (buildincludes)
sed 's=posix/regex\.h=gnu/posix/regex.h=g'  
/usr/src/gnu/lib/libregex/regex.h  regex.h.patched

=== gnu/lib/libregex/doc (buildincludes)
=== gnu/lib/libreadline (buildincludes)
=== gnu/lib/libreadline/history (buildincludes)
=== gnu/lib/libreadline/history/doc (buildincludes)
=== gnu/lib/libreadline/readline (buildincludes)
=== gnu/lib/libreadline/readline/doc (buildincludes)
=== gnu/lib/libstdc++ (buildincludes)
Segmentation fault (core dumped)
*** Error code 139

Stop in /usr/src/gnu/lib.
*** Error code 1

Stop in /usr/src/gnu.
*** Error code 1

Stop in /usr/src/gnu.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

--
Respectfully,


Martes G Wigglesworth
M. G. Wigglesworth Holdings, LLC
www.mgwigglesworth.net

___
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


fsync: Linux vs FreeBSD

2010-10-26 Thread Marc G. Fournier


Someone recently posted on one of the PostgreSQL Blogs concerning fsync on 
Linux/Windows/Mac OS X, but failed to make any comments on any of the BSDs 
... the post has to do with how fsync works on the various OSs, and am 
curious as to whether or not this is something that also afflicts us:


http://rhaas.blogspot.com/2010/10/wal-reliability.html

From reading our man page, I see no warnings similar to what the other OSs 

have, specifically:

Mac OS X: For applications that require tighter guarantees about the
  integrity of their data, Mac OS X provides the F_FULLFSYNC fcntl

Linux: If the underlying hard disk has write caching enabled, then the
   data may not really be on permanent storage when fsync() /
   fdatasync() return.

So, do we hide the fact, or are, in fact, not afflicted by this?

Thanks ...


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

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


ghostscript-8.71 update

2010-08-24 Thread Alain G. Fabry
Trying to update ghostscript, but seems to fail. Can somebody provide me with 
info on how to solve this?


Here error during build of port

..
cc  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -O2 -fno-strict-aliasing 
-pipe -fPIC -DUPD_SIGNAL=0 -I.  
-I/usr/ports/print/ghostscript8/work/ghostscript-8.71/jasper/src/libjasper/include
  -I/usr/local/include/libpng  -I/usr/local/include  -Wall -Wstrict-prototypes 
-Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings 
-Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common 
-DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE=unsigned long long -O2 
-fno-strict-aliasing -pipe -DUSE_LIBPAPER -DGS_DEVS_SHARED 
-DGS_DEVS_SHARED_DIR=\/usr/local/lib/ghostscript/8.71\ -I./obj/../soobj 
-I./base  -g -o ./bin/../sobin/gsc ./psi/dxmainc.c -L./bin/../sobin -lgs
./bin/../sobin/libgs.so: undefined reference to `gx_default_buffer_page'
./bin/../sobin/libgs.so: undefined reference to `gx_default_start_render_thread'
./bin/../sobin/libgs.so: undefined reference to `clist_get_data'
./bin/../sobin/libgs.so: undefined reference to `gdev_prn_put_params'
./bin/../sobin/libgs.so: undefined reference to `gx_default_open_render_device'
./bin/../sobin/libgs.so: undefined reference to `gx_default_close_render_device'
./bin/../sobin/libgs.so: undefined reference to `cmd_clear_known'
./bin/../sobin/libgs.so: undefined reference to `gdev_prn_open'
./bin/../sobin/libgs.so: undefined reference to `gx_default_print_page_copies'
./bin/../sobin/libgs.so: undefined reference to `gx_default_size_buf_device'
./bin/../sobin/libgs.so: undefined reference to `cmd_write_ctm'
./bin/../sobin/libgs.so: undefined reference to `gs_clist_device_procs'
./bin/../sobin/libgs.so: undefined reference to `gx_default_setup_buf_device'
./bin/../sobin/libgs.so: undefined reference to `gx_default_get_space_params'
./bin/../sobin/libgs.so: undefined reference to `gdev_prn_get_params'
./bin/../sobin/libgs.so: undefined reference to `cmd_read_matrix'
./bin/../sobin/libgs.so: undefined reference to `clist_pattern_manage'
./bin/../sobin/libgs.so: undefined reference to 
`cmd_write_ctm_return_length_nodevice'
./bin/../sobin/libgs.so: undefined reference to `cmd_put_color_mapping'
./bin/../sobin/libgs.so: undefined reference to `gdev_prn_close'
./bin/../sobin/libgs.so: undefined reference to 
`clist_writer_check_empty_cropping_stack'
./bin/../sobin/libgs.so: undefined reference to `st_device_clist'
./bin/../sobin/libgs.so: undefined reference to `clist_playback_file_bands'
./bin/../sobin/libgs.so: undefined reference to `gx_default_destroy_buf_device'
./bin/../sobin/libgs.so: undefined reference to `gdev_prn_output_page'
./bin/../sobin/libgs.so: undefined reference to `clist_init_io_procs'
./bin/../sobin/libgs.so: undefined reference to `clist_put_data'
./bin/../sobin/libgs.so: undefined reference to `gx_default_create_buf_device'
./bin/../sobin/libgs.so: undefined reference to `gdev_prn_get_bits'
./bin/../sobin/libgs.so: undefined reference to `clist_end_page'
./bin/../sobin/libgs.so: undefined reference to `clist_data_size'
./bin/../sobin/libgs.so: undefined reference to `st_device_printer'
gmake[1]: *** [bin/../sobin/gsc] Error 1
gmake[1]: Leaving directory 
`/usr/ports/print/ghostscript8/work/ghostscript-8.71'
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portinstall20100824-60860-1222o6h-0 env make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! print/ghostscript8(linker error)
Command failed [exit code 1]: /usr/local/sbin/portinstall 
print/ghostscript8

___
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: Digital camera for FreeBSD

2010-07-18 Thread Rolf G Nielsen

2010-07-18 19:06, Polytropon skrev:

On Sun, 18 Jul 2010 12:21:42 -0400, Robert Amesroberta...@hotmail.com  wrote:


If such a thing does exist, can someone recommend a simple point
and shoot digital camera that you can connect to a FreeBSD machine
via a USB cable and have access to the images via a (presumably
MS-DOS based) filesystem?


Let me first make sure that I answer correctly: I do interpret your
question about a point and shoot digital camera as a question
regarding a photo camera primarily, not a movie camera. I hope
that's correct.

Nearly all cameras work - either by accessing the FAT file system
on the card (or internal memory), or by PTP commands - both should
be standard, and some cameras can even be switched from one to the
other standard.

I own the following (digital) cameras, all working with FreeBSD
(list position indicates quality, quite):
- Canon PowerShot S3 IS
- Kodak EasyShare CX6330
- HP PhotoSmart M407
- Mustek MDC 3500
- Aiptec Pencam (AEG Snap 300)

Basically, you can use nearly ANY camera with FreeBSD. It's just
important that at least ONE of the existing access standards is
supported by the camera - USB direct storage access or PTP
functionality.

(I'm concentrating on USB cameras here, allthough Firewire based
cameras should also work, but I don't own any, so I can't be more
precise about this interface.)

There's also a workaround you should know about: If the camera
does NOT allow you to access its files through the camera, you
often can eject a SD or CF card. Many PCs today include readers
for those media. And if the reader complies to USB standards, it
can be used with FreeBSD.





My Casio Exilim EX-S12 works perfectly, and identifies itself as a USB 
Mass Storage device, i.e. it gets a daX device node in /dev. I used to 
have an Olympus SP-500UZ, which also worked perfectly as a USB Mass 
Storage device. Neither of those are current models, but I doubt that 
either Casio or Olympus have stopped supporting USB Mass Storage (IIRC 
the Casio can be set to either USB Mass Storage or PTP).

___
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 problem?

2010-06-30 Thread Marc G. Fournier


Please try now, tested from here and works fine:

# /usr/local/etc/rc.d/bsdstats.sh start
Starting bsdstats.
Posting monthly OS statistics to rpt.bsdstats.org
#


On Wed, 30 Jun 2010, Chris Whitehouse wrote:


Fbsd8 wrote:

Anh Ky Huynh wrote:

On Tue, 29 Jun 2010 23:28:52 +0100
Chris Whitehouse cwhi...@onetel.com wrote:


Anyone else having problems with bsdstats?


I have the same problems here.


muji2# /usr/local/etc/rc.d/bsdstats.sh start
Starting bsdstats.
fetch: http://rpt.bsdstats.org/scripts/enable_token.php?key=...
No address record
fetch: http://rpt.bsdstats.org/scripts/report_system.php?token...
No address record
Posting monthly OS statistics to rpt.bsdstats.org
fetch: http://rpt.bsdstats.org/scripts/disable_token.php?key=...
No address record
...



The bsdstats server is off line. Maybe it's nolonger supported.


Probably is, there was a push to get some things sorted out recently. I have 
cc'd the illustrious leader.


Chris








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

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


Re: resize freebsd slice

2010-06-11 Thread Rolf G Nielsen

2010-06-11 19:17, Giorgos Tsiapaliokas skrev:

ok,but if i delete this 2 slices then i will delete my entire system..

then should i have to install it from the beggining,but i don't want to do
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





Read my previous description of how I would have approached the problem, 
and the answers shall come to you...


In case you don't know how to back up data, read the dump(8) and 
restore(8) man pages.


If you don't have access to any external space, e.g. a USB disk or 
network access to sufficient storage space, you may need to consider 
backing up only the important files from the /home partition and 
personalised config files from /etc and /usr/local/etc to a DVD, 
reinstall the system from scratch (the installation program lets you 
delete the s3 and s4 slices and create a new, bigger s3 slice), and then 
restore the backed up files.


If you don't even have a DVD recorder, try accessing the Linux slice. 
I've never used it myself, but FreeBSD should be able to access ext* 
file systems, and store the backup there. Do this BEFORE reinstalling.

___
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: Java plugin with Firefox 3.6

2010-06-07 Thread Márcio C . G .

As this link (http://forums.freebsd.org/showthread.php?t=10570) says, JAVA 
PLUGIN WONT WORK WITH FIREFOX 3.6.
I tried to use linux-sun-jdk16 port, but the plugin didn t work too.
Is there an workaround or anybody that knows how-to use java plugin within 
firefox 3.6?
 
Thanks in advance,
 
Marcio C. Goulart
 I'm just trying to figure out some way to make the plugin available in 
linux-sun-jdk16 work within Firefox 3.6. If it works in Firefox under Linux, 
probably should work with FreeBSD+Firefox 3.6+linuxulator etc. I guess.
If someone got an idea in that way, I would appreciate that.

Thanks in advace,

Márcio C. Goulart.
  
_
NINGUÉM PRECISA SABER O QUE VOCÊ ESTÁ COMPRANDO. LEIA MAIS SOBRE ESSE ASSUNTO 
AQUI.
http://www.microsoft.com/brasil/windows/internet-explorer/features/browse-privately.aspx?tabid=1catid=1WT.mc_id=1590___
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


Java plugin with Firefox 3.6

2010-06-06 Thread Márcio C . G .

As this link (http://forums.freebsd.org/showthread.php?t=10570) says, JAVA 
PLUGIN WONT WORK WITH FIREFOX 3.6.
I tried to use linux-sun-jdk16 port, but the plugin didn t work too.
Is there an workaround or anybody that knows how-to use java plugin within 
firefox 3.6?

Thanks in advance,

Marcio C. Goulart

  
_
QUER FICAR SEMPRE EM CONTATO COM SEUS AMIGOS? ACESSE O MESSENGER PELO SEU 
CELULAR.
http://celular.windowslive.com.br/messenger.asp?produto=Messengerutm_source=Live_Hotmailutm_medium=Taglineutm_content=QUERFICARS82utm_campaign=MobileServices___
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: Is this information obtainable?

2010-05-30 Thread Marc G. Fournier

On Mon, 31 May 2010, Anh Ky Huynh wrote:


On Mon, 31 May 2010 11:41:16 +0800
Aiza aiz...@comclark.com wrote:


I trying to estimate the number of Freebsd computers.
To gauge a rough range size.


This may help: http://www.bsdstats.org/ :)


BSDstats has a very long way to go before the numbers start to look 
rasonable ... for PCBSD, the #s are pretty reasonable, because they set it 
up so that its auto-enabled when  you intall ... for FreeBSD, the numbers 
aren't even close, since ppl have to manually install it ...


the numbers are growing ... since the start of May, I've seen the numbers 
jump by almost 2k new computers, so it is growing ... but ppl have to 
consciously install the software ...



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

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


Re: Is this information obtainable?

2010-05-30 Thread Marc G. Fournier

On Mon, 31 May 2010, Anh Ky Huynh wrote:


the numbers are growing ... since the start of May, I've seen the
numbers jump by almost 2k new computers, so it is growing ... but
ppl have to consciously install the software ...


I remember the days when I was using Linux with http://counter.li.org/ 
(my ID is 392115). Anonymousness is good but I think that I'll be proud 
of having a counter for my (Free)BSD box :) Why don't bsdstat support 
registration?


one of the critical requirements that alot of ppl out there had at the 
start was anonymity ... not so much that they weren't proud to run *BSD, 
but for safety ... there is nothing in the database that can be traced 
back to the source, nor that can be spammed ...


Also, easy of use was a big factor ... registration is just yet another 
step that ppl (myself included) generally just don't bother with ... it 
really doesn't give you much, and discourages alot of ppl from doing it 
...


... and, in the case of PCBSD, would make it harder to have it 
auto-enabled, since it couldn't be enabled without the end user 
registering first, which most wouldn't do ...



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

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


Re: How long do you go without upgrading FreeBSD to a newer release?

2010-05-27 Thread Marc G. Fournier

On Thu, 20 May 2010, Mehmet Erol Sanliturk wrote:


(i) install onto a new computer , test it , and if it is working very well
transfer data onto
new system , and keep old system for a new release/update cycle .
This step is most suitable for production systems exposed to outer
world .
(ii) attach a new hard disk to the computer , copy all of the present files
to the new
system ,
   update it , test it , if it is successful , use previous hard disk for a
new release/update
   cycle ,
(iii) back-up all of the data , and try update . Testing suitability may
take a long time .

In steps (ii) and (iii) , do not load new data during tests , because at the
end , all of them may be destroyed .
( No one of the above steps are suitable for a proprietary , activation
based operating system because they are not allowing so many computer and/or
hard disk changes . )

Therefore , the problem is a system analysis and design process .



In my case, I have nagios setup to advise me when its been 60 days since 
last upgrade and perform an upgrade religiously when the alarm is sounded 
... have had this policy for *years* now without regret ...



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

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


BSDStats: Status Report

2010-05-25 Thread Marc G. Fournier


News:

Its been almost three weeks since we fixed a bug with the stats collector 
that was causing alot of reportings to get lumped under 'Panama', and our 
numbers are back up (or above) where they were before we effectively 
re-set the statistics.


At the suggestion of one person, we have setup an internal mailing list 
that can be used for bug reports / future developments, so that we do not 
have to deal with a whole bunch of different mailing lists.


To subscribe, please send an email to:

general-subscr...@bsdstats.org

In order to reduce the potential for spam, this is a closed list ... you 
have to be subscribed to post to it ...


===

Status:

As of this posting, we are getting reports in from all the *BSD variants:

  PCBSD  4 872
  FreeBSD1 627
  DesktopBSD   154
  NetBSD43
  OpenBSD   15
  DragonflyBSD  14
  MidnightBSD3
  MirBSD 3


Country wise, we are seeing reports from 102 countries, with the top 10 
countries currently being:


  United States  1 421 (popular: PCBSD)
  Russian Federation   648 (popular: PCBSD)
  Germany  459 (popular: PCBSD)
  Panama   451 (popular: FreeBSD)
  Australia328 (popular: FreeBSD)
  Ukraine  307 (popular: PCBSD)
  Japan232 (popular: PCBSD)
  United Kingdom   190 (popular: PCBSD)
  Italy174 (popular: PCBSD)
  France   169 (popular: PCBSD)


For more information on the project, please visit http://www.bsdstats.org

The sites includes basic instructions for installing / running on the 
various *BSDs ...


If you have any problems, please let me know ...


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

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


BSDStats: Project Status on May 13th, 2010

2010-05-13 Thread Marc G. Fournier


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-BSD2 357 hosts
 FreeBSD   1 243 hosts
 DesktopBSD   78 hosts
 NetBSD   34 hosts
 OpenBSD  12 hosts
 DragonFly 9 hosts
 MirBSD0 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
 Panama332
 Russian Federation332
 Australia 271
 Germany   204
 Ukraine   173
 Japan 121
 Canada101
 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 ...


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

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


Re: Addition to BSDstats

2010-05-09 Thread Marc G. Fournier

On Sun, 9 May 2010, Chad Perrin wrote:


On Fri, May 07, 2010 at 02:56:49PM -0300, Marc G. Fournier wrote:


Maybe some sort of 'Server Running *BSD' icon / link from web sites to
bsdstats.org would help too ...


Not all BSD Unix systems are servers.


True, but, then again, few desktops users probably run web servers to 
display such an icon on :)


But, that said, we're looking at something like either 'Member of' or 
'Contributor to' instead ...



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

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


Re: BSDstats website displaying data incorrectly

2010-05-09 Thread Marc G. Fournier


Just to elaborate on the issue ... it looks like both of those pages are 
using different QUERIES to the database ... in the former, it is using a 
system view that I was able to update after we fixed the issue with 
country reporting, such that it doesn't show records older then that date 
... the latter page is pulling the data via a different method (which 
Bobby is looking into) so that its actually pulling in older date (ie. a 
two months average vs just the past 10 days or so) ...


Both are accurate, just different time periods ...

On Sun, 9 May 2010, Bobby Walker wrote:



On May 9, 2010, at 7:53 PM, Aiza wrote:


Bobby Walker wrote:



On Thu, 6 May 2010, Fbsd1 wrote:

Why does this page show PCBSD has count of 387
http://www.bsdstats.org/bt/home.html?os=
And this page shows PCBSD has count of 1307
http://www.bsdstats.org/bt/home.html?os=PC-BSD
Why is this? I would think both should show the same value, or you
better add explanation to the web page why the count is different.

This was a database setup problem, and I've updated the code to pull out of the 
proper database.   if anyone notices any other discrepancies please let me know.
Thanks,
Bobby___
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

Why does
http://www.bsdstats.org/
and
http://bsdstats.hub.org/bt/home.html?os=FreeBSD
still show different counts if you fixed this problem?


I made the correction on the development site and did not have any issues.  In 
fact, I still don't have problems with it at all.  On the live site, though, 
there's something amiss with the way the template system is interacting with 
the database.  So, I'm trying to track down the problem.

Here are my temporary hurdles, I'm still wading through the template system.  
The more familiar I get with the layout of that, the faster things seem to go.  
And I usually get an hour or so a day to work with it.  But, I am plugging away 
at it.

I'll post an update when I isolate the erroneous problems.  Thanks for the 
heads up!

-- Bobby


___
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




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

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


Re: Addition to BSDstats

2010-05-07 Thread Marc G. Fournier


Maybe some sort of 'Server Running *BSD' icon / link from web sites to 
bsdstats.org would help too ...


On Fri, 7 May 2010, Chip Camden wrote:


I like that idea.

On May 07 2010 09:37, Fbsd1 wrote:

Marc G. Fournier wrote:

On Thu, 6 May 2010, Robert Huff wrote:



The problem with not including bsdstats in sysinstall or some
other means of bringing it to peoples attention is that it gets
forgotten and loses its effectiveness. Maybe it could go in the
 monthly subscription list reminder.





I think everyone agrees that bsdstats needs more visibility right from
the virgin install. Since its not appropriate to include bsdstats in the
sysinstall program. How about getting the RELEASE team to change the
content of the default logon message of the day /etc/motd, to advocacy
installing the bsdstats package. What do you think about this idea?
___
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


--
Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.com
___
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




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

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


Re: Addition to BSDstats

2010-05-07 Thread Marc G. Fournier


I was just thinking about it, and one point that I don't know if I've ever 
made (or haven't made in awhile) is that BSDStats looks at who is *using* 
a *BSD variant, not who *was* ... it relies on being run *at least* once a 
month for a server to be counted ... if you run it once and never run it 
again, you only count for that *period*, but fall off the radar relatively 
quickly.


Basically, if someone installed FreeBSD 2 years ago, installed the port 
and then switched to Linux a year later, even though they are still listed 
in the system, they are not part of the 'current' states, as they are no 
longer reporting ...


That is why the initial install puts it into 
/usr/local/etc/periodic/monthly, so that it hopefully gets run *at least* 
at the beginning of each month ... it can be run more often over the 
month, it will still count as *1* install, but it needs to be run *at 
least* once a month for a machine to continue to be counted ...



On Fri, 7 May 2010, Marc G. Fournier wrote:



Maybe some sort of 'Server Running *BSD' icon / link from web sites to 
bsdstats.org would help too ...


On Fri, 7 May 2010, Chip Camden wrote:


I like that idea.

On May 07 2010 09:37, Fbsd1 wrote:

Marc G. Fournier wrote:

On Thu, 6 May 2010, Robert Huff wrote:



The problem with not including bsdstats in sysinstall or some
other means of bringing it to peoples attention is that it gets
forgotten and loses its effectiveness. Maybe it could go in the
 monthly subscription list reminder.





I think everyone agrees that bsdstats needs more visibility right from
the virgin install. Since its not appropriate to include bsdstats in the
sysinstall program. How about getting the RELEASE team to change the
content of the default logon message of the day /etc/motd, to advocacy
installing the bsdstats package. What do you think about this idea?
___
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


--
Sterling (Chip) Camden | camdensoftware.com | chipstips.com | 
chipsquips.com

___
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





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

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org




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

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


Re: Addition to BSDstats

2010-05-07 Thread Marc G. Fournier


Actually: Contributor to BSDStats sounds better / easier to understand

On Fri, 7 May 2010, Marc G. Fournier wrote:



Maybe some sort of 'Server Running *BSD' icon / link from web sites to 
bsdstats.org would help too ...


On Fri, 7 May 2010, Chip Camden wrote:


I like that idea.

On May 07 2010 09:37, Fbsd1 wrote:

Marc G. Fournier wrote:

On Thu, 6 May 2010, Robert Huff wrote:



The problem with not including bsdstats in sysinstall or some
other means of bringing it to peoples attention is that it gets
forgotten and loses its effectiveness. Maybe it could go in the
 monthly subscription list reminder.





I think everyone agrees that bsdstats needs more visibility right from
the virgin install. Since its not appropriate to include bsdstats in the
sysinstall program. How about getting the RELEASE team to change the
content of the default logon message of the day /etc/motd, to advocacy
installing the bsdstats package. What do you think about this idea?
___
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


--
Sterling (Chip) Camden | camdensoftware.com | chipstips.com | 
chipsquips.com

___
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





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

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




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

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


Re: Addition to BSDstats

2010-05-06 Thread Marc G. Fournier

On Thu, 6 May 2010, Robert Huff wrote:



Chris Whitehouse writes:


 The problem with not including bsdstats in sysinstall or some
 other means of bringing it to peoples attention is that it gets
 forgotten and loses its effectiveness. What about a monthly (3
 monthly, whatever) reminder saying what bsdstats is about and the
 reasons for installing it. Maybe it could go in the monthly list
 subscription reminder.


As part of the installation process, offer to add a crontab
entry?


The problem, as I get from Randi, isn't adding the crontab entry (its not 
required anyway), but that since 300.statistics isn't in 
/etc/periodic/monthly by default, sysinstall would have to do a pkg_add of 
the port to get it installed first, *then* add the appropriate entries to 
both /etc/periodic.conf and /etc/rc.conf so that it runs ...


The latter two are doable, but havin to do a pkg_add seems to be the part 
that is being frowned on ...



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

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


Re: Hardware vendor

2010-05-06 Thread Marc G. Fournier


iXSystems (http://www.ixsystems.com/) ... they are a BSD shop,period ...

Been dealing iwth them a couple of years now for production servers, 
haven't been disappointed yet ...


On Thu, 6 May 2010, Lonnie CasaDeCalvo wrote:


Hi,

Can you make a recomondation to a hardware supplier that will preinstall
FreeBSD on there server hardware?
I see some hardware vendors on the website but I am not finding one that
will preinstall and support.

Thanks,
Lonnie CasaDeCalvo
Graphic Systems, Inc.
2632 26th Ave So
Minneapolis, MN 55406
612-721-6100
___
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




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

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


Re: Addition to BSDstats

2010-05-05 Thread Marc G. Fournier

On Wed, 5 May 2010, Chris Whitehouse wrote:


Marc G. Fournier wrote:


can you tell me two things:

nslookup rpt.bsdstats.org

and the contents of /var/db/bsdstats


I seem to have probs with mine too. I was under the impression that bsdstats 
was installed by default (in the base system?) so for a very long time I 
haven't installed it. Obviously I was wrong.


So I've just installed from ports then run:

muji2# /usr/local/etc/periodic/monthly/300.statistics -nodelay
fetch: 
http://rpt.bsdstats.org/scripts/getid.php?key=: 
Connection refused

Posting monthly OS statistics to rpt.bsdstats.org


That one would be a result of the change(s) I made last night to deal with 
everything being recorded as 'Country == Panama' ... it waas a DNS change 
that took a bit to propogate out ...


But www.bsdstats.org/bt/countries.html is still showing only 3 FreeBSD in UK. 
Will it right itself later?


Can you send me your key?  Its still showing just 3 FBSD, but that page 
has definitely been updating in #s, so not sure why it didnt jump to 4 ...


I did narrow down the view in the database from 3 mos to 'just this month' 
so that the country numbers do look accurate, but will re-extend things as 
time goes on with the cleaned up #s ...



BTW, I can't get the Ports Stats page on the website.


I'm going to have to look at re-enabling that one ... that table is so 
huge that processing it was killer ... I've since moved things to a much 
larger server, so will run some tests and get that back online ...



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

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


Re: Addition to BSDstats

2010-05-05 Thread Marc G. Fournier

On Wed, 5 May 2010, Chris Hill wrote:

Since we're on the topic, and in light of Fbsd1's recent adventure... 
Panama seems awfully high in the country stats. I understand what you 
said upthread about haproxy being in Panama, but it's a small country to 
be always at the top; maybe there's some way to differentiate between 
really in Panama and don't know? It also seems odd that I, 
personally, as a home user, should be responsible for about 3% of the 
bsdstats-reporting FreeBSD machines in the US. (3 hosts out of 101)


You will see those numbers dropping over the course of the month ... if 
ppl out there are reading this and wish to help 'fix the numbers', just 
run:


/usr/local/etc/periodic/monthly/300.statistics -nodelay

to update their records with the right country vs Panama, and you'll see 
it change quickly ... you'll even notice that the overall numbers right 
now are quick low, as I narrowed down the view to just 'so far this 
month' to help bring down the Panama skew, so there is no overlap right 
now with last month ...


The PC-BSD #s are the ones that really skew'd those numbers up though, 
since theirs is auto-installed and always up to date, so unlike alot of 
FBSD users that have old versions installed pointing directly to the 
physical server, the PC-BSD ones were pointing to the load balancer ... 
DNS will have to catch up for them 





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

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


Re: Addition to BSDstats

2010-05-05 Thread Marc G. Fournier

On Wed, 5 May 2010, Chris Whitehouse wrote:

I seem to have probs with mine too. I was under the impression that 
bsdstats was installed by default (in the base system?)


There has been talk about adding it as an option to sysinstall, but, 
unfortunately, I don't have enough knowledge of sysinstall to add it, and 
nobody else has step'd forward that does ... the idea wasn't to 
auto-install/enable, but to make it more visible while you are installing 
...


Anyone out there able to do this ... ?

so for a very 

long time I haven't installed it. Obviously I was wrong.

So I've just installed from ports then run:

muji2# /usr/local/etc/periodic/monthly/300.statistics -nodelay
fetch: 
http://rpt.bsdstats.org/scripts/getid.php?key=: 
Connection refused

Posting monthly OS statistics to rpt.bsdstats.org

(Not sure if publishing the key is a security risk so replacing it with x's)

A bit later

muji2# /usr/local/etc/periodic/monthly/300.statistics -nodelay
Posting monthly OS statistics to rpt.bsdstats.org

But www.bsdstats.org/bt/countries.html is still showing only 3 FreeBSD in UK. 
Will it right itself later?


BTW, I can't get the Ports Stats page on the website.

Chris





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

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


Re: BSDstats website displaying data incorrectly

2010-05-05 Thread Marc G. Fournier

On Thu, 6 May 2010, Fbsd1 wrote:



Why does this page show PCBSD has count of 387
http://www.bsdstats.org/bt/home.html?os=

And this page shows PCBSD has count of 1307
http://www.bsdstats.org/bt/home.html?os=PC-BSD

Why is this? I would think both should show the same value, or you 
better add explanation to the web page why the count is different.


As was explained earlier, normal operation looks at the past couple of 
months, to deal with cases, where, for instance, someone has it set to 
only report on reboot, but not monthly ... due to the countries issue that 
you pointed out, I made a slight change while things restabilize so that 
it is only showing this month's stats ... I will expand it again as the 
old data for countries fades away ...


The descrepancy above is due to the sub-OS pages not using the same DB 
query as the upper one, and as I didn't do the web front end, and the 
person who did is no longer around, I have to figure out *how* the code he 
wrote works, especially for those sub pages (template system, as there is 
no /bt/ file system *on* the server ...


As to the rest ... especially the comments about the web site itself ... 
feel like stepping into the breach on that one?  I have no creative talent 
for doing a web page, which is why I recruited someone way back when ...



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

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


Re: Addition to BSDstats

2010-05-05 Thread Marc G. Fournier

On Wed, 5 May 2010, Randi Harper wrote:


Marc G. Fournier wrote:

On Wed, 5 May 2010, Chris Whitehouse wrote:

I seem to have probs with mine too. I was under the impression that 
bsdstats was installed by default (in the base system?)


There has been talk about adding it as an option to sysinstall, but, 
unfortunately, I don't have enough knowledge of sysinstall to add it, and 
nobody else has step'd forward that does ... the idea wasn't to 
auto-install/enable, but to make it more visible while you are installing 
...


Anyone out there able to do this ... ?


I have not heard any talk about this up until this email.


Its been brought up a few times over the past couple of years ...

I wouldn't want to add an option to sysinstall for this unless bsdstats 
was part of base.


Since it is just a script that was designed specifically so that it 
doesn't require any other ports to be installed, *in theory* it could just 
be dump'd into /etc/periodic/monthly without any issues ...


But, if it were ... unlike PC-BSD, it would have to be opt-in, not opt-out 
... based on all of the discussions in the past, and I agree, nobody would 
appreciate (and outcry would be heavy) if someone were to add an 'opt-out 
phone home script' that they didn't consciously enable ...




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

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


6-STABLE + quagga/zebra == Can't bind to stream socket

2010-05-04 Thread Marc G. Fournier


In order to deal with a lack of layer 3 switch, last week I installed 
Quagga/OSPF on all of my servers, and got it configured.  Works *great* on 
my 7.x servers, but, using the same config (and port), my 6-STABLE boxes 
all generate the same error when I try and start up zebra:


2010/05/01 01:44:18 ZEBRA: Can't bind to stream socket: Can't assign
requested address
2010/05/01 01:44:18 ZEBRA: zebra can't provice full functionality due to
above error
2010/05/01 01:44:18 ZEBRA: Zebra 0.99.15 starting: v...@2601

So ospfd isn't able to announce / receive routes ...

My zebra.conf file looks like:

!
interface em0
 no shutdown
 ip address 200.46.204.60/24
!
interface em1
!
interface lo0
!
ip route 0.0.0.0/0 200.46.208.1
!
ip forwarding
!
line vty

The top bit of ifconfig shows:

ifconfig em0 | less
em0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
inet 200.46.204.60 netmask 0xff00 broadcast 200.46.204.255
inet 200.46.208.60 netmask 0xff00 broadcast 200.46.208.255
inet 192.168.1.7 netmask 0xff00 broadcast 192.168.1.255
inet 200.46.204.183 netmask 0x broadcast 200.46.204.183


Other then appropriate interface/IP on the 7-STABLE boxes, the 7-STABLE
boxes all work fine ... is there an issue with em/fxp devices and zebra on
6-STABLE/i386? Or am I overlooking something in my config?

Thx ...

___
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: Addition to BSDstats

2010-05-04 Thread Marc G. Fournier


The backend to bsdstats.org is load balanced behind an haproxy backend, 
with only the IP of haproxy being passed back into it ... one of the key 
issues that was brought up from day one was security and anonymity(sp?) of 
those submitting, and we've taken that *very* seriously ... other then the 
tokens that are passed back to present individual systems, we do not 
record anything (or see anything) about the reporting servers ...




On Tue, 4 May 2010, Steve Bertrand wrote:


Marc, et-al,

I wasn't originally going to post this to the list, but I thought that
it would be useful to do so in order to try to solicit feedback.

There's a suggestion that I have for the server-side of bsdstats. I
would find it very useful if the server could track the % of the
reporting connections that come in over IPv6, and include that on the
website front page.

Of course, this would require that rpt.bsdstats.org reside on a reliable
IPv6 network, and code changes to the server-side software. (if the code
is Perl, I'll gladly take a look at it ;)

I'm not interested in the actual addresses of the sending hosts, just
whether the address contains a '.' or ':'.

Cheers,

Steve







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

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


Re: Addition to BSDstats

2010-05-04 Thread Marc G. Fournier

On Wed, 5 May 2010, Fbsd1 wrote:


BSDSTATS is dead. Don't waste your time.


Not dead, still very active with reports in daily ...

I am a retired American who is now living in the Philippines. All during 
RELEASE 7.0, 7.1, 7.2, and now 8.0 I have been running the bsdstats port 
on my single system. Yesterday I checked the http://bsdstats.org website 
by country and to my great surprise there are no Freebsd systems listed 
in the Philippines. Also the previous months reports are no longer shown 
on the website and the port stats don't show at all. This is not the 
results talked about on this list when the bsdstats project was trying 
to get Freebsd participation 3 years ago.


Most odd ... what is in your /var/db/bsdstats file ... ?  I've had no 
reports of problems in many months now ...



What good is participation if there are no real-time results.


The results are realtime ... generated directly out of the database ...


I removed bsdstats from my system and the port should be removed from the 
ports system.
I also emailed Marc G. Fournier scra...@hub.org the author and never 
received a reply. That is the best sign that bsdstats is dead.


Huh?  I don't recall any emails about issues that I've not answered :(


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

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


Re: Addition to BSDstats

2010-05-04 Thread Marc G. Fournier

On Tue, 4 May 2010, Marc G. Fournier wrote:


On Wed, 5 May 2010, Fbsd1 wrote:

Most odd ... what is in your /var/db/bsdstats file ... ?  I've had no 
reports of problems in many months now ...


Don't worry about it, found and fixed that bug ... it had to do with 
trying to masquarade behind haproxy, so it looked like all systems were 
coming in from Panama if they were running the newest code ... which means 
alot of ppl out there were running *old* code ...


Basically, by setting up haproxy to load balance, all IPs hitting the 
backend were, as mentioned before, masquaraded ... but, of course, that 
means that when Geo::IP trying to determine country of origin, it always 
reports for the country of origin of the haproxy IP (Panama) ...


I've fix this ... still not recording IP, but at least the PHP script 
determing country basis it on the proper IP, not the haproxy IP ...


No changes required on the client side, as things will normalize over the 
course of the next month as ppl report in ...


If anyone on FreeBSD wishes to 'force an update':

  /usr/local/etc/periodic/monthly/300.statistics -nodelay

will push it through ...



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

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


Re: Addition to BSDstats

2010-05-04 Thread Marc G. Fournier

On Tue, 4 May 2010, Gary Kline wrote:


On Tue, May 04, 2010 at 09:12:21PM -0300, Marc G. Fournier wrote:

On Wed, 5 May 2010, Fbsd1 wrote:


BSDSTATS is dead. Don't waste your time.


Not dead, still very active with reports in daily ...




i see a golden opportunity here, marc.  why not post the
basic onlist now?  i've been signed up for a long while and
have never checked ... be nice to see the latest stats.


Stats are updated real time ... just go to http://www.bsdstats.org ...

The only stats that aren't working right now are the ports ones, not sure 
why we disabled that one, but suspect alot of it is size / load time 
related ... the database is *huge* for that ... I'm going to have to look 
into that one ...



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

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


Re: Addition to BSDstats

2010-05-04 Thread Marc G. Fournier


can you tell me two things:

nslookup rpt.bsdstats.org

and the contents of /var/db/bsdstats

the results should have showed up instantly on the web site ... but, just 
checking the database, I do find a connection from PH  today at 2010-05-05 
03:30:12.196478 ... and the country stats does show it:


#47  	PH Philippines	 	 	1	 	 	 	2 
3


Even on the FreeBSD specific screen:

#55 PH Philippines  1   0.03 %

If you can send me the output of /var/db/bsdstats though,I can confirm 
that it is, in fact, your host that reported ...


On Wed, 5 May 2010, Fbsd1 wrote:


Marc G. Fournier wrote:

On Tue, 4 May 2010, Marc G. Fournier wrote:

Don't worry about it, found and fixed that bug ... it had to do with trying 
to masquarade behind haproxy, so it looked like all systems were coming in 
from Panama if they were running the newest code ... which means alot of 
ppl out there were running *old* code ...


Basically, by setting up haproxy to load balance, all IPs hitting the 
backend were, as mentioned before, masquaraded ... but, of course, that 
means that when Geo::IP trying to determine country of origin, it always 
reports for the country of origin of the haproxy IP (Panama) ...


I've fixed this ... still not recording IP, but at least the PHP script 
determing country basis it on the proper IP, not the haproxy IP ...


No changes required on the client side, as things will normalize over the 
course of the next month as ppl report in ...


If anyone on FreeBSD wishes to 'force an update':

  /usr/local/etc/periodic/monthly/300.statistics -nodelay

will push it through ...





Just did pkg_add -r bsdstats followed by
/usr/local/etc/periodic/monthly/300.statistics -nodelay

Still don't see any Freebsd systems listed for the Philippines on the 
website.


What is YOUR definition of REAL-TIME.




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

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


Re: How to determine /dev/ad* from mount label

2010-04-27 Thread Mark G.

On 04/27/2010 00:04, Carl Johnson wrote:

Mark G.mark-fbsd-quest-10+20100...@giovannetti.ca  writes:

[...]

I just wanted to know if there was a utility to tell me
which actual device was mounted.  I also tried camcontrol devlist
and atacontrol list.  The latter allowed me to determine that
/dev/label/rootfs0 is ad2s1a based on the actual disk size
and a process of elimination.

Does anyone know a magic incantation to output this label-device
mapping?


Try looking at glabel(8).  I don't know what option will list which is
mounted, but 'glabel status' shows the names and what partitions they
are associated with.



That's the ticket, I knew I was missing something.  Thanks!

Mark
___
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 to determine /dev/ad* from mount label

2010-04-26 Thread Mark G.

Hi,

I've tried the mount, tunefs and df manuals, and don't know
where to look next.

I am trying to find out what device, in terms of /dev/ad0s1a
and so on, is actually 'connected' to a label mounted file
system.  Here is my fstab (from PC-BSD, by the way):

# more /etc/fstab
# Device  Mountpoint   FStype  Options Dump Pass
/dev/label/rootfs0  /  ufs rw,noatime  1   1
/dev/label/swap0none   swapsw  0   0
/dev/label/var0 /var   ufs rw,noatime  1   1
/dev/label/usr0 /usr   ufs rw,noatime  1   1
procfs  /proc  procfs  rw  0   0
linprocfs   /compat/linux/proc linprocfs rw0   0
tmpfs   /tmp   tmpfs   rw,mode=17770   0

I just wanted to know if there was a utility to tell me
which actual device was mounted.  I also tried camcontrol devlist
and atacontrol list.  The latter allowed me to determine that
/dev/label/rootfs0 is ad2s1a based on the actual disk size
and a process of elimination.

Does anyone know a magic incantation to output this label-device
mapping?

Thanks
Mark

P.S. The latest FreeBSD 8 under PC-BSD is really quite good.
My thanks to everyone involved.  Picked up a copy at the
freebsdmall with the guide.  Excellent.
___
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: bizarre mount_nullfs issue with jails / ezjail

2010-04-07 Thread Mars G Miro
On Wed, Apr 7, 2010 at 2:28 PM, Dan Naumov dan.nau...@gmail.com wrote:
 An additional question: how come sade and sysinstall which are run
 inside the jail can see (and I can only assume they can also operate
 on and damage) the real underlying disks of the host?


 Disks (as well as others you have in your host's /dev) aren't visible
 inside jails.

 Well, somehow they are on my system.

 I guess I should've also clarified that the jail was installed using
 ezjail and not completely manually

 From /usr/local/etc/ezjail/semipublic

 export jail_semipublic_devfs_enable=YES
 export jail_semipublic_devfs_ruleset=devfsrules_jail


Well I'm not entirely familiar w/ ezjail but I use jails all the time,
and I can tell you that /dev in jails is very limited, here's a /dev
jail of mine:

m...@spry9:~ ls -al /dev/
total 2
crw-rw-rw-  1 root  wheel0,  58 Mar 27 03:02 crypto
dr-xr-xr-x  2 root  wheel   512 Mar 27 03:12 fd
dr-xr-xr-x  2 root  wheel   512 Mar 30 20:00 iso9660
lrwxr-xr-x  1 root  wheel14 Mar 27 03:12 log - ../var/run/log
crw-rw-rw-  1 root  wheel0,  33 Apr  7 14:33 null
crw-rw-rw-  1 root  wheel0,   7 Mar 27 03:02 ptmx
dr-xr-xr-x  2 root  wheel   512 Mar 27 03:22 pts
crw-rw-rw-  1 root  wheel0,  10 Mar 27 11:12 random
lrwxr-xr-x  1 root  wheel 4 Mar 27 03:12 stderr - fd/2
lrwxr-xr-x  1 root  wheel 4 Mar 27 03:12 stdin - fd/0
lrwxr-xr-x  1 root  wheel 4 Mar 27 03:12 stdout - fd/1
lrwxr-xr-x  1 root  wheel 6 Mar 27 03:12 urandom - random
crw-rw-rw-  1 root  wheel0,  34 Mar 27 03:02 zero
m...@spry9:~

So I guess it's a configuration issue w/ your jails.

 - Sincerely,
 Dan Naumov




-- 
cheers
mars
-
___
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: bizarre mount_nullfs issue with jails / ezjail

2010-04-06 Thread Mars G Miro
On Wed, Apr 7, 2010 at 5:43 AM, Dan Naumov dan.nau...@gmail.com wrote:
 On Wed, Apr 7, 2010 at 12:37 AM, Glen Barber glen.j.bar...@gmail.com wrote:
 Hi Dan,

 Dan Naumov wrote:
 So, I want the basejail to only contain the world and link the ports
 tree from the host into each individual jail when it's time to update
 the ports inside them, but I am running into a bit of a bizarre issue:
 I can mount_nullfs /usr/ports elsewhere on the host just fine, but it
 doesn't work if I try to mount_nullfs it to /usr/ports inside the
 jail:

 mount_nullfs /usr/ports/ /usr/ports2

 df -H | grep ports
 cerberus/usr-ports                34G    241M     34G     1%    /usr/ports
 cerberus/usr-ports-distfiles      34G      0B     34G     0%
 /usr/ports/distfiles
 cerberus/usr-ports-packages       34G      0B     34G     0%
 /usr/ports/packages
 /usr/ports                        34G    241M     34G     1%    /usr/ports2

 mount | grep ports
 cerberus/usr-ports on /usr/ports (zfs, local)
 cerberus/usr-ports-distfiles on /usr/ports/distfiles (zfs, local)
 cerberus/usr-ports-packages on /usr/ports/packages (zfs, local)
 /usr/ports on /usr/ports2 (nullfs, local)

 mount_nullfs /usr/ports/ /usr/jails/semipublic/usr/ports
 mount_nullfs: /basejail: No such file or directory

 What is going on here? I also note that the error actually wants a
 /basejail on the host, which is even more bizarre:

 mount_nullfs /usr/ports/ /usr/jails/semipublic/usr/ports
 mount_nullfs: /basejail: No such file or directory

 mkdir /basejail

 mount_nullfs /usr/ports/ /usr/jails/semipublic/usr/ports
 mount_nullfs: /basejail/usr: No such file or directory

 Yet, this works:

 mkdir /usr/jails/semipublic/test
 mount_nullfs /usr/ports/ /usr/jails/semipublic/test
 umount /usr/jails/semipublic/test

 Any ideas?



 The ports directory in an ezjail is a link to /basejail/usr/ports (in the
 jail).

 Breaking the link (from the host) allows the mount to work successfully.

 orion# ll usr/ports
 lrwxr-xr-x  1 root  wheel  19 Mar  8 18:06 usr/ports - /basejail/usr/ports
 orion# unlink usr/ports
 orion# mkdir usr/ports
 orion# mount_nullfs /usr/ports usr/ports
 orion#

 Regards,

 --
 Glen Barber

 Thanks for the tip.

 An additional question: how come sade and sysinstall which are run
 inside the jail can see (and I can only assume they can also operate
 on and damage) the real underlying disks of the host?


Disks (as well as others you have in your host's /dev) aren't visible
inside jails.

 - Sincerely
 Dan Naumov
 ___
 freebsd-j...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-jail
 To unsubscribe, send any mail to freebsd-jail-unsubscr...@freebsd.org




-- 
cheers
mars
-
___
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: Endianness

2010-01-12 Thread Rolf G Nielsen

On 2010-01-12 22:04, David Kelly wrote:

On Tue, Jan 12, 2010 at 12:51:00PM -0800, Rob Farmer wrote:

I'm trying to create a port of an application which only works on
little endian systems and I'm trying to figure out how to set
ONLY_FOR_ARCHS.  Wikipedia says PowerPC, Sparc, and IA64 are bi-endian
and the OS chooses the mode. I'm not familiar with these platforms -
I'm sure it has been answered somewhere, but I can't find it - which
FreeBSD archs are little/big endian? Thanks.


i386 is little endian. Would expect ia64 to be the same.



ia64 (Itanium) hardware has selectable endianess. I've never worked with 
Itanium in any OS, so I can't say whether FreeBSD supports selecting or 
is fixed at either little- or bigendian.

___
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: setlocale command is missing

2009-12-25 Thread Rolf G Nielsen

Daniel Dvořák wrote:

Hi,
 
I updated a mc port to the last one, version 4.7.0pre4 and wanted to run mc, but mc display a warning message that the selected display charset or source codeset does not match one set via locale. I have never seen this message since I am a user of mc. Propably it is something new in this new version. The version 4.6.2 does not show you this message durring starting application.
 
I wanted to set my locale, but I found out that command setlocale is missing on FreeBSD 7.2.
 
Files in directory /etc:
 
login.conf, login.conf.db, csh.login and profile are set as HANDBOOK recommends for language localization.
 
My shells are bash, tcsh or zsh, csh for root user. The results are the same.
 
bash:

[u...@server ~]$ LC_ALL=ISO-8859-2; export LC_ALL
-bash: varování: setlocale: LC_ALL: cannot change locale (ISO-8859-2): No such 
file or directory
 
zsh:

server% setlocale LC_ALL ISO-8859-2
zsh: command not found: setlocale

tcsh:

setlocale LC_ALL ISO-8859-2

setlocale: Command not found.

root csh:
server# setlocale LC_ALL ISO-8859-2
setlocale: Command not found.

So my simple question is why is setlocale command missing in FreeBSD 7.2 ? And 
if user could not use locale and setlocale commands like on Linux, how can I 
solve my problem with new version of MC ?
 
The mc message:
 
Confirmation
 
Chosen display charset (Settings-Display bits) or source codeset (in mcedit ctrl-t) does not match one set via locale. Set correct codeset manually or press Fix it to set locale default.
 
Or set 'don' task again' and press Skip
 
[ ] don't ask again
 
[ Fix it ]   [ Skip ]
 
BTW in mc there is not any settings with display bits, there is only options menu with display bits. Wrong help dialogs ?
 
Thank you
 
Daniel
 
 
___

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





ls -ld /usr/share/locale/*8859-2 for a list of ISO8859-2 locales. Use 
the complete name, e.g. cs_CZ.ISO8859-2.


To set the above locale in sh and work-alikes use
LC_ALL=cs_CZ.ISO8859-2; export LC_ALL
(the syntax you tried, but your locale spec was wrong, and that's why it 
protested).


To set the above locale in csh and work-alikes use
setenv LC_ALL cs_CZ.ISO8859-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: build 7.x kernel without zfs

2009-12-24 Thread Rolf G Nielsen

Oles Hnatkevych wrote:

Hi!

Since my installation has 496Mb on root partition, having to kernels 
(current and old) there becomes pain, only 4Mb free left.


How can I build kernel without zfs module, since it consumes 12Mb with 
symbols?





Hi Oles,

I'm not sure how to specify which modules not to build, but to build 
only the modules you need, use MODULES_OVERRIDE in your kernel config 
file. E.g. the following line will build and install only atapicam and 
ext2fs.


makeoptions MODULES_OVERRIDE=atapicam ext2fs

To find out what modules you use, just type kldstat in the console, and 
add the listed modules to the MODULES_OVERRIDE.


You can also specify that you don't want debug symbols built by removing 
or commenting out the makeoptions DEBUG=-g line.


Rolf Nielsen
___
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 boot invalid partition

2009-12-23 Thread Rolf G Nielsen

Michel Le Cocq wrote:

I just dump a real host and try to restore it on a virtual host under
kvm.

When booting under KVM i see this :
Booting From hard Disk...
Invalid partition
Invalid partition
No /boot/loader

FreeBSD/i386/Boot
Default: 0:ad(0,a)/boot/kernel/kernel
boot :

If i enter : 
 	boot : 0:ad(0,d)


it's ok and then :
Manual Root Filesystem Specification :
Mountroot ufs:/dev/ad0s1d

and it's finaly boot.

[r...@vbsdio ~]# cat /etc/fstab
# Device Mountpoint FStypeOptionsDump Pass#
/dev/ad0s1b  none   swap  sw0 0
/dev/ad0s1d  /  ufs   rw1 1
/dev/ad0s1g  /local ufs   rw2 2
/dev/ad0s1e  /usr   ufs   rw2 2
/dev/ad0s1f  /var   ufs   rw2 2
/dev/acd0/cdrom cd9660ro,noauto 0 0
linproc /compat/linux/proc  linprocfs rw0 0
[r...@vbsdio ~]#

I need to change my master boot device or anything else.
But don't know what to do exactly.

Thanks.

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





Shouldn't the root fs be on the a partition?
___
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: Supressing dd output

2009-12-23 Thread Rolf G Nielsen

Noel Jones wrote:

On Wed, Dec 23, 2009 at 10:19 PM, Rolf Nielsen
listrea...@lazlarlyricon.com wrote:

Hello everyone,

I'm wondering if there's a way to supress the summary output from dd. I'm
working on a backup script, that encrypts the backups, and after encrypting
overwrites the unencrypted file several times using dd. I've tried to
redirect the output with 21  /dev/null but it doesn't work. Since I run
the script from the daily_local variable in periodic.conf, and the script
backs up 11 filsystems (ZFS) to separate files, the mail from periodic daily
gets ridiculously long, and most of it being dd summaries.

I guess I could hack the source code of dd, but I'd prefer not to have to.
Has anyone got any ideas?

Thanks in advance and Merry Christmas to all of you,

Rolf Nielsen



Order matters.

dd ...   /dev/null 21


  -- Noel Jones


Thanks Noel. I've never considered using that order before. Probably 
because first time I saw that construct and had it explained to me, it 
was ordered the way I had it, and I very rarely have any use for it, so 
I haven't really noticed that my way was wrong; I usually only redirect 
stdout if anything at all. Anyway, now it works like a charm. Thanks. :)


Rolf Nielsen
___
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: Nvidia amd64 driver (WAS: Root exploit for FreeBSD )

2009-12-13 Thread Rolf G Nielsen

Mario Lobo wrote:

On Saturday 12 December 2009 22:44:54 Rolf G Nielsen wrote:

Mario Lobo wrote:

On Saturday 12 December 2009 21:23:00 Rolf Nielsen wrote:

Where's that? The Nvidia site says nothing about it yet, and the
makefile for x11/nvidia-driver still says ONLY_FOR_ARCHS=i386. I'm
eagerly waiting for it, but I can't find anything other than a forum
post (I don't have the address handy at this computer, but I know it's
somewhere in the mailing list archive) from Zander at Nvidia corporation
saying it's on its way.

http://www.nvnews.net/vbulletin/showthread.php?t=142120

Thanks Mario and George. Just installed it and rebooted now. :D


You're welcome Rolf!

The driver DOES rock, doesn't it?

How is it working for you? any instabilities?

I am having some issues with virtualbox and KDE4.

KDE has 2 options for composite: OpenGL and xRender

I have composite enabled with openGl. If any vbox guest (winedows actually) 
has 3d acceleration enabled, the host freezes completely. only the reset 
button works ! I have to completely disable 3d accel on the Win guests.


But if composite is done with Xrender, the 3d accel on the guests doesn't 
freeze the host, but I loose a lot of performance, smoothness and most of the 
desktop effects on KDE.


I followed the advice on 
http://www.nvnews.net/vbulletin/showthread.php?t=58498
to enable HPET and that seemed to improve things on this issue but I still 
have to keep 3d disabled


Other than that, EVERYTHING else works perfectly. nVidia is much superior than 
my onboard radeon HD 3300, which I unceremoniously dumped for a GeForce 9800 
GT.




I haven't tested it out that extensively yet. I tried installing 
games/quake2lnx, and it installs fine, but I get no graphics at all, 
just a black window, but since I haven't tried it on amd64 before, it 
might be that it doesn't work well on 64 bit. But since I'm not really a 
gamer, I don't worry much about it, though it would be fun to get it 
running.


I'm running Windowmaker as my window manager, and it doesn't make use of 
any OpenGL AFAIK.


So basically all I've tested is that xv works for playing video with 
mplayer and running OpenGL xscreensaver hacks. Both seem to work flawlessly.


Compiling the driver was a bit of a hassle, since it depends on Linux 
compatibilty by default, and I haven't got that enabled. And since I've 
enabled MODULES_OVERRIDE in my kernel config to include only those 
modules I actually use, nvidia.ko couldn't find linux.ko. I solved it by 
commenting out a #define line in nv-freebsd.h.

___
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: Root exploit for FreeBSD

2009-12-12 Thread Rolf G Nielsen

Mario Lobo wrote:

On Saturday 12 December 2009 21:23:00 Rolf Nielsen wrote:

Where's that? The Nvidia site says nothing about it yet, and the
makefile for x11/nvidia-driver still says ONLY_FOR_ARCHS=i386. I'm
eagerly waiting for it, but I can't find anything other than a forum
post (I don't have the address handy at this computer, but I know it's
somewhere in the mailing list archive) from Zander at Nvidia corporation
saying it's on its way.



http://www.nvnews.net/vbulletin/showthread.php?t=142120



Thanks Mario and George. Just installed it and rebooted now. :D
___
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: make delete-old question

2009-12-09 Thread Rolf G Nielsen

Frank Shute wrote:

Hi,

Successfully upgraded from 7.2 to 8.0 but had my usual problem when
jumping major versions with the make delete-old target.

The problem being that it asks me to confirm deletion of each lib/file
with a y and a return. I've found that I never say n to any
deletion and it becomes very tedious to hammer at the keyboard for
hundreds of libs/files.

Is there a way to change the Makefile so that they all get deleted
with just one y and a return? Or possibly use yes(1) to script it?

TIA.

Regards,



yes | make delete-old
___
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: radeonhd 1.3.0 slow window moving

2009-12-07 Thread Alain G. Fabry
On Mon, Dec 07, 2009 at 02:22:55PM +0100, Marco Beishuizen wrote:
 
 Hi,
 
 I upgraded the radeonhd driver from 1.2.5 to 1.3.0. It seems to work fine, 
 except when moving a window. As far as I can see all other actions like 
 scrolling or resizing is quick, but moving windows goes really slow.
 
 In my xorg.conf the modules extmod, record, dbe, glx, dbi and 
 dbi2 are loaded. In the device section I have two options enabled:
 - AccelMethod EXA
 - DRI on
 In my x.org logfile are no errors.
 
 Does anyone else has experienced this?
 My Radeon is a HD4870 and I'm running FreeBSD 8.0-ST.
 
 Thanks in advance.
 Regards,
 Marco
 

I have exactly the same problem. I'll probably downgrade tonight to make sure 
this upgrade is the reason of the slowness.


 -- 
 The more you complain, the longer God lets you live.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8.0-RELEASE and dangerously dedicated disks

2009-12-04 Thread Rolf G Nielsen

Polytropon wrote:

On Wed, 2 Dec 2009 13:09:22 -0500, Jerry McAllister jerr...@msu.edu wrote:

Good.   Except that in FreeBSD land you are talking about a slice table.
To carry things forward consistently, the partition table is within
a slice and describes FreeBSD partitions a..h (and more now I guess).
Only in MS or Lunix land should primary divisions be called partitions
and then they are _primary_ partitions.


To be most precise, they are called DOS primary partitions.
As far as I know, the need for them has been massively by
MICROS~1 operating systems (DOS, Windows).

That what FreeBSD calls partitions are subdivions of
slices. A partition holds a file system (each), while a
slice holds partitions. Those partitions could be compared
to what MICROS~1 calls logical volumes inside a DOS extended
partition, allthoug that's just a *comparison* and not
an exact equivalent.




But, even some of the fdisk and other documentation still mucks this
up and occasionally refers to slices as partitions.   Maybe we can
come up with some new terminology like  'blobs'  and  'dollops'  to get 
away from the problem.


Borrow some artificially created fantasy words from modern
KDE or Gnome application development? :-)

An idea that follows your inspiration could be:

	(old) slice = (new) primary partition 
	eq. DOS primary partition


(old) partition = (new) secondary partition,
alt. (new) subpartition
comp. logical volumes inside a DOS extended partition

But it would help to get at least FreeBSD's documentation
consistent, even if it uses the non-MICROS~1 names for
things (which is very fine for me).

Note that the limitation to 4 slices per disk - we remember
that we are talking about DOS primary partitions here -
is grounded in the fact that MICROS~1 stuff doesn't seem
to be able to handle more than 4, a legacy restriction from
the past. I've not yet tested if it's possible to create
e. g. ad0s1, ad0s2, ad0s3, ad0s4 and ad0s5 with FreeBSD,
but it should be possible.

(Because multi-booting PCs respectively their operating
systems eat up primary partitions like coockies, often
people complain that they can't install FreeBSD because
it requires a primary partition as well. Mostly, people
don't have 4 OSes on their disks, but the one or two
they often have (e. g. a Linux and a Windows) have
already occupied adX0..adX3.)




Hi all,

Out of curiousity, I just tested to bsdlabel a disk I had lying around. 
In dangerously dedicated mode. No problem at all. I newfs'd it and 
mounted it. Also no problem. I haven't tried to boot from it though, but 
I may do that later, when I have nothing running that can't be halted.


I did config -x /boot/kernel/kernel and I noticed that GEOM_PART_BSD was 
there, though I'm absolutely certain I haven't included it, and if I 
understand correctly, it shouldn't be there unless explicitly included?
I'm running 8.0-RELEASE-p1 amd64 with a custom kernel config. However 
the kernel config file was more or less copied from 7.2, with just a 
little tweaking. I guess I should create a new one, using sys/conf/NOTES 
and sys/amd64/conf/NOTES as guidelines and sys/amd64/conf/GENERIC as 
template, but I haven't gotten around to that yet.


Anyway, is GEOM_PART_BSD supposed to be there (I just checked, and 
noticed it's in sys/amd64/conf/DEFAULTS) or can I safely remove it? And 
will it, considering I migrated to gpt and zfs, be meaningful to remove 
it (e.g. will it make the kernel smaller or have any positive impact on 
zfs performance)? And should DD disks work except to boot from, or 
shouldn't they work at all?


Sincerely,

Rolf Nielsen
___
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: bash script question

2009-12-01 Thread Rolf G Nielsen

Dánielisz László wrote:

I just find out:

#!/usr/local/bin/bash
export IFS= 
cuc=$*
mkdir cuc

Thanks anyway!

László




From: Dánielisz László laszlo_daniel...@yahoo.com
To: freebsd-questions@freebsd.org
Sent: Tue, December 1, 2009 8:37:04 PM
Subject: bash script question


Hello,

I'd like to ask how can I read a variable in the same line when I launch a 
script?
For example ./script.sh directory_name, and I want the script to creat the directory 
called directory_name or whatever I input there.

Thank you!
László



  
___

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





Why are you using bash? To make a shell script as portable as possible, 
use /bin/sh. Bash is a third party shell, that isn't included in a base 
installation (you're not using bash as root's shell, are you?). By using 
/bin/sh, you make sure the script will run without having to install any 
ports.


Try this instead (check the Special parameters section in the sh(1) 
man page to get the difference between $* and $@ and an explanation as 
to why I quote the $@).


#!/bin/sh
mkdir $@


Cheers,

Rolf Nielsen

___
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: bash script question

2009-12-01 Thread Rolf G Nielsen

Gary Kline wrote:

On Tue, Dec 01, 2009 at 10:42:10PM +0100, Polytropon wrote:

On Tue, 01 Dec 2009 21:06:34 +0100, Rolf G Nielsen laz...@lazlarlyricon.com 
wrote:
Why are you using bash? To make a shell script as portable as possible, 
use /bin/sh. Bash is a third party shell, that isn't included in a base 
installation (you're not using bash as root's shell, are you?). By using 
/bin/sh, you make sure the script will run without having to install any 
ports.

That's a very good advice. Using sh is strongly recommended
for maximal portability. Use sh if you're not requiring 
features that are bash-only.





	Hi guys, 


Here's a bash-related question, kind-of.  Is there any way to
automagically run my .csrhc thru a script and wind up with a
bash script?

gary




--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




If by Is there any way you mean is it possible, the answer would 
have to be yes. The next question is most likely has anyone written 
such a script? and to that question, someone else will have to provide 
the answer.


Rolf Nielsen
___
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: Native Firefox 3.5 and Flash10

2009-11-25 Thread Denise H. G.
Sam Fourman Jr. sfour...@gmail.com writes:

 I am running a Fresh install of amd64 FreeBSD 8.0 RC3
 when running firefox It locks up for a moment then is fine then when I
 load a new page it locks up again.
 here is the error I get in the console when running native firefox 3.5

 what do I have to rebuild inorder to fix this?

the same here on my 8.0 amd64.
but the lockup is bearable, at least for me.
the duration of such lockups only last less than one second. however, if
I use gnash to render flash in firefox3.5, the situation may be better,
but there are still such lockups.


 Sam Fourman Jr.

 [sfour...@sam ~]$ firefox3
 Gtk-Message: Failed to load module canberra-gtk-module:
 libcanberra-gtk-module.so: cannot open shared object file: No such
 file or directory
 Gtk-Message: Failed to load module gnomebreakpad:
 libgnomebreakpad.so: cannot open shared object file: No such file or
 directory
 Gtk-Message: Failed to load module canberra-gtk-module:
 libcanberra-gtk-module.so: cannot open shared object file: No such
 file or directory
 Gtk-Message: Failed to load module gnomebreakpad:
 libgnomebreakpad.so: cannot open shared object file: No such file or
 directory
 *** NSPlugin Wrapper *** ERROR: NPP_New() wait for reply: Message
 timeout
 Gtk-Message: Failed to load module canberra-gtk-module:
 libcanberra-gtk-module.so: cannot open shared object file: No such
 file or directory
 Gtk-Message: Failed to load module gnomebreakpad:
 libgnomebreakpad.so: cannot open shared object file: No such file or
 directory
 Gtk-Message: Failed to load module canberra-gtk-module:
 libcanberra-gtk-module.so: cannot open shared object file: No such
 file or directory
 Gtk-Message: Failed to load module gnomebreakpad:
 libgnomebreakpad.so: cannot open shared object file: No such file or
 directory

 Sam# uname -a
 FreeBSD Sam.PuffyBSD.Com 8.0-RC3 FreeBSD 8.0-RC3 #0: Wed Nov 18
 22:22:44 UTC 2009 root@:/usr/obj/usr/src/sys/WORKSTATION  amd64

 Sam# pkg_info -xI linux
 linux-f10-atk-1.24.0 Accessibility Toolkit, Linux/i386 binary (Linux
 Fedora 10)
 linux-f10-cairo-1.8.0 Vector graphics library Cairo (Linux Fedora 10)
 linux-f10-curl-7.19.6 The command line tool for transferring files
 with URL synta
 linux-f10-cyrus-sasl2-2.1.22 RFC  SASL (Simple Authentication and
 Security Layer) (L
 linux-f10-expat-2.0.1 Linux/i386 binary port of Expat XML-parsing
 library (Linux
 linux-f10-flashplugin-10.0r32 Adobe Flash Player NPAPI Plugin
 linux-f10-fontconfig-2.6.0 An XML-based font configuration API for X
 Windows (Linux Fe
 linux-f10-gtk2-2.14.7 GTK+ library, version 2.X (Linux Fedora 10)
 linux-f10-hicolor-icon-theme-0.5 A high-color icon theme shell from
 the FreeDesktop project
 linux-f10-jpeg-6b   RPM of the JPEG lib (Linux Fedora 10)
 linux-f10-libssh2-0.18 The library implementing the SSH2 protocol
 (Linux Fedora 10
 linux-f10-nspr-4.7.6 Netscape Portable Runtime (Linux Fedora 10)
 linux-f10-nss-3.12.2.0 Network Security Services (Linux Fedora 10)
 linux-f10-openldap-2.4.12_1 Lightweight Directory Access Protocol
 libraries (Linux Fedo
 linux-f10-openssl-0.9.8g The OpenSSL toolkit (Linux Fedora 10)
 linux-f10-pango-1.22.3 The pango library (Linux Fedora 10)
 linux-f10-png-1.2.37 RPM of the PNG lib (Linux Fedora 10)
 linux-f10-sqlite3-3.5.9_1 The library that implements an embeddable
 SQL database engi
 linux-f10-tiff-3.8.2 The TIFF library, Linux/i386 binary (Linux Fedora
 10)
 linux-f10-xorg-libs-7.4_1 Xorg libraries (Linux Fedora 10)
 linux-firefox-3.0.15,1 Web browser based on the browser portion of
 Mozilla
 linux_base-f10-10_2 Base set of packages needed in Linux mode for
 i386/amd64 (L
 ___
 freebsd-gn...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
 To unsubscribe, send any mail to freebsd-gnome-unsubscr...@freebsd.org



-- 
tamgya |aT| GmAiL |DoT| cOm
___
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: 7.2-STABLE to 8-R

2009-11-24 Thread Rolf G Nielsen

John wrote:

On Tue, Nov 24, 2009 at 05:25:42PM +0100, Pieter de Goeje wrote:

On Tuesday 24 November 2009 16:45:14 John wrote:

Hello list

I've looked high and low for a howto/link showing how to update to 8, to
no avail. Is it just a case of the regular buildworld process or are
there gotchas because we are crossing major version numbers.

You got it right. Just the regular upgrade procedure as documented in 
/usr/src/UPDATING.


The gotcha is that you need to rebuild all ports. If you don't do that you can 
run in to trouble when you later build a port.


I found that usually it is fastest to just take note of which ports you need, 
delete all existing ports, then after the upgrade reinstall the required 
ports.


Thanks, that's a relief! I looked at the url the other chap posted and
it seems to be the same thing although he uses a slightly different
syntax and I think he is talking about upgrading in a datacentre,
remotely.

cheers


Just another note or two.

If you decide to recompile the ports using portupgrade, portmaster or a 
similar tool, rather than, as Pieter suggested, deleting them and 
re-installing, make sure your ports are up to date before upgrading the 
system. That way you are less likely to run into problems when 
recompiling them after upgrading.


After running mergemaster, do a make delete-old to remove any 7.2 
binaries remaining (libraries still in use won't be deleted). I usually 
do this while still in single user, but I believe it can be done in 
multi user as well.


After upgrading the ports, cd to /usr/src and do a make delete-old-libs. 
If you upgrade them using portupgrade, portmaster or a similar tool, do 
the delete-old-libs AFTER all ports are successfully upgraded. The 
reason for this is that the ports you have installed are still linked to 
the 7.2 libraries. If you decide to delete all ports, delete them before 
upgrading the system, then do the delete-old and delete-old-libs before 
installing any new ports.


I usually delete all ports and re-install the essential ones after 
upgrading, but I've tried the portupgrade approach too, and both have 
worked well for me. The latter approach is more time consuming, but 
ensures you have all your ports after the upgrade, while the former 
approach takes less time and may help get rid of ports you no longer need.


Good luck. :)

Rolf Nielsen
___
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: 7.2-STABLE to 8-R

2009-11-24 Thread Rolf G Nielsen

Charlie Kester wrote:

On Tue 24 Nov 2009 at 13:09:48 PST Roland Smith wrote:

On Tue, Nov 24, 2009 at 05:40:25PM +, John wrote:


Regarding ports, I think I'll take the long route. This box is my main
machine, my desktop - and so there are a LOT of ports installed. It will
be easier to make portmanager rebuild everything in pristine mode. It
will take a long time, but I accept this. Before this is done, I run the
built-in routines in /usr/ports - clean out */work/* and distfiles.


I would _strongly_ advise you to make a list of all your current 
ports, e.g. with
'portmaster -L ports.list', deleting all ports and re-installing the 
ports

labeled as 'leaf ports' and 'root ports' in ports.list.

While portmaster/-manager do their best, they just cannot cover all 
the corner
cases, especially since some ports require extra action (e.g. perl!) 
There is
a good chance you'll end up with a big mess like binaries linked to 
both 7.x
and 8.x libraries or ports failing to build for mysterious reasons. 
Both have

happened to me in the past and are a major PITA to fix.

I've done the complete delete/reinstall run a couple of times now on my
desktop with ???490 ports installed.


Can someone remind me once again, when rebuilding all of my ports, what
is the trick for avoiding the options dialogs?  I'd like to have this
run largely unattended. I seem to recall someone describing a method to
go through all of them upfront, rather than having the build process
interrupted each time a port wants that input.

I know that portupgrade has a batch build option, but unless I'm
mistaken, that skips any ports that need interaction to build.
___
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






With portupgrade give -C to run make make config or -c to run make 
config-conditional for all tasks before everything else.


To skip the config dialogs altogether, specify -DBATCH on the make 
commandline (-m -DBATCH or -M -DBATCH to portupgrade to append or 
prepend the -DBATCH to the make commandline).


Cheers,

Rolf Nielsen
___
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


PAM and xdm woes

2009-10-27 Thread Rolf G Nielsen

Hi,

Every time I start xdm I get the following message on ttyv0,

xdm: pam_sm_close_session(): no utmp record for :0

Everything seems to work just fine. I can log in, and everything runs as 
expected, so it's basically just an annoyance, especially since I don't 
know whether I should be concerned about security.


The only things I've changed from the default xdm config are the size 
and position of the xconsole window xdm launches and the background 
(instead of the standard vanilla one, I run an xscreensaver hack), and 
those are changes I've had for about 10 years without any problems.


This error message started showing up quite recently. I believe it 
happened when upgrading to 8.0, but I'm not sure exactly at what point. 
I've been running 8.0 since BETA1 and I'm now on RC1, and the message, I 
believe, started appearing some time at or after upgrading from 
7.2-RELEASE-p? to 8.0-BETA1.


I've run amd64 for about 2 years, but last week I moved back to i386, 
because I got tired of waiting for a decent 64 bit nVidia driver. The 
message has been there in the amd64 version and is still there after 
moving back to i386, so no change there.


I've not changed anything in the PAM configuration; I simply don't know how.

So, my questions are:

1. Should I be concerned about it?

2. How do I fix it?

If you need any more info, please let me know. I'll be happy to post any 
config files, e.g. xorg.conf or my KERNCONF file (perhaps I've missed 
something important in the kernel?)


Any help appreciated.

Sincerely,

Rolf Nielsen
___
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


PHP5 + fastcgi + apache2.2 ... how to for FreeBSD?

2009-10-19 Thread Marc G. Fournier


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


Thx ...


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

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


Re: No buffer space available

2009-10-10 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Thiago ...

  What version of kernel did you end up going back to?

- --On Wednesday, April 04, 2007 10:15:48 -0300 Marc G. Fournier 
free...@hub.org wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 I'm seeing the same effect (haven't tried older kernel, mind you) almost like
 clockwork, every 72 hours after reboot ... at least now I don't feel so
 crazy,  knowing it isn't just me ...

 - --On Sunday, April 01, 2007 17:07:08 -0300 Thiago Esteves de Oliveira
 thi...@lamce.coppe.ufrj.edu.br wrote:

 I've tried to increase the kern.ipc.nmbclusters value but it worked only when
 I changed the kernel to an older one.

 netstat -m (Now it's working with the same values.)
 -
 515/850/1365 mbufs in use (current/cache/total)
 512/390/902/65024 mbuf clusters in use (current/cache/total/max)
 512/243 mbuf+clusters out of packet secondary zone in use (current/cache)
 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max)
 0/0/0/0 9k jumbo clusters in use (current/cache/total/max)
 0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
 1152K/992K/2145K bytes allocated to network (current/cache/total)
 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
 0/0/0 requests for jumbo clusters denied (4k/9k/16k)
 0/0/0 sfbufs in use (current/peak/max)
 0 requests for sfbufs denied
 0 requests for sfbufs delayed
 2759 requests for I/O initiated by sendfile
 2982 calls to protocol drain routines

 Ethernet adapters
 -
 em0: Intel(R) PRO/1000 Network Connection Version - 6.0.5 port
 0xec80-0xecbf m em 0xfebe-0xfebf irq 10 at device 4.0 on pci7
 em0: Ethernet address: 00:04:23:c3:06:78
 em0: [FAST]
 skc0: 3Com 3C940 Gigabit Ethernet port 0xe800-0xe8ff mem
 0xfebd8000-0xfebdbfff  irq 15 at device 6.0 on pci7
 skc0: 3Com Gigabit NIC (3C2000) rev. (0x1)
 sk0: Marvell Semiconductor, Inc. Yukon on skc0
 sk0: Ethernet address: 00:0a:5e:65:ad:c3
 miibus0: MII bus on sk0
 e1000phy0: Marvell 88E1000 Gigabit PHY on miibus0
 e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX,
 auto

 P.S.: I am using the FreeBSD/amd64.

 Brian A. Seklecki wrote:
 Show us netstat -m on the broken kernel?  Show us your dmesg(8) for
 em(4).

 TIA,
 ~BAS

 On Fri, 2007-03-30 at 11:13 -0300, Thiago Esteves de Oliveira wrote:
 Hello,

 I've had a problem with one of my FreeBSD servers, the machine has stopped
 its network services and then sent these messages:

 -Mar 27 13:00:03 anubis dhcpd: send_packet: No buffer space available
 -Mar 27 13:00:26 anubis routed[431]: Send bcast sendto(em0,
 146.164.92.255.520): No buffer space available

 The messages were repeated a lot of times before a temporary solution. I've
 changed the kernel(FreeBSD 6.2) to an older one(FreeBSD 6.1) and since then
 it's been working well. What happened?

 P.S.: I can give more informations if necessary.
 ___
 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



 - 
 Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
 Email . scra...@hub.org  MSN . scra...@hub.org
 Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.5 (FreeBSD)

 iD8DBQFGE6UE4QvfyHIvDvMRAlutAJ0WzVTYq99hmx1km2mdXE7pdUC8IgCgt4O1
 eG6kXgqHveumXjkL0t+Q8Q8=
 =sieE
 -END PGP SIGNATURE-

 ___
 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



- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFGE/ZC4QvfyHIvDvMRAsWoAJwJpD8nCtG0iv5U6LY8ISyyDKxgegCg1eti
SezStun7CLDA9pgfrp8GloM=
=UwSU
-END PGP SIGNATURE-

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


Re: Voting for a native i386/amd64 flash player

2009-10-02 Thread Rolf G Nielsen

Leandro F Silva wrote:

Hey guys,

Let's vote to have a native i386 / amd64 flash player \o/ ..

We just have to create an account and voting on the link below =D

http://bugs.adobe.com/jira/browse/FP-1060
___
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





Where do I vote to have them continue forever not creating a FreeBSD 
version of that crap?


--

Rolf Nielsen
___
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


kdebase4 installation

2009-09-30 Thread Alain G. Fabry
I'm having problem with kdebase4 installation. Below is error code, what do I 
need to do to get this fixed?

Last portsnap + did 'make disclean', but still get this error.

[ 42%] Generating konsoleadaptor.moc
Scanning dependencies of target konsoleprivate
[ 42%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/konsoleprivate_automoc.o
[ 42%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/BlockArray.o
[ 43%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/BookmarkHandler.o
[ 43%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/ColorScheme.o
[ 43%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/Emulation.o
[ 43%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/Filter.o
[ 44%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/History.o
[ 44%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/HistorySizeDialog.o
[ 44%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/IncrementalSearchBar.o
[ 44%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/KeyboardTranslator.o
[ 45%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/ProcessInfo.o
/usr/ports/x11/kdebase4/work/kdebase-4.3.1/apps/konsole/src/ProcessInfo.cpp: In 
member function 'virtual bool FreeBSDProcessInfo::readCurrentDir(int)':
/usr/ports/x11/kdebase4/work/kdebase-4.3.1/apps/konsole/src/ProcessInfo.cpp:751:
 error: 'kinfo_getfile' was not declared in this scope
/usr/ports/x11/kdebase4/work/kdebase-4.3.1/apps/konsole/src/ProcessInfo.cpp:756:
 error: invalid use of incomplete type 'struct kinfo_file'
/usr/ports/x11/kdebase4/work/kdebase-4.3.1/apps/konsole/src/ProcessInfo.cpp:748:
 error: forward declaration of 'struct kinfo_file'
/usr/ports/x11/kdebase4/work/kdebase-4.3.1/apps/konsole/src/ProcessInfo.cpp:756:
 error: invalid use of incomplete type 'struct kinfo_file'
/usr/ports/x11/kdebase4/work/kdebase-4.3.1/apps/konsole/src/ProcessInfo.cpp:748:
 error: forward declaration of 'struct kinfo_file'
/usr/ports/x11/kdebase4/work/kdebase-4.3.1/apps/konsole/src/ProcessInfo.cpp:756:
 error: 'KF_FD_TYPE_CWD' was not declared in this scope
/usr/ports/x11/kdebase4/work/kdebase-4.3.1/apps/konsole/src/ProcessInfo.cpp:757:
 error: invalid use of incomplete type 'struct kinfo_file'
/usr/ports/x11/kdebase4/work/kdebase-4.3.1/apps/konsole/src/ProcessInfo.cpp:748:
 error: forward declaration of 'struct kinfo_file'
/usr/ports/x11/kdebase4/work/kdebase-4.3.1/apps/konsole/src/ProcessInfo.cpp:757:
 error: invalid use of incomplete type 'struct kinfo_file'
/usr/ports/x11/kdebase4/work/kdebase-4.3.1/apps/konsole/src/ProcessInfo.cpp:748:
 error: forward declaration of 'struct kinfo_file'
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 1

Stop in /usr/ports/x11/kdebase4.




Thanks in advance

Alain
___
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: Wake up time

2009-09-21 Thread Rolf G Nielsen

Roland Smith wrote:

On Mon, Sep 21, 2009 at 10:06:28PM +0200, Anselm Strauss wrote:

Hi,

anybody knows if it's possible to set BIOS wake up time in FreeBSD. I  
have a machine I would like to regularly shutdown and wake up at  
different times depending the on the day of week.


The easy and cheap way to accomplish something like that is to put a timer
between the machine's power supply and the power outlet, and use a script
started at boot to switch the machine off in a controlled fashion after a
specified time before the timer runs out.

The only inflexibility in this scheme is that timers usually require a time to
switch on and a time to switch off. So if you need the time that the machine
is awake variable, it won't be as easy. 



Roland


There are such timers, that run over a week rather than just 24 hours, 
and they can have different times each day.



--

Rolf Nielsen
___
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


kdebase4 installation failure

2009-08-19 Thread Alain G. Fabry

While installing kdebase4, I get the following error. What can I do to get this 
port installed.



[ 41%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/konsoleprivate_automoc.o
[ 41%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/BlockArray.o
[ 43%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/BookmarkHandler.o
[ 43%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/ColorScheme.o
[ 43%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/Emulation.o
[ 43%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/Filter.o
[ 44%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/History.o
[ 44%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/HistorySizeDialog.o
[ 44%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/IncrementalSearchBar.o
[ 44%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/KeyboardTranslator.o
[ 45%] Building CXX object 
apps/konsole/src/CMakeFiles/konsoleprivate.dir/ProcessInfo.o
/usr/ports/x11/kdebase4/work/kdebase-4.3.0/apps/konsole/src/ProcessInfo.cpp: In 
member function 'virtual bool FreeBSDProcessInfo::readCurrentDir(int)':
/usr/ports/x11/kdebase4/work/kdebase-4.3.0/apps/konsole/src/ProcessInfo.cpp:751:
 error: 'kinfo_getfile' was not declared in this scope
/usr/ports/x11/kdebase4/work/kdebase-4.3.0/apps/konsole/src/ProcessInfo.cpp:756:
 error: invalid use of incomplete type 'struct kinfo_file'
/usr/ports/x11/kdebase4/work/kdebase-4.3.0/apps/konsole/src/ProcessInfo.cpp:748:
 error: forward declaration of 'struct kinfo_file'
/usr/ports/x11/kdebase4/work/kdebase-4.3.0/apps/konsole/src/ProcessInfo.cpp:756:
 error: invalid use of incomplete type 'struct kinfo_file'
/usr/ports/x11/kdebase4/work/kdebase-4.3.0/apps/konsole/src/ProcessInfo.cpp:748:
 error: forward declaration of 'struct kinfo_file'
/usr/ports/x11/kdebase4/work/kdebase-4.3.0/apps/konsole/src/ProcessInfo.cpp:756:
 error: 'KF_FD_TYPE_CWD' was not declared in this scope
/usr/ports/x11/kdebase4/work/kdebase-4.3.0/apps/konsole/src/ProcessInfo.cpp:757:
 error: invalid use of incomplete type 'struct kinfo_file'
/usr/ports/x11/kdebase4/work/kdebase-4.3.0/apps/konsole/src/ProcessInfo.cpp:748:
 error: forward declaration of 'struct kinfo_file'
/usr/ports/x11/kdebase4/work/kdebase-4.3.0/apps/konsole/src/ProcessInfo.cpp:757:
 error: invalid use of incomplete type 'struct kinfo_file'
/usr/ports/x11/kdebase4/work/kdebase-4.3.0/apps/konsole/src/ProcessInfo.cpp:748:
 error: forward declaration of 'struct kinfo_file'
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 1

Stop in /usr/ports/x11/kdebase4.

Thanks,

Alain
___
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: please help to uninstall FreeBSD!!!

2009-08-10 Thread Rolf G Nielsen

Raisa Brokhshtut wrote:

Hello,
 
My old desktop has FreeBSD that I have never used. One of the friends of my son installed it long ago, but no one used that PC since then. Now I want to get rid of this program and to install Windows. Every time when I boot this PC it prompts for a user login which I don't know. This guy who intalled FreeBSD is not around anymore.
 
Anyway, I would greatly appreciate if you would guide me how to uninstall that program. I don't have windows reskue cd. So I want to completly remove that FreeBSD from my PC and to install the Windows operating system from CD. 
 
Thank you
 
Raisa



  
___

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





Insert the Windoze install CD and boot off it. When prompted, create an 
NTFS or a FAT slice covering the whole drive.


--

Rolf Nielsen
___
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 not working in 7.1

2009-07-27 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I'm running it on 7-STABLE servers without any problem ... but notice that 
others responded that it appears you are on PC-BSD vs FreeBSD?   As late as 
this answer is, are you still having an issue with it on your machine?



- --On Sunday, March 01, 2009 19:20:21 +0800 Fbsd1 fb...@a1poweruser.com 
wrote:

 bsdstats is now in the base system.
 Have bsdstats_enable=YES is rc.conf
 Worked this way in 7.0.
 What am I missing here???
 ___
 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



- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.12 (FreeBSD)

iEYEARECAAYFAkpuZFIACgkQ4QvfyHIvDvPpMwCfUaNbQJojcXS3Ph5DnesNVH0H
fTMAniGG92QBY+3aELFu+xQZTUMVgiva
=eaWl
-END PGP SIGNATURE-

___
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.org - fatal error

2009-07-27 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Are you still seeing the error ... ?  I just checked everything on server, and 
it appears to be processing fine ...

- --On Monday, July 27, 2009 21:43:42 +0100 Anton Shterenlikht 
me...@bristol.ac.uk wrote:

 Connecting to bsdstats.org I get this error:

Fatal error: Call to undefined function preg_replace() in
/usr/local/www/bsdstats.org/www/bsdstats/sbin/uri.php on line 142

 Is there a problem with this site?

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



- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.12 (FreeBSD)

iEYEARECAAYFAkpuY44ACgkQ4QvfyHIvDvNOrgCgnT7DyPkETX/839deAN4KdiQm
CckAn3IcvZ10sJinKNa/LqGHcWYY/gL+
=B2dp
-END PGP SIGNATURE-

___
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: Bind 9 (Was: bsdstats) - fatal error: RUNTIME_CHECK(((pthread_mutex_destroy(((manager-lock))) == 0)

2009-07-27 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Monday, July 27, 2009 14:07:44 -0800 Mel Flynn 
mel.flynn+fbsd.questi...@mailing.thruhere.net wrote:

 On Monday 27 July 2009 13:17:51 Anton Shterenlikht wrote:
 On ia64 8.0-beta1 SMP, running bsdstats-5.4_2,
 I get this error:

 # /usr/local/etc/periodic/monthly/300.statistics
 /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/task.c:1023: fatal
 error: RUNTIME_CHECK(((pthread_mutex_destroy(((manager-lock))) == 0) ? 0
 : 34) == 0) failed

 That error from bind,

 [:1: unexpected operator

 Is not handled gracefully in the bsdstats script.

Is there something I can do to improve the script to handle it better?



- -- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . scra...@hub.org  MSN . scra...@hub.org
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.12 (FreeBSD)

iEYEARECAAYFAkpuY+UACgkQ4QvfyHIvDvOquwCdGpyNjkbx2e/jt9TB48RX6JrD
mJEAoL+l0a5UI3xCX/2/F+MJB5hPgIR/
=uH7U
-END PGP SIGNATURE-

___
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


  1   2   3   4   5   6   7   8   9   10   >