OpenVPN vm cant connect to other VM's

2013-03-06 Thread Brent Clark

Hi guys

Im struggling with a freebsd vm, that I have that I use for a VPN 
connection too, from my workstation to my home LAN. And I was wondering 
if someone could peer review me and my problem.


OpenVPN is working beautifully. I.e. I can connect to some services 
(apache etc) that I run directly on my FreeBSD / openvpn vm.


What im now trying to achieve is that I can connect to other VMs / 
machines on my home LAN.


Im using tun for my VPN, and my pf.conf looks like so (please see the 
nat on ...)


[root@freebsd /usr/home/bclark]# cat  /etc/pf.conf
ext_if=re0
vpn_if=tun0
int_net=10.0.0.0/24
vpn_net=192.168.200.0/24
set skip on lo0
set optimization normal
#set block-policy drop
set limit { states 2, frags 1, src-nodes 2 }
# Normalization: reassemble fragments and resolve or reduce traffic 
ambiguities.

scrub in all
# Translation: specify how addresses are to be mapped or redirected.
# NAT rules
# enabling NAT currently breaks policy based routing
#nat on $ext_if from { $int_net, $vpn_net } to any - ($ext_if)
#nat on tun0 from { 192.168.200.0/24 } to any - (re0)
nat on re0 from { 192.168.200.0/24 } to any - (re0)

table sshguard persist
block in quick on re0 proto tcp from sshguard to any port ssh label 
ssh brute


What am I missing?

If anyone could assist, it would be appreciated.

Kind Regards
Brent Clark


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


Old FreeBSD server, raid issues.

2013-01-29 Thread Brent Clark

Good day

I have an old machine that has lost its raid (0/ stripe).
Im trying to fix this.

If I go

[root@torry /usr/home/bclark]# gstripe list
Geom name: st0
State: UP
Status: Total=3, Online=3
Type: AUTOMATIC
Stripesize: 65536
ID: 1006591079
Providers:
1. Name: stripe/st0
   Mediasize: 360102297600 (335G)
   Sectorsize: 512
   Stripesize: 65536
   Stripeoffset: 0
   Mode: r0w0e0
Consumers:
1. Name: ada0
   Mediasize: 120034123776 (111G)
   Sectorsize: 512
   Mode: r0w0e0
   Number: 0
2. Name: ada1
   Mediasize: 120034123776 (111G)
   Sectorsize: 512
   Mode: r0w0e0
   Number: 2
3. Name: ada4
   Mediasize: 120034123776 (111G)
   Sectorsize: 512
   Mode: r0w0e0
   Number: 1

I see 'State: UP'

if i:
[root@torry /usr/home/bclark]# mount -t ufs /dev/stripe/st0a /mnt/
mount: /dev/stripe/st0a: Invalid argument

[root@torry /usr/home/bclark]# fsck /dev/stripe/st0a
fsck: Could not determine filesystem type

[root@torry /usr/home/bclark]# fsck_ufs /dev/stripe/st0a
** /dev/stripe/st0a
Cannot find file system superblock
ioctl (GCINFO): Inappropriate ioctl for device
fsck_ufs: /dev/stripe/st0a: can't read disk label

If someone could help, it would be appreciated, of what the next step 
is, it would be appreciated.


Kind Regards
Brent Clark


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


FreeBSD server for sons tv shows. please help

2013-01-26 Thread Brent Clark

Good day

Im not it its because of a power failure or what, but for some reason my 
'download server', has lost its raid (0/ stripe).


Im trying to fix this, for the raid contains quite a few shows for my son.

If I go

[root@torry /usr/home/bclark]# gstripe list
Geom name: st0
State: UP
Status: Total=3, Online=3
Type: AUTOMATIC
Stripesize: 65536
ID: 1006591079
Providers:
1. Name: stripe/st0
   Mediasize: 360102297600 (335G)
   Sectorsize: 512
   Stripesize: 65536
   Stripeoffset: 0
   Mode: r0w0e0
Consumers:
1. Name: ada0
   Mediasize: 120034123776 (111G)
   Sectorsize: 512
   Mode: r0w0e0
   Number: 0
2. Name: ada1
   Mediasize: 120034123776 (111G)
   Sectorsize: 512
   Mode: r0w0e0
   Number: 2
3. Name: ada4
   Mediasize: 120034123776 (111G)
   Sectorsize: 512
   Mode: r0w0e0
   Number: 1

I see 'State: UP'

if i:
[root@torry /usr/home/bclark]# mount -t ufs /dev/stripe/st0a /mnt/
mount: /dev/stripe/st0a: Invalid argument

[root@torry /usr/home/bclark]# fsck /dev/stripe/st0a
fsck: Could not determine filesystem type

[root@torry /usr/home/bclark]# fsck_ufs /dev/stripe/st0a
** /dev/stripe/st0a
Cannot find file system superblock
ioctl (GCINFO): Inappropriate ioctl for device
fsck_ufs: /dev/stripe/st0a: can't read disk label

If someone could help, it would be appreciated, of what the next step 
is, it would be appreciated.





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


Carp kernel module missing from FreeNAS?

2012-07-23 Thread Brent Clark
Guys

Im looking to have a failover for my FreeNAS systsem.

Im folllowing this, example (
http://qq929962616.72pines.com/2012/03/configure-highly-available-storage-on-freenas/
), but is doesnt look like the Carp module is available.

If that is true, anyone know how I can go about adding / enabling carp
on FreeNAS.

Someone made a suggestion of:

FreeNAS uses a standard FreeBSD Kernel, so you can simply download the
module from the FreeBSD FTP site and it will work. You have to have
the right version however.

How can or woulld I go about that?

Your help would be most appreciated.

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


KVM attach drive to FreeBSD guest

2012-07-17 Thread Brent Clark

Hiya

Im running FreeNas on a KVM guest. I need to add (attach) a virtual drive.

I run:
qemu-img create -f qcow2 morespace.img 10G

virsh:
attach-disk freenas /space/morespace.img vdb

I restart the FreeNas guest, but the spare drive is not shown on 'gpart list or 
show'

To make extra sure, I did the same steps for a Debian guest. The attached drive 
is available.

So I can only assume this is a FreeBSD issue.

Anyone know how to attach a drive to a FreeBsD KVM guest?

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


Re: KVM attach drive to FreeBSD guest

2012-07-17 Thread Brent Clark

On 17/07/2012 13:58, Brent Clark wrote:

virsh:
attach-disk freenas /space/morespace.img vdb


Hiya

After much googling, I found the following on libvirt mailinglist 
(http://www.redhat.com/archives/libvir-list/2009-November/msg00796.html)

So the command is

virsh: attach-disk freenas /space/morespace.img sdb (as opposed to vdb)

HTH

Regards
Brent Clark


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


FreeBSD ports patch count

2012-06-01 Thread Brent Clark

Hiya

I would just like to ask / know. Did anything weird or wonderful happen on the 
FreeBSD ports.

To show you what I mean.

[root@torry /usr/home/bclark]# portaudit -F -a; portsnap fetch update; 
pkg_version -vIL=; freebsd-update  fetch install
auditfile.tbz 100% of   77 kB 6570  Bps 00m00s
New database installed.
0 problem(s) in your installed packages found.
Looking up portsnap.FreeBSD.org mirrors... 9 mirrors found.
Fetching snapshot tag from geodns-1.portsnap.freebsd.org... done.
Fetching snapshot metadata... done.
Updating from Thu May 31 19:58:31 SAST 2012 to Fri Jun  1 08:51:05 SAST 2012.
Fetching 4 metadata patches... done.
Applying metadata patches... done.
Fetching 0 metadata files... done.
Fetching 4180 patches.10203040

4180 patches really !!!

I run the above command almost everyday, so the most I have ever really seen is 
300 - 400 patches. But 4180 has got me attention.

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


Network interface aliasing?

2012-03-07 Thread Brent Clark

Hiya

I would like to ask.

Is it possible to, do network interface aliasing. Im not talking about ip 
aliasing.

I basically want to bind one process to network interface vr0:0 and another 
process to vr0:1.

Thanks
Brent

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


ps3mediaserver working on FreeBSD?

2012-02-22 Thread Brent Clark

Hiya

I cant find any reference to this asked before on this mailinglist.

Anyone get ps3mediaserver working on FreeBSD?

If so, please will you advise me on your steps.

Currently using Mediatomb, but I find it doesnt always work for every avi.
I tried Ushare, but avi's, dont get listed on Playstation.

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


sysinstall cant seem to download the kernel source.

2012-02-17 Thread Brent Clark

Hiya

I seem to have this problem with sysinstall, whereby I cant seem to download 
the kernel source.

I tried following this example 
http://www.cyberciti.biz/faq/freebsd-install-kernel-source-code/

I use Install from an FTP server

The error message I get is Unable to transfer the sbase distribution from 
ftp://ftp.freebsd.org.;

Does anyone know of another way to get the kernel source.

Cvs or svn.


Regards
Brent

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


Re: cant compile kdelibs4

2011-10-24 Thread Brent Clark

On 23/10/2011 17:11, tehnik wrote:


Delete qt3


Hiya

That did the trick. Thanks.

Last question. How did you know qt3 was the problem?

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


cant compile kdelibs4

2011-10-23 Thread Brent Clark
Hiya

Im struggling to install / compile x11/kdelibs4. Would anyone know or
please help me understand where I am going wrong.

In file included from
/usr/ports/x11/kdelibs4/work/kdelibs-4.7.2/kio/bookmarks/kbookmark.cc:33:
/usr/local/include/qdatetime.h:51: error: function definition does not
declare parameters
/usr/local/include/qdatetime.h:123: error: function definition does
not declare parameters
/usr/local/include/qdatetime.h:184: error: function definition does
not declare parameters
/usr/local/include/qdatetime.h:241: error: expected initializer before '' token
/usr/local/include/qdatetime.h:242: error: expected initializer before '' token
/usr/local/include/qdatetime.h:243: error: expected initializer before '' token
/usr/local/include/qdatetime.h:244: error: expected initializer before '' token
/usr/local/include/qdatetime.h:245: error: expected initializer before '' token
/usr/local/include/qdatetime.h:246: error: expected initializer before '' token
/usr/ports/x11/kdelibs4/work/kdelibs-4.7.2/kio/bookmarks/kbookmark.cc:
In member function 'void KBookmark::updateAccessMetadata()':
/usr/ports/x11/kdelibs4/work/kdelibs-4.7.2/kio/bookmarks/kbookmark.cc:548:
error: incomplete type 'QDateTime' used in nested name specifier
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 1

Stop in /usr/ports/x11/kdelibs4.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portinstall20111023-2898-rske50-0 env make
** Fix the problem and try again.
---  Skipping 'multimedia/kdenlive' because a requisite port
'x11/kdelibs4' failed (specify -k to force)
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! x11/kdelibs4  (unknown build error)
* multimedia/kdenlive
[bclark@bclark-laptop /usr/ports/multimedia]$

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


smb browing via nautilus

2011-10-21 Thread Brent Clark

Good day

Ive got this problem whereby via gnomes nautilus, smb browing is *incredibly 
slow*.

For example, if I type and try to connect to smb://foo, it takes quite awhile, 
before the shares are available.

Then I can click on the share. I wait a bit more.

I find if I manually mount the smb share (mount_smb), then browse to the mount 
point via nautilus, copying files is a breeze.

If someone could help me it would be appreciated.

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


freebsd-update 7.0-7.4 problem: rmdir Directory not empty

2011-06-03 Thread Brent Bloxam
I'm going through the freebsd-update process to move from 7.0 to 7.4. I 
followed the handbook, rebooted to GENERIC and followed up with 
`freebsd-update install` and got the following output:



# freebsd-update install
Installing updates...rmdir: ///usr/share/man/ja: Directory not empty
rmdir: ///usr/share/man/en.ISO8859-1/cat8: Directory not empty
rmdir: ///usr/share/man/en.ISO8859-1/cat4: Directory not empty
rmdir: ///usr/share/man/cat8: Directory not empty
rmdir: ///usr/share/man/cat4: Directory not empty
 done.


Are these rmdir lines something to be concerned about? Should I remove 
them and their content?

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


Re: Mother board compatibility and CF card usage as main storage device for small DNS server

2010-09-30 Thread Brent Bloxam

Kaya Saman wrote:
 From what you mention it sounds like a bad idea as the system disk will 
have many R/W's going through it it seems as /tmp and Swap get written 
to all the time.




You can skip swap altogether and use MFS (memory filesystem) like Brian 
mentioned for other high write partitions that don't need to be 
persistent (/tmp, /var/log). See the following article on the 
freebsd.org website about using solid state storage: 
http://www.freebsd.org/doc/en/articles/solid-state/article.html


Keep in mind though that Brian's setup was for slave nameservers that 
would be caching from another master. If your nameserver is acting as 
master, you'll be storing your records on flash since you need 
persistent storage, but I don't imagine those files will be write intensive.


Also, if you make /var/log MFS, you'll want to have an external syslog 
server set up ;)

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


Re: phpscheduleit not allowing login

2009-10-20 Thread Brent Bloxam

Noah wrote:

Hi there,

I just installed 1.2.11 and running apache
I get the Log in screen and I am able to register.
As soon as I enter my account information at the main Login page i am 
sent right back to the page and the error message is You are not logged 
in!


Nothing is appearing in the log eventhough I have it configured:

--- snip ---

// If we should log system activity or not

*

$conf['app']['use_log'] = 1;
// Directory/file for log ['/var/log/phpscheduleitlog.txt']
$conf['app']['logfile'] = '/var/log/phpscheduleitlog.txt';

--- snip ---

What else can I try here?

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


Hi Noah,

This is the FreeBSD questions mailing list, perhaps you should try their 
forums for support: http://www.php.brickhost.com/forums/

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


Building Ghostscript from source on FreeBSD

2009-10-19 Thread Brent Bloxam
I'm having trouble building Ghostscript 8.70 from source on FreeBSD 7.0. 
I cannot use the version in the ports tree for various reasons. I've 
looked at the .mak patches in ./files/ for the ports tree however to try 
to suss out any differences but they elude me.


My configure line:
./configure --prefix=/usr/local/imagemagick-6.5.6 --disable-cups 
--disable-gtk --disable-cairo --disable-fontconfig --without-libpaper 
--without-pdftoraster --without-ijs --without-jbig2dec --without-jasper 
--without-omni --without-x --with-drivers=BMP,FAX,JPEG,PNG,PS,TIFF


The error I receive building:

gcc -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations 
-Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing 
-Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H 
-DGX_COLOR_INDEX_TYPE=unsigned long long -I./base -o ./obj/genconf 
./base/genconf.c

gcc: ./base/genconf.c: No such file or directory
gcc: No input files specified

./base/genconf.c exists. Executing the gcc command on its own is 
successful, yet the build can't continue even with ./obj/genconf 
existing. `make -d A` reaches the failure with:


Examining ./base/stdpn.h...modified 18:23:38 Jun 05, 2007...up-to-date.
Examining ./obj/genconf...non-existent...modified before source 
(/home/build/ghostscript-8.70/./base/genconf.c)...out-of-date.

./obj/genconf: = /home/build/ghostscript-8.70/./base/genconf.c
./obj/genconf:? = /home/build/ghostscript-8.70/./base/genconf.c
./obj/genconf: = /home/build/ghostscript-8.70/./base/genconf.c 
/home/build/ghostscript-8.70/./base/stdpre.h
./obj/genconf:? = /home/build/ghostscript-8.70/./base/genconf.c 
/home/build/ghostscript-8.70/./base/stdpre.h
./obj/genconf: = /home/build/ghostscript-8.70/./base/genconf.c 
/home/build/ghostscript-8.70/./base/stdpre.h 
/home/build/ghostscript-8.70/./base/stdpn.h
./obj/genconf:? = /home/build/ghostscript-8.70/./base/genconf.c 
/home/build/ghostscript-8.70/./base/stdpre.h 
/home/build/ghostscript-8.70/./base/stdpn.h
cc -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations 
-Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing 
-Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H 
-DGX_COLOR_INDEX_TYPE=unsigned long long -I./base -o ./obj/genconf 
./base/genconf.c

cc: ./base/genconf.c: No such file or directory
cc: No input files specified

Why is it that it believes ./obj/genconf is nonexistent, and then 
proceeds to fail while it has no problems with anything else up to that 
point?

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


Re: Building Ghostscript from source on FreeBSD

2009-10-19 Thread Brent Bloxam

Brent Bloxam wrote:
I'm having trouble building Ghostscript 8.70 from source on FreeBSD 7.0. 
I cannot use the version in the ports tree for various reasons. I've 
looked at the .mak patches in ./files/ for the ports tree however to try 
to suss out any differences but they elude me.


My configure line:
./configure --prefix=/usr/local/imagemagick-6.5.6 --disable-cups 
--disable-gtk --disable-cairo --disable-fontconfig --without-libpaper 
--without-pdftoraster --without-ijs --without-jbig2dec --without-jasper 
--without-omni --without-x --with-drivers=BMP,FAX,JPEG,PNG,PS,TIFF


The error I receive building:

gcc -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations 
-Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing 
-Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H 
-DGX_COLOR_INDEX_TYPE=unsigned long long -I./base -o ./obj/genconf 
./base/genconf.c

gcc: ./base/genconf.c: No such file or directory
gcc: No input files specified

./base/genconf.c exists. Executing the gcc command on its own is 
successful, yet the build can't continue even with ./obj/genconf 
existing. `make -d A` reaches the failure with:


Examining ./base/stdpn.h...modified 18:23:38 Jun 05, 2007...up-to-date.
Examining ./obj/genconf...non-existent...modified before source 
(/home/build/ghostscript-8.70/./base/genconf.c)...out-of-date.

./obj/genconf: = /home/build/ghostscript-8.70/./base/genconf.c
./obj/genconf:? = /home/build/ghostscript-8.70/./base/genconf.c
./obj/genconf: = /home/build/ghostscript-8.70/./base/genconf.c 
/home/build/ghostscript-8.70/./base/stdpre.h
./obj/genconf:? = /home/build/ghostscript-8.70/./base/genconf.c 
/home/build/ghostscript-8.70/./base/stdpre.h
./obj/genconf: = /home/build/ghostscript-8.70/./base/genconf.c 
/home/build/ghostscript-8.70/./base/stdpre.h 
/home/build/ghostscript-8.70/./base/stdpn.h
./obj/genconf:? = /home/build/ghostscript-8.70/./base/genconf.c 
/home/build/ghostscript-8.70/./base/stdpre.h 
/home/build/ghostscript-8.70/./base/stdpn.h
cc -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations 
-Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing 
-Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H 
-DGX_COLOR_INDEX_TYPE=unsigned long long -I./base -o ./obj/genconf 
./base/genconf.c

cc: ./base/genconf.c: No such file or directory
cc: No input files specified

Why is it that it believes ./obj/genconf is nonexistent, and then 
proceeds to fail while it has no problems with anything else up to that 
point?


Solved. Looks like building Ghostscript explicitly requires gmake
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ipfw - TRAFFIC SHAPER

2009-10-09 Thread Brent Bloxam

alexus wrote:

I'm trying to fight with ipfw and unfortunately unsuccessfully...

I created following rules

ipfw pipe 1 config bw 1Mbit/s
ifpw add 8080 pipe 1 tcp from any to any src-port www
ifpw add 8080 pipe 1 tcp from any to any dst-port www

yet I see peaks of my traffic is way higher them 1Mbit/s
i have following modules loaded through kldload

 23 0x80cd3000 15db8ipfw.ko
 51 0x80cec000 bbc8 dummynet.ko

i even load

101 0x80e7d000 14df ipdivert.ko

and that still didn't help :(
can anyone help me?



Do you have an ipfw rule allowing www traffic before rule 8080?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Device naming on scbus using isp

2009-09-22 Thread Brent Bloxam

Brent Bloxam wrote:
I'm wondering about how device names are assigned on scbus, specifically 
when using the isp driver. It seems to me that there's potential when an 
HBA has access to multiple LUNs that on boot the scbus will have entries 
in /dev scrambled compared to the previous run (thus messing up mounts). 
My experience so far has been that da0 will be assigned to the first 
target scanned, da1 to the second, etc. Is this generally something 
countered with device.hints? If a LUN were to go away, but a device hint 
pointing to the target:unit remained, would that cause any issues on boot?


Thanks,
Brent


Thought I'd follow up with a bit of information I've determined about 
this, despite the lack of response from anyone on list. Maybe someone 
will find it useful :)


I can only speak for this applying to use of isp(4) with scbus(4).

Devices that operate in target mode appear to isp(4) and are assigned a 
target ID starting at 0. The order in which they appear depends on their 
fcid or what's known to isp(4) as PortID. This order is ascending, so 
the lower fcid takes precedence. isp(4) will then check the target to 
see if any LUNs are available to it. If not, the target disappears -- 
and here's the important thing to note -- but its target ID does not go 
away.


Say you have 5 devices with the following fcids, 4 in target mode:

0x00 - target
0x01 - target
0x02 - another server with an HBA
0xF0 - target with LUN
0xF1 - target with LUN

isp(4) is loaded at boot, and the following occurs:

0x00 appears, is assigned target 0, and disappears because there are no LUNs
0x01 appears, is assigned target 1, and disappears because there are no LUNs
0x02 appears and simply disappears because it is not a target
0xF0 appears, is assigned target 2, and is assigned to da0
0xF1 appears, is assigned target 3, and is assigned to da1

You can see because of this example that maintaining device names using 
/boot/device.hints is impossible if targets in the fabric change. If 
0x00 were to disappear, the target IDs would change and render 
/boot/device.hints invalid, or worse, the wrong LUN could be given the 
wrong device name.



Ideally, there would be a way to assign target IDs by fcid, but that 
does not exist presently.

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


Re: Device naming on scbus using isp

2009-09-22 Thread Brent Bloxam

Dan Nelson wrote:

If you're mounting UFS filesystems, you can label them and mount them by
label (see the tunefs and glabel manpages for more info).  ZFS should find
its pool devices automatically, but you can always manually label devices
with glabel and refer to the label instead of the da## name.
  
Thanks Dan, I'm using UFS so looks like labeling will be the solution to 
this issue

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


Re: toaster or do-it-myself?

2009-08-10 Thread Brent Bloxam

Roland Smith wrote:

There are several webmail apps available in ports. E.g. mail/squirrelmail,
which has a lot of plugins available. 


Squirrelmail's webserver was recently hacked, and plugins were compromised:
http://secunia.com/advisories/36087/
http://sourceforge.net/mailarchive/message.php?msg_name=4A727634.3080008%40squirrelmail.org

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


FreeBSD FIBs (setfib) - How to modify?

2009-07-16 Thread Brent Bloxam

The documentation on FIBs is pretty slim unless I've been looking in the
wrong places, all I've seen are a few mentions in errata and release
notes. setfib(1) doesn't offer much in the way of associated commands,
and definitely doesn't explain how to actually work with a FIB. I'm
curious if there's a command to specifically modify a FIB beyond 0,
besides something like

setfib 1 route add ...

Thanks,
Brent

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


Re: FreeBSD FIBs (setfib) - How to modify?

2009-07-16 Thread Brent Bloxam

Nikos Vassiliadis wrote:

Brent Bloxam wrote:

The documentation on FIBs is pretty slim unless I've been looking in the
wrong places, all I've seen are a few mentions in errata and release
notes. setfib(1) doesn't offer much in the way of associated commands,
and definitely doesn't explain how to actually work with a FIB. I'm
curious if there's a command to specifically modify a FIB beyond 0,
besides something like

setfib 1 route add ...


setfib selects the routing table for locally originated
outgoing packets. Besides locally originated packets, there
are packets arriving from the network and need to be forwarded.
These packets can be classified in a specific routing table
with the aid of ipfw. That's all there is. I can't think
of something else that needs to be thought with regard to
multiple routing tables.

HTH, Nikos


Sorry, perhaps I wasn't clear. What I'm interested in is if there's a 
way to deal with *modifying* those other routing tables, besides using 
setfib as I described (e.g., you want to have a different default 
gateway). There would be no reason to have multiple routing tables if 
they're carbon copies of one another.

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


Re: FreeBSD FIBs (setfib) - How to modify?

2009-07-16 Thread Brent Bloxam

Nikos Vassiliadis wrote:
  Just start a shell in FIB 10 and every command forked from

that shell will be bound to FIB 10.
setfib 10 csh
... do some work
exit
you're back in FIB 0.

HTH, Nikos


Thanks Nikos, I didn't want to assume setfib was the only method of 
modifying them (whether through directly using a utility or dropping 
into a shell under it). The man pages make no mention of how to actually 
change the other route tables, the handbook doesn't mention FIBs in any 
capacity, etc, so thought I would clarify here

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


Re: FreeBSD FIBs (setfib) - How to modify?

2009-07-16 Thread Brent Bloxam

Mel Flynn wrote:
  I guess the main question here is what is 10? or what is an FIB?. 
How does
one create such an FIB id (which I can't find in docs either). For example, on 
my system if I do:

% setfib 2 fetch http://www.freebsd.org/docs.html
setfib: 2: invalid FIB (max 0)

I would expect to see some info in
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.html

Naturally there's some info here:
http://en.wikipedia.org/wiki/Forwarding_information_base

but that doesn't have any practical information on how to create one.


I'm not sure if you're curious or trying to clarify on my question, but 
I'm past the point of creating and was interested in modifying.


Just incase anyone is interested, see the end of the 7.1-RELEASE Errata 
here: http://www.freebsd.org/releases/7.1R/errata.html



FreeBSD now supports multiple routing tables. To enable this, the following 
steps are needed:

*

  Add the following kernel configuration option and rebuild the kernel. The 
2 is the number of FIB (Forward Information Base, synonym for a routing table 
here). The maximum value is 16.

  optionsROUTETABLES=2

  The procedure for rebuilding the FreeBSD kernel is described in the 
FreeBSD Handbook.

  This number can be modified on boot time. To do so, add the following to 
/boot/loader.conf and reboot the system:

  net.fibs=6



Note that net.fibs can only be modified _after_ the kernel has been 
compiled with the ROUTETABLES option. You can view the current settings 
related to FIBs with sysctl

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


Re: 7.0-RELEASE Upgrade problems

2009-07-16 Thread Brent Bloxam

Rob wrote:
I'm new to FreeBSD and installed a base 7.0-RELEASE system and have been 
running it for a while with ZFS and gmirror partitions.  I've never 
updated since install, so I'm attempting to do so now, but I'm having no 
luck.  I'm following the upgrade instructions in the 7.2-RELEASE release 
notes, but I get an error I don't know what to do with.  I'm doing:


# freebsd-update upgrade -r 7.2-RELEASE
Answer a few questions
# freebsd-update install
Installing updates...chflags: ///usr/bin/CC: Operation not supported

I tried updating to the latest 7.0-RELEASE thinking there was a fix, but 
got:


# freebsd-update fetch
Answer a few questions
# freebsd-update install
Installing updates...chflags: ///usr/bin/dig: Operation not supported

Am I doing something wrong?  I haven't found any reference to this 
error, and while being very experienced with linux systems am new (as 
previously stated) to FreeBSD and am not sure where to start to track 
this down.


Does anyone have any suggestions?

Rob


chflags is not supported on ZFS. See this thread for possible workaround:

http://forums.freebsd.org/archive/index.php/t-3786.html

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


Re: FreeBSD for a high school class? (long)

2009-07-09 Thread Brent Bloxam

Chris wrote:


The course is HTML. Mouse button operations should be close,
a window that gives a simple file directory and a text editor that
doesn't require learning a character command set would be the
target.



Hi Chris,

Maybe look at using Xfce, which is a lightweight window manager based on 
GTK+ and is available in the ports tree and as a package (from the 
machine specs, I assume you'll be installing packages). The theme you 
use for it will impact performance as well, but the default should be fine.


For text-editing you can try Mousepad 
(http://www.xfce.org/projects/mousepad/) and Thunar 
(http://www.xfce.org/projects/thunar/) for file management

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


Re: serial modem

2009-06-29 Thread Brent Bloxam

kalin m wrote:


hi all...

my first time using serial ports and modems. the modem is hooked up 
using RS-232 cable...


modem specs:

• Baud Rate: 115.2kbps
• Bits: 8
• Stop Bits: 1
• Parity: none
• Hardware Handshaking: Yes


my /etc/ttys:

ttyd0 /usr/libexec/getty std.115200 dialup on
ttyd1 /usr/libexec/getty std.115200 dialup on

then i do:
# kill -HUP 1

ps shows:
62496 0.0 0.2 3184 952 ?? I 10:53PM 0:00.00 /usr/libexec/getty 
std.115200 ttyd0
62667 0.0 0.2 3184 1004 ?? I 11:37PM 0:00.00 /usr/libexec/getty 
std.115200 ttyd1


according to the handbook i would see the above. i'm not sure if i need 
both ttyd0 and 1 since i have hooked only one modem but there is no 
explanation about that in the handbook.


messages says:
Jun 28 23:37:17 moo getty[62667]: open /dev/ttyd1: No such file or 
directory


and no other entries... so i guess that settles the need of ttyd1!?!

ok. so now i put in /etc/remote:
sio0|com1:dv=/dev/cuad0:br#115200:pa=none:

and, following the instructions in the handbook, try reaching the modem 
doing:

# tip -v cuad0

i get:
tip: unknown host tip0



I've no experience with serial modems, but having read the man pages I 
believe your remote(5) line is incorrect.


sio0|com1:dv=/dev/cuad0:br#115200:pa=none:

sets system names sio0 and com1, then you try to execute tip to connect 
to cuad0. Is there an entry for cuad0 in your /etc/remote? I'm confused 
as to why tip is returning 'unknown host tip0' however.


Give `tip -v sio0` a shot, or change the system names in your 
/etc/remote line

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


Re: DHCP using ral

2009-06-29 Thread Brent Bloxam

Robert Hall wrote:

ifconfig ral0 inet 192.168.1.104 netmask 255.255.255.0 assigns the
specified values. Ping no longer tells me that there's no route to the
host, but I'm getting about 95% packet loss. netstat -r now shows
that link1 (ral0) is the gateway to 192.168.1.0. I still don't have a
usable connection.



Not especially helpful but I thought I'd throw this out there, Linksys 
routers by default define their DHCP range as 192.168.1.100 - 
192.168.1.149, so pick an address outside that space if you're trying to 
assign statically. You can often get away with setting the IP of the 
router (default of 192.168.1.1 for Linksys) as your DNS, as many Linksys 
routers have a built in DNS proxy.


Are you sure you're getting a strong enough signal from the AP? Have you 
had success with this WiFi card accessing other APs? Do you have access 
to a different WiFi card you could try?

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


Device naming on scbus using isp

2009-06-26 Thread Brent Bloxam
I'm wondering about how device names are assigned on scbus, specifically 
when using the isp driver. It seems to me that there's potential when an 
HBA has access to multiple LUNs that on boot the scbus will have entries 
in /dev scrambled compared to the previous run (thus messing up mounts). 
My experience so far has been that da0 will be assigned to the first 
target scanned, da1 to the second, etc. Is this generally something 
countered with device.hints? If a LUN were to go away, but a device hint 
pointing to the target:unit remained, would that cause any issues on boot?


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


Re: my kernel is not build/install

2009-06-26 Thread Brent Bloxam

fo...@pisem.net wrote:

When I make my kernel (make kernel KERNCONF=KERNEL) it stop whith  Error 
code 1


According to Chapter 8.5 of the handbook 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html):



   1.
  Change to the /usr/src directory:
  # cd /usr/src

   2.
  Compile the kernel:
  # make buildkernel KERNCONF=MYKERNEL

   3.
  Install the new kernel:
  # make installkernel KERNCONF=MYKERNEL



You need to use `make buildkernel`, not `make kernel`
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ~/.ssh directory permissions

2009-06-24 Thread Brent Bloxam

Chris Rees wrote:


Although I think it's not a big deal, as long as your id_?sa has
permissions 600 like mine, or even 400.

Chris



The man page for ssh(1) provides a lot of detail about the sensitivity 
of the various files related to ssh. To quote it regarding a few of them:



 ~/.ssh/
 This directory is the default location for all user-specific 
configuration and authentication information.  There is no
 general requirement to keep the entire contents of this directory 
secret, but the recommended permissions are
 read/write/execute for the user, and not accessible by others.


So as you can see, 700 is recommended (but not necessary).


 ~/.ssh/identity
 ~/.ssh/id_dsa
 ~/.ssh/id_rsa
 Contains the private key for authentication.  These files contain 
sensitive data and should be readable by the user but not
 accessible by others (read/write/execute).  ssh will simply ignore 
a private key file if it is accessible by others.  It is
 possible to specify a passphrase when generating the key which 
will be used to encrypt the sensitive part of this file
 using 3DES.


However, identity, id_dsa and id_rsa _must_ be 700 at a maximum. It's 
best to follow the recommendations from the man page unless you have 
very specific reasons for needing more lax permissions on these files.


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


Re: bannerfiltering

2009-06-17 Thread Brent Bloxam

Dave wrote:

Hello,
I've got a freebsd 7.2 machine that i need to use for banner
filtering, addzapping and filtering out all the junk that comes along with
adds windows viruses trojans things like that before they can get to my
internal clients. Previously i used squid and dansguardian but found that
slowed things down to a crawl and at times was to restrictive at times not
restrictive enough. I've also tried squidguard but that didn't meet my needs
either, it didn't seem to be being maintained.
In the interim i was looking for a hosts file i can use on servers
and clients to redirect requests to add sites to nowhere. 
Any solutions appreciated.

Thanks.
Dave.

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


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


Re: HandbooK-Free BSD

2009-06-02 Thread Brent Bloxam

Rafael E Garcia wrote:

Gentlemen
Please How I can copy the Free BSD Handbook in my computer? Any 
Sugestion will be apreciate.   Thank you Rafael E Garcia




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


apache not starting on reboot

2009-05-18 Thread Brent Clark

Hiya

I have the following in my /etc/rc.conf

mitm# cat /etc/rc.conf | grep apache
apache22_enable=YES
mitm#

The problem I seem to be experiencing is that if I reboot the machine, 
then apache does not come up. Its only on when I run


/usr/local/etc/rc.d/apache22 restart

that apache is running and available.

If anyone could assist me on where I went wrong or on what route and / 
or path to look, I would be most grateful.


Kind Regards
Brent Clark

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


Struggling to remove package.

2009-04-17 Thread Brent Clark

Hiya

I seem to be struggling with removing a perl bsdpan package.

I tried:

# pkg_delete bsdpan-IO-stringy-2.110

But I get

pkg_delete: package 'bsdpan-IO-stringy-2.110' doesn't have a prefix

I even went to ~/.cpan/build/IO-stringy-2.110-SFns8F/ and ran
# make uninstall

and this is that I got.

Uninstall is unsafe and deprecated, the uninstallation was not performed.
We will show what would have been done.

unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::AtomicFile.3
unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::InnerFile.3
unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::Lines.3
unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::Scalar.3
unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::ScalarArray.3
unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::Stringy.3
unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::Wrap.3
unlink /usr/local/lib/perl5/5.8.9/man/man3/IO::WrapTie.3
unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/AtomicFile.pm
unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/InnerFile.pm
unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/Lines.pm
unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/Scalar.pm
unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/ScalarArray.pm
unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/Stringy.pm
unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/Wrap.pm
unlink /usr/local/lib/perl5/site_perl/5.8.9/IO/WrapTie.pm
unlink /usr/local/lib/perl5/site_perl/5.8.9/mach/auto/IO/Stringy/.packlist

Uninstall is unsafe and deprecated, the uninstallation was not performed.
Please check the list above carefully, there may be errors.
Remove the appropriate files manually.
Sorry for the inconvenience.

--

If anyone can assist, I would be most grateful.

Kind Regards
Brent Clark

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


Re: Multiple instances of MySQL

2009-04-09 Thread Brent Bloxam

Mel Flynn wrote:

Any reason a jail can't be used? This would allow sharing the binary using 
null or union fs, little overhead, yet seperated from host install and no 
maintenance of port installed files, like rc.d/mysql-server.


Unionfs, unix sockets and flush operations don't like each other from 
what I know, so make sure your database directory and socket aren't 
going to be located on a unionfs mount and you should be okay. Someone 
feel free to correct me if I'm wrong on this, but I definitely haven't 
been able to get MySQL to play nice with unionfs

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


Re: Compiling everything myself?

2009-03-17 Thread Brent Clark

I have been using Debian for some years and have gotten tired by
system freezes, having a slow system, and having a package system that
requires that I install every skin of KDE to get KDE up and running.

I hope FreeBSD will be better! :-)


Hiya

Im all for one compiling software for ones self, BUT the fact that you 
mention system freezes and a slow system is very suspect.


Its in your best interest to get a live cd and run memcheck and more 
importantly check your hardware.


Also have you check your machine, by using system tools such as

top, netstat, vmstat, iostat, lsof etc, basically to check what your 
machine is doing and whats it up too.


HTH

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


Re: port nasm wont upgrade

2009-03-11 Thread Brent Clark

Lowell Gilbert wrote:

You seem to be be missing /usr/ports/devel/nasm/distinfo.

You can re-create it with make makesum, but that would defeat the
point of checking file integrity in the first place.  Besides, if you
have a missing (or corrupted) file in your ports tree, there may be
others.  If you update your ports tree regularly anyway, I would
recommend removing that directory and updating.

  


Hiya

I removed the ports directory as suggest (Cant believe I didnt think of 
that). Alls working / compiling.


Thanks so much.

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


torrent client traffic shaping question

2009-03-11 Thread Brent Clark

Hiya

I got this question to ask, and I was hoping the TCP/IP gurus would be
able to help me understand this.

K you know how with traffic shapping you can control only the traffic
leaving you, how it is that torrent clients say they can control the
download as well as the upload. I would think the client can only
control the upload.

TIA

Brent Clark

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


Re: torrent client traffic shaping question

2009-03-11 Thread Brent Clark

Olivier Nicole wrote:

Maybe torrent protocol includes something where by the client tells
its peers to send data at a slower rate.

Traffic shaping is done at IP or TCP level, while the up/down load
speed is managed at the client level.

Bests,

Olivier
  

Hi

I posted the same Q on netfilters mailinglist. This was one of the 
answers I got 


snip
If you read from socket at fixed rate, it's TCP receive buffer is 
emptied at same rate. TCP announces free buffer in receive window field, 
so congestion window on sender side is also adjusted, thus limiting send 
speed to the rate you read from socket on receiver side.

/snip

Brent

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


port nasm wont upgrade

2009-03-10 Thread Brent Clark

Hiya

Im trying to upgrade SDL, but I need nasm to upgrade first.

Trying to do so, I get ...

zulu# make install
===  Vulnerability check disabled, database not found
===  Extracting for nasm-2.05.01,1
= No MD5 checksum recorded for nasm-2.05.01.tar.bz2.
= No SHA256 checksum recorded for nasm-2.05.01.tar.bz2.
= No suitable checksum found for nasm-2.05.01.tar.bz2.
= No MD5 checksum recorded for nasm-2.05.01-xdoc.tar.bz2.
= No SHA256 checksum recorded for nasm-2.05.01-xdoc.tar.bz2.
= No suitable checksum found for nasm-2.05.01-xdoc.tar.bz2.
*** Error code 1

Stop in /usr/ports/devel/nasm.

I even tried portupgrade -kO nasm.

If anyone can assist, it would be appreciated.

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


Re: roundcube security bug

2009-03-09 Thread Brent Clark

Zbigniew Szalbot wrote:

hello,

I strongly advise anyone who has the mail/roundcube port or software
installed to be careful as it has a security bug (and I do not know
where to report it). It allows people to remotely place a trojan on
/tmp and use it. They do it like this:

213.96.25.30 - - [05/Mar/2009:19:22:14 +0100] POST
/roundcube/bin/html2text.php HTTP/1.0 406
and as a result a non-empty directory /tmp/guestbook.ntr/ is created
and a file /tmp/guestbook.php

This html2text.php file has been used by an attacker on my system (at
least I think so). I have removed the port and since then I have had
no trouble, although they have been scanning for this file as I can
read in the logs.

Yours,

  

Hiya

Have you notified and / or checked with the upstream authour (maybe the 
mailinglist too).


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


Re: Pango not found .....

2009-02-25 Thread Brent Clark

Steve Polyack wrote:
I ran into this as well.  There is not a configurable option to build 
pango with Cairo support.  It is a default.  Simply rebuilding pango 
took care of it:


$ portupgrade -f pango

or

$ cd /usr/ports/x11-toolkits/pango
$ make  make deinstall reinstall


Thanks this did the trick.

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


X to not blank screen or switch off monitor

2009-02-25 Thread Brent Clark

Hiya

I got a very minimalistic installation of FreeBSD, so much so that I 
login on console and just run startx and im presented with twm.


The problem I seem to face is that I cant get X and / or freebsd to not 
blank the screen and / or switch off the monitor.


Ive run

xset s noblank  vbetool dpms on

I even set blanktime=NO in /etc/rc.conf.

And yet after a period in time of idleness my monitor goes off.

If anyone can help me understand or achieve my objective, i would be 
most grateful.


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


Pango not found .....

2009-02-24 Thread Brent Clark

Hiya

Im trying to upgrade gnome, but im having a problem upgrading GTK.

I get this message

checking Pango flags... configure: error:
*** Pango not found. Pango built with Cairo support is required
*** to build GTK+. See http://www.pango.org for Pango information.

Im following the suggestions thats in /usr/ports/UPDATING

Ive ran the script gnomelogalyzer.sh, but I get this message

-snip
The cause of your build failure is not known to gnomelogalyzer.sh ...
-snip

I go to /usr/ports/x11-toolkits/pango and run make config and I get No 
options to configure.


If anyone can help, I would appreciate it.

Kind Regards
Brent Clark

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


make config options find / used same as binary package

2009-02-22 Thread Brent Clark

Hiya

Recently someone asked about the showing of the config options from the 
ports.


My questions is, how do we see or find what were the options used when 
installed from binary (pkg_add -r binaryPackage).


Kind Regards

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


Re: video editor

2009-02-20 Thread Brent Clark

prad wrote:

any recommendations for software that can join or split wmv, mpg, avi
etc etc?

i came across mencoder for joining on this page 
http://mindspill.net/computing/linux-notes/how-to-join-video-files-in-linux.html

but i don't really know much about this sort of thing so i'm looking
for suggestions.

  

Hiya

This is a more Ubuntu / Debian based site, but im sure most of those 
ports are available.


http://www.goodbyemicrosoft.net/news.php?item.417.2

HTH.

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


gdm wont start

2009-02-09 Thread Brent Clark

Hiya

I upgraded to 7.1 and did a portupgrade and I think I broke something 
and for the likes of me .. I dont know how to fix this.


I havnt changed my /etc/rc.conf, and it all looks the same / untouched.

When ever I restart gdm I get the following.

** (gdm-binary:2646): WARNING **: Couldn't connect to system bus: Failed 
to connect to socket /var/run/dbus/system_bus_socket: No such file or 
directory


%grep gdm /etc/rc.conf
gdm_enable=YES

If anyone could assist I would really appreciate the assistance.

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


Help with AMD64 install on nforce 590 sli motherboard

2008-12-23 Thread Brent Hostetler
Hello,

I am having a rough time trying to install freebsd on one of my machines.
The machine in question has the following: ATHLON 64 X2 6000 , EVGA
Motherboard 122-M2-NF59-AX (nForce 590 SLI), 2 SATA HDs, PATA DVDRW..

I have tried the following releases: Freebsd 6.4 Release, Freebsd 7.0
Release, Freebsd 7.1 RC1, and Freebsd Snapshot 8-Current. The snapshot of
current panics, 7  7.1 I can get to the installer screen but no sata drive
is detected. I see the controllers being detected fine.

I upgraded the mboard bios to latest version. Raid is deselected in BIOS. I
do not believe there is a hardware problem. The system currently boots
Windows XP fine. I installed Ubuntu 8.10 AMD64 sucessfully and it runs find.


I am at a loss of how to proceed.


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


Warning: Can't find .....

2008-11-20 Thread Brent Clark

Hi

I would like to install man on my machine

But using sysintall I get  Warning: Can't find the `7.0-RELEASE-p5 .

Googling says I must check Options via Sysinstall and run

sysinstall releaseName=7.0-RELEASE-p5 configPackages

MY first question is, what does this do and / or fix.

When I built this machine, I used the minimalistic option, and 
everything else to install, ive being using ports.

Then every now and then just run freebsd-update and reboot.

My next question is, and for future reference, where did I go wrong, or 
what did I not do, and how may I fix this?


TIA

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


Re: Warning: Can't find .....

2008-11-20 Thread Brent Clark

matt donovan wrote:
Well you didn't install man pages since minimal install does not 
install them. To get the man pages you have to change 7.0-RELEASE-p5 
to just 7.0-RELEASE


Hi

Thanks for this, I actually did realise my mistake after the post. Mans 
installed :)


What does make me wonder is how or why sysinternal's option was set to 
7.0-RELEASE-p5 and / or could not work around it.


Anyway, its working, so im chuffed.

Thanks again for the reply

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


Re: Disk top usage PIDs

2008-11-12 Thread Brent Jones
On Tue, Nov 4, 2008 at 8:47 AM, Adam McDougall [EMAIL PROTECTED] wrote:
 Eduardo Meyer wrote:

 Hello,

 I have some serious issue. Sometimes something happens and my disk
 usage performance find its limit quickly. I follow with gstat and
 iostat -xw1, and everything usually happens just fine, with %b around
 20 and 0 to 1 pending i/o request. Suddely I get 30, 40 pending
 requests and %b is always on 100% (or more than this).

 fstat and lsof gives me no hint, because the type of programs as well
 as the amount of 'em is just the same.

 How can I find the PID which is hammering my disk? Is there an iotop
 or disktop tool or something alike?

 Its a mail server. I have pop3, imap, I also have maildrop and
 sometimes, httpd, working around the busiest mount point.

 I have also started AUDIT, however all I can get are the top PIDs
 which issue read/write requests. Not the requests which take longer to
 perform (the busiest ones), or should I look for some special audit
 class or event other than open, read and write?

 Thank you in advance.



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


I learn something new everyday on this list...!

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


raid tool

2008-11-03 Thread Brent Clark

Hiya

New to BSD, Using FreeBSD 7.
I need to build a test fileserver,  but I want it to use Raid 5. 
Googling says I must use vinum.


Looking in the ports I see its not available. The links / sites google 
suggests were moderately old, so my question is, whats the tool for raid?


TIA

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


Re: raid tool

2008-11-03 Thread Brent Clark

John Nielsen wrote:
If you replace raid5 with redundancy and n-1 capacity then you could 
also look at geom_raid3, which is much simpler to configure than gvinum 
and also part of the base system. Additionally, FreeBSD 7.x has 
experimental support for ZFS (again in the base system and not in ports). 
That includes raidz, which is designed to have all of the good features 
of raid5 and none of the bad. I use it and it works well but you will 
need to do some reading and some manual tuning of your system. You'll 
also want a system with plenty of RAM and preferrably running 
FreeBSD-amd64 (vs FreeBSD-i386).


If you want to look in to RAID1 or RAID1+0 see geom_mirror and 
geom_stripe, also in the base system.


JN


Hiya

Thanks for this. I was looking at ZFS and I am impress with what I read, 
unfortunately no AMD 64 and I only have 1Gig Ram.


Thanks again.

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


Re: securelevels

2008-08-18 Thread Brent Clark

Odhiambo Washington wrote:

Hi Brent,
  

Hey Odhiambo

Long time no hear! Hope you are good.
  

All good.

Why are you asking about this when it is so clearly documented?
I know its documented. Having used debian for x amount of years, think 
its time to add *BSD to my repertoire and too see whats used in the real 
world / practice.


Thanks for your reply.

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


securelevels

2008-08-17 Thread Brent Clark

Hi

I would like to know, in production envs, or anything for that matter, 
may I ask how many of you raise the securelevel.


If so, to what do you raise it to.

Kind Regards
Brent Clark


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


bsdpan but would prefer deb-make-perl

2008-08-11 Thread Brent Clark

Hi

I dont like these bsdpan perl modules that I needed, but have.

I would like to build and install these modules myself with something 
like debian's deb-make-perl.


Is there anything like that for freebsd, of how do you guys go about 
with this.


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


RE: ARP(4) spoofing?

2008-03-16 Thread Brent Jones
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Modulok
 Sent: Monday, 17 March 2008 4:36 p.m.
 To: freebsd-questions@freebsd.org
 Subject: ARP(4) spoofing?
 
 Would this be ARP(4) spoofing, or is it just me? How would I 
 confirm it?
 
 arp: 192.168.1.1 is on lo0 but got reply from xx:xx:xx:xx:xx:xx on em1
 last message repeated 18 times
 This is on a FreeBSD router, em1 is Internet-facing. 192.168.1.1 (em0)
 is LAN facing and permanent entry in the arp cache. This happens
 constantly and is slowly filling my log files.
 
 Thoughts? Suggestions?
 -Modulok-

What does an ifconfig -a on your machine show?  It looks like you've
configured your loopback interface to also have 192.168.1.1

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


RE: GELI encryption and HDD critical temperature

2008-02-21 Thread Brent Jones
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of cpghost
 Sent: Thursday, 21 February 2008 11:42 p.m.
 To: s.g.
 Cc: freebsd-questions@freebsd.org
 Subject: Re: GELI encryption and HDD critical temperature
 
 On Tue, Feb 19, 2008 at 11:41:18AM +0300, s.g. wrote:
  According to smartctl -a, the temperature of the encrypted 
 drives is ~59C. 
  The temperature of the unencrypted drive is, however,  
 ~41C, according to 
  the same smartctl -a.
 
 I don't know. But I've noticed that when drives access GBDE-encrypted
 partitions (I didn't try with GELI yet), they are much louder (head
 seeking). It seems they seek more often on encrypted than 
 non-encrypted
 partitions. Perhaps caching is turned off at some point up the chain?
 If that's the case, it is no wonder that encrypted partitions tend to
 result in higher drive temps (and faster drive wear).

It was explained by another poster, I don't remember when or by whom,
that GBDE writes sectors to disk in a pseudorandom fashion to make
cryptanalysis more difficult.  This would explain the seeking/noise on a
GBDE disk.

A question I have which is related to all of this:  Does GELI write
sectors in this pseudorandom fashion as well?  And, if so is there a way
to turn this off so that things are written contiguously?  This could be
useful for those wishing to encrypt things for most normal threats,
such as your teenage neighbour breaking into your house and stealing
your bitchin computer, while minimising the performance hit of
pseudorandom sector writes.

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


RE: Shutdown anomaly

2008-02-20 Thread Brent Jones

  -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Tore Lund
 Sent: Thursday, 21 February 2008 9:32 a.m.
 To: Steven Friedrich; freebsd-questions@freebsd.org
 Subject: Re: Shutdown anomaly
 
 Steven Friedrich wrote:
   iStyinncgi n(gm adxi s6k0s ,s evcnoonddess)  rfeomra 
 isnyisntge.m. .pr0o 
  cess 'syncer' to stop...0 0 done
  All buffers synced.
  Uptime: 8m9s
 
 I don't know if this is relevant.  Anyway, I used to see this error on
 7.0-RC1, at any rate when using xdm.  I no longer see it on 7.0-RC2.

I see it on my RC2 machine.  It comes and goes on my machine, and isn't
always present on shutdown.  Not running xdm, just a plain vanilla box
with no X.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Green saver doesn't shut off screen

2008-02-04 Thread Brent Jones
 With some graphic cards, the green screen saver doesn't shut down
 my flatscreen.

I've noticed this for years with DVI displays on FreeBSD.  I see it on
my machines with both ATI and Nvidia cards.  It's annoying, but just a
niggle for me.

Cheers,
Brent

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


RE: IP Aliasing

2008-01-28 Thread Brent Jones
  2) if an interface is configured with an alias address, then what
  address is shown on the traffic leaving this interface? So, for
  example, if I were to ping this machine on its primary address, I
  expect to get a response from the primary address of the interface.
  What happens if I ping an alias address, would I get a response from
 
 By default exiting traffic is using the primary address (the one
 defined with no keyword alias in the ifconfig). I think there is a way
 to choose the exiting IP.
 
 When a paket is responding, it use the same IP that was used in the
 query (else any firewall would be confused in the way).

Just a note on this question/answer:  You can configure a FreeBSD
machine to use random IP addresses from the available pool of configured
IP addresses when machines traverse the NATted firewall.  If you choose
this option, you may run into problems with people behind your
firewall/router having difficulty connecting to web sites that use
session authentication, as the IP address of the source machine will be
constantly changing with each click of links on the destination web
site.  (This caught me out for months before I realised what was
happening.)

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


RE: Buildworld for slow system on faster system

2008-01-23 Thread Brent Jones
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Shawn Barnhart
 Sent: Thursday, 24 January 2008 10:24 a.m.
 To: FreeBSD
 Subject: Buildworld for slow system on faster system
 
 My primary FreeBSD box is a Dual P3 700 Mhz, which is dandy for my 
 console mode server usage but kind of blows for buildworld 
 and kernels 
 when I want them done a timely fashion.  I'd like to do it in a 
 dual-proc VM on my quad core workstation, where it gets done 
 a lot faster.
 

What you propose works fine, but you should have the /usr/src and
/usr/obj directories locally stored on your fast machine for the builds.
Then have your slow machine nfs mount /usr/src and /usr/obj from your
fast machine, and simply do your make installs from your slow system.

The same holds true for /usr/ports.  Install/upgrade your ports with the
-p (build packages) option on your fast machine, and then on your slow
machine install/upgrade them with the -P option (use packages) after nfs
mounting /usr/ports.

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


RE: Gutman Method on Empty Space

2008-01-17 Thread Brent Jones
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Jason C. Wells
 Sent: Thursday, 17 January 2008 9:10 p.m.
 To: freebsd general questions
 Subject: Gutman Method on Empty Space
 
 Can anyone recommend a utility for the secure overwriting of 
 unused disc 
 space?

split -b 200m /dev/random randomdata ; sync  rm randomdata*

Run as many times as your paranoia factor requires on your file system.
Gutman suggests in his own writings that overwriting with random data
makes the most sense with modern disks.  Run as root to extend the
writes past the soft filesystem limit.  Use whatever split parameters
you fancy for the file sizes.  The srm port has fancy features for
file/directory deletions.

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


RE: rough method of cleaning the ports tree

2007-12-18 Thread Brent Jones
 

 after noticing how large my ports tree grows while compiling, 
 I thought 
 of simply deleting it and do a CVSup to get a new one after the 
 compilation is finished.

I, like many, just use the portsclean utility to periodically tidy
things up, or after manual ports builds if you forget to do a make
clean.  Doing this should keep things in check and keep your ports tree
from growing.

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


top posting (off-topic)

2007-11-22 Thread Brent Jones
Sorry if this is a bit off topic for this list, but it seem to be a
comment that comes up very regularly; please don't top post...

I for one prefer top posting, as usually I have read a particular thread
enough times that I like to cut to the chase and read the new input
without having to scroll down, sometimes navigating an endless nesting
of   For me, reading through top posted replies saves time and
effort.  If I happened to miss something in the conversation I can
scroll down to find it.

Anyone else feel the same?

Cheers,
Brent


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


RE: Build Frustrations

2007-11-19 Thread Brent Jones
This may help:

http://lists.freebsd.org/pipermail/freebsd-stable/2004-December/010425.h
tml

Cheers,
Brent
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dan Mahoney,
System Admin
Sent: Tuesday, 20 November 2007 1:20 p.m.
To: [EMAIL PROTECTED]
Subject: Build Frustrations

All,

I'm of the realization that FreeBSD is a volunteer project, but there's
a 
recent issue I've hit, and I've contacted nearly EVERYONE I can think of

about it to try and fix, and the response I've gotten has been a
deafening 
silence.

I'm having trouble building apache2.2.6, it relates I feel to an 
inconsitent libexpat library under FreeBSD, COMBINED with a badly made
and 
inconsistent apr port, and some libiconv incompatibilities.  I've
emailed 
ports maintainers, APR developers, the general apache mailing list, and 
gotten nothing.

I'm posting this to the straight-off questions list because I feel my 
other attempts have failed.  Can someone sanity check me?  I'm well 
aware of how to ask intelligent questions, to document what I have and

have not done, of explaining WHY I have or have not done those things.

I'm going to send it here, in the hopes maybe someone else has
encountered 
this or might spot something I'm missing.  If ANYONE can shed some light

here, I'd appreciate it and am willing to compensate in some small way,
if 
I can.

Here's what I sent to the maintainers of the above two ports:

Subject: apr versus apr-db42, as well as some other issues:

Hello,

First and foremost: I assume you're both reasonably busy professionals. 
That said, I believe there's either a bug in the core operating system 
here, or a bug in the way some of the critical ports are built, and I 
cannot figure it out alone.  It is enough of a problem that it has 
confused at least one apache committer.  That said, if you'd like to be 
compensated in some small way for your time, please point me to your 
amazon wishlists, paypal accounts, et cetera, and I'll try to do the 
right thing.

I am mailing you because you are the maintainers of the apache-2.2.6 and

apr ports.  If there are other people I should be mailing, please let me

know.

This is a post about building apache2.2 from scratch, not from ports -- 
however it raises several issues with port-installed tools that lead me
to 
believe they may still be at fault.  I apologize in advance for the
length 
of this post, but having all the data is sometimes important.  I believe

it's reproducable but I don't have the spare machines to try on.

First, the basics:

1) Is it possible to get some documentation in either the short or long 
description as to what the difference between apr and apr-db42 is?

2) Also, is it at all possible to get some kind of documentation for the

apr-svn port (if it still exists).

3) My big problem:

(I'm going to post everything from here down to the apache-users mailing

list, as well).

I just tried to build apache 2.2.6 from scratch.

I, for various reasons of wanting to keep apache separate from other 
things, for example, to virtualize my apache users, prefer everything in
a 
single dir -- so the ports route isn't for me.

Because apr-db42 had been installed as part of a subversion requirement 
(not sure why), it caused my apache build to look in nonexistent places 
for libraries.

%apr-1-config --apr-libtool
/usr/local/build-1/libtool

(the above path doesn't even exist)

To fix this (and not break the svn port), I resorted to using 
--with-included-apr.  The build THEN failed, claiming it could not find 
the installed expat libraries, in an error exactly like what this 
gentleman had:

http://www.zulustips.com/2007/10/06/problems-compiling-apache-226-on-fre
ebsd-62.html#more-54

And in fact, this apache developer had the same issue:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg18793.html

(search the page for wtf)

Like them, I had an installed expat, and had it listed in ldconfig -r (I

also note there's a libexpat in /usr/src but don't know what it's there 
for).

(I did not copy my errors because I thought I had found a solution, but 
it's the same error, I assure you).

After that,

I tried resorting to building apache with --with-expat=builtin

I then got THIS error:

/home/danm/httpd-2.2.6/srclib/apr/libtool --silent --mode=link gcc -g
-O2 
-o htpasswd  htpasswd.lo   -lm 
/home/danm/httpd-2.2.6/srclib/pcre/libpcre.la 
/home/danm/httpd-2.2.6/srclib/apr-util/libaprutil-1.la 
/home/danm/httpd-2.2.6/srclib/apr-util/xml/expat/lib/libexpat.la 
/home/danm/httpd-2.2.6/srclib/apr/libapr-1.la -lcrypt -lpthread
/home/danm/httpd-2.2.6/srclib/apr-util/.libs/libaprutil-1.so: undefined 
reference to `libiconv_open'
/home/danm/httpd-2.2.6/srclib/apr-util/.libs/libaprutil-1.so: undefined 
reference to `libiconv_close'
/home/danm/httpd-2.2.6/srclib/apr-util/.libs/libaprutil-1.so: undefined 
reference to `libiconv'
*** Error code 1

Stop in /home5/danm/httpd-2.2.6/support.
*** Error code 1

Stop in /home5/danm/httpd

New FreeBSD Job Opening with the new Open Source Group at Cisco

2007-11-13 Thread Brent Rogers (breroger)
Megan,

Hello! My name is Brent and I am a recruiter at Cisco. Join the group
that will change the way Cisco develops software. Be part of the Cisco
organization that is driving the evolution and expansion into new
technology areas and market segments. This group is responsible for
building the next generation platform using open source and Open
Unix/Linux operating systems. Please take a look at the FreeBSD position
listed below and let me know if you are interested or if you know
someone that might be interested.

Regards,

Brent

 

 

 

Software Engineer IV

 

Location

San Jose, California or virtual office

 

Description

It's an exciting time to work at Cisco. Cisco is entering an exciting
new era. The concept of the network as the platform for transforming
life's experiences is no longer a possibility: It is quickly becoming a
reality. And Cisco is leading the experience.

Cisco's Open Platform Software Technology Center is looking to hire
experienced FreeBSD developers. The next generation of Cisco's products
will be powered by Open Source operating systems and will be built from
Open Source components. Our team will build the core technology used in
a wide variety of Cisco products.

The ideal candidate has strong C programming skills, a background in
embedded and real-time operating systems, is an active contributor or
committer in the FreeBSD community, and takes a system-level view of
problem solving. Knowledge and experience with the MIPS or PowerPC
architectures is a plus. Knowledge of network protocols and network
equipment is a plus.

This is a senior/lead position and requires an MS EE/CS with 5-7 years
experience, or a BS EE/CS with 7-10+ years experience. You will be
leading a team of FreeBSD developers, focusing on building FreeBSD-based
software stacks for Cisco product teams and defining  driving Cisco's
contributions to FreeBSD.

R822353

 

Brent Rogers
Recruiter

Staffing
[EMAIL PROTECTED]
Phone :469-255-0254
Mobile :469-223-2085


Cisco Systems. Inc.
2200 E. President George Bush 
Richardson, TX, 75082
United States
http://www.cisco.apply2jobs.com/index.cfm
http://www.cisco.apply2jobs.com/index.cfm 



This e-mail may contain confidential and privileged material for the
sole use of the intended recipient. Any review, use, distribution or
disclosure by others is strictly prohibited. If you are not the intended
recipient (or authorized to receive for the recipient), please contact
the sender by reply e-mail and delete all copies of this message.   
 


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

RE: 192.168.1.1 is on lo0 but got reply from...

2007-10-30 Thread Brent Jones
You are correct, and that's all it probably means.  Someone on your ISP
side (and it could be the ISP itself) is using the 192.168 address
space.  Our ISP here uses the 172.16 private address space for a bunch
of stuff, including all their internal mail relays.

Cheers,
Brent
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Modulok
Sent: Monday, 29 October 2007 4:57 p.m.
To: freebsd-questions@freebsd.org
Subject: arp: 192.168.1.1 is on lo0 but got reply from...

One of my FreeBSD machines acts as a router, providing shared internet
access via ipfw/natd to the local network. Recently I've been getting
a lot of these in the logs:

arp: 192.168.1.1 is on lo0 but got reply from (someEthernetAddress)
on xl1

xl1 is my Internet-facing interface. The address  192.168.1.1 is
configured on the internal interface, xl0 not xl1. The address mapping
for 192.168.1.1 is a permanent entry in the ARP table. 1) After
reading the arp(4) manpage am I to assume that someone on my ISP's
side of things has something terribly mis-configured? 2) If the local
host has a permanent entry for 192.168.1.1, why would it send out an
arp request for an address it already knows (is this normal)?

Just trying to make sure it's not something I screwed up...
-Modulok-
___
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: Hard drive RPM

2007-09-19 Thread Brent Jones
 
As far as the 120gig != 111gig discrepancy, it sounds like the drive
manufacturer use 1 gig = 1,000,000,000 bytes instead of 1,073,741,824
bytes for their advertising.  It looks better on the box.  It gets messy
with drive advertisements as there's no required standard for how they
advertise a gigabyte, and whether it's formatted or unformatted
capacity.  I just assume they're advertising unformatted capacity with
1,000,000,000 bytes as a gig, then I'm pleasantly surprised in the end
if I have more than I expected.  :)

Cheers,
Brent

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of jekillen
Sent: Thursday, 20 September 2007 12:47 p.m.
To: FreeBSD Mailing List
Subject: Hard drive RPM

Hello;
I have one that was expressly advertised on the package to be 120 Gb
capacity, and in fact only 111Gb are available for storage.
That is a 9 Gb discrepancy. A Fire wire drive I have is also designated
as 120 Gb and actually only has 117 Gb usable capacity.
Like 9Gb is enough for several operating systems. 3Gb is even enough for
an operating system.

Can anyone shed some light on this? (Storage device labeling, and
specifically, RPM specs)

I would ask the manufacturers but would be suspicious of bias responses.
That is what I got from one of them already.

Thanks in advance for responses.
The hard drives in question are running on FreeBSD systems on homebuilt
hardware. All AMD64 processors, ECS, Gigabyte, and ASUS motherboards,
Hard drives are Western Digital IDE, SATA, and Seagate SCSI drives.

Jeff K

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


Do you need to rebuild ports after 7-Current upgrade?

2007-09-18 Thread Brent Jones
Good morning -

After a 6.2 to 7-Current FreeBSD upgrade, do you need to rebuild your
ports?

Cheers,
Brent

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


Portsnap and Internet2 (for lack of a better term)

2007-09-18 Thread Brent Jones
Good morning -

Are there any portsnap mirrors that are hosted on research/education
sites that are connected to Internet2 (or its various names)?
Portsnap.freebsd.org, and the mirrors 1 though 4 all seem to be on
standard commodity Internet sites.  (Trying to avoid bandwidth charges).
Many CVSUP mirrors are available via the research network, but I was
wanting to try portsnap for a change.

Cheers,
Brent

--
J. Brent Jones, Manager, Technology Services
University of Otago, School of Business
Dunedin
NEW ZEALAND 
Phone:  +64 3 479 8042
http://www.otago.ac.nz/business


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


RE: F11 in Firefox

2007-09-12 Thread Brent Jones
 
Hitting F11 again doesn't bring it back to normal?  It does for me.

Cheers,
Brent


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Greg Barniskis
Sent: Thursday, 13 September 2007 10:00 a.m.
To: freebsd-questions@freebsd.org; David Benfell
Subject: Re: F11 in Firefox

David Benfell wrote:
 Hello all,
 
 Having long fingers, I occasionally hit F11 while typing into a text 
 box in Firefox.  F11 does something truly horrible that I never under 
 any circumstances want.
 
 It moves the window partially off screen such that the window controls

 are inaccessible.
 
 As I said, I NEVER EVER want this function.  It is, in my view, a 
 damnable bug.  The only way I can get control back is to exit Firefox.
 
 How do I kill it?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


New Zealand DST updates

2007-08-20 Thread Brent Jones
Good afternoon -

New Zealand is changing when it goes on and off daylight savings time
this year.  I have diffs to /usr/src/share/zoneinfo/australasia for
FreeBSD 6.2 which take this change into account.  To whom should I send
this information so that it makes it into the source tree for this and
future releases?

Cheers,
Brent


--
J. Brent Jones, Manager, Technology Services
University of Otago, School of Business
Dunedin
NEW ZEALAND 
Phone:  +64 3 479 8042
http://www.otago.ac.nz/business


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


server was hacked

2007-08-11 Thread Brent
Im running FBSD 5.4 as a web server the server is behind a cisco firewall
/router and the server has alot of CMS jumila / mambo sites on it. I noticed
that when i ran sockstat i was seeing multiple IPs connected to high ports on
the server with a process id of psybnc . Did some looking around  found
that this is a IRC relay program that was installed through a compromised
mambo site. after getting rid of the program I changed our router to disallow
this type of traffic.. started trying to fix the box. Im pretty sure that
root wasnt compromised but im going to re-install anyway. my question has
anyone run into this problem with CMS sites, HOw excatly are they getting in ?
what are the things I can do to prevent this. On FBSD how do you checksum
binaries on the system to ensure someone hasnt replaced one with there own 
binary.

thank you...and  all help is greatly appreciated


--
Brent 

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


Wierd interface issues

2007-05-08 Thread Brent
Hello, I am running FBSD 6.2 Release #0 . We are seeing wierdness while
connected to the machine with ssh. As long as my session stays active..i dont
get connected but if i stay idle for more than 2-3 minutes ill get disconnected.
Im seeing this in my daily log output,

web.whatever.com kernel log messages:
+++ /tmp/security.ynpbiEvk Tue May  8 03:02:22 2007
+xl0: link state changed to DOWN
+xl0: link state changed to UP
+xl0: link state changed to DOWN
+xl0: link state changed to UP

Im not sure if this is a driver issue with this release of FBSD or hardware
issue. I thought i remember a few threads with issues like this.

FreeBSD web.whatever.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12
10:40:27 UTC 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

anyway...thanks in advance for your help.



--
Brent 


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


Installing xPDF on a shared server

2007-03-20 Thread Brent Russell

I need to install xPDF on a shared server at ipower.  I am completely new to
this, and do not understand the command lines.  In elementary terms, can you
help me with step-by-step instructions?  I've contacted ipower and Derek at
xPDF, and they were unable to help with installing xPDF on the shared
server.  I understand that its frustrating explaining this to someone as who
knows nothing about freebsd, ports, etc.  The instructions listed below have
only confused me more.  I dont know where to issue commands, etc.

6.4.3 Xpdf

If you want a small FreeBSD PDF viewer, *Xpdf* is a light-weight and
efficient viewer. It requires very few resources and is very stable. It uses
the standard X fonts and does not require *Motif(r)* or any other X toolkit.

To install the *Xpdf* package, issue this command:

# pkg_add -r xpdf

If the package is not available or you prefer to use the Ports Collection,
do:

# cd /usr/ports/graphics/xpdf
# make install clean

Once the installation is complete, you can launch *Xpdf* and use the right
mouse button to activate the menu.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Resetting disabled USB port

2006-11-06 Thread Brent Casavant
Hello,

I've been attempting to get the moto4lin utility (moto4lin.sourceforge.net)
working under FreeBSD (6.0-RELEASE, if it matters).  It compiles no
problem, and running seems to be fine, other than not yet being able
to communicate with my Motorola PEBL U6 cell phone.  The ucom (and umodem?)
interfaces are used to establish connectivity.

I want to attempt debugging the problem communicating with the phone,
however the kernel shuts down the USB port on me whenver I unplug the
phone:

Nov  1 21:17:18 abigail kernel: ucom0: Motorola Inc. Motorola Phone (PEBL U6), 
rev 1.10/0.01, addr 2, iclass 2/2
Nov  1 21:17:18 abigail kernel: ucom0: data interface 1, has CM over data, has 
no break
Nov  1 21:17:18 abigail kernel: ucom0: status change notification available
Nov  1 22:07:07 abigail kernel: ucom0: ucomreadcb: IOERROR
Nov  1 22:07:07 abigail kernel: ucom0: abnormal status: IOERROR
Nov  1 22:07:07 abigail last message repeated 3 times
Nov  1 22:07:07 abigail kernel: ucom0: at uhub2 port 2 (addr 2) disconnected
Nov  1 22:07:08 abigail kernel: All threads purged from cuaU0
Nov  1 22:07:08 abigail kernel: All threads purged from ttyU0
Nov  1 22:07:08 abigail kernel: ucom0: detached
Nov  1 22:07:11 abigail kernel: uhub2: port 2, set config at addr 2 failed
Nov  1 22:07:11 abigail kernel: uhub2: device problem (IOERROR), disabling port 
2

My question is whether there is a method to re-enable the port
short of a full reboot?  Requiring a reboot makes the debugging
cycle significantly long enough to be painful.

Thanks,
Brent

-- 
Brent Casavant  Dance like everybody should be watching.
www.angeltread.org
KD5EMB, EN34lv
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Using FreeBSD as a router

2006-09-20 Thread Brent

You can easily do the Freebsd firewall  just by following the FBSD handbook
or go to http://mostgraveconcern.com/freebsd/

and look at the article on Setting up a network gateway


--
Brent Bailey CCNA
Bmyster LLC
Computer Networking and Webhosting
Network  Sytems Engineer, President
[EMAIL PROTECTED]


--RIP Brother Dime--

-- Original Message ---
From: Robert Fitzpatrick [EMAIL PROTECTED]
To: FreeBSD freebsd-questions@freebsd.org
Sent: Wed, 20 Sep 2006 12:11:32 -0400
Subject: Using FreeBSD as a router

 It's time to upgrade my old Cisco 10Mbps router and I am seriously 
 considering using FreeBSD. I have found some solutions and wonder 
 what one would recommend here on the list...
 
 Solution 1: http://tomclegg.net/256-router
 Solution 2: http://m0n0.ch/wall/index.php
 
 I want to duplicate my Cisco setup. It has 4 Ethernet ports with the 
 WAN subnet assigned to the WAN port and 3 different subnets assigned 
 to each of the remaining 3 ports leading to their VLANs on the 
 switch. Looking for advise from those who have used the above 
 solutions and their experiences.
 
 Thanks in advance!
 
 --
 Robert
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
--- End of Original Message ---

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


gmirror/gconcat: mkdir causes system reboot

2006-07-30 Thread Brent Hostetler

I am having a strange issue. I have a samba server (freebsd) that has
been running fine for quite some time no errors to report. I replaced
the system drives with fresh install of Freebsd
6.1 and updated to the current security branch. This was same version
of freebsd previously on the server.

All of the samba shares are on gmirror/gconcat hybrid mount point.
'/dev/gconcat/DATA' mounted on /usr/local/smbshares.

Now for some uknown reason creating a directories on this directory
will immediately cause reboot!!


From shell prompt I can SOMETIMES do the following othertimes it reboots:

$ mkdir /usr/local/smbshares/testdir
$ mkdir /usr/local/smbshares/test2

However creating directory beneath a directory in 'smbshares' ALLWAYS reboots:
$ mkdir /usr/local/smbshares/media/pictures/testdir
$ mkdir /usr/local/smbshares/media/dvds/testdir
$ mkdir /usr/local/smbshares/media/dvds/all/testdir

Reads seem to work fine. I can even create files so far with no
problem. Files can be deleted without error. It is just when I try to
make a directory that everything comes to a halt.

The console error displayed before reboot is too quick to completley
write but is something such as:

mode 04277 inum=12258433 fs=/usr/local/smbshares
panic: ffs_vallov: dup alloc

 snip ...  All the providers are destroyed...

Cannot dump: No dump device

No apparent errors in logs.

- Furthe system info.
$ uname -a
FreeBSD quiet.silent 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #0: Sun Jul
30 05:02:15 PDT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

$ gmirror status
  NameStatus  Components
mirror/ROOT  COMPLETE  ad0s1
  ad2s1
 mirror/D2  COMPLETE  ad4s1
  ad16s1
 mirror/D4  COMPLETE  ad6s1
  ad8s1
 mirror/D1  COMPLETE  ad10s1
  ad12s1
 mirror/D3  COMPLETE  ad14s1
  ad18s1

$ gconcat status
  Name  Status  Components
concat/DATA  UP  mirror/D4
   mirror/D1
   mirror/D2
   mirror/D3

$ cat /etc/fstab
# DeviceMountpoint  FStype  Options DumpPass#
/dev/mirror/ROOTb   noneswapsw  0   0
/dev/mirror/ROOTa   /   ufs rw  1   1
/dev/mirror/ROOTe   /tmpufs rw  2   2
/dev/mirror/ROOTf   /usrufs rw  2   2
/dev/mirror/ROOTd   /varufs rw  2   2
/dev/concat/DATA/usr/local/smbshares ufs  rw2   2
/dev/acd0   /cdrom  cd9660  ro,noauto   0   0

$ df -h
Filesystem   SizeUsed   Avail Capacity  Mounted on
/dev/mirror/ROOTa959M 58M824M 7%/
devfs1.0K1.0K  0B   100%/dev
/dev/mirror/ROOTe4.9G 24K4.5G 0%/tmp
/dev/mirror/ROOTf 98G8.4G 82G 9%/usr
/dev/mirror/ROOTd4.9G123M4.4G 3%/var
/dev/concat/DATA 1.2T794G338G70%/usr/local/smbshares

$ dmesg
Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD 6.1-RELEASE-p3 #0: Sun Jul 30 05:02:15 PDT 2006
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
mptable_probe: MP Config Table has bad signature: 4 C
ACPI APIC Table: FICAU13
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Unknown CPU Type (1603.65-MHz 686-class CPU)
 Origin = AuthenticAMD  Id = 0x681  Stepping = 1
 
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
 AMD Features=0xc0400800SYSCALL,MMX+,3DNow+,3DNow
real memory  = 268369920 (255 MB)
avail memory = 253112320 (241 MB)
ioapic0 Version 1.1 irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: FIC AU13 on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
cpu0: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: NVIDIA nForce2 AGP Controller mem 0xe800-0xe9ff at
device 0.0 on pci0
pci0: memory, RAM at device 0.1 (no driver attached)
pci0: memory, RAM at device 0.2 (no driver attached)
pci0: memory, RAM at device 0.3 (no driver attached)
pci0: memory, RAM at device 0.4 (no driver attached)
pci0: memory, RAM at device 0.5 (no driver attached)
isab0: PCI-ISA bridge at device 1.0 on pci0
isa0: ISA bus on isab0
pci0: serial bus, SMBus at device 1.1 (no driver attached)
ohci0: OHCI (generic) USB controller mem 0xee08-0xee080fff irq
20 at device 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: OHCI 

how to check for a compromised system

2006-06-28 Thread Brent
Hello,
Im running several servers all ranging from FBSD 4.11 through the 5.4 release
, patched of course. MY question is how do i check a system to see if has been
compromised ? I have already run a current version chkrootkit  found nothing.

The symptom im seeing is yesterday all of a sudden the root user was removed
from the /etc/passwd file  Im not sure on how to track down what happened. I
managed to recover from this. Are there any other tools that i can use to
track down say who did what on the box? files that may have changed  time 
dates...

any help is greatly appreciated


--
Brent 

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


Library Dependency: package built from port

2006-06-17 Thread Brent Hostetler

Here is scenario:
   Machine1: destination server with multiple jails
   Machine2: build computer

Machine2 tracks RELENG_6_1, builds any updates. /usr/src and /usr/obj
copied from Machine2 to Machine 1. Updates are installed on Machine1.
This works great.

Now I want to build ports on Machine2 as packages then install the
packages on Machine1. I am having problems with this scenario.

Here is what Im doing.

Example case, install /usr/ports/www/elinks

1. cd /usr/ports/www/elinks
2. use make all-depends-list  to determine dependencies
3. make package-recursive
4. then I tar up the .tbz files
5. copy to Machine1; untar; then pkg_add the tarballs
6. rehash
7. www# elinks /libexec/ld-elf.so.1: Shared object libX11.so.6 not
found, required by elinks

www# ldd /usr/local/bin/elinks
/usr/local/bin/elinks:
   libX11.so.6 = not found (0x0)
   libssl.so.4 = /usr/lib/libssl.so.4 (0x28115000)
   libcrypto.so.4 = /lib/libcrypto.so.4 (0x28143000)
   libz.so.3 = /lib/libz.so.3 (0x2823a000)
   libbz2.so.2 = /usr/lib/libbz2.so.2 (0x2824a000)
   libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28259000)
   libc.so.6 = /lib/libc.so.6 (0x28346000)


Questions:
1. Why is pkg_add not mentioning missing dependency?
2. What pkg/port needs install for this dependency?
3. How can I improve this process to eliminate future problems?

Thanks!

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


system freezes.

2006-05-22 Thread Brent Rieck
Hello,
  I've been having some freeze problems with my managed freebsd server
that my host has been less than helpful with; I hope that this is the
right place to ask the questions I have.

os: freebsd 4.8-stable
major applications: apache 1.3.29 + php 4.3.10 , mysql 4.1.18-log,
dirvish, riff-backup

  Machine freezes with nothing written to the logs or console - if you
happen to be logged in and running top when it starts to freeze your
top session will run completely normally and without lag (spacebar
refreshes display, you can resort on size or cpu, etc), but no other
processes can start - typing a command into another open shell will not
start that program.  Until it fully freezes it will echo characters back
in the shell - and top will continue to run as normal.  Top always shows
a load of 0.1, there's always 5MB to 50MB of ram free.

  All of the hardware has been replaced (motherboard, cpu, ram, power
supply, hard drive)

  I can't make it freeze on demand by replaying the web hits or database
queries that occurred before the crash.

  I am able to make it freeze on demand by slurping down a particular
dirvish vault with rsync.  The freeze symptoms are the same as the
random freeze symptoms (top responds normally, new processes can't start)

  The random freezes occur whether or not I'm running dirvish on a schedule.

  The rsync freezing I can work around if needed, the random freezes I
cannot.  Does anybody have any suggestions on how I might track down the
problem?

thanks,
Brent


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


new file format for log files in 5x tree ??

2006-05-02 Thread Brent

Hello,

I just upgraded a server of mine to the 5.4 release  noticed that maillogs 
cron logs are now being zipped into bz2 compressed files. I know this is a
stupid question but what do use on the system to unpack these files ? so i cn
look at logs ...


thank you
--
Brent 

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


Re: Is Squirrelmail the best webmail choice?

2006-04-19 Thread Brent
We use to use squirrelmail ...We ended up using openwebmail.

--
Brent Bailey CCNA
Bmyster LLC
Computer Networking and Webhosting
Network Engineer, Webmaster, President
http://www.bmyster.com
[EMAIL PROTECTED]
207-490-5992

--RIP Brother Dime--

-- Original Message ---
From: Igor Robul [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Wed, 19 Apr 2006 10:09:45 +0400
Subject: Re: Is Squirrelmail the best webmail choice?

 On Wed, Apr 19, 2006 at 10:06:52AM +0400, Igor Robul wrote:
  I have used squirrelmail too, but now I use hastymail:
   http://hastymail.sourceforge.net/
  
  It has cleaner interface (from my point of view of course :-) ), and all
  features I need.
 Also it is our corporate webmail system for same reason :-)
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
--- End of Original Message ---

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


mailgraph install on Freebsd 5.4 help

2006-04-14 Thread Brent
I went and installed the mailgraph-1.12_1 from a newly cvsup'd ports
collection ..it installed fine BUT im running into to things
when i try to start mailgraph from the rc scripts this is what i get

loqtis# cd /usr/local/etc/rc.d/
loqtis# ./mailgraph.sh start
net.inet.tcp.blackhole: 2 - 2
net.inet.udp.blackhole: 1 - 1
Starting mailgraph.
/usr/local/sbin/mailgraph.pl: not found

but i do a ls -al of the mailgraph.pl and IT IS there

loqtis# ls -la /usr/local/sbin/mailgraph.pl
-r-xr-xr-x  1 root  wheel  25164 Apr 14 11:49 /usr/local/sbin/mailgraph.pl

Id really like to start this via the rc script ...but how ?


So i try to run it by hand by doing;
perl /usr/local/sbin/mailgraph.pl --logfile /var/log/maillog
--daemon-rrd=/var/db/mailgraph --daemon-pid=/var/db/mailgraph/mailgraph.pid
--daemon

it does start but how do i access the info ?  i tried accessing it at 

http://servername.com/cgi-bin/mailgraph.cgi

and apache gives me this error in my browser.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to
complete your request.

Please contact the server administrator, [EMAIL PROTECTED] and inform them of
the time the error occurred, and anything you might have done that may have
caused the error.

More information about this error may be available in the server error log.

Apache/1.3.33 Server at new.host.name Port 443

In the apache error logs i see:
[Fri Apr 14 13:19:47 2006] [error] (2)No such file or directory: exec of
/usr/local/www/cgi-bin/mailgraph.cgi failed
[Fri Apr 14 13:19:47 2006] [error] [client x.x.x.x] Premature end of script
headers: /usr/local/www/cgi-bin/mailgraph.cgi

Im sure this is an apache config related error...but im not sure what

Anyone run into this ?

any help is really appreciated

--
Brent 

--RIP Brother Dime--

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


Linksys EG1032 -- couldn't map ports/memory

2006-02-18 Thread Brent Hostetler
Hello,
I am trying to get a linksys EG1032 working with freebsd 6.0. The
driver appears to not be loading properly giving error that it could
not map ports/memory and attach returned 6. Not sure what is wrong, or
what needs to be done to fix.

Please advise,

Brent

Relevant data:

# uname -a

FreeBSD files 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #0: Sun Jan 29
05:17:11 PST 2006   =20
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

# pciconf -v -l | grep -A 3 -B 3 Linksys

vendor   =3D 'Promise Technology Inc'
class=3D mass storage
[EMAIL PROTECTED]:12:0: class=3D0x02 card=3D0x00241737 chip=3D0x10321737 
rev=3D=
0x10 hdr=3D0x00
vendor   =3D 'Linksys'
device   =3D 'EG1032 Gigabit Ethernet'
class=3D network
subclass =3D ethernet

# dmesg | grep sk
skc0: Linksys EG1032 Gigabit Ethernet port 0xb000-0xb0ff mem
0xeb0a5000-0xeb0a50ff irq 16 at device 12.0 on pci1
sk0: couldn't map ports/memory
device_attach: skc0 attach returned 6


# dmesg

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.0-RELEASE-p4 #0: Sun Jan 29 05:17:11 PST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
module_register: module pci/nge already exists!
Module pci/nge failed to register: 17
module_register: module nge/miibus already exists!
Module nge/miibus failed to register: 17
mptable_probe: MP Config Table has bad signature: 4 C
ACPI APIC Table: FICAU13
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Unknown CPU Type (1603.64-MHz 686-class CPU)
  Origin =3D AuthenticAMD  Id =3D 0x681  Stepping =3D 1
  Features=3D0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE=
,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
  AMD Features=3D0xc0400800SYSCALL,MMX+,3DNow+,3DNow
real memory  =3D 268369920 (255 MB)
avail memory =3D 253128704 (241 MB)
ioapic0 Version 1.1 irqs 0-23 on motherboard
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: FIC AU13 on motherboard
acpi0: Power Button (fixed)
pci_link0: ACPI PCI Link LNK1 irq 10 on acpi0
pci_link1: ACPI PCI Link LNK2 irq 11 on acpi0
pci_link2: ACPI PCI Link LNK3 irq 11 on acpi0
pci_link3: ACPI PCI Link LNK4 irq 12 on acpi0
pci_link4: ACPI PCI Link LNK5 on acpi0
pci_link5: ACPI PCI Link LUBA irq 5 on acpi0
pci_link6: ACPI PCI Link LUBB on acpi0
pci_link7: ACPI PCI Link LMAC on acpi0
pci_link8: ACPI PCI Link LAPU irq 12 on acpi0
pci_link9: ACPI PCI Link LACI irq 10 on acpi0
pci_link10: ACPI PCI Link LMCI on acpi0
pci_link11: ACPI PCI Link LSMB on acpi0
pci_link12: ACPI PCI Link LUB2 irq 11 on acpi0
pci_link13: ACPI PCI Link LFIR irq 5 on acpi0
pci_link14: ACPI PCI Link L3CM irq 5 on acpi0
pci_link15: ACPI PCI Link LIDE on acpi0
pci_link16: ACPI PCI Link APC1 irq 16 on acpi0
pci_link17: ACPI PCI Link APC2 irq 17 on acpi0
pci_link18: ACPI PCI Link APC3 irq 18 on acpi0
pci_link19: ACPI PCI Link APC4 irq 19 on acpi0
pci_link20: ACPI PCI Link APC5 irq 16 on acpi0
pci_link21: ACPI PCI Link APCF irq 0 on acpi0
pci_link22: ACPI PCI Link APCG irq 0 on acpi0
pci_link23: ACPI PCI Link APCH irq 0 on acpi0
pci_link24: ACPI PCI Link APCI irq 0 on acpi0
pci_link25: ACPI PCI Link APCJ irq 0 on acpi0
pci_link26: ACPI PCI Link APCK irq 0 on acpi0
pci_link27: ACPI PCI Link APCS irq 23 on acpi0
pci_link28: ACPI PCI Link APCL irq 0 on acpi0
pci_link29: ACPI PCI Link APCM irq 0 on acpi0
pci_link30: ACPI PCI Link AP3C irq 0 on acpi0
pci_link31: ACPI PCI Link APCZ irq 0 on acpi0
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
cpu0: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: NVIDIA nForce2 AGP Controller mem 0xe800-0xe9ff at
device 0.0 on pci0
pci0: memory, RAM at device 0.1 (no driver attached)
pci0: memory, RAM at device 0.2 (no driver attached)
pci0: memory, RAM at device 0.3 (no driver attached)
pci0: memory, RAM at device 0.4 (no driver attached)
pci0: memory, RAM at device 0.5 (no driver attached)
isab0: PCI-ISA bridge at device 1.0 on pci0
isa0: ISA bus on isab0
pci0: serial bus, SMBus at device 1.1 (no driver attached)
ohci0: OHCI (generic) USB controller mem 0xee08-0xee080fff irq
20 at device 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: OHCI (generic) USB controller mem 0xee083000-0xee083fff at
device 2.1 on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: OHCI (generic) USB controller on ohci1
usb1: USB revision 1.0
uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports

Linksys EG1032 -- couldn't map ports/memory; skc0 attach returned 6

2006-02-18 Thread Brent Hostetler
Hello,
I am trying to get a linksys EG1032 working with freebsd 6.0. The
driver appears to not be loading properly giving error that it could
not map ports/memory and attach returned 6. Not sure what is wrong, or
what needs to be done to fix.

Please advise,

Brent

Relevant data:

# uname -a

FreeBSD files 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #0: Sun Jan 29
05:17:11 PST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

# pciconf -v -l | grep -A 3 -B 3 Linksys

vendor   = 'Promise Technology Inc'
class= mass storage
[EMAIL PROTECTED]:12:0: class=0x02 card=0x00241737 chip=0x10321737 rev=0x10 
hdr=0x00
vendor   = 'Linksys'
device   = 'EG1032 Gigabit Ethernet'
class= network
subclass = ethernet

# dmesg | grep sk
skc0: Linksys EG1032 Gigabit Ethernet port 0xb000-0xb0ff mem
0xeb0a5000-0xeb0a50ff irq 16 at device 12.0 on pci1
sk0: couldn't map ports/memory
device_attach: skc0 attach returned 6


# dmesg

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.0-RELEASE-p4 #0: Sun Jan 29 05:17:11 PST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
module_register: module pci/nge already exists!
Module pci/nge failed to register: 17
module_register: module nge/miibus already exists!
Module nge/miibus failed to register: 17
mptable_probe: MP Config Table has bad signature: 4 C
ACPI APIC Table: FICAU13
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Unknown CPU Type (1603.64-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x681  Stepping = 1
  
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
  AMD Features=0xc0400800SYSCALL,MMX+,3DNow+,3DNow
real memory  = 268369920 (255 MB)
avail memory = 253128704 (241 MB)
ioapic0 Version 1.1 irqs 0-23 on motherboard
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: FIC AU13 on motherboard
acpi0: Power Button (fixed)
pci_link0: ACPI PCI Link LNK1 irq 10 on acpi0
pci_link1: ACPI PCI Link LNK2 irq 11 on acpi0
pci_link2: ACPI PCI Link LNK3 irq 11 on acpi0
pci_link3: ACPI PCI Link LNK4 irq 12 on acpi0
pci_link4: ACPI PCI Link LNK5 on acpi0
pci_link5: ACPI PCI Link LUBA irq 5 on acpi0
pci_link6: ACPI PCI Link LUBB on acpi0
pci_link7: ACPI PCI Link LMAC on acpi0
pci_link8: ACPI PCI Link LAPU irq 12 on acpi0
pci_link9: ACPI PCI Link LACI irq 10 on acpi0
pci_link10: ACPI PCI Link LMCI on acpi0
pci_link11: ACPI PCI Link LSMB on acpi0
pci_link12: ACPI PCI Link LUB2 irq 11 on acpi0
pci_link13: ACPI PCI Link LFIR irq 5 on acpi0
pci_link14: ACPI PCI Link L3CM irq 5 on acpi0
pci_link15: ACPI PCI Link LIDE on acpi0
pci_link16: ACPI PCI Link APC1 irq 16 on acpi0
pci_link17: ACPI PCI Link APC2 irq 17 on acpi0
pci_link18: ACPI PCI Link APC3 irq 18 on acpi0
pci_link19: ACPI PCI Link APC4 irq 19 on acpi0
pci_link20: ACPI PCI Link APC5 irq 16 on acpi0
pci_link21: ACPI PCI Link APCF irq 0 on acpi0
pci_link22: ACPI PCI Link APCG irq 0 on acpi0
pci_link23: ACPI PCI Link APCH irq 0 on acpi0
pci_link24: ACPI PCI Link APCI irq 0 on acpi0
pci_link25: ACPI PCI Link APCJ irq 0 on acpi0
pci_link26: ACPI PCI Link APCK irq 0 on acpi0
pci_link27: ACPI PCI Link APCS irq 23 on acpi0
pci_link28: ACPI PCI Link APCL irq 0 on acpi0
pci_link29: ACPI PCI Link APCM irq 0 on acpi0
pci_link30: ACPI PCI Link AP3C irq 0 on acpi0
pci_link31: ACPI PCI Link APCZ irq 0 on acpi0
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
cpu0: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: NVIDIA nForce2 AGP Controller mem 0xe800-0xe9ff at
device 0.0 on pci0
pci0: memory, RAM at device 0.1 (no driver attached)
pci0: memory, RAM at device 0.2 (no driver attached)
pci0: memory, RAM at device 0.3 (no driver attached)
pci0: memory, RAM at device 0.4 (no driver attached)
pci0: memory, RAM at device 0.5 (no driver attached)
isab0: PCI-ISA bridge at device 1.0 on pci0
isa0: ISA bus on isab0
pci0: serial bus, SMBus at device 1.1 (no driver attached)
ohci0: OHCI (generic) USB controller mem 0xee08-0xee080fff irq
20 at device 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: OHCI (generic) USB controller mem 0xee083000-0xee083fff at
device 2.1 on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: OHCI (generic) USB controller on ohci1
usb1: USB revision 1.0
uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ehci0: EHCI

Re: Linksys EG1032 -- couldn't map ports/memory

2006-02-18 Thread Brent Hostetler
So from what I gather,  rev=0x10 indicates the use of the realteak
chipset and the 6.0 release kernel does not recognize this variant and
must be patched to load the correct driver re.

I have not manually done source patches and am kind of adverse to
using blind patches from mailing lists. Is the only other solution to
update to current?

thanks.
Brent

On 2/18/06, Benjamin Lutz [EMAIL PROTECTED] wrote:
 On Saturday 18 February 2006 21:11, Brent Hostetler wrote:
  Hello,
  I am trying to get a linksys EG1032 working with freebsd 6.0. The
  driver appears to not be loading properly giving error that it could
  not map ports/memory and attach returned 6. Not sure what is wrong, or
  what needs to be done to fix.

 I've had the same issue a few months ago. This will probably help you:
 http://marc.theaimsgroup.com/?l=freebsd-currentm=112851499907268w=2

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


ethernet Interface haywire ???

2006-02-15 Thread brent

Has anyone run into this scenario where a BSD Box (RELENG_5_4) takes down
the whole subnet for only FreeBSD boxes. Here’s the scenario: One of my
web servers goes into a crazy state which kills all traffic on the network
for only FreeBSD boxes.  Linux boxes can talk to other linux boxes, but
FreeBSD boxes are dead. You can ping a FreeBSD box (from linux) but services
such as SSH go half-way and never completely connect. Other services such as
http don’t work either.  Rebooting that offending box fixes the problem.
I’ve seen this once it a great moon; however, it recently happened two
days in a row. Any suggestions would be appreciated.  I have other
RELENG_5_4 and RELENG_6_0 boxes that don’t seem to be the culprit, as well
as an identical hardware box running RELENG_6_0. Thanks.

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


Re: ethernet Interface haywire ???

2006-02-15 Thread brent

Thanks--the server has em (intel gigabit) nics. Have you seen this on any
specific version of FreeBSD and *hopefully* not on others (e.g. RELENG_6_0)?

Brent

Danial Thom writes:


I've seen it happen when the ethernet device gets
a bus error and throws it into some strange
state. I've seen it mostly with on-board intel
devices (fxp), but thats what we use mostly so it
may not be part specific.

DT

--- brent [EMAIL PROTECTED] wrote:


Has anyone run into this scenario where a BSD
Box (RELENG_5_4) takes down
the whole subnet for only FreeBSD boxes.
Here’s the scenario: One of my
web servers goes into a crazy state which kills
all traffic on the network
for only FreeBSD boxes.  Linux boxes can talk
to other linux boxes, but
FreeBSD boxes are dead. You can ping a FreeBSD
box (from linux) but services
such as SSH go half-way and never completely
connect. Other services such as
http don’t work either.  Rebooting that
offending box fixes the problem.
I’ve seen this once it a great moon; however,
it recently happened two
days in a row. Any suggestions would be
appreciated.  I have other
RELENG_5_4 and RELENG_6_0 boxes that don’t
seem to be the culprit, as well
as an identical hardware box running
RELENG_6_0. Thanks.

___
freebsd-questions@freebsd.org mailing list


http://lists.freebsd.org/mailman/listinfo/freebsd-questions

To unsubscribe, send any mail to
[EMAIL PROTECTED]




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



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


Apache 2.0.55_2 mod_dav not working

2006-01-22 Thread Brent Kearney
Hello,

After upgrading apache from 2.0.54 to the latest version, 2.0.55_2, WebDAV 
has stopped working.  The mod_dav and mod_dav_fs modules load OK, but the 
lock file that is specified in the DavLockDB directive does not get created, 
and WebDAV clients cannot connect.

The /server-info page provided by mod_info shows that the DAV modules are 
active:

Module Name: mod_dav.c
Content handlers: yes
Configuration Phase Participation: Create Directory Config, Merge Directory 
Configs, Create Server Config, Merge Server Configs
Request Phase Participation: Fixups
Module Directives:
DAV - specify the DAV provider for a directory or location
DAVMinTimeout - specify minimum allowed timeout
DAVDepthInfinity - allow Depth infinity PROPFIND requests
Current Configuration:
Location /davtest
  DAV on
/Location


Module Name: mod_dav_fs.c
Content handlers: none
Configuration Phase Participation: Create Server Config, Merge Server Configs
Request Phase Participation: none
Module Directives:
DAVLockDB - specify a lock database
Current Configuration:
DAVLockDB /tmp/DAVLock 


The Location container that I set up is simplified for testing purposes.  
The only indicator that something is wrong on the server side is that no
files get created in /tmp, despite the DAVLockDB directive.

I have LogLevel set to debug, and it doesn't show any errors.  WebDAV was 
working fine before the upgrade to 2.0.55.  Does anyone have any ideas as 
to what might be going wrong?

Thanks,
Brent


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


Freebsd 5.4 ftp error

2006-01-21 Thread Brent
Hello,
Im using 5.4 for web hosting ..everything seems to be working fine with the
exception of ftp. As a normal user of the top level domain..I can log into the
box with ftp. However when my domain users try to login they get the following
errors.

Connecting to kipemusic.com
STATUS:Connecting to kipemusic.com (ip = 65.175.135.37)
STATUS:Socket connected. Waiting for welcome message...
220 loqtis.bmyster.com FTP server (Version 6.00LS) ready.
STATUS:Connected. Authenticating...
COMMAND:   USER kipemusic
530 User kipemusic access denied.
ERROR: User ID not accepted.
ERROR: Can't login. Disconnecting...
STATUS:Disconnect: Saturday 07:27:15 01-21-2006 


I never had this issue with my servers that run the 4.x tree of Freebsd. Is
there something i missed ?

any and all help is very appreciated


--
Brent 

--RIP Brother Dime--

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


strange error with NFS on freebsd

2006-01-21 Thread Brent
I have a 4.11 server runing nfs server and a nfs client running freebsd 5.4
ive setup both according to the freebsd handbook

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

When i go to mount the nfs share onto the client by doing 

loqtis# mount 10.10.25.2:/user3 /user3

i get the following output
[udp] 10.10.25.2:/user3: RPCPROG_NFS: RPC: Program not registered

what does this mean ?

any help is greatly appreciated
--
Brent 

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


Re: apache2.0.55 w/ mod_ldap tls

2006-01-13 Thread Brent Kearney
Hi again,

To follow up on my own question, in case others upgrade from 2.0.54 and
run into this problem, 2.0.55 requires these two directives before SSL 
is enabled in mod_ldap: 
 

LDAPTrustedCA /etc/ssl/CA/cacert.pem
   
LDAPTrustedCAType BASE64_FILE   
   

   
The debug logs now produce:

[Fri Jan 13 18:34:17 2006] [notice] LDAP: SSL support available 

Cheers,
Brent


On Thu, Jan 12, 2006 at 07:56:14PM -0700, Brent Kearney wrote:
 Hello,
 
 I'm having some trouble getting apache's ldap module to connect to my 
 openldap server 
 using TLS.  The reason it won't initiate an SSL connection is evident in the 
 logs:
 
 [Thu Jan 12 20:45:49 2006] [debug] util_ldap.c(1341): LDAP: SSL trusted 
 certificate authority file type - BASE64_FILE
 [Thu Jan 12 20:45:49 2006] [notice] SIGHUP received.  Attempting to restart
 [Thu Jan 12 20:45:50 2006] [debug] util_ldap.c(1341): LDAP: SSL trusted 
 certificate authority file type - BASE64_FILE
 [Thu Jan 12 20:45:51 2006] [notice] Digest: generating secret for digest 
 authentication ...
 [Thu Jan 12 20:45:51 2006] [notice] Digest: done
 [Thu Jan 12 20:45:51 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
 [Thu Jan 12 20:45:51 2006] [notice] LDAP: SSL support unavailable
 [Thu Jan 12 20:45:51 2006] [notice] Apache/2.0.55 (FreeBSD) mod_ssl/2.0.55 
 OpenSSL/0.9.7e DAV/2 PHP/5.1.1 configured -- resuming normal operations
 
 
 I found this bug report, which details what looks like the same problem:
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/86416
 
 However, it also mentions that the bug was supposed to be fixed in Apache 
 2.0.55, 
 which I'm running.  As in that bug report, I am also using FreeBSD 5.4.  I 
 added
 LDAPTrustedCAType BASE64_FILE to my httpd.conf file as suggested, but it 
 makes
 no difference.
 
 Ironically, it was working before I upgraded from apache 2.0.54.
 
 Any suggestions are welcome.
 
 Thanks,
 
 Brent
 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


apache2.0.55 w/ mod_ldap tls

2006-01-12 Thread Brent Kearney
Hello,

I'm having some trouble getting apache's ldap module to connect to my openldap 
server 
using TLS.  The reason it won't initiate an SSL connection is evident in the 
logs:

[Thu Jan 12 20:45:49 2006] [debug] util_ldap.c(1341): LDAP: SSL trusted 
certificate authority file type - BASE64_FILE
[Thu Jan 12 20:45:49 2006] [notice] SIGHUP received.  Attempting to restart
[Thu Jan 12 20:45:50 2006] [debug] util_ldap.c(1341): LDAP: SSL trusted 
certificate authority file type - BASE64_FILE
[Thu Jan 12 20:45:51 2006] [notice] Digest: generating secret for digest 
authentication ...
[Thu Jan 12 20:45:51 2006] [notice] Digest: done
[Thu Jan 12 20:45:51 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Thu Jan 12 20:45:51 2006] [notice] LDAP: SSL support unavailable
[Thu Jan 12 20:45:51 2006] [notice] Apache/2.0.55 (FreeBSD) mod_ssl/2.0.55 
OpenSSL/0.9.7e DAV/2 PHP/5.1.1 configured -- resuming normal operations


I found this bug report, which details what looks like the same problem:

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

However, it also mentions that the bug was supposed to be fixed in Apache 
2.0.55, 
which I'm running.  As in that bug report, I am also using FreeBSD 5.4.  I added
LDAPTrustedCAType BASE64_FILE to my httpd.conf file as suggested, but it makes
no difference.

Ironically, it was working before I upgraded from apache 2.0.54.

Any suggestions are welcome.

Thanks,

Brent


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


Segment Fault w/ PHP

2005-12-27 Thread Brent Jensen
I'm getting segment faults on all 3 of my webservers.  I upgraded all of my 
packages thinking that would fix the offending program; however, php is 
throwing segment faults.  For example, when trying to INSTALL pear_DB.  I 
get seg faults when updating


# cd /usr/ports/databases/pear-DB
# make (goes though its thing)
# make install
===  Installing for pear-DB-1.7.6,1
===   pear-DB-1.7.6,1 depends on file: /usr/local/share/pear/PEAR.php - found
===   pear-DB-1.7.6,1 depends on executable: pear - found
===   Generating packing list
===   Generating temporary packing list
===  Checking if databases/pear-DB already installed
=== Installing documentation in /usr/local/share/doc/pear/DB.
=== Installing tests in /usr/local/share/pear/tests/DB.
install ok: channel://pear.php.net/DB-1.7.6
Segmentation fault (core dumped)
*** Error code 139

Stop in /usr/ports/databases/pear-DB.

/var/messages shows: (php), uid 0: exited on signal 11 (core dumped)

ALSO:

portupgrade -f pear-Mail_Queue
---  Reinstalling 'pear-Mail_Queue-1.1.3' (mail/pear-Mail_Queue)
---  Building '/usr/ports/mail/pear-Mail_Queue'
===  Cleaning for libiconv-1.9.2_1
... blah blah blah ...
===  Checking if mail/pear-Mail already installed
=== Installing tests in /usr/local/share/pear/tests/Mail.
install ok: channel://pear.php.net/Mail-1.1.9
Segmentation fault (core dumped)
*** Error code 139

Stop in /usr/ports/mail/pear-Mail.
*** Error code 1

And when stopping or restarting Apache it generates an HTTP segment fault
(httpd), uid 0: exited on signal 11 (core dumped)

When I rem out from apache things are happy!

Every port is now current.  I have even rebuilt several ports.  This one's 
got me.  Any hints?


Thanks,

Brent

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


NIS versus LDAP authentication

2005-12-26 Thread Brent
We are getting ready to migrate from a single super server solution to a group
of Freebsd servers doing seperate tasks...I was wondering whats everyones
opinions on NIS versus LDAP for authentication ...and if anyone can point me
at any good howto's for both NIS or LDAP in a multi server environment on 
Freebsd?

thank you for your help  Merry Christmas
--
Brent Bailey CCNA
Bmyster LLC


--RIP Brother Dime--

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


  1   2   3   >