Re: Good networking books for a beginner?

2006-10-02 Thread Duane Whitty
On Sun, Oct 01, 2006 at 12:12:27AM -0400, Rob wrote:
 Does anyone happen to know of any good books that explain all about
 networking in detail (such as gateways, netmasks, etc)?  I know the 'basics'
 but would like to dig in a little deeper.
 
 Thanks,
 rob

An online article that I found quite helpful was Daryl's TCP/IP Primer
http://www.ipprimer.com/overview.cfm

I was quite surprised by how much detail was there when I started actually
following along with its tutorial style.

Best Regards,

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


Re: can i build more than one world on a buildserver?

2006-09-08 Thread Duane Whitty

Jonathan Horne wrote:

On Wednesday 06 September 2006 19:05, Jonathan Horne wrote:

On Wednesday 06 September 2006 13:16, [EMAIL PROTECTED] wrote:

On 9/6/06, Jonathan Horne [EMAIL PROTECTED] wrote:

is it possible to have STABLE and RELENG built on a single build
server? or further, is it possible to have 5.5 and 6.1 worlds built
from the same machine?

buildworld and buildkernel targets are
fairly sophisticated.

The /usr/obj tree corresponds to the source
directory, so if you have your 5.5 sources in
/src/5.5
and your 6.1 sources in
/src/6.1 (or /usr/src/6.1 for that matter)

the world(s) would be built in
/usr/obj/src/5.5/ and /usr/obj/src/6.1/
repsectively. (Or /usr/obj/usr/src/6.1)

If the purpose is to buildworld on one
fast machine and then export it to slower
machines on th' network, this works
admirably well.

thank you!!  this was the exact hint i was hoping for!

cheers,
jonathan


well, so far, kinda so good.

i was able to cvsup 5.5-RELENG, 6.1-STABLE, and 6.1-RELENG to my build box.  i 
did a test kernel on the 6.1-RELENG, and that went fine, pretty much as 
expected.  but the 5.5 will not build.  i get this error:


[EMAIL PROTECTED] /usr/5.5-RELENG/src]# make buildkernel KERNCONF=TYCHE

--

Kernel build for TYCHE started on Thu Sep  7 06:48:26 CDT 2006

--
=== TYCHE
mkdir -p /usr/obj/usr/5.5-RELENG/src/sys

--

stage 1: configuring the kernel

--
cd /usr/5.5-RELENG/src/sys/i386/conf;  
PATH=/usr/obj/usr/5.5-RELENG/src/i386/legacy/usr/sbin:/usr/obj/usr/5.5-RELENG/src/i386/legacy/usr/bin:/usr/obj/usr/5.5-RELENG/src/i386/legacy/usr/games:/usr/obj/usr/5.5-RELENG/src/i386/usr/sbin:/usr/obj/usr/5.5-RELENG/src/i386/usr/bin:/usr/obj/usr/5.5-RELENG/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin  
config  -d /usr/obj/usr/5.5-RELENG/src/sys/TYCHE  /usr/5.5-RELENG/src/sys/i386/conf/TYCHE

../../conf/files: coda/coda_fbsd.c must be optional, mandatory or standard
*** Error code 1

Stop in /usr/5.5-RELENG/src.
*** Error code 1

Stop in /usr/5.5-RELENG/src.

should building parts of 5.5 from a 6.1-buildserver be possible?  or should i 
install 5.5 on my buildserver, and compile 5.5 from there as well as the 
higher versions?



Hi,

If I were you I would cvsup the entire repository (for src-all).
Then I would set up chroot-ed environments for each world 
you want to build.  When you want to do a build checkout the

version you want to your chroot-ed /usr/src directory.
There are more details @ /usr/src/UPDATING.  In your chroot
environment you'll need everything for doing a build
(libraries, headers, etc.).  What worked well for me was
duplicating the base system root directories.  One nice
thing about this, for instance, is that you can have
customized /etc/make.conf files.  With this setup you can
even do a chroot-ed install world, make dist, etc.  There
are hints for this in UPDATING as well.

Best Regards,

Duane Whitty

P.S.

Your email server bounced my earlier reply
which, admittedly, I forgot to CC to list

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


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


Re: firefox with flash and java!

2006-06-27 Thread Duane Whitty
On Mon, Jun 26, 2006 at 10:36:43PM -0700, Chris Maness wrote:
 On Tue, 23 May 2006 23:40:37 +
 Marwan Sultan dead_l... 
 http://groups.google.com/groups/unlock?msg=695fbeab0c2a56e4_done=/group/list.freebsd.questions/browse_thread/thread/220f6510efe41d89/6e9a9d715460864c%3Fq%3Drtld_dlsym_hack.diff%26rnum%3D1@hotmail.com
  
 wrote:
  hello everyone!
 
I'm really sorry to ask over here, but sick and tired browsing and 
 asking
  around.
 
I'm on latest FreeBSD 6.1R latest KDE and latest firefox 1.5.3
I cannot find the flash plugins for Konqueror because no more port 
 for it,
  (linux-flashplgin6)
 
So i have installed Firefox, now i'm lost, which in port is the flash
  plugin?
 
I have linux-flashplugin7 installed, linuxpluginwrapper,
 
 looks ok
 
 $ pkg_info | grep -i flash  pkg_info | grep -i firefox
 linux-flashplugin-7.0r63 The official Macromedia Flash Player for 
 Linux Mozilla
 
  firefox-1.5.0.3,1   Web browser based on the browser portion of Mozilla
 firefox-remote-20040803 Wrapper scripts for firefox web browser
 
But flash still not workin in firefox, i dont know what to do now?
Will someone kindly guied me for this? how to install flash, for 
 firefox?
  and enable it.
 
 from someone else's kind instructions, which worked great for me:
 
 - modify your libmap.conf , following what is shown in
 what  /usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD6
 
 - Finally edit /usr/X11R6/lib/firefox/run-mozilla.sh and add
  /usr/X11R6/lib/linux-flashplugin6 to MOZ_PLUGIN_PATH
  (near the end of the script) (colon-separated path components)
 
 - path your kernel:
 Please get and apply a dlsym(3) hook patch (apply in /usr/src ; then cd
 libexec/rtld-elf and do make rtld)
 http://people.FreeBSD.org/~nork/*rtld_dlsym_hack.diff* 
 http://people.FreeBSD.org/%7Enork/rtld_dlsym_hack.diff This provides 
 _dlsym(3)
 function to fix dynamic-link error can't find gtk_major_version 
 ad-hoc-ly.
 
 $cd /usr/src
 $fetch http://people.FreeBSD.org/~nork/*rtld_dlsym_hack.diff* 
 http://people.FreeBSD.org/%7Enork/rtld_dlsym_hack.diff
 $patch  *rtld_dlsym_hack.diff*
 $ cd libexec/rtld-elf
 $sudo make rtld
 $ sudo make install
 
Also How to install java? on firefox? it would be my next step.
 
Is there by any chance away to run flash for Konqueror? or better to
  delete this package if im
having firefox?
 
 i dont know, dont use kde.
 good luck,
 Beto
 I have followed all of the instructions for patching the src (from 
 above), and firefox still crashes with the error: /libexec/ld-elf.so.1: 
 /usr/local/lib/pluginwrapper/flash7.so: Undefined symbol _dlsym  when 
 a flash page is loaded.  What have I missed?

Hi,

I'm using flash on 6-STABLE so I don't know if it works on 6.1R or not.

Make sure you linux_base ports and linuxpluginwrapper are up-to-date.
I'll assume your linux-flashplugin-7 is up-to-date.  My version is
linux-flashplugin-7.0r63.

A directory listing of /usr/X11R6/lib/firefox/plugins might also help.
Here is what my listing looks like:

dwpc@ /etc# ll /usr/X11R6/lib/firefox/plugins
total 32
lrwxr-xr-x  1 root  wheel 49 Jun 26 23:39 flashplayer.xpt - 
/usr/X11R6/lib/linux-flashplugin7/flashplayer.xpt
lrwxr-xr-x  1 root  wheel 51 Jun 26 23:40 libflashplayer.so - 
/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so
-rwxr-xr-x  1 root  wheel  19216 Jun 19 17:45 libnullplugin.so
-rwxr-xr-x  1 root  wheel  11632 Jun 19 17:45 libunixprintplugin.so


Also here is what my /etc/libmap.conf looks like:

# [ALPHA SUPPORT] Flash7 with Mozilla
[/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so]
libpthread.so.0 libpthread.so.2
libdl.so.2  pluginwrapper/flash7.so
libz.so.1 libz.so.3
libm.so.6 libm.so.4
libc.so.6 pluginwrapper/flash7.so


BTW, there is a discussion concerning this on current@
which is very interesting and I recommend as good reading.
As that discussion implies and as the linuxpluginwrapper
states explicitly, this is unsupported.

Hope this helps. YMMV

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


Unable to build Sendmail with LDAP

2006-06-20 Thread Duane Whitty
/libsasl2.so.2 (0x28194000)
libssl.so.5 = /usr/local/lib/libssl.so.5 (0x281a9000)
libcrypto.so.5 = /usr/local/lib/libcrypto.so.5 (0x281e1000)
libc.so.6 = /lib/libc.so.6 (0x2808)

If needed I can backout the necessary ports to previous versions. However,
I'd rather help anyway I can if it turns out there is a problem with OpenSSL
or OpenLDAP as opposed to it just being something I did wrong.

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


Re: AC97 sound card on 6.1

2006-06-05 Thread Duane Whitty
On Mon, Jun 05, 2006 at 05:03:46PM -0400, Dave wrote:
 Hello,
I'm atempting to get an integrated AC97 sound card working under 6.1. I 
 know this card works, loading the snd_driver module finds it, but i do not 
 know which actual module works it over. I'd rather not have to load 26 
 sound modules just the ones i actually need. I've checked /boot/kernel/snd* 
 but didn't find anything AC97 and googling showed that others had asked, 
 but no clear answer. If anyone has this going i'd appreciate hearing about 
 it, and also any difficulties with quality or getting applications going.
 Thanks.
 Dave.
 
Hi,

It's just a guess without seeing the output of
dmesg but I think the ICH driver is the one, YMMV.

In my /boot/loader.conf I have the entry
snd_ich_load=YES

For a more definitive answer post your dmesg.

Hth,

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


Re: docs/98344: [patch] An update of the article Choosing the FreeBSD Version that is Right for You

2006-06-04 Thread Duane Whitty
On Fri, Jun 02, 2006 at 02:10:08AM +, [EMAIL PROTECTED] wrote:
 Thank you very much for your problem report.
 It has the internal identification `docs/98344'.
 The individual assigned to look at your
 report is: freebsd-doc. 
 
 You can access the state of your problem report at any time
 via this link:
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=98344
 
 Category:   docs
 Responsible:freebsd-doc
 Synopsis:   [patch] An update of the article Choosing the FreeBSD 
 Version that is Right for You
 Arrival-Date:   Fri Jun 02 02:10:08 GMT 2006

Hi,

If anyone is interested in taking a look at the article [1]
I finally submitted it is posted on my site along with the
diff [2], as per the above PR.  This is a merge of my article
that only covered version labels with the existing article
Choosing the FreeBSD Version that is Right for You. I botched
the link to the patch in the PR (forgot the colon in http://, sorry)

[1]Choosing the FreeBSD Version that is Right for You
http://www.dwlabs.ca/freebsd/docs/version-guide/article.html

[2]version-guide.diff

http://www.dwlabs.ca/freebsd/docs/version-guide/version-guide.diff

As always I look forward to any constructive feedback should anyone have
the time and desire to give some.  That goes for both the article and
the actual PR (I've never submitted a PR for something like this before).

Sincerely,

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


Re: Cannot delete stubborn files - New Hint

2006-06-04 Thread Duane Whitty
On Sun, Jun 04, 2006 at 02:57:38PM -0500, Jack Stone wrote:
 From: Jack Stone [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 CC: freebsd-questions@freebsd.org
 Subject: Re: Cannot delete stubborn files
 Date: Sun, 04 Jun 2006 14:52:01 -0500
 
 From: Bill Moran [EMAIL PROTECTED]
 To: Jack Stone [EMAIL PROTECTED]
 CC: freebsd-questions@freebsd.org
 Subject: Re: Cannot delete stubborn files
 Date: Sun, 4 Jun 2006 14:40:22 -0400
 
 Jack Stone [EMAIL PROTECTED] wrote:
 
  From: Chris Hill [EMAIL PROTECTED]
  To: Jack Stone [EMAIL PROTECTED]
  CC: freebsd-questions@freebsd.org
  Subject: Re: Cannot delete stubborn files
  Date: Sun, 4 Jun 2006 09:39:51 -0400 (EDT)
  
  On Sun, 4 Jun 2006, Jack Stone wrote:
  
  I have 2 files that resists all efforts to delete them.
  
  [...]
  
  Here are the files and the error message:
  rm: local/lib/perl5/5.6.1/mach/Sys/Hostname.pm: Operation not 
 permitted
  rm: local/lib/perl5/5.6.1/mach/Sys/Syslog.pm: Operation not permitted
  
  Make sure the files do not have the system immutable flag set:
  
  # chflags noschg local/lib/perl5/5.6.1/mach/Sys/Hostname.pm
  # chflags noschg local/lib/perl5/5.6.1/mach/Sys/Syslog.pm
  
  ...and then see if you can't delete them. I don't know why the flag 
 would
  be set, but it's something to try.
  
  HTH.
  
  --
  Chris Hill   [EMAIL PROTECTED]
 
  Chris: Tried that at the very first. No joy!
 
 If flags and permissions are all set so that the files should delete, and
 they still don't, reboot the system into single user mode and fsck the
 partition.
 
 I had this happen a number of years ago.  We had dirty power and the 
 system
 would reboot on occasion during brownout.  We finally got UPS on the 
 system,
 but months later we had files that wouldn't delete.  The only way we 
 finally
 got rid of them was to reboot in single user and fsck.  I expect the disk
 suffered some subtle corruption during an unclean boot and it took time
 before we noticed.
 
 Another option would be to use fstat to make sure nothing has the files 
 open.
 
 HTH.
 
 --
 Bill Moran
 
 
 Hi, Bill: Yes, tried all of that before and again no joy -- very mysteries.
 A free cigar to anyone who solves this one!
 
 
 Since I learned I could mv the directory that contains the 2 files, I 
 tried to move it to another partition, figuring I had a solution IF I could 
 only do that.
 
 Here's the new error when I tried to move the directory from / to /usr
 
 mv: /bin/rm: terminated with 1 (non-zero) status: Cross-device link
 
 Does this new hint stike any bells?
 
 THX
 Jack
 
Hi,

Since you can move the directory can you move (rename) the file?
If you can mv just the files can you access/modify the files?

Because of the cross-device link error message maybe this is hard link
related?  Any files with the same name floating around?  Obviously this
isn't normal hard link behaviour but maybe a link was somehow damaged?


Best Regards,

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


Re: Sound Problem in KDE

2006-06-02 Thread Duane Whitty
On Fri, Jun 02, 2006 at 07:50:57PM -0400, Gerard E. Seibert wrote:
 Upon completion of a fresh installation of KDE on FreeBSD 6.1, I have been 
 unable to get the sound to work correctly in KDE. Upon starting up of KDE, 
 this error message is displayed:
 
 Sound server informational message:
 Error while initializing the sound driver:
 device /dev/dsp can't be opened (Device busy)
 The sound server will continue, using the null output device.
 
 I have tried rebooting the system, but the problem remains. since KDE did 
 work with FSBD 5.4 on this PC, I am not sure what the problem might me.
 
 
Hi,

I recently had a similar problem in KDE.  The way
I tracked it down was to fstat|grep dsp in order
to see what had the device file open.

What prompted
this was I had been running skype and, after being
disconnected, I was unable to reconnect.  It turned
out that konqueror had grabbed the device when I played
a media file and hadn't released it afterward.

Hope this helps,

Duane Whitty
-- 
[EMAIL PROTECTED]

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


kern.ngroups == num. process groups ?

2006-05-23 Thread Duane Whitty

Hi,

I saw a reference to kern.ngroups on this list and didn't know what it 
meant.


I decided to peek at the source and it seems to me that it is the
number of process groups.  Is that correct?

Thanks in advance,

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


Re: kern.ngroups == num. process groups ?

2006-05-23 Thread Duane Whitty

Colin Percival wrote:

Duane Whitty wrote:
  

I saw a reference to kern.ngroups on this list and didn't know what it
meant.

I decided to peek at the source and it seems to me that it is the
number of process groups.  Is that correct?



No, kern.ngroups is the maximum number of groups to which a user can
belong at the same time.

Colin Percival




  

Ah, okay.  Thanks.  It looks like kern_mib.c has lots of good stuff.

Much obliged,

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


Re: installing ports behind IPFILTER

2006-05-21 Thread Duane Whitty

Brett Wiggins wrote:

Hi everyone,
I am having some problems installing ports when I have 


IPFILTER running. I have put FTP_PASSIVE_MODE=YES in /etc/make.conf
  

Try putting it in /etc/login.conf

/etc #grep PASSIVE *
login.conf: :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\

[snip]

Hope this helps


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


Skype

2006-05-16 Thread Duane Whitty

Hi,

Here is the procedure I used when trying to get skype to work:

dwpc@ /root# brandelf -t Linux /usr/X11R6/bin/skype_bin
dwpc@ /root# skype
ELF binary type 3 not known.
skype_bin: 1: Syntax error: ( unexpected


Here's my info:

FreeBSD dwpc.dwlabs.ca 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue May  9 
00:04:45 ADT 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/DWPC-KERNEL  i386


/etc/rc.conf

# -- sysinstall generated deltas -- # Tue Feb 28 21:25:35 2006
# Created: Tue Feb 28 21:25:35 2006
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
hostname=dwpc.dwlabs.ca
ifconfig_fxp0=DHCP
cupsd_enable=YES
named_enable=YES
linux_enable=YES
usbd_enable=YES
inetd_enable=YES
smbd_enable=YES
nmbd_enable=YES
sendmail_enable=YES
apache22_enable=1
mysql_enable=1

dwpc@ /root# pkg_info | grep linux
linux-XFree86-libs-4.3.99.902_7 XFree86 libraries, Linux binary
linux-expat-1.95.7_1 Linux/i386 binary port of Expat XML-parsing library
linux-fontconfig-2.2.3_3 Linux/i386 binary of Fontconfig
linux-sun-jdk-1.4.2.10 Sun Java Development Kit 1.4 for Linux
linux_base-8-8.0_14 Base set of packages needed in Linux mode (for 
i386/amd64)
linux_dri-4.4.0 Binary Linux DRI libraries for 3D hardware 
acceleration of

linuxdoc-1.1_1  The Linuxdoc SGML DTD
linuxpluginwrapper-20051113_2 A wrapper allowing use of linux-plugins 
with native applica
sgmlformat-1.7_2Generates groff and HTML from linuxdoc and docbook 
SGML doc



Does anyone have any ideas on how to make this work

Please CC me as I'm not tracking multimedia@

Thanks in advance

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


Re: Skype

2006-05-16 Thread Duane Whitty

Norberto Meijome wrote:

On Tue, 16 May 2006 21:02:20 -0300
Duane Whitty [EMAIL PROTECTED] wrote:

  

Hi,

Here is the procedure I used when trying to get skype to work:

dwpc@ /root# brandelf -t Linux /usr/X11R6/bin/skype_bin
dwpc@ /root# skype
ELF binary type 3 not known.
skype_bin: 1: Syntax error: ( unexpected



Hi there,
Skype is running without a problem here.
6.1-STABLE FreeBSD 6.1-STABLE #3: Tue May 16 23:35:52 EST 2006 


skype-1.2.0.18  P2P VoIP software

[snip]
 81 0xc50fd000 19000linux.ko

  

Hi Beto,

Darn ol' linux.ko.  That was the problem.  For some reason that module
didn't get loaded.  Sigh, I guess I need to say darn ol' operator, eh.

It worked immediately after I did kldload linux.

I always thought that that was what linux_enable=YES in /etc/rc.conf did.

I guess I'll need to load it out of /boot/loader.conf.  I don't remember 
doing this
before but maybe when I installed some linux program the installation 
took care

of it for me.

So anyway.  Thank you very much.

Most Respectfully,

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


Re: PHP not working

2006-05-14 Thread Duane Whitty

Maan Jee wrote:

Hello,

I have installed Apache HTTP Server 2.20 and PHP 5. But when I want to 
open
index.php file in the browser instead of getting the Output Html page, 
I get

SAVE index.php file popup.

What is the wrong, I have added these lines in httpd.conf
AddType application/x- httpd-php . php
AddType application/x- httpd-php-source . phps

Thanks

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





Hi,

You need to add index.php to the DirectoryIndex line
in /usr/local/etc/apache22/httpd.conf
It should look like

DirectoryIndex index.html index.php

Hope this helps.

Sincerely,

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


Re: PHP not working

2006-05-14 Thread Duane Whitty

Maan Jee wrote:

Hello,

I have installed Apache HTTP Server 2.20 and PHP 5. But when I want to 
open
index.php file in the browser instead of getting the Output Html page, 
I get

SAVE index.php file popup.

What is the wrong, I have added these lines in httpd.conf
AddType application/x- httpd-php . php
AddType application/x- httpd-php-source . phps

Also make sure there are no spaces in .php and .phps in the above lines

--Duane


Thanks

vj

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


Understanding The FreeBSD Version Labels [RFC]

2006-05-09 Thread Duane Whitty

Hi,

I've written an article trying to explain the FreeBSD version labels,
CURRENT, STABLE, and RELEASE.  This article, of course, is
aimed at newcomers to FreeBSD.

The article is here
http://www.dwlabs.ca/fbsd-releases

For anyone who can time find to read it I would appreciate any
comments, feedback. constructive criticism, etc.

Thanks in advance,

Duane Whitty
--
[EMAIL PROTECTED] 


  or

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


Re: Understanding The FreeBSD Version Labels [RFC]

2006-05-09 Thread Duane Whitty

Nikolas Britton wrote:

On 5/9/06, Duane Whitty [EMAIL PROTECTED] wrote:

Hi,

I've written an article trying to explain the FreeBSD version labels,
CURRENT, STABLE, and RELEASE.  This article, of course, is
aimed at newcomers to FreeBSD.

The article is here
http://www.dwlabs.ca/fbsd-releases

For anyone who can time find to read it I would appreciate any
comments, feedback. constructive criticism, etc.



Branch tag for FreeBSD 6.0
RELENG_6_0
So, FreeBSD 6.0 was officially released.  At the time this happened it
was decided, after
a lot of testing and other quality control procedures, that the code
in 6-STABLE should
be turned into a release.  But since FreeBSD is a very complex piece
of software it is
inevitable that eventually a security issue would need to be addressed
or some other
critical issue would need to be fixed.  That is what this branch of
development is for.
It used as the spot in the source archive for only critical fixes and
items which address
security issues.  This model ensures that officially released FreeBSD
versions contain
only the most reliable of code while still having bugs and security
issues fixed.

What about errata fix branches, they are not limited to just critical
and security fixes?

Also update the doc, change 6.0 to 6.1.




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





Hi Nikolas,

Thanks for all the feedback and for taking the time to do so.

I have made extensive changes to this article.

For any interested parties it can still be viewed at
http://www.dwlabs.ca/fbsd-releases



Sincerely,

Duane Whitty
--
[EMAIL PROTECTED]

  or

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


ULE Scheduler and overall performance on 6.x - Wow

2006-05-07 Thread Duane Whitty

Hi,

I decided to give the ULE scheduler a try  a while ago (April 28).
when I last built 6-STABLE

Anyhow it seems great.  I'm running a 2.4GHz Celeron with
512MB RAM and two 40GB, PATA disks.  Right now I'm running
both a GNOME and a KDE session, I've got Thunderbird and
Evolution open, Firefox is running and running well, and I'm
updating the my local copy of the FreeBSD repository.  Oh yeah,
I'm also running a DNS server, a Sendmail server, and SAMBA
I can't believe how responsive everything is on this low-end machine
I'm running.Wow!  (And this with debugging turned on but no WITNESS
or INVARIANTS turned on)

Well time to rebuild the sources  :)

dwpc@ /home/duaneuname -a
FreeBSD dwpc.dwlabs.ca 6.1-RC FreeBSD 6.1-RC #0: Fri Apr 28 18:41:15 ADT 
2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DWPC-KERNEL  i386


Best Regards,

Duane Whitty
--
[EMAIL PROTECTED]

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


Re: ULE Scheduler and overall performance on 6.x - Wow

2006-05-07 Thread Duane Whitty

Jonathan Horne wrote:
i remember when i first started using freebsd about 2 months ago, the first 
kernel i built, i did the ULE (at some articles recommendataion).  but, ive 
not done it since.  i guess i have been noticing a bit of lag on my system 
(amd 1800mhz 512rdram, u160 scsi raid0), but nothing unacceptable.


however, since i didnt have a problem with my first kernel that i did, and 
your positive response, i decided to go ahead and change out the specified 
scheduler in my kernconf, and let 'er rip.


is your system a desktop?  were your prevously running the same desktop 
configuration on the same box, with the 4BSD?  is the ULE scheduler suited 
for a server setup as well (my server is also SMP), or is this something that 
should be kept to a desktop?


thanks,
jonathan horne

  
My system is a desktop and yes I was previously using the 4BSD 
scheduler.  As for
whether it is suited for a server environment I would say that depends.  

From what
I understand it is an experimental scheduler meant to bring better 
performance

to SMP machines but that UP machines may also show some improvement.
If I was using this box as a server for mission critical applications
there are a whole bunch of things I am doing now that I would not be doing.

Before I would use any relatively new configuration on a production 
server I would
have to do some reliability testing and benchmarking on a test machine 
that I had
configured to test a particular harware/application mix.  I would also 
be reading what
other people had to say and I would first choose to use something that 
was known to
generally work and for which issues were generally know and mostly 
understood.  Also,

go where the support is.  :)

This is basically a test box and a learning platform. There are way too 
many applications
loaded on this machine and they are far too varied in nature for me to 
single out one aspect
of my configuration and say whether or not it is suitable in a server 
configuration.  In
addition I wouldn't be able to say whether ULE is suitable for a server 
after testing it

on hardware that is definitely not suitable as a server, in my opinion.

I am willing to say that for desktop use the ULE scheduler --seems-- to 
work great.  But
do keep in mind Mr. Kennaway's comments per this thread.  Of course the 
4BSD scheduler

works great so I wouldn't switch unless I had a reason to.

--Duane

On Sunday 07 May 2006 04:43, Duane Whitty wrote:
  

Hi,

I decided to give the ULE scheduler a try  a while ago (April 28).
when I last built 6-STABLE

Anyhow it seems great.  I'm running a 2.4GHz Celeron with
512MB RAM and two 40GB, PATA disks.  Right now I'm running
both a GNOME and a KDE session, I've got Thunderbird and
Evolution open, Firefox is running and running well, and I'm
updating the my local copy of the FreeBSD repository.  Oh yeah,
I'm also running a DNS server, a Sendmail server, and SAMBA
I can't believe how responsive everything is on this low-end machine
I'm running.Wow!  (And this with debugging turned on but no WITNESS
or INVARIANTS turned on)

Well time to rebuild the sources  :)

dwpc@ /home/duaneuname -a
FreeBSD dwpc.dwlabs.ca 6.1-RC FreeBSD 6.1-RC #0: Fri Apr 28 18:41:15 ADT
2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DWPC-KERNEL  i386

Best Regards,

Duane Whitty


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



  

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


Re: dhclient-exit-hooks

2006-05-03 Thread Duane Whitty

fbsd wrote:

When this script runs the logger statements do not create any
message in the targeted log files.
IF I execute the same logger statements from the command
line they work as expected.

Hi,

Forgive my ignorance if it turns out I'm totally off track here
but do you need a line in /etc/syslog.conf such as:

!name-of-your-script
*.* /var/log/dhcpd.log
^^^
or whatever level of logging you want


I couldn't get named to log so to /etc/syslog.conf I added

!named
*.*/var/log/named.log

and manually created /var/log/named.log

to have messages of all levels logged.

Just a shot in the dark...

Best Regards,

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


Fixing stale dependencies with pkgdb

2006-05-03 Thread Duane Whitty

Hi,

Stale dependency: gnomenettool-2.14.1_1,1 - openldap-client-2.2.30 
(net/openldap22-client):

openldap-sasl-server-2.2.30 ? ([y]es/[n]o/[a]ll) [yes]

Does answering [a]ll here imply yes for only this category of dependencies
(openldap-sasl-server-2.2.30 replacing net/openldap22-client) or for
all upcoming selections for all stale dependencies?

Thanks,

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


portupgrade errors during ruby execution

2006-05-02 Thread Duane Whitty

Hi,

I think I damaged my package database during a
pkgdb -Fu session.  When I try to use portupgrade
with r or R switches I get an error message from
ruby.

To work my way through this I have freshly cvs'd
my entire ports tree and rebuilt the indexes.

Followed /usr/ports/UPDATING for gnome stuff
(except I don't have xscreensaver-gnome installed)

ran portupgrade -a

most recent failure:

[Updating the pkgdb format:dbm_hash in /var/db/pkg ... - 591 packages 
found (-0 +1) . done]
/usr/local/lib/ruby/site_ruby/1.8/pkgmisc.rb:61:in `push': failed to 
allocate memory (NoMemoryError)

   from /usr/local/lib/ruby/site_ruby/1.8/pkgmisc.rb:61:in `shellwords'
   from /usr/local/sbin/portupgrade:1186:in `get_pkgname'
   from /usr/local/sbin/portupgrade:1171:in `check_pkgname'
   from /usr/local/sbin/portupgrade:957:in `upgrade_pkg'
   from /usr/local/sbin/portupgrade:780:in `do_upgrade'
   from /usr/local/sbin/portupgrade:702:in `main'
   from /usr/local/sbin/portupgrade:699:in `main'
   from /usr/local/lib/ruby/1.8/optparse.rb:815:in `initialize'
   from /usr/local/sbin/portupgrade:209:in `main'
   from /usr/local/sbin/portupgrade:1904

As not all packages fail when I do this will running
portupgrade -a eventually fix this problem?


Sincerely,

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


Re: ^M

2006-05-02 Thread Duane Whitty

FreeBSD Daemon wrote:

Dear list,

How can I non-manually remove the ^M line breaks from my text files

TIA

zheyu

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



  

From within vi you could do
:g/^V^M/s/^V^M//g

Best Regards,


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


Re: permissions dilemma

2006-04-29 Thread Duane Whitty

jekillen wrote:


On Apr 28, 2006, at 6:10 PM, Duane Whitty wrote:


jekillen wrote:


On Apr 28, 2006, at 5:38 PM, Gerard Seibert wrote:


jekillen wrote:


Hello:
I have had a problem with installing MySQL 5.0.18 on a FreeBSD v 6.0
installation
where everything seems to compile and install correctly but the 
server

crashes
immediately on start up with permission to create/write it's .pid 
file

denied.
Then the screen saver daemon refuses to start in X windows with a
permission denied
error. It originally worked fine. But at some point recently the 
screen

saver quit working.
When I went to Gnome preferences and tried to set the screen saver 
I was

informed that the screen saver daemon wasn't running. When I tried to
have it
start I was presented with the permission denied error and to 
check the

$path
variable.
I tried installing MySQL twice, each time with the same problem.
As I understand it, permissions in Unix are part of the file system
format.
The only possible link between MySQL and the screen saver daemon,
possibly, is the
mysql user needed to run mysqld.

Could I have a corrupted file system in such a way as to cause
permission problems?

thanks in advance.
JK


Are you starting MySQL with the script in /usr/local/etc/rc.d/ upon
bootup?

--
Gerard Seibert
[EMAIL PROTECTED]

Boy that was fast, I just posted this message a moment ago...
No I was just testing it using the mysqld_safe --user=mysql  approach.

Hi,

As you don't mention it explicitly, did you run mysql_install_db 
--user=mysql ?
yeswell come to think of it I only ran mysql_install_db without 
the --user part

I believe. I'll redo it an see what happens.
thanks
I know the first time I installed MySQL I neglected to do so.  As 
well, do you also

have a mysql user and a mysql group defined?
yes, but I'm confused, why would the mysql user need a shell and login 
password.
No password means that any one could log into the system as the mysql 
user

but how would mysqld switch to the mysql user if it has a password.
I did this on another machine running the same version of FreeBSD and 
was successful.
So far MySQL runs fine on it. I don't recall exactly what I did 
differently.
Would this have a bearing on the screen saver daemon? Or is that 
another issue?


Best Regards,

Duane Whitty
--
[EMAIL PROTECTED]

MySQL user does not need and should not have a login shell.
the entry in the password and group file should be set-up
automatically for you when you install MySQL.

The method I used to install MySQL was to use the ports
system via portupgrade.  Then run mysql_install_db --user=mysql
This sets a lot of things up for you.

As I believe another poster has mentioned you will want to delete
everything under /var/db/mysql/

Also do a chown mysql:mysql /var/db/mysql

Read the chapters in the MySQL manual regarding post-install
tasks under UNIX and securing the initial MySQL accounts.

Hope this helps,

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


Re: permissions dilemma

2006-04-29 Thread Duane Whitty

Duane Whitty wrote:

[snip]



Read the chapters in the MySQL manual regarding post-install
tasks under UNIX and securing the initial MySQL accounts.

Hope this helps,

Duane Whitty

http://dev.mysql.com/doc/refman/5.0/en/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sendmail Compile-Time Configuration - Success

2006-04-29 Thread Duane Whitty

Giorgos Keramidas wrote:

On 2006-04-28 05:07, Duane Whitty [EMAIL PROTECTED] wrote:
  

Duane Whitty wrote:


Duane Whitty wrote:
  

I'm adding LDAP support to my Sendmail configuration.  I couldn't seem
to find the appropriate m4 file in which to declare my APPENDDEF
statements.  My course of action was to include
SENDMAIL_CFLAGS+=-DLDAPMAP in make.conf.  Does this seem like the
correct way to do this for FreeBSD 6-STABLE?



That would be `/etc/make.conf'.

  


No, you probably want something similar to the way SASL2 support is
compiled into the base-system version of Sendmail.  In my `make.conf'
I have the following:

SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS=   -L/usr/local/lib
SENDMAIL_LDADD= -lsasl2

While adding stuff to these variables please keep in mind that GCC on
FreeBSD has a major difference from the default GCC behavior: it does *not*
add /usr/local/include to the default include path or /usr/local/lib to the
default library search path.  So you will have to add them yourself, as
shown above.

- Giorgos



  

Hi,

Thank you Giorgos, this is the right direction.
Your example was most fortuitous, maybe even
prescient. ;)

LDAP support in Sendmail requires that SASL
support also be built in.


My /etc/make.conf now contains

SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2 -DLDAPMAP
SENDMAIL_LDFLAGS=   -L/usr/local/lib
SENDMAIL_LDADD= -lsasl2 -lldap -llber


sendmail -d0.1 -bt now includes LDAPMAP and USE_LDAP_INIT

Thanks for your help.

Respectfully,

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


Sendmail Compile-Time Configuration

2006-04-28 Thread Duane Whitty

Hi,

I'm adding LDAP support to my Sendmail configuration.
I couldn't seem to find the appropriate m4 file in which
to declare my APPENDDEF statements.  My course of
action was to include SENDMAIL_CFLAGS+=-DLDAPMAP
in make.conf.  Does this seem like the correct way to do this
for FreeBSD 6-STABLE?

TIA,

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


Re: Sendmail Compile-Time Configuration

2006-04-28 Thread Duane Whitty

Duane Whitty wrote:

Hi,

I'm adding LDAP support to my Sendmail configuration.
I couldn't seem to find the appropriate m4 file in which
to declare my APPENDDEF statements.  My course of
action was to include SENDMAIL_CFLAGS+=-DLDAPMAP
in make.conf.  Does this seem like the correct way to do this
for FreeBSD 6-STABLE?

TIA,

Duane Whitty

Answering myself:

I gues this isn't correct:

/usr/src/lib/libmilter/../../contrib/sendmail/include/sm/config.h:148:20: 
lber.h: No such file or directory


/usr/src/lib/libmilter/../../contrib/sendmail/include/sm/config.h:149:20: 
ldap.h: No such file or directory


mkdep: compile failed
   *** Error code 1

I'll be continuing to work on this but hopefully someone
here will have dealt with this previously

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


Re: Sendmail Compile-Time Configuration

2006-04-28 Thread Duane Whitty

Duane Whitty wrote:

Duane Whitty wrote:

Hi,

I'm adding LDAP support to my Sendmail configuration.
I couldn't seem to find the appropriate m4 file in which
to declare my APPENDDEF statements.  My course of
action was to include SENDMAIL_CFLAGS+=-DLDAPMAP
in make.conf.  Does this seem like the correct way to do this
for FreeBSD 6-STABLE?

TIA,

Duane Whitty

Answering myself:

I gues this isn't correct:

/usr/src/lib/libmilter/../../contrib/sendmail/include/sm/config.h:148:20: 
lber.h: No such file or directory


/usr/src/lib/libmilter/../../contrib/sendmail/include/sm/config.h:149:20: 
ldap.h: No such file or directory


mkdep: compile failed
   *** Error code 1

I'll be continuing to work on this but hopefully someone
here will have dealt with this previously

Duane Whitty

Maybe SENDMAIL_ADDITIONAL_MC in make.conf will work
with the needed APPENDDEF statements in my ldap.mc file?

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


Re: permissions dilemma

2006-04-28 Thread Duane Whitty

jekillen wrote:


On Apr 28, 2006, at 5:38 PM, Gerard Seibert wrote:


jekillen wrote:


Hello:
I have had a problem with installing MySQL 5.0.18 on a FreeBSD v 6.0
installation
where everything seems to compile and install correctly but the server
crashes
immediately on start up with permission to create/write it's .pid file
denied.
Then the screen saver daemon refuses to start in X windows with a
permission denied
error. It originally worked fine. But at some point recently the screen
saver quit working.
When I went to Gnome preferences and tried to set the screen saver I 
was

informed that the screen saver daemon wasn't running. When I tried to
have it
start I was presented with the permission denied error and to check the
$path
variable.
I tried installing MySQL twice, each time with the same problem.
As I understand it, permissions in Unix are part of the file system
format.
The only possible link between MySQL and the screen saver daemon,
possibly, is the
mysql user needed to run mysqld.

Could I have a corrupted file system in such a way as to cause
permission problems?

thanks in advance.
JK


Are you starting MySQL with the script in /usr/local/etc/rc.d/ upon
bootup?

--
Gerard Seibert
[EMAIL PROTECTED]

Boy that was fast, I just posted this message a moment ago...
No I was just testing it using the mysqld_safe --user=mysql  approach.

Hi,

As you don't mention it explicitly, did you run mysql_install_db 
--user=mysql ?
I know the first time I installed MySQL I neglected to do so.  As well, 
do you also

have a mysql user and a mysql group defined?

Best Regards,

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


Re: How do you tell pkg_add to just download the packages ?

2006-04-19 Thread Duane Whitty

Low Kian Seong wrote:

Dear all,

I come from a debian background, and in debian you can pass an argument to
apt-get to tell it to download all the packages first without installing
them first, is there a similar argument that I can pass to pkg_add ( I want
to use binaries ) or are there other tools I can use ?

Thanks.
___
  

Hi,

Try portupgrade(1)  (man 1 portupgrade)

# cd /usr/ports
# portupgrade -NFPPv  name-of-package

This says this may be a new installation N
Go get the files (packages), do not install anything F
Use packages only, fail if packages not available PP (important to use 
two upper-case Ps here)

Be verbose v

If you also want to fetch dependencies you can add -R.  This will 
recurse through all

the dependencies the new package needs

# cd /usr/ports
# portupgrade -NFPPRv  name-of-package

Best Regards,

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


KDE + GNOME?

2006-04-19 Thread Duane Whitty

Hello everyone,

I'm contemplating installing GNOME .  I am currently
using KDE.  Does anyone know of any issues I should
be aware of before I proceed.  I'm mostly concerned
about dependency issues, especially wtih respect to the
xorg clients and firefox.

Essentially I would like to be able to choose which
environment I am going to run on a per-session basis.
Any hints, pointer, RTFMs, would be greatly appreciated.

Sincerely,

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


Re: KDE + GNOME?

2006-04-19 Thread Duane Whitty

Duane Whitty wrote:

Hello everyone,

I'm contemplating installing GNOME .  I am currently
using KDE.  Does anyone know of any issues I should
be aware of before I proceed.  I'm mostly concerned
about dependency issues, especially wtih respect to the
xorg clients and firefox.

Essentially I would like to be able to choose which
environment I am going to run on a per-session basis.
Any hints, pointer, RTFMs, would be greatly appreciated.

Sincerely,

Duane Whitty

Perhaps I should be more clear.  Is there anyone reading
who currently has KDE 3.5.x and GNOME 2.12.x installed
concurrently on their systems?  Did you experience installation
problems with respect to dependencies?   Are you able to choose
between running KDE and GNOME as simply as by running
startkde or startgnome (or whatever the start gnome command is)?

I like KDE and some of its applications and I don't necessarily wish
to switch to using something else exclusively.  I have many good
things about GNOME and would like to try it out.  I want to be able
to switch back-and-forth whenever I want.  Has anyone else tried this?

Thanks for your responses.

Sincerely,

Duane Whitty
--
[EMAIL PROTECTED]

P.S.

I looked at the FAQ and DOCs but
didn't see this mentioned. Did I miss
something?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE + GNOME?

2006-04-19 Thread Duane Whitty

Duane Whitty wrote:

[snip]

... I want to be able to switch back-and-forth whenever I want.  Has 
anyone else tried this?


Thanks for your responses.

Sincerely,

Duane Whitty

Thanks again for the responses.

I am now busily building GNOME 2.12
from ports.

Sincerely,

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


Re: Your message to freebsd-questions awaits moderator approval

2006-04-19 Thread Duane Whitty

[EMAIL PROTECTED] wrote:

Your mail to 'freebsd-questions' with the subject

Re: KDE + GNOME?

Is being held until the list moderator can review it for approval.

The reason it is being held:

Too many recipients to the message

Either the message will get posted to the list, or you will receive
notification of the moderator's decision.  If you would like to cancel
this posting, please visit the following URL:


http://lists.freebsd.org/mailman/confirm/freebsd-questions/e1c5fa0ef8c1ce38533ad2da0e4ef7c4599f1245


PLEASE NOTE!  If you would like to post freely to the list, please
subscribe first.  If you post from multiple addresses, you can
subscribe each address and go into the options page and select 'no
mail' for all but one address. This will allow you to post without
delay in the future.

Sorry for the hassle, but certain immature people made this necessary.



  

Hmm,

Well anything I can do to help the fight against spam and email abuse I 
guess.


Too bad real spam still manages to get through...

Oh, and why was this sent to the list and not to my personal address?
Of course I felt compelled to whine publicly.   ; )

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


Re: Device busy

2006-04-15 Thread Duane Whitty

Guus De Graeve wrote:

   Hello,
   I was wondering if someone could help me with an anoying problem i
   having for a while now.
   It's about my printer a 'Brother HL-2030', it's attached to my first
   usb port and recognized by the kernel as /dev/ulpt0.
   ulpt0: Brother HL-2030 series, rev 2.00/1.00, addr 2, iclass 7/1
   ulpt0: using bi-directional mode
   When i try to print to my printer with a basic test like 'echo Test 
   /dev/ulpt0' i get the message /dev/ulpt0: Device busy.
   The problem is that i can't think of any other running proces that
   could be using the port to.
   My FreeBSD version is 6.0
   Thanks,
   Greetings Guus De Graeve,
___
  

Hi,

I believe the problem is actually that your printer does not accept plain
text input.  You need to run it through a filter first.  The problem is that
many new printers only accept input in the form of a binary command
language.  In the case of this printer it is through GDI, a windows 
standard.

I notice on the Brother website that a linux driver is available.  Perhaps
this would be a starting point.

It would definitely be worth checking out CUPS, the Common UNIX Printing
System.  I don't know if it supports this particular printer but it 
seems to

offer support for a lot of different printing devices.

Hope this helps,

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


Re: Improving kde perfomance...

2006-04-15 Thread Duane Whitty

Paulino Calderon wrote:

Hey folks, Ive been googling about howto improve kde perfomance, i ve always
used fluxbox as my wm but recently I got a new laptop, it has a 3.2 ghz
processor, 1 gb of ram, and an ati mobility radeon x600 wiith 256 mb of
video meomry so I decided to try kde but so far the perfomance has benn
really poor, cpu usage is always between 20-25% eventhough im not doing
anything, most apps takes between 5 and 10 seconds to start, and even the
mouse pointer feels like it gets stuck when i move it too fast, is this as
fast as it gets for kde? or do you guys think there is osmething wrong with
my installation? I instaleld it via ports by the way.

Thanks for your help.
___
  

Hi,

When you say you installed it from ports, do you mean
you installed it as a package from ports or that you
built it from source?

Duane Whitty

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


Re: WAN setup help.

2006-04-12 Thread Duane Whitty

Marwan Sultan wrote:

Hello Gurus,

  I have a Head Office, and have 2 Restaurants in diffrent areas,
  I have been told that i can link them all together, WAN. them.

  Can please someone explain to me how to do that? all to be as a one 
network.


  I understand that I need router in each branch, including the HQ 
but, what is the router?

  can FreeBSD configured to be this router?
  how to link all of them Together?

  Thank you for your support.
  Marwn Sultan.


Hi,

I have recently configured a simple VPN to connect mobile
users to a central office.  With this experience behind me,
my advice to you is to get a professional in your local area
to do this for you.

This may cost you a little more upfront but in the long run
it will save you time, money, and a lot of headaches.  From
your question I believe it will take you a long time to
accomplish what you want, you will spend money on equip-
ment that you either don't need or doesn't do the job adequately
if at all.  And in the end you will have a configuration you may
not be really satisfied with in terms of security and performance.

I don't mean to sound unkind here or overly negative about what
you can accomplish on your own given the time and money.  But
there are a lot of issues to take into consideration which you may
not think are important now or which you may not even know exist
that will have a big impact on what you need to do.

I wish you the best of luck and I also want to assure you that what
you want to do has been done many times and a professional should
have no problems doing this for you.  If he appears unsure of how to
proceed then he probably hasn't done it before and is figuring it out
as he goes.

Sincerely,

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


Re: OT - Scalable email server solution needed

2006-04-11 Thread Duane Whitty

Duane Whitty wrote:

Hi,

My appologies in advance for the OT post.
This probably more appropriately belongs on ISP@ but
there doesn't seem to be much traffic there.

To the point:  I'm about to provide hosting services,
including but not limited to email, to a few local
business.  Right now I have Sendmail configured
and I was about to install Courier-IMAP.  My
concern is future scalability.  I'm not sure sendmail
is the right back-end MTA.  Right now Sendmail
and Procmail will work fine I believe with the addition
of an IMAP server.  But what about later on?

I was looking at DBmail but I'm not sure just how
much activity that project has so I'm a little leary,
but perhaps that's unjustified?  So now
I'm considering Exim or POSFIX.  The Sun Java
Communications Server looks appealing but unless
I misunderstood I don't have anywhere near the
bankroll for that yet and it doesn't look like a good
fit for a start-up operation anyhow.

I like that POPular port and the way it uses proxies etc.,
but it doesn't seem to support IMAP.

Is there anyone on the list who might be serving many
business customers each with many users who would
be willing to share their insights or opinions on this?

From my past experiences, transitioning from a low volume
solution to a high volume solution, regardless of the application
domain, is usually best solved by making the right choice in
the beginning.  It would seem like an important marketing
tool as well.

If I am way of base here or missing something really
important I'd appreciate the heads-up.

Thanks in advance for any help.

Sincerely,

Duane

Hi,

I would like to say thank you to everyone who has replied
to my query, both on and off this list.  Your input is much
appreciated.

I've read everyones answers and I have found them very
educational and helpful.

I have learned two things as a result of the help people have
offered.  First, everyone has their favourite mail solution, and
secondly, I am not in a position to decide which email system
is best for me at this time because I have not yet educated
with regards to the issues.

I believe that before I move away from the base email system
provided with FreeBSD, and the support and maintenance
attention it receives as part of the base system, I should
learn more about it.  I also need to learn more about it before
I agree to support an email solution for other people.  For this
reason I have decided to use an external provider, for the short
term, to meet the needs of those who have approached me for
hosting services.

I am basically taking my own advice.  In an earlier post on a
different thread I advised that people need to learn the tools
they are using before they can make conclusions about those
tools shortcomings.  If I can't make educated conclusions for
myself regarding Sendmail's strengths and shortcomings then
how can I reasonably expect to evaluate its replacement?  I
don't believe I can.  So I must learn the details of SMTP,
IMAP, Sendmail, mailfilters, and any other tools I will need
to use.  Then after using these tools for a while I will be in a
better position to evaluate them.


Right now I have a working installation of Sendmail that seems
reasonably secure.  It uses the DNS and after several tests it
appears to be closed to relaying.  I feel somewhat confident
about my DNS: it uses internal and external views, it doesn't
leak any internal information, it only does recursion for clients
on my private net, it only allows zone transfers to my authorized
secondary, and my secondary is geographically removed (somewhat).

With this foundation behind me I have started to do some more
reading.  I have read, from start to finish, RFCs 4234 (ABNF),
2821 (SMTP), 2822 (Internet Message Format), and 2476
(Message Submission).  I am currently reading the Bat Book
and the Sendmail Cookbook.

From the start I will be heeding the advice of several posters who
recommended using maildir format.  To implement that I will be
using Procmail, at least to start, as soon as I learn a little more
about Sendmail.

I hope no one feels I have wasted their time and I would truly
appreciate further comments that you believe might aid me on
my path.

Sincerely,

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


UFS extended attributes

2006-04-09 Thread Duane Whitty

Hi,

Started doing a little reading on the UFS and UFS2
file systems.  I'm just wondering if all types of files
have extended attribute blocks available including
named pipes, sockets, and device files?

Is it still the case that there are three unused extended
attribute blocks available?

Sincerely,

Duane Whitty

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


Re: Newbie help!

2006-04-09 Thread Duane Whitty

infernus - Bluelight wrote:


Sorry for bothering this mailing list, but I realy need some help..
I find awsome screenshots from FreeBSD on various sites on the net, 
but on my comp,

the only thing I see is a black screen with some white text on it, and:

$|

-
I just tested some commands on random, and found that info show some 
kind of list with information on each something..


How do I enter some kind of interface, or desktop, like on the 
screenshots?
Is there a web-site or enything with tutorials explaining how to do 
all this..


I was thinking about setting up a FTP and Apache server +mail maybe..
But now when I see this black screen and don't have a clue on what to 
do, or how to do enything..

I feel the hope is dripping into the sink!

Please help me somehow, with tutorials and important information for 
starters..



Thanks a lot..  Ivan S. - Norway

___

Hello,

Do you have access to a web browser to view the handbook?

If not you can install a good text based one until you install
your graphical user interface.

/usr/local/bin/lynx file:///usr/share/doc/en/books/handbook/index.html

If this does not work then do the following

su - root
cd /usr/ports/www/lynx
make install clean
exit
/usr/local/bin/lynx file:///usr/share/doc/en/books/handbook/index.html

This should let you view the English version of the hanbook


Sincerely,

Duane Whitty

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


Re: Hard crash on 6.x -- reproducible, multiple people affected

2006-04-09 Thread Duane Whitty

Peter Thoenen wrote:

--- Kris Kennaway [EMAIL PROTECTED] wrote:
  

On Sun, Apr 02, 2006 at 04:09:30PM -0400, Anish Mistry wrote:


It's not clear what he means by hard crash, but he also says
power off, which is the part that is most confusing to me.


Hmmm...I missed that part.  Yeah, if it powers off then I'm not
  

sure what you can do to debug it.



By hard crash I mean the box just instantly powers off.  No shutdown
syncs, no error, panic's, or dump generated, nothing logged in syslog,
and I have a serial cable hooked up to another another dumb terminal
hoping to maybe catch a panic or some debug message dumped out over
serial as it goes down but nothing there also.  It just stops. 


Also note that this didn't happen on 5.x.  And when not running those
particular ports the box stays up just fine for weeks on end.  Just
tried again with 6.1 PRERELEASE and same issue.

  

About all I can think of is to try to reproduce the problem with
enough logging enabled (e.g. running the binary under ktrace), with
sync-mounted filesystem, and hope that the last few entries give the
software developer enough of a clue what the process was doing at the
time of shutdown (the operation itself probably will not be logged)
that he can focus the investigation further.



Want to walk me through this and will do.  As I said, reproducible.

NOTE: I doubt it a linux syscall issue as i2p / freenet / and tor are
all build on FBSD, not linux binaries.  Freenet and I2P do use
linux-java (as the new diablo ones aren't avaiable for amd64) BUT tor
does not.  Its all C.  Also as noted, other people (using i386, not
just amd64) have emailed me (as the tor maintainer) with the exact same
problem on entirely different hardware (different nics, motherboards,
proc's etc etc).  Somebody suggested maybe a ACPI issue but I just
don't see how that could me it.

___

  

Anyone got a hardware debugger (breakout box) they know how to use?
I don't hear much about them anymore but I think this is the kind of
problem they were useful for helping with.  Maybe I'm thinking of
something else, its been a long time.

Duane

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


OT - Scalable email server solution needed

2006-04-07 Thread Duane Whitty

Hi,

My appologies in advance for the OT post.
This probably more appropriately belongs on ISP@ but
there doesn't seem to be much traffic there.

To the point:  I'm about to provide hosting services,
including but not limited to email, to a few local
business.  Right now I have Sendmail configured
and I was about to install Courier-IMAP.  My
concern is future scalability.  I'm not sure sendmail
is the right back-end MTA.  Right now Sendmail
and Procmail will work fine I believe with the addition
of an IMAP server.  But what about later on?

I was looking at DBmail but I'm not sure just how
much activity that project has so I'm a little leary,
but perhaps that's unjustified?  So now
I'm considering Exim or POSFIX.  The Sun Java
Communications Server looks appealing but unless
I misunderstood I don't have anywhere near the
bankroll for that yet and it doesn't look like a good
fit for a start-up operation anyhow.

I like that POPular port and the way it uses proxies etc.,
but it doesn't seem to support IMAP.

Is there anyone on the list who might be serving many
business customers each with many users who would
be willing to share their insights or opinions on this?

From my past experiences, transitioning from a low volume
solution to a high volume solution, regardless of the application
domain, is usually best solved by making the right choice in
the beginning.  It would seem like an important marketing
tool as well.

If I am way of base here or missing something really
important I'd appreciate the heads-up.

Thanks in advance for any help.

Sincerely,

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


Re: Switch from SATA-RAID to gmirror?

2006-04-06 Thread Duane Whitty

Ashley Moran wrote:

On Thursday 06 April 2006 12:13, Wojciech Puchar wrote:
  

i think - just YES. no problem



Wojciech

You were right to have faith!  It went perfectly and the server is now up on 
gmirror.  Only took 90 mins or so to rebuilt a 200GB disk too.


I've got to say this gmirror thing is scarily easy to set up.  I just hope 
when/if one of the disks die it will carry on running!


Ashley
  

Hi Ashley,

I'm glad things worked well for you.  Faith got you this far
but how long do you want to depend upon it?

A long time ago I was tasked with the administration of some
HP-UX boxes running on K-series hardware.  I didn't setup the
hardware and I didn't do the system install but I was expected,
as the systems consultant, to give reasonable assurances that in
the case of system failure the recovery procedures would work.
As it turns out I had to also write those procedures.  After I did
so I insisted that a failure be simulated and that it be determined
whether or not we could recover our operation starting from
scratch with just our backups and system tapes.  After all, there is
no one easier to fire than a consultant and it's always the consultant's
fault :)

So my recommendation is that you simulate a disk going bad now
before it happens for real.  For instance, what happens if you unplug
the disk from the controller, or remove its power connection, etc?

Just my $0.02

--
Duane Whitty

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


Re: Running an X application as root? (getting printer set in openoffice)

2006-04-06 Thread Duane Whitty

Oliver Iberien wrote:
In order to set the printer setting for openoffice.org-2.0.2 I have to, as far 
as I know, run the program /usr/local/openoffice.org-2.0.2/program/spadmin as 
root. (The default settings are for lp and I am using cups.) It's a series of 
dialogs in windows and so I've tried to set the display. I get a no protocol 
specified error.


bsd# setenv DISPLAY :0.0
bsd# /usr/local/openoffice.org-2.0.2/program/spadmin
Xlib: connection to :0.0 refused by server
Xlib: No protocol specified

I18N: Operating system doesn't support locale en_US
Xlib: connection to :0.0 refused by server
Xlib: No protocol specified

/usr/local/openoffice.org-2.0.2/program/spadmin.bin X11 error: Can't open 
display: :0.0

   Set DISPLAY environment variable, use -display option
   or check permissions of your X-Server
   (See man X resp. man xhost for details)

I looked at the xhost page and tried:

bsd# xhost +root
Xlib: connection to :0.0 refused by server
Xlib: No protocol specified

The same thing happened with xhost +. What am I missing?

Oliver

PS Using sudo does not work as for some reason when I try to run spadmin with 
sudo, spadmin can't find libraries it needs that are in its own folder. 
su-ing gets the same result as running as root, and deleting 
~/.openoffice.org-2.0.2 and running spadmin as a normal user changes 
nothing -- apparently nothing printer-related is in there. 
___
  

When you built OOo did you use the -DWITH_CUPS option?

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


Re: FIXED Running an X application as root? (getting printer set in openoffice)

2006-04-06 Thread Duane Whitty

Oliver Iberien wrote:
About 30 seconds after I finally sent this, I found the answer. It's always a 
matter of phrasing the Google search correctly:


$ xhost +local:local
non-network local connections being added to access control list
$ su
Password:
bsd# /usr/local/openoffice.org-2.0.2/program/spadmin
I18N: Operating system doesn't support locale en_US
bsd#  

... and it worked. xhosts refers to networks not usernames. You run it as a 
normal user, then switch to su, then execute the command. I found the answer 
here:


http://lists.suse.com/archive/suse-xfree86/2004-Feb/0028.html

Sounds like a really insecure thing for a sysadmin to do, though. I'm just the 
only user of a home machine. Sorry for using up list space, but perhaps this 
might help someone else down the line.


Oliver

On Thursday 06 April 2006 18:08, Oliver Iberien wrote:
  

In order to set the printer setting for openoffice.org-2.0.2 I have to, as
far as I know, run the program
/usr/local/openoffice.org-2.0.2/program/spadmin as root. (The default
settings are for lp and I am using cups.) It's a series of dialogs in
windows and so I've tried to set the display. I get a no protocol
specified error.

bsd# setenv DISPLAY :0.0
bsd# /usr/local/openoffice.org-2.0.2/program/spadmin
Xlib: connection to :0.0 refused by server
Xlib: No protocol specified

I18N: Operating system doesn't support locale en_US
Xlib: connection to :0.0 refused by server
Xlib: No protocol specified

/usr/local/openoffice.org-2.0.2/program/spadmin.bin X11 error: Can't open
display: :0.0
   Set DISPLAY environment variable, use -display option
   or check permissions of your X-Server
   (See man X resp. man xhost for details)

I looked at the xhost page and tried:

bsd# xhost +root
Xlib: connection to :0.0 refused by server
Xlib: No protocol specified

The same thing happened with xhost +. What am I missing?

Oliver

PS Using sudo does not work as for some reason when I try to run spadmin
with sudo, spadmin can't find libraries it needs that are in its own
folder. su-ing gets the same result as running as root, and deleting
~/.openoffice.org-2.0.2 and running spadmin as a normal user changes
nothing -- apparently nothing printer-related is in there

Sorry,  guess I should have kept reading.  Looks like I misunderstood 
the problem


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


Re: software recommendation

2006-04-04 Thread Duane Whitty

fbsd_user wrote:

I am looking for am application that will simulate a browser and
allow me to program responses to filling in forms from the internet
application the browser is accessing.

I have read about this type of thing before and even seen it
mentioned on this list but at the time I had no interest in it. I
don't even know what this type of function is called so I can not do
a successful web search or ports search. I tried the words scraping,
session capture, and browser session simulation all with no luck.

Does anyone know what this is called or the port name if there is
one?


___
  


Try googling (can this really be a word :) ) browser automation name_of 
browser.
I also tried automated website interaction tools but the results didn't 
seem as

promising.  YMMV

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


Re: ipfw dosnt want to run a rule ???? is it possible ? [Was ipfw n'applique pas une regle ???? est-ce possible ?]

2006-04-02 Thread Duane Whitty

michael wrote:

Bonjour,

Ok,

So, i'll correct u're french because u seems to want to learn it and i
think u're french is not to bad
And for my problem do think about a begining of an answer ?

  

Hello,

Thank you for correcting my French.  I need much practice!

As for your ipfw problem, I do not know enough to help you.
I suggest you pose your question again, this time entirely in English
with all the relevant details, to freebsd-questions@freebsd.org and also
to [EMAIL PROTECTED] 


There are many knowledgeable people on
both these lists who may hopefully be willing to help you, especially as
the French language mailing list appears to not be operating any longer.

Sincerely,

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


Installing Horde 3.1.1

2006-04-01 Thread Duane Whitty

Hi,

Anyone out there with experience installing Horde 3.1.1
I'm running 6-STABLE and PHP5-5.1.2_1.  Updated ports
tree 1 April.  I've had a few problems which I have fixed
but then I ran into Pear and Panda problems.

My question is has anyone made this work recently or am I
just chasing my tail?

Thanks in advance,

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


Re: Oops: Deleted /var/named

2006-03-29 Thread Duane Whitty

Olivier Nicole wrote:

  devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
  devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device
  devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device

I can only assume that it has something to do with the files 
in /var/named/dev/ that I have untarred there.  I tried doing a make 



What I can see from my environment (4.11), you only need
/var/named/dev/null, copy it from /dev/null

Olivier
___

  

I have /var/named/dev/random in addition to /var/named/dev/null
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why are so many people using 4.x?

2006-03-29 Thread Duane Whitty

Vaaf wrote:

At 22:34 28.03.2006, Joseph Vella wrote:
I notice a lot of references to version 4.x.  Is there any 
overwhelming reason
why its use seems to be still popular.  I'm wanting to set up a 
server (just
for play) on my home network using a PII machine.  Am I better off 
using an

older version for such old equipment?  If so, do any particular versions
stand out?


FreeBSD, and UNIX for that matter, is based off 30-year-old concepts.
Noboy can deny this. That being said, you can compare the development
of FreeBSD to building a skyscraper on shallow grounds. Naturally, the 
more
you build the more building is likely to collapse. This is now the 
case with

the old FreeBSD (in which a couple of smart guys decided to savior into
DragonFly) versus the new FreeBSD. I think the same thing is happening
with Windows versus Vista. As OS development progresses, this little
theory of mine will become more and more obvious. If anyone on this 
list can

contribute with facts and observations to strenghten this theory, I would
really appreciate it.

Thank you all,
Vaaf

___

Hi,

I was just wondering if you would also welcome observations from list 
members

which may challenge this theory?

Best wishes,

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


Re: Haven't been able to make world in about a year

2006-03-29 Thread Duane Whitty

Hi,

Your previous message reminded me of a previous project
you were working on which I was following closely.  I was
just wondering if you have had any success with make world et al?
I ask because I am very interested in how the build process of FreeBSD
works.  Is there any follow-up available or have you put that on the
back burner until you have more time?

Best wishes,

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


[Fwd: Re: Oops: Deleted /var/named]

2006-03-29 Thread Duane Whitty



 Original Message 
Subject:Re: Oops: Deleted /var/named
Date:   Wed, 29 Mar 2006 13:58:45 +0200
From:   Dimitar Vasilev [EMAIL PROTECTED]
To: Duane Whitty [EMAIL PROTECTED]
References: 	[EMAIL PROTECTED] 
[EMAIL PROTECTED] 
[EMAIL PROTECTED]




ev/null

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


there are some rc knobs to update the chroot environtment with files
which are missing.
try to activate and run named start again.

--
Димитър Василев
Dimitar Vassilev

GnuPG key ID: 0x4B8DB525
Keyserver: pgp.mit.edu
Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[Fwd: Re: Oops: Deleted /var/named]

2006-03-29 Thread Duane Whitty



 Original Message 
Subject:Re: Oops: Deleted /var/named
Date:   Wed, 29 Mar 2006 14:35:52 +0200
From:   Dimitar Vasilev [EMAIL PROTECTED]
To: Duane Whitty [EMAIL PROTECTED]
References: 	[EMAIL PROTECTED] 
[EMAIL PROTECTED] 
[EMAIL PROTECTED] 
[EMAIL PROTECTED] 
[EMAIL PROTECTED]




Yes ;-)
Also try with mtree -p /etc/BSD.var.mtree or whatever it was

Hi,
Did you mean to send this to the list?

--Duane




--
Димитър Василев
Dimitar Vassilev

GnuPG key ID: 0x4B8DB525
Keyserver: pgp.mit.edu
Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[Fwd: Re: package vs ports question]

2006-03-27 Thread Duane Whitty



 Original Message 
Subject:Re: package vs ports question
Date:   Mon, 27 Mar 2006 07:57:04 -0300
From:   Luiz Eduardo Guida Valmont [EMAIL PROTECTED]
To: Duane Whitty [EMAIL PROTECTED]
References: 
[EMAIL PROTECTED] 
[EMAIL PROTECTED]




And I also have a question regarding this matter. :)

When I installed FreeBSD (6.1-BETA4, though I don't think version
makes any difference here), I chose User in one of initial screens
(I can't remember which one that was now, sorry). That pre-selected a
handfull of software to be installed. I have always used ports since
FreeBSD was installed. But...

Does the installation process install any package that may be
overriden by any port?

On 3/27/06, Duane Whitty [EMAIL PROTECTED] wrote:

Huy Ton That wrote:
 I am curious, the key different between packages and ports are that
packages
 are precompiled and ports are not?  Am I erroneous in this statement?  I'm
a
 little confused as I have been always using make install clean from the
 ports and don't see the difference...  Has anyone else had the same
 question?

 -Lee
 _

Hi,

Your best bet is to read the handbook section
on packages and ports.  To answer your question
though, yes packages are pre-built and ports need
to be compiled, linked, etc from sources.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html

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




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


Re: [Fwd: Re: package vs ports question]

2006-03-27 Thread Duane Whitty

Duane Whitty wrote:



 Original Message 
Subject: Re: package vs ports question
Date: Mon, 27 Mar 2006 07:57:04 -0300
From: Luiz Eduardo Guida Valmont [EMAIL PROTECTED]
To: Duane Whitty [EMAIL PROTECTED]
References: 
[EMAIL PROTECTED] 
[EMAIL PROTECTED]




And I also have a question regarding this matter. :)

When I installed FreeBSD (6.1-BETA4, though I don't think version
makes any difference here), I chose User in one of initial screens
(I can't remember which one that was now, sorry). That pre-selected a
handfull of software to be installed. I have always used ports since
FreeBSD was installed. But...

Does the installation process install any package that may be
overriden by any port?


Hi,

I am sorry but I do not understand what you are trying to ask.  Are you 
asking

if  using the ports system will change any software you installed when you
first installed FreeBSD?

I want to make sure that myself and others who may try to answer your 
question

understand what it is you are asking.

Sincerely,

--Duane


On 3/27/06, Duane Whitty [EMAIL PROTECTED] wrote:

Huy Ton That wrote:
 I am curious, the key different between packages and ports are that
packages
 are precompiled and ports are not?  Am I erroneous in this 
statement?  I'm

a
 little confused as I have been always using make install clean from 
the

 ports and don't see the difference...  Has anyone else had the same
 question?

 -Lee
 _

Hi,

Your best bet is to read the handbook section
on packages and ports.  To answer your question
though, yes packages are pre-built and ports need
to be compiled, linked, etc from sources.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html

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






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



--
[]'s,
Luiz Eduardo

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


Re: Adjusting configuration options during port installation?

2006-03-26 Thread Duane Whitty

Matt Singerman wrote:

Hi all,

I am installing an upgrade to the Cyrus email server.  Our existing
email boxes are in a database format that is no longer used by Cyrus;
however, there is a configuration option which will instruct the new
version to use the old database format.  They are

--with-mboxlist-db=berkeley and --with-seen-db=flat

Is there a way to tell the FreeBSD port of Cyrus to use these options?
 I am not extremely familiar with the ports system.

Thanks,

Matt
___
  

Hi,

Yes, you can pass the options along but it depends
which method you are using to manage your ports.
Are you using make ..., portupgrade ..., or perhaps
portmanager ...

Checkout the portupgrade -m switch.

There may also be config and config-recursive targets
for make.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Adjusting configuration options during port installation?

2006-03-26 Thread Duane Whitty

Peter wrote:

--- Duane Whitty [EMAIL PROTECTED] wrote:

  

Matt Singerman wrote:


Hi all,

I am installing an upgrade to the Cyrus email server.  Our existing
email boxes are in a database format that is no longer used by
  

Cyrus;


however, there is a configuration option which will instruct the
  

new


version to use the old database format.  They are

--with-mboxlist-db=berkeley and --with-seen-db=flat

Is there a way to tell the FreeBSD port of Cyrus to use these
  

options?


 I am not extremely familiar with the ports system.

Thanks,

Matt
___
  
  

Hi,

Yes, you can pass the options along but it depends
which method you are using to manage your ports.
Are you using make ..., portupgrade ..., or perhaps
portmanager ...

Checkout the portupgrade -m switch.



No.  The initial install options do not depend on what port management
utility
  
The intended meaning of my statement was not that the initial install 
options
depend upon what port management utility a person is using but rather 
that how

you pass those options through to the underlying make does depend on which
port management utility you are using.

you are using.  However, you do need to prepare for a possible future
upgrade of the port that was installed with non-default compile
options.
If you are using portupgrade then you need to edit pkgtools.conf.  If
you
are using portmanager then you need to edit pkgtools.conf or pm-020.conf.
  

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


Re: package vs ports question

2006-03-26 Thread Duane Whitty

Huy Ton That wrote:

I am curious, the key different between packages and ports are that packages
are precompiled and ports are not?  Am I erroneous in this statement?  I'm a
little confused as I have been always using make install clean from the
ports and don't see the difference...  Has anyone else had the same
question?

-Lee
_
  

Hi,

Your best bet is to read the handbook section
on packages and ports.  To answer your question
though, yes packages are pre-built and ports need
to be compiled, linked, etc from sources.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html

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


Re: Not an easy install

2006-03-25 Thread Duane Whitty

Tim wrote:
Why couldn't you guys make a install easy instead of this and that, ok 
I am a newbie and it should be easy, I have installed Ubuntu, it was 
like a dream, smooth as silk, Fedora pretty much the same FreeBSD, its 
a nitemare if you have never done it, I am now reloading windows and 
then putting back Ubuntu, unless someone over there can make it simple 
even for me.



Tim Stevens


Hi Tim,

I've been using FreeBSD for a few months now after an absence of about
10 years.  Believe me when I say it's way easier now and pretty much just as
easy if not easier as an initial install of say, Solaris(tm) or many 
Linux(tm)

distros which vary widely in how easy they are to install.

So anyway,  hopefully you are installing the latest released
version of FreeBSD intended for general use, FreeBSD 6.0.

Here are the two most important things you can do!

1)Be open to learning something new and forget your expectations.
   There is a learning curve but it is not that bad.

2) Read the FreeBSD Handbook!
  
   I can't stress this enough.  Don't try  reading it from

   start to finish; just read the chapters on installing the
   system and basic setup.  Personally I always enjoy reading the
   introduction and I probably read the installation chapter,
   Chapter 2, six or more times.   Here is the URI
   for the Handbook, assuming you want the English edition.

   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html

Now many on this list may disagree with me but I have always found that 
choosing
the Custom instalaltion (even though it says it's for experts) has been 
the easiest

and most likely to succeed method of installation for me.

The installation chapter will help you with choosing your disk layout.  
My one issue
is the recoomended size of some of the partitions.  If you can spare the 
space I'd go with about 1GB for
/, /tmp, and 2 GB for /var.  This should let you get started without 
complications.
They aren't the exact values recommended in the Handbook, if I recall 
correctly, bu they
work for me.  Oh yes, set your swap to 2 time your amount of RAM (I am 
assuming you

have a modern system, more or less, with at least 256MB of RAM).

After you partition and label your hard drive choose your distribution set.
I recommend choosing All under distributions.  As well, when prompted
as to whether or not you want the Ports infrastructure, say yes.  It will
be worth it when (if) you really start using FreeBSD.

Choose your media.  CD works well and so does FTP. DHCP configuration
of the network works well for me.  I always use passive FTP for my installs
because I am behind a firewall.

If you keep and open frame of mind, ask for help on a specific issue, 
and provide
details about your system and what you are trying to do you will receive 
a lot
of help.  No one likes being told that something they invest a lot of 
time in sucks

by someone who does not use the system.  Please remember that  everyone
here is a volunteer.

If and when you get the base system up and running ask for help to get a GUI
running and how to get different applications running and you will 
probably receive

what you ask for.  *** Always Read The Handbook First ***

For what it is worth FreeBSD 6 is the only operating system on my computer.
It didn't start off that way but for philosophical reasons that's the 
way it is now.

I'd be more than happy to expound those reasons off-list to anyone who would
care, but then everyone has their own reasons.

These are my opinions.  Your mileage may vary, use at your own risk, 
etc., etc.


Best of luck to you.

Sincerely,

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


Re: k3b incorrectly identifies scsi r/w drive as read-only -- Mode sense fails

2006-03-25 Thread Duane Whitty

Oliver Iberien wrote:

On Saturday 25 March 2006 11:46, Andrea Venturoli wrote:
  

Duane Whitty wrote:

Please forgive me for stepping in, but I'm having the same problem,
asked sometime ago and did not get any answer.

My Yamaha burner is still detected as a read-only device.

  bye  Thanks
av.


Hmm, I don't remember writing this at all...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What's that filesystem for a usb flash drive?

2006-03-25 Thread Duane Whitty

Saul Mena Avila wrote:

Hello!. I've been trying to mount my flash memory but it just doesn't let
me.
I use (as root):

mount -t msdosfs /dev/ad0 /flash

The feedback is something like device ad0 doesn't allow action
Can anybody help me?

  

Hi,

Give us the output of uname -a and dmesg.
That way people on the list will have some
information about your system.  As well
include the make and model of the device in
question.  Without this you are unlikely to
receive much (positive) attention.

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


Re: Thanks! and... the su command

2006-03-25 Thread Duane Whitty

Saul Mena Avila wrote:

Hi!. Thanks for helping me with the USB flash memory. I've also have trouble
with the su command... since I installed the FreeBSD 5.4, everytime I try to
login as root with su, the shell answers me with Sorry... and that's all.
Is it wrong configured or installed?

-saul
  

Hi,

Check to see if you belong to the wheel group.
As root
#pw groupshow wheel

If your user name doesn't appear then do this
#pw groupmod wheel -m your_user_name_here

Next time you log in as that user you should
be able to su to root

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


Re: USR 56k Internal WinModem

2006-03-24 Thread Duane Whitty

Dmitry Pisklov wrote:

How can I set up (if I can do it at all :)) my US Robotics winmodem? I use 
FreeBSD 6.0 stable. Here's what says pciconf:

[EMAIL PROTECTED]:2:0: class=0x078000 card=0x008112b9 chip=0x100612b9 rev=0x00 
hdr=0x00
vendor   = '3COM Corp, Modem Division (Formerly US Robotics)'
device   = 'USR 56k Internal WinModem'
class= simple comms

I've found no drivers for it... 



Best regards,
šš Dmitry Pisklov
šš Developer
šš StarSoft Development Labs

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



  

I am sorry to say you are facing an uphill battle.
There is very little support for host-based modems.
I have the same problem with my Conexxant modem
that came with my cheap little Dell computer, which
by the way FreeBSD does a great job of supporting.

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


Re: k3b incorrectly identifies scsi r/w drive as read-only -- Mode sense fails

2006-03-24 Thread Duane Whitty

Oliver Iberien wrote:

On Friday 24 March 2006 12:29, you wrote:
  

On 3/24/06, Oliver Iberien [EMAIL PROTECTED] wrote:


On Friday 24 March 2006 12:12, you wrote:
  

On 3/24/06, Oliver Iberien [EMAIL PROTECTED] wrote:


I've got my Plextor PX-W4012S SCSI R/W drive recognized by k3b by
  

adding
  

ALL ALL = NOPASSWD: /sbin/camcontrol devlist
to sudoers and starting k3b with sudo. Unfortunately, k3b has the
idea that
this is read-only. 
  

[snip]
  
[snip]
  

but /etc/devfs.conf (i think) has places where you can set the
permission to devices.  I believe I did 0666 (read/write to all) for
acd0, cdrom0,...


pass0,
  

[snip]
  

I had done that. I can access the drive, but it is still not being
correctly
recognized as a writer.
  

[snip]
  

What happens when you run k3b as root (just to test)

Also, what are the permissions on
(assuming the writer is the first cd device)
/dev/cd0
/dev/acd0
/dev/pass0



From /etc/devfs.conf:
own acd0root:wheel
own cd0 root:wheel
own pass0   root:wheel
permpass0   0666
permacd 0666
permcd0 0666
perm/cdrom  0666
perm/cdrom1 0666
own /cdrom  0666
own /cdrom1 0666
  

Hi,

I believe you may also need in defs.conf
perm   xpt0   0666


--Duane

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


[OT] What's in a name? FreeBSD 6.1-PRERELEASE #1

2006-03-24 Thread Duane Whitty

Hi all,

I recently built 6-STABLE and I was wondering what
the #0 and #1 refer to in the uname

FreeBSD dwpc.dwlabs.ca 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #1: Fri Mar 
24 19:34:58 AST 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/DWPC-200603230410  i386


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


Re: [OT] What's in a name? FreeBSD 6.1-PRERELEASE #1

2006-03-24 Thread Duane Whitty

Chris Hill wrote:

On Fri, 24 Mar 2006, Duane Whitty wrote:


I recently built 6-STABLE and I was wondering what
the #0 and #1 refer to in the uname

FreeBSD dwpc.dwlabs.ca 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #1: Fri 
Mar 24 19:34:58 AST 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/DWPC-200603230410 i386


I think that refers to the number of times you've (re)built the 
kernel. So a fresh install will be #0, but it looks like you've 
changed your configuration and rebuilt the kernel once since then.


FreeBSD seems to need far less kernel config tinkering now than it 
used to. I recall doing a lot of kernel builds back in the 2.2.x days 
just to make my hardware useable (or maybe I was dinking with it just 
because). Anyway, the # number would increment with each kernel 
build/install.


--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]

Hi,

Yeah, that makes sense.  Usually I make a new kernel config file for each
time I rebuild because I've changed something.  This time however all I did
was checked out the RELENG_6 code from my local repository for m,y build.
I kept my kernel config from my last build.

Thanks for the info

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


Re: encrypted drives

2006-03-22 Thread Duane Whitty

Erik Norgaard wrote:

Hi:

1) I was thinking, what is the performance penalty of storing data on 
an encrypted device? Sure, for writing documents, coding and stuff, I 
guess the performance loss is insignificant, but for music and video 
which then needs to be decrypted and then decoded, is this a problem?


2) One thing is to create an entire encrypted device for /home. But 
that have the unfortunate consequence that other user's data is 
unencrypted once the system is up.


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


If not, then the alternative would be to have a private mfs in the 
user's home dir which is mounted after login, but I think yet the user 
needs root access to mount encrypted devices.


Is there any possibility for users to mount their own encrypted mfs?

Thanks, Erik


Hi Erik,

Perhaps this would interest you:

http://events.ccc.de/congress/2005/fahrplan/attachments/586-paper_Complete_Hard_Disk_Encryption.pdf

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


Dropping into ddb from kernel panic

2006-03-21 Thread Duane Whitty

Hi,

I am trying to learn how to trace kernel issues
or determine if a problem even is a kernel issue.

Here are the debugging options I have set in my kernel config.

makeoptions  DEBUG=-g

options  KDB
options  KDB_TRACE
options  DDB
options  KTRACE

options AHC_REG_PRETTY_PRINT
options AHD_REG_PRETTY_PRINT

#sysctl -a
debug.debugger_on_panic: 1

I am trying to track down two system crash problems.

One is a kmem_map issue.

Are my kernel debug options correct or am I missing
anything (memguard perhaps)?


Would being in an X session interfere with dropping
into the debugger?

Are there any specific options I should set  in the make.conf
for the buildworld/buildkernel process?

Thanks in advance for any pointers

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


make.conf syntax

2006-03-20 Thread Duane Whitty

Hello all,

I believe I used the wrong syntax in my make.conf
I used

NO_PROFILE=YES

Should I have instead used

NO_PROFILE=YES

or

NO_PROFILE=TRUE


Is YES and TRUE and 1 equivalent in this context?

Thanks in advance,

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


Re: make.conf syntax

2006-03-20 Thread Duane Whitty

Duane Whitty wrote:

Hello all,

I believe I used the wrong syntax in my make.conf
I used

NO_PROFILE=YES

Should I have instead used

NO_PROFILE=YES

or

NO_PROFILE=TRUE


Is YES and TRUE and 1 equivalent in this context?

Thanks in advance,

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





Hi,

Sorry for the noise; I answered my own question.
Yes, my syntax was wrong. NO_PROFILE takes a bool
not a string value.

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


Re: make.conf syntax

2006-03-20 Thread Duane Whitty

Erik Trulsson wrote:

On Mon, Mar 20, 2006 at 07:00:08PM -0400, Duane Whitty wrote:
  

Hello all,

I believe I used the wrong syntax in my make.conf
I used

NO_PROFILE=YES

Should I have instead used

NO_PROFILE=YES

or

NO_PROFILE=TRUE



It shouldn't matter.

  

Is YES and TRUE and 1 equivalent in this context?



Yes, and they are also equivalent to NO or FALSE.
The makefiles only check if NO_PROFILE is defined, not what it is 
defined as.

This is true for many other makefile variables as well.


  

Thanks,

I've been reading make.conf(5) and so I now
understand what you mean.  I should have defined
a variable for myself before I started, first_step=RTFM

Thanks for everyone's patience,

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


Re: Trouble searching mailing list archives

2006-03-18 Thread Duane Whitty

fbsd_user wrote:

I use this http://freebsd.rambler.ru/  lags 15 min behind what is
posting to the list


***
The archive at gmane seems quite useful and it's searchable here:
http://search.gmane.org/?query=email=group=gmane.os.freebsd.questi
onssort=relevanceDEFAULTOP=andxP=compat5.xFILTERS=Gos.freebsd.qu
estions---A

It's fast too.  (Sorry about the long URL).

-

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



  

Hi,

Many thanks to everyone.  I now consider myself
well armed for current and future information
searching.  It never hurts to have more than one or
two ways to find something.  It also looks as though
some of this information is applicable to more than
the FreeBSD lists.

Thanks for sharing your techniques and even more
importantly your time.

Sincerely,

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


Re: Portupgrade fails to upgrade after using portsnap

2006-03-18 Thread Duane Whitty

Donald J. O'Neill wrote:

On Saturday 18 March 2006 12:06, Jez Hancock wrote:
  

Hi Donald,

Thanks for the replies.

On 3/18/06, Donald J. O'Neill [EMAIL PROTECTED] wrote:


On Saturday 18 March 2006 08:06, Jez Hancock wrote:
  

Hi all,

For a long time I've been using cvsup and portupgrade to update
the ports tree once a week; this has worked well for years now. 
Recently though I changed to using portsnap to update the ports

tree, still using portupgrade once a week to update the ports.  I
followed the method outlined in the handbook more or less for
upgrading using portsnap, essentially running a cronjob:

portsnap cron  portsnap update  portupgrade -arRF 
pkg_version -v -I -l 

to grab and extract the latest port snapshot, fetch any newer
port distfiles/tarballs and then report by mail what ports are
out of date.

This worked well for a few weeks up until Feb 25th - since then
not a single out of date port has been reported and 'portupgrade
-arR' fails to upgrade anything. I thought this might have been
to do with the recent ports freeze, though checking now I see
that only went on from the start of March...

I've changed back to use cvsup and the old method - basically
'cvsup -g -L2 supfile  cd /usr/ports  make fetchindex 
portsdb -u' - but still no joy.  I was convinced it was the ports
db files that were out of synch and thought this might do the
trick to fix the problem, but unfortunately no - if I view the
resulting INDEX file from this procedure I can see there are
ports out of date as well, it's just 'portupgrade -arR' etc
refuses to find any updates.

Questions then:

What could the problem be?
For future reference what is the best way to purge the ports
system of out of date db files and regenerate them all so
'portupgrade -arRi' will work?

Cheers.
--
Jez Hancock
___


Jez,

I think my first response was a little unkind and I apologize for
that.

The way I see it, your cronjob succeeded in doing what you set it
to do. It just didn't do what you wanted.

First, portsnap requires fetch to get the files it needs, 'portsnap
upgrade' doesn't do that. You need to run 'portsnap fetch upgrade'
or 'portsnap fetch'  ' portsnap upgrade'. Had you done that, it
probably would have worked and you would have gotten something from
the portupgrade portion of your cronjob. As it was, there was
nothing new for portupgrade to work with and report.
  

Ok, I think you posted that before I clarified things in my last post
:)

By the by anyway... the issue I have is that when I run pkg_version
or portversion I'm told there are a dozen or so ports need upgrading.
However when I run portupgrade, portupgrade finds no ports to
upgrade. Very frustrating.

The general gist is in the following typescript/commandline output:

[14:43:05] [EMAIL PROTECTED] /usr/ports#  portversion -vl 
bash-3.1.10   needs updating (port has 3.1.10_1)
mtr-nox11-0.69_2  needs updating (port has 0.69_3)
mutt-devel-1.5.11_1   needs updating (port has 1.5.11_2)
mysql-server-4.0.26_1 needs updating (port has 4.0.26_2)
netpbm-10.26.25   needs updating (port has 10.26.26)
nmap-4.01 needs updating (port has 4.01_1)
p5-Archive-Tar-1.28   needs updating (port has 1.29)
p5-Mail-Tools-1.73needs updating (port has 1.74)
p5-XML-RSS-1.05_1 needs updating (port has 1.10)
tiff-3.8.0_1  needs updating (port has 3.8.1)
vim-6.4.6 needs updating (port has 6.4.6_1)
w3m-0.5.1_4   needs updating (port has 0.5.1_5)

[14:43:10] [EMAIL PROTECTED] /usr/ports# portupgrade -arRi
---  Session started at: Sat, 18 Mar 2006 14:43:16 +
-snip-
** No need to upgrade 'bash-3.1.10' (= bash-3.1.10). (specify -f to
force) -snip-
** No need to upgrade 'mtr-nox11-0.69_2' (= mtr-nox11-0.69_2).
(specify -f to force)
-snip-
** No need to upgrade 'mutt-devel-1.5.11_1' (= mutt-devel-1.5.11_1).
(specify -f to force)

etc etc

This is all the result after running 'cd /usr/ports  make
fetchindex' to get the latest ports INDEX db then running 'portsdb
-u' to update /var/db/pkg/pkgdb.db.

Any ideas why portversion says various ports are out of date but
portupgrade doesn't want to update them?  Is there any db that
portupgrade would use to determine out of date ports other than
/var/db/pkg/pkgdb.db?

Thanks again.

--
Jez Hancock
  - System Administrator / PHP Developer

http://munk.nu/
http://freebsd.munk.nu/  - A FreeBSD Diary
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___


Jez,

I have no clue. If portversion is saying there is a port in need of 
upgrade, 'portupgrade -arRi' should find it. That's a portupgrade 
problem, not a portsnap problem. I would suggest trying portmanager and 
see if that works. Both portmanager and portupgrade work for me. There 
are times where I prefer to use one 

Re: Thunderbird + Mozilla Suite

2006-03-16 Thread Duane Whitty

Andrey V. Semyonov wrote:

Duane Whitty wrote:
Strange things... When launched from xterm (or directly from my WM's 
button) /usr/X11R6/bin/mozilla starts mozilla binary normally.


But after such a reconfiguration of TB when I try to open any link 
in TB it prints /usr/X11R6/bin/mozilla: Cannot find mozilla binary 
executable. Exiting. into terminal from X is launched.

___
I am not sure why it is doing that.  Please, do not take offense but 
have you checked

to make sure you did not make any typographical mistakes.
Another point to consider is that /usr/X11R6/bin/mozilla is probably 
not the actual mozilla
binary but rather a shell script to start the browser.  Maybe you can 
find out what the actual
binary is called.  It is probably similar to mozilla-bin, moz-bin, 
etc.  Actually it will be mentioned

in the script but beware though that calling it directly may not work.
Yes, that's a script. And a strange bug was actually in it. I've 
commented out some checks in it and now it works fine. So, thanks a 
lot for help.


(Aside:  I thought the mozilla-suite built in email program was 
essentially thunderbird?
I hope I was correct when I assumed you were using mozilla and not 
firefox?)


No, Mozilla Suit's mail programm is named 'mozilla-mail'. It's heir by 
some shared code is Thunderbird (that's already explained yesterday). 
Thunderbird's feature of RSS-reading is the most necessary feature 
that caused me to use it (mozilla-mail can't read RSS-feeds). But as I 
understand, Thunderbird is mostly compat-ed to Firefox and some kind 
of moved away from Mozilla Suite project. That's why we have to do 
tricks to make these same-family projects do well together now.

___

Thanks for the follow up and for the clarification regarding 
Mozilla-mail and Thunderbird.


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


resolv.conf getting rewritten at system startup

2006-03-16 Thread Duane Whitty

Hi all,

I am running FBSD 6.0-RELEASE

I use  DHCP to configure my network interface.
At startup my resolv.conf is overwritten, setting my
nameserver to the address of the router running DHCP.

I tried commenting out almost all of the rc.d/resolv
startup script but to no avail.

I read the man page for dhcp-options and then proceeded to add
option domain-name-servers a.b.c.d
This was also of no help.

I then remembered something about FBSD 6 no longer using ISC dhcp client.

I am running BIND 9.3.1 with internal and external views of my namespace 
set-up so
it is imperative that I be able to tell hosts on the internal network 
which name server

to use.

If anyone has any ideas I'd appreciate the help.

Thanks in advance,

Duane

P.S.

Is there a man page for the dhcp client FBSD 6 is using
(what is FBSD 6 using)?

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


Trouble searching mailing list archives

2006-03-16 Thread Duane Whitty

Hi all,

Well, first I was having a problem searching the
archives with the pipermail interface.  So after
some helpful advice from Micah (thanks Micah)
is switched to search.html#mailinglists.  This
worked great for a while but now it appears to
be broken.

Is anyone else having this issue?

Duane

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


Re: resolv.conf getting rewritten at system startup

2006-03-16 Thread Duane Whitty

Beech Rintoul wrote:

On Thursday 16 March 2006 12:29, Duane Whitty wrote:
  

Hi all,

I am running FBSD 6.0-RELEASE

I use  DHCP to configure my network interface.
At startup my resolv.conf is overwritten, setting my
nameserver to the address of the router running DHCP.

I tried commenting out almost all of the rc.d/resolv
startup script but to no avail.

I read the man page for dhcp-options and then proceeded to add
option domain-name-servers a.b.c.d
This was also of no help.

I then remembered something about FBSD 6 no longer using ISC dhcp client.

I am running BIND 9.3.1 with internal and external views of my namespace
set-up so
it is imperative that I be able to tell hosts on the internal network
which name server
to use.

If anyone has any ideas I'd appreciate the help.



You need to use supersede like this:

interface ath0   {
supersede domain-name yourdomain.com;
supersede domain-name-servers 127.0.0.1;
}

See man dhclient.conf for more options.

Beech
  

Hi,

That worked perfectly.  Thanks to all for the quick responses.

Sincerely,

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


man dhclient [was Re: resolv.conf getting rewritten at system startup]

2006-03-16 Thread Duane Whitty

Erik Trulsson wrote:

On Thu, Mar 16, 2006 at 05:29:45PM -0400, Duane Whitty wrote:
  

Hi all,

I am running FBSD 6.0-RELEASE

I use  DHCP to configure my network interface

Thanks in advance,


Duane

P.S.

Is there a man page for the dhcp client FBSD 6 is using
(what is FBSD 6 using)?



'man dhclient' should work fine.
FBSD 6 uses the OpenBSD dhclient (which I believe derive from an older
version of the ISC one.)

  

Hi,

Yes, man dhclient in FBSD 6 does work fine.  I misinterpreted
how to apply its instructions.

Duane

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


Re: Trouble searching mailing list archives

2006-03-16 Thread Duane Whitty

John Murphy wrote:

Micah [EMAIL PROTECTED] wrote:

  

you can always use Google with 'site:lists.freebsd.org your key words'



I usually find the interface below most usefullest (sp):
http://groups.google.com/group/mailing.freebsd.questions?hl=en

  

Hi,

Thanks very much.  This is great.  I was having serious
information withdrawl problems :)

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


Re: Thunderbird + Mozilla Suite

2006-03-15 Thread Duane Whitty

Andrey V. Semyonov wrote:

Duane Whitty wrote:

If you did not find an entry named
network.protocol-handler.app.http then
right click on any entry under Preference Name.
Choose New, String.
When you are prompted for the new string type
network.protocol-handler.app.http
When you are prompted for the new value enter the path
of the mozilla web browser launcher.

Follow the same procedures as above to enable support for https.
Everywhere you typed http above type https instead.

I hope this helps.



Strange things... When launched from xterm (or directly from my WM's 
button) /usr/X11R6/bin/mozilla starts mozilla binary normally.


But after such a reconfiguration of TB when I try to open any link in 
TB it prints /usr/X11R6/bin/mozilla: Cannot find mozilla binary 
executable. Exiting. into terminal from X is launched.

___
I am not sure why it is doing that.  Please, do not take offense but 
have you checked

to make sure you did not make any typographical mistakes.
Another point to consider is that /usr/X11R6/bin/mozilla is probably not 
the actual mozilla
binary but rather a shell script to start the browser.  Maybe you can 
find out what the actual
binary is called.  It is probably similar to mozilla-bin, moz-bin, etc.  
Actually it will be mentioned

in the script but beware though that calling it directly may not work.

(Aside:  I thought the mozilla-suite built in email program was 
essentially thunderbird?

I hope I was correct when I assumed you were using mozilla and not firefox?)

As I don't have mozilla installed I am not sure how much more useful I 
can be to you, sorry.

Maybe someone from the list with mozilla and thunderbird installed can help?

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


Re: Thunderbird + Mozilla Suite

2006-03-15 Thread Duane Whitty

Chris Whitehouse wrote:

Duane Whitty wrote:

Andrey V. Semyonov wrote:

Is it possible and what docs do describe setting a mozilla-bin from 
Mozilla Suite as URL-browser in Thunderbird?


Mozilla Suite and Thunderbird are installed from ports.
___


Hi Andrey,

Yes it is possible.  The first step is to check if the
proper configuration entry is present.

In Thunderbird, from the menu bar, choose
Edit, Preferences, Advanced, Config Editor.


What version of Thunderbird do you have? I have 1.0.7 and I don't have 
a Config Editor. I would really like to implement this.


Thanks

Chris
___

I have Mozilla Thunderbird version 1.5 (20060309)

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


Re: Ports upgrade policy

2006-03-14 Thread Duane Whitty

Mike Loiterman wrote:

This is my supfile:

*default  host=cvsup1.FreeBSD.org
*default  base=/usr
*default  prefix=/usr
*default  release=cvs
*default  tag=RELENG_6_0
*default  delete use-rel-suffix

src-all

*default tag=.
ports-all
doc-all

I have been using it like this for years, obviously changing to the latest
release tag.  I haven't had problem and I'm not having problems, but my
question is this:

Is it advisable to sync my source to RELEASE, but to CURRENT for ports?
Typically, I upgade my ports a few days after they get updated so I'm always
running the latest version, but would it be better to sync both ports and
source to RELEASE?
  

Hi Mike,

It would be nice I guess if ports were tagged like src but they are not.
Basically HEAD is all there is vis-a-vis tags.  You can specify a
specific date however.

Duane

Obviously, it depends, somewhat, on personal choice, but in terms of
stablity and correctness which is better?

--
Mike Loiterman
grantADLER
Tel: 630-302-4944
Fax: 773-442-0992
Email: [EMAIL PROTECTED]
PGP Key: 0xD1B9D18E

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



  

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


Re: Thunderbird + Mozilla Suite

2006-03-14 Thread Duane Whitty

Andrey V. Semyonov wrote:
Is it possible and what docs do describe setting a mozilla-bin from 
Mozilla Suite as URL-browser in Thunderbird?


Mozilla Suite and Thunderbird are installed from ports.
___

Hi Andrey,

Yes it is possible.  The first step is to check if the
proper configuration entry is present.

In Thunderbird, from the menu bar, choose
Edit, Preferences, Advanced, Config Editor.
In the filter bar, type
network.protocol-handler
Check the entries under Preference Name for
network.protocol-handler.app.http
If it is there right click on it and choose modify
Now enter the path to the file which launches the browser
you want to use.  For a mozilla related program it is probably
under /usr/X11R6/bin/

For example, the Mozilla Firefox  launcher is
found at /usr/X11R6/bin/firefox

(sorry, I'm running firefox right now so I can not say
with absolute certainty where the mozilla-suite binary
is located)

If you did not find an entry named
network.protocol-handler.app.http then
right click on any entry under Preference Name.
Choose New, String.
When you are prompted for the new string type
network.protocol-handler.app.http
When you are prompted for the new value enter the path
of the mozilla web browser launcher.

Follow the same procedures as above to enable support for https.
Everywhere you typed http above type https instead.

I hope this helps.

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


system crashed - vmcore dump file format not recognized (Long message)

2006-03-13 Thread Duane Whitty

Hello,

My system recently crashed and I am looking forward to analyzing the cause.
Towards that end I could use some pointers.  If someone could point me on my
way I'd really appreciate it.

When I try to use gdb to look at the core dump I receive an error 
message (see below for details)
and as it is not an executable file at can not get the symbols with nm 
either.

Should I be trying something different?

Feel free to give as much or as little feedback as you like -- it will 
all be appreciated.
Also, since this is not a production machine (and not operating in a 
controlled environment -- temp, power, etc.),
I am at least as interested in what the solution process is as I am in 
the actual solution. 



Thanks in advance,

--Duane
--

dwpc@ /var/crash# uname -a
FreeBSD dwpc.dwlabs.ca 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Mon Mar  6 
19:42:43 AST 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/DWPC-200603061749  i386


hw.machine: i386
hw.model: Intel(R) Celeron(R) CPU 2.40GHz
hw.ncpu: 1
hw.byteorder: 1234
hw.physmem: 526295040
hw.usermem: 438693888
hw.pagesize: 4096
hw.floatingpoint: 1
hw.machine_arch: i386
hw.realmem: 535232512

Mar 13 03:48:28 dwpc savecore: reboot after panic: 
kmem_malloc(168730624): kmem_map too small: 4

0849408 total allocated

vm.kmem_size: 172216320
vm.kmem_size_max: 335544320
vm.kmem_size_scale: 3

dwpc@ /var/log# sysctl kern.maxusers
kern.maxusers: 250

dwpc@ /var/log# sysctl kern.maxvnodes
kern.maxvnodes: 35554

dwpc@ /var/log# sysctl vfs.numvnodes
vfs.numvnodes: 5008

dwpc@ /var/crash# file vmcore.2
vmcore.2: ELF 32-bit LSB core file Intel 80386, invalid version (embedded)

dwpc@ /var/crash# gdb -c vmcore.2
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.

Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-marcel-freebsd.

warning: /var/crash/vmcore.2: no core file handler recognizes format, 
using default

Can't fetch registers from this type of core file
Can't fetch registers from this type of core file
#0  0x in ?? ()
(gdb)

dwpc@ /home/duane/kernel# cat DWPC-200603061749
#
# Added device atapicam
# removed cpu identifiers other than I686_CPU
#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html

#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.3.2.1 2005/10/28 
19:22:41 jhb Exp $


machine i386
cpu I686_CPU
ident   DWPC-200603061749

# To statically compile in device wiring instead of /boot/device.hints
#hints  GENERIC.hints # Default places to look for 
devices.


makeoptions DEBUG=-g# Build kernel with gdb(1) debug 
symbols


#optionsSCHED_ULE   # ULE scheduler
options SCHED_4BSD  # 4BSD scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
options INET6   # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big 
directories

options MD_ROOT # MD is a potential root device
options NFSCLIENT   # Network Filesystem Client
options NFSSERVER   # Network Filesystem Server
options NFS_ROOT# NFS usable as /, requires 
NFSCLIENT

options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires 
PSEUDOFS)

options PSEUDOFS# Pseudo-filesystem framework
options GEOM_GPT# GUID Partition Tables.
options COMPAT_43   # Compatible with BSD 4.3 [KEEP 
THIS!]

options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5

Re: Flash Player

2006-03-06 Thread Duane Whitty
On Monday 06 March 2006 15:13, Rem P 
Roberti wrote:
 I'm using Firefox with FreeBSD 5.4,
 and I would like to have Flash Player
 installed, but have no idea as to
 which of the available versions will
 work, if any.  Can someone give me a
 heads up here.

 Thanks in advance.

 Rem
 _

Hi,

Well /usr/ports/www/linux-flashplugin6 
with /usr/ports/www/linuxpluginwrapper 
seem to be working great for me under 
6.0-RELEASE and I would think it 
probably works under 5.4.  I use it 
with Firefox 1.5.0.1 and with Konqueror 
3.5.1 (KDE 3.5.1)

Hope this helps,

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


Re: no cd* devices appear in /dev [was Re: device atapicam not enabled in GENERIC kernel for FreeBSD 6.0-RELEASE]

2006-03-06 Thread Duane Whitty
 On Monday March 6 2006 16:09
 David J Brooks [EMAIL PROTECTED] 
wrote

 This reminds me to ask: I have
 ATAPICAM enable in my kernal,
 specifically so that k3b can find my
 dvd+rw ... but no cd* devives appear
 in /dev, and k3b cannot find anything
 no matter where I tell it to look ..
 I must be overlooking something, but
 what?

Hi,

look at man 4 atapicam.  The examples 
section lists the other devices you 
need configured in the kernel.

Hope this helps,

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


Re: Flash Player

2006-03-06 Thread Duane Whitty
On Tuesday 07 March 2006 01:42, Chris 
Maness wrote:
 Duane Whitty wrote:
  On Monday 06 March 2006 15:13, Rem
  P
 
  Roberti wrote:
  I'm using Firefox with FreeBSD
  5.4, and I would like to have
  Flash Player installed, but have
  no idea as to which of the
  available versions will work, if
  any.  Can someone give me a heads
  up here.
 
  Thanks in advance.
 
  Rem
  __
 ___
 
  Hi,
 
  Well
  /usr/ports/www/linux-flashplugin6
  with
  /usr/ports/www/linuxpluginwrapper
  seem to be working great for me
  under 6.0-RELEASE and I would think
  it probably works under 5.4.  I use
  it with Firefox 1.5.0.1 and with
  Konqueror 3.5.1 (KDE 3.5.1)
 
  Hope this helps,
 
  --Duane
  ___
 
  freebsd-questions@freebsd.org
  mailing list
  http://lists.freebsd.org/mailman/li
 stinfo/freebsd-questions To
  unsubscribe, send any mail to
  [EMAIL PROTECTED]
 bsd.org

 I installed these ports.  Is there
 anything I need to do to the browser
 to get it to recognize them, because
 flash is still not working.

Sorry, I forgot to mention that for 
firefox you want to make a symbolic 
link from

 /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so

to

/usr/X11R6/lib/firefox/plugins/libflashplayer.so

and from

/usr/X11R6/lib/linux-flashplugin6/flashplayer.xpt

to

/usr/X11R6/lib/firefox/plugins/libflashplayer.so

(Shamelessly copied from a previous 
post :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: device atapicam not enabled in GENERIC kernel for FreeBSD 6.0-RELEASE

2006-03-05 Thread Duane Whitty
On Saturday 04 March 2006 17:30, Kris 
Kennaway wrote:
 On Sat, Mar 04, 2006 at 05:26:37PM 
-0400, Duane Whitty wrote:
  Hi,
 
  Just wondering if anyone has any
  information/opinion as to why
  device atapicam is not enabled by
  default in the GENERIC kernel.

 It's not an appropriate default,
 since it modifies the way the ata
 subsystem works in ways the
 maintainer does not wish to support,

Sorry, but do you mean the ata subsystem 
maintainer or the atapicam maintainer?

 and often contains bugs.

 Kris

Hi,

Thanks Kris.

Is atapicam part of the base?  I was 
under the impression it implements an 
abstracted SCSI interface over the ata 
device subsystem but maybe I'm not 
adequately understanding what's really 
happening.

Just an observation but it seems as 
though there is a great deal of use 
being made of the atapicam subsystem.  
I noticed for instance that in addition 
to /dev/cd0 that /dev/pass0 
and /dev/da0 also did not show up until 
I rebuilt with atapicam or did I just 
miss them?

Unless I'm wrong doesn't this mean that 
usb drives and those types of devices 
need the atapicam subsystem?

Thanks for your patience and help.

Best regards,

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


Re: device atapicam not enabled in GENERIC kernel for FreeBSD 6.0-RELEASE

2006-03-05 Thread Duane Whitty
On Sunday 05 March 2006 17:31, Kris 
Kennaway wrote:
 On Sun, Mar 05, 2006 at 05:12:36PM 
-0400, Duane Whitty wrote:
  On Saturday 04 March 2006 17:30,
  Kris
 
  Kennaway wrote:
   On Sat, Mar 04, 2006 at
   05:26:37PM
 
  -0400, Duane Whitty wrote:
Hi,
   
Just wondering if anyone has
any information/opinion as to
why device atapicam is not
enabled by default in the
GENERIC kernel.
  
   It's not an appropriate default,
   since it modifies the way the ata
   subsystem works in ways the
   maintainer does not wish to
   support,
 
  Sorry, but do you mean the ata
  subsystem maintainer or the
  atapicam maintainer?

 The former.

  Is atapicam part of the base?

 Yes.

   I was
  under the impression it implements
  an abstracted SCSI interface over
  the ata device subsystem but maybe
  I'm not adequately understanding
  what's really happening.

 As the name suggests, it provides a
 CAM front-end to the devices, which
 is the same front-end used by the
 SCSI devices, so tools that expect to
 use CAM can work on the ATA devices
 too.

Ah, ok -- CAM -- common access method.  
I'm getting this

  Just an observation but it seems as
  though there is a great deal of use
  being made of the atapicam
  subsystem. I noticed for instance
  that in addition to /dev/cd0 that
  /dev/pass0 and /dev/da0 also did
  not show up until I rebuilt with
  atapicam or did I just miss them?

 The equivalent devices have different
 names under atapicam than ata, but
 why do you think they are necessary?

because I misunderstood what umass 
needed and I inappropriately 
generalized on the basis of one port 
(k3b)

  Unless I'm wrong doesn't this mean
  that usb drives and those types of
  devices need the atapicam
  subsystem?

 I suspect you're wrong.

 Kris

Hi,

Thanks Kris.  Your suspicions were 
correct.  I was wrong.  I re-read the 
man pages for da, pass, and umass, and 
nowhere did it say I needed atapicam.  
So thanks for pointing me in the right 
direction.

I rebooted with the GENERIC kernel, 
plugged in my usb memory device, and 
everything worked great.

The k3b port required this and I suppose 
I generalized when I should not have.

Again, much thanks.

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


Re: reconfiguring a port

2006-03-05 Thread Duane Whitty
On Monday 06 March 2006 00:53, Andrew 
Spott wrote:
 i accidentally configured a port
 incorrectly, how do I get the
 configure dialog box back up?

 -Andrew
 _
__
 freebsd-questions@freebsd.org mailing
 list
 http://lists.freebsd.org/mailman/list
info/freebsd-questions To unsubscribe,
 send any mail to
 [EMAIL PROTECTED]
d.org
Hi,

cd to the directory of the port in 
question

type make config 
or 
make config-recursive
which will bring up the config options 
for the dependencies as well.

Hope this helps,

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


device atapicam not enabled in GENERIC kernel for FreeBSD 6.0-RELEASE

2006-03-04 Thread Duane Whitty
Hi,

Just wondering if anyone has any 
information/opinion as to why
device atapicam is not enabled by 
default in the GENERIC kernel.

Does this apply to releases other than 
6?

Thanks in advance,

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


htdig Archive Access Failure

2006-02-24 Thread Duane Whitty

Hi,

When searching the FreeBSD mailing lists archives,
irrespective of which list I am searching, I
receive an error if I try to access a second or
subsequent page.  Does anyone else experience this?

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


Re: htdig Archive Access Failure

2006-02-24 Thread Duane Whitty

Micah wrote:

Duane Whitty wrote:

Hi,

When searching the FreeBSD mailing lists archives,
irrespective of which list I am searching, I
receive an error if I try to access a second or
subsequent page.  Does anyone else experience this?

--Duane


Yes, makes that search interface rather useless.

I asked [EMAIL PROTECTED] about this and here is the response I got 
about the problem:

Sorry; this sort of thing happens, and I don't know how to fix it.

In he mean time,
http://www.freebsd.org/search/search.html#mailinglists is another
way to search the archives -- one that pre-dates the use of Mailman at
FreeBSD.org.

 -- [EMAIL PROTECTED]



Later,
Micah




Hi,

Thanks, this works great.  Just what I was looking
for

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


Re: trouble finding burner (k3b)

2006-02-23 Thread Duane Whitty

Fabian Keil wrote:

Duane Whitty [EMAIL PROTECTED] wrote:


Peter wrote:

This k3b program is great but it I find it very picky.  Currently it
cannot detect my DVD/CD burner (/dev/acd1) anymore.  It can find my CDROM
(/dev/acd0) allright but it claims the permissions may be wrong on the
burner.  I checked and these devices have the same permissions.  I even
gave them both 777 without success in detection.  They are also both owned
by root:operator and my invoking user is in group operator.  This used to
work great.  I haven't tried to burn anything recently so I don't know
when things fell apart but what I can say is yesterday I recompiled my
kernel.  I used the same config file with one line being added (for USB
2.0 support; ehci).  Anyone have any ideas?  I'm running 5.4 although
today I was surprised that dmesg showed this:


I have a similar problem in that k3b cannot find 
my DVD/CD burner.  However I haven't received any 
messages about permissions.


On a hunch I started X as root and k3b was then 
able to find my hardware.  This doesn't really 
solve the problem but it was a quick work-around 
for me until I figure this out.


Note: I too changed permissions to 666 on 
/dev/acd0 and /dev/cd0 to no avail.


The user needs to have access to /dev/xpt0 and /dev/pass0 as well.  


Fabian


Hi,

Thank you, this works perfectly.

Best wishes,

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


Re: Looking for a mentor on php/mysql

2006-02-23 Thread Duane Whitty

Robert Uzzi wrote:

I am trying to teach my self php/mysql/html programming.
I have done native static html web sites before.
Running FreeBSD 6.0 with apache13, php, and mysql all installed and
working.

Have read a few php books and searched the web for code snippets.
Have been on some of the php forum sites, but responses are not forth
coming.

Looking for a mentor to guide me with puting all the pieces together.
I have a working panel for registering a user that writes to a flat
text file.
Need guidance in changing this to use mysql. Would email you direct
outside of the questions list.





While I don't consider myself knowledgable enough to help you with php I
have found this site helpful when I am looking for code ideas.
http://www.tutorialized.com/tutorials/PHP/1



Hi,

I'm not experienced enough in PHP to be a mentor 
in it but from one beginner to another maybe this 
will be useful.


Here is a link to a resource I used to get myself 
up-and-running with PHP. 
http://www.hudzilla.org/phpbook/index.php


I wrote the attached code when I playing around 
with the example from the MySQL manual.  It's just 
play code bu maybe it can point you to the name of 
functions (methods) to investigate.


Hth,

--Duane

Accessing a MySQL Database Using PHP

   Starting PHP script
   '; ? host_info); echo '
   '; printf(Server info: %s\n, $mysqli-server_info); echo '
   '; $query = SELECT CURRENT_USER();; $query .= SELECT name FROM
   pet; /* execute multi query */ if ($mysqli-multi_query($query)) { do
   { /* store first result set */ if ($result = $mysqli-store_result())
   { while ($row = $result-fetch_row()) { printf(%s
   , $row[0]); } $result-close(); } /* print divider */ if
   ($mysqli-more_results()) { printf(-
   ); } } while ($mysqli-next_result()); } /* close connection */
   $mysqli-close(); ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: problem regarding setting DISPLAY env variable and hostname

2006-02-22 Thread Duane Whitty

Rob wrote:

On Wed, 22 Feb 2006 20:27:20 +0200
Giorgos Keramidas [EMAIL PROTECTED] wrote:


On 2006-02-22 10:17, Rob [EMAIL PROTECTED] wrote:

I have been trying to figure out how to set the display name on my
computer.  I have a program used with Xorg that gives me the error
message:

_X11TransSocketINETConnect() can't get address for xenon:6000: hostname nor 
servname provided, or not known
Error: Can't open display: xenon:0.0

also when starting or stopping Xorg I either get:

bad display name xenon:0 in remove commandor
bad display name xenon:0  in list command

Your laptop can't resolve the name xenon.


I have my XDISPLAY env variable set using (in Bash):

DISPLAY=xenon:0.0 export DISPLAY

xenon is the name of the machine

I think part of the problem is the setting of the hostname.  This laptop
runs off of DHCP and I am not really sure about what I should do for
setting the hostname.  The manual says to set HOSTNAME= in rc.conf if
using DHCP, but then I get the amnesiac message upon boot.  Sendmail
doesn't like that either and hangs during the boot process.  So I just
set it arbitrarily to xenon

Note that the capitalization of rc.conf variables is *significant*.  The
real rc.conf variable that you have to set to avoid the Amnesiac name is:

hostname=xenon


I have read manual pages, searched the archives, but I am really confused
about all of this.  Thank you for any help.

All this can be resolved by using `/etc/hosts'.  Just add your hostname
there and point it to the 127.0.0.1 address.  Then all programs should be
able to resolve it.




Thanks Giorgios,

I think that I have the hostname problem resolved.  rc.conf has 
hostname=xenon  and
/etc/hosts has:  127.0.0.1 localhost  xenon

So now Xorg does not give errors on startup or shutdown like the 

bad display name xenon:0 in remove commandor
bad display name xenon:0  in list command


But when not setting the DISPLAY variable explicitely anywhere I still get the 
error:
out of display lists upon starting the program I want from xterm

But then setting DISPLAY=xenon:0.0 export DISPLAY and then executing the 
program then gives the error:

Can't open display: xenon:0.0   so I guess I am back to square one.

Maybe I should call it a day and rest, haha.

Thanks,

Rob





Hi,

Sorry if you get this twice Rob as I mistakenly 
sent my reply only to you without including the list


I had the same problem.  Add this line to your 
.xinitrc file


xdpyinfo -display :0.0

The hostname is not specified.

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


Re: trouble finding burner (k3b)

2006-02-22 Thread Duane Whitty

Peter wrote:

This k3b program is great but it I find it very picky.  Currently it
cannot detect my DVD/CD burner (/dev/acd1) anymore.  It can find my CDROM
(/dev/acd0) allright but it claims the permissions may be wrong on the
burner.  I checked and these devices have the same permissions.  I even
gave them both 777 without success in detection.  They are also both owned
by root:operator and my invoking user is in group operator.  This used to
work great.  I haven't tried to burn anything recently so I don't know
when things fell apart but what I can say is yesterday I recompiled my
kernel.  I used the same config file with one line being added (for USB
2.0 support; ehci).  Anyone have any ideas?  I'm running 5.4 although
today I was surprised that dmesg showed this:

FreeBSD 5.5-PRERELEASE #1: Tue Feb 21 15:23:16 EST 2006

Is this normal?

p.s. I can mount the DVD drive and read its media.

--
Peter






__ 
Find your next car at http://autos.yahoo.ca

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




Hi,

I have a similar problem in that k3b cannot find 
my DVD/CD burner.  However I haven't received any 
messages about permissions.


On a hunch I started X as root and k3b was then 
able to find my hardware.  This doesn't really 
solve the problem but it was a quick work-around 
for me until I figure this out.


Note: I too changed permissions to 666 on 
/dev/acd0 and /dev/cd0 to no avail.


Maybe someone with more experience could jump in here?

hth,

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


Re: portupgrading only certain ports

2006-02-22 Thread Duane Whitty

Peter wrote:

--- Steve P. [EMAIL PROTECTED] wrote:


I am trying to avoid upgrading two ports: kde and X.

What are the command line options to portupgrade to accomplish this?

For instance, I tried this and it failed:
#portupgrade -a -x 'kde*' -x 'x*'

Where am I going wrong?

I've read the pertinent handbook ports section, and did man portupgrade,
but still I can not get it to work. Maybe it has something to do with
pkg_glob, I don't know. 


I never tried this feature but from the man page it seems you do not need
the single quotes.  You probably can also just type the package names
(with no glob characters) with or without version numbers.



Hi,

portupgrade -a upgrades all installed ports.  Try 
portupgrade -rR -x 'kde*' -x 'x*' *


Maybe use the -n option with the above to see what 
would happen without doing anything.


With a regex maybe this would work

portupgrade -rRx :[kde|x]  or something along 
these lines.  -n is a good safety valve I think


hth,

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


Re: Every 12-hrs -- ad0: TIMEOUT - WRITE DMA

2006-02-17 Thread Duane Whitty

Fabian Keil wrote:

V.I.Victor [EMAIL PROTECTED] wrote:


For the last 4-days, our (otherwise OK) 5.4-RELEASE machine has been
reporting:

Feb 12 12:08:05 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2701279
Feb 13 00:08:51 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2701279
Feb 13 12:09:38 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2963331
Feb 14 00:10:24 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2705947
Feb 14 12:11:09 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2706335
Feb 15 00:12:02 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2832383
Feb 15 12:12:57 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=139839
Feb 16 00:13:50 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=131391
Feb 16 12:14:36 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=131391

The system was created Jan 08 and, prior to the above, the ad0: timeout had
only been reported twice:

Jan 25 11:43:34 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) 
LBA=17920255
Feb 6 11:59:42 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2832383



Hi,

I hate sending out a me too message but yet here 
we are.


It's not a production machine so I was going to 
let it run its course.  The messages stopped 
appearing after a couple of days.


I reviewed my logs and couldn't find anything more 
revealing and my system appeared to be functioning 
well.


Likely unrelated but my new activities at the time 
were experimenting with some new SAMBA shares and 
setting-up the CAM driver.  There is likely no 
correlation but I thought I'd mention it.



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


  1   2   >