Re: USB Hard Drive Dock

2010-08-03 Thread Roland Smith
On Mon, Aug 02, 2010 at 06:03:03PM -0700, Bill Tillman wrote:

 I will give the drivers on the CD the once over as you suggest. I'm curious
 about the touch command you recommend. By that do you mean I should

   # touch /dev/da0s1

This one, I think.

Doing a 'camcontrol rescan' might also help.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp4b1R36tKVd.pgp
Description: PGP signature


strage tag behaviour with cvsup

2010-08-03 Thread Olivier Nicole
Hi,

While updating my servers I recently found out a stange behaviour.

I have a configuration file for cvsup.

If I set the default tag to be RELENG_7_3, I will build a kernel of
name 7.3-RELEASE-pX

If I set the default tag to be RELENG_7, I will build a kernel of name
7.3-STABLE

Is that normal?

With tag RELENG_7 I would expect to build a 7.X-RELEASE kernel, with X
being the latest available.

Best regards,

Olivier
___
freebsd-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: strage tag behaviour with cvsup

2010-08-03 Thread Bas Smeelen
On 08/03/2010 10:44 AM, Olivier Nicole wrote:
 Hi,

 While updating my servers I recently found out a stange behaviour.

 I have a configuration file for cvsup.

 If I set the default tag to be RELENG_7_3, I will build a kernel of
 name 7.3-RELEASE-pX

 If I set the default tag to be RELENG_7, I will build a kernel of name
 7.3-STABLE

 Is that normal?

 With tag RELENG_7 I would expect to build a 7.X-RELEASE kernel, with X
 being the latest available.

 Best regards,

 Olivier
   
Hi

This is correct.
See: http://www.freebsd.org/doc/handbook/cvs-tags.html


DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, 
disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have 
received it
by mistake please let us know by reply and then delete it from your system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Samba PDC roaming profiles problem

2010-08-03 Thread Alex de Kruijff

Op 2-8-2010 21:26, David N schreef:

On 2 August 2010 21:32, Alex de Kruijffal...@specialisterren.nl  wrote:
   

Hi,

I've setup a LDAP backend Samba PDC. I can gain access to shares and

login with a user that is in LDAP, but have a prblem setting up the
roaming profile stuff. I've been trying to solve this problem for some
time now, and have tried everything I could think of, but without much
luck. I keep getting the following error messages:

Windows cannot locate the server copy of your roaming profile and is
attempting to log you on with your local profile. Changes to the profile
will not be copied to the server when you logoff. Plausible causes of
this error include network problem or insufficient security rights. If
this problem persists, contact your network administrators. DETAILS -
The network path was not found.

Followed by:

Windows cannot find the local profile and is logging on with a tempory
profiles. Changes to this profile will be lost when you logoff.

Here is my smb.conf:

 

[global]
 security = user
 name resolve order = wins lmhosts hosts bcast
 deadtime = 15
 map to guest = Never
 csc policy = disable
 hosts allow = 127. 192.168.
 server string =
 workgroup = Nieuwegein
 time server = yes
 wins support = yes
 domain master = yes
 domain logons = yes
encrypt passwords = yes
 local master = yes
 logon drive = Z:
 logon path = \\%L\profiles\%U
 preferred master = yes
 os level = 255
 encrypt passwords = yes
 passdb backend = ldapsam:ldap://localhost/
 enable privileges = Yes
 pam password change = yes
 passwd program = /usr/local/sbin/smbldap-passwd %u
 passwd chat = *New*password* %n\n *Retype*new*password* %n\n
   

*all*authentication*tokens*updated*
 

 unix password sync = Yes
 ldap delete dn = Yes
 ldap ssl = Off
 ldap passwd sync = Yes
 ldap admin dn = cn=admin,dc=specialisterren,dc=nl
 ldap suffix = dc=specialisterren,dc=nl
 ldap group suffix = ou=Groups
 ldap idmap suffix = ou=Users
 ldap machine suffix = ou=Computers
 ldap user suffix = ou=Users
 idmap backend = ldap:ldap://localhost
 idmap uid = 1-2
 idmap gid = 1-2
 add user script = /usr/local/sbin/smbldap-useradd -a -m %u
 delete user script = /usr/local/sbin/smbldap-userdel %u
 add group script = /usr/local/sbin/smbldap-groupadd -p %g
 delete group script = /usr/local/sbin/smbldap-groupdel %g
 add user to group script = /usr/local/sbin/smbldap-groupmod -m
   

%u %g
 

 delete user from group script = /usr/local/sbin/smbldap-groupmod
   

-x %u %g
 

set primary group script = /usr/local/sbin/smbldap-usermod -g %g
   

%u
 

 add machine script = /usr/local/sbin/smbldap-useradd -w %u
template homedir = /home/%U
 template shell = /bin/csh
getwd cache = yes
socket options = SO_KEEPALIVE TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=819
use sendfile = yes
mangle prefix = 6 # How to mangle Long Filenames in to 8.3 DOS
log level = 1
log file = /var/log/samba/log.%m
max log size = 50
 syslog = 0

  [template]
  # edited out, has no path

  [homes]
comment = Home users
inherit owner = yes
dos filemode = yes
writable = yes
read list = @wheel @Domain Admins
valid users = %S
 create mask = 0740
 directory mask = 0750
 aio read size = 16384

  [netlogon]
 comment = Network Logon Service
 path = /disk/netlogon
 browseable = no
 read only = yes
 aio read size = 16384

  [profiles]
 comment = Roaming Profiles Directory
 path = /disk/profiles
 administrative share = true
 browseable = no
writable = yes
 create mask = 0600
 directory mask = 0700
 aio read size = 16384
 public = yes
 # The root preexec command performs:
# mkdir -pm 750 /disk/profiles/%U-%a; chown %U /disk/profiles/%U-%a
 # I started off without this.
 root preexec = /root/sbin/profiles.sh %U %a

# edited out other shares
   

ldapsearch gives me:
 

  # tester, Users, specialisterren.nl
  dn: uid=tester,ou=Users,dc=specialisterren,dc=nl
  objectClass: top
  objectClass: person
  objectClass: organizationalPerson
  objectClass: inetOrgPerson
  objectClass: posixAccount
  objectClass: shadowAccount
  objectClass: sambaSamAccount
  cn: tester
  sn: tester
  givenName: tester
  uid: tester
  uidNumber: 10005
  gidNumber: 513
  homeDirectory: /home/tester
  loginShell: /bin/sh
  gecos: Tes ter
  sambaLogonTime: 0
   

(Edited out the other stuff)

I can acces \\Server\profiles, \\Server\netlogon using my tester
account. /etc/passwd contains no line with the user tester. And I can
login under SSH with the tester account.

ll -d /disk/{netlogon,profiles}gives me:
drwxr-xr-x  2 root  wheel  512 Mar 16 11:09 /disk/netlogon/
drwxrwxrwt  2 root  wheel  512 Aug  2 12:41 /disk/profiles/

Alex



Problem starting bconsole

2010-08-03 Thread Albin Vega
Hello

Have installed Bacula 5.0.0.1 (with MySQL) on a FreeBSD 8.0 platform.

When I try to start bconsole i get the following message:

Connecting to Director localhost:9101
Director authorization problem.
Most likely the passwords do not agree.
If you are using TLS, there may have been a certificate validation error
during the TLS handshake.
Please see
http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION00376for
help.

I have checked that MySQL is running:
mysql680  0.0  0.0  3624  1544  v0- I10:06AM   0:00.00 /bin/sh
/usr/local/bin/mysqld_safe --defaults-extra-file=/var/db/mysql/my.cnf
--user=mys
mysql760  0.0  1.1 192480 41020  v0- I10:06AM   0:00.56 [mysqld]
Also checked if Bacula are running:
bacula   804  0.0  0.1  9996  4560  ??  Ss   10:06AM   0:00.01
/usr/local/sbin/bacula-sd -u bacula -g bacula -v -c
/usr/local/etc/bacula-sd.conf
root 809  0.0  0.1  8896  4252  ??  Ss   10:06AM   0:00.01
/usr/local/sbin/bacula-fd -u root -g wheel -v -c
/usr/local/etc/bacula-fd.conf
bacula   813  0.0  0.2 11428  5692  ??  Is   10:06AM   0:00.01
/usr/local/sbin/bacula-dir -u bacula -g bacula -v -c
/usr/local/etc/bacula-dir.conf

Cant seem to find anything useful on the subject on google either. Anybody
have any idea on how to fix it?

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


Installkernel Failure

2010-08-03 Thread David Allen
I recently upgraded a system from 8.0 to 8.1.

I'm now trying to install FreeBSD 8.1 to a second system by performing a
minimal install, and then NFS mounting /usr/src and /usr/obj from the
just-upgraded system.

Simple enough, right?  Well, the installkernel target is bombing out with
an error each time.  If I install from an 8.1 CD, I get 'ncp.ko not
found'.  If I install from an 8.0 CD, I get the following:

  # cd /usr/src
  # make installkernel
  
  == mxge (install)
  === mxge/mxge (install)
  install -o root -g wheel -m 555   if_mxge.ko /boot/kernel
  === mxge/mxge_eth_z8e (install)
  install -o root -g wheel -m 555   mxge_eth_z8e.ko /boot/kernel
  === mxge/mxge_ethp_z8e (install)
  install -o root -g wheel -m 555   mxge_ethp_z8e.ko /boot/kernel
  === mxge/mxge_rss_eth_z8e (install)
  install -o root -g wheel -m 555   mxge_rss_eth_z8e.ko /boot/kernel
  === mxge/mxge_rss_ethp_z8e (install)
  install -o root -g wheel -m 555   mxge_rss_ethp_z8e.ko /boot/kernel
  === my (install)
  install -o root -g wheel -m 555   if_my.ko /boot/kernel
  === ncp (install)
  install -o root -g wheel -m 555   ncp.ko /boot/kernel
  *** Error code 71

  Stop in /usr/src/sys/modules/ncp.
  *** Error code 1

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

  Stop in /usr/obj/usr/src/sys/NOTGENERIC.
  *** Error code 1

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

  Stop in /usr/src.
  (END)

There is no ncp.ko on the successfully upgraded system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem starting bconsole

2010-08-03 Thread Matthew Seaman
On 03/08/2010 11:46, Albin Vega wrote:
 Hello
 
 Have installed Bacula 5.0.0.1 (with MySQL) on a FreeBSD 8.0 platform.

You should update to 5.0.2 as that fixes some annoying bugs.  5.0.2 is
what is currently available in ports -- just update your ports tree as
described in the handbook.

 When I try to start bconsole i get the following message:
 
 Connecting to Director localhost:9101
 Director authorization problem.
 Most likely the passwords do not agree.
 If you are using TLS, there may have been a certificate validation error
 during the TLS handshake.
 Please see
 http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION00376for
 help.

The password string in bconsole.conf ---

Director {
  Name = your.host.name-dir
  DIRport  = 9101
  address  = your-host-address
  Password = *Long-string-of-gibberish*   
}

Should match the password string in bacula-dir.conf's Director section ---

Director {
Name = your.host.name-dir
DIRport = 9101
QueryFile = /usr/local/share/bacula/query.sql
WorkingDirectory = /var/db/bacula
PidDirectory = /var/run
Maximum Concurrent Jobs = 20
Password = *Long-string-of-gibberish* 
Messages = Daemon
}
[...]


Cheers,

Matthew




signature.asc
Description: OpenPGP digital signature


Raid controller support

2010-08-03 Thread Kenny du Toit
Hi there

I would like to install FReebsd with a raid controller card. Can you tell me if 
these two cards are supported:

1. Intel RAID Controller SRCSASRB
2. Promise EX 8650

Regards
Kenny
___
freebsd-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: Installkernel Failure

2010-08-03 Thread Christer Solskogen
On Tue, Aug 3, 2010 at 12:33 PM, David Allen
the.real.david.al...@gmail.com wrote:

 There is no ncp.ko on the successfully upgraded system.

Do both machines have identical  /etc/make.conf and/or /etc/src.conf?

-- 
chs,
___
freebsd-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: Installkernel Failure

2010-08-03 Thread Pieter de Goeje
On Tuesday 03 August 2010 12:33:04 David Allen wrote:
 I recently upgraded a system from 8.0 to 8.1.
 
 I'm now trying to install FreeBSD 8.1 to a second system by performing a
 minimal install, and then NFS mounting /usr/src and /usr/obj from the
 just-upgraded system.
 
 Simple enough, right?  Well, the installkernel target is bombing out with
 an error each time.  If I install from an 8.1 CD, I get 'ncp.ko not
 found'.  If I install from an 8.0 CD, I get the following:
 
   # cd /usr/src
   # make installkernel
   
   == mxge (install)
   === mxge/mxge (install)
   install -o root -g wheel -m 555   if_mxge.ko /boot/kernel
   === mxge/mxge_eth_z8e (install)
   install -o root -g wheel -m 555   mxge_eth_z8e.ko /boot/kernel
   === mxge/mxge_ethp_z8e (install)
   install -o root -g wheel -m 555   mxge_ethp_z8e.ko /boot/kernel
   === mxge/mxge_rss_eth_z8e (install)
   install -o root -g wheel -m 555   mxge_rss_eth_z8e.ko /boot/kernel
   === mxge/mxge_rss_ethp_z8e (install)
   install -o root -g wheel -m 555   mxge_rss_ethp_z8e.ko /boot/kernel
   === my (install)
   install -o root -g wheel -m 555   if_my.ko /boot/kernel
   === ncp (install)
   install -o root -g wheel -m 555   ncp.ko /boot/kernel
   *** Error code 71
 
   Stop in /usr/src/sys/modules/ncp.
   *** Error code 1
 
   Stop in /usr/src/sys/modules.
   *** Error code 1
 
   Stop in /usr/obj/usr/src/sys/NOTGENERIC.
   *** Error code 1
 
   Stop in /usr/src.
   *** Error code 1
 
   Stop in /usr/src.
   (END)
 
 There is no ncp.ko on the successfully upgraded system.

I suspect /etc/make.conf and/or /etc/src.conf are not identical on both 
machines. Probably you have WITHOUT_IPX only set on the build machine.

- Pieter
___
freebsd-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: strage tag behaviour with cvsup

2010-08-03 Thread RW
On Tue, 3 Aug 2010 15:44:54 +0700 (ICT)
Olivier Nicole olivier.nic...@cs.ait.ac.th wrote:

 Hi,
 
 While updating my servers I recently found out a stange behaviour.
 
 I have a configuration file for cvsup.
 
 If I set the default tag to be RELENG_7_3, I will build a kernel of
 name 7.3-RELEASE-pX
 
 If I set the default tag to be RELENG_7, I will build a kernel of name
 7.3-STABLE
 
 Is that normal?
 
 With tag RELENG_7 I would expect to build a 7.X-RELEASE kernel, with X
 being the latest available.

RELENG_7 is the stable development branch from which RELENG_7_3 is
branched. 7.3-RELEASE would be built from a point on RELENG_7_3.

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


Re: Installkernel Failure

2010-08-03 Thread David Allen
Aargh.  I remembered to type in the KERNCONF= value,
but neglected to include the following:

NO_PROFILE=TRUE
BOOT_COMCONSOLE_SPEED=115200

I suppose the above belongs it src.conf, but that aside,
I'll assume it's the NO_PROFILE bit that's mucking things
up.

Thanks for the replies, Pieter and Christer.



On 8/3/10, Pieter de Goeje pie...@degoeje.nl wrote:
 On Tuesday 03 August 2010 12:33:04 David Allen wrote:
 I recently upgraded a system from 8.0 to 8.1.

 I'm now trying to install FreeBSD 8.1 to a second system by performing a
 minimal install, and then NFS mounting /usr/src and /usr/obj from the
 just-upgraded system.

 Simple enough, right?  Well, the installkernel target is bombing out with
 an error each time.  If I install from an 8.1 CD, I get 'ncp.ko not
 found'.  If I install from an 8.0 CD, I get the following:

   # cd /usr/src
   # make installkernel
   
   == mxge (install)
   === mxge/mxge (install)
   install -o root -g wheel -m 555   if_mxge.ko /boot/kernel
   === mxge/mxge_eth_z8e (install)
   install -o root -g wheel -m 555   mxge_eth_z8e.ko /boot/kernel
   === mxge/mxge_ethp_z8e (install)
   install -o root -g wheel -m 555   mxge_ethp_z8e.ko /boot/kernel
   === mxge/mxge_rss_eth_z8e (install)
   install -o root -g wheel -m 555   mxge_rss_eth_z8e.ko /boot/kernel
   === mxge/mxge_rss_ethp_z8e (install)
   install -o root -g wheel -m 555   mxge_rss_ethp_z8e.ko /boot/kernel
   === my (install)
   install -o root -g wheel -m 555   if_my.ko /boot/kernel
   === ncp (install)
   install -o root -g wheel -m 555   ncp.ko /boot/kernel
   *** Error code 71

   Stop in /usr/src/sys/modules/ncp.
   *** Error code 1

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

   Stop in /usr/obj/usr/src/sys/NOTGENERIC.
   *** Error code 1

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

   Stop in /usr/src.
   (END)

 There is no ncp.ko on the successfully upgraded system.

 I suspect /etc/make.conf and/or /etc/src.conf are not identical on both
 machines. Probably you have WITHOUT_IPX only set on the build machine.

 - Pieter

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


Re: Raid controller support

2010-08-03 Thread Roland Smith
On Tue, Aug 03, 2010 at 11:26:23AM +0200, Kenny du Toit wrote:
 Hi there
 
 I would like to install FReebsd with a raid controller card. Can you tell me 
 if these two cards are supported:
 
 1. Intel RAID Controller SRCSASRB

This should work with the mfi(4) driver, since it uses a 'LSI Logic 1078',
according to 
http://www.intel.com/Products/Server/RAID-controllers/SRCSASRB/SRCSASRB-specifications.htm

 2. Promise EX 8650

According to
http://www.promise.com/support/download_file.aspx?rsn=553m=406region=fr-FR
it should work. There are drivers available for download here: 
http://firstweb.promise.com/support/download/download2_eng.asp?category=allos=100productID=205
Latest is for 7.1, though, and it is binary only. :-( Better skip this one...

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpmmoXZghihP.pgp
Description: PGP signature


Re: ZFS boot with two disks

2010-08-03 Thread krad
On 2 August 2010 20:06, Joshua Isom jri...@gmail.com wrote:

 I'm wanting to set up a simple home file server and basic dev box with
 FreeBSD.  I have two 500GB disks that I want to put in it, one of which is
 empty after cleaning up.  I hope to use gpt and zfs for the disks, but I'm
 unsure about some parts.  A lot of the stuff referring to booting doesn't
 mention concating disks(I'll take my risks) for root.  I do want the second
 disk bootable as a fixit disk.

 For a fixit disk, is it better to use UFS or use ZFS for consistency?  If I
 use two pools, one for booting and the other for data, how much of the
 system needs to be on the booting pool?  I'm hoping to set up the disks
 before putting into the new computer, so will adding the second disk's space
 to the pool cause any problems?  Everything I've looked at talks about
 single disk booting or using a raid just for data storage, so this seems to
 be a lesser used approach.

 And finally, would it just be better to stick with tried and true UFS with
 the MBR or are the benefits good enough?

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



If you are adament that you want to start slicing up your disks into
multiple pools you are probably better off ufs  for os and zfs for data as
you will have  far less hassle doing this. Having said that I have a two
pool system, on for os the rest for data and it works well. You might want
to look at installing the fbsd will the pcbsd installer as it makes the zfs
install fairly easy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Samba PDC roaming profiles problem

2010-08-03 Thread Ruben de Groot
On Tue, Aug 03, 2010 at 12:22:33PM +0200, Alex de Kruijff typed:

 I've enabled debugging in Windows Domain using:
 http://support.microsoft.com/default.aspx?scid=kb;en-us;221833
 
 I find it strange that it first tries \\%L\profiles\testers. This is the 
 log.
 
 
 USERENV(2ec.2f0) 12:08:35:468 LoadUserProfile: Entering, hToken =
 
 0x960, lpProfileInfo = 0x6e3e0
 USERENV(2ec.2f0) 12:08:35:468 LoadUserProfile:

[lot's of MS logs snipped]

I really think these kind of logs could be much better analyzed at a 
samba or MS mailing list.

cheers,
Ruben

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


[solved] Re: Samba PDC roaming profiles problem

2010-08-03 Thread Alex de Kruijff

Op 3-8-2010 14:35, Ruben de Groot schreef:

On Tue, Aug 03, 2010 at 12:22:33PM +0200, Alex de Kruijff typed:

   

I've enabled debugging in Windows Domain using:
http://support.microsoft.com/default.aspx?scid=kb;en-us;221833

I find it strange that it first tries \\%L\profiles\testers. This is the
log.


USERENV(2ec.2f0) 12:08:35:468 LoadUserProfile: Entering, hToken =

0x960, lpProfileInfo = 0x6e3e0
USERENV(2ec.2f0) 12:08:35:468 LoadUserProfile:
 

[lot's of MS logs snipped]

I really think these kind of logs could be much better analyzed at a
samba or MS mailing list.

cheers,
Ruben

   

Hi,

I solved it. Without LDAP one is able to use %L, %U and %a in the logon 
path, but if one uses LDAP then this path is no longer processed by 
Samba, but instead passed literally to Windows. So far my solution is to 
change all LDAP entries. This also means I should name multiple servers 
(on different networks) with the same hostname. Its a bit more limiting 
the smb.conf, but it works.


Yours,
Alex

___
freebsd-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: [solved] Re: Samba PDC roaming profiles problem

2010-08-03 Thread Ruben de Groot
On Tue, Aug 03, 2010 at 02:43:24PM +0200, Alex de Kruijff typed:
 
 I solved it. Without LDAP one is able to use %L, %U and %a in the logon 
 path, but if one uses LDAP then this path is no longer processed by 
 Samba, but instead passed literally to Windows. So far my solution is to 
 change all LDAP entries. This also means I should name multiple servers 
 (on different networks) with the same hostname. Its a bit more limiting 
 the smb.conf, but it works.

Ah, I see. Been there. Do you have the logon path etc options still in
smb.conf or are you using ldap attributes (like sambaProfilePath, 
sambaHomeDrive) for each individual account? I found the latter to be
more flexible in the long run (though a little harder to set up and 
administrate initially)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ipsec and zfs on FreeBSD 8.1 -- kernel problem

2010-08-03 Thread Joshua Coats
I've been experimenting with a FreeBSD 8.1 build, booting with a root in 
zfs, but I've found a problem with the kernel:  using the generic kernel 
works fine, but this particular server needs ipsec enabled, and the 
kernel I built with ipsec support for some reason can't mount the zfs 
partitions, despite loading what I believe are the necessary kernel 
modules (zfs.ko, opensolaris.ko) at startup.

Does special zfs support need to be built into the kernel?  The only 
modifications from the generic kernel for the ipsec kernel I'm using 
are:

options IPSEC
options IPSEC_FILTERTUNNEL
device crypto

This specific kernel config worked fine on FreeBSD 7.3, so I'm at a 
loss.

Thanks,

-- 
Joshua A. Coats
Unix Systems Administrator
Network and Infrastructure, RSSP-IT
University of California, Berkeley
___
freebsd-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: [Bacula-users] Problem starting bconsole

2010-08-03 Thread Ali Reza Sajedi
If you are not using TLS then simply check bconsole.conf to see if you have set 
the right dir name, password and address which correspond to these in 
bacula-dir.conf.
  - Original Message - 
  From: Albin Vega 
  To: Bacula Mailingliste ; FreeBSD Mailingliste 
  Sent: Tuesday, August 03, 2010 12:46 PM
  Subject: [Bacula-users] Problem starting bconsole


  Hello

  Have installed Bacula 5.0.0.1 (with MySQL) on a FreeBSD 8.0 platform. 

  When I try to start bconsole i get the following message: 

  Connecting to Director localhost:9101
  Director authorization problem.
  Most likely the passwords do not agree.
  If you are using TLS, there may have been a certificate validation error 
during the TLS handshake.
  Please see 
http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION00376
 for help.

  I have checked that MySQL is running:
  mysql680  0.0  0.0  3624  1544  v0- I10:06AM   0:00.00 /bin/sh 
/usr/local/bin/mysqld_safe --defaults-extra-file=/var/db/mysql/my.cnf --user=mys
  mysql760  0.0  1.1 192480 41020  v0- I10:06AM   0:00.56 [mysqld]

  Also checked if Bacula are running: 
  bacula   804  0.0  0.1  9996  4560  ??  Ss   10:06AM   0:00.01 
/usr/local/sbin/bacula-sd -u bacula -g bacula -v -c 
/usr/local/etc/bacula-sd.conf
  root 809  0.0  0.1  8896  4252  ??  Ss   10:06AM   0:00.01 
/usr/local/sbin/bacula-fd -u root -g wheel -v -c /usr/local/etc/bacula-fd.conf
  bacula   813  0.0  0.2 11428  5692  ??  Is   10:06AM   0:00.01 
/usr/local/sbin/bacula-dir -u bacula -g bacula -v -c 
/usr/local/etc/bacula-dir.conf

  Cant seem to find anything useful on the subject on google either. Anybody 
have any idea on how to fix it?

  Best regards
  Albin



--


  --
  The Palm PDK Hot Apps Program offers developers who use the
  Plug-In Development Kit to bring their C/C++ apps to Palm for a share
  of $1 Million in cash or HP Products. Visit us here for more details:
  http://p.sf.net/sfu/dev2dev-palm


--


  ___
  Bacula-users mailing list
  bacula-us...@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users
___
freebsd-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: [Bacula-users] Problem starting bconsole

2010-08-03 Thread Doug Forster
Also if you are using tcp wrappers check your host.allow file to ensure
you are allowed to connect. This error also comes up when that is
wrong. 

On Tue, 2010-08-03 at 18:14 +0200, Ali Reza Sajedi wrote:
 If you are not using TLS then simply check bconsole.conf to see if you
 have set the right dir name, password and address which correspond to
 these in bacula-dir.conf.
 - Original Message - 
 From: Albin Vega 
 To: Bacula Mailingliste ; FreeBSD Mailingliste 
 Sent: Tuesday, August 03, 2010 12:46 PM
 Subject: [Bacula-users] Problem starting bconsole
 
 
 Hello
  
 Have installed Bacula 5.0.0.1 (with MySQL) on a FreeBSD 8.0
 platform. 
  
 When I try to start bconsole i get the following message: 
  
 Connecting to Director localhost:9101
 Director authorization problem.
 Most likely the passwords do not agree.
 If you are using TLS, there may have been a certificate
 validation error during the TLS handshake.
 Please see
 
 http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION00376
  for help.
  
 I have checked that MySQL is running:
 mysql680  0.0  0.0  3624  1544  v0- I10:06AM
 0:00.00 /bin/sh /usr/local/bin/mysqld_safe
 --defaults-extra-file=/var/db/mysql/my.cnf --user=mys
 mysql760  0.0  1.1 192480 41020  v0- I10:06AM
 0:00.56 [mysqld]
 
 Also checked if Bacula are running: 
 bacula   804  0.0  0.1  9996  4560  ??  Ss   10:06AM
 0:00.01 /usr/local/sbin/bacula-sd -u bacula -g bacula -v
 -c /usr/local/etc/bacula-sd.conf
 root 809  0.0  0.1  8896  4252  ??  Ss   10:06AM
 0:00.01 /usr/local/sbin/bacula-fd -u root -g wheel -v
 -c /usr/local/etc/bacula-fd.conf
 bacula   813  0.0  0.2 11428  5692  ??  Is   10:06AM
 0:00.01 /usr/local/sbin/bacula-dir -u bacula -g bacula -v
 -c /usr/local/etc/bacula-dir.conf
  
 Cant seem to find anything useful on the subject on google
 either. Anybody have any idea on how to fix it?
  
 Best regards
 Albin
 
 
 __
 
 
 --
 The Palm PDK Hot Apps Program offers developers who use the
 Plug-In Development Kit to bring their C/C++ apps to Palm for
 a share
 of $1 Million in cash or HP Products. Visit us here for more
 details:
 http://p.sf.net/sfu/dev2dev-palm 
 
 
 __
 
 ___
 Bacula-users mailing list
 bacula-us...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 --
 The Palm PDK Hot Apps Program offers developers who use the
 Plug-In Development Kit to bring their C/C++ apps to Palm for a share
 of $1 Million in cash or HP Products. Visit us here for more details:
 http://p.sf.net/sfu/dev2dev-palm
 ___ Bacula-users mailing list 
 bacula-us...@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/bacula-users


___
freebsd-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: ipsec and zfs on FreeBSD 8.1 -- kernel problem

2010-08-03 Thread Roland Smith
On Tue, Aug 03, 2010 at 08:40:52AM -0700, Joshua Coats wrote:
 I've been experimenting with a FreeBSD 8.1 build, booting with a root in 
 zfs, but I've found a problem with the kernel:  using the generic kernel 
 works fine, but this particular server needs ipsec enabled, and the 
 kernel I built with ipsec support for some reason can't mount the zfs 
 partitions, despite loading what I believe are the necessary kernel 
 modules (zfs.ko, opensolaris.ko) at startup.

I'm assuming you're booting from a UFS /boot? Otherwise you'd need to build
the required modules into the kernel.

Maybe you need to build/install a zfs-enabled bootloader? I see some code in
/usr/src/sys/boot/i386/zfsboot/ and /usr/src/sys/boot/i386/zfsloader/, but I'm
not a ZFS user.

 Does special zfs support need to be built into the kernel?  The only 
 modifications from the generic kernel for the ipsec kernel I'm using 
 are:
 
 options IPSEC
 options IPSEC_FILTERTUNNEL
 device crypto
 
 This specific kernel config worked fine on FreeBSD 7.3, so I'm at a 
 loss.

When building a custom kernel, _always_ start from a GENERIC kernel from the
release you're using. There have been changes between 7.3 and 8.1 that you are
probably missing. 

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpzS8DRdKcxc.pgp
Description: PGP signature


Re: ipsec and zfs on FreeBSD 8.1 -- kernel problem

2010-08-03 Thread krad
On 3 August 2010 16:40, Joshua Coats jo...@rescomp.berkeley.edu wrote:

 I've been experimenting with a FreeBSD 8.1 build, booting with a root in
 zfs, but I've found a problem with the kernel:  using the generic kernel
 works fine, but this particular server needs ipsec enabled, and the
 kernel I built with ipsec support for some reason can't mount the zfs
 partitions, despite loading what I believe are the necessary kernel
 modules (zfs.ko, opensolaris.ko) at startup.

 Does special zfs support need to be built into the kernel?  The only
 modifications from the generic kernel for the ipsec kernel I'm using
 are:

 options IPSEC
 options IPSEC_FILTERTUNNEL
 device crypto

 This specific kernel config worked fine on FreeBSD 7.3, so I'm at a
 loss.

 Thanks,

 --
 Joshua A. Coats
 Unix Systems Administrator
 Network and Infrastructure, RSSP-IT
 University of California, Berkeley
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org



did you build zfs support into the loader?

add

LOADER_ZFS_SUPPORT=YES

to /etc/src.conf
___
freebsd-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: ipsec and zfs on FreeBSD 8.1 -- kernel problem

2010-08-03 Thread Joshua Coats
 I'm assuming you're booting from a UFS /boot? Otherwise you'd need to 
 build the required modules into the kernel.

Right -- I did create a UFS /boot partition in gpart.

 When building a custom kernel, _always_ start from a GENERIC kernel 
 from the release you're using. There have been changes between 7.3 and 
 8.1 that you are probably missing. 

Sorry if this was unclear; I did indeed start with the generic kernel.  
I left off the first line from this, which was include GENERIC

-- 
Joshua A. Coats
Unix Systems Administrator
Network and Infrastructure, RSSP-IT
University of California, Berkeley


pgpEvrLYag82u.pgp
Description: PGP signature


Re: ipsec and zfs on FreeBSD 8.1 -- kernel problem

2010-08-03 Thread Joshua Coats
 I'm assuming you're booting from a UFS /boot? Otherwise you'd need to 
 build the required modules into the kernel.

Sorry -- not booting from a UFS /boot, just loader bootstrap code on a 
freebsd-boot partition.

-- 
Joshua A. Coats
Unix Systems Administrator
Network and Infrastructure, RSSP-IT
University of California, Berkeley


pgpYFRLJ4m6eD.pgp
Description: PGP signature


Re: ipsec and zfs on FreeBSD 8.1 -- kernel problem

2010-08-03 Thread Joshua Coats
As further clarification, I can boot kernel.old (i.e., GENERIC) with the 
gptzfsloader, but the custom kernel won't boot;

The full config for the custom kernel is:

include GENERIC

ident   RCBSD_ZFS_REL8

# Enabling IPSec (see SysAdmin.IPSec in TWiki)
options IPSEC
options IPSEC_FILTERTUNNEL
device  crypto

The contents of /boot/loader.conf are:

vfs.zfs.prefetch_disable=1
vfs.root.mountfrom=zfs:tank
zfs_load=YES

-- 
Joshua A. Coats
Unix Systems Administrator
Network and Infrastructure, RSSP-IT
University of California, Berkeley


pgp41GTsNdJka.pgp
Description: PGP signature


Re: help for elf_load_section: truncated ELF file

2010-08-03 Thread Lowell Gilbert
赵建凯 zhaojiankai2558...@gmail.com writes:

 Deal All:
 When I am compiling the kernel of FreeBSD-8.1RC2, I meet a problem.
 In detail:
 stage 2.3: build tools
 --
 cd /usr/obj/usr/src/sys/MYKERNEL;
 MAKESRCPATH=/usr/src/sys/dev/aic7xxx/aicasm  make SSP_CFLAGS=
 -DNO_CPU_CFLAGS -DNO_CTF  -f /usr/src/sys/dev/aic7xxx/aicasm/Makefile
 Warning: Object directory not changed from original
 /usr/obj/usr/src/sys/MYKERNEL
 yacc -b aicasm_gram  -d -o aicasm_gram.c
 /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y
 yacc -b aicasm_macro_gram -p mm -d -o aicasm_macro_gram.c
 /usr/src/sys/dev/aic7xxx/aicasm/aicasm_macro_gram.y
 cc -O2 -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm
 -std=gnu99  -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
 -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
 -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow
 -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs
 -Wredundant-decls -Wno-pointer-sign -c
 /usr/src/sys/dev/aic7xxx/aicasm/aicasm.c
 elf_load_section: truncated ELF file
 cc: Internal error: Abort trap: 6 (program cc1)
 Please submit a full bug report.
 See URL:http://gcc.gnu.org/bugs.html http://gcc.gnu.org/bugs.html for
 instructions.
 *** Error code 1
 Stop in /usr/obj/usr/src/sys/MYKERNEL.
 *** Error code 1
 Stop in /usr/src.
 *** Error code 1
 Stop in /usr/src.

Have you done a buildworld first?
Can you build GENERIC?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to install Etoile?

2010-08-03 Thread Lowell Gilbert
Caleb Stein caleb.st...@me.com writes:

 I want to install Etoile.  I tried doing this:

 cd /usr/ports/x11/etoile
 sudo make install

 It exits with an error that etoile-languagekit requires llvm 2.6 or
 lower, but I have llvm 2.7 installed.  Is there any way to go back to
 2.6, and if  I can, will it break anything else that's important?

You can always use ports-mgmt/portdowngrade to roll llvm back.
As to whether it will break anything else, that's hard to be sure, 
unless you have nothing else depending on it.

Presumably there's a reason that llvm got an upgrade. 
___
freebsd-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 parse output of application?

2010-08-03 Thread Dino Vliet
Dear freebsd list,

Can you help me with this task I have? I have a lot of files in a subdirectory 
containing the following text:

Correctly Classified Instances 3018117   56.6808 %
Incorrectly Classified Instances   2306643   43.3192 %
Kappa statistic  0.2443
Mean absolute error  0.4304
Root mean squared
 error  0.4586
Relative absolute error    124.1251 %
Root relative squared error    110.1308 %
Total Number of Instances  5324760 


=== Detailed Accuracy By Class ===

TP Rate   FP Rate   Precision   Recall  F-Measure   ROC Area  Class
  0.618 0.343  0.681 0.618 0.648  0.697    1
  0.519 0.244  0.617
 0.519 0.564  0.693    2
  0.296 0.141  0.056 0.296 0.094  0.66 3


=== Confusion Matrix ===

   a   b   c   -- classified as
 1784321  684983  416649 |   a = 1
  787342 1190428  314537 |   b = 2
   49255   53877   43368 |   c = 3

I need to parse this file to get in a csv file the following information:

Correctly Classified Instances, Kappa statistic, Total Number of Instances, 
Precision {1}, Recall {1}, F-Measure
 {1},Precision {2}, Recall {2}, F-Measure {2},Precision {3}, Recall {3}, 
F-Measure {3},a,b,c,a,b,c,a,b,c
56.6808,
 0.2443, 5324760, 0.681,0.618,0.648,0.617,0.519,0.564, 
0.056,0.296,0.094,1784321,684983,416649,787342,1190428,314537,49255,53877,43368

Does anyone have an idea how this could be accomplished?

I not that great in programming so writing a ruby or shell script do do this 
would take me weeks:-(

Thanks
Dino



___
freebsd-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 parse output of application?

2010-08-03 Thread Chip Camden
 
 Can you help me with this task I have? I have a lot of files in a 
 subdirectory containing the following text:
 
 Correctly Classified Instances 3018117   56.6808 %
 Incorrectly Classified Instances   2306643   43.3192 %
 Kappa statistic  0.2443
 Mean absolute error  0.4304
 Root mean squared
  error  0.4586
 Relative absolute error    124.1251 %
 Root relative squared error    110.1308 %
 Total Number of Instances  5324760 
 
 
 === Detailed Accuracy By Class ===
 
 TP Rate   FP Rate   Precision   Recall  F-Measure   ROC Area  Class
   0.618 0.343  0.681 0.618 0.648  0.697    1
   0.519 0.244  0.617
  0.519 0.564  0.693    2
   0.296 0.141  0.056 0.296 0.094  0.66 3
 
 
 === Confusion Matrix ===
 
    a   b   c   -- classified as
  1784321  684983  416649 |   a = 1
   787342 1190428  314537 |   b = 2
    49255   53877   43368 |   c = 3
 
 I need to parse this file to get in a csv file the following information:
 
 Correctly Classified Instances, Kappa statistic, Total Number of Instances, 
 Precision {1}, Recall {1}, F-Measure
  {1},Precision {2}, Recall {2}, F-Measure {2},Precision {3}, Recall {3}, 
 F-Measure {3},a,b,c,a,b,c,a,b,c
 56.6808,
  0.2443, 5324760, 0.681,0.618,0.648,0.617,0.519,0.564, 
 0.056,0.296,0.094,1784321,684983,416649,787342,1190428,314537,49255,53877,43368
 
 Does anyone have an idea how this could be accomplished?
 
 I not that great in programming so writing a ruby or shell script do do this 
 would take me weeks:-(
 
 Thanks
 Dino
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Well, I'd use Ruby.  Read the whole file into a string and find the
relevant bits with Regexp.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpdJgqaVHQV3.pgp
Description: PGP signature


lightweight Chat client/server?

2010-08-03 Thread Depo Catcher


I have a combination of Spark (windows client) and Open Fire (FreeBSD 
server, actually Java) for my lan.
We've used this setup for years, but the OpenFire server takes up ~500 + 
MB.


Anyways, we were looking for something a bit smaller.
We just need to send text messages to LAN users (less than 6) and 
supports a nice windows client.

We're not suppose to use any external services (yahoo messenger, aol, etc)
___
freebsd-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: lightweight Chat client/server?

2010-08-03 Thread Bill Moran
In response to Depo Catcher depocatc...@gmail.com:
 
 I have a combination of Spark (windows client) and Open Fire (FreeBSD 
 server, actually Java) for my lan.
 We've used this setup for years, but the OpenFire server takes up ~500 + 
 MB.
 
 Anyways, we were looking for something a bit smaller.
 We just need to send text messages to LAN users (less than 6) and 
 supports a nice windows client.
 We're not suppose to use any external services (yahoo messenger, aol, etc)

We've been using Jabber for several years internally.  Works well and
has clients for just about every OS I know of.

Don't know if it could be considered lightweight, though, since it
requires an SQL server on the backend.  If you already have another
SQL server in production, you could just install the DB there, as its
DB usage is pretty light.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
freebsd-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: lightweight Chat client/server?

2010-08-03 Thread Rodrigo Gonzalez
On Tue, 03 Aug 2010 15:12:05 -0500
Depo Catcher depocatc...@gmail.com wrote:

 
 I have a combination of Spark (windows client) and Open Fire (FreeBSD 
 server, actually Java) for my lan.
 We've used this setup for years, but the OpenFire server takes up
 ~500 + MB.
 
 Anyways, we were looking for something a bit smaller.
 We just need to send text messages to LAN users (less than 6) and 
 supports a nice windows client.
 We're not suppose to use any external services (yahoo messenger, aol,
 etc) ___

I would recommend 

/usr/ports/net-im/ejabberd 


signature.asc
Description: PGP signature


Re: ipsec and zfs on FreeBSD 8.1 -- kernel problem

2010-08-03 Thread Joshua Coats
Turns out the problem is that my copy of /usr/src got clobbered by a 
download of the 7.3 release's copy.  Replacing that properly fixed the 
problem.

-- 
Joshua A. Coats
Unix Systems Administrator
Network and Infrastructure, RSSP-IT
University of California, Berkeley


pgp9uS20agNF4.pgp
Description: PGP signature


adding postgresql_enable=YES by hand

2010-08-03 Thread Jeff Hamann
Hi, 

I'm sure this is a newbie question, but I can't seem to get traction via web 
searches...

In the past, when I've installed postgresql using the ports collection, I 
haven't had to worry about this. 

I've built postgresql from source on FreeBSD (not using the ports collection) 
and now need to add:

postgresql_enable=YES to the rc.conf file so that when the machine is booted, 
the postmaster will start. 

Now, I need to understand the mechanics between:

blah_blah_blah_enable=YES 

and 

$ /usr/local/blah_blah_blah/bin/thingy_ctl -D /usr/blah_blah_blah/data 
start/stop/restart

Since I need to be able to build outside the ports collection (other OSes 
apply), can someone please point me in the right direction for hooking this up

Please?
Jeff. 



Jeff Hamann
jeff.d.ham...@gmail.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: adding postgresql_enable=YES by hand

2010-08-03 Thread Ryan Coleman
rc.conf loads on boot up before your user scripts and you are allowed to log in.


On Aug 3, 2010, at 4:42 PM, Jeff Hamann wrote:

 Hi, 
 
 I'm sure this is a newbie question, but I can't seem to get traction via web 
 searches...
 
 In the past, when I've installed postgresql using the ports collection, I 
 haven't had to worry about this. 
 
 I've built postgresql from source on FreeBSD (not using the ports collection) 
 and now need to add:
 
 postgresql_enable=YES to the rc.conf file so that when the machine is 
 booted, the postmaster will start. 
 
 Now, I need to understand the mechanics between:
 
 blah_blah_blah_enable=YES 
 
 and 
 
 $ /usr/local/blah_blah_blah/bin/thingy_ctl -D /usr/blah_blah_blah/data 
 start/stop/restart
 
 Since I need to be able to build outside the ports collection (other OSes 
 apply), can someone please point me in the right direction for hooking this 
 up
 
 Please?
 Jeff. 
 
 
 
 Jeff Hamann
 jeff.d.ham...@gmail.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

___
freebsd-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: lightweight Chat client/server?

2010-08-03 Thread Charles Richards
You can tune the openfire JVM configuration to run in 256MB of RAM, possibly 
less with only  6 users.
You also do not need to use an external DB for it - it can run with it's own 
embedded DB.

It's probably the easiest to install / configure Jabber client I've come 
across, but there's a good list noted here: 
http://xmpp.org/software/servers.shtml




Charles Richards
www.charlesrichards.net
richar...@gmail.com




On Aug 3, 2010, at 2:18 PM, Bill Moran wrote:

 In response to Depo Catcher depocatc...@gmail.com:
 
 I have a combination of Spark (windows client) and Open Fire (FreeBSD 
 server, actually Java) for my lan.
 We've used this setup for years, but the OpenFire server takes up ~500 + 
 MB.
 
 Anyways, we were looking for something a bit smaller.
 We just need to send text messages to LAN users (less than 6) and 
 supports a nice windows client.
 We're not suppose to use any external services (yahoo messenger, aol, etc)
 
 We've been using Jabber for several years internally.  Works well and
 has clients for just about every OS I know of.
 
 Don't know if it could be considered lightweight, though, since it
 requires an SQL server on the backend.  If you already have another
 SQL server in production, you could just install the DB there, as its
 DB usage is pretty light.
 
 -- 
 Bill Moran
 http://www.potentialtech.com
 http://people.collaborativefusion.com/~wmoran/
 ___
 freebsd-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: adding postgresql_enable=YES by hand

2010-08-03 Thread Randal L. Schwartz
 Jeff == Jeff Hamann jeff.d.ham...@gmail.com writes:

Jeff Now, I need to understand the mechanics between:

Jeff blah_blah_blah_enable=YES 

Jeff and 

Jeff $ /usr/local/blah_blah_blah/bin/thingy_ctl -D
Jeff /usr/blah_blah_blah/data start/stop/restart

The linkage is in /usr/local/etc/rc.d/postgresql
which is ultimately called by /etc/rc and friends.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
freebsd-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: adding postgresql_enable=YES by hand

2010-08-03 Thread RW
On Tue, 3 Aug 2010 17:16:05 -0500
Ryan Coleman ryan.cole...@cwis.biz wrote:

 rc.conf loads on boot up before your user scripts and you are allowed
 to log in.

rc.conf is sourced into /etc/rc.subr which in turn is sourced into
individual rc scripts. 
___
freebsd-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 parse output of application?

2010-08-03 Thread Chad Perrin
On Tue, Aug 03, 2010 at 12:58:34PM -0700, Chip Camden wrote:
  
  I not that great in programming so writing a ruby or shell script do do 
  this would take me weeks:-(
 
 Well, I'd use Ruby.  Read the whole file into a string and find the
 relevant bits with Regexp.

I'd say either Perl or Ruby is the way to go in this case, because of
regular expression support and the nifty functions/methods you can use
with them (e.g. Perl's map and Ruby's collect), depending on which of
them best suits your way of thinking.  Using shell scripts would, I
think, be a bit more of an arcane exercise for someone relatively new to
coding, given the assumption that you're going to use regexen as the
workhorse.

Another nice tool for this sort of thing, in both languages, is the split
function/method.

Unfortunately, nothing comes immediately to mind that wouldn't involve
writing some code -- so if it would take you weeks to write code to do
the work for you, I guess you're stuck with taking weeks to do it, unless
you want to just do it all by hand.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpWRNlZVVOq3.pgp
Description: PGP signature


mounting UFS CD-ROMs

2010-08-03 Thread Noah Pratt
Hi,

I have a whole bunch of UFS CD-ROMs, but I'm unable to mount them on
my FreeBSD 8 system.
I thought it would be possible. From the FAQ:
http://www.freebsd.org/doc/en/books/faq/disks.html

UFS CD-ROMs can be mounted directly on FreeBSD. Mounting disk
partitions from Digital UNIX and other systems that support UFS may be
more complex, depending on the details of the disk partitioning for
the operating system in question.


I tried the direct route:

6930p# file -s /dev/acd0t01
/dev/acd0: Unix Fast File system [v1] (big-endian), last mounted on
/worm, last written at Fri Oct  6 04:01:43 2000, clean flag 1, number
of blocks 616699, number of data blocks 578377, number of cylinder
groups 126, block size 8192, fragment size 1024, minimum percentage of
free blocks 10, rotational delay 0ms, disk rotational speed 90rps,
TIME optimization
6930p# mount -t ufs -o ro /dev/acd0t01 /mnt
mount: /dev/acd0t01 : Invalid argument


To make sure it wasn't the media, I tried the loopback route:

6930p# cat /dev/acd0  5853-5864.iso
6930p# mdconfig -a -t vnode -f /usr/home/CDs/5853-5864.iso -u 1 -o readonly
6930p# mdconfig -lv
md0  swap  700M
md1  vnode 603M  /usr/home/CDs/5853-5864.iso
6930p# mount -o ro /dev/md1 /mnt
mount: /dev/md1 : Invalid argument
6930p# mount -o ro -t ufs /dev/md1 /mnt
mount: /dev/md1 : Invalid argument

6930p# file -s /dev/md1
/dev/md1: Unix Fast File system [v1] (big-endian), last mounted on
/worm, last written at Fri Oct  6 04:01:43 2000, clean flag 1, number
of blocks 616699, number of data blocks 578377, number of cylinder
groups 126, block size 8192, fragment size 1024, minimum percentage of
free blocks 10, rotational delay 0ms, disk rotational speed 90rps,
TIME optimization

6930p# fdisk md1
*** Working on device /dev/md1 ***
parameters extracted from in-core disklabel are:
cylinders=76 heads=255 sectors/track=63 (16065 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=76 heads=255 sectors/track=63 (16065 blks/cyl)

fdisk: invalid fdisk partition table found
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 1220877 (596 Meg), flag 80 (active)
 beg: cyl 0/ head 1/ sector 1;
 end: cyl 75/ head 254/ sector 63
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED

6930p# uname -a
FreeBSD 6930p.domain.com 8.0-STABLE FreeBSD 8.0-STABLE #1: Mon May 17
01:26:14 PDT 2010
r...@6930p.domain.com:/usr/obj/usr/src/sys/GENERIC  amd64


Am I missing something that ought to be obvious? [probable]
Is it no longer possible to mount UFS filesystems? [unlikely ;-) ]
Is there something specific about *this* UFS filesystem that prevents
it from working?

Thank you,

-Noah
___
freebsd-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: lightweight Chat client/server?

2010-08-03 Thread Depo Catcher


Thanks.  I guess I should started with that first.  It's a nice program, 
so if I can reduce it's load a bit that would be great.


I tried setting Xmx to 16M and removed the '-server' from the 
/usr/local/etc/rc.d/openfire script

openfire_javargs=-Xmx16M

ps shows that it took the setting:
 /usr/local/diablo-jdk1.5.0/bin/java -jar -Xmx16M 
-Dopenfire.lib.dir=/usr/local/share/java/classes 
-DopenfireHome=/usr/local/shar


From top:
40724 openfire 13  200   214M 70336K kserel 0   0:24  0.89% 
java

Top still shows it 214M Size with ~70M Res

That's better, but still seems a bit much.  Not sure why it's still 
allocating that, I guess it might be native libs or something?


We all spammed a bunch of text to each other (a ton more than normal 
usage) and still it works fine.  Any way to get it down more?



On 8/3/2010 5:15 PM, Charles Richards wrote:

You can tune the openfire JVM configuration to run in 256MB of RAM, possibly less 
with only  6 users.
You also do not need to use an external DB for it - it can run with it's own 
embedded DB.

It's probably the easiest to install / configure Jabber client I've come 
across, but there's a good list noted here: 
http://xmpp.org/software/servers.shtml




Charles Richards
www.charlesrichards.net
richar...@gmail.com




On Aug 3, 2010, at 2:18 PM, Bill Moran wrote:

   

In response to Depo Catcherdepocatc...@gmail.com:
 

I have a combination of Spark (windows client) and Open Fire (FreeBSD
server, actually Java) for my lan.
We've used this setup for years, but the OpenFire server takes up ~500 +
MB.

Anyways, we were looking for something a bit smaller.
We just need to send text messages to LAN users (less than 6) and
supports a nice windows client.
We're not suppose to use any external services (yahoo messenger, aol, etc)
   

We've been using Jabber for several years internally.  Works well and
has clients for just about every OS I know of.

Don't know if it could be considered lightweight, though, since it
requires an SQL server on the backend.  If you already have another
SQL server in production, you could just install the DB there, as its
DB usage is pretty light.

--
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
freebsd-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
   

___
freebsd-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: Salvage files from harddrive

2010-08-03 Thread David Cross
FreeBSD 6.2 didn't use volume labels the same way that 7 and above do; 
and even then only if you specifically label the filesystems, and even 
then you can get to the filesystems with the 'bus' methods (which is 
what you need to do in 6.2 anyway)


On your system that you have access to /var in single user mode, note 
what 'df /var' returns for the device, it will be in the form of:


/dev/adXsYL
  or
/dev/daXsYL

where X and Y are numbers, and 'L' is a letter.  Take note of  'Y' and 
'L', but you can ignore 'X'.


on the working system note what disks are currently in the system, if 
you run 'df -l' you'll get a list of everything in the form of above, 
there make note of 'X' (and ignore 'Y' and 'L').


Now shutdown, move the drive over, and reboot, pay attention to the 
kernel messages, you should see a new 'adX' line come up that wasn't 
there on the working system before, this is where your new drive is.


(typical layouts are that ad0 is the primary-master, ad1 is the 
primary-slave, ad2 is the secondary-master, ad3 is the 
secondary-slave... with sata motherboards ad4 can be the first sata 
port, ad6 is the next, etc.. these are just generalities to help guide 
you, pay attention to what the kernel tells you)


now that you have that do

mount /dev/adXsYL /mnt(take 'X' from the new disk on the working 
system, and YL that you took note of above.).. your old /var will now be 
on /mnt


--
David E. Cross

On 10/7/2011 7:07 AM, jeffry killen wrote:

Hello;
I have a hard drive that contains the /var file system in a system that
will not boot.
In single user mode I can mount  /var.

I want to take this disk and put it in another FreeBSD system and
try to copy the files I need off of it to a safe place.

The system I will plug it into will also have a separate disk with
/var.

Is there going to be a conflict with the labels and how would I
best go about this?

system is FreeBSD v6.2

Thank you in advance for guidance, suggestions.
JK
___
freebsd-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: mounting UFS CD-ROMs

2010-08-03 Thread Michael Powell
Noah Pratt wrote:

 Hi,
 
 I have a whole bunch of UFS CD-ROMs, but I'm unable to mount them on
 my FreeBSD 8 system.
 I thought it would be possible. From the FAQ:
 http://www.freebsd.org/doc/en/books/faq/disks.html
 
 UFS CD-ROMs can be mounted directly on FreeBSD. Mounting disk
 partitions from Digital UNIX and other systems that support UFS may be
 more complex, depending on the details of the disk partitioning for
 the operating system in question.
 
 
 I tried the direct route:
 
 6930p# file -s /dev/acd0t01
 /dev/acd0: Unix Fast File system [v1] (big-endian), last mounted on
 ^^
[snip]
 
 6930p# uname -a
 FreeBSD 6930p.domain.com 8.0-STABLE FreeBSD 8.0-STABLE #1: Mon May 17
 01:26:14 PDT 2010
 r...@6930p.domain.com:/usr/obj/usr/src/sys/GENERIC  amd64
 
 
 Am I missing something that ought to be obvious? [probable]
 Is it no longer possible to mount UFS filesystems? [unlikely ;-) ]
 Is there something specific about *this* UFS filesystem that prevents
 it from working?
 

I suspect maybe the disk was written using Solaris on SPARC, which is big-
endian. Most PC architectures are little-endian.

-Mike



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


OT: Open source will testament software

2010-08-03 Thread Robert
I have been searching everywhere but am unable to find any open source
software for creating a last will and testament.

Does anyone know of any? 

Robert
___
freebsd-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: OT: Open source will testament software

2010-08-03 Thread Olivier Nicole
 I have been searching everywhere but am unable to find any open source
 software for creating a last will and testament.

Open Office?

vi? ed?

emacs?

I used the latest and signed with PGP.

Olivier
___
freebsd-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: OT: Open source will testament software

2010-08-03 Thread Polytropon
On Tue, 3 Aug 2010 20:33:58 -0700, Robert travelin...@cox.net wrote:
 I have been searching everywhere but am unable to find any open source
 software for creating a last will and testament.

LaTeX in combination with your favourite text editor. Make sure to
obtain a usable example (maybe from a lawyer) that you can use for
further editing.


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


Re: OT: Open source will testament software

2010-08-03 Thread Frank Shute
On Wed, Aug 04, 2010 at 06:04:33AM +0200, Polytropon wrote:

 On Tue, 3 Aug 2010 20:33:58 -0700, Robert travelin...@cox.net wrote:
 
  I have been searching everywhere but am unable to find any open source
  software for creating a last will and testament.
 
 LaTeX in combination with your favourite text editor. Make sure to
 obtain a usable example (maybe from a lawyer) that you can use for
 further editing.
 
 

My first search turned up this:

http://www.maztravel.com/perl/will/index.html

Uses LaTeX and perl. About time I made a will, I think.


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