Re: [munin-users] Munin crashing : p5-Net-Server

2012-06-19 Thread Kenyon Ralph
On 2012-06-19T08:17:09+0100, Paul Macdonald p...@ifdnrg.com wrote:
 After a recent upgrade to p5-Net-Server-2.005 on various boxes, I'm 
 finding that munin-node is going down regularly.
 
 (Multiple machines, looks to be affected on FreeBSD8.2 and FreeBSD8.3 
 REL, but not 9.0 machines)

This is due to newsyslog sending a signal to munin-node (notice the
first line of the log). As a workaround, if you comment the munin-node
line in /etc/newsyslog.conf, munin-node will stay running, but you'll
have to figure out another way to rotate the logs, if you care about
rotating those logs.

This is probably a bug somewhere. I haven't debugged further than this
due to lack of time, but maybe this will help you determine the root
cause, and a fix.

 It looks related to trying to start on an ipv6 interface ( which is not 
 there) and i suspect this is a default from the perl Net-Server module 
 rather than munin?
 
 Jun 19 00:00:01 ifdnrg20 newsyslog[24331]: logfile turned over
 Pid_file created by this same process. Doing nothing.
 2012/06/19-00:00:02 Munin::Node::Server (type Net::Server::Fork) 
 starting! pid(50897)
 sysctl: unknown oid 'net.ipv6.bindv6only'
 Resolved [*]:4949 to [::]:4949, IPv6
 Resolved [*]:4949 to [0.0.0.0]:4949, IPv4
 Binding open file descriptors
 2012/06/19-00:00:02 Bad file descriptor
at line 298 in file /usr/local/lib/perl5/site_perl/5.12.4/Net/Server.pm
 2012/06/19-00:00:02 Server closing!
 shutdown() on unopened socket GEN0 at 
 /usr/local/lib/perl5/5.12.4/mach/IO/Socket.pm line 295.
 shutdown() on unopened socket GEN1 at 
 /usr/local/lib/perl5/5.12.4/mach/IO/Socket.pm line 295.
 
 Paul.

-- 
Kenyon Ralph


signature.asc
Description: Digital signature


Re: net-im is not in my supfile..

2006-03-23 Thread Kenyon Ralph
On 3/23/06, Mark Jayson Alvarez [EMAIL PROTECTED] wrote:
  I'm trying to install the latest jabberd but first I would like to cvsup the 
 latest ports tree. I only want the ports-net-im to speed up the process, 
 however, to my surprise, net-im is not in my 
 /usr/share/example/cvsup/ports-supfile. Adding that line and commenting 
 ports-all doesn't make any difference..

Why not leave ports-all uncommented and ports-* commented?  That will
give you the whole ports collection.  You really don't need to change
anything in that file except the *default host line.  See
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: encrypted drives

2006-03-22 Thread Kenyon Ralph
On 3/22/06, Erik Norgaard [EMAIL PROTECTED] wrote:
 2) One thing is to create an entire encrypted device for /home. But that
 have the unfortunate consequence that other user's data is unencrypted
 once the system is up.

 What would be more appropriate is a solution where each home-dir is an
 encrypted mfs which is decrypted and mounted when the user log in, is
 this possible?

I think this is exactly what Mac OS X does with its FileVault feature.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: encrypted drives

2006-03-22 Thread Kenyon Ralph
On 3/22/06, Erik Norgaard [EMAIL PROTECTED] wrote:
 Kenyon Ralph wrote:
  On 3/22/06, Erik Norgaard [EMAIL PROTECTED] wrote:
  2) One thing is to create an entire encrypted device for /home. But that
  have the unfortunate consequence that other user's data is unencrypted
  once the system is up.
 
  What would be more appropriate is a solution where each home-dir is an
  encrypted mfs which is decrypted and mounted when the user log in, is
  this possible?
 
  I think this is exactly what Mac OS X does with its FileVault feature.

 I was just reading this column by Kelly Martin

http://www.securityfocus.com/columnists/393

 when I wrote this, but the FreeBSD solution may not be so simple as the
 OSX. Now, the FileVault according to the article encrypts the entire
 home partition which is fine for single user laptops, but on multiuser
 systems, each home directory should be distinct encrypted partitions in
 order not to disclose data to other users.

 In this case, you would also like the ability to dynamically grow the
 filesystem when more space is needed, unless ofcourse you simply say,
 that's the hard quota limit.

Actually, the article says FileVault encrypts a user's entire home
directory, settings and all data.  I have a PowerBook and I used to
use FileVault on it.  From my observations, it works by making an
encrypted Disk Image file of your home directory which is mounted and
unmounted at login and logoff.  It is a special disk image called a
sparse image which can grow, but can't be shrunk while the image is
mounted.  This is mostly why I stopped using FileVault--doing a lot of
I/O in my homedir caused the sparse image to gradually grow, then I'd
eventually have to logoff and let it recover all the gaps in the
image, a slow process.  There is a different image for each user, so
it works in multiuser environments.  OS X keeps your unix passwd and
the disk image decryption passphrase synchronized if you use the OS X
GUI to change your password.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Where is $PAGER defined?

2006-03-22 Thread Kenyon Ralph
The subject says it all - Where is the environment variable $PAGER defined?

If I define PAGER myself in /etc/profile, it is still set to more
upon login.  I've done grep -R PAGER /etc and got nothing (except
/etc/profile of course, which apparently is being overridden).

Thanks!

$ uname -a
FreeBSD sloth 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13
UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

$ echo $BASH_VERSION
3.00.16(1)-release

$ cat /etc/profile
shopt -s checkwinsize
set -o vi

alias chgrp='chgrp -v'
alias chmod='chmod -v'
alias chown='chown -v'
alias cp='cp -iv'
alias df='df -h'
alias du='du -sh'
alias egrep='egrep --color'
alias fgrep='fgrep --color'
alias g='gvim'
alias grep='grep --color'
alias l='ls -a'
alias ll='ls -la'
alias ln='ln -iv'
alias ls='ls -GFh'
alias mkdir='mkdir -v'
alias mv='mv -iv'
alias rm='rm -Iv'
alias rmdir='rmdir -v'
alias vi='vim'

export EDITOR=/usr/local/bin/vim
export VISUAL=/usr/local/bin/vim
export PAGER=/usr/bin/less -MiR
export LESSOPEN=|/usr/local/bin/lesspipe.sh %s
export LESS=-MiR
export HISTCONTROL=ignoredups
export HISTSIZE=1000
export HISTFILESIZE=1000

if [[ ${EUID} == 0 ]] ; then
PS1='\[\033[\e[32m\]\t \[\033[01;31m\]\h \[\033[01;34m\]\w \$ \[\033[00m\]'
else
PS1='\[\033[\e[32m\]\t \[\033[01;[EMAIL PROTECTED] \[\033[01;34m\]\w \$
\[\033[00m\]'
fi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where is $PAGER defined?

2006-03-22 Thread Kenyon Ralph
On 3/22/06, Norberto Meijome [EMAIL PROTECTED] wrote:
 On Wed, 22 Mar 2006 03:48:50 -0800
 Kenyon Ralph [EMAIL PROTECTED] wrote:

  If I define PAGER myself in /etc/profile, it is still set to more
  upon login.  I've done grep -R PAGER /etc and got nothing (except
  /etc/profile of course, which apparently is being overridden).

 ~/.bashrc

 i believe its run after .profile (and the system wide /etc/profile), so
 it gets overriden.

 it may also depend on your shell of choice (bash v3 here)

Ah, it's actually not in ~/.bashrc, but your email helped me find it. 
It was in ~/.profile.  Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: change 2nd boot menu

2006-03-21 Thread Kenyon Ralph
On 3/21/06, Joseph Vella [EMAIL PROTECTED] wrote:
 Is there a way to eliminate the FreesBSD menu and move those options to the
 grub menu?  (actually I only want a couple of those options, like safe mode,
 single user mode and the loader prompt or maybe just the option to boot into
 my previously compiled kernel)

 Is there a way to have that menu shoot by unless I press a key?

 At the very least how might I reduce the pause time?

Look for autoboot_delay in loader(8).  It sounds like you would put
something like
  set autoboot_delay=NO
or whatever value in seconds in /boot/loader.rc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pkg_add -r openoffice Error: FTP Unable to get ftp:

2006-03-21 Thread Kenyon Ralph
On 3/21/06, David Armour [EMAIL PROTECTED] wrote:
 the handbook directions seem direct and specific. but
 #pkg_add -r openoffice
 ...
 produces:

 Error: FTP Unable to get
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/openoffice.tbz:
 File unavailable (e.g., file not found, no access)
 pkg_add: unable to fetch
 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/openoffice.tbz'
 by URL

 is this a handbook, freebsd, kde or openoffice issue? combination of all
 four? or something specific to 'dumb newbie'?

Well, that file doesn't exist, but there is a
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/openoffice.org.tbz.
 Try pkg_add -r openoffice.org.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pkg_add -r openoffice Error: FTP Unable to get ftp:

2006-03-21 Thread Kenyon Ralph
On 3/21/06, David Armour [EMAIL PROTECTED] wrote:
 it's still fetching it, as we speak... (tip-toeing around) i installed
 the port a few weeks ago on a different install, and it required 9gb.
 is there a way to find out how much space the package needs / uses? i
 got the impression that the package route for large-ish installs such as
 openoffice used less, but i've definitely been wrong before.

9 GB is quite excessive.  That is probably 9 GB including all the
unpacked source, the tarball, the left over build tree, etc, all stuff
you can delete after the build completes.  Still seems like too much
though.

Anyway, certainly the precompiled binary package will use less space. 
For comparison, on my Linux box openoffice.org-2.0.2 only takes about
270 MB installed.

I don't know how to determine sizes and such yet on FreeBSD though, as
I'm still new to it.  It's probably in the Handbook or man pages.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail port problem

2006-03-21 Thread Kenyon Ralph
On 3/21/06, Efren Bravo [EMAIL PROTECTED] wrote:
 What params of config do I must to touch to allow
 remote access to sendmail?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sendmail.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing FreeBSD with undetected USB keyboard

2006-03-20 Thread Kenyon Ralph
On 3/20/06, Joao Barros [EMAIL PROTECTED] wrote:
 When you have USB Legacy support enabled in the BIOS you should
 still have a working keyboard up till the loader stage.
 With that you should be able to select option 7 'Boot FreeBSD with USB
 keyboard' of the boot menu as mentioned.
 You should also be able to go to loader options and do a load kbdmux
 and boot afterwards. Note this option only works on 6.1 BETA and there
 are ISOs  to download :)

I guess it *should* work like that.  Unfortunately it doesn't, no
matter what the BIOS setting is.  I'll make one attempt at modifying
the ISO.  If that doesn't work I'll just borrow a PS/2 kbd for the
installation.

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


Re: hard error reading: set fstab mounts to frw: can no longer access filesystem

2006-03-20 Thread Kenyon Ralph
On 3/20/06, Edwin D. Vinas [EMAIL PROTECTED] wrote:
 Is there anyway to still recover my files? Is there a way  I can edit fstab
 to remove f option so I can't have those getty errors? Or is it possible
 to mount the server's HDD in another FreeBSD machine?

Can't you boot from a FreeBSD CD then mount the bad HD and recover your data?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Installing FreeBSD with undetected USB keyboard

2006-03-19 Thread Kenyon Ralph
Howdy, longtime Linux user here, finally starting to play with
FreeBSD.  Having a problem getting it installed...

I have a USB Microsoft Natural Keyboard connected to an Intel
SE440BX-2 motherboard.  The keyboard works fine in the BIOS setup and
in Linux booted from a CD.  Booting with a
6.0-RELEASE-i386-bootonly.iso CD gives me no keyboard functionality at
all.

I've tried enabling and disabling legacy USB support in the BIOS; no
difference.

I'm thinking that maybe if I set ukbd_load=YES in
/boot/defaults/loader.conf.local, the keyboard might work.  But there
is no mention of modifying the installation media (either floppy or
CD) in either the Handbook or the Installation Instructions.

Obviously I can't press a key during the boot sequence to enter commands.

I've searched the mailing lists but can't find anybody with a problem
like this before.  Anybody have any ideas, besides get a PS/2
keyboard?

Thanks!

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


Re: Installing FreeBSD with undetected USB keyboard

2006-03-19 Thread Kenyon Ralph
On 3/19/06, Andreas Rudisch [EMAIL PROTECTED] wrote:
 On Mon, 20 Mar 2006 08:04:01 +0100, Kenyon Ralph [EMAIL PROTECTED] wrote:

  I have a USB Microsoft Natural Keyboard connected to an Intel
  SE440BX-2 motherboard.  The keyboard works fine in the BIOS setup and
  in Linux booted from a CD.  Booting with a
  6.0-RELEASE-i386-bootonly.iso CD gives me no keyboard functionality at
  all.

 Have you tried option 7 'Boot FreeBSD with USB keyboard' of the boot menu
 yet?

Kind of difficult since I can't use the keyboard. :)

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