Re: Strange X problem

2006-10-06 Thread Norberto Meijome
On Fri, 06 Oct 2006 00:10:44 -0500
Paul Schmehl [EMAIL PROTECTED] wrote:

 I can type starx or gdm after logging in as root, but that's not what I 
 want.

Not sure if it is the same as with gdm, but gdm installs an rc file
in /usr/X11R6/etc/rc.d/gdm

gdm_enable=YES needs to be added to rc.conf.

you may want to check whether pkg_info -L kdm* | grep rc

shows anything useful

_
{Beto|Norberto|Numard} Meijome

Which is worse: ignorance or apathy?
Don't know. Don't care.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


strange DNS problem

2006-10-06 Thread Wojciech Puchar

one of my users reporting problem sending e-mail to @mil.be

sendmail reports host name lookup failure

host reports

[EMAIL PROTECTED] ~]$ host -t mx mil.be
mil.be mail is handled by 10 hermes01.mil.be.


[EMAIL PROTECTED] ~]$ host -t a hermes01.mil.be
hermes01.mil.be has address 194.7.21.40
hermes01.mil.be has address 193.191.219.40
Host hermes01.mil.be not found: 2(SERVFAIL)
^

where's a problem? while hostr is able to get IP addresses but then 
reports servfail?



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


Re: port php5 - what I am supposed to do here?

2006-10-06 Thread Alex Zbyslaw

Matt Emmerton wrote:


Hello List,

Portuadit telles my about the open_basedir Race Condition
Vulnerability, OK.

By reading the advisory on
http://www.hardened-php.net/advisory_082006.132.html I can safely say
this does not apply to our environment, we don't use open_basedir or
safe_mode and Suhosin is planned anyway (after test).
   


[...]
So what to do now?
   



You've established that the security issue doesn't apply to your
environment.

1) Add DISABLE_VULNERABILITIES=yes to /etc/make.conf
2) Run portupgrade -u or make install clean

 

By doing this you have disabled vulnerability checking for *all* ports 
which seems a little extreme.  Either add the flag to pkgtools.conf (for 
portupgrade (and portmanager?)) or use it from the command line with make.


--Alex


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


stop ata drive rotation after umount

2006-10-06 Thread Michel Le Cocq
Hello,

I want to stop the rotation of my ata drive after umounting them and
restore it back juste before the mount process.
I try to do this on some backup disk which are normaly not mount and
only for restore and backup process.
If I can stop the rotation of these disk, I can obtain a reduce of the
temperature and noise inside my box :-)

thanks for your help

-- 
Michel Le Cocq
Administrateur Reseau Laga-Lipn

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


Re: FreeBSD and 2 ADSL links

2006-10-06 Thread Josh Paetzel
On Thursday 05 October 2006 20:22, J65nko wrote:
 On 10/5/06, Thiago Rocha [EMAIL PROTECTED] wrote:
  hi!
 
  Brazilian I and do not say English, I forgive for any error!
 
  I have a FreeBSD Server (5.4). This server links ADSL has two,
  and I need to balance the load between them, e also case one
  stops the other keeps the connection.

 You can do this with pf, see
 http://openbsd.org/faq/pf/pools.html#outgoing and
 http://openbsd.org/faq/pf/carp.html

Using pools is sort of a poor man's load balancing.  It's more of a 
round-robin approach to using more than one link.  It's not going to 
allow you to do a single transfer using the aggregated bandwidth of 
both links.

-- 
Thanks,

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


Re: checksum mismatch

2006-10-06 Thread Bill Moran
jan gestre [EMAIL PROTECTED] wrote:

 On 10/6/06, jan gestre [EMAIL PROTECTED] wrote:
 
  guys,
 
  i'm having problems with the amavisd-new port, portupgrade reports that
  there is a mismatch so amavisd-new won't update, i tried
 
  # make deinstall
  and
  # make reinstall
 
  i was able to deinstall it but i can't reinstall it :( i also tried:
 
  # make install clean
 
  with the same result, i have no idea how to fix this. anybody knows how to
  fix this?
 
  TIA
 
 
 i was able to fix it :D please ignore the thread :)
 
 solution:
 
 the checksum mismatch is causing a problem, the update from cvsup doesn't
 match the checksum from the mirrors, tried changing the md5 of distinfo to
 match the correct checksum but to no avail, so i downloaded
 amavisd-new-2.4.3.tar.gzhttp://www.ijs.si/software/amavisd/amavisd-new-2.4.3.tar.gzand
 copied it to /usr/ports/distfiles and i did a make reinstall, whoala
 it's working already :D

Occasionally, a failed download will leave a corrupt file in
/usr/ports/disfiles.  Of course, part of the reason for the checksum
mechanism is to detect this.

Generally, the solution is to either delete the corrupt file so the
make processs can re-fetch it, or manually fetch the file and overwrite
the corrupted one, as you did.

-- 
Bill Moran

You will give me the Ring freely?  In place of the Dark Lord you will set
up a Queen.  And I shall not be dark, but beautiful and terrible as the
Morning and the Night!  Fair as the Sea and the Sun and the Snow upon the
Mountain!  Dreadful as the Storm and the Lightning!  Stronger than the
foundations of the earth.  All shall love me and despair!

Galadriel

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


A Question of How to Handle Numerical Notation

2006-10-06 Thread Martin McCormick
I am writing a program on a UNIX system to munch the text
output of a Cisco VOIP call manager and turn those data in to
something that looks like the output of our hard-wired PBX.
Fortunately, the data we need are a subset of all the data available
so the main problem is simply that of reformatting most of the
information.  There is, however, one nasty little problem I have
discovered.

Both the UNIX and Cisco platforms handle time and date
functions using unsigned 32-bit integers.  No problem there.  The
times are based upon the number of seconds since the epoch of January
1, 1970 in GMT or UTC.  That's great.  I discovered soon, however,
that there is an extra wrinkle that really messes things up quite a
bit.

The Cisco call manager outputs the hexadecimal form of 3
values in something that initially looks like good old hex but is good
old hex being used to convey some form of notation, probably like
scientific notation, that one must decode in order to get the actual
hex values needed to recover the data.

All we know for sure is that this has something to do with SQL
and Microsoft.  After all, everybody uses Microsoft and UNIX doesn't
even exist, right?

Does anybody know what this notation is called?  Does an
explanation of the algorithm exist in public so one can convert the
strings that are part of the call manager output in to the unsigned
ints that actually carry the right values?

An example of the string in question looks like:

370A65FA-6965-4E40-A0DA-EC88DE6B

I appreciate any constructive suggestions, anything from what
this notation is called to a description of how to process the 5
values.  That would make writing C code possible to convert them in to
the actual binary string that contains the data we need.  Are
there any FreeBSD libraries we can use to help the process along?

I am sure this notation has a name, but not knowing it,
makes searching for information about it rather difficult.

Many thanks.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Network Operations Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: strange DNS problem

2006-10-06 Thread Bill Moran
Wojciech Puchar [EMAIL PROTECTED] wrote:

 one of my users reporting problem sending e-mail to @mil.be
 
 sendmail reports host name lookup failure
 
 host reports
 
 [EMAIL PROTECTED] ~]$ host -t mx mil.be
 mil.be mail is handled by 10 hermes01.mil.be.
 
 
 [EMAIL PROTECTED] ~]$ host -t a hermes01.mil.be
 hermes01.mil.be has address 194.7.21.40
 hermes01.mil.be has address 193.191.219.40
 Host hermes01.mil.be not found: 2(SERVFAIL)
 ^
 
 where's a problem? while hostr is able to get IP addresses but then 
 reports servfail?

I don't see that error when I try the same lookups.
host -t a hermes01.mil.be
hermes01.mil.be has address 194.7.21.40
hermes01.mil.be has address 193.191.219.40

I suspect the problem is in your resolver config and/or caches.

-- 
Bill Moran

Be calm.

Morpheus

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


Re: Member of group wheel, but still can't shutdown system?

2006-10-06 Thread thomas
On Thursday 05 October 2006 01:25 pm, albi wrote:
 On Thu, 5 Oct 2006 13:24:14 +0200

 [EMAIL PROTECTED] wrote:
  I've just installed FreeBSD 6.1 and listed myself as a member of the
  wheel group during the add users portion of the installation.  For
  some reason I have not put a finger on yet I cannot shutdown the
  system do not have permission to effect the command.  Went back as
  root on a later session and re-entered my name in /etc/group to the
  wheel account to no avail, anybody got an idea as to where I need to
  look?

 # ls -la /sbin/shutdown
 -r-sr-x---  1 root  operator  431524 May  2 16:40 /sbin/shutdown

 what about group operator ? but i personally would use sudo instead of
 group wheel etc.

Received several responses and suggestions to my group wheel question, thanks 
to all.  Whether it is best to add myself also to operators group or sudoers 
as suggested is something I need to play with to deside which is best for my 
use, but the feedback was greatly appreciated!

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


Re: unattended installation

2006-10-06 Thread Jonathan Horne
On Thursday 05 October 2006 16:59, pete wright wrote:
 On 10/5/06, Carlos Ramirez [EMAIL PROTECTED] wrote:
  Hi, how I do an unattended installation?
 
 
 
  I  want to create an installation CD of a FreeBSD and run some scripts
  automatically after..
 
 
 
  Some ideas?

 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/extensibility.ht
ml

 see section on scripting sysinstall.  you will most likely want to
 merge this with a pxeboot environment.

 -pete

ive not tried it yet, but i came across this page last night while working out 
another issue. you might find it interesting.

http://www.rootkit.nl/freebsd/installer.php?action=setup

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


RE : Re: cheapskate webmail interface

2006-10-06 Thread Desmond Coughlan
 
you may want to try roundcube http://www.roundcube.net although it's still on 
beta the interface's rocks, nothing you ever experienced before, certainly 
cooler than squirrelmail with AJAX like interface. 
  
Interesting... OK, I've got roundcube installed, the tables are created, 
postgreSQL is running, apache is recompiled for PhP4 (which is installed also) 
... oh, and I've installed IMAP4.
   
  Now what ?  
   
  My question, I suppose, is .. what is the address used to access the web 
interface?
   
  D.


-
 Découvrez un nouveau moyen de poser toutes vos questions quel que soit le 
sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions 
et vos expériences. Cliquez ici. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: strange DNS problem

2006-10-06 Thread Wojciech Puchar


where's a problem? while hostr is able to get IP addresses but then
reports servfail?


I don't see that error when I try the same lookups.
host -t a hermes01.mil.be
hermes01.mil.be has address 194.7.21.40
hermes01.mil.be has address 193.191.219.40

I suspect the problem is in your resolver config and/or caches.


possibly. but where to look? no other site behaves like this.

my named.conf:

acl seconds { 153.19.176.2; 10.254.1.254; 83.16.196.26;};
acl locals {10/8; 127.0.0.1/32;};

options {
directory /etc/namedb;
allow-transfer {seconds;};
pid-file/var/run/named/pid;
dump-file   /var/dump/named_dump.db;
statistics-file /var/stats/named.stats;
listen-on   { 127.0.0.1; 10.254.1.248; 83.18.148.142; };
listen-on-v6{ any; };
};
#logging {category lame-servers { null; };};

zone . in {type hint; file root.cache;};
zone 0.0.127.in-addr.arpa in { type master; file 127;};

and then master and slaves domains definitions below.


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


Re: Strange X problem

2006-10-06 Thread Robert Huff

Paul Schmehl writes:

  Not really.  I want X to start *without* requiring a console
  login and prompt me for a login in the gui, just like my
  workstation does.

The traditional answer is to put an entry in /etc/ttys.  (See
the man page for details.)


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


Re: strange DNS problem

2006-10-06 Thread Bill Moran
Wojciech Puchar [EMAIL PROTECTED] wrote:

 
  where's a problem? while hostr is able to get IP addresses but then
  reports servfail?
 
  I don't see that error when I try the same lookups.
  host -t a hermes01.mil.be
  hermes01.mil.be has address 194.7.21.40
  hermes01.mil.be has address 193.191.219.40
 
  I suspect the problem is in your resolver config and/or caches.
 
 possibly. but where to look? no other site behaves like this.
 
 my named.conf:
 
 acl seconds { 153.19.176.2; 10.254.1.254; 83.16.196.26;};
 acl locals {10/8; 127.0.0.1/32;};
 
 options {
  directory /etc/namedb;
  allow-transfer {seconds;};
  pid-file/var/run/named/pid;
  dump-file   /var/dump/named_dump.db;
  statistics-file /var/stats/named.stats;
  listen-on   { 127.0.0.1; 10.254.1.248; 83.18.148.142; };
  listen-on-v6{ any; };
 };
 #logging {category lame-servers { null; };};
 
 zone . in {type hint; file root.cache;};
 zone 0.0.127.in-addr.arpa in { type master; file 127;};
 
 and then master and slaves domains definitions below.

Just a theory:  Do you possibly have recursive queries locked down too
far, and does resolution of that name require recursion?

-- 
Bill Moran

I lay down for a while, and I woke up on the ocean,
floating on my back, and staring at the grey.
It was completely still, 'cept for the pounding of my heart,
was bring me back to life, from three strange days.

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


Re: strange DNS problem

2006-10-06 Thread Wojciech Puchar

zone 0.0.127.in-addr.arpa in { type master; file 127;};

and then master and slaves domains definitions below.


Just a theory:  Do you possibly have recursive queries locked down too


where is it set?


far, and does resolution of that name require recursion?


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


Re: port php5 - what I am supposed to do here?

2006-10-06 Thread Eric
Alain Wolf wrote:
 
 Thanks Matt, that did it. I knew it there was a way. :-)
 
 But then ...
 As everything was in sync again, I wanted to install the suhosin-patch
 
 And see what happens:
 
 ===  Patching for php5-5.1.6_1
 ===  Applying distribution patches for php5-5.1.6_1
 ===  Applying FreeBSD patches for php5-5.1.6_1
 1 out of 1 hunks failed--saving rejects to Zend/zend_alloc.c.rej
 = Patch patch-Zend_zend_alloc.c failed to apply cleanly.
 = Patch(es) patch-TSRM_threads.m4 patch-Zend::zend.h applied cleanly.
 *** Error code 1
 
 Stop in /usr/ports/lang/php5.
 
 
 :-(
 
 I found this stange as I read just before about the neweset patch in the
 cvs.ports list :
 
 On 05.10.2006 22:59, * Alex Dupre wrote:
 ale 2006-10-05 20:59:17 UTC
 
   FreeBSD ports repository
 
   Modified files:
 lang/php5Makefile 
   Added files:
 lang/php5/files  patch-Zend_zend_alloc.c 
   Log:
   Added safety checks against integer overflow.
   Bump PORTREVISION.
   While I'm here, I suggest all php users to use the suhosin patch
   and suhosin extension to harden the php installation.

 He suggests the suhosin patch but in my expirience it only builds
 without it.
 
 Anybody else got this kind of problems?
 

same thing here.  How many more are seeing this? For now ill just go
with the extension until the patch thing is resolved i guess.

why is there a patch out there that doesn't apply and why is it being
advocated if its broke? =)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Disaster recovery.

2006-10-06 Thread Grant Peel

Hi all,

I currently keep file dumps of all filesystems on our servers on a secure 
raid 5 box, lees of course, the proc and swap dir.


These dumps look like this and are done and transfered to a NFS filesystem 
in the /mnt/ dir.


server1-usr-full-dump
server1-home-full-dump
server1-var-full-dump
server1-root-full-dump

So I have (all, I hope!) everything I need to rebuild a server should the 
hard disk completely crap out, or some script overwrites or rm's everything.


I have never been in the position that this, ( a complete hard drive ), had 
to be done.


so the question is ... if I have the dumps on one machine, and I just 
installed a new hard drive on another, in a nutshell, what are the steps to
restore the failed server. Can I use the FreeBSD 'live' filesystem? Is ther 
a step by step (that I have not found) in the handbook somewhere?


TIA,

-Grant



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


Portsnap Update Question

2006-10-06 Thread Chris
I would like to verify whether my active installed ports are updated  
when I run the portsnap fetch update. I've read the handbook and man  
but I don't get a comfortable feeling that the question is answered  
in definitive terms that have meaning to me.


I'm preparing to apply all the recent updates to the production  
servers I have on 6.1 R P6 tomorrow morning and want to make certain  
I fully update the servers with the window of I have. I'll cvsup,  
build and install world and kernel through the normal process. What  
I've been doing is then running portsnap fetch update to apply  
patches to the ports. In doing so, I've not seen recompilations take  
place and remained somewhat fuzzy as to whether I was merely  
retrieving snapshots of source for whatever is in /usr/ports or if in  
addition, somehow binary changes were being applied to programs I've  
already installed (e.g., I have mysql and rsync installed from ports  
on every machine, would they be updated). Perhaps I should be  
remaking them?


Is the process I described, not updating the binaries of installed  
ports? I could have answered this had I compared /usr/local/bin  
before and after, but I have no example systems to play with at the  
moment. I note that portupgrade is far more involved but clearly does  
this. 
___

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


Re: Portsnap Update Question

2006-10-06 Thread Armin Pirkovitsch
Chris wrote:
 I would like to verify whether my active installed ports are updated
 when I run the portsnap fetch update. I've read the handbook and man but
 I don't get a comfortable feeling that the question is answered in
 definitive terms that have meaning to me.
 
 I'm preparing to apply all the recent updates to the production servers
 I have on 6.1 R P6 tomorrow morning and want to make certain I fully
 update the servers with the window of I have. I'll cvsup, build and
 install world and kernel through the normal process. What I've been
 doing is then running portsnap fetch update to apply patches to the
 ports. In doing so, I've not seen recompilations take place and remained
 somewhat fuzzy as to whether I was merely retrieving snapshots of source
 for whatever is in /usr/ports or if in addition, somehow binary changes
 were being applied to programs I've already installed (e.g., I have
 mysql and rsync installed from ports on every machine, would they be
 updated). Perhaps I should be remaking them?
 
 Is the process I described, not updating the binaries of installed
 ports? I could have answered this had I compared /usr/local/bin before
 and after, but I have no example systems to play with at the moment. I
 note that portupgrade is far more involved but clearly does
 this.

portsnap only fetches the patches for your ports which means you have to
recompile the programs (best using portupgrade) yourself.
portupgrade -rRa might be useful in your case (and -nrRa to look which
ports will be updated without updating them)
portsnap does not update any binaries installed on your system.

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


Re: Portsnap Update Question

2006-10-06 Thread RW
On Friday 06 October 2006 15:14, Chris wrote:

 I've been doing is then running portsnap fetch update to apply
 patches to the ports. In doing so, I've not seen recompilations take
 place and remained somewhat fuzzy as to whether I was merely
 retrieving snapshots of source for whatever is in /usr/ports or if in


You aren't even doing that. The ports tree is just a set of recipes that tells 
the ports system how to get hold of the source and build the software 
automatically. When you run portsnap or cvsup (with a ports supfile) you are 
simply updating those recipes.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disaster recovery.

2006-10-06 Thread Alex Zbyslaw

Grant Peel wrote:


Hi all,

I currently keep file dumps of all filesystems on our servers on a 
secure raid 5 box, lees of course, the proc and swap dir.


These dumps look like this and are done and transfered to a NFS 
filesystem in the /mnt/ dir.


server1-usr-full-dump
server1-home-full-dump
server1-var-full-dump
server1-root-full-dump

So I have (all, I hope!) everything I need to rebuild a server should 
the hard disk completely crap out, or some script overwrites or rm's 
everything.


I have never been in the position that this, ( a complete hard drive 
), had to be done.


so the question is ... if I have the dumps on one machine, and I just 
installed a new hard drive on another, in a nutshell, what are the 
steps to
restore the failed server. Can I use the FreeBSD 'live' filesystem? Is 
ther a step by step (that I have not found) in the handbook somewhere?


Don't know that it's described anywhere, but in short below.  You can 
try it on a live server, don't actually do any newfs or restores!


Boot FreeBSD CD1 (pretty much any recent version ought to do unless 
there were changes to dump or fliesystem format).  E.g. a 5.4 CD ought 
to restore a 6.2 machine just fine.


Newfs/bsdlabel/fdisk stuff probably from post install configuration, so 
that you don't install any packages etc.  This is where you need a paper 
record of your disk slicing/partitioning.


Fixit shell and mount remote-partition-of-dumps using NFS on /mnt.  This 
may need some kldloads.  I've gotten stuff accessible via SAMBA like 
this so NFS ought to work.  Needed to phutz with the load path for kldload.


Mount fresh e.g. / partitions on e.g. /mnt2 .  I'm pretty sure you can 
make new mount points as boot CD mounts root on a memory disk.


restore -f /mnt/server1-root-full-dump -root  (check man page!)

Unmount /mnt and repeat for usr, home, var etc.


Note that you can gzip your backups and use a restore command like: 
gzcat /mnt/server1-root-full-dump -root.gz | restore -f - -r


Dumps take longer but take up less space.  I do the same thing and also 
have incrementals.  Always relied on figuring out what to do as I went 
along if I ever needed to, hence the somewhat sparse nature of the above 
procedure :-)


--Alex


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


Re: Portsnap Update Question

2006-10-06 Thread Alex Zbyslaw

Chris wrote:



I'm preparing to apply all the recent updates to the production  
servers I have on 6.1 R P6 tomorrow morning and want to make certain  
I fully update the servers with the window of I have. I'll cvsup,  
build and install world and kernel through the normal process. What  
I've been doing is then running portsnap fetch update to apply  
patches to the ports. In doing so, I've not seen recompilations take  
place and remained somewhat fuzzy as to whether I was merely  
retrieving snapshots of source for whatever is in /usr/ports or if in  
addition, somehow binary changes were being applied to programs I've  
already installed (e.g., I have mysql and rsync installed from ports  
on every machine, would they be updated). Perhaps I should be  
remaking them?


You've only updated the skeleton directories which are used to build 
ports.  You have not updated the ports themselves.


After your portsnap run pkg_version -L= and anything marked '' is out 
of date.


Also consider installing portaudit which tells you about installed ports 
which have security bugs which may affect you.  You could consider only 
updating ports which have security holes, for example.  And you'll at 
least be aware of what security issues might exist even if you don't fix 
them :-)


Investigate portupgrade or portmanager for doing the updating.  I prefer 
the former and it has a good man page.


--Alex


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


Re: Portsnap Update Question

2006-10-06 Thread Chris


On Oct 6, 2006, at 7:57 AM, RW wrote:


On Friday 06 October 2006 15:14, Chris wrote:


I've been doing is then running portsnap fetch update to apply
patches to the ports. In doing so, I've not seen recompilations take
place and remained somewhat fuzzy as to whether I was merely
retrieving snapshots of source for whatever is in /usr/ports or if in



You aren't even doing that. The ports tree is just a set of recipes  
that tells

the ports system how to get hold of the source and build the software
automatically. When you run portsnap or cvsup (with a ports  
supfile) you are

simply updating those recipes.


Thanks all, major misunderstanding on my part. It's likely a problem  
with my ability to understand the documentation but I'd taken it to  
be an alternate method of keeping ports current. If I understand  
correctly, portsnap is only allowing the ports to install correctly  
in subsequent cd /usr/ports/*;make install sessions and adding new  
pointers for ports added to the tree.


I found a cookbook on portupgrade and will research portaudit next.

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


Re: Portsnap Update Question

2006-10-06 Thread Eric
Alex Zbyslaw wrote:
 Chris wrote:
 

 Also consider installing portaudit which tells you about installed ports
 which have security bugs which may affect you.  You could consider only
 updating ports which have security holes, for example.  And you'll at
 least be aware of what security issues might exist even if you don't fix
 them :-)
 
 Investigate portupgrade or portmanager for doing the updating.  I prefer
 the former and it has a good man page.
 
 --Alex
 
 

portmaster is actively developed and a lot better than portmanager IMO.
also, it has no dependencies unlike portupgrade.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Good References and or Books for learning ADA

2006-10-06 Thread RW
On Thursday 05 October 2006 02:39, backyard wrote:
 Hello All,

 I'm looking to teach myself ADA using the Gnu Compiler
 Collection and GNATS as my compiler under an i386
 FreeBSD 6.X system. I'm just curious if any ADA
 programmers out there can point me to some decent
 books/online resources for learning the basics and
 more advanced aspects of ADA. They would be most
 useful if they referenced ADA95 as that appears to be
 the standard gnats supports.

When I did an ADA course, Barnes's Programming in Ada 95 was the standard 
text. That was about 8 years ago, but it's gone to a second edition since 
then.

http://www.amazon.com/Programming-Ada-2nd-John-Barnes/dp/0201342936/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disaster recovery.

2006-10-06 Thread Peter A. Giessel
On 2006/10/06 5:34, Grant Peel seems to have typed:
 so the question is ... if I have the dumps on one machine, and I just 
 installed a new hard drive on another, in a nutshell, what are the steps to
 restore the failed server. Can I use the FreeBSD 'live' filesystem? Is ther 
 a step by step (that I have not found) in the handbook somewhere?

Honestly, the man pages are your friend in these situations, especially
the restore man page:
http://www.freebsd.org/cgi/man.cgi?query=restoreapropos=0sektion=0manpath=FreeBSD+6.1-RELEASEformat=html

See the -r flag especially, which includes a brief example.  If you
are restoring from another machine, things get a bit more interesting
though, which is why I always like to keep around a Freesbie disk.
http://www.freesbie.org/
Its nice to have a full OS on a CD available for use.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


error in building a fortune-mod port, where is fortune?

2006-10-06 Thread Michael P. Soulier

[EMAIL PROTECTED] fortune-mod-futurama]$ sudo make
Password:
= fortune-mod-futurama-0.2.tar.bz2 doesn't seem to exist in
/usr/ports/distfiles/.
= Attempting to fetch from http://www.netmeister.org/apps/.
fortune-mod-futurama-0.2.tar.bz2  100% of   16 kB   85 kBps
===  Extracting for fortune-mod-futurama-0.2_3
= MD5 Checksum OK for fortune-mod-futurama-0.2.tar.bz2.
===  Patching for fortune-mod-futurama-0.2_3
===  Configuring for fortune-mod-futurama-0.2_3
===  Building for fortune-mod-futurama-0.2_3
/usr/games/strfile: not found
*** Error code 127

Stop in /usr/ports/misc/fortune-mod-futurama.
[EMAIL PROTECTED] fortune-mod-futurama]$ pwd
/usr/ports/misc/fortune-mod-futurama

Presumably I need the base fortune-mod program, which would include strfile.
But, I don't see it in the ports tree.

Any pointers?

Thanks,
Mike
-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction. --Albert Einstein


pgpqfH1gJUwlH.pgp
Description: PGP signature


Newbie Question - looking for suggestions of small ports to install on stand-alone system without internet connection

2006-10-06 Thread ograbme

I would like a few recommendations for small ports to try to install
on my stand-alone machine.

The stand-alone machine does not have connection to the internet;
however, I do have a set of four (4)CD from the FreeBSD Mall and two
(2) of the CD's have 'ports' on them.  I would like to select one, two
or three ports to install on this machine ... to go through the steps
and experience of the ports process using the cdroms, so ... in
essence I'm looking for suggestions of ports of a small nature (if
there is such a thing).

Thanks in advance.



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


Re: Newbie Question - looking for suggestions of small ports to install on stand-alone system without internet connection

2006-10-06 Thread Jerry McAllister
On Fri, Oct 06, 2006 at 12:14:29PM -0400, ograbme wrote:

 
 I would like a few recommendations for small ports to try to install
 on my stand-alone machine.
 
 The stand-alone machine does not have connection to the internet;
 however, I do have a set of four (4)CD from the FreeBSD Mall and two
 (2) of the CD's have 'ports' on them.  I would like to select one, two
 or three ports to install on this machine ... to go through the steps
 and experience of the ports process using the cdroms, so ... in
 essence I'm looking for suggestions of ports of a small nature (if
 there is such a thing).

Geez,  what do you want to play with?   Pick anything.
Maybe a couple of simple games would be a good example or maybe
a text editor such as vim.   But, your lack of network connection
makes coming up with suggestions more difficult.

It is no problem if everything is on the CD set.  The problem is that 
so many things have dependancies that may want to go out to the network 
to get something else to build.  I always just have it pull in things 
over the net, so am not sure how much you can get away with for a 
just CD install.  So, it is hard to think of one without trying it 
to make sure everything it needs is on the CDs.

Some simple game such as xmahjongg or dontspace (a Freecell game) might 
work OK and not call in to much else.   A text editor such as vim may 
be OK.  They all require X, but that should be on the CDs.   

jerry

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


Re: Disaster recovery.

2006-10-06 Thread Grant Peel
Is it possible to boot the machine using a 'live' freebsd silesystem via cd? 
Then setup the /mnt , setup the new filesystems, then use restore to briung 
the real data to the disk?



I guess my question really should have been, if you install a new disk, or 
re newfs a disk, how do you start the machine, a freebsd boot disk?
(without installing freebsd to the machine that the restore are going to 
overwrite anyway!).


-Grant



- Original Message - 
From: Peter A. Giessel [EMAIL PROTECTED]

To: Grant Peel [EMAIL PROTECTED]
Cc: freeBSD freebsd-questions@freebsd.org
Sent: Friday, October 06, 2006 11:47 AM
Subject: Re: Disaster recovery.



On 2006/10/06 5:34, Grant Peel seems to have typed:

so the question is ... if I have the dumps on one machine, and I just
installed a new hard drive on another, in a nutshell, what are the steps 
to
restore the failed server. Can I use the FreeBSD 'live' filesystem? Is 
ther

a step by step (that I have not found) in the handbook somewhere?


Honestly, the man pages are your friend in these situations, especially
the restore man page:
http://www.freebsd.org/cgi/man.cgi?query=restoreapropos=0sektion=0manpath=FreeBSD+6.1-RELEASEformat=html

See the -r flag especially, which includes a brief example.  If you
are restoring from another machine, things get a bit more interesting
though, which is why I always like to keep around a Freesbie disk.
http://www.freesbie.org/
Its nice to have a full OS on a CD available for use.





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


Re: Disaster recovery.

2006-10-06 Thread Dan Nelson
In the last episode (Oct 06), Grant Peel said:
 Is it possible to boot the machine using a 'live' freebsd silesystem
 via cd? Then setup the /mnt , setup the new filesystems, then use
 restore to briung the real data to the disk?
 
 I guess my question really should have been, if you install a new
 disk, or re newfs a disk, how do you start the machine, a freebsd
 boot disk? (without installing freebsd to the machine that the
 restore are going to overwrite anyway!).

A livecd (freesbie, or the FreeBSD install disc 1) will suffice.  I
usually use sysinstall to fdisk/disklabel/newfs, then drop to the shell
to run ifconfig, nfs mount the server with my dumps, and  restore.

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


Re: Disaster recovery.

2006-10-06 Thread P.U.Kruppa

On Fri, 6 Oct 2006, Grant Peel wrote:

Is it possible to boot the machine using a 'live' freebsd silesystem via cd? 
Then setup the /mnt , setup the new filesystems, then use restore to briung 
the real data to the disk?



I guess my question really should have been, if you install a new disk, or re 
newfs a disk, how do you start the machine, a freebsd boot disk?
(without installing freebsd to the machine that the restore are going to 
overwrite anyway!).
I am afraid you really have to describe your situation more 
precisely.


From what I gather you seem to have a broken server and want to 

rescue some files from it to a freshly setup one.

If this is the case, I would take a screw driver, fetch the hard 
disk from the old box, plug it into the new one and mount it 
somewhere on your new filesystem.


Or I got it all wrong, in this case please do excuse my 
interference.


Regards,

Uli.



-Grant



- Original Message - From: Peter A. Giessel [EMAIL PROTECTED]
To: Grant Peel [EMAIL PROTECTED]
Cc: freeBSD freebsd-questions@freebsd.org
Sent: Friday, October 06, 2006 11:47 AM
Subject: Re: Disaster recovery.



On 2006/10/06 5:34, Grant Peel seems to have typed:

so the question is ... if I have the dumps on one machine, and I just
installed a new hard drive on another, in a nutshell, what are the steps 
to
restore the failed server. Can I use the FreeBSD 'live' filesystem? Is 
ther

a step by step (that I have not found) in the handbook somewhere?


Honestly, the man pages are your friend in these situations, especially
the restore man page:
http://www.freebsd.org/cgi/man.cgi?query=restoreapropos=0sektion=0manpath=FreeBSD+6.1-RELEASEformat=html

See the -r flag especially, which includes a brief example.  If you
are restoring from another machine, things get a bit more interesting
though, which is why I always like to keep around a Freesbie disk.
http://www.freesbie.org/
Its nice to have a full OS on a CD available for use.





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





Peter Ulrich Kruppa
Wuppertal
Germany

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


Re: error in building a fortune-mod port, where is fortune?

2006-10-06 Thread Josh Paetzel
On Friday 06 October 2006 11:05, Michael P. Soulier wrote:
 [EMAIL PROTECTED] fortune-mod-futurama]$ sudo make
 Password:
 = fortune-mod-futurama-0.2.tar.bz2 doesn't seem to exist in
 /usr/ports/distfiles/.
 = Attempting to fetch from http://www.netmeister.org/apps/.
 fortune-mod-futurama-0.2.tar.bz2  100% of   16 kB   85
 kBps ===  Extracting for fortune-mod-futurama-0.2_3
 = MD5 Checksum OK for fortune-mod-futurama-0.2.tar.bz2.
 ===  Patching for fortune-mod-futurama-0.2_3
 ===  Configuring for fortune-mod-futurama-0.2_3
 ===  Building for fortune-mod-futurama-0.2_3
 /usr/games/strfile: not found
 *** Error code 127

 Stop in /usr/ports/misc/fortune-mod-futurama.
 [EMAIL PROTECTED] fortune-mod-futurama]$ pwd
 /usr/ports/misc/fortune-mod-futurama

 Presumably I need the base fortune-mod program, which would include
 strfile. But, I don't see it in the ports tree.

 Any pointers?

 Thanks,
 Mike

Fortune is in the 'games' distribution of the base system.

-- 
Thanks,

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


Re: error in building a fortune-mod port, where is fortune?

2006-10-06 Thread Michael P. Soulier
On 06/10/06 Josh Paetzel said:

 Fortune is in the 'games' distribution of the base system.

Not built by default? How would I add that, post installation?

Mike
-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction. --Albert Einstein


pgpcGkjCvRsDS.pgp
Description: PGP signature


How to get best results from FreeBSD-questions

2006-10-06 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2006-10-06 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


Re: error in building a fortune-mod port, where is fortune?

2006-10-06 Thread Michael P. Soulier
On 06/10/06 Michael P. Soulier said:

 Not built by default? How would I add that, post installation?

ah, found it via /stand/sysinstall. I'll see if I can find a list of what's in
there, since I only want one thing out of there.

Thanks,
Mike
-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction. --Albert Einstein


pgpkN3UQVjlRT.pgp
Description: PGP signature


Re: PAE tuning

2006-10-06 Thread Paul Lathrop

Chuck Swiger wrote:
Oh, yes, one more thought-- your specific application, i.e. a large 
database, is one where running in 64-bit mode is highly likely to 
result in improved performance compared with running the OS in 32-bit 
mode.  If you've got a AMD64 or EM64T capable CPU, consider installing 
the 64-bit version of FreeBSD instead of the normal 32-bit x86 version.


---Chuck

Chuck,

I've heard this idea a few times in answer to my question. Is there a 64 
bit Intel distro I'm missing? I saw someone suggesting I use the AMD64 
version, but when I attempt to boot that from the install disk I get 
some debugging output and a message saying BTX halted - I suspect that 
means I can't follow that suggestion...


Thanks again for all your help!

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


Re: vr0: watchdog timeout FreeBSD 6.1-p10 Crashing my backups

2006-10-06 Thread perikillo

On 10/4/06, backyard [EMAIL PROTECTED] wrote:



--- Chuck Swiger [EMAIL PROTECTED] wrote:

 On Oct 4, 2006, at 10:32 AM, perikillo wrote:
  My kernel file is this:
 
  machine  i386
  cpu   I686_CPU

 You should also list cpu  I586_CPU, otherwise you
 will not include
 some optimizations intended for Pentium or higher
 processors.
 

are you sure about this??? This statement seems to
contradict the handbook which says it is best to use
only the CPU you have I would think I686_CPU would
cause the build know it is higher then a pentium and
thus use those optimizations. But if this is true...


-brian



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





Hi people.

  Today i receive a completed FULL backups from all my local clients,
without any message saying:

vr0: watchdog timeout

  I did some changes, in kernel, bacula, and machine:

Machine
  Disable the internal NIC(via) and install one Linksys which use the
same driver vr0.

Kernel:

change the scheduler to the old SCHED_4BSD and maxuser from 10 to 32
like chuck told me.

disable AHC_ALLOW_MEMIO, this is the firs time that i use this option.

Enable IPFILTER to setup the firewall, i was thinking that maybe i
have been atack or something like that, i must check this.

Remove some SCSI drivers.

build the kernel, installed and reboot.

Bacula:

I setup the Heartbeat Interval var in the client and the storage demon
to 1 minute, because there is no formula to know which number is the
best.

  Today my backups where completed succesfully, no horror message, i
have been working with this server this past days, testing, change
here, there, until today, i dont know if it was the NIC, or some
kernel option, but is not very easy to test because is a production
server.

  I check my Firewall logs but there is nothing that give some clue
that i have been atack, good :-)

  Im testing the backup right now, today i will do another
FULL-BACKUPS  from all my local serves and i will bring the backups
from another serves that we have on another building and see if the
system is already stable.

  I will let you now people, thanks for your help.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Strange X problem

2006-10-06 Thread Paul Schmehl
--On Friday, October 06, 2006 08:30:36 -0400 Robert Huff 
[EMAIL PROTECTED] wrote:




Paul Schmehl writes:


 Not really.  I want X to start *without* requiring a console
 login and prompt me for a login in the gui, just like my
 workstation does.


The traditional answer is to put an entry in /etc/ttys.  (See
the man page for details.)


Therein lies the problem.  There *is* an entry in /etc/ttys:
ttyv8   /usr/local/bin/kdm -nodaemon  xterm   on secure

Guess I'll just start double-checking everything.  Maybe there's a typo 
somewhere.


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: Disaster recovery.

2006-10-06 Thread Grant Peel

BINGO!

Thanks Dan, I think that is exactly what I am looking for.

Possibly the last few questions.

1. After fdisk/disklabel/newfs, how do you drop to the shell (can I drop to 
tcsh?).


2. Once in that shell, are all shell commands avialable? (or at least mount, 
cp, restore, etc).


3. If the old disk is 36 GIG and the new disk is 74 GIG, AND I partition 
every filesystem bigger than the old ones on the old disk, then do the 
restore of the 4 filesystems, will it work or do the new filesystems really 
need to be exactly the same size?


4. All my servers are capable of pxe boot. Would it be worth while adding a 
disk to a server with nothing else than a fresh virgin install of freebsd (I 
have 0 exp with pxe, so if I am off here forgive me).


Thanks for the help thus far.
-Grant

- Original Message - 
From: Dan Nelson [EMAIL PROTECTED]

To: Grant Peel [EMAIL PROTECTED]
Cc: Peter A. Giessel [EMAIL PROTECTED]; freeBSD 
freebsd-questions@freebsd.org

Sent: Friday, October 06, 2006 12:36 PM
Subject: Re: Disaster recovery.



In the last episode (Oct 06), Grant Peel said:

Is it possible to boot the machine using a 'live' freebsd silesystem
via cd? Then setup the /mnt , setup the new filesystems, then use
restore to briung the real data to the disk?

I guess my question really should have been, if you install a new
disk, or re newfs a disk, how do you start the machine, a freebsd
boot disk? (without installing freebsd to the machine that the
restore are going to overwrite anyway!).


A livecd (freesbie, or the FreeBSD install disc 1) will suffice.  I
usually use sysinstall to fdisk/disklabel/newfs, then drop to the shell
to run ifconfig, nfs mount the server with my dumps, and  restore.

--
Dan Nelson
[EMAIL PROTECTED]





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


Re: PAE tuning

2006-10-06 Thread Paul Lathrop

Paul Lathrop wrote:

Chuck Swiger wrote:
Oh, yes, one more thought-- your specific application, i.e. a large 
database, is one where running in 64-bit mode is highly likely to 
result in improved performance compared with running the OS in 32-bit 
mode.  If you've got a AMD64 or EM64T capable CPU, consider 
installing the 64-bit version of FreeBSD instead of the normal 32-bit 
x86 version.


---Chuck

Chuck,

I've heard this idea a few times in answer to my question. Is there a 
64 bit Intel distro I'm missing? I saw someone suggesting I use the 
AMD64 version, but when I attempt to boot that from the install disk I 
get some debugging output and a message saying BTX halted - I 
suspect that means I can't follow that suggestion...


Thanks again for all your help!

I figured it out - this is an older Xeon processor apparently - 32 bit.

Sorry for the cluelessness - I'm a bit behind the times when it comes to 
hardware.


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


Re: PAE tuning

2006-10-06 Thread Peter A. Giessel


On 2006/10/06 9:08, Paul Lathrop seems to have typed:
 Is there a 64 
 bit Intel distro I'm missing? I saw someone suggesting I use the AMD64 
 version, but when I attempt to boot that from the install disk I get 
 some debugging output and a message saying BTX halted - I suspect that 
 means I can't follow that suggestion...

Theoretically, amd64 should work on a Xeon (depending on which Xeon
you are using, more system details would be required to say for sure)
See:

http://www.freebsd.org/releases/6.1R/hardware-amd64.html

*** QUOTE ***
Since mid-2003 FreeBSD/amd64 has supported the AMD64 (“Hammer”) and
Intel EM64T architecture, and is now one of the Tier-1 platforms
(fully supported architecture), which are expected to be Production
Quality with respects to all aspects of the FreeBSD operating system,
including installation and development environments.

Note that there are two names for this architecture, AMD64 (AMD) and
Intel EM64T (Extended Memory 64-bit Technology). 64-bit mode of the
two architectures are almost compatible with each other, and
FreeBSD/amd64 should support them both.

As of this writing, the following processors are supported:

* AMD Athlon64 (“Clawhammer”).
* AMD Opteron (“Sledgehammer”).
* Intel 64-bit Xeon (“Nacona”). This processor is fabricated on 90nm 
process technology, and operates with 2.80 to 3.60 GHz (FSB 800MHz) and Intel 
E7520/E7525/E7320 chipsets.
* Intel Pentium 4 Processor supporting Intel EM64T (“Prescott”).
This is fabricated on 90nm process technology, uses FC-LGA775
package, and operates with 3.20F/3.40F/3.60F GHz and Intel 925X
Express chipsets. The corresponding S-Spec numbers are SL7L9, SL7L8,
SL7LA, SL7NZ, SL7PZ, and SL7PX. Note that processors marked as 5xx
numbers do not support EM64T.

Intel EM64T is an extended version of IA-32 (x86) and different from
Intel IA-64 (Itanium) architecture, which FreeBSD/ia64 supports. Some
Intel's old documentation refers to Intel EM64T as “64-bit extension
technology” or “IA-32e”.
*** END QUOTE ***

There is a lot of information about the BTX halted error message in
the archives if you believe your system should be supported:
http://www.freebsd.org/cgi/search.cgi?words=%22BTX+halted%22max=25sort=scoreindex=recentsource=freebsd-questions
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unattended installation

2006-10-06 Thread Damian Wiest
On Thu, Oct 05, 2006 at 12:59:03PM -0500, Carlos Ramirez wrote:
 Hi, how I do an unattended installation?
 
  
 
 I  want to create an installation CD of a FreeBSD and run some scripts
 automatically after..
 
  
 
 Some ideas?
 
  
 
 REGARDS

Any chance of doing a WAN boot/install?

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


Re: ipw(4) and iwi(4): Intel's Pro Wireless firmware licensing problems

2006-10-06 Thread Chuck Swiger

On Oct 5, 2006, at 7:31 PM, Constantine A. Murenin wrote:

On 05/10/06, Chuck Swiger [EMAIL PROTECTED] wrote:

On Oct 4, 2006, at 7:46 PM, Constantine A. Murenin wrote:
 Why are none of the manual pages of FreeBSD say anything about why
 Intel Wireless devices do not work by default?

 http://www.freebsd.org/cgi/man.cgi?query=ipw
 http://www.freebsd.org/cgi/man.cgi?query=iwi

The manpages you've linked to explicitly state:

This driver requires firmware to be loaded before it will
work.  You need to obtain ipwcontrol(8) from the IPW web page
listed below to accomplish loading the firmware before ifconfig(8)  
will work.


Is there some part of this which is unclear to you, Constantine?


Yes, Chuck, some part is indeed unclear to me, precisely the part that
explains why does one have to go into that much trouble to have a
working system.


That was explained below.  You might not like the reasons, or agree  
with them, but your claim that the FreeBSD manpages do not say  
anything about the need for firmware is obviously mistaken.



There's no need to be curious about the matter; the Intel Pro
Wireless adaptors, like many other brands of wireless adaptors, use a
software-controlled radio which is capable of broadcasting at higher
power levels and/or at frequencies outside of those allocated for
802.11 connectivity for specific regulatory domains.  The US FCC,
along with other regulatory agencies in Europe such as ETSI and
elsewhere, require that end-users not have completely open access to
these radios to prevent problems from deliberate misuse such as
interference with other frequency bands.


Yes, regulatory bodies, of cause, table specific requirements that
must be satisfied by systems that utilise RF, i.e. the manufacturer
must make reasonable attempt to prevent users from using non-permitted
frequencies.

Not permitting the firmware to be redistributed has nothing to do with
the FCC, however.


That's right.  Intel permits you to redistribute their firmware under  
the terms of their license.



This isn't a matter of choice on Intel's part; if you want this
situation to change, you're going to have to obtain changes in the
radio-frequency laws and policies in the US and a number of other
countries first.


No, firmware redistribution is ENTIRELY up to Intel. I want the
firmware to be available under a BSD or ISC licence, just as with
Ralink. Intel's firmware is already available, but under a different
licence. Where does the FCC say that Intel must distribute firmware
under a non-OSS-friendly licence?


The BSD license and all other OSS-friendly licenses permit the user  
to modify the software and redistribute that modified version as a  
derivative work.  A modified version of the firmware has not received  
FCC certification-- see Title 47 of the Code of Federal Regulations,  
Chapter I, section 15 in general, and specificly:


http://www.access.gpo.gov/nara/cfr/waisidx_05/47cfr15_05.html

Sec. 15.21  Information to user.

The users manual or instruction manual for an intentional or
unintentional radiator shall caution the user that changes or
modifications not expressly approved by the party responsible for
compliance could void the user's authority to operate the equipment.

Sec. 15.202  Certified operating frequency range.

Client devices that operate in a master/client network may be
certified if they have the capability of operating outside permissible
part 15 frequency bands, provided they operate on only permissible part
15 frequencies under the control of the master device with which they
communicate. Master devices marketed within the United States must be
limited to operation on permissible part 15 frequencies. Client devices
that can also act as master devices must meet the requirements of a
master device.

Also see:

http://www.fcc.gov/cgb/consumerfacts/unauthorizedradio.html

Section 301 of the Communications Act of 1934 prohibits the “use or  
operation of any apparatus for the transmission of energy or  
communications or signals by radio” without a license issued by the  
Federal Communications Commission (FCC). Thus, generally, in order to  
use or operate a radio station, the Communications Act requires that  
you first obtain a license by the FCC.
However, there are certain limited exceptions. For example, the FCC  
has provided blanket authorization to operators of Citizens Band (CB)  
radios, radio control stations, domestic ship and aircraft radios and  
certain other types of devices. This blanket authorization means that  
operators of these radio facilities are not required to have  
individual station licenses. Operators are required to operate their  
stations in a manner consistent with the FCC’s operational and  
technical rules for those services. Failure to do so could be  
considered an unauthorized operation.



Again, is there some part of this that is unclear or which you fail
to understand?


Yes, precicely, I don't understand why you think FCC 

Re: Disaster recovery.

2006-10-06 Thread Dan Nelson
In the last episode (Oct 06), Grant Peel said:
 Possibly the last few questions.
 
 1. After fdisk/disklabel/newfs, how do you drop to the shell (can I
 drop to tcsh?).

In sysinstall, pick Fixit, then CDROM/DVD.  The default shell is
/bin/sh, but since you're on a livecd, you can switch to tcsh.
 
 2. Once in that shell, are all shell commands avialable? (or at least
 mount, cp, restore, etc).

Yep.  You can also do this stuff with just boot floppies, but in this
case, you'll just get the bare minimum commands (ifconfig, mount,
restore).
 
 3. If the old disk is 36 GIG and the new disk is 74 GIG, AND I
 partition every filesystem bigger than the old ones on the old disk,
 then do the restore of the 4 filesystems, will it work or do the new
 filesystems really need to be exactly the same size?

Restore is file-based, so it can restore onto anything.  You can even
go from a split root/var/usr system to an all-in-one-fs setup and back.
 
 4. All my servers are capable of pxe boot. Would it be worth while
 adding a disk to a server with nothing else than a fresh virgin
 install of freebsd (I have 0 exp with pxe, so if I am off here
 forgive me).

If nothing else, pxe's fun to play with.  I've mainly just used it to
serve up pxegrub so I can boot a system where I accidentally blew away
the bootblocks or cleared the active flag on all my fdisk partitions.

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


Anyone using the Eagle ADSL modem driver?

2006-10-06 Thread RW
Is anyone using this driver for ADSL modems with the Eagle chipset:

http://damien.bergamini.free.fr/ueagle/

The site hasn't been updated recently, and I was wondering if it still works 
with 6.1, and/or 6-stable. I'd also be interested in the merits of versions 1 
and 2.  

I have an ADSL NAT router, but it doesn't really work well with P2P software. 
I thought I might have a go with the Sagem [EMAIL PROTECTED] 800 I got from an 
ISP a 
couple of years ago before spending money on a better router; but I don't 
want to waste time if it doesn't work.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: A Question of How to Handle Numerical Notation

2006-10-06 Thread Chuck Swiger

On Oct 6, 2006, at 4:26 AM, Martin McCormick wrote:

Does anybody know what this notation is called?  Does an
explanation of the algorithm exist in public so one can convert the
strings that are part of the call manager output in to the unsigned
ints that actually carry the right values?

An example of the string in question looks like:

370A65FA-6965-4E40-A0DA-EC88DE6B


That sure looks like a UUID, which may or may not encode valid time  
information.  See:


http://en.wikipedia.org/wiki/UUID
http://www.ietf.org/rfc/rfc4122.txt

4.1.4.  Timestamp

   The timestamp is a 60-bit value.  For UUID version 1, this is
   represented by Coordinated Universal Time (UTC) as a count of 100-
   nanosecond intervals since 00:00:00.00, 15 October 1582 (the date of
   Gregorian reform to the Christian calendar).

   For systems that do not have UTC available, but do have the local
   time, they may use that instead of UTC, as long as they do so
   consistently throughout the system.  However, this is not  
recommended

   since generating the UTC from local time only needs a time zone
   offset.

   For UUID version 3 or 5, the timestamp is a 60-bit value constructed
   from a name as described in Section 4.3.

   For UUID version 4, the timestamp is a randomly or pseudo-randomly
   generated 60-bit value, as described in Section 4.4.

0   1   2   3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  time_low |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |   time_mid| time_hi_and_version   |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |clk_seq_hi_res |  clk_seq_low  | node (0-1)|
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   | node (2-5)|
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

--
-Chuck


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


Re: A Question of How to Handle Numerical Notation

2006-10-06 Thread Martin McCormick
Chuck Swiger writes:
 On Oct 6, 2006, at 4:26 AM, Martin McCormick wrote:
 
 Does anybody know what this notation is called?  Does an
 explanation of the algorithm exist in public so one can convert the
 strings that are part of the call manager output in to the unsigned
 ints that actually carry the right values?

 That sure looks like a UUID, which may or may not encode valid time
 information.


My thanks to you and to one other individual who have
written responses to my questions.  Both have suggested the same
possibility that this is a UUID and not the data I am actually
looking for.

I will talk to the people who extracted the file and see
if there is a possibility we got the wrong data in that field.
One would hope that the time stamp data are normal 32-bit values
that can be sucked in by a %lx in sscanf.

Thank you.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Network Operations Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Printing Problem

2006-10-06 Thread Karl Agee
 uname -a
FreeBSD enterprise.myhome.westell.com 6.2-PRERELEASE
FreeBSD 6.2-PRERELEASE #4: Mon Oct  2 08:40:06 PDT
2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC.20060916
 i386

I cannot print from some applications, namely xpdf and
evince.  I have cups installed and running and I can
print from firefox and openoffice.org.

In both xpdf and evince, the print dialog gives me a
prompt for a printing command, not a printer to
choose.  This is a brother laser which is supported.

anything I can do to get printing in these apps to
work?

--Karl

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Printing Problem

2006-10-06 Thread Karl Agee
BTW, this is a usb printer.  /var/log/messages shows:


hine enterprise.myhome.westell.com: hostname nor
servname provided, or not known
Oct  6 08:45:56 enterprise lpd[11501]: /dev/lp: No
such file or directory


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Good References and or Books for learning ADA

2006-10-06 Thread backyard


--- RW [EMAIL PROTECTED] wrote:

 On Thursday 05 October 2006 02:39, backyard wrote:
  Hello All,
 
  I'm looking to teach myself ADA using the Gnu
 Compiler
  Collection and GNATS as my compiler under an i386
  FreeBSD 6.X system. I'm just curious if any ADA
  programmers out there can point me to some decent
  books/online resources for learning the basics and
  more advanced aspects of ADA. They would be most
  useful if they referenced ADA95 as that appears to
 be
  the standard gnats supports.
 
 When I did an ADA course, Barnes's Programming in
 Ada 95 was the standard 
 text. That was about 8 years ago, but it's gone to a
 second edition since 
 then.
 

Thanks, Although it seems to get mixed reviews...
Everyone says it isn't for beginners and some flat out
blast the book. The biggest problem they say is it
reads like a specification manual. I write specs at
work so thats not a big deal to me, and nothing is
more fun then looking through the IBC or NEC...

I understand the basics of object oriented
programming, classes, constructors, destructors but
the syntax and semantics keeps me from writing C++
now...

Does the book read like a specification manual or a
tutorial? Honestly I would almost prefer the
specification manual, I hate getting talked down
too... But on the other hand incomprehensible specs
aren't too good either.

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


Re: vr0: watchdog timeout FreeBSD 6.1-p10 Crashing my backups

2006-10-06 Thread Kris Kennaway
On Fri, Oct 06, 2006 at 10:08:27AM -0700, perikillo wrote:

 change the scheduler to the old SCHED_4BSD and maxuser from 10 to 32
 like chuck told me.

These are probably what fixed it.

I guess you've learned a Lesson: when you choose to use code marked as
experimental, a) don't be surprised when it goes wrong, and b) the
first thing you should do to try and fix it is to stop using the
experimental code :-)

Kris



pgpRB5V7lTNxs.pgp
Description: PGP signature


Re: A Question of How to Handle Numerical Notation

2006-10-06 Thread Chuck Swiger

On Oct 6, 2006, at 11:21 AM, Martin McCormick wrote:

My thanks to you and to one other individual who have
written responses to my questions.


You're welcome.


I will talk to the people who extracted the file and see
if there is a possibility we got the wrong data in that field.
One would hope that the time stamp data are normal 32-bit values
that can be sucked in by a %lx in sscanf.


No, they aren't, but there is sample code at the end of RFC-4122  
which you might want to review.  In particular:


typedef unsigned64_t uuid_time_t;

void get_system_time(uuid_time_t *uuid_time)
{
struct timeval tp;

gettimeofday(tp, (struct timezone *)0);

/* Offset between UUID formatted times and Unix formatted times.
   UUID UTC base time is October 15, 1582.
   Unix base time is January 1, 1970.*/
*uuid_time = ((unsigned64)tp.tv_sec * 1000)
+ ((unsigned64)tp.tv_usec * 10)
+ I64(0x01B21DD213814000);
}

--
-Chuck

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


Printing Problem

2006-10-06 Thread Karl Agee
uname -a
FreeBSD enterprise.myhome.westell.com 6.2-PRERELEASE
FreeBSD 6.2-PRERELEASE #4: Mon Oct  2 08:40:06 PDT
2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC.20060916
 i386

I cannot print from some applications, namely xpdf and
evince.  I am trying to print pdf's from these as
printing in adobe reader 7 is disabled.  I have cups
installed and running and I can
print from firefox and openoffice.org.

In both xpdf and evince, the print dialog gives me a
prompt for a printing command, not a printer to
choose.  This is a brother laser which is supported.

This is a usb printer, lpstat shows:

lpstat -p -d
printer Brother_Laser is idle.  enabled since Jan 01
00:00
system default destination: Brother_Laser

/var/log/messages shows:


Oct  6 08:45:56 enterprise lpd[11501]: /dev/lp: No
such file or directory


anything I can do to get printing in these apps to
work?




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


MySQL hangs jail on startup

2006-10-06 Thread Steve Price
I have a server running 6.1-STABLE.  One of the jails on that machine
runs MySQL 4.1.21.  If I have mysql_enable=YES in /etc/rc.conf when I
start the jail it hangs indefinitely.  If I set it to NO the jail starts
fine.  I can then login to the jail via SSH and change it to YES and
start MySQL manually with no problems.

I've tried tweaking all the jail knobs in sysctl, messed around a bit
with REQUIRE and BEFORE in the mysql-server startup script, and tried
some of the mysqld startup options to skip networking, bind only to the
jail's IP, ... but to no avail.

Any pointers on what might be happening and how I go about fixing it?

Thanks.

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


Re: Strange X problem

2006-10-06 Thread Bob M.
On Fri, 2006-10-06 at 12:05 -0500, Paul Schmehl wrote:
 --On Friday, October 06, 2006 08:30:36 -0400 Robert Huff 
 [EMAIL PROTECTED] wrote:
 
 
  Paul Schmehl writes:
 
   Not really.  I want X to start *without* requiring a console
   login and prompt me for a login in the gui, just like my
   workstation does.
 
  The traditional answer is to put an entry in /etc/ttys.  (See
  the man page for details.)
 
 Therein lies the problem.  There *is* an entry in /etc/ttys:
 ttyv8   /usr/local/bin/kdm -nodaemon  xterm   on secure
 
 Guess I'll just start double-checking everything.  Maybe there's a typo 
 somewhere.

Is your path to kdm correct?  I've never used KDE, so I don't know for
sure, but that entry in /etc/ttys is all you should need.

Bob

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


Re: A Question of How to Handle Numerical Notation Solved

2006-10-06 Thread Martin McCormick
Those of you who recognised the example string I sent as
a UUID really helped solve this problem.  What happened was that
the algorithm I wrote to parse the CSV values in each record is
broken when it encounters a blank field as in ,, so it fails to
increase the index counter and place a null string at that point.
This meant that what I was reading as field W was actually more
like field Z.  I was actually looking at a field labeled pkid
or Packet ID which is the UUID you saw.  The algorithm I wrote to
parse worked perfectly on the first line of the file because
every field was populated but it silently failed on lines of real
data because of blank fields.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Network Operations Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Strange X problem

2006-10-06 Thread Paul Schmehl
--On Friday, October 06, 2006 15:10:21 -0400 Bob M. 
[EMAIL PROTECTED] wrote:


Therein lies the problem.  There *is* an entry in /etc/ttys:
ttyv8   /usr/local/bin/kdm -nodaemon  xterm   on secure

Guess I'll just start double-checking everything.  Maybe there's a typo
somewhere.


Is your path to kdm correct?  I've never used KDE, so I don't know for
sure, but that entry in /etc/ttys is all you should need.


find / -name kdm
/usr/local/bin/kdm

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: Printing Problem

2006-10-06 Thread Andrew Gould
--- Karl Agee [EMAIL PROTECTED] wrote:
 uname -a
 FreeBSD enterprise.myhome.westell.com 6.2-PRERELEASE
 FreeBSD 6.2-PRERELEASE #4: Mon Oct  2 08:40:06 PDT
 2006

[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC.20060916
  i386
 
 I cannot print from some applications, namely xpdf
 and
 evince.  I am trying to print pdf's from these as
 printing in adobe reader 7 is disabled.  I have cups
 installed and running and I can
 print from firefox and openoffice.org.
 
 In both xpdf and evince, the print dialog gives me a
 prompt for a printing command, not a printer to
 choose.  This is a brother laser which is supported.
 
 This is a usb printer, lpstat shows:
 
 lpstat -p -d
 printer Brother_Laser is idle.  enabled since Jan 01
 00:00
 system default destination: Brother_Laser
 
 /var/log/messages shows:
 
 Oct  6 08:45:56 enterprise lpd[11501]: /dev/lp: No
 such file or directory
 
 anything I can do to get printing in these apps to
 work?
 

Did you remember to move or delete the lp* files from
/usr/bin/ so that they don't conflict with the cups
versions in /usr/local/bin/ ?

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


Re: Printing Problem

2006-10-06 Thread Karl Agee


--- Andrew Gould [EMAIL PROTECTED] wrote:

 --- Karl Agee [EMAIL PROTECTED] wrote:
  uname -a
  FreeBSD enterprise.myhome.westell.com
 6.2-PRERELEASE
  FreeBSD 6.2-PRERELEASE #4: Mon Oct  2 08:40:06 PDT
  2006
 

[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC.20060916
   i386
  
  I cannot print from some applications, namely xpdf
  and
  evince.  I am trying to print pdf's from these as
  printing in adobe reader 7 is disabled.  I have
 cups
  installed and running and I can
  print from firefox and openoffice.org.
  
  In both xpdf and evince, the print dialog gives me
 a
  prompt for a printing command, not a printer to
  choose.  This is a brother laser which is
 supported.
  
  This is a usb printer, lpstat shows:
  
  lpstat -p -d
  printer Brother_Laser is idle.  enabled since Jan
 01
  00:00
  system default destination: Brother_Laser
  
  /var/log/messages shows:
  
  Oct  6 08:45:56 enterprise lpd[11501]: /dev/lp: No
  such file or directory
  
  anything I can do to get printing in these apps to
  work?
  
 
 Did you remember to move or delete the lp* files
 from
 /usr/bin/ so that they don't conflict with the cups
 versions in /usr/local/bin/ ?
 
 Andrew L. Gould
 

Andrew:  thanks for the reply.  No, I didnt do
that--what happened is lp got whacked at some point
and I just re-ran apsfilter to set it back up, now I
am printing again.  8-)

--Karl


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problems ssh'ing debug1: An invalid name was supplied (OSX client)

2006-10-06 Thread Noah
any clues why ssh is hanging before a prompt is provided from the server 
side. this prompt stalling behavior is only happening when I am coming 
from my OSX ssh client. Any clues on this? I have never see this betwe.


something strange starts around the line debug1: An invalid name was 
supplied



here is the ssh debug:

Script started on Thu Oct 5 19:58:54 2006

debug1: Reading configuration data /Users/blah/.ssh/config
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to 172.xx.yy.zz [172.xx.yy.zz] port 22.
debug1: Connection established.
debug1: identity file /Users/blah/.ssh/identity type -1
debug3: Not a RSA1 key file /Users/blah/.ssh/id_rsa.
debug2: key_type_from_name: unknown key type '-BEGIN'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-END'
debug3: key_read: missing keytype
debug1: identity file /Users/blah/.ssh/id_rsa type 1
debug1: identity file /Users/blah/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version 
OpenSSH_3.8.1p1 FreeBSD-20060123

debug1: match: OpenSSH_3.8.1p1 FreeBSD-20060123 pat OpenSSH_3.*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.2
debug2: fd 3 setting O_NONBLOCK
debug1: An invalid name was supplied
Cannot determine realm for numeric host address

debug1: An invalid name was supplied
A parameter was malformed
Validation error

debug1: An invalid name was supplied
Cannot determine realm for numeric host address

debug1: An invalid name was supplied
A parameter was malformed
Validation error

debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: 
diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: 
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,[EMAIL PROTECTED],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: 
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,[EMAIL PROTECTED],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: 
hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: 
hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hmac-md5-96

debug2: kex_parse_kexinit: none,[EMAIL PROTECTED],zlib
debug2: kex_parse_kexinit: none,[EMAIL PROTECTED],zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit: 
diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1

debug2: kex_parse_kexinit: ssh-dss
debug2: kex_parse_kexinit: 
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,[EMAIL PROTECTED],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: 
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,[EMAIL PROTECTED],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: 
hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: 
hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hmac-md5-96

debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_init: found hmac-md5
debug1: kex: server-client aes128-cbc hmac-md5 none
debug2: mac_init: found hmac-md5
debug1: kex: client-server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug2: dh_gen_key: priv key bits set: 133/256
debug2: bits set: 523/1024
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug3: check_host_in_hostfile: filename /Users/blah/.ssh/known_hosts
debug3: check_host_in_hostfile: match line 1
debug1: 

Re: problems ssh'ing debug1: An invalid name was supplied (OSX client)

2006-10-06 Thread Chuck Swiger

On Oct 6, 2006, at 2:26 PM, Noah wrote:
any clues why ssh is hanging before a prompt is provided from the  
server side. this prompt stalling behavior is only happening when I  
am coming from my OSX ssh client. Any clues on this? I have never  
see this betwe.


Looks like your SSH keypair has been mangled:

% cat ~/.ssh/id_rsa
-BEGIN RSA PRIVATE KEY-
[ ...should contain base-64 encoded data... ]
-END RSA PRIVATE KEY-

If you don't have a valid keypair there in id_rsa and id_rsa.pub, use  
ssh-keygen to make a new one.


--
-Chuck

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


Error with CVSUP server

2006-10-06 Thread Warren Liddell
is the cvsup2 server in australia down?  As trying to connect i get a lookup 
failure
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error with CVSUP server

2006-10-06 Thread Josh Paetzel
On Friday 06 October 2006 17:17, Warren Liddell wrote:
 is the cvsup2 server in australia down?  As trying to connect i get
 a lookup failure

;; QUESTION SECTION:
;cvsup2.au.freebsd.org. IN  A

;; ANSWER SECTION:
cvsup2.au.freebsd.org.  43200   IN  CNAME   cvsup.isp.net.au.
cvsup.isp.net.au.   86400   IN  A   202.1.117.1

[EMAIL PROTECTED] /home/jpaetzel - telnet cvsup2.au.freebsd.org 5999
Trying 202.1.117.1...
Connected to cvsup.isp.net.au.
Escape character is '^]'.
OK 17 0 SNAP_16_1h CVSup server ready

-- 
Thanks,

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


Re: Strange X problem

2006-10-06 Thread backyard


--- Paul Schmehl [EMAIL PROTECTED] wrote:

 --On Friday, October 06, 2006 15:10:21 -0400 Bob
 M. 
 [EMAIL PROTECTED] wrote:
  
  Therein lies the problem.  There *is* an entry in
 /etc/ttys:
  ttyv8   /usr/local/bin/kdm -nodaemon  xterm  
 on secure
 
  Guess I'll just start double-checking everything.
  Maybe there's a typo
  somewhere.
 
  Is your path to kdm correct?  I've never used KDE,
 so I don't know for
  sure, but that entry in /etc/ttys is all you
 should need.
 
 find / -name kdm
 /usr/local/bin/kdm
 
 Paul Schmehl ([EMAIL PROTECTED])
 Adjunct Information Security Officer
 The University of Texas at Dallas
 http://www.utdallas.edu/ir/security/
 



For FreeBSD, edit /etc/ttys and find the line like
this:

ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   off
secure

  and edit it to this:

ttyv8   /usr/local/bin/kdm  xterm   on secure

*

  Most other distributions are a variation of one
of these.

At this stage, you can test kdm again by bringing your
system to the runlevel that should now run kdm. To do
so, issue a command like this: 

http://docs.kde.org/development/en/kdebase/kdm/configuring-your-system-for-kdm.html

-nodaemon is the problem. that is for running kdm from
the command line. 


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


Re: Strange X problem

2006-10-06 Thread Paul Schmehl
--On October 6, 2006 5:23:45 PM -0700 backyard 
[EMAIL PROTECTED] wrote:


For FreeBSD, edit /etc/ttys and find the line like
this:

ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   off
secure

  and edit it to this:

ttyv8   /usr/local/bin/kdm  xterm   on secure

Yeah, I got a chance to look at it this afternoon, and that's what the 
problem was.  I wasn't looking closely enough at that line.


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: port php5 - what I am supposed to do here?

2006-10-06 Thread Alain Wolf
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06.10.2006 11:26, * Alex Zbyslaw wrote:
 Matt Emmerton wrote:
 
 Hello List,

 Portuadit telles my about the open_basedir Race Condition
 Vulnerability, OK.

 By reading the advisory on
 http://www.hardened-php.net/advisory_082006.132.html I can safely say
 this does not apply to our environment, we don't use open_basedir or
 safe_mode and Suhosin is planned anyway (after test).
   
 [...]
 So what to do now?
   

 You've established that the security issue doesn't apply to your
 environment.

 1) Add DISABLE_VULNERABILITIES=yes to /etc/make.conf
 2) Run portupgrade -u or make install clean

  

 By doing this you have disabled vulnerability checking for *all* ports
 which seems a little extreme.  Either add the flag to pkgtools.conf (for
 portupgrade (and portmanager?)) or use it from the command line with make.
 
 --Alex

Thanks for the advice, as matter of fact this came to my mind too, so I
actually did in make.conf was:

...
# PHP 5 Port installation options
.if${.CURDIR:M*/lang/php5*}
DISABLE_VULNERABILITIES=yes
.endif
...

Greetings



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFJwQmV5MZZmyxvGgRAsdoAKDdHsfC89K70PjrIYFMT7aUiLH2RgCgktA5
1DP/pLzWaI35xOtzc0RwVd0=
=RqSa
-END PGP SIGNATURE-

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


adding a linux boot option

2006-10-06 Thread Jonathan Horne
i have a system with 2 disks (ad0 and ad1), with ad1 having a recent suse 
linux install, and ad0 is a standard freebsd install.  i must have made a 
mistake when i installed the suse, as i overwrote my freebsd bootloader and 
only had option to boot suse.

so i then reinstalled freebsd, and i again must have made another mistake, as 
the freebsd loader only shows F1 for Freebsd, and nothing else (well, F5 for 
drive 1, but that does nothing usable right now).

is there an easy way i can add an option to boot the OS located at /dev/ad1s2?

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


tracking a stolen laptop?

2006-10-06 Thread Jonathan Nichols

I am trying to track down a stolen laptop. My laptop did not have BSD
downloaded, but is there any way yet by which I may be able to track
my laptop with your help?  I would like to get BSD if I get my
computer back.  Thanks for any help or advice you can offer.

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


Re: tracking a stolen laptop?

2006-10-06 Thread Jerry McAllister
On Fri, Oct 06, 2006 at 10:04:24PM -0400, Jonathan Nichols wrote:

 I am trying to track down a stolen laptop. My laptop did not have BSD
 downloaded, but is there any way yet by which I may be able to track
 my laptop with your help?  I would like to get BSD if I get my
 computer back.  Thanks for any help or advice you can offer.

It would be difficult.  
But, do  you know the MAC address of the NIC card?
That might help if they get on the net with it.

jerry

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


ssh(d) Failed keyboard-interactive/pam for invalid user

2006-10-06 Thread Robert Huff

One of my machines running:

FreeBSD 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Aug  3 15:33:32 EDT 2006

has suddenly decided to deny all ssh connections, whether by
key-exchange or password.
When attempting the latter, this appears in auth.log:

Oct  3 22:47:44 jerusalem sshd[46280]: error: PAM: authentication error for 
illegal user deleted from bronze.lcs.mit.edu
Oct  3 22:47:44 jerusalem sshd[46280]: Failed keyboard-interactive/pam for 
invalid user deleted from 128.31.0.11 port 63059 ssh2

Thre's nothing relevant in /usr/src/UPDATING, and searching on
Google points to Samba-related stuff.  I am running Samba, but fail
to understand how this can affect a non-Samba-related login.
Anyone willing to whap me with the clue-iron?


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


Re: sshd stalling upon login [solved]

2006-10-06 Thread ke han
I had problems with some ssh clients not being able to connect to a  
default installed FreeBSD 6.1.

A source compile of openssl from ports fixed the problem for me.
Perhaps someone should look into the compile settings of openssl  
binaries as used in the FreeBSD install ISO.

thanks, ke han

On Oct 6, 2006, at 4:42 AM, Noah wrote:


Girish Venkatachalam wrote:

On Wed, Oct 04, 2006 at 02:31:30PM -0700, Noah wrote:





Try this. It might help.

#cd /usr/ports/security/openssl
#make deinstall
#make reinstall

Restart sshd and test.

Best,
Girish



Girish,

you are the winner!!!   that worked!  please claim your prize!

cheers,

Noah



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


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


Re: adding a linux boot option

2006-10-06 Thread P.U.Kruppa

On Fri, 6 Oct 2006, Jonathan Horne wrote:


i have a system with 2 disks (ad0 and ad1), with ad1 having a recent suse
linux install, and ad0 is a standard freebsd install.  i must have made a
mistake when i installed the suse, as i overwrote my freebsd bootloader and
only had option to boot suse.

so i then reinstalled freebsd, and i again must have made another mistake, as
the freebsd loader only shows F1 for Freebsd, and nothing else (well, F5 for
drive 1, but that does nothing usable right now).

is there an easy way i can add an option to boot the OS located at /dev/ad1s2?

Depends on what went wrong!?!
A very simple solution could be to install a boot manager like 
GAG (http://gag.sourceforge.net/)
At least - since this is a small download and a quick install - I 
would try it, before I did any further reading of fine manuals 
:-)


Regards,

Uli.


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





Peter Ulrich Kruppa
Wuppertal
Germany

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


Event LOG Server

2006-10-06 Thread James Corteciano

Dear All,

Is there an application program in FreeBSD that the main function is to get
LOG's from over 100 clients in the local area network in which I could
monitor their activity in PC such as sending their emails, their browsing
and downloading files from internet, and so forth? I know some examples are
Squid for monitoring their http activity, and watching /var/log/maillogs for
their emails but since our network was controlled and behind at our main
office from other place in which they do provide us internet connectivity
since we are only a branch office.

Regards,

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


Re: problems ssh'ing debug1: An invalid name was supplied (OSX client)

2006-10-06 Thread Noah

Chuck Swiger wrote:

On Oct 6, 2006, at 2:26 PM, Noah wrote:
any clues why ssh is hanging before a prompt is provided from the 
server side. this prompt stalling behavior is only happening when I 
am coming from my OSX ssh client. Any clues on this? I have never see 
this betwe.


Looks like your SSH keypair has been mangled:

% cat ~/.ssh/id_rsa
-BEGIN RSA PRIVATE KEY-
[ ...should contain base-64 encoded data... ]
-END RSA PRIVATE KEY-

If you don't have a valid keypair there in id_rsa and id_rsa.pub, use 
ssh-keygen to make a new one.





Hi,

something still seems strange.  I have ~/.ssh/id_rsa and 
~/.ssh/id_rsa.pub files.  I am able to log in just fine to other servers 
using the keygen information without stalling.  it is just two recently 
built servers out of about 10 that are displaying the stalling issue.


Here is from a server that works fine with no stall:


OpenSSH_4.2p1, OpenSSL 0.9.7i 14 Oct 2005
debug1: Reading configuration data /Users/username/.ssh/config
debug1: Applying options for hostname
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to host.domain.com [172.xx.yy.zz] port 22.
debug1: Connection established.
debug3: Not a RSA1 key file /Users/username/.ssh/id_rsa.
debug2: key_type_from_name: unknown key type '-BEGIN'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-END'
debug3: key_read: missing keytype
debug1: identity file /Users/username/.ssh/id_rsa type 1
debug1: identity file /Users/username/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.9p1
debug1: match: OpenSSH_3.9p1 pat OpenSSH_3.*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.2
debug2: fd 3 setting O_NONBLOCK
debug1: Miscellaneous failure
No credentials cache found

debug1: Miscellaneous failure
No credentials cache found

debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: 
diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: 
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,[EMAIL PROTECTED],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: 
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,[EMAIL PROTECTED],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: 
hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: 
hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hmac-md5-96

debug2: kex_parse_kexinit: [EMAIL PROTECTED],zlib,none
debug2: kex_parse_kexinit: [EMAIL PROTECTED],zlib,none
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit: 
diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

debug2: kex_parse_kexinit: ssh-dss
debug2: kex_parse_kexinit: 
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,[EMAIL PROTECTED],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: 
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,[EMAIL PROTECTED],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: 
hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: 
hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hmac-md5-96

debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_init: found hmac-md5
debug1: kex: server-client aes128-cbc hmac-md5 zlib
debug2: mac_init: found hmac-md5
debug1: kex: client-server aes128-cbc hmac-md5 zlib
debug1: