Re: BSD logo

2010-07-23 Thread Tim Judd
On 7/23/10, Victor Skovorodnikov vic...@mail.ru wrote:
 Hi!

 This may sound strange but I have a question about logo.  Why such a logo
 for BSD?  What is the
 meaning of that logo?

 I have always been thinking of trying FreeBSD but as a Christian I get
 deterred by its un-Christian
 logo.

 Have you considered changing it to something else?  Doesn't have to be an
 angel, but perhaps
 something neutral ;-) ?


While everyone will have their own interpretation of what the logo is,
it is not a demon.  It's a daemon (servers are full of little
daemons).

Personally, I think of the freebsd (only) logo as an avatar, which
means you can make FreeBSD act in any way you want it to.  Server,
Router, Fileserver, various daemons, desktop, embedded, clustering..
so many choices...

And please don't generalize.  the BSD logo is not the same for all
the variants of BSD.  OpenBSD is a blowfish, NetBSD is a flag, FreeBSD
is an avatar, plus each offshoot of their own respective systems.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Help with setting up a mail server

2010-07-21 Thread Tim Judd
On 7/20/10, Odhiambo Washington odhia...@gmail.com wrote:
 On Tue, Jul 20, 2010 at 11:50 PM, Jerry freebsd.u...@seibercom.net wrote:
 On Tue, 20 Jul 2010 21:03:55 +0300
 Odhiambo Washington odhia...@gmail.com articulated:


 On Tue, Jul 20, 2010 at 4:46 PM, Aryeh M. Friedman
 aryeh.fried...@gmail.com wrote:
  On Tue, 20 Jul 2010 09:33:28 -0400
  Jerry freebsd.u...@seibercom.net wrote:
 
  On Tue, 20 Jul 2010 09:26:44 -0400
  Aryeh M. Friedman aryeh.fried...@gmail.com articulated:
 
   I am a consultant and was retained by my client to setup qmail or
   exim on a VPS running 8.0-STABLE (i386). After setting up the DNS
   (A record and MX record) we have been unable to send or receive
   mail. The client has/had a working script for installing qmail on
   7.1-STABLE but it seems to not work on 8.0-STABLE. They are using
   the same VPS provider who this 7.1-STABLE install script worked
   under. I have tried everything I can think of to make it work
   including asking obvious questions on -questi...@.
  
   I informed the client that the task is likely beyond me capabilities
   but I would help recruit someone who would be able to do it at a
   reasonable fee paid to them (I am acting as a no cost middle man on
   this [I am helping the client for free since I was unable to get it
   done]).
  
   Please send any ideas and/or offers to do the job
 
  I would seriously suggest that you consider installing Postfix. It is
  in the ports tree, is well maintained and works out of the box. The
  Postfix forum will be glad to give you any advice you need for setting
  up and securing your mail server. Qmail is no longer supported by its
  author and can be a nightmare to maintain.
 
 
  We had also tried sendmail and couldn't get that working either so I
  suspect it is a general config issue not a MTA one.  (I have set
  sendmail up about 30 times in the past so I know a little bit about it)

 Exim is a very good choice. Forget the Postfix suggestions. It's
 Sendmail's brother:-)

 At least Postfix is fully RFC compliant, as opposed to Exim.

 SEE: RFC 2034 (SMTP enhanced status codes), RFC 3461-4 (delivery status
 notifications), RFC 1652 (8-bit MIME including 8-7bit conversion)
 among others.

 I doubt anyone makes a choice on an MTA (or any other software) based
 on it's RFC-compliance.
 In my experience, it's normally boils down to:

 1. It has the features that I want
 2. I can swim with it in times of toruble

I for one like to know that it is RFC compliant.  it's a reason RFCs
are made, so there can be standardization...  So yes, I do choose
based on compliance.  (anyone use Firefox over IE at work because
Firefox works better?)

Did you get my email?  no, but i get everyone elses, let's check
the logs and find out why
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Tv-card for freebsd

2010-07-14 Thread Tim Judd
On 7/14/10, Bernt Hansson be...@bah.homeip.net wrote:
 Hello list!

 I'm in the process of buying a tv-card for dvb-t transmissions.

 Any tips on cards that have a driver for freebsd?

 Thank you.


For a built-in tuner card itself, no recommendations.

For an alternative solution, look at silicondust.com for the HDHomeRun
boxes.  I've had one for a long time and it is a beautiful device.
Simply stated, a dual (or more) digital tuner to ethernet bridge.

The consumer versions run only on DHCP, and they've recently announced
one that can accept tuner cards (for decoding a cable TV or satellite
broadcast, for example).


I haven't read the mechanics behind it, but it kinda looks like it's
tuned and channel data is sent to any ethernet-ready device by use of
ethernet frames.  You change settings by sending commands to the box.
There are frequent firmware updates but nothing that has yet applied
to me to fix a broken issue.



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


Re: Local cvs repository

2010-07-13 Thread Tim Judd
On 7/12/10, Peter Boosten pe...@boosten.org wrote:
 Hi all,

 I run a local cvs repository for year now, but since a couple of days I
 get these on the clients:

 Server message: Unknown collection src-all
 Server message: Unknown collection ports-all

But you still have your source and ports tree on the clients?

Sometimes these kind of messages are relating to the tag being used on
the cvs mirror (your side, not the grand cvsup*.*.freebsd.org)


Please check the config of your cvsup mirror actions, not just the logs.




 The result is that neither the source nor the ports will get updated.

 The update script on the repository server always ends with 'Finished
 successfully'.

 Anyone an idea?

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

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


Re: Dell workstation / server Freebsd's compatibility

2010-06-26 Thread Tim Judd
On 6/26/10, Olivier GARNIER ap1...@wanadoo.fr wrote:
 Hi,


 I've got an old workstation wich i use to have FreeBSD server on it
 (http/samba/ 4 disk on RAID)
 It's summer time and the old workstation will not work at the end the
 summer time (too warm for it)

 So ii wish to change it.
 I don't need a big server, a tiny workstation will be enough.
 I wish a inter CPU and dell construction (i'm use to use there work)
 So herre is the question :

 If you have dell computer (wich is still sold by dell) and if you're
 working with FreeBSD on it with no more problem, can you tell me witch
 computer you have ?
 (it would be great to have the same list as laptop
 (*laptop*.bsdgroup.de) For workstation and server ...)



You have more people with success on generic hardware you buy at
newegg.com for example than you will with Dell or any other OEM.

Moreover, you won't get support from Dell or an OEM for support
issues, including hardware replacements because they didn't sell the
machine with BSD.


If you want a company that supports BSD, use iXsystems.

If you want general compatibility that generally works better than any
OEM, use general parts from newegg, etc.  iXsystems is the exception
because they test and support BSD on the parts they sell.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Network card attaching to the wrong driver

2010-06-23 Thread Tim Judd
On 6/23/10, Nicholas Mills nlmi...@g.clemson.edu wrote:
 All,

 I am running 8.0-RELEASE and having trouble with the ed driver that is
 compiled by default into GENERIC. My machine is actually a VM running under
 Parallels Server Bare Metal 4. I would like my card to be attached to the
 Parallels driver in ports (pvmnet) instead of ed. Is there some boot option
 I could use? Both device drivers are looking for the same PCI vendor/device
 id in their probe routines, and both drivers return the same value from
 their probe functions (so they have equal priority).

 Thanks,

 Nick Mills

Disable it from the kernel config and make a custom kernel.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd - for the win

2010-06-12 Thread Tim Judd
On 6/12/10, Matthew Seaman m.sea...@infracaninophile.co.uk wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 12/06/2010 16:38:13, Chad Perrin wrote:
 On Sat, Jun 12, 2010 at 08:06:52AM +0100, Matthew Seaman wrote:

 Absolutely.  Especially when you compare it to MacPorts and consider the
 disparity in numbers of users between MacOS and FreeBSD.  Given that the
 ports is maintained by a bunch of volunteers basically in their spare
 time, the fact that it is consistently of good quality and that the
 popular packages are generally updated to the latest available versions
 within a couple of weeks -- frequently within a few hours --
 it's a pretty astonishing accomplishment.

 I don't mean to belittle anyone's accomplishments, of course, but I don't
 find it astonishing at all.  FreeBSD's development model is one that
 encourages people to develop what they use, and to use what they develop,
 and it doesn't exclude people for rules of arbitrary hiring practices.
 When your software is developed and/or maintained by way of a more
 meritocratic system in which people are eating their own dog food and
 the developers/maintainers are self-selected in large part because of
 their *interest* in what they develop or maintain, it would be surprising
 to me if something like FreeBSD *didn't* end up doing better than
 something like MacOS X, which is developed and maintained under an
 autocratic model wherein many of the developers and maintainers were
 assigned to their respective projects (regardless of interest) after
 being hired due to their resume bullet points (regardless of actual
 ability).

 That's just my perspective.  I suppose yours may differ.


 You are entirely correct, as far as MacOS X itself goes, although I
 suspect that Apples' core developers are equally as interested in what
 they do as FreeBSD's.  (Not least because there is quite a bit of
 overlap between those groups.)

 MacPorts however is not an official Apple controlled thing (although it
 does have Apple's full support).  It's a volunteer project with
 maintainers and committers in very much the same roles as the
 equivalents for FreeBSD ports.

 Given that MacOS X has, what, about 5.8% of the entire world desktop
 userbase (compare: Linux 1.2%, FreeBSD not even on the graph according
 to Wikipedia:
 http://en.wikipedia.org/wiki/Usage_share_of_operating_systems) they have
 so many more potential volunteers that even if their volunteering rate
 is an order of magnitude less, they'd still come out ahead.


These market statistics are pointless.  The numbers are based on
people reporting their OS and usage.  A system like Microsoft or Apple
can use a unique host id when checking for system updates which can
tabulate this data.  Linux is possible to do same, I don't voluntarily
run linux so I don't know it as much as I do BSD.  However, on BSD, we
have to purposely select, download, configure and use a product to
track, I know there are large corporations that use BSD (in one shape
or form) for their OS, it's just not reported.


I check the market share/statistics every now and then to see what the
trend is, but I consider them very one-sided and personally very
useless to show the actual usage.

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


nVidia motherboards

2010-06-08 Thread Tim Judd
I thought I saw even some partial support for nVidia motherboards..
but can't find it again.

I can't get even get the kernel to load.  it's an Atom 32-bit board
and would like to find that reference again.


If you can help me look I'd love the help.


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


Re: Apache 2.2, mod_auth_kerb

2010-06-02 Thread Tim Judd
On 6/2/10, John ilc...@gmail.com wrote:
 On 2010-05-20 23:34, Tim Judd wrote:
 On 5/20/10, Johnilc...@gmail.com  wrote:
 Hi list.

 I'm having problems getting mod_auth_kerb to play nice on one of my
 servers.
 I have the exact same setup on other machines and it works perfectly,
 only difference is this ones running CURRENT while they track RELEASE.

 Some info:

 # pkg_info|grep apache  pkg_info|grep kerb
 apache-2.2.15_7 Version 2.2.x of Apache web server with prefork MPM.
 mod_auth_kerb-5.4   An Apache module for authenticating users with
 Kerberos v5

 # uname -a
 FreeBSD host.example.com 9.0-CURRENT FreeBSD 9.0-CURRENT #5: Tue May 11
 20:04:45 UTC 2010 host.example.com:/usr/obj/usr/src/sys/HOST  i386


 Everything compiles and installs nicely, but when I try to do a
 'apachectl start' I get this:

 httpd: Syntax error on line 4 of /usr/local/etc/apache22/httpd.conf:
 Cannot load /usr/local/libexec/apache22/mod_auth_kerb.so into server:
 /usr/local/libexec/apache22/mod_auth_kerb.so: Undefined symbol
 gsskrb5_register_acceptor_identity

 Is this due to running current?
 If it is I will drop the issue right now, I just want to know for sure
 before I spend hours trying to solve it.



 It begins to look like GSSAPI is not in there.  GSSAPI is part of
 world.  You may need to rebuild kerberos with GSSAPI support.  Are you
 using the builtin MIT or the add-on heimdal kerberos?

 I'm using the builtin. How do I rebuild kerberos with GSSAPI support, I
 though that was builtin by default in FreeBSD since 5.1 somewhere?

 klist, kinit and kdestroy all works fine and I can authenticate against
 an Active Directory server, but I just cant get Apache to load the
 mod_auth_kerb module.

 I just did a clean install of a FreeBSD 8.1-PRERELEASE, and I have
 exactly the same error there so it's not related to running current.
 What am I doing wrong?


I don't know if I'm reading bsd.apache.mk right (included due to the
dependency of apache webserver), but mod_auth_kerb may require apache
1.3, not 2.x

does your 8.1 have apache1.3?  Maybe it has both nd 1.3 is running?

I would bet that a 1.3 module won't work in 2.x

does apache2.x have a kerberos module?  there have been a ton of
additions to apache2.x



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


Re: Apache 2.2, mod_auth_kerb

2010-06-02 Thread Tim Judd
On 6/2/10, John ilc...@gmail.com wrote:
 On 2010-06-02 18:56, Tim Judd wrote:
 On 6/2/10, Johnilc...@gmail.com  wrote:
 On 2010-05-20 23:34, Tim Judd wrote:
 On 5/20/10, Johnilc...@gmail.com   wrote:
 Hi list.

 I'm having problems getting mod_auth_kerb to play nice on one of my
 servers.
 I have the exact same setup on other machines and it works perfectly,
 only difference is this ones running CURRENT while they track RELEASE.

 Some info:

 # pkg_info|grep apache   pkg_info|grep kerb
 apache-2.2.15_7 Version 2.2.x of Apache web server with prefork
 MPM.
 mod_auth_kerb-5.4   An Apache module for authenticating users with
 Kerberos v5

 # uname -a
 FreeBSD host.example.com 9.0-CURRENT FreeBSD 9.0-CURRENT #5: Tue May 11
 20:04:45 UTC 2010 host.example.com:/usr/obj/usr/src/sys/HOST  i386


 Everything compiles and installs nicely, but when I try to do a
 'apachectl start' I get this:

 httpd: Syntax error on line 4 of /usr/local/etc/apache22/httpd.conf:
 Cannot load /usr/local/libexec/apache22/mod_auth_kerb.so into server:
 /usr/local/libexec/apache22/mod_auth_kerb.so: Undefined symbol
 gsskrb5_register_acceptor_identity

 Is this due to running current?
 If it is I will drop the issue right now, I just want to know for sure
 before I spend hours trying to solve it.



 It begins to look like GSSAPI is not in there.  GSSAPI is part of
 world.  You may need to rebuild kerberos with GSSAPI support.  Are you
 using the builtin MIT or the add-on heimdal kerberos?

 I'm using the builtin. How do I rebuild kerberos with GSSAPI support, I
 though that was builtin by default in FreeBSD since 5.1 somewhere?

 klist, kinit and kdestroy all works fine and I can authenticate against
 an Active Directory server, but I just cant get Apache to load the
 mod_auth_kerb module.

 I just did a clean install of a FreeBSD 8.1-PRERELEASE, and I have
 exactly the same error there so it's not related to running current.
 What am I doing wrong?


 I don't know if I'm reading bsd.apache.mk right (included due to the
 dependency of apache webserver), but mod_auth_kerb may require apache
 1.3, not 2.x

 does your 8.1 have apache1.3?  Maybe it has both nd 1.3 is running?

 I would bet that a 1.3 module won't work in 2.x

 does apache2.x have a kerberos module?  there have been a ton of
 additions to apache2.x



 Let us know.

 Are you looking at /usr/ports/www/mod_auth_kerb or
 /usr/ports/www/mod_auth_kerb2?

 mod_auth_kerb2 is for apache 2.x

was looking at ports/www/mod_auth_kerb


i think i'm outta ideas.  was basic troubleshooting, but I've kind of
given up on kerberos auth.  binding to LDAP works when working against
Microsoft AD
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Postfix bad command startup??

2010-05-31 Thread Tim Judd
On 5/31/10, Kaya Saman samank...@netscape.net wrote:
 Hi,

 similar like I wrote before, to do with my migration from Solaris 9 to
 FreeBSD 8.0 x64 RELEASE.

 Postfix is being run in a BSD Jail and so far I have disabled as much as
 I could of sendmail which I did this to rc.conf within the jail:

 postfix_enable=YES
 sendmail_enable=NONE
 sendmail_submit_enable=NO
 sendmail_outbound_enable=NO
 sendmail_msp_queue_enable=NO


 However upon startup Postfix gives me this problem:

 May 31 18:03:18 relay postfix/master[4280]: warning:
 /usr/local/libexec/postfix/smtpd: bad command startup -- throttling
 May 31 18:04:18 relay postfix/smtpd[4606]: fatal: open database
 /etc/aliases.db: No such file or directory
 May 31 18:04:19 relay postfix/master[4280]: warning: process
 /usr/local/libexec/postfix/smtpd pid 4606 exit status 1
 May 31 18:04:19 relay postfix/master[4280]: warning:
 /usr/local/libexec/postfix/smtpd: bad command startup -- throttling
 May 31 18:05:19 relay postfix/smtpd[4629]: fatal: open database
 /etc/aliases.db: No such file or directory
 May 31 18:05:20 relay postfix/master[4280]: warning: process
 /usr/local/libexec/postfix/smtpd pid 4629 exit status 1
 May 31 18:05:20 relay postfix/master[4280]: warning:
 /usr/local/libexec/postfix/smtpd: bad command startup -- throttling


 I can tell that it's listening as netstat -ap tcp reveals this:

 netstat: kvm not available: /dev/mem: No such file or directory
 Active Internet connections (including servers)
 Proto Recv-Q Send-Q  Local Address  Foreign Address   (state)
 tcp4   0  0 relay.smtp 110.52.7.217.2140
 ESTABLISHED
 tcp4   0  0 relay.smtp web112111.mail.g.33920
 ESTABLISHED
 tcp4   0  0 relay.smtp 110.52.6.29.4643
 ESTABLISHED
 tcp4   0  0 relay.smtp 78-61-12-207.sta.28507 CLOSED
 tcp4   0  0 relay.smtp 78-61-12-207.sta.27646 CLOSE_WAIT
 tcp4   0  0 relay.smtp 78-61-12-207.sta.26479 CLOSE_WAIT
 tcp4   0  0 relay.smtp 110.52.6.35.2109
 ESTABLISHED
 tcp4   0  0 relay.smtp 78-61-12-207.sta.23305 CLOSED
 tcp4   0  0 relay.smtp 78-61-12-207.sta.22314 CLOSE_WAIT
 tcp4   0  0 relay.smtp 78-61-12-207.sta.21323 CLOSE_WAIT
 tcp4   0  0 relay.ssh  *.*LISTEN
 tcp4   0  0 relay.smtp *.*LISTEN


 /var/log/messages gives me this:

 May 31 18:10:24 relay postfix/smtpd[4662]: fatal: open database
 /etc/aliases.db: No such file or directory

 however I did run the command newaliases which did create the aliases
 file under /etc/mail/aliases with the aliases.db file being under there
 as well as under /etc.

 Currently no mail is being relayed throughout the domain so I can tell
 that it's not working as even the /var/log/maillog file is telling me
 that messages are queued but not sent if I use:

 mail -s test em...@address.com

 test

 ^D

 Can someone please help me work out what is causing Postfix to fail as
 I've managed to migrate my config from Linux to Solaris with not as many
 issues and problems as this so it really beats me...

 Many thanks,


 Kaya


Kaya,


You may need to edit the following
  alias_maps = hash:/etc/aliases
  alias_database = hash:/etc/aliases

and run BOTH   'newaliases' and 'postalias /etc/aliases' depending on
your setup.

restart postfix for good measure


if you telnet to your postfix IP and get the 220 banner, postfix is
happy with the config and should work as config'd.

if after establishing a telnet session, you don't get any banner,
postfix is still having problems with something.  start looking at
logs again.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Possible to run Linux distro in a jail?

2010-05-28 Thread Tim Judd
On 5/28/10, Yuri y...@rawbw.com wrote:
 When I googled linux in a jail I got some references but no particular
 howto.
 Since currently VirtualBox is broken (hangs OS after a while), is it
 really possible to install Linux into a jail as a virtual machine?

 Yuri



No.


Jail is a userland world sharing the kernel
linux in it's own term is a kernel
  If you mean a distribution, I still doubt it heavily; only possible
remote chance is a   kFreeBSD/gnu userland.  I discourage further
attempts at it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Diskless Booting Can't Set /var in mfs larger than 4MB

2010-05-23 Thread Tim Judd
On 5/23/10, Bill Tillman btillma...@yahoo.com wrote:
 I have a diskless workstation booting nicely but for some reason I cannot
 get the /var directory to set larger than 4MB. The docs I read said edit
 /pxeroot/conf/base/etc/fstab like this:

 # DeviceMountpoint  FStype  Options   Dump
  Pass#
 md /var   mfs  -s=30m,rw0
   0
 md  /tmp  mfs
  -s=30m,rw0 0
 proc /proc procfs
 rw   0 0

 When I do this the /tmp directory sets up in mds at 30MB in size. But /var
 always comes up at only 4MB in size. Can anyone tell me how to adjust the
 size of /var in a diskless setup?



have you tried the rc.conf variants?

varmfs=AUTO   # Set to YES to always create an mfs /var, NO to never
varsize=32m   # Size of mfs /var if created
varmfs_flags=-S   # Extra mount options for the mfs /var
populate_var=AUTO # Set to YES to always (re)populate /var, NO to never
cleanvar_enable=YES   # Clean the /var directory


also has a tmp set of variables, too
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Apache 2.2, mod_auth_kerb

2010-05-20 Thread Tim Judd
On 5/20/10, John ilc...@gmail.com wrote:
 Hi list.

 I'm having problems getting mod_auth_kerb to play nice on one of my servers.
 I have the exact same setup on other machines and it works perfectly,
 only difference is this ones running CURRENT while they track RELEASE.

 Some info:

 # pkg_info|grep apache  pkg_info|grep kerb
 apache-2.2.15_7 Version 2.2.x of Apache web server with prefork MPM.
 mod_auth_kerb-5.4   An Apache module for authenticating users with
 Kerberos v5

 # uname -a
 FreeBSD host.example.com 9.0-CURRENT FreeBSD 9.0-CURRENT #5: Tue May 11
 20:04:45 UTC 2010 host.example.com:/usr/obj/usr/src/sys/HOST  i386


 Everything compiles and installs nicely, but when I try to do a
 'apachectl start' I get this:

 httpd: Syntax error on line 4 of /usr/local/etc/apache22/httpd.conf:
 Cannot load /usr/local/libexec/apache22/mod_auth_kerb.so into server:
 /usr/local/libexec/apache22/mod_auth_kerb.so: Undefined symbol
 gsskrb5_register_acceptor_identity

 Is this due to running current?
 If it is I will drop the issue right now, I just want to know for sure
 before I spend hours trying to solve it.



It begins to look like GSSAPI is not in there.  GSSAPI is part of
world.  You may need to rebuild kerberos with GSSAPI support.  Are you
using the builtin MIT or the add-on heimdal kerberos?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd on netbook

2010-05-20 Thread Tim Judd
On 5/19/10, Anh Ky Huynh xky...@gmail.com wrote:
 Hello all,

 I intend to buy a netbook for convenience (for many remote jobs, a netbook
 seems to be enough) whose cost is around $400. I'd like have freebsd on that
 netbook (oh, no linux, no windows, please :-) but it's hard to choose a
 right one that works fine (even with Ubuntu. See
 https://wiki.ubuntu.com/HardwareSupport/Machines/Netbooks.)

 Does anyone experience this problem?

 Thank you for your comments.


Got an HP Mini 311 that's not FreeBSD friendly.  it's a completely
nVidia-based system with Atom CPU.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem with Custom Kernel

2010-05-11 Thread Tim Judd
On 5/11/10, Heshmat Ismail real_precious_st...@yahoo.com wrote:
 Dear Sir,
 My name is Heshmat Ismail.The output of uname-a is:-
 FreeBSD  8.0-RELEASE FreeBSD 8.0-RELEASE #12: Tue May 11 11:05:22 UTC
 2010 heshmat@:/usr/obj/usr/src/sys/MYKERNEL  i386
 After I have built and installed my custom kernel  (MYKERNEL),i installed
 xorg and ran the command startx but i got: couldn't create cookie.What could
 be the problem with MYKERNEL? my kernel configuration file is attached with
 this message.
 Thanks,
 Heshmat Ismail



An XORG cookie is dealing with X authority, not with a kernel config.
Make sure all parts of xorg are installed.

Give us the scenario on what you do after login with all your commands
leading up to this error.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Very simple file sharing between FreeBSD server and windows client ?

2010-05-10 Thread Tim Judd
On 5/10/10, John Levine jo...@iecc.com wrote:
 Is there a simple software to share files between a FreeBSD server and a
 windows client other than Samba which is a bit overkill for my needings,

 I concur with the advice to use Samba, but if that's too scary, you
 can just use FTP.  Recent versions of Windows let you define a network
 location that is an FTP server, and it works well enough to show the
 files in a pseudo-folder and drag them back and forth to local
 folders.  On Windows, it's a poorly documented option under map
 network drive.

 Or real men run COMMAND.CMO and run FTP from the command line.


Only if you haven't updated in 10+ years and can't type.


WinNT flavors are cmd.exe
And command.cmo won't run.  I keep trying because I want to be a real man... :D
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: bsd server

2010-05-04 Thread Tim Judd
On 5/4/10, Lion lion...@gmail.com wrote:
 hello,

 I would like hire server and dealing with hosting and I would like to
 use freebsd.
 What version will be the best for me must include possibility to install
 databases, making backups, working with virtual terminal.

 Thanks Regards
 TM


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


Re: boot Debian on a RouterStation Pro

2010-05-03 Thread Tim Judd
On 5/3/10, Polytropon free...@edvax.de wrote:
 On Mon, 3 May 2010 10:34:21 -0400, Alejandro Imass a...@p2ee.org wrote:
 Why on earth would someone put Debian and FreeBSD and distros in the
 same breath, must be a joke.

 I use Debian _and_ FreeBSD extensively but I have no confusion in tha
 FBSD is not a Linux distro.

 I can assure you it's not - at least not in Germany; here, some
 years ago a computer related magazine had an article with the
 title FreeBSD - the professional Linux. :-)



Similar to Windows NT 4.0 as a professional Windows.  Windows 2008 vs Vista


I read the magazine article title as to everyone who wants a
linux/unix like system, FreeBSD is the professional choice

It's all interpreted to the reader...  however typing Debian when
being sent to a FreeBSD list is completely misdirected, I would have
ignored it if it wasn't for the fact that there were so many responses
to this thread.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to mount mfsroot?

2010-04-22 Thread Tim Judd
On 4/22/10, Yuri y...@rawbw.com wrote:
 I am trying to set up NFS install, and need to modify mfsroot to not
 load sysinstall.
 But vnconfig is disabled in 8.0.
 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/pxe/article.html
 suggests using vnconfig vn0 mfsroot
 But vnconfig is disabled in 8.0.

 So I ran:
 mdconfig -a -t vnode -f mfsroot
 mount /dev/md0 /mnt/
 And got an error:
 mount: /dev/md0 : Invalid argument

 What's wrong?
 Yuri



How did you create the 'mfsroot' file?

Does   dumpfs /dev/md0 return any valid info?
Do you have any devnodes like  /dev/md0s1or/dev/md0s1a   ?

There is not enough information in your original statement to diagnose this.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installation on HP Proliant via iLO - Error mounting /dev/acd0 on /dist

2010-04-22 Thread Tim Judd
On 4/22/10, Ewald Jenisch a...@jenisch.at wrote:
 Hi,

 I'm having a hard time trying to install FreeBSD 8.0 on an HP Proliant
 server. To be specific I try to instal the amd64 variant of FreeBSD
 8.0 on a ProLiant DL385 G1.

 Since the server is remote installation is to be done via the virtual
 CD/DVD of the iLO management.

 The install process runs smooth up to the point where the install
 process finishes formatting then I get the following error:

 Error mounting /dev/acd0 on /dist: Input/output error (5)

 and installation can't proceed.

 Interestingly that the installation runs from CD up to this point
 without any problem whatsoever. This can't be a problem with the
 CD/DVD since I've mounted the ISO-image via a virtual drive.

 I've already tried downloading the ISO again - same result.

 Likewise I tried with the CD-image instead of the DVD-image - same result
 :-(

 So here are my questions:

 o) has anybody seen symptoms like this on a HP proliant server when
 installation is done via the virtual CD/DVD-drive?

 o) Any cure against this?

 Thanks much in advance for any clue,
 -ewald


I'm a new hire to HP (not supporting ProLiants), but BSD is not a
supported OS.  That's completely beside the point because I want to
play with proliants myself and see what I can get working.


Most remote management devices like Dell's DRAC and HP's iLO should
present the drive to the OS as a USB rom.  The new IPMI management
cards are still unknown.

The acd0 is an ATAPI/IDE device.  Here's what I'd try.  Two options...

1) Boot the livefs ISO and do a ftp/http install
2) Download Martin Matuška's mfsbsd and boot it.  Connect by SSH and
perform either a cd-rom install with the install iso mounted or via
ftp/http install.



I would anxiously try anything if anybody were to give me access to a
proliant.  dmesg and model numbers with bios, bmc versions, etc would
be greatly appreciated.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Why nfs mounts are allowed that aren't in /etc/exports?

2010-04-22 Thread Tim Judd
On 4/22/10, Yuri y...@rawbw.com wrote:
 I only have this one line exports:
 /usr/diskless.sparc64 -alldirs -maproot=root -network=192.168.0
 -mask=255.255.255.0

 But somhow all mounts are succeed: /home, usr/ports, etc.

 Isn't exports supposed to limit what can be mounted?

 Yuri


Because you didn't specify in this email where /home is mounted, I can
only guess /home is actually a symlink to /usr/home


Because /usr/home is under the /usr mountpoint and you specified
'-alldirs' in the exports, any dir under /usr can be mounted.

NFS exports work ONLY on mountpoints, they do not work under child
directories unless -alldirs is specified and then any dir under that
mountpoint can be mounted.



Please check your system configuration and return to us.


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


Re: hacked?

2010-04-14 Thread Tim Judd
On 4/14/10, Steve Franks bahamasfra...@gmail.com wrote:
 I don't have bsdstats or similar that I'm aware of installed, so this
 smells bad:

 Firewall is showing repeated attempts from your FreeBSD machine to
 connect to port 25 (standard SMTP mail port) on a server in Belgium. This
 implies something on your system is trying to send mail out.


Who is stating this?


 [14/Apr/2010 15:11:09] DROP SMTP Deny packet from Local Area
 Connection - LAN, proto:TCP, len:48, ip/port:192.168.1.38:17343 -
 81.247.120.78:25, flags: SYN , seq:43473770 ack:0, win:65535, tcplen:0


Which log is generating this entry, local or remote?  RFC1918 IP
blocks (192.168.0.0/16 is one of these blocks) cannot be routed on the
public internet, routers should drop any packet in route, unless the
packet itself is spoofed.


 IP-Whois  searches for 81.247.120.78:25 show this IP address belongs to
 a Belgian ISP:

 http://www.db.ripe.net/whois?form_type=simplefull_query_string=searchtext=81.247.120.78do_search=Search

 inetnum: 81.247.96.0 - 81.247.127.255
 netname: BE-SKYNET-ADSL1
 descr:   ADSL-GO-PLUS
 descr:   Belgacom ISP SA/NV
 country: BE

 Where would I start sniffing around as far as what got put on my box?

 Steve


I've seen hacked boxes due to insecure services offered to the
public Internet have scripts or binaries in globally writable
directories, such as /tmp and/or /var/tmp
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How customized can an mfsroot be?

2010-04-07 Thread Tim Judd
On 4/6/10, Peter Steele pste...@maxiscale.com wrote:
What incidentally does /var get populated with? Our image has a custom
 directory under /var but this did not show up in the MFS versions of this
 directory. I can get around this but I wonder what else might not be
 included?

 I found something else that's missing--/var/db/pkg is empty. It looks like
 what the auto-var process does is a construct basic directory structure but
 no data. Is there a solution to this? Can I get /var to be populated with
 the full contents of the real /var?



Not that I know of, unless you use the advantages of mfs then.  Full
circle, bud.  Now you're asking for necessities of the mfs or mfsroot
systems.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How customized can an mfsroot be?

2010-04-06 Thread Tim Judd
On 4/6/10, Peter Steele pste...@maxiscale.com wrote:
If FreeBSD cannot write to /tmp or /var on boot, it automatically
creates a MFS filesystems for those mountpoints and mounts them during
 boot.  You don't need to do anything.

It works as the same readonly compactflash environments out there.

 What incidentally does /var get populated with? Our image has a custom
 directory under /var but this did not show up in the MFS versions of this
 directory. I can get around this but I wonder what else might not be
 included?


From the var mtree spec

/etc/mtree/*  (if i recall, BSD.var.dist)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to create a base distribution set?

2010-04-05 Thread Tim Judd
On 4/5/10, Peter Steele pste...@maxiscale.com wrote:
 One of the distribution sets that comes on a standard release DVD is base.
 This includes the core set of binaries as well as the files under /etc and a
 few other text files. Running make installworld doesn't collect everything
 that's needed. Is there a make option to gather all of the files? I assume
 something like make release might do that but I don't want to run a full
 release build, I just want to create the base distribution set.


I use   make distributionin /usr/src
to create the rest of the /etc files.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How customized can an mfsroot be?

2010-04-05 Thread Tim Judd
On 4/5/10, Peter Steele pste...@maxiscale.com wrote:
 We have a USB boot stick based cloning process that we're considering
 porting to a DVD based media. I'm not sure though that it's possible due to
 the restrictions I've seen in the mfsroot environment we'd have to use. For
 example, in our USB disk procedure, we create partitions using gpart and set
 up mirroring for the OS partitions. We even recognize 3Ware controllers and
 automatically create logical RAID sets from the available drives. In some
 earlier work I did with a pxe boot server a couple of years ago, I know that
 I could not setup mirrors via sysinstall and I assume that hasn't changed in
 FreeBSD 8. Is it possible to customize the mfsroot environment to run a
 larger variety of commands to allow us to duplicate the cloning process we
 use with USB boot sticks or is this project likely not doable?



I'm working through my own livecd boot mechanism currently.

From my experience, there is a limit on how much space you can fit
into the kernel.. for modules.  mfs_root is considered a module.

Based on previous projects such as freesbie, mfsbsd, etc, you can run
between a 50-100MB compressed mfs_root to find how much data you can
store on that medium.  But ... why are you constricting yourself to
use mfs_root?  I have many times ran FreeBSD completely from CDrom,
which will give you all 700 (or a DVD, 4.3G) usable space.


I'd be happy to help, if you have questions.  but please direct the
questions to the mailing list.



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


Re: How customized can an mfsroot be?

2010-04-05 Thread Tim Judd
On 4/5/10, Peter Steele pste...@maxiscale.com wrote:
 But ... why are you constricting yourself to use mfs_root?  I have many
 times ran FreeBSD completely from CDrom, which
will give you all 700 (or a DVD, 4.3G) usable space.

I'd be happy to help, if you have questions.  but please direct the
 questions to the mailing list.

 The reason I was doing it this way was because I didn't know how to provide
 the CD-ROM environment a writeable file system for /tmp and /var. Obviously
 these have to be setup as some kind of ram based file system. What's the
 trick?




If FreeBSD cannot write to /tmp or /var on boot, it automatically
creates a MFS filesystems for those mountpoints and mounts them during
boot.  You don't need to do anything.

It works as the same readonly compactflash environments out there.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How customized can an mfsroot be?

2010-04-05 Thread Tim Judd
On 4/5/10, Peter Steele pste...@maxiscale.com wrote:
If FreeBSD cannot write to /tmp or /var on boot, it automatically creates a
 MFS filesystems for those mountpoints
and mounts them during boot.  You don't need to do anything.

It works as the same readonly compactflash environments out there.

 D'oh! Man, wish I had known that. I just tried it and it worked fine. So I
 should have no problem converting my cloning process over to an iso/cd
 media. Definitely glad I don't have to mess around with a mfsroot
 environment.

 Thanks for the tip!

 Peter


Mistakes often lead to the greatest discoveries.  I had made a CD,
thinking I'd have to go through the same process of an mfsroot.
Booted the sucker, no errors, and I was about to fall over.  Since
then, I have learned the mfs_root (which has it's benefits, no
doubt...) method.


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


Re: Support for Zotac MB with nVidia ION chipset

2010-04-04 Thread Tim Judd
On 4/4/10, Jeremie Le Hen jere...@le-hen.org wrote:
 Hi,

 --- Please Cc: me when replying, I'm not subscribed. ---

 I plan to purchase a Zotac motherboard with a embedded ATOM processor.
 It uses an NVidia chipset.

 http://www.zotacusa.com/zotac-ionitx-f-e-atom-n330-1-6ghz-dual-core-mini-itx-intel-motherboard.html

 My intent is to build a small NAS with ZFS and NFS/CIFS.  I'd like to
 know if anyone successfully ran FreeBSD on this motherboard and what
 performance could be achieved, especially if ZFS is used.  I checked the
 archives without luck.

 Thanks!
 --
 Jeremie Le Hen


A NAS w/ ZFS, NFS and CIFS/SMB, doesn't need any feature of the ion
chipset.  Why are you electing for this board if you're not running
any graphical environment?

And ZFS is memory hungry, the Atom is a i386-like chip, so you'd have
too much overhead with ZFS.


I think you've elected the wrong board for your purposes.  Will
FreeBSD run on it?  yes.  I have freebsd on another atom N-series ASUS
box.



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


Re: under X, frozen keys, no mouse

2010-04-04 Thread Tim Judd
On 4/4/10, Henry Olyer henry.ol...@gmail.com wrote:
 I installed FBSD 7.3 on an older Compaq box.  It has a built-in video card,
 this isn't a top of the line superfast machine.

 But it is important for me to press it into service.

 I tried using a couple of Option lines in xorg.conf, but no luck.

Would be nice for you to mention what option lines you're talking
about.  This message is not detailed enough to accurately read your
mind.


 so now my questions...

 Will FBSD 7.3 make use of xf86cfg or some such program.  I ask because the X
 --configure command has never worked for me;  Not on any of five different
 machines I've put FBSD on.

X --configure doesn't itself install the xorg.conf file it creates.


 I'm not trying to do a sophisticated install either -- and though I've
 decided against running OpenBSD, the default install put's up X
 perfectly...  (Why??)


A missing driver in freebsd that open puts on by default?  again, too vague.


 wish I knew more...


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


Re: Fwd: mkuzip and/or geom_uzip changes? - SOLVED

2010-04-03 Thread Tim Judd
On 4/1/10, Tim Judd taj...@gmail.com wrote:
 On 4/1/10, Tim Judd taj...@gmail.com wrote:
 On 4/1/10, John Baldwin j...@freebsd.org wrote:
 On Wednesday 31 March 2010 6:32:09 pm Tim Judd wrote:
 Hi All,

 Just starting to see if I can find other reports.  You all probably
 have had the more than one pair of eyes looking at a thing is better
 than my eyes alone.  This is why I'm writing now, as I'm starting the
 discovery.

 Let me background this a little bit.  I only started looking into this
 because mkuzip and it's counterpart, geom_uzip are throwing errors on
 FreeBSD8 i386


 scenario (/etc/src.conf in effect, removing *LOTS* of stuff with
 knobs):
   make DESTDIR=/home/small8 installworld installkernel distribution
   mv /home/small8/boot /home/small8-boot/
   makefs -t ffs /home/small8/usr.img /home/small8/usr/
   mkuzip -o /home/small8/usr.uzip /home/small8/usr.img
 [*]
   chflags -R noschg /home/small8/usr/*
   rm -rf /home/small8/usr/* /home/small8/usr.img
   ee /home/small8/etc/rc.d/mountcritlocal
   [**]
   makefs -t ffs /home/small8-boot/mfsroot /home/small8/
   gzip --best /home/small8-boot/mfsroot
   ee /home/small8-boot/boot/loader.conf
   [***]
   rm /home/small8-boot/boot/kernel/*.symbols
   gzip --best /home/small8-boot/boot/kernel/kernel
   mkisofs -U -J -r -V FreeBSD8 -b boot/cdboot -no-emul-boot
 -iso-level 4 -o /home/small8.iso /home/small8-boot/


 [*]: mkuzip inserts a script header that is broken.  module name it's
 searching for may have been renamed?
 [**]: Edited mountcritlocal to mount the usr.uzip file as by using the
 above script header, throws errors
 [***]: added zlib and geom_uzip modules to load to the boot image, to
 satisfy the script header's requirements.

 OK, the above scenario creates about a 33MB usr.uzip, and a 68MB iso.
 Small enough to apparently fit into the undocumented 50 or 100MB size
 limit of mfs_root module

 BTW, you can raise this limit by changing NKPT.

 The problem:
   mkuzip generates a few lines as a script in the head of the
 resulting *.uzip file.  Two problems...
 1) the module it queries for is geom_uzip (kldstat -m $m), but
 FreeBSD8 names the geom_uzip module (i guess, internally) as g_uzip.
 mkuzip's generated image will never find the module if they're not
 named the same.

 It is g_uzip even in 7:

 DECLARE_GEOM_CLASS(g_uzip_class, g_uzip);
 MODULE_DEPEND(g_uzip, zlib, 1, 1, 1);

 This has probably just been broken from the start.  If it used 'kldstat
 -n'
 then it might work.  Well, it probably works (modulo a warning) by
 accident
 as
 it doesn't hurt to kldload an already-loaded module.  Note though that
 it
 assumes the raw usr.img is an ISO image, not a UFS filesystem.

 2) even with geom_uzip module and it's dependency zlib loaded, i don't
 get a mdconfig node '/dev/md?.uzip' to appear.

 It's been forever since I touched uzip, so I have to ask.

 Do you have a md0 device at all?  I think you want to hack the script to
 do
 something like this:

 disk=`mdconfig -af /path/to/usr.img`
 mount -r /dev/$disk.uzip /usr

 --
 John Baldwin




 booted single-user
 md0 is the mfs_root

 here is the manual attachment of an mdconfig...
 # mdconfig -af /usr.uzip
 WARNING: opening backing store: /usr.uzip readonly
 md1.uzip: block size (24) should be a multiple of 512.
 md1
 # ls /dev/md1*
 /dev/md1
 #


 Forgot the kldstat, which was obviously omitted

 # kldstat
 Id Refs Address Size Name
 1 5 0xc040 b6e060 kernel
 2 1 0xc0f6f000 3ffc   geom_uzip.ko
 3 2 -xc0f73000 ac20   zlib.ko




John, All:

Don't spend any more time on this issue as a show-stopper anymore.  I
understand what was going on enough to realize that the middle line,
rather than a warning, was an outright error and the md?.uzip device
cannot be presented.

When I was trying to diagnose my cascading problems, one of the items
I did was to edit (with ee) the usr.uzip binary file.  I only used the
cursor in the script header part, saved it and tried it out.
Evidentally, that screwed the file up.


Recreating the .img, converting to a .uzip is working.

I'm back on track, no need to continue to search this.



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


mkuzip and/or geom_uzip changes?

2010-03-31 Thread Tim Judd
Hi All,

Just starting to see if I can find other reports.  You all probably
have had the more than one pair of eyes looking at a thing is better
than my eyes alone.  This is why I'm writing now, as I'm starting the
discovery.

Let me background this a little bit.  I only started looking into this
because mkuzip and it's counterpart, geom_uzip are throwing errors on
FreeBSD8 i386


scenario (/etc/src.conf in effect, removing *LOTS* of stuff with knobs):
  make DESTDIR=/home/small8 installworld installkernel distribution
  mv /home/small8/boot /home/small8-boot/
  makefs -t ffs /home/small8/usr.img /home/small8/usr/
  mkuzip -o /home/small8/usr.uzip /home/small8/usr.img  [*]
  chflags -R noschg /home/small8/usr/*
  rm -rf /home/small8/usr/* /home/small8/usr.img
  ee /home/small8/etc/rc.d/mountcritlocal
  [**]
  makefs -t ffs /home/small8-boot/mfsroot /home/small8/
  gzip --best /home/small8-boot/mfsroot
  ee /home/small8-boot/boot/loader.conf
  [***]
  rm /home/small8-boot/boot/kernel/*.symbols
  gzip --best /home/small8-boot/boot/kernel/kernel
  mkisofs -U -J -r -V FreeBSD8 -b boot/cdboot -no-emul-boot
-iso-level 4 -o /home/small8.iso /home/small8-boot/


[*]: mkuzip inserts a script header that is broken.  module name it's
searching for may have been renamed?
[**]: Edited mountcritlocal to mount the usr.uzip file as by using the
above script header, throws errors
[***]: added zlib and geom_uzip modules to load to the boot image, to
satisfy the script header's requirements.

OK, the above scenario creates about a 33MB usr.uzip, and a 68MB iso.
Small enough to apparently fit into the undocumented 50 or 100MB size
limit of mfs_root module


The problem:
  mkuzip generates a few lines as a script in the head of the
resulting *.uzip file.  Two problems...
1) the module it queries for is geom_uzip (kldstat -m $m), but
FreeBSD8 names the geom_uzip module (i guess, internally) as g_uzip.
mkuzip's generated image will never find the module if they're not
named the same.
2) even with geom_uzip module and it's dependency zlib loaded, i don't
get a mdconfig node '/dev/md?.uzip' to appear.

It's been forever since I touched uzip, so I have to ask.


Looking at the cvsweb, (as a bonus question, what's the svn website
address to look at source files?) mkuzip program last modified 3 years
(2 months for the Makefile), geom_uzip module Makefile last modified 4
years ago.

3-4 years yield a median FreeBSD version 6.2.  Have we broken
something in 7 or 8?



The request:
  Is it a PEBKAC?  ID 10T error?  Duplicatable?


I'm gonna research what I can, when I can.  I would expect to see
something pop up clearly if it is a regression.  Can I ask you all to
use your eyes or past knowledge if something is broken?


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

Re: Freebsd, postfix and push email

2010-03-29 Thread Tim Judd
On 3/27/10, per...@pluto.rain.com per...@pluto.rain.com wrote:
 Tim Judd taj...@gmail.com wrote:
 On 3/27/10, Ron (Lists) rg.li...@rzweb.com wrote:
  Is there a way to get my freebsd/postfix setup to send push
  notifications to an iPhone ... I know it can be done with
  Exchange and ActiveSync, but I don't want to run any kind of
  exchange server.

 Wouldn't push email be a function of your POP3 or IMAP server?
 FreeBSD and Postfix are neither of those.

 Er, no.  POP3 and IMAP are pull services, wherein the client
 polls the server periodically for any newly-arrived messages.
 A client-level push service would need to operate similarly
 to biff(1)/comsat(8).




I've never heard of either, but when I configure my IMAP server and
put any mail client to it, as soon as a mail is delivered, the mail
client is notified.

I don't use biff or comsat or anything similar.  mine is a simple IMAP
server pushing it.



I'm anxious to really hear what this is...  I don't have any POP3/IMAP
enabled smartphones to test with.


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


Re: Freebsd, postfix and push email

2010-03-27 Thread Tim Judd
On 3/27/10, Ron (Lists) rg.li...@rzweb.com wrote:
 Is there a way to get my freebsd/postfix setup to send push notifications to
 an iPhone (I assume other smart phones work the same way).  I've searched
 the web and I can't find any information about how to make this work.  I
 know it can be done with Exchange and ActiveSync, but I don't want to run
 any kind of exchange server.

 Thanks for any help, or even a point in the right direction.

 Ron


Wouldn't push email be a function of your POP3 or IMAP server?
FreeBSD and Postfix are neither of those.


Check your incoming mail services, such as what serves your POP3 or IMAP.


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


Re: Also have a dead box [ WAS: Re: OT: dead box ]

2010-03-23 Thread Tim Judd
On 3/23/10, Corey John Bukolt ruinermailchuc...@gmail.com wrote:
 On Sun, 21 Mar 2010 11:23:34 + (06:23 CDT) Chris Whitehouse wrote:
 When you press the power button does the cpu fan or the power supply fan
 spin for a moment then stop? That's a sign that something on or plugged
 in to the motherboard has blown. Unplug things and test again.

 Chris

 Just a few days ago, I was helping a friend build a system (with all
 brand new components, I might add) and we had this very problem.  After
 sticking in the CPU and RAM and hooking up and turning on the PSU, the
 green LED on the motherboard turns on.  However, the second the power
 button is pressed, everything flashes for a second, then turns back off.
 The green LED on the motherboard also remains on.  The only way to get
 it to flash again is to turn off the PSU, wait, then turn it back on.
 We tried re-seating everything, to no avail.

 Reading this thread, someone else mentioned beep codes and that if there
 were none, it's most likely a fried motherboard.

 Can anyone else confirm this?

 ~Corey


Best way to confirm a dead board in any case is those POST diagnosis
cards.  They have a dual-digit LED output that changes depending on
the signal on the wire.  If at any time those dual-digit LEDs stay
permanently on anything OTHER THAN 00 is a failed POST.  If it fails
before it gets a shot at testing RAM or anything, there may be no beep
codes.


Always good to have one in a toolkit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Which version of FreeBSD is it?

2010-03-18 Thread Tim Judd
On 3/17/10, Антон Клесс antoniok@gmail.com wrote:
 That is what I suspected for.

 What is the most safe way to upgrade it, remembering that this is production
 server and I have to keep it working properly?

 6.2-RC1 - 6.2 RELEASE - 7.2 RELEASE - 8.0 RELEASE, or somehow in this
 style?

snip

Honestly, if a system is going to go through that large of a change,
here's what I'd recommend.  First scenario is the quickest running,
then continue with the second to keep it up-to-date


Since *ALL* configuration of base and ports is done by /etc and
/usr/local/etc, back up those two directories to a tarball.  they're
all text files so it should compress very well.  Note the packages
currently on your system with a simple pkg_info.  This gets you a
prime data set that can restore 99%+ functionality if used.

Scenario 1:
  pkg_info /root/pkg_info.txt
  tar -cPpzf /root/62rc1-config.tgz /etc /usr/local/etc /root/pkg_info.txt
  ** keep this /root/62rc1-config.tgz archive in a safe 2 spots.  2 spots.

  fresh install of 8.0R on the box.
  extract, at minimum, the /etc entries from the tarball kept safely
away from the box
  for each package listed in pkg_info.txt, install from packages that
package (just the QUICK way to bring a box to a usable state)
  extract the /usr/local/etc from the tarball.  **TRY** to restart
your services.

The reason I state 'try' is that config files may have changed from a
package version a.b to x.y, so you may need to tweak your config files
to match the current package.



Now that you have a live box again, able to serve requests, it's time
to keep it maintained.

Scenario 2:
  install portaudit
  run portaudit, fix any vulnerabilities
  ** at this time, your system is safe from most vulnerabilities
  run your favorite port management software to update the rest of the
ports who do not have vulnerability advisories.



I've used this tactic before, works well and WILL be faster than you
updating your system from 6.2 to 6.4 to 7.2 to 8.0


Let me know if you have questions.

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


Re: powerd on 8.0, is it considered safe?

2010-03-08 Thread Tim Judd
snip all

I've been running powerd for a while.  Been running it on an ASUS
B202.  It brought my freq down to 100mhz when I checked on it.
Stopping powerd brought the freq up to 1600, and restarting powerd
brought it back to 100mhz eventually.

You might need to load an ACPI module for your system.  Mine would be
acpi_asus.ko if I choose to run it.


I've never seen powerd to cause panics. I'm sure it's possible, but
I've never seen it.


Mark +1 for the success here on this side.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Debug still in kernel

2010-03-06 Thread Tim Judd
On 3/6/10, Jason Garrett kinged...@gmail.com wrote:
 Hello all,

 I am currently tracking RELENG_8_0. I did a csup last night and noticed that
 debug is still enabled in the GENERIC kernel. I thought debugging was
 supposed to be left out once the 8 branch went RELEASE? Can anyone shed
 light on this subject?

What makes you think debugging is still on?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Debug still in kernel

2010-03-06 Thread Tim Judd
On 3/6/10, Jason Garrett kinged...@gmail.com wrote:
 On Sat, Mar 6, 2010 at 13:51, Tim Judd taj...@gmail.com wrote:

 On 3/6/10, Jason Garrett kinged...@gmail.com wrote:
  Hello all,
 
  I am currently tracking RELENG_8_0. I did a csup last night and noticed
 that
  debug is still enabled in the GENERIC kernel. I thought debugging was
  supposed to be left out once the 8 branch went RELEASE? Can anyone shed
  light on this subject?

 What makes you think debugging is still on?


 From /usr/src/sys/i386/conf/GENERIC

 makeoptions DEBUG=-g# Build kernel with gdb(1) debug
 symbols
 options PREEMPTION  # Enable kernel thread preemption

 why are these still in GENERIC after release?

I can confirm debug symbols is still in the kernel, but that is most
likely used for backtraces and debugging when a kernel panic happens.
This is instead of asking the user who had a kernel panic to rebuild
with debugging to debug it.

PREEMPTION as I understand it should have been removed from the kernel
config file.  It should have been removed from the GENERIC config file
after RELENG_8_0_RELEASE tag is made.  I don't know what your tag is
when you update.  Perhaps you're copying or using a config file from
the BETA or RC days?


I'll help until I can't help no more with your issue.

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


Re: Thousands of ssh probes

2010-03-05 Thread Tim Judd
Replies interspersed

On 3/5/10, John j...@starfire.mn.org wrote:
 On Fri, Mar 05, 2010 at 07:03:53AM -0600, Programmer In Training wrote:
 On 03/05/10 06:54, John wrote:
  My nightly security logs have thousands upon thousands of ssh probes
  in them.  One day, over 6500.  This is enough that I can actually
  feel it in my network performance.  Other than changing ssh to
  a non-standard port - is there a way to deal with these?  Every
  day, they originate from several different IP addresses, so I can't
  just put in a static firewall rule.  Is there a way to get ssh
  to quit responding to a port or a way to generate a dynamic pf
  rule in cases like this?

 Can you not deny all ssh attempts and then allow only from certain,
 trusted IPs?

 Ah, I should have added that I travel a fair amount, and often
 have to get to my systems via hotel WiFi or Aircard, so it's
 impossible to predict my originating IP address in advance.  If
 that were not the case, this would be an excellent suggestion.


I've been in that same boat.  I eventually came to the decision to:
  Install PPTP server software, accepting connections from any IP.
  Once connected with PPTP, edit the sshd rule in pf to allow sshd connections.
  Optionally reconnect for sshd only.



It's worked well.



 --
 Yours In Christ,

 PIT
 Emails are not formal business letters, whatever businesses may want.
 Original content copyright under the OWL http://owl.apotheon.org
 Please do not CC me. If I'm posting to a list it is because I am
 subscribed.
 --

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

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


Re: Thousands of ssh probes

2010-03-05 Thread Tim Judd
On 3/5/10, Randal L. Schwartz mer...@stonehenge.com wrote:
 Tim == Tim Judd taj...@gmail.com writes:

 Tim I've been in that same boat.  I eventually came to the decision to:
 Tim   Install PPTP server software, accepting connections from any IP.

 Whoa.  Here we are, talking about making it *more* secure, and
 you go the other direction


 http://en.wikipedia.org/wiki/Point-to-Point_Tunneling_Protocol#Security_of_the_PPTP_protocol


 In short, you can't take anyone seriously who suggests PPTP when
 talking about security.


Randal,

  It's not meant as the solution for remote access.  It's only a
stopgap so you can ssh into your router and add the remote IP.  Then
disconnect from the VPN you've configured, PPTP or not, and use SSH.

And the fact that I haven't (yet) seen random bots try vpn will keep
my logs clean.  I'm sorry, I respect Randal very much, but..

A) ..wikipedia?  that's informative and useful, but not authoritative
in any way.
B) It's connected for maybe 5 minutes at most.  While connected, your
ssh session is still encrypted while you add the current remote IP.  I
stand by my statements.



The other way (which requires a cron job) is to setup your roaming
laptop with a dyndns address (or similar service) and have your router
re-load it's firewall config periodically for any possible IPv4/IPv6
address changes to be picked up.  I haven't done this to finish yet.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Question about Jails

2010-02-27 Thread Tim Judd
On 2/27/10, Gökşin Akdeniz goksin.akde...@gmail.com wrote:

 I understand this is possible but cant seem to find any how to`s or
 guides out on the net, I would like to set up a jail running FreeBSD 8.0
 i386 on a system that is running FreeBSD 8.0 amd64.

 JAILS requires host and client systems source code in sync. So that makes it
 impossible to run a jail -i386- on -AMD64- host. You can only build a i386
 jail if and only if the host is i386.





Won't the lib32 subsystem allow the i386 jail to work with an amd64
host?  Or have I misunderstood the lib32 subsystem completely?  I have
no amd64 systems to work with, as I have only i386 at home.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: IDE ZIP100 Drive

2010-02-23 Thread Tim Judd
On 2/23/10, Programmer In Training p...@joseph-a-nagy-jr.us wrote:
 On 02/22/10 14:32, Programmer In Training wrote:
 Second attempt to post this to the list. Please bear with me as I'm
 having issues with my posts to the list not always making it through.

 OK, after some searching I've come up (almost) empty handed[0-1].
 Everything else I've found so far for IOMEGA ZIP100 drives deals with
 the external drive (either USB or parallel port). I've not seen anything
 in dmesg or /var/log/messages that would indicate that the device is
 being detected by anything on boot aside from the BIOS. I'm not sure of
 snip

 OK, upon a second reboot (for something unrelated), the device is
 detected (but I think only because I had the disk in the drive at the
 time). Now I'm having mount issues. First, it's entry in dmesg:

 afd0: 95MB IOMEGA ZIP 100 ATAPI 13.A at ata0-slave PIO0

 I'm issuing the following command with the following results:

 mount_msdosfs /dev/afd0 /mnt/zip
 mount_msdosfs: /dev/afd0: Invalid argument


Could be due to that the zip disks have a partition defined.
ls /dev/afd0*

file -s /dev/afd0



 The man page for mount and mount_msdosfs gives no clue on why that's an
 invalid argument. When executed, the drive is accessed, then a moment
 later it errors out as above. I've tried afd1 through afd4, I just get
 no such file or directory errors.

 I'd like to use the zip drive to back up my private keys from GnuPG and
 other important data.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing FreeBSD on a USB stick.

2010-02-15 Thread Tim Judd
On 2/15/10, Christer Solskogen christer.solsko...@gmail.com wrote:
 On Mon, Feb 15, 2010 at 4:55 AM, Fbsd1 fb...@a1poweruser.com wrote:

 http://www.a1poweruser.com/usb.info.htm


 Why does Websence think your site contains Potentially Unwanted Software?



Without even clicking his link, I've had past experience with a
legit website being marked unsafe by various engines out there.


1) Another site sister to them (by means of the same IP subnet
block) is truly unwanted, and it improperly marks a legit site bad.
This includes the SOA's DNS servers (I had this case)
2) The legit site is using an ad agency that is known to do bad stuff
with their banner ads.
3) A site with a vulnerable app (think wordpress or the notorious
php apps that are put out) that hasn't been patched.

And I agree with this 'Fbsd1' user (I wish 'Fbsd1' would update his
MTA with a real name) that since Christer is who uses the product, he
should look into it.

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


Re: Pain finding packages

2010-01-30 Thread Tim Judd
On Sat, Jan 30, 2010 at 11:48 AM, Joe Springer joe...@yahoo.com wrote:

 Hi.

 I am very new to FreeBSD with several years of Linux experience. After
 installed FreeSDB for the first time, I wanted to install some packages. For
 example, samba.

 I found that

   pkg_add -r samba

 fails. I need to know specifically the samba version to install it.

 To install, I needed do this:
   pkg_add -r samba3

 This is difficult. Do I need to look up every package in advance on your
 website to understand what version I need to install?

 Isn't there a way to specify Install the latest version of some package
 that is appropriate to the version of my installed FreeBSD?

 Thanks,
 Joe


Since the ports tree (for which packages are made from) can house multiple
versions of a software package (samba 3.0, 3.2 and 3.3 IIRC), specifying
samba alone sometimes work for the default, and sometimes it's samba32
or similar.  It's up to the port maintainer to name it and what the
resulting package name will be.  Like most distributions, a search online
can yield the version you want.  Go to http://ports.freebsd.org and query
any part of a substring to search for.



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


Re: Raw sockets in jails

2010-01-25 Thread Tim Judd
On 1/25/10, Nathan Butcher n-butc...@fusiongol.com wrote:
 Thanks for the link. That clears a few things up, but not quite what I'm
 trying to achieve.I set the following in rc.conf for a jail called test

 jail_test_flags=allow.raw_sockets

 then I start the test jail with

 # /etc/rc.d/jail start test

 ... and then I get the following cryptic response...

 Configuring jails:.
 Starting jails: cannot start jail test:
 But it doesn't look like one.
 .

 ... and the jail doesn't start.
 What's the story there?


allowing raw sockets to a jail is a sysctl


sysctl -a | grep jail.

the raw sockets tunable should easily be found.  make the change
permanent by editing/adding it to /etc/sysctl.conf


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


Re: pf rules

2010-01-22 Thread Tim Judd
On 1/22/10, kalin m ka...@el.net wrote:

 hi all...

 doing testing with pf...

 how is it possible that if i have these rules below in pf.conf if i do:
 telnet that.host.org 25

 i get:
 Trying xx.xx.xx.xx...
 Connected to that.host.org.
 Escape character is '^]'.
 ... etc ...


 pf.conf contetns:

 tcp_in = { www, https }
 ftp_in = { ftp }
 udp = { domain, ntp }
 ping = echoreq

 set skip on lo
 scrub in

 antispoof for eth0 inet

 block in all
 pass out all keep state
 pass proto udp to any port $udp
 pass inet proto icmp all icmp-type $ping keep state
 pass in inet proto tcp to any port $tcp_in flags S/SAF synproxy state
 pass proto tcp to any port ssh




pfctl -s info
  Look for the fact it says Enabled (near the top of the screen)

and you're blocking inbound all, but since you're passing out all,
telnetting out will work.  You aren't very clear on which side you
have the pf loaded on, the email indicates it's the client-side you
have pf enabled.  Please clarify.




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


Re: GELI file systems unusable after glabel label operations

2010-01-22 Thread Tim Judd
On 1/14/10, Scott Bennett benn...@cs.niu.edu wrote:
  I used glabel label to label each of the file systems I have on
 external
 disk drives.  Unfortunately, afterward I am now unable to geli attach any
 of
 the GELI-encrypted file systems.  The system is FreeBSD 7.2-STABLE.  Is
 there
 a way to get this to work?  Or have I just lost everything in the encrypted
 file systems?

 hellas# geli attach -k work.key /dev/label/work
 geli: Cannot read metadata from /dev/label/work: Invalid argument.
 hellas# ls -lgF /dev/label/
 total 0
 crw-r-  1 root  operator0, 192 Jan 14 00:47 archives
 crw-r-  1 root  operator0, 191 Jan 14 00:47 backupsi
 crw-r-  1 root  operator0, 182 Jan 14 00:47 backupsl
 crw-r-  1 root  operator0, 166 Jan 14 00:47 backupss
 crw-r-  1 root  operator0, 179 Jan 14 00:47 sec
 crw-r-  1 root  operator0, 161 Jan 14 00:47 usrobj
 crw-r-  1 root  operator0, 184 Jan 14 00:47 usrports
 crw-r-  1 root  operator0, 186 Jan 14 00:47 vboxdisk
 crw-r-  1 root  operator0, 181 Jan 14 00:47 work
 hellas#

  Any help in recovering the lost data would be deeply appreciated.  If
 that cannot be done, then at least knowing that would keep me from wasting
 further time on it.  Thanks much.



Are you aware that tunefs -L will label a device?  It is stored as
part of the filesystem, instead as a GEOM metadata.  So you should be
able to get both labeling (/dev/ufs/labelname) and GELI as you are
asking for.



As for recovering your data, I see other helpful posts in this thread,
as I have no additional helpful information to recommend.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Invalid partition table after installation (GOOD NEWS!)

2010-01-22 Thread Tim Judd
SNIP


 OK - my current best theory is that if the Standard boot manager
 is faced with anything other than exactly 1 bootable slice (partition
 to it), it defaults to Invalid partition table.  I'll bet anyone
 lunch that this is true.  Any takers?


I've read before:
  the standard bootloader looks for the first freebsd slice, and runs
it.  If there's no bsdlabel partition 'a' then it will have trouble
booting.

I haven't followed this thread in detail.

I briefly saw you had 3 slices defined, is by chance the first slice a
nonsystem disk?








 I'll test my theory tonight and let you all know how it turns out.
 If this is true, then we should at least post some warnings, if not
 actually fix the installation process so that if you choose Standard,
 it helps ensure that you have one and only one bootable slice/partition!

 Whaddaya think?

 Well, better it happen to me than someone from another community who is
 trying us out for the first time...
 --

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

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


Re: Receive email from Exchange 2003

2010-01-20 Thread Tim Judd
On 1/20/10, Truong Thu Bac v...@foster.com.vn wrote:
 Dear Mr/Ms,



 I want to build a Internal Email System between a PC with FreeBSD OS and
 Exchange 2003 (Email Server)



 Current, I got  a Proxy Server (IP:10.20.1.10) within FreeBSD OS. I
 installed Sendemail Software and Qpopper Software.

 I tried to send and receive emai, this blow is result:



 Send Email:  From 10.20.1.10  to Email Exchange 2003 System
 à YES

 From 10.20.1.10 to 10.20.1.10 à YES

 Receive Email:   From Email Exchange 2003 System to 10.20.1.10
 à NO

  From 10.20.1.10 to 10.20.1.10  à YES

 Could you please kindly give a Solution for this ?

 If you have any question, please contact with me.



 Thank you very much .



 Regards,

 VBAC




It's probably due to how Exchange or the Internet at large has MX
records in DNS setup.  Check that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Fwd: DSN (was: Re: Receive email from Exchange 2003)

2010-01-20 Thread Tim Judd
Truong Thu Bac,


The DNS/MX to foster.com.vn is possibly misconfigured too, it's
blocking mail from gmail.

-- Forwarded message --
From: Mail Delivery Subsystem mailer-dae...@googlemail.com
Date: Thu, 21 Jan 2010 05:22:38 +
Subject: Delivery Status Notification (Failure)
To: taj...@gmail.com

Delivery to the following recipient failed permanently:

 v...@foster.com.vn

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the
recipient domain. We recommend contacting the other email provider for
further information about the cause of this error. The error that the
other server returned was: 550 550 Blocked (state 14).

- Original message -

MIME-Version: 1.0
Received: by 10.115.134.18 with SMTP id l18mr680973wan.128.1264051354525; Wed,
20 Jan 2010 21:22:34 -0800 (PST)
In-Reply-To: 00bf01ca9a45$51a26aa0$f4e73f...@com.vn
References: 00bf01ca9a45$51a26aa0$f4e73f...@com.vn
Date: Wed, 20 Jan 2010 22:22:34 -0700
Message-ID: ade45ae91001202122w6c93cd1fx1acb40b62da32...@mail.gmail.com
Subject: Re: Receive email from Exchange 2003
From: Tim Judd taj...@gmail.com
To: Truong Thu Bac v...@foster.com.vn
Cc: freebsd-questions@freebsd.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 1/20/10, Truong Thu Bac v...@foster.com.vn wrote:
 Dear Mr/Ms,



 I want to build a Internal Email System between a PC with FreeBSD OS and
 Exchange 2003 (Email Server)



 Current, I got  a Proxy Server (IP:10.20.1.10) within FreeBSD OS. I
 installed Sendemail Software and Qpopper Software.

 I tried to send and receive emai, this blow is result:



 Send Email:  From 10.20.1.10  to Email Exchange 2003 System
 à YES

 From 10.20.1.10 to 10.20.1.10 à YES

 Receive Email:   From Email Exchange 2003 System to 10.20.1.10
 à NO

  From 10.20.1.10 to 10.20.1.10  à YES

 Could you please kindly give a Solution for this ?

 If you have any question, please contact with me.



 Thank you very much .



 Regards,

 VBAC




It's probably due to how Exchange or the Internet at large has MX
records in DNS setup.  Check that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Trying to build 8.0 Headless Installation Disk

2010-01-15 Thread Tim Judd
Replies inline

On 1/13/10, Martin McCormick mar...@dc.cis.okstate.edu wrote:
 Tim Judd writes:
 ^^^  mkisofs needs to have the boot record
 -b boot/cdboot -no-emul-boot


 And as another option, you might look at mfsBSD, it runs off mfs (RAM)
 disks with sshd being enabled by default.  Once it boots (kernel
 starts probing), the cd can be ejected.

 This could be a game changer if I could somehow get the
 FreeBSD8.0 installation CD to run remotely via this method.

The install mediums are a basic freebsd kernel with a MFS-root that
provides a cut-down userland including the binary sysinstall.  The
kernel tries a few binaries to run as the initial binary, init.


The last item it will try to launch on startup is sysinstall.


   The problem is that some of the systems that I am
 upgrading are 150 miles away. We have people there who are not
 comfortable with Unix but who are certainly able to install and
 remove CDROM's on request. If I could get the sysinstall
 application to talk to me over the network, I don't care if it
 is a serial line or not.

You can run sysinstall over any connection, I've had it running on the
local console (of course), serial console, and ssh session.


   If we could get this down to 1 or two CD's, a major
 millstone will be removed from my neck.

   As a computer user who happens to be blind, the serial
 console is extremely useful and I usually make whatever version
 of FreeBSD  we are using in to a serial console disk so it comes
 up serial, even if it is right next to me. It just makes things
 go more smoothly if one doesn't have to hunt up a keyboard and
 hope this or that box still has a sounder so you can hear any
 beeps.

I'm surprised on how far braille has gotten onto computer systems.

   I have even put a portable radio on top of a server and
 listened for activity because that was the only way to tell if
 it was booting or in Lala Land. Just for the record, a steady
 sound usually means Lala Land and a sound like whales competing
 FOR territory and female attention means something is happening.

   Anyway, not needing to modify the installation disk,
 itself would be nice.

   In closing, I love FreeBSD and nothing said here is a
 gripe or complaint. FreeBSD is Unix and therefore accessible.
 Utilities like installation disks and rescue applications are
 always a little tricky because they deal with the system at a
 very low level.

 Martin McCormick WB5AGZ  Stillwater, OK
 Systems Engineer
 OSU Information Technology Department Telecommunications Services Group
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Re: Trying to build 8.0 Headless Installation Disk

2010-01-13 Thread Tim Judd
Replies inserted below

On 1/13/10, Martin McCormick mar...@dc.cis.okstate.edu wrote:
   I started to use the same strategy that worked in 6.x
 but it is not working right now.

   I obtained8.0-RELEASE-i386-disc1.iso and did:
 mkdir 8.0serial
 tar xf 8.0-RELEASE-i386-disc1.iso

   This produced a read-write file system that appears sane
 in that it seems to be large enough, but not larger than a
 standard CDROM.

   The boot directory has loader.conf in it but there is no
 reference to any console.

   I added the following:

 mfsroot_load=YES
 mfsroot_type=mfs_root
 mfsroot_name=/boot/mfsroot
 #add by martin
 console=comconsole,vidconsole

   The CDROM burner is on a Linux system so I used tar to
 copy the 8.0serial file system over to the Linux system and then:

 mkisofs -l -R -q . |cdrecord -dev=/dev/hdc -


^^^  mkisofs needs to have the boot record
-b boot/cdboot -no-emul-boot


And as another option, you might look at mfsBSD, it runs off mfs (RAM)
disks with sshd being enabled by default.  Once it boots (kernel
starts probing), the cd can be ejected.


   This produces a CD that looks fine in that you can mount
 it, see all the files, etc.

   The CD does not boot and the system continues to boot as
 if there was no CD in the drive.

   I did burn an unmodified image to a CDROM and the system
 did hang, waiting for keyboard input so that ISO image does work
 but I need the serial console to come up on boot as we will be
 running it remotely. This has worked in the past when necessary,
 but it appears something changed between FreeBSD6.3 and 8.0 and
 I must be doing something wrong now.

   Has anybody gotten an 8.0 CD to come up on the serial
 console?

   One thing that has changed between 6.3 and 8.0 is that
 the tar application does not get confused. In 6.3, there were a
 couple of files that caused an out of order error but the 8.0
 CD produced no errors at all.

   Thank you for your help.

 Martin McCormick WB5AGZ  Stillwater, OK
 Systems Engineer
 OSU Information Technology Department Telecommunications Services Group



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


Re: denying spam hosts ssh access - good idea?

2010-01-11 Thread Tim Judd
On 1/11/10, David Southwell da...@vizion2000.net wrote:
 I'm thinking of denying ssh access to host from which
 I get brute force ssh attacks.

 HOwever, I see in /etc/hosts.allow:

 # Wrapping sshd(8) is not normally a good idea, but if you
 # need to do it, here's how
 #sshd : .evil.cracker.example.com : deny

 Why is it not a good idea?

 Also, apparently in older ssh there was DenyHosts option,
 but no longer in the current version.
 Is there a replacement for DenyHOsts?
 Or is there a good reason for such option not to be used?

 many thanks
 anton

 I use denyhosts ( /usr/ports/security/denyhosts ) works well for me. I also
 use blackhole and sshguard

 david


I've been meaning to check this out.  My firewall ssh rules are very
strict, in fact, if the remote IP is unknown meaning, I don't know
where the heck it's coming from, it's blocked.  It's easier to say it
this way:  I allow ssh connections from IPs I know, preferably static
IPs.

Given that there are more than one general blacklists out there that
list unwanted behavior, and that we have ports that make use of these
lists, I wonder if we can use a list (in this case, for spam)
effective for blocking ssh connections.  This means:
  install spamd
  setup pf (requirement for spamd, it is built by OpenBSD after all)
  in the pf rules, block *ANYTHING* coming from the blacklisted IPs


I don't know how effective it is, but since the spamd blacklist IPs
are hosted on what seems to be only one server/server farm, I am also
looking for any way I can provide a mirror (even if it's slightly
outdated) of this data.


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


Jails - Ethernet data vs IP data

2010-01-09 Thread Tim Judd
Hi all,


I bought a new SiliconDust HDHomeRun device which brings two Digital
coaxial tuners to an ethernet network.  From what I read and
understand about the HDHomeRun (HDHR), is that it does have an IP
address assigned to the system, but all packets of video are actually
just raw Ethernet packets/data that has it's own payload and protocol.

The port MythTV (to which I'm starting to love) maintainer has marked
the two pieces of MythTV as conflicting ports (I'll address to the
maintainer directly), so I build the frontend (the user interface if
you will) on the host, because it needs lots of X11/xorg.  The backend
runs as a daemon talking with MySQL to manage everything.  Since they
conflict, the backend goes onto a jail.

I have to port-compile the backend every time, the packages have
missing dependencies.  It takes quite a while.  I know the HDHR is
online, I can watch the video without MythTV interaction, but the
jailed backend isn't seeing it.  So I was hoping to see if I can query
the group and see if raw ethernet data can be delivered to a jail,
or if I'm just fishing in the empty fish bowl trying to get this to
work in a jail.


Thanks for ANY input in regards to limits the jail system might
have.  This is on a golden 8.0-RELEASE i386, haven't updated it yet.



Thanks loads!

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


Re: Jails setup with binary packages only

2009-12-27 Thread Tim Judd
On 12/27/09, Guy Marcenac g...@posteurs.com wrote:
 I would like to use a freebsd system with binary packages only. I want
 to heavily use the jail concept. All the documentation about jails
 implies the use of buildworld into the jails.

 In order to avoid any compilation time, I installed a minimal base
 system for the host and I nullfs mounted read-only every system
 directory (bin, sbin, etc) into my jails. Then, in order to be able to
 install additional software inside the jails, I unionfs mounted
 read-write empty directories ontop of the nullfs read-only system
 directories.

 So I only have to freebsd-update the host and then freebsd-update each
 jail in order to keep updated.

 What about this kind of setup ? do I miss something ?


A binary jail install with packages is fine.  I don't know why it was
documented to do it from source other than the possibilities that it
jails were a technology only achievable by updating your source files
and installing (when jails were new).  Now that it's gone through a
release cycle, I've done several binary jails, with binary packages.
To get a system up quickly, I often do a binary jail install with
binary packages, and then run ports and a build to keep it maintained.
 Of course if I need an option not default in a port, it gets done by
ports.

Binary jail install,
freebsd-update,
pkg_add portaudit,
rehash  portaudit -Fa

Now it's a basic setup, things like timezone (in the jail) and other
odds-and-ends.


enjoy,

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


Re: question about building a custom kernel

2009-12-19 Thread Tim Judd
On 12/19/09, Jamie Griffin j...@koderize.com wrote:
 Hi

 I have been reading the handbook to learn about building a custom
 kernel, but just wanted to ask something about gathering information
 about my hardware before I give it a go.

 The handbook suggests the command:

 # pciconf -lv

 ...which I like because it provides a clear list of components I can find
 out about before I try to build the new kernel.

 On my system, this command does print out information for quite a few
 components, I just wondered if this information is all I need to work
 from or is it not an accurate or detailed enough representation of the
 hardware I have in my computer. I'd really appreciate any advice on how
 others go about this.

 Jamie


Jamie,

pciconf will list pci devices only (and their derivatives, like PCI-X
and PCI-e).  ISA devices (if any) are done differently, and also usb
devices (usbdevs).  Building a custom kernel most of the time involves
the following decisions:
  embedding a firewall, so you cannot disable a firewall by unloading a module.
  Extending options, filesystem quotas for example.  The modular
kernel can add devices by modules, but can't really add options.
  Embedded solutions, like a single-purpose unit that is an all-in-one
solution.  The soekris and PC Engines firewall products come to mind.

99% of my time, I leave GENERIC (makes updating it easier with
freebsd-update) alone and load the kernel modules I need.

the amount of ram used with a GENERIC kernel and a stripped kernel
to your hardware may save 2MB of disk, and 1MB of RAM.  Not very worth
it for the computers today where you have TB's of disk, and GB's of
ram.


Can I ask for more details from you why you're interested in building
a custom kernel?

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


Re: fixit and gmirror

2009-12-08 Thread Tim Judd
On 12/8/09, Joey Mingrone j...@mingrone.org wrote:
 Hello:

 I was upgrading a system from 7.2 to 8.0 and all was going well until
 the make installkernel step.  The / partition filled up when the new
 kernel was installing.  Since /boot was taking up most of the space I
 moved /boot to /usr/ and create a symlink in / then I did make
 installkernel again and everything completed.  Unfortunately I didn't
 move the necessary bits from /usr/boot back to / before rebooting and
 now the system won't boot.  I'm trying to use the fixit option with
 the livefs cd to repair the system, but I'm having problems with
 gmirror.  The disks are in software raid0.  Can anyone point me in the
 right direction to get /usr and / mounted from the mirror using fixit?


Because the livefs uses a MFSROOT system (allows you to make changes
to the ram-based disk image after boot), you have to load kernel
modules before the mfsroot is mounted.  As an example..

boot cd
escape to loader prompt
load /boot/kernel/geom_mirror.ko
load /boot/kernel/smbfs.ko (if needed, i had to load two modules the
time i had to use it)
boot


And I would like to note..  raid0 is striping, gstripe.  raid1 is
mirroring.  I find it hard to recognize raid0 as your boot device.


Let me know if you need further help.


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


Re: 8.0 MYSQL50 denying access to user root no password

2009-11-30 Thread Tim Judd
On 11/29/09, Fbsd1 fb...@a1poweruser.com wrote:
 For many releases of Freebsd going back to 4.3 I have all ways used the
 default mysql user root localhost with no password which has been the
 default.
 With 8.0/mysql-server-5.0.86 I am denied access now.
 The mysql manual still says the normal install defaults to allowing
 access to user root with no password are in effect.

 After a fresh clean install of mysql
 Tried  mysqladmin -u root drop test   to delete the test db.
 Received this msg
 connect to srver at localhost failed
 access denied for user 'r...@localost (using password: no)
 This in not suppose to happen.


Two issues, mysqladmin tries to connect to the mysql server -- i see
in your message above it can't connect
if it can't connect, how can it authorize?


second, the undocumented mysql_install_db must be run to install the
default database.  But if you run this as root, you should change
ownership of everything in /var/db/mysql to allow the mysql server
access to the files.


Those are two problems I'm seeing with your post.  Correct me if I'm
wrong, but try these first.




 Is anyone else having this problem?
 Has the package for mysql50-server been changed to force securing user
 root with a password?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Re: device hint - disable firewire or sbp driver

2009-11-21 Thread Tim Judd
On 11/21/09, Chris Whitehouse cwhi...@onetel.com wrote:
 Tim Judd wrote:
 Any way via tunables, environment, sysctl or device hints that one can
 disable firewire on the install medium of recent (7.2 and newer)
 Install CD/DVDs?

 more than one person is having problems with kernel panics on startup
 due to firewire, and I can't google my way out of this one.



 Any advice from the pros?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

 Tim,

 I've got one of the affected motherboards if this is the problem you mean:

 http://www.freebsd.org/cgi/query-pr.cgi?pr=136327

 The things that have worked for me are disabling firewire in the BIOS
 and using a GENERIC kernel or building a kernel with device sbp disabled
 and having firewire enabled in the BIOS.

See though, the guys coming to FreeBSD from $another-OS gets a panic
from the install medium, which isn't speaking very well of our
quality.

I got caught with this because the guy I was helping online had an
amd64-capable system, to which I don't.  I can't build a install CD or
kernel to help him.  I have a PCI firewire card that runs sbp, but the
livecd doesn't panic when i was booting from it.


I tried all sorts of disabling hints, tried to go upstream (see it's
dependencies and disable it's dependencies) and it still gave me a sbp
when the system finished booting.


Thought about asking him to run the memstick and disabling it from
there, but he still can't get past it booting to tweak anything.  He
didn't have an option to disable firewire in the BIOS, and there was
no bios update from Sony for his Vaio.


I got stuck, and it started to wear thin that we have such a major
panic on install CDs.  My mentality is to offer disk, cd and network
support in the kernel on the install CD/DVDs, but the generic kernel
that's installed has everything.


If others would like to offer suggestions, I'm still open for them.



 hint.sbp.0.disabled=1 in /boot/device.hints with GENERIC kernel -
 still get a panic

 sbp_load=YES in /boot/loader.conf with sbp disabled in the kernel -
 get panic.

 It seems ok to kldload sbp after the system is up, ie the machine
 doesn't panic, but I don't have anything firewire to test with.

 Would it be an option to have sbp disabled by default in the install
 CD's? Those without the problem can put sbp_load in loader.conf, those
 with the problem will have to kldload it later but at least they will be
 able to install.

 FreeBSD eco.config 8.0-RC2 FreeBSD 8.0-RC2 #1: Thu Oct 29 14:04:02 GMT
 2009 r...@eco.config:/usr/obj/usr/src/sys/GENERIC_NO_SBP  i386


 Chris

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


Re: device hint - disable firewire or sbp driver

2009-11-21 Thread Tim Judd
On 11/21/09, David Horn dhorn2...@gmail.com wrote:
 On Sat, Nov 21, 2009 at 2:15 PM, Tim Judd taj...@gmail.com wrote:
 On 11/21/09, Chris Whitehouse cwhi...@onetel.com wrote:
 Tim Judd wrote:
 Any way via tunables, environment, sysctl or device hints that one can
 disable firewire on the install medium of recent (7.2 and newer)
 Install CD/DVDs?

 more than one person is having problems with kernel panics on startup
 due to firewire, and I can't google my way out of this one.



 Any advice from the pros?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

 Tim,

 I've got one of the affected motherboards if this is the problem you
 mean:

 http://www.freebsd.org/cgi/query-pr.cgi?pr=136327

 The things that have worked for me are disabling firewire in the BIOS
 and using a GENERIC kernel or building a kernel with device sbp disabled
 and having firewire enabled in the BIOS.

 See though, the guys coming to FreeBSD from $another-OS gets a panic
 from the install medium, which isn't speaking very well of our
 quality.

 I got caught with this because the guy I was helping online had an
 amd64-capable system, to which I don't.  I can't build a install CD or
 kernel to help him.  I have a PCI firewire card that runs sbp, but the
 livecd doesn't panic when i was booting from it.


 I tried all sorts of disabling hints, tried to go upstream (see it's
 dependencies and disable it's dependencies) and it still gave me a sbp
 when the system finished booting.


 Thought about asking him to run the memstick and disabling it from
 there, but he still can't get past it booting to tweak anything.  He
 didn't have an option to disable firewire in the BIOS, and there was
 no bios update from Sony for his Vaio.


 I got stuck, and it started to wear thin that we have such a major
 panic on install CDs.  My mentality is to offer disk, cd and network
 support in the kernel on the install CD/DVDs, but the generic kernel
 that's installed has everything.


 If others would like to offer suggestions, I'm still open for them.



 hint.sbp.0.disabled=1 in /boot/device.hints with GENERIC kernel -
 still get a panic

 sbp_load=YES in /boot/loader.conf with sbp disabled in the kernel -
 get panic.

 It seems ok to kldload sbp after the system is up, ie the machine
 doesn't panic, but I don't have anything firewire to test with.

 Would it be an option to have sbp disabled by default in the install
 CD's? Those without the problem can put sbp_load in loader.conf, those
 with the problem will have to kldload it later but at least they will be
 able to install.

 As per svn and cvs:

 r199112 | kensmith | 2009-11-09 16:39:42 -0500 (Mon, 09 Nov 2009) | 11 lines
 Changed paths:
M /stable/8/sys/amd64/conf/GENERIC
M /stable/8/sys/i386/conf/GENERIC
M /stable/8/sys/ia64/conf/GENERIC
M /stable/8/sys/powerpc/conf/GENERIC
M /stable/8/sys/sparc64/conf/GENERIC

 Comment out the sbp(4) entry for GENERIC config files that contain it.
 There are known issues with this driver that are beyond what can be
 fixed for 8.0-RELEASE and the bugs can cause boot failure on some systems.
 It's not clear if it impacts all systems and there is interest in getting
 the problem fixed so for now just comment it out instead of remove it.

 Commit straight to stable/8, this is an 8.0-RELEASE issue.  Head was left
 alone so work on it can continue there.

 Reviewed by:Primary misc. architecture maintainers (marcel, marius)

 Looks like sbp(4) is disabled on the 8.0 branch already.

And if I'm reading the SVN commit right, it went to -STABLE (aka
RELENG_8) but not head (aka .).  It still won't fix all of FreeBSD 7
install mediums, right?  or is that to come, maybe in 7.3?


Also, if I'm reading the commit right, 8.0-RELEASE is going to have
sbp(4) enabled in GENERIC too.  Can someone make sure I'm reading that
right?





 --Dave

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


Re: BTX Loader crashes -- Help wanted

2009-11-20 Thread Tim Judd
On 11/20/09, Ronald F. Guilmette r...@tristatelogic.com wrote:

 Who should I be talking to if the BTX loader is crashing on my
 specific hardware configuration, and what specific info do I
 need to be gathering for him/her in order to have hope of getting
 the problem rectified?

snip


Since the BTX is the BooT eXtender, what brings I think a 16-bit
real-mode BIOS/POST to a 32-bit (or 64-bit?) protected operating
system, I would start looking at BIOS options.

Some BIOSes have a windows mentality and don't let you tweak much.
Retail boards you buy off the shelf are typically pretty good to let
you tweak lots of options.

I'd also check for a BIOS update.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Re: Re: [solved] Re: Re: Re: diskless - NFS root mount problem

2009-11-19 Thread Tim Judd
On 11/18/09, Mario Pavlov free...@abv.bg wrote:
  oh yes, I got what you meant now
 true, I used /usr from the server because I wanted to have all my ports
 available to the client. Is there a nice way to install ports only in the
 diskless distribution ?

 thank you.

 Regards
 Mario

Just like any other port you install.  you can either chroot into your
diskless root filesystem (as I have it laid out, not you), and run the
port tools.  you can also run the package management tools.  All
programs are are files on the disk, there's no local registry as in
windows to worry about.

You can even compile on the diskless client.  It just reads and writes
files to the nfs server to compile ports.


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


Re: diskless problem: Lookup of /dev for devfs, error: 13

2009-11-19 Thread Tim Judd
On 11/19/09, Adam Vande More amvandem...@gmail.com wrote:
 On Thu, Nov 19, 2009 at 3:18 PM, Michael W. Lucas 
 mwlu...@blackhelicopters.org wrote:


 Hi,

 I'm attempting to run a diskless 8.0 i386 workstation on VMWare, using
 an OpenSolaris box as a file store.  I get PXE, the kernel loads, but
 when we try to remount the filesystem I get:

 ...
 NFS ROOT:  XXX.XXX.XXX.XXX:/storage1/vm/netflow
 Lookup of /dev for devfs, error 13
 exec /sbin/init: error 13
 exec /sbin/oinit: error 13
 exec /sbin/init.bak: error 13
 exec /rescue/inet: error 13
 exec /stand/sysinstall: error 13
 init: not found in path
 ...


Firewall embedded into the kernel?  disable and or remove and try again.



 At first glance, it would appear that /dev is missing.  I've never
 seen this happen before diskless systems, though, and I can't find any
 other references to this.  I know that other people have PXE-booted
 FreeBSD on VMWare, however.

 Anyone have any suggestions on what to check?

 Thanks,


 I think you were following the same aged howto I was.  Whatever config file
 /stand/sysinstall and friends is located in needs to be edited and have
 those references removed.  That's about as far as I got when playing around
 a few ago.

I think the rc/init tries to run all of those as hard-coded values.  I
recall trying to build a floppy diskette with a minimal kernel and
minimal single-user world, and i repeatedely got the above while
trying to build the floppy.  This would have either been the 4.x or
6.x days.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Re: [solved] Re: Re: Re: diskless - NFS root mount problem

2009-11-18 Thread Tim Judd
On 11/16/09, Mario Pavlov free...@abv.bg wrote:
  indeed you get bonus points if you firewall yourself :)
 and of course this is not the first time I do that so my score is pretty
 good
 however my favourite is to forget about net.inet.ip.forwarding when I
 upgrade routers with many clients :)

 Tim, thanks for your hints...but I don't understand this one:
  2nd, you buildworld and installworld into the diskless root, but never
  use it.  You're using disk space you can reclaim.
 how so I never use it and can reclaim diskspace ?


The Monday's email you sent at 11:22 (by datestamp on gmail), you wrote:

mkdir /storage0/diskless
cd /usr/src
export DESTDIR=/storage0/diskless
make buildworld buildkernel installworld distribution installkernel



---
You clearly 'make buildworld installworld' but your later exports have
/storage0/diskless and /usr being exported.  shouldn't it be either
/storage0/diskless (as a root filesystem and everything underneath it)
or if you want to unecessarily break it up, exporting
/storage0/diskless/usr ?


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


device hint - disable firewire or sbp driver

2009-11-18 Thread Tim Judd
Any way via tunables, environment, sysctl or device hints that one can
disable firewire on the install medium of recent (7.2 and newer)
Install CD/DVDs?

more than one person is having problems with kernel panics on startup
due to firewire, and I can't google my way out of this one.



Any advice from the pros?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [solved] Re: Re: Re: diskless - NFS root mount problem

2009-11-16 Thread Tim Judd
On 11/16/09, Mario Pavlov free...@abv.bg wrote:
  Hi,
 it turned out I was stupid enough to misconfigure the kernel...I forgot that
 I had left the IPFIREWALL options turned on and as you know it's default to
 deny so once the kernel initializes ipfw it blocks everything including NFS
 so that was the whole problem...I removed the IPFIREWALL option and all went
 fine.


Ah, one of those moments.  I have them too.  Good to know it's working
for you, and I would just because I'm the perfectionist personality
type, change a couple of things that won't make a negative impact.

The server's exports has no reason to export the diskless root with
-alldirs.  The system isn't asking for any mountpoint within / so you
can leave off the -alldirs.

2nd, you buildworld and installworld into the diskless root, but never
use it.  You're using disk space you can reclaim.

 thanks again
 mgp

snip

Glad it's working, enjoy!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: diskless - NFS root mount problem

2009-11-15 Thread Tim Judd
snip all

Please compare my working configuration to yours to check.  I found
lots of odd problems in your post and I thought it'd be best to just
run with this clean slate.

Network config:
  One low-power PC Engines ALIX board running as the NFS server, with
a microdrive partitioned off for it's own system, plus a separate
mounted partition for diskless clients.  This config works best with
one diskless client, and is not the documented way from FreeBSD
handbook to accomplish diskless workstations.  I'll note what I
immediately saw as an error in your config during these snippets.

alix# bsdlabel /dev/ad0s1
# /dev/ad0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  1048576   164.2BSD 2048 16384 8
  c: 120001770unused0 0 # raw part, don't edit
  h: 10951585  10485924.2BSD 2048 16384 28552

alix# cat /etc/fstab
/dev/ad0s1a /   ufs rw  0 0
/dev/ad0s1h /diskless   ufs rw  0 0

alix# cat /etc/exports
/diskless   -maproot=0:0-network 192.168.0.0 -mask 255.255.255.0

*** maproot needs a user and group definition.

alix# cat /etc/rc.conf
rpcbind_enable=YES
nfs_server_enable=YES
rpc_statd_enable=YES
rpc_lockd_enable=YES

*** rpc_lockd provides file locking, rpc_lockd depends on rpc_statd


** Diskless side

*** I believe the root filesystem information is passed on from dhcp,
to pxeboot, to the kernel, in order to mount the root filesystem.  You
can have a 0-size fstab file for read-write access, or provide the
read-only nfs root here.  If you want it read only, it's best to
specify it here, such as below

alix# cat /diskless/etc/fstab
192.168.0.1:/diskless / nfs ro 0 0

alix# cat /diskless/etc/rc.conf
rpcbind_enable=YES
nfs_client_enable=YES
rpc_statd_enable=YES
rpc_lockd_enable=YES

*** File locking needed lockd/statd support on the client, also.
Think of editing /etc/passwd (the proper way) when you need file
locking.




This will result in a basic, 1-workstation diskless setup working.
The difference is that the FreeBSD rc startup looks for a /conf
directory which can provide multiple overrides to multiple
workstations.  I tried setting up a livecd with a /conf directory only
to find that the /conf is checked, no matter which medium it's booting
off of.

This config does NOT cover the DHCP scope, TFTP, IPs or other settings
that might be pertinent to booting diskless-ly.

Note that by sharing your exact / filesystem as an export is a bad
idea.  It will essentially create a NFS server on a NFS server round
robin and probably won't connect.  It's why you setup a separate
partition (EVEN if it's a file-backed filesystem mounted with the help
of mdconfig on a separate mountpoint on your filesystem).

Once you revise your config, please try again.


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


Re: 7.2-STABLE X mouse keyboard issues

2009-11-11 Thread Tim Judd
On 11/11/09, stan st...@panix.com wrote:
 I just built a brand new 7.2 STABLE machine, and the xorg package. startx
 brings up a nice screen, but neither the mouse, nor the keyboard (both USB)
 function in X.

 I have not created a /etx/X11/ config file yet. Do I need to do so? If so,
 what;s the best way?

did you enable hald, and dbus?  did you start them?

did you remove hal support from xorg?


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


Re: Cut/Paste with USB mouse inoperative

2009-11-10 Thread Tim Judd
On 11/10/09, Carmel carmel...@hotmail.com wrote:
 I just switched from a regular mouse to a USB mouse wireless mouse.
 The mouse works fine except that the cut/paste middle button feature is
 inoperative. The scroll feature works correctly though. I removed all
 references to 'mouse' in the /etc/rc.conf file and rebooted; however,
 nothing changed.

 I then tried to change mouse port from the default:

 moused_port=/dev/psm0 to moused_port=/dev/usm0

You probably meant to put /dev/ums0



 That did no help either. Is there anyway to get this to work?

 --
 Carmel
 carmel...@hotmail.com

 |===
 |===
 |===
 |===
 |

 Living in California is like living in a bowl of granola.
 What ain't flakes and nuts is fruits.

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

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


Re: 7.2-p4 serial console not showing kernel messages?

2009-11-09 Thread Tim Judd
On 11/9/09, Sven Hazejager s...@hazejager.nl wrote:
 On Mon, Nov 9, 2009 at 17:52, Lowell Gilbert
 freebsd-questions-lo...@be-well.ilk.org wrote:
 Checking the obvious: syslog.conf is configured to send the messages to
 the console?

 Haven't touched syslog.conf but this all happens before syslog is even
 starting. The problem is that the console is VGA, even though I have
 console=comconsole AND boot.config containing -h AND sio.0.flags
 0x30.

 Has anyone actually gotten a serial console to work with FreeBSD
 7.2-release? I'm having the same problems with 7-STABLE.



FWIW, I do lots of serial consoles.  Biggest issue I have is the
boot.config options.

Personally, the switches to detect (-P) and switch (-h) don't
always seem to work (for me).

If I have to see anything at the console, not only do I setup
/boot/loader.conf but I will always use -D in /boot.config -- Dual
setup.  It pushes to both COM1 and VGA.

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


Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE

2009-11-09 Thread Tim Judd
On 11/9/09, Ronald F. Guilmette r...@tristatelogic.com wrote:

 I've just been installing 7.2-RELEASE/amd64 on a fresh/wiped system
 that I plan to use as my future main workstation.

 Anyway, I've already noticed a couple of things that seem to be different
 from prior release that I need to ask about, i.e.:

 1)  It appears that CNTL-ALT-DEL now causes a shutdown/reboot.  (I don't
 know what release this new feature started in... I only just noticed it
 now.)  Anyway, I'd like to know how I can disable this particular bit of
 functionality. How do I do that?

# sysctl -d hw.syscons.kbd_reboot
hw.syscons.kbd_reboot: enable keyboard reboot



 2)  Prior versions of X (Xorg?) allowed CNTL-ALT-BACKSPACE to cause an
 immediate shutdown of the X server, but now, that doesn't see to work
 anymore.  How can I (re-)enable this functionality?


Thanks to the new versions of xorg, they removed that functionality.
A config file with DontZap equal to off re-enables it.

Google for DontZap to find where to put it in the config.


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


Re: Hi! a question about log in dmesg

2009-11-07 Thread Tim Judd
On 11/7/09, Jesús Abidan jabi...@gmail.com wrote:
 Hi, there, i am a pretty good user in linux and i don't know i am getting
 some strange info in my dmesg file:

 at_matroute: v=(16)10ff007f00
 at_matroute: head=0xc42c1700
 at_matroute: returnr rn=0xc45b126c
 at_matroute: v=(16)10ff007f00
 at_matroute: head=0xc42c1700
 at_matroute: returnr rn=0xc45b126c
 at_matroute: v=(16)10ff007f00
 at_matroute: head=0xc42c1700
 at_matroute: returnr rn=0xc45b126c
 at_matroute: v=(16)10ff007f00
 at_matroute: head=0xc42c1700
 at_matroute: returnr rn=0xc45b126c
 at_addroute: v=(16)10fffe
 at_addroute: n=(16)10
 at_addroute: head=0xc42c1700 treenodes=0xc45b12e8
 at_addroute: returns rn=0xc45b12e8
 at_addroute: v=(16)10ff007f00
 at_addroute: n=null
 at_addroute: head=0xc42c1700 treenodes=0xc45b126c
 at_addroute: returns rn=0xc45b126c
 at_delroute: v=(16)10ff00
 at_delroute: n=(16)10ff80
 at_delroute: head=0xc42c1700
 at_delroute: returns rn=0xc45b2e88
 at_delroute: v=(16)10ff80
 at_delroute: n=(16)10ffc0
 at_delroute: head=0xc42c1700
 at_delroute: returns rn=0xc45b2e0c


What is your /boot/loader.conf

Do you boot with any options? (such as verbose boot, as an example)




 and

 calcru: runtime went backwards from 229 usec to 114 usec for pid 690 (devd)
 calcru: runtime went backwards from 551 usec to 468 usec for pid 376
 (dhclient)
 calcru: runtime went backwards from 1999 usec to 999 usec for pid 360
 (dhclient)
 calcru: runtime went backwards from 39486 usec to 19742 usec for pid 360
 (dhclient)
 calcru: runtime went backwards from 668 usec to 334 usec for pid 146
 (adjkerntz)
 calcru: runtime went backwards from 57078 usec to 47420 usec for pid 51 (sh)
 calcru: runtime went backwards from 1964549 usec to 1411651 usec for pid 51
 (sh)

Symtoms like this would indicate you're running this in a virtual
machine.  The virtual machine's hardware clock and BSD is unable to
detect, or USE that clock.  So the kern.hz set at 1000 by default is
screwing up the virtual machine's hardware clock.




 i know there is an issue about acpi and intel chipset or something like that
 but i have no results about changing things in bios. I have desactivate udma
 and no results. the firs message about at_matroute and delroute issues i
 have no idea.

 Anyone has a clue???

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


Re: issues with email migration

2009-11-02 Thread Tim Judd
On 11/2/09, David Patton da...@farmington.k12.mo.us wrote:
 This morning, I tried adding this to rc.conf and moved my link for /www from
 local to the nfs .

 rpc_lockd_enable=YES
 rpc_statd_enable=YES

Adding them alone just tells the system at startup to start these.



 and I experienced the same issues I had before. It would seem that postfix
 and other assorted mail programs have no issue with accessing /mail on an
 nfs share but everything residing in /www don't seem to like it at all.


Did you start statd and lockd by hand before trying the /www again?



 I have no choice but to leave this as it is and set up a similar arrangement
 on my new server.

 Thank you to everyone who responded.

 -Original Message-
 From: Tim Judd [mailto:taj...@gmail.com]
 Sent: Saturday, October 31, 2009 10:51 AM
 To: da...@farmington.k12.mo.us
 Cc: freebsd-questions@freebsd.org
 Subject: Re: issues with email migration

 On 10/31/09, da...@farmington.k12.mo.us da...@farmington.k12.mo.us wrote:
 only one issue with that. The server in question is an emc clereon(sorry
 not at work to look at the specifics) and at this point the only access I
 have to it is a web interface and am unable to access a command line.

 Also a stupid question my plan is to set up another server to access the
 nfs share to provide better email service.

 would this impact it in any way?


 snip replies

 Not if file locking and the daemons take care of everything like they
 should.  Remember, file locking is mandatory for some things,
 especially mbox files, password files, or anything else that requires
 exclusive access to a file.

 If two systems try to access the same locked file, the 2nd will be
 told it won't be able to get an exclusive lock, because the 1st
 already has it locked.

 You're on the right track.  Keep it going.






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


Re: dhcpd related issue - not giving up

2009-11-02 Thread Tim Judd
On 11/2/09, Dánielisz László laszlo_daniel...@yahoo.com wrote:
 I tried about 10 conf, here is the actual one:

 # cat /usr/local/etc/dhcpd.conf
 authoritative;
 ddns-update-style none;

 subnet 192.168.1.0 netmask 255.255.255.0 {
   option routers 192.168.1.1;


 pool {
option domain-name-servers cns01.hdsnet.hu;
max-lease-time 300;
range 192.168.1.200 192.168.1.253;
allow unknown-clients;
  }
 }


It looks awkward...
  I don't recall ever seeing a pool inside a subnet declaration like this.
A subnet declaration can use all the declaration in your pool.

Pure curiousity, because I am not looking up the config syntax..
comment out (or delete) the pool { and } lines only.  which bring the
statements to the subnet clause.


restart dhcpd, and retry

IIRC, pools are only useful if you have two pool definitions.

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


Re: dhcpd related issue - not giving up

2009-11-01 Thread Tim Judd
snip

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


Re: dhcpd related issue - not giving up

2009-11-01 Thread Tim Judd
On 11/1/09, Dánielisz László laszlo_daniel...@yahoo.com wrote:
 It's the only one on the network.

Doesn't mean that it will answer.

I saw your previous posts which has the authoritative declaration.

Authoritative (from my experience) means that if a client had
previously gotten an address, a non-authoritative server won't correct
the client's lease.  Think of a roaming laptop or a PDA with wifi.

An authoritative server will say No, that won't work, then the
client will release any knowledge of the previous IP, and search for
new dhcp servers.



Since you weren't getting leases when your firewall was disabled, I
would lean toward a misconfigured dhcpd.conf.  I don't think I've seen
in the same post:
  ifconfig rl1
  cat /usr/local/etc/dhcpd.conf


Please provide these.  Thanks.

 
 From: Tim Judd taj...@gmail.com
 To: Dánielisz László laszlo_daniel...@yahoo.com
 Cc: freebsd-questions@freebsd.org
 Sent: Sun, November 1, 2009 5:41:58 PM
 Subject: Re: dhcpd related issue - not giving up

 snip

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




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


Re: issues with email migration

2009-10-31 Thread Tim Judd
On 10/31/09, da...@farmington.k12.mo.us da...@farmington.k12.mo.us wrote:
 only one issue with that. The server in question is an emc clereon(sorry
 not at work to look at the specifics) and at this point the only access I
 have to it is a web interface and am unable to access a command line.

 Also a stupid question my plan is to set up another server to access the
 nfs share to provide better email service.

 would this impact it in any way?


snip replies

Not if file locking and the daemons take care of everything like they
should.  Remember, file locking is mandatory for some things,
especially mbox files, password files, or anything else that requires
exclusive access to a file.

If two systems try to access the same locked file, the 2nd will be
told it won't be able to get an exclusive lock, because the 1st
already has it locked.

You're on the right track.  Keep it going.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: best way to install/update software and firewall choice

2009-10-31 Thread Tim Judd
On 10/31/09, phantomcircuit phantomcirc...@covertinferno.org wrote:
 freebsd-update works fine in a jail so long as you symlink the kernel
 file to /dev/null

I've never needed to do that.  I run lots of jails and i just run
freebsd-update like normal. I don't install the kern sets in the jails
though, just base.

cat base.?? | tar -xzf - -C /jails/jail0.sample
## setup /etc/resolv.conf in the jail
## run freebsd-update from within the jail
## it patches and runs fine.
## this is not the documented way to do it, but I haven't yet had
problems with it.
## world for the jails will take about 128MB of disk space, any
services you add are on top of that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 7.2 ia64

2009-10-30 Thread Tim Judd
On 10/30/09, Clayton Wilhelm da Rosa claytonwilhel...@yahoo.com.br wrote:
 Hi my name is Clayton Wilhelm da Rosa,

 I made the dowmload of FreeBSD 7.2 ia64 i wanna know if is normal the files
 of disc 2 and 3 have only 364Kb size.

 thank you very much.

Yes, that's how it is been released.

Disc 2 and 3 are prebuilt programs - and apparently there were none bundled.


You can build all programs you want via ports.  If they're not
compatible, then it won't build.


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


Re: issues with email migration

2009-10-30 Thread Tim Judd
On 10/30/09, usleepl...@gmail.com usleepl...@gmail.com wrote:
 Hi David,

 On Fri, Oct 30, 2009 at 1:59 PM, David Patton
 da...@farmington.k12.mo.uswrote:

 This morning I moved the contents from the server over to an NFS share.



 This is a freebsd 6.2 server running postfix, courier-imap and
 squirrelmail.
 I used rsync to move the data for /www and /mail over to the nfs share.
 After I made the changed to fstab and rebooted, every thing came up and
 email seemed to be faster but in fact it wasn't. Once I realized that
 there
 was an issue, I changed the link back for the /www directory to the
 original
 location and left the link for /mail pointing to the nfs share. I found
 from
 a search to try newaliaies and the restart postfix but that didn't work.



 Maillog:

 Oct 30 06:11:38 bonnie postfix/smtpd[1337]: fatal: shared-lock database
 /www/mailman/data/aliases.db for open: Operation not supported

 Oct 30 06:11:39 bonnie postfix/master[889]: warning: process
 /usr/local/libexec/postfix/smtpd pid 1337 exit status 1

 Oct 30 06:11:39 bonnie postfix/master[889]: warning:
 /usr/local/libexec/postfix/smtpd: bad command startup - throttling



 Message:

 Oct 30 06:00:27 bonnie postfix/smtpd[1177]: fatal: shared-lock database
 /www/mailman/data/aliases.db for open: Operation not supported

 Oct 30 06:01:28 bonnie postfix/smtpd[1184]: fatal: shared-lock database
 /www/mailman/data/aliases.db for open: Operation not supported

 Oct 30 06:02:29 bonnie postfix/smtpd[1192]: fatal: shared-lock database
 /www/mailman/data/aliases.db for open: Operation not supported

 Oct 30 06:03:30 bonnie postfix/smtpd[1218]: fatal: shared-lock database
 /www/mailman/data/aliases.db for open: Operation not supported

 Oct 30 06:04:31 bonnie postfix/smtpd[1235]: fatal: shared-lock database
 /www/mailman/data/aliases.db for open: Operation not supported

 Oct 30 06:05:32 bonnie postfix/smtpd[1256]: fatal: shared-lock database
 /www/mailman/data/aliases.db for open: Operation not supported

 Oct 30 06:06:33 bonnie postfix/smtpd[1270]: fatal: shared-lock database
 /www/mailman/data/aliases.db for open: Operation not supported

 Oct 30 06:07:34 bonnie postfix/smtpd[1296]: fatal: shared-lock database
 /www/mailman/data/aliases.db for open: Operation not supported

 Oct 30 06:08:35 bonnie postfix/smtpd[1307]: fatal: shared-lock database
 /www/mailman/data/aliases.db for open: Operation not supported


 although i am certainly not an expert regarding email issues nor NFS, but
 could it be that the NFS server needs to support lockd and statd ?

 i have this in my /etc/rc.conf:

 rpc_lockd_enable=YES
 rpc_statd_enable=YES


On both the server and client.

File locking is not supported without these two daemons running.  I
run diskless clients and I need to support file locking, for when you
edit the passwd file with vipw and the like.


Please enable the above on both the server and client, start them,
then try again.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: most bizarre libc.so.7 problem

2009-10-25 Thread Tim Judd
snip all

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#CANONICAL-BUILD


Look at the following recommended sequence:
  1. make buildworld
  2. make buildkernel
  3. make installkernel
  4. reboot in single user [*]
  5. mergemaster -p
  6. make installworld
  7. mergemaster
  8. reboot

Your steps skip steps 4 and 5.

Note that it's been said many times, especially with remote hosting.
4 can be modified to read something like:
  4. Boot with only required programs to run steps 5 and 6.  In most
cases, it's just sshd that needs to be running.  This means editing
/etc/rc.conf and disabling everything except sshd and the IP
networking/routing.

The purpose of 4 is to stop other people, binaries, or daemons running
and using files that need to be updated.

Redirecting or piping in steps 1, 2, 3 and 6 are optional.  I'd love
to have a logfile myself most of these things.  Either script(1) or
tee(1) it.


Please update your script per directions.  and I would definitely cut
the 4  commands away from each other.  they're not related and
didn't seem to do the purpose you probably intended it to do.


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


Re: small question about tape-based dumps

2009-10-17 Thread Tim Judd
On 10/17/09, Jerry McAllister jerr...@msu.edu wrote:
snip

 You do not need to. dump alrady writes that when it finishes each time.
 If you to that, you will get a second one at that location.

 You do not need to do the rewind and mt fsf between each dump.  I just
 do it to make it very clear to myself in my scripts what I am expecting
 and that I am doing it right.

 jerry

snip

If dump is the tool for tapes, and tar is named after tape archives...

Do both of these utilities write the *proper* EOF to whatever medium
it's writing to?

I bring this up, because dump can also write to a file on a formatted
FS.  Does the file end with this same EOF?  What does tar do?

Why have a mt weof function if it's useless?  I'm loosing the logic in
this one, trying to make sure things work as they should.  I admit
tapes on bsd are so foreign to me, I might as well be speaking
$another-language.


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


Re: small question about tape-based dumps

2009-10-17 Thread Tim Judd
On 10/17/09, Stevan Tiefert stevan-tief...@kabelmail.de wrote:
 Am Samstag, den 17.10.2009, 18:49 -0600 schrieb Tim Judd:
 On 10/17/09, Jerry McAllister jerr...@msu.edu wrote:
 snip

  You do not need to. dump alrady writes that when it finishes each time.
  If you to that, you will get a second one at that location.
 
  You do not need to do the rewind and mt fsf between each dump.  I just
  do it to make it very clear to myself in my scripts what I am expecting
  and that I am doing it right.
 
  jerry

 snip

 If dump is the tool for tapes, and tar is named after tape archives...

 Please, no flamewar!!!

Wasn't planning on starting one.  Sorry if it came across that way.


 Do both of these utilities write the *proper* EOF to whatever medium
 it's writing to?

 They both write EOF.

 I bring this up, because dump can also write to a file on a formatted
 FS.  Does the file end with this same EOF?  What does tar do?

 There is only one EOF: The EOF.


 Why have a mt weof function if it's useless?  I'm loosing the logic in
 this one, trying to make sure things work as they should.  I admit
 tapes on bsd are so foreign to me, I might as well be speaking
 $another-language.

 weof is not useless. There are some file operations without writing an
 EOF, like streams or something like that, but tar and dump are writing
 with an EOF at the end of files :-)


So it's a item for good measure rather than an item as necessity
in creating backups.

Thanks for all the info.  I'm happy knowing more.


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


Re: small question about tape-based dumps

2009-10-16 Thread Tim Judd
Replies inline

On 10/16/09, Jerry McAllister jerr...@msu.edu wrote:
 On Fri, Oct 16, 2009 at 11:13:21PM +0200, Stevan Tiefert wrote:

 Hello list,

 one example: If I have three partitions and I want to backup every day
 these partitions, will I need 21 tapes?

 I ask because it seems it is not possible to place more than one dump on
 one tape, isn't it?

 You can easily put more than one dump on a tape if there is
 room enough for them.   Check out the  mt(1)  command.

 Something like   mt fsf 1will skip over the first dump file
 so you can write the second.mt fsf 2   will skip over two files, etc.
 That is dump files, not files within the dump.   Each dump of a
 filesystem is one file.

 If you need to restore, it is just the same.   The first dump is
 the first file.  The second dump is reached by skipping 1 file
 with the mt command, etc.

 I actually rewind and skip between each dump of multiples made
 to the same tape.   I also use the no-rewind device for the tape.

 So first dump is:dump 0af /dev/nsa0 /

I understand that this creates a dumpfile on nsa0, and as I understand
tapes (which may be wrong, which I ask for clarification here)..  To
mark a end-of-file to be able to fast-forward/rewind, why can't you
use:
  mt -f /dev/nsa0 weof

It's description in mt(1) says it writes the end-of-file mark at
current position

 For second dump: mt -f /dev/nsa0 rewind
  mt -f /dev/nsa0 fsf 1
  dump 0af /dev/nsa0 /usr

So if we use weof,  would the 2nd dump then be:
  dump 0af /dev/nsa0 /usr
  mt -f /dev/nsa0 weof

 thirdmt -f /dev/nsa0 rewind
  mt -f /dev/nsa0 fsf 2
  dump 0af /dev/nsa0 /var

And 3rd:
  dump 0af /dev/nsa0 /var
  mt -f /dev/nsa0 weof

 etc.

 when all donemt -f /dev/nsa0 rewind
  mt -f /dev/nsa0 offline

And I've never used offline, guess I'll start now.

 I have this all in a script that also writes an index file
 as the first file on the tape.

 Of course if you are doing a change dump the dump command is
 going to look more like:

  dump 1af /dev/nsa0
 etc.

 jerry


 With regards
 Stevan Tiefert



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


Re: booting from wrong disk

2009-10-15 Thread Tim Judd
On 10/15/09, PJ af.gour...@videotron.ca wrote:
 While trying to learn and understand the dump-retore process, I messed
 up the ad4s1a partition and could not boot. To fix it I restored a
 dumpfile of ad12s1a which is, for all intents and purposes, the same as
 ad4s1a. I then boot from ad4 and surprise, surprise...
 #df shows we have been booted from ad12 and all partitions are ad12
 Booting from ad12s1a gives exactly the same results.
 So, how can I get ad4s1a to boot from ad4?
 I imagine it is something in the boot files... but how to fix that?


Probably because ad12's /etc/fstab tell it to mount ad12's filesystems.


rewriting mbrs and stuff probably won't help.  check your fstab.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: restore(8)ing new / -- boots on metal but not in a VM

2009-10-13 Thread Tim Judd
On 10/12/09, Alex Jurkiewicz a...@bluebottle.net.au wrote:
 2009/10/13 Tim Judd taj...@gmail.com:
 Is the virtual machine using SCSI emulation to boot, or is it using IDE?

 SCSI drives are da(4), IDE drives are ata(4) [aka ad(4)]


 The dump was taken from an ad0 device on physical hardware, and I'm
 attempting to restore to the same, just on virtual hardware.

 If the boot blocks (maybe boot0 specific) point to an ad/ata device,
 and the virtual machine is SCSI, it won't find the boot sectors.

 So, if I make a dumpfile of / on an ad(4) device, I can't restore it
 to a da(4) device and expect it to boot? I guess at minimum I'll need
 two copies of this image if I want to roll it out on machines with
 both sorts of drive, right?

 Thanks,
 AJ



That's part of my point, I don't run with boot0, so it may be one of
it's features.


My suggestion is to check the VM config and see if you can emulate an
IDE ad(4) device instead of the possible SCSI da(4) device that
vmware/virtualbox may setup.  I'm almost positive (not 100% because I
don't have either one of those installed at the moment) that both
those products default to a SCSI device.


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


Re: server specification.

2009-10-13 Thread Tim Judd
On 10/12/09, Marwan Sultan dead_l...@hotmail.com wrote:

 Hello gurus,



  Im going to a new server, and i donot want to have a problem..

  May please anyone advice me of any feed back of FreeBSD 7.2 with the
 following specification:

  any problems?





 1x Intel Core 2 Quad Q6600
 Kentsfield 2.4GHz 2x 4MB L2
 Cache LGA 775

 2GB DDR2 ECC

 3WARE RAID SATA 2 ports

 2x 250GB SATA in RAID 1



 So any problems with quad kentsfield and FBSD 7.2 ?



  thank you in advance.



  Marwan Sultan

Certain OEMs (ahem, Dell) I don't pick due to it's known legacy
support or Technical Support unsupporting an OS that they don't get
paid for.  Even if it's a hardware problem, they ask try to duplicate
the problem in windows, then we'll be able to support you.

I turn Dell down, when I deal with my customers.


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


Re: restore(8)ing new / -- boots on metal but not in a VM

2009-10-12 Thread Tim Judd
On 10/12/09, Alex Jurkiewicz a...@bluebottle.net.au wrote:
 Hi all,
 A little background: I'm writing a script that will allow me to
 restore(8) a standard FreeBSD partition to multiple machines. So far,
 I'm at the 'see if it works in principle' stage, and I'm finding
 something strange.

 My procedure:
 * Start with an empty hard drive (ad0).
 * Boot off the FreeBSD CD, enter the live CD filesystem shell (Fixit
 - Live CD Filesystem)
 * Create a single slice with fdisk that spans the entire disk (fdisk
 -i /dev/ad0)
 * Create a single partition with bsdlabel that spans the entire slice
 (bsdlabel -w /dev/ad0s1)
 * Install the FreeBSD Boot Loader (boot0cfg -B /dev/ad0)
 * Format and restore the dumpfile (newfs /dev/ad0s1a  mount
 /dev/ad0s1a /mnt  cd /mnt  ssh storagebox dd
 if=home/aj/image.dump | restore -rvf -
 * Unmount /mnt and restart.

 The steps work fine... on physical hardware. The restored image boots
 up fine. As a VM guest, running in either VMWare or VirtualBox, it
 don't work. Everything appears to go fine, but when I get to the boot
 loader, pressing F1 just makes the PC speaker beep at me.

 Any pointers would be appreciated. I'm using FreeBSD 6.4.

 Cheers,
 Alex Jurkiewicz


Is the virtual machine using SCSI emulation to boot, or is it using IDE?

SCSI drives are da(4), IDE drives are ata(4) [aka ad(4)]

If the boot blocks (maybe boot0 specific) point to an ad/ata device,
and the virtual machine is SCSI, it won't find the boot sectors.


Personally, I use the standard boot blocks which don't allow
multibooting but I don't multiboot BSD anyway.


The standard boot blocks work by finding the first bsd slice, and
booting it.  I like the keyword find because it doesn't direct the
boot blocks to something unfindable.  :D


Let me know the subsystem layout, and we'll work from there.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Trouble getting new raid array to boot

2009-10-08 Thread Tim Judd
On 10/8/09, David LeCount snailb...@yahoo.com wrote:
 I just built an aac raid array. I partitioned the disk, set the partition as
 active, and copied all my files to it with tar. I changed fstab on the new
 drive to reflect the changes. When I try to boot to the array, it says
 invalid partition. I've tried typing everything I could as the partition but
 they all fail. I was going to try making a new install on the new partition
 and then copy everything but I'm having unrelated problems with my burner.
 What do I need to do to get this thing to boot up?


Is the aac driver in the kernel, or loaded as a kld before you get
past the boot blocks, and loader?



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


Re: Trouble getting new raid array to boot

2009-10-08 Thread Tim Judd
On 10/8/09, David LeCount snailb...@yahoo.com wrote:
 Is the aac driver in the kernel, or loaded as a kld before
 you get
 past the boot blocks, and loader?

 It's built into the kernel.

Then my answer would be missing MBR or boot blocks, an active
partition alone won't make a system boot.  it's just a flag to say
which partition is bootable, but doesn't mean that the boot flag
itself makes the partition boot.


fdisk(8) and bsdlabel(8) -- see the -B option to both.


If you have a dangerously dedicated disk, ignore fdisk.  If you don't
have a bsdlabel, ignore bsdlabel.

I do both on any standard install.


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


Re: BTX Halted

2009-10-06 Thread Tim Judd
On 10/6/09, Tseveendorj Ochirlantuu tseveend...@gmail.com wrote:
 Dear all,
 I've found something strange I have never seen before. When start booting
 FreeBSD 7.2 amd64 from ISO image in ESX 4.0 then error occurs. You can see
 it from snapshot.

 I have following.

 Dell R900 with 4 CPU, 64GB RAM
 ESX 4.0 installed on R900
 FreeBSD 7.2 amd64

 What is this mean?

 Best regards,
 Tseveen.




BTX - BooT eXtender, the process of moving from 16-bit real mode to
32-bit (or 64-bit?) protected mode.  The system was unable to do this
conversion.  Happens on buggy chipsets (in quotes because this is on
ESX).  Go back to VM properties and double, triple check everything,
go into the BIOS and disable any window-isms like PnP OS, power
management, etc.


You might have a corrupt download, check your MD5/SHA1 and redownload
if applicable.


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


Re: Ezjail, Perl, upgrading best practices advise please

2009-10-02 Thread Tim Judd
On 10/2/09, Troy Kocher t...@kocherfamily.org wrote:
 All,
 Couple issues:
 1) I need some understanding on how to deploy and upgrade perl
 properly in this jailed environment.
 2) I need some help on my current tangle of Perl library complaints

 Issue #1: In a jailed environment how many installations of perl are
 recommended (ie 1 host system 2 basejail 3 each jail) ?  My sense
 would be that one on the host and one in the basejail, would be the
 most efficient.  If that is the case how do I upgrade the perl in the
 basejail?  How do I handle different versions of perl installed in
 each of the jails?

Your questions indicate you setup a base jail and nullfs mount the
points to the other jails.  Although it is written it can be done, I
have to ask why you decided to do it this way?  base distribution only
takes about 128MB of disk space, and nearly nothing for RAM (by
today's disk and RAM sizes).

I recommend each jail have their own world installed, preferrably the
same world because since the jails share the world with the hosts'
kernel, and world+kernel must be kept in sync, setup a host on
release, and all jails on a release too.  I'm currently experimenting
(for fun) a -stable host, and -release jails, which is unsupported.


It gets a tad annoying when you manage multiple jails that it has no
concept of already built ports and to use them, so I find myself
cancelling out of a lot of builds to install the package created from
another jail.


 Issue #2:  My lack of understanding has me in a mess currently.  My
 host environment is using (perl-threaded-5.8.9_3), in jail #1 I have
 (perl-5.8.9_3) when I try to use cpan here is what happens:

 jail1#perl -MCPAN -e 'shell'
 Terminal does not support AddHistory.
 cpan shell -- CPAN exploration and modules installation (v1.9301)
 ReadLine support available (maybe install Bundle::CPAN or Bundle::CPANxxl?)
 print() on closed filehandle FOUT at
 /usr/local/lib/perl5/5.8.9/Term/ReadLine.pm line 193.
 readline() on closed filehandle FIN at
 /usr/local/lib/perl5/5.8.9/Term/ReadLine.pm line 301.
 print() on closed filehandle FOUT at
 /usr/local/lib/perl5/5.8.9/Term/ReadLine.pm line 203.
 Terminal does not support GetHistory.
 Lockfile removed.

Can't comment on this, seems a missing dependency and other problems.

 In Jail #2 another issue. . :

 jail2#pkg_info |grep perl
 mod_perl2-2.0.3_3,3 Embeds a Perl interpreter in the Apache2 server
 p5-DBI-1.60.1   The perl5 Database Interface.  Required for DBD::*
 modules
 p5-Devel-Symdump-2.0800 A perl5 module that dumps symbol names or the
 symbol table
 p5-Error-0.17012Perl module to provide Error/exception support for perl:
 Er
 p5-GD-2.35_1A perl5 interface to Gd Graphics Library version2
 p5-GD-Graph-1.44.01_1 Graph plotting module for perl5
 p5-MIME-Tools-5.426,2 A set of perl5 modules for MIME
 p5-Scalar-List-Utils-1.19,1 Perl subroutines that would be nice to
 have in the perl cor
 p5-Storable-2.18Persistency for perl data structures
 p5-Term-ReadKey-2.30 A perl5 module for simple terminal control
 p5-Test-Harness-3.10 Run perl standard test scripts with statistics
 p5-Test-Simple-0.80 Basic utilities for writing tests in perl
 p5-Time-HiRes-1.9712,1 A perl5 module implementing High resolution
 time, sleep, an
 perl-5.8.8_1

 then I try cpan
 jail2# perl -MCPAN -e 'shell'
 /libexec/ld-elf.so.1: Shared object libm.so.4 not found, required by
 perl

A jail that has been updated from (for example) a 6.x release to a 7.x
release with ports from 6.x will look for the shared libraries from
6.x, when 7.x has them updated and possibly renamed.  Has jail2 been
updated?

 Troubleshooting this complaint on jail2 I discovered the time stamp on
 the host was different than the time stamp on the basejail.


what time stamp?  of what? where?


 Anyway I'm puzzled, and I'm not really sure where to go from here. .
 I'd appreciate any help..

 Thanks
 Troy


It won't be a do these and you'll be fixed - given the initial post.
 I'm trying to gain more information before I can help.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Netwroked Storage

2009-10-02 Thread Tim Judd
On 10/2/09, Grant Peel gp...@thenetnow.com wrote:
 Hi all,

 I now have a quote from Dell, for a 4 TB, RAID5 NX3000 NAS.

 It comes pre configured with Windows Storage Server 2008 Standard Edition.
 Dell support assures me it will be compatable with NFS on FreeBSD, but if we
 are not happy with it we can wipe it and install whatever software we want
 ... FreeNAS for example.

 Questions:

 Has anyone used/using Windows Storage Server 2008 with FreeBSD clients? Is
 there any compatability loss? (NSF).

 Is anyone using this specific hardware? If so, comments please!

 -Grant

I decline Dell if I were to make the choice.  They support SOME linux,
and Windows on the hardware.  Microsoft has made Services for UNIX
that Dell tends to install on their Windows NAS devices.

iXsystems makes servers, storage, and everything else with a native
BSD host, at a reasonable cost.  They back PC-BSD development so they
are familiar with the FreeBSD name.

Will the Dell with WS2008 Storage and FreeBSD talk?  They should.  Are
they reliable?  That's questionable.


I don't expect anyone to share my views, but it was asked for comments.

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


Re: Query about pf.conf

2009-10-01 Thread Tim Judd
ftp-proxy(8)

please read.  Especially the configuration section.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem upgrading 7.2 to 8.0-RC1

2009-09-30 Thread Tim Judd
On 9/30/09, Leonardo M. Ramé martinr...@yahoo.com wrote:
 Hi, I'm trying to upgrade from 7.2 to 8.0-RC1 without success. Any hint?

 This is my data:

 uname -a:
 FreeBSD toshiba-leo.localhost.localdomain 7.2-STABLE-200906 FreeBSD
 7.2-STABLE-200906 #0: Sun Jun  7 10:23:49 UTC 2009
 r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

 freebsd-update:

 [r...@toshiba-leo]# freebsd-update -v debug -r 8.0-RC1 upgrade
 Looking up update.FreeBSD.org mirrors... 3 mirrors found.
 Fetching public key from update5.FreeBSD.org... fetch:
 http://update5.FreeBSD.org/7.2-STABLE-200906/amd64/pub.ssl: Not Found
 failed.
 Fetching public key from update2.FreeBSD.org... fetch:
 http://update2.FreeBSD.org/7.2-STABLE-200906/amd64/pub.ssl: Not Found
 failed.
 Fetching public key from update4.FreeBSD.org... fetch:
 http://update4.FreeBSD.org/7.2-STABLE-200906/amd64/pub.ssl: Not Found
 failed.
 No mirrors remaining, giving up.



 Leonardo M. Ramé
 http://leonardorame.blogspot.com


freebsd-update code (at last check) supported updating -RELEASE and
-SECURITY systems, but not -STABLE.

Because it's trying to fetch a -STABLE uname, and it doesn't have an
idea of the latest time it was built (looks like a snapshot, to us
humans), it is unable to move past the keys.

You'll need to run -RELEASE[-p#] to update or update from source.


the freebsd-update program is a shell script.  read it, it's enlightening.

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


Re: Question about FreeBSD installation procedure

2009-09-29 Thread Tim Judd
On 9/29/09, Polytropon free...@edvax.de wrote:

snip


 Honestly, I've never seen the need for extended DOS partitions.
 Let's say you intendedly want to run a multi-OS system, then
 you can install four systems, each one in its own slice, and
 within the slice, the partitiions, if needed and supported.


By using BSD jargon, I will describe some other limitations, some of
which you may not yet have gone through:

The OS installer is given the opportunity to partition for you.  If
you tell Linux to install it can create multiple slices, eating up
your 4 slices.  If you setup 2 windows OSs, the 2nd OS gets added as
an extended DOS slice.

The limitation of not installing BSD into an extended DOS partition is
a good decision.  It makes it difficult for the MBR code to dissect
the extended DOS partition to find the boot sector.


I am 100% for the requirement of a slice.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Is it possible to setup a graid3 on root?

2009-09-25 Thread Tim Judd
On 9/25/09, Modulok modu...@gmail.com wrote:
 Just wondering if it is possible to setup a striped root partition
 (graid3) and still be able to boot from it. Logically, it doesn't
 sound promising, but has anyone tried this?

 Thanks!
 -Modulok-


Remember --

To boot off a distributed RAID, it needs to be known, established,
turned on before the kernel loads.
Software raid is turned on after the kernel probes and starts running /etc/rc

Software RAID1 is not striped across disks, so it can be booted from.
All other software RAIDs on the drives are unable to be
individualized, and shouldn't logically be bootable.



I doubt you can do it with graid3 part of the kernel either.  This is
a big advantage over a hardware raid card... the card takes care of
the distribted peices of a file.


Sorry it wasn't a positive answer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: named issue

2009-09-25 Thread Tim Judd
On 9/25/09, Jos Chrispijn ker...@webrz.net wrote:
 [named]

 Lately I get messages like thin in my all.log:

 named[605]: too many timeouts resolving '*.*.*.*.zen.spamhaus.org/A' (in
 'zen.spamhaus.ORG'?): disabling EDNS

 (*) is random ip address

 Now before I add the following lines in /etc/named.conf or
 /var/named/chroot/etc/
 named.conf:

 logging {
 category lame-servers {null; };
 category edns-disabled { null; };

 };

 I would like to know what I could do to prevent generation of that line?

 Thanks,
 Jos Chrispijn


That's likely a email DNSBL (DNS Blacklist).  zen.spamhaus.org is
known for DNSBL.

Disable it in your mailserver...  but then you get nasties.


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


  1   2   3   4   >