Re: freebsd 9.0-release + zfs + mysqld(percona) = kernel: swap zone exhausted, increase kern.maxswzone

2012-04-01 Thread Philip M. Gollucci

On 3/30/12 5:48 PM, Philip M. Gollucci wrote:

After reading several sparse articles/post, I've come to the conclusion
that FreeBSD doesn't do well with SWAP>  32GB; however it does allow it.
As such I decided to drop the swap to 8GB*2=16GB.  Sadly that didn't
help either after dropping kern.maxswzone back 2*thedefault which is
apparently very near or the max you can up it and get more actual
SWAPMETA space b/c of the limiting based on the number of total system
pages.

I'm still quite perplexed here.  Please also the recent thread on
-stable where someone has the same problem with ZFS/NFS.

subject: 9-STABLE, ZFS, NFS, ggatec - suspected memory leak


That didn't help either.  We will compare NAMEI next in addition to 
trying to tune the ZFS arch/meta.




--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Member,   Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Director Operations,  Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
___
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 9.0-release + zfs + mysqld(percona) = kernel: swap zone exhausted, increase kern.maxswzone

2012-03-30 Thread Philip M. Gollucci
On 03/28/12 03:09, Philip M. Gollucci wrote:

> It works out to roughly 7.7GB from 32MB okay fine.
> If I double it, that should give me 15.4GB from 64MB (still not enough).
> If I 16x it that should give me 246GB from 512MB.  Thats more my
> physical ram + swap.  Oh well.

After reading several sparse articles/post, I've come to the conclusion
that FreeBSD doesn't do well with SWAP > 32GB; however it does allow it.
As such I decided to drop the swap to 8GB*2=16GB.  Sadly that didn't
help either after dropping kern.maxswzone back 2*thedefault which is
apparently very near or the max you can up it and get more actual
SWAPMETA space b/c of the limiting based on the number of total system
pages.

I'm still quite perplexed here.  Please also the recent thread on
-stable where someone has the same problem with ZFS/NFS.

subject: 9-STABLE, ZFS, NFS, ggatec - suspected memory leak



-- 

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Member,   Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Director Operations,  Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.



signature.asc
Description: OpenPGP digital signature


Re: freebsd 9.0-release + zfs + mysqld(percona) = kernel: swap zone exhausted, increase kern.maxswzone

2012-03-27 Thread Philip M. Gollucci
On 03/27/12 02:32, Philip M. Gollucci wrote:
> Some other tuning updates
> 
> $ zfs set zfs:zfs_nocacheflush = 1
> $ sysctl vfs.zfs.prefetch_disable=1
> 
> $ cat /etc/my.cnf
> skip-innodb-doublewrite
> innodb_flush_log_at_trx_commit=2
> 
> 
> $ zfs set primarycache=metadata zmysqlD
> $ zfs set atime=off zmysqlD
> $ zfs set recordsize=16k zmysqlD
> 
> but not on zmysqlL
> 
> my next plan is to turn off tmpfs and use ZVOL swaps then to simply use
> just zroot/tmp as a normal dir.
> 
> after that I'll drastically increase maxswzone.
> 
> still hoping someone has already done this.

None of that made a difference; however I haven't tried the ZVOL swaps
yet b/c they're quite new and this after all production eventually.

so I've been reading up on maxswzone.  Its seems to me that nobody
really understands it.

Fortunately it isn't used very much,

It works out to roughly 7.7GB from 32MB okay fine.
If I double it, that should give me 15.4GB from 64MB (still not enough).
If I 16x it that should give me 246GB from 512MB.  Thats more my
physical ram + swap.  Oh well.


I've seen John Baldwin write on lists
o) you have another problem if the default isn't enough
o) when it panics I pick up the crash dump swap info and do
   #blocks in use*totalswblocks/maxswzone
o) setting it higher claims wired memory which can't be reused.

tuning(7) is from the 4.x days and is useless here.

something thats really confusing me is if the output from
 $ vmstat -z |grep solaris is relevant
 or the size of my swap itself

or if by upping maxswzone I'm taking away too much from zfs in the long run.

So tracing this below
kern.maxswzone="536870912" # = 16*(32*1024*1024)
vm.stats.vm.v_page_count: 24411488

n=12205744  ###n = cnt.v_page_count / 2;

if (maxswzone && n > maxswzone / sizeof(struct swblock))
  n = maxswzone / sizeof(struct swblock);

struct swblock {
struct swblock  *swb_hnext;
vm_object_t swb_object;
vm_pindex_t swb_index;
int swb_count;
daddr_t swb_pages[SWAP_META_PAGES];
};
if this is >43.98 bytes then the conditional is true; however its not
b/c the printf() message isn't written out below.
if (n2 != n)
printf("Swap zone entries reduced from %d to %d.\n",

which means the initial allocation succeeds with n=12205744 and not
maxswzone.

ITEM   SIZE  LIMIT USED FREE  REQ FAIL SLEEP
SWAPMETA:   288, 1864135,   0,   0,   0,   0,   0

So more than a little perplex by these size/limits and that none of its
used on a system thats running out of it.








subr_param.c:
---
longmaxswzone;  /* max swmeta KVA storage */
SYSCTL_LONG(_kern, OID_AUTO, maxswzone, CTLFLAG_RDTUN, &maxswzone, 0,
"Maximum memory for swap metadata");
#ifdef VM_SWZONE_SIZE_MAX
maxswzone = VM_SWZONE_SIZE_MAX;
#endif
TUNABLE_LONG_FETCH("kern.maxswzone", &maxswzone);

param.h:

/*
 * Ceiling on amount of swblock kva space, can be changed via
 * the kern.maxswzone /boot/loader.conf variable.
 */
#ifndef VM_SWZONE_SIZE_MAX
#define VM_SWZONE_SIZE_MAX  (32 * 1024 * 1024)
#endif

swap_pager.c:
--
void
swap_pager_swap_init(void)
{
int n, n2;
//comments skipped
nsw_cluster_max = min((MAXPHYS/PAGE_SIZE), MAX_PAGEOUT_CLUSTER);

mtx_lock(&pbuf_mtx);
nsw_rcount = (nswbuf + 1) / 2;
nsw_wcount_sync = (nswbuf + 3) / 4;
nsw_wcount_async = 4;
nsw_wcount_async_max = nsw_wcount_async;
mtx_unlock(&pbuf_mtx);
/*
 * Initialize our zone.  Right now I'm just guessing on the number
 * we need based on the number of pages in the system.  Each swblock
 * can hold 16 pages, so this is probably overkill.  This reservation
 * is typically limited to around 32MB by default.
 */
n = cnt.v_page_count / 2;
if (maxswzone && n > maxswzone / sizeof(struct swblock))
n = maxswzone / sizeof(struct swblock);
n2 = n;
swap_zone = uma_zcreate("SWAPMETA", sizeof(struct swblock), NULL, NULL,
NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_NOFREE | UMA_ZONE_VM);
if (swap_zone == NULL)
panic("failed to create swap_zone.");
do {
if (uma_zone_set_obj(swap_zone, &swap_zone_obj, n))
break;
/*
 * if the allocation failed, try a zone two thirds the
 * size of the previous attempt.
 */
n -= ((n + 2) / 3);
} while (n > 0);
if (n2 != n)
printf("Swap zone entries reduced from %d to %d.\n", n2, n);
n2 = n;

/

Re: freebsd 9.0-release + zfs + mysqld(percona) = kernel: swap zone exhausted, increase kern.maxswzone

2012-03-26 Thread Philip M. Gollucci
Some other tuning updates

$ zfs set zfs:zfs_nocacheflush = 1
$ sysctl vfs.zfs.prefetch_disable=1

$ cat /etc/my.cnf
skip-innodb-doublewrite
innodb_flush_log_at_trx_commit=2


$ zfs set primarycache=metadata zmysqlD
$ zfs set atime=off zmysqlD
$ zfs set recordsize=16k zmysqlD

but not on zmysqlL

my next plan is to turn off tmpfs and use ZVOL swaps then to simply use
just zroot/tmp as a normal dir.

after that I'll drastically increase maxswzone.

still hoping someone has already done this.


On 03/26/12 14:50, Philip M. Gollucci wrote:
> /var/log/messages
> Mar 23 22:21:50 sabertooth kernel: swap zone exhausted, increase
> kern.maxswzone
> Mar 23 22:21:50 sabertooth kernel: pid 86697 (mysqld), uid 88, was
> killed: out of swap space
> 
> how to repeat:
> $ mysql -ux < file.sql (~150GB) worth
> 
> basically, it slows down continually until it dies.  IF you (suspend)
> the process in time it recovers some, but eventually you have to suspend
> it every 1s for ~3 minutes.  The load is ~10 at this point.
> 
> I've looked at top, ps, iostat, zpool iostat, vmstat -z, vmstat -m
> and I don't see anything wonky.  I can provide more info on request.
> 
> system description:
> 
> $ df
> zmysqlD801G658G142G82%/var/db/mysql/data
> zmysqlL133G 26G107G20%/var/db/mysql/log
> 
> its a 600GB innodb space, mysql has
> innodb_buffer_pool_size = 80GB
> about 1GB of data is MyISAM the rest is InnoDB
> 
> The machine has 96GB of RAM
> 
> $ cat /etc/fstab
> /dev/gpt/swap0  noneswapsw  0   0
> /dev/gpt/swap1  noneswapsw  0   0
> 
> tmpfs   /tmptmpfs   rw  2   0
> 
> swapinfo -h will show %6 and %6 usage on the swap devices
> /tmp remains < 5% used
> 
> $ grep maxswzone /boot/loader.conf
> kern.maxswzone="67108864"  ## double the default
> 
> $ gpart show
> =>   34  286749421  da3  GPT  (136G)
>  341281  freebsd-boot  (64k)
> 162  2013265922  freebsd-swap  (96G)
>   201326754   854227013  freebsd-zfs  (40G)
> 
> =>   34  286749421  da4  GPT  (136G)
>  341281  freebsd-boot  (64k)
> 162  2013265922  freebsd-swap  (96G)
>   201326754   854227013  freebsd-zfs  (40G)
> 
> da[012] are SSDs, the rest are 15krpm
> 
> $ zpool status
>   pool: zmysqlD
>  state: ONLINE
>  scan: none requested
> config:
> 
> NAMESTATE READ WRITE CKSUM
> zmysqlD ONLINE   0 0 0
>   raidz2-0  ONLINE   0 0 0
> da7 ONLINE   0 0 0
> da8 ONLINE   0 0 0
> da9 ONLINE   0 0 0
> da10ONLINE   0 0 0
> da11ONLINE   0 0 0
> da12ONLINE   0 0 0
> da13ONLINE   0 0 0
> da14ONLINE   0 0 0
> logs
>   da0   ONLINE   0 0 0
> cache
>   da2   ONLINE   0 0 0
> 
> errors: No known data errors
> 
>   pool: zmysqlL
>  state: ONLINE
>  scan: none requested
> config:
> 
> NAMESTATE READ WRITE CKSUM
> zmysqlL ONLINE   0 0 0
>   mirror-0  ONLINE   0 0 0
> da5 ONLINE   0 0 0
> da6 ONLINE   0 0 0
> cache
>   da1   ONLINE   0 0 0
> 
> errors: No known data errors
> 
>   pool: zroot
>  state: ONLINE
>  scan: none requested
> config:
> 
> NAMESTATE READ WRITE CKSUM
> zroot   ONLINE   0 0 0
>   mirror-0  ONLINE   0 0 0
> da3p3   ONLINE   0 0 0
> da4p3   ONLINE   0 0 0
> 
> 
> 


-- 

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Member,   Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Director Operations,  Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.



signature.asc
Description: OpenPGP digital signature


freebsd 9.0-release + zfs + mysqld(percona) = kernel: swap zone exhausted, increase kern.maxswzone

2012-03-26 Thread Philip M. Gollucci
/var/log/messages
Mar 23 22:21:50 sabertooth kernel: swap zone exhausted, increase
kern.maxswzone
Mar 23 22:21:50 sabertooth kernel: pid 86697 (mysqld), uid 88, was
killed: out of swap space

how to repeat:
$ mysql -ux < file.sql (~150GB) worth

basically, it slows down continually until it dies.  IF you (suspend)
the process in time it recovers some, but eventually you have to suspend
it every 1s for ~3 minutes.  The load is ~10 at this point.

I've looked at top, ps, iostat, zpool iostat, vmstat -z, vmstat -m
and I don't see anything wonky.  I can provide more info on request.

system description:

$ df
zmysqlD801G658G142G82%/var/db/mysql/data
zmysqlL133G 26G107G20%/var/db/mysql/log

its a 600GB innodb space, mysql has
innodb_buffer_pool_size = 80GB
about 1GB of data is MyISAM the rest is InnoDB

The machine has 96GB of RAM

$ cat /etc/fstab
/dev/gpt/swap0  noneswapsw  0   0
/dev/gpt/swap1  noneswapsw  0   0

tmpfs   /tmptmpfs   rw  2   0

swapinfo -h will show %6 and %6 usage on the swap devices
/tmp remains < 5% used

$ grep maxswzone /boot/loader.conf
kern.maxswzone="67108864"  ## double the default

$ gpart show
=>   34  286749421  da3  GPT  (136G)
 341281  freebsd-boot  (64k)
162  2013265922  freebsd-swap  (96G)
  201326754   854227013  freebsd-zfs  (40G)

=>   34  286749421  da4  GPT  (136G)
 341281  freebsd-boot  (64k)
162  2013265922  freebsd-swap  (96G)
  201326754   854227013  freebsd-zfs  (40G)

da[012] are SSDs, the rest are 15krpm

$ zpool status
  pool: zmysqlD
 state: ONLINE
 scan: none requested
config:

NAMESTATE READ WRITE CKSUM
zmysqlD ONLINE   0 0 0
  raidz2-0  ONLINE   0 0 0
da7 ONLINE   0 0 0
da8 ONLINE   0 0 0
da9 ONLINE   0 0 0
da10ONLINE   0 0 0
da11ONLINE   0 0 0
da12ONLINE   0 0 0
da13ONLINE   0 0 0
da14ONLINE   0 0 0
logs
  da0   ONLINE   0 0 0
cache
  da2   ONLINE   0 0 0

errors: No known data errors

  pool: zmysqlL
 state: ONLINE
 scan: none requested
config:

NAMESTATE READ WRITE CKSUM
zmysqlL ONLINE   0 0 0
  mirror-0  ONLINE   0 0 0
da5 ONLINE   0 0 0
da6 ONLINE   0 0 0
cache
  da1   ONLINE   0 0 0

errors: No known data errors

  pool: zroot
 state: ONLINE
 scan: none requested
config:

NAMESTATE READ WRITE CKSUM
zroot   ONLINE   0 0 0
  mirror-0  ONLINE   0 0 0
da3p3   ONLINE   0 0 0
da4p3   ONLINE   0 0 0



-- 

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Member,   Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Director Operations,  Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.



signature.asc
Description: OpenPGP digital signature


Replacing failed disk in raidz2 zfs (and gpt)

2011-02-01 Thread Philip M. Gollucci
  90177536  3  freebsd-zfs  (43G)
  1405093461572669 - free -  (768M)

=>   34  142081981  mfid1  GPT  (68G)
 34128  1  freebsd-boot  (64K)
162   50331648  2  freebsd-swap  (24G)
   50331810   90177536  3  freebsd-zfs  (43G)
  1405093461572669 - free -  (768M)

=>   34  142081981  mfid2  GPT  (68G)
 34128  1  freebsd-boot  (64K)
162   50331648  2  freebsd-swap  (24G)
   50331810   90177536  3  freebsd-zfs  (43G)
  1405093461572669 - free -  (768M)

=>   34  142081981  mfid3  GPT  (68G)
 34128  1  freebsd-boot  (64K)
162   50331648  2  freebsd-swap  (24G)
   50331810   90177536  3  freebsd-zfs  (43G)
  1405093461572669 - free -  (768M)

=>   34  142081981  mfid4  GPT  (68G)
 34128  1  freebsd-boot  (64K)
162   50331648  2  freebsd-swap  (24G)
   50331810   90177536  3  freebsd-zfs  (43G)
  1405093461572669 - free -  (768M)

=>   34  142081981  mfid5  GPT  (68G)
 34128  1  freebsd-boot  (64K)
162   50331648  2  freebsd-swap  (24G)
   50331810   90177536  3  freebsd-zfs  (43G)
  1405093461572669 - free -  (768M)

=>   34  142081981  mfid6  GPT  (68G)
 34128  1  freebsd-boot  (64K)
162   50331648  2  freebsd-swap  (24G)
   50331810   90177536  3  freebsd-zfs  (43G)
  1405093461572669 - free -  (768M)

=>   34  142081981  mfid7  GPT  (68G)
 34128  1  freebsd-boot  (64K)
162   50331648  2  freebsd-swap  (24G)
   50331810   90177536  3  freebsd-zfs  (43G)
  1405093461572669 - free -  (768M)


$ pciconf -lv |grep 
mfi0@pci0:2:14:0:   class=0x010400 card=0x1f031028 chip=0x00151028
rev=0x00 hdr=0x00
vendor = 'Dell Computer Corporation'
device = 'Integrated RAID controller (PERC 5/i RAID Controller)'

console/dmesg during hot swap:
mfi0: sense error 0, sense_key 0, asc 0, ascq 0
mfid3: hard error cmd=read fsbn 50331810
mfi0: 17960 (349585200s/0x0020/info) - Patrol Read started
mfi0: 18038 (349586341s/0x0020/info) - Patrol Read complete
mfi0: 18039 (349891840s/0x0002/WARN) - Removed: PD 03(e1/s3)
mfi0: 18040 (349891840s/0x0002/info) - Removed: PD 03(e1/s3) Info:
enclPd=08, scsiType=0, portMap=08, sasAddr=5000c50001439195,
mfi0: 18041 (349891840s/0x0002/info) - State change on PD 03(e1/s3) from
UNCONFIGURED_BAD(1) to FAILED(11)
mfi0: 18042 (349891840s/0x0002/info) - State change on PD 03(e1/s3) from
FAILED(11) to UNCONFIGURED_BAD(1)
mfi0: 18043 (349891857s/0x0002/info) - Inserted: PD 03(e1/s3)
mfi0: 18044 (349891857s/0x0002/info) - Inserted: PD 03(e1/s3) Info:
enclPd=08, scsiType=0, portMap=08, sasAddr=5000c5001ce0e065,
mfi0: 18045 (349891857s/0x0002/info) - State change on PD 03(e1/s3) from
UNCONFIGURED_BAD(1) to UNCONFIGURED_GOOD(0)

-- 
--------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.



signature.asc
Description: OpenPGP digital signature


Re: apache22 build problem: cgi disabled

2010-07-28 Thread Philip M. Gollucci
On 7/28/2010 5:11 PM, Kevin Kinsey wrote:
>> There's a --disable-cgi in there, but no cgi listed after
>> --enable-mods.
>>

The Mk/bsd.apache.mk disables every at the start of ./configure args.

You should see ... --dsiable-cgi ... --enable-cgi or --enable-mods=...cgi...

It looks fine to me --  Its in the enable-mods-shared="..cgi.."

$ make -V CONFIGURE_ARGS -DWITH_CGI
--prefix=/usr/local  --enable-layout=FreeBSD
--with-perl=/usr/local/bin/perl5.10.1  --with-port=80
--with-expat=/usr/local  --with-iconv=/usr/local  --enable-http
--with-pcre=/usr/local  --with-apr=/usr/local/bin/apr-1-config
--with-apr-util=/usr/local/bin/apu-1-config --disable-authn-file
--disable-authn-default  --disable-authz-host --disable-authz-groupfile
 --disable-authz-user --disable-authz-default  --disable-auth-basic
--disable-charset-lite  --disable-include --disable-log-config
--disable-env  --disable-setenvif --disable-mime --disable-status
--disable-autoindex --disable-asis --disable-cgid  --disable-cgi
--disable-negotiation --disable-dir  --disable-imagemap
--disable-actions --disable-userdir  --disable-alias --disable-filter
--disable-proxy --disable-proxy-connect  --disable-proxy-ftp
--disable-proxy-http  --disable-proxy-ajp --disable-proxy-balancer
--disable-proxy-scgi --disable-reqtimeout --enable-so
--enable-mods-shared="auth_basic auth_digest authn_file authn_dbm
authn_anon authn_default authn_alias authz_host authz_groupfile
authz_user authz_dbm authz_owner authz_default cache disk_cache
file_cache dav dav_fs actions alias asis autoindex cern_meta cgi
charset_lite deflate dir dumpio env expires headers imagemap include
info log_config logio mime mime_magic negotiation rewrite setenvif
speling status unique_id userdir usertrack vhost_alias filter version
reqtimeout ssl" --with-dbm=sdbm --with-ssl=/usr/local --enable-v4-mapped
--with-devrandom --with-mpm=prefork --prefix=/usr/local
${_LATE_CONFIGURE_ARGS}





1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.



signature.asc
Description: OpenPGP digital signature


Re: ZFSROOT / Custom Kernels [or upgrades]

2009-12-08 Thread Philip M. Gollucci

Robert Noland wrote:

It sounds like when you install the new kernel, the block numbers are
overflowing. (which should be addressed by the fix in 8.0)


No idea what the issue is/was.

I've now seen the following which is what I expected --
  base/head: tb.p6m7g8.net, works
  base/stable/8: tb.apache.org, works [>= r200287]
   anything after the MFC should be the same
  base/releng/8.0:   desktop at $work, works UNTIL I try to
 reinstall any kernel GENERIC or custom.

At any rate, I'm content to run stable/8 after that MFC and wait for 
8.1-release.






--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
___
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"


ZFSROOT / Custom Kernels [or upgrades]

2009-11-29 Thread Philip M. Gollucci
Hi All,

1)
I followed this wiki link to setup our server [sigyn.apache.org]
(Dell r710 with 4 disks mfid[0123] as raidz2)
http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/RAIDZ2

Rebooted all was well.

2) off on another 'build' box [loki.apache.org], I had compiled
release/8.0.0 userland+kernel [with LOADER_ZFS_SUPPORT=yes].
Whats the ETA for MFC from trunk->stable/8 for
http://svn.freebsd.org/viewvc/base?view=revision&revision=199714

** FWIW, loki is working nicely on 8.0-RELEASE geom+zfs.

3) I nfs mounted /usr/src, and /usr/obj on sigyn from loki.
$ cd /usr/src
$ sudo make installkernel KERNCONF=SIGYN

It fails to mount from zfs:zroot upon reboot. Via great hoops and magic
I got back into the fixit on remote console. I didn't see a loader.old
or a zfsboot. So I repeated the steps in wiki to install zfsboot.
Rebooted, same diff.

Jumped backed to fixit and reverted the kernel to a stock GENERIC that
worked the 1st time.  Same error again.
cd /boot
$ mv kernel kernel.cust
$ mv kernel.old kernel

So assuming you are lucky enough to get a zfsroot system.  Is there an
actual upgrade path ? Am I missing something stupid ?

Any help greatly appreciated.

I have a few days to play with this machine before we forgoe zfsroot and
drop back to geom gmirror.

I'm at a datacenter for $work on Monday/Tuesday so I'll be spare over
tonight.






-- 

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,FreeBSD Foundation
Sr. System Admin, Ridecharge Inc.
Consultant,   P6M7G8 Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
___
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"


gmirror / crash dumps

2009-07-30 Thread Philip M. Gollucci
Hi,

Say I've got the following:
/dev/mirror/gm0s1bnoneswapsw

/dev/mirror/gm0s1a989M390M520M43%/
/dev/mirror/gm0s1g 15G1.7G 12G13%/usr
/dev/mirror/gm0s1h544G1.8M501G 0%/usr/home
/dev/mirror/gm0s1d1.9G500M1.3G27%/usr/src
/dev/mirror/gm0s1e1.9G1.1G733M60%/usr/obj
/dev/mirror/gm0s1f 97G2.0K 89G 0%/var

Well I'm trying to get my kernel panics to cause dumps
1) /etc/rc.conf
dumpdev=AUTO
crashinfo_enable="YES"

2) sudo chmod 700 /var/crash

3) 8GB RAM, 16GB of swap, /var/crash is 16GB < 97GB

4) I have the following in my 7-stable kernel
makeoptions DEBUG=-g
options AUDIT
options KTRACE
options KDB
options KDB_TRACE
options DDB
options GDB
options BREAK_TO_DEBUGGER
options INVARIANTS
options INVARIANT_SUPPORT
options WITNESS
options DEBUG_LOCKS
options DEBUG_VFS_LOCKS
options LOCK_PROFILING
options DIAGNOSTIC

The long and the short of it is I don't get any dumps.

I read somewhere that you can't dump onto a gmirror device.
So I've moved /var off of
/dev/mirror/gm0s1f 97G2.0K 89G 0%/var
and I can now do what I want with this.

How do I go about re-jiggering this (2-disk gmirror) so I can use 1
slice from one of them as my dumpon(8) device?

TIA

___
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: Spamassassin very slow

2008-07-22 Thread Philip M. Gollucci

James Tanis wrote:

"lyd mc" <[EMAIL PROTECTED]> wrote:

What causes spamassassin to slow?

Here is my config:

snippet from sendmail.mc
..  ..

I have .procmailrc in every home directory of my mail users and it goes

like

this:
The following setup by the front line mx's (2 of them) for apache.org 
can handle ~1million messages/day for a total of 2million without 
breaking a sweat.


No .procailrc involved.

/etc/rc.conf:
postfix_enable="YES"
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"

rbldnsd_enable="YES"
rbldnsd_flags="MASKED OUT"

svscan_enable="YES"

clamav_clamd_enable="YES"
clamav_freshclam_enable="YES"

spamd_enable="YES"
spamd_pidfile="/var/run/spamd/spamd.pid"
spamd_flags="--min-children=4 --max-children=40 --min-spare=2 
--max-spare=8 --max-conn-per-child=100 -c -d 
--socketpath=/var/run/spamd/socket --socketmode=0777 -r ${spamd_pidfile}"


Thats FreeBSD 6.x (soon to be 7.x when I update it)
httpd 2.2.9+worker mpm with qpsmtp using mod_perl

in my consulting buss, for sendmail I use the following sendmail.mc snippet:

INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock, F=, 
T=S:4m;R:4m')
INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, 
F=, T=C:15m;S:4m;R:4m;E:10m')

define(`confMILTER_MACROS_ENVRCPT',`r, v, Z')
define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name}, {if_name}, 
{if_addr}')



That said, all individual users do you ~/.procmailrc, with the following 
rule:

:0
* ^X-Spam-Status: Yes
spam




--

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: Dell's PERC6i

2008-07-14 Thread Philip M. Gollucci

Patrick C wrote:

The 6i will work on FreeBSD, however realize that a much better choice
for a production machine is a card which "really" supports FreeBSD...
just due to the availability and reliability of the tools required for
maintaining the system while running.

Have you considered SuperMicro machines with 3ware (AMCC) cards? I'm
not affiliated either, but it seems to be a great combo. AMCC still
supports FreeBSD pretty well, and the cards perform well.

I'm using the Perc 6I in production on 2950s with RAID1+0 with SAS drives.

Also, the Apache Software Foundation (ASF) is using the same card with 
ZFS of FreeBSD with SATA drives for svn.apache.org.


I won't comment on what card is better or worse, or faster, b/c I don't 
know.



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


Re: mounts: nullfs and unionfs

2008-05-16 Thread Philip M. Gollucci

Philip M. Gollucci wrote:

FWIW: the unionfs seems very stable atm the moment.

$ df -h
Filesystem  SizeUsed   Avail Capacity  Mounted 
/dev/ar0s1h  24G 12G 11G52%/usr/home
:/usr/home/jails/base 49G 36G 11G77% 
/usr/home/jails/net/p6m7g8/builder/zeus


Shouldn't the size for the unionfs fs be the same ? I don't see how it 
can be bigger than the HD.


In this particular case, its a RAID-1 (hardware based) of 2x20GB disks.



--
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


mounts: nullfs and unionfs

2008-05-16 Thread Philip M. Gollucci

Hi Guys,

$ cd /usr/src
$ export D=/jails/src
$ export H=/jails/tld/domain/host
$ export B=/jails/base
$ sudo mkdir -p $D $H B
$ sudo make installworld DESTDIR=$D
$ sudo make distribution DESTDIR=$D
$ sudo rsync -vrlHpEogXtD $D $B
$ cd $B
$ ln -s usr/home
$ cd $B/usr/home
$ mkdir pgollucci

[/etc/fstab]
/dev/ar0s1h /usr/home   ufs rw  2   2
/usr/home/pgollucci $H/usr/home/pgollucci nullfs ro 0 0 
$B  $H unionfs rw,below  0 0
[--end--]


So the unionfs [1] mounts work fine; however, I can't see the nullfs 
mount in the upper layer.  I tried doing a layered unionfs mount, and 
that didn't work either.  I'm guessing this is a known issue.  Are there 
plans to solve it ?


The only work around I can think of (which does work) is to nullfs mount 
in the upper layer instead of the lower one.  The only problem is that 
multiples my mounts substantially. For example it would be nice to mount
/root/bin, /usr/src, /usr/ports, /usr/home/X (or just /usr/home), devfs 
in each $H.


For the record, I know about ezjail, other tools, and other docs on 
sharing read only areas with a base (/s).  I'm interested in solving it 
this particular way, if only to learn more.


[1] 
http://www.freebsd.org/news/status/report-2008-01-2008-03.html#UnionFS-Improvements

my 8.0-current is new enough to have all these patches in it.

FWIW: the unionfs seems very stable atm the moment.




--
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching

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


Re: Perl 5.8.8 Compile

2008-05-03 Thread Philip M. Gollucci

Lowell Gilbert wrote

make: don't know how to make . Stop.

Look in /usr/ports/lang/perl5.8/files/patch-makedepend
Really, we should submit this and a few others back to 5.8.9

Its really annoying in a when working in a mod_perl related world
to not have perl compile out of the box.

Changing the install paths is one thing
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Comments on DRAC IV, V, VI w/ FreeBSD 6.3, 7.0

2008-04-09 Thread Philip M. Gollucci

Hi All,

Does anybody have any comments, suggestion, feedback, compatability 
notes, etc with DRAC and FreeBSD?



--

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: security/openssh-portable

2008-03-11 Thread Philip M. Gollucci

user:*:3000:3000::0:0:F L:/foo/./user:/bin/sh

The usual thing is make the shell   /bin/nologin

Hi Jerry, Thanks -- but
Changed to /usr/sbin/nologin

So thats not in the 'chroot' aka /foo/user/usr/sbin/nologin

$ sftp -v -v -v [EMAIL PROTECTED]
OpenSSH_4.5p1 FreeBSD-20061110, OpenSSL 0.9.8e 23 Feb 2007
debug1: Remote protocol version 1.99, remote software version 
OpenSSH_4.7p1-hpn12v20 FreeBSD-openssh-portable-overwrite-base-4.7.p1_1,1
debug1: match: OpenSSH_4.7p1-hpn12v20 
FreeBSD-openssh-portable-overwrite-base-4.7.p1_1,1 pat OpenSSH*


debug2: channel 0: open confirm rwindow 0 rmax 32768
Request for subsystem 'sftp' failed on channel 0


--
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


security/openssh-portable

2008-03-11 Thread Philip M. Gollucci

Hi,

I'm setting up a 'chrooted' SFTP only set of users:

/etc/make.conf:
.if ${.CURDIR:M*/usr/ports/security/openssh-portable*}
  WITH_SUID_SSH =yes
  WITH_OPENSSH_CHROOT   =yes
  WITH_HPN  =yes
  WITH_OVERWRITE_BASE   =yes
.endif

/etc/rc.conf:
sshd_enable="NO"
openssh_enable="YES"

/etc/passwd:
user:*:3000:3000::0:0:F L:/foo/./user:/bin/sh

Access will be with ssh dsa keys only.

What is the best way to make this SFTP only and not SSH?
1).ssh/authorization?
2) change user's shell to /usr/local/libexec/sftp-server
3) change user's shell to a custom C wrapper around [2]
4) a combination of them





--
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: atacontrol mode D PIO4 persist across reboots

2008-03-10 Thread Philip M. Gollucci

Manolis Kiagias wrote:

Have a look at man 4 ata
Your answer is probably:

 hw.ata.ata_dma=0
This sets it for all controllers I only want to set it for ata1 which 
contains ad2.  Thanks for the tip though.


ata0:  on atapci0
ata0: [ITHREAD]
ata1:  on atapci0
ata1: [ITHREAD]
ad0: 19092MB  at ata0-master UDMA33
ad1: 38166MB  at ata0-slave UDMA33
ad2: 28667MB  at ata1-master UDMA33

--

Philip M. Gollucci ([EMAIL PROTECTED])
c:703.336.9354
Consultant / http://p6m7g8.net/Resume/resume.txt
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


atacontrol mode D PIO4 persist across reboots

2008-03-10 Thread Philip M. Gollucci

/var/run/dmesg.boot
ad2: 28667MB  at ata1-master UDMA33
ad2: FAILURE - READ_DMA timed out LBA=58711965
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=0
ad2: FAILURE - READ_DMA timed out LBA=58711951
ad2: TIMEOUT - READ_DMA retrying (0 retries left) LBA=0
ad2: FAILURE - READ_DMA timed out LBA=58711964
ad2: FAILURE - READ_DMA timed out LBA=0

10-30 minutes later, it finally gets through the boot.

/etc/fstab:
/dev/ad2s1 /X ufs rw 2 2

the problem here is the device needs to be PIO4

$ atacontrol mode ad2 PIO4
current mode = PIO4

My problem is how do I get this to persist across reboot ?


--

Philip M. Gollucci ([EMAIL PROTECTED])
c:703.336.9354
Consultant / http://p6m7g8.net/Resume/resume.txt
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: Freebsd7, mail/mailman, www/apache22, and sendmail [take 2]

2008-03-09 Thread Philip M. Gollucci

Matthew Seaman wrote:
OOOh, I got the correct person to respond :)

You need MAILER_DEFINITIONS right about here in your .mc file.

I snipped them out -- full file is available here:
http://people.apache.org/~pgollucci/sendmail.mc


You may also need some custom rulesets so that sendmail knows
when to hand off messages to the mailman mailer, either under
LOCAL_RULESETS or one of the other special LOCAL_* macros -- see
/usr/share/sendmail/cf/README particularly the section headed
'ADDING NEW MAILERS OR RULESETS'.
I thought the mailertable table took care of this which I listed the 
previous mail. I have no user accounts on lists.domain.tld; however, I 
do have user email accounts on domain.tld and otherdomains.tld


Thanks for the help.


--
--------
Philip M. Gollucci ([EMAIL PROTECTED])
c:703.336.9354
Consultant / http://p6m7g8.net/Resume/resume.txt
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: Freebsd7, mail/mailman, www/apache22, and sendmail [take 2]

2008-03-09 Thread Philip M. Gollucci

No comments, suggestions ?

Philip M. Gollucci wrote:

Issue:

The www/apache22 integration seems to be fine; however, the sendmail 
integration isn't quite right.


client computer:
$ echo `uname -a` | mail -s "`date`" [EMAIL PROTECTED]

Mail Server:
/var/log/maillog
m25JwCEk065018: m25JwCEl065018: DSN: unknown mailer error 255

m25JwCEl065018: to=<[EMAIL PROTECTED]>, delay=00:00:00 \
xdelay=00:00:00, mailer=mailman, pri=32149,   \
relay=lists.p6m7g8.net, dsn=5.3.0, stat=unknown mailer error 255

m25JwCEm065018: return to sender: unknown mailer error 255

The setup:
-
/etc/make.conf
[snipped]

# SASL (cyrus-sasl v2) sendmail build flags...
SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2
# Adding to enable alternate port (smtps) for sendmail...
SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL

.if ${.CURDIR:M*/usr/ports/mail/mailman*}
WITH_SENDMAIL=  yes
WITH_HTDIG= yes
.endif

.if ${.CURDIR:M*/usr/ports/www/apache22*}
WITH_SSL= yes
WITH_APR_FROM_PORTS=  yes
WITH_FULLBUILD=   yes
WITH_MYSQL=   yes
WITH_PCRE_FROM_PORTS= yes

WITH_LOG_FORENSIC=yes
WITH_PROXY_CONNECT=   yes
WITH_PROXY_FTP=   yes
WITH_PROXY_HTTP=  yes
WITH_PROXY_AJP=   yes
WITH_PROXY_BALANCER=  yes

WITHOUT_MEM_CACHED=   yes
.endif

-
/var/db/pkg
[snipped]
apache-2.2.8
apr-nothr-1.2.8_2
bash-static-3.2.33
mailman-with-htdig-2.1.9_5
mysql-client-5.1.23
pcre-7.6
python25-2.5.2_1
cyrus-sasl-2.1.22
cyrus-sasl-saslauthd-2.1.22

users:
id mailnull
uid=26(mailnull) gid=26(mailnull) groups=26(mailnull)

id mailman
uid=91(mailman) gid=91(mailman) groups=91(mailman)

id www
uid=80(www) gid=80(www) groups=80(www)

-
/etc/mail/host.mc
[snipped]
define(`ALIAS_FILE', `/etc/mail/aliases,/etc/mail/lists')

FEATURE(`smrsh')
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
VIRTUSER_DOMAIN(`lists.domain.tld')

dnl FEATURE(`limited_masquerade')
dnl MASQUERADE_AS(`lists.domain.tld')

Mmailman,   P=/etc/mail/mm-handler, F=rDFMhlqSu, U=mailman:mailman,
S=EnvFromL, R=EnvToL/HdrToL,
A=mm-handler $h $u

-
$ whereis smrsh
smrsh: /usr/libexec/smrsh

$ strings /usr/libexec/smrsh  | grep bin |head -1
/usr/libexec/sm.bin

$ ls -l /usr/libexec/sm.bin/
lrwxr-xr-x  1 root  wheel  -   31B Mar  4 18:43:32 2008 mailman@ -> 
/usr/local/mailman/mail/mailman


$ ls -l /usr/local/mailman/mail/mailman
-rwxr-sr-x  1 root  mailman  -   15K Mar  4 12:45:40 2008 
/usr/local/mailman/mail/mailman*


$ /usr/local/mailman> sudo bin/check_perms -f
No problems found

$ cat /etc/mail/mailertable
lists.domain.tldmailman:lists.domain.tld

$ ls -l /etc/mail/mm-handler
-rwxr-xr-x  1 root  wheel  -  5.8K Mar  4 19:10:53 2008 mm-handler*

-
/etc/rc.conf
[snipped]
sendmail_enable="YES"
mailman_enable="YES"
apache22_enable="YES"
apache22_http_accept_enable="YES"

-
/usr/local/mailman/Mailman/mm_cfg.py
from Defaults import *

MTA = None

DEFAULT_EMAIL_HOST = 'lists.domain.tld'
DEFAULT_URL_HOST = 'lists.domain.tld'
DEFAULT_URL_PATTERN = 'http://%s/mailman/'

-
/usr/local/etc/apache22/httpd.conf
User www
Group www

/usr/local/etc/apache22/vhosts/tld.domain.lists.conf


ServerName lists.domain.tld

DocumentRoot/usr/local/mailman
Alias   /icons/ "/usr/local/mailman/icons/"

Alias   /pipermail/ "/usr/local/mailman/archives/public/"
ScriptAlias /mailman/   "/usr/local/mailman/cgi-bin/"

ErrorLog  "/usr/local/mailman/logs/httpd-error_log"
CustomLog "/usr/local/mailman/logs/httpd-access_log"   common
CustomLog "/usr/local/mailman/logs/httpd-combined_log" combined


  Options FollowSymLinks ExecCGI
  AllowOverride None
  Order allow,deny
  Allow from all



-
$ uname -a
FreeBSD host.domain.tld 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Sun Mar  2 
09:48:59 EST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HOST 
i386







--

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Wo

Freebsd7, mail/mailman, www/apache22, and sendmail

2008-03-05 Thread Philip M. Gollucci

Issue:

The www/apache22 integration seems to be fine; however, the sendmail 
integration isn't quite right.


client computer:
$ echo `uname -a` | mail -s "`date`" [EMAIL PROTECTED]

Mail Server:
/var/log/maillog
m25JwCEk065018: m25JwCEl065018: DSN: unknown mailer error 255

m25JwCEl065018: to=<[EMAIL PROTECTED]>, delay=00:00:00 \
xdelay=00:00:00, mailer=mailman, pri=32149,   \
relay=lists.p6m7g8.net, dsn=5.3.0, stat=unknown mailer error 255

m25JwCEm065018: return to sender: unknown mailer error 255

The setup:
-
/etc/make.conf
[snipped]

# SASL (cyrus-sasl v2) sendmail build flags...
SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2
# Adding to enable alternate port (smtps) for sendmail...
SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL

.if ${.CURDIR:M*/usr/ports/mail/mailman*}
WITH_SENDMAIL=  yes
WITH_HTDIG= yes
.endif

.if ${.CURDIR:M*/usr/ports/www/apache22*}
WITH_SSL= yes
WITH_APR_FROM_PORTS=  yes
WITH_FULLBUILD=   yes
WITH_MYSQL=   yes
WITH_PCRE_FROM_PORTS= yes

WITH_LOG_FORENSIC=yes
WITH_PROXY_CONNECT=   yes
WITH_PROXY_FTP=   yes
WITH_PROXY_HTTP=  yes
WITH_PROXY_AJP=   yes
WITH_PROXY_BALANCER=  yes

WITHOUT_MEM_CACHED=   yes
.endif

-
/var/db/pkg
[snipped]
apache-2.2.8
apr-nothr-1.2.8_2
bash-static-3.2.33
mailman-with-htdig-2.1.9_5
mysql-client-5.1.23
pcre-7.6
python25-2.5.2_1
cyrus-sasl-2.1.22
cyrus-sasl-saslauthd-2.1.22

users:
id mailnull
uid=26(mailnull) gid=26(mailnull) groups=26(mailnull)

id mailman
uid=91(mailman) gid=91(mailman) groups=91(mailman)

id www
uid=80(www) gid=80(www) groups=80(www)

-
/etc/mail/host.mc
[snipped]
define(`ALIAS_FILE', `/etc/mail/aliases,/etc/mail/lists')

FEATURE(`smrsh')
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
VIRTUSER_DOMAIN(`lists.domain.tld')

dnl FEATURE(`limited_masquerade')
dnl MASQUERADE_AS(`lists.domain.tld')

Mmailman,   P=/etc/mail/mm-handler, F=rDFMhlqSu, U=mailman:mailman,
S=EnvFromL, R=EnvToL/HdrToL,
A=mm-handler $h $u

-
$ whereis smrsh
smrsh: /usr/libexec/smrsh

$ strings /usr/libexec/smrsh  | grep bin |head -1
/usr/libexec/sm.bin

$ ls -l /usr/libexec/sm.bin/
lrwxr-xr-x  1 root  wheel  -   31B Mar  4 18:43:32 2008 mailman@ -> 
/usr/local/mailman/mail/mailman


$ ls -l /usr/local/mailman/mail/mailman
-rwxr-sr-x  1 root  mailman  -   15K Mar  4 12:45:40 2008 
/usr/local/mailman/mail/mailman*


$ /usr/local/mailman> sudo bin/check_perms -f
No problems found

$ cat /etc/mail/mailertable
lists.domain.tldmailman:lists.domain.tld

$ ls -l /etc/mail/mm-handler
-rwxr-xr-x  1 root  wheel  -  5.8K Mar  4 19:10:53 2008 mm-handler*

-
/etc/rc.conf
[snipped]
sendmail_enable="YES"
mailman_enable="YES"
apache22_enable="YES"
apache22_http_accept_enable="YES"

-
/usr/local/mailman/Mailman/mm_cfg.py
from Defaults import *

MTA = None

DEFAULT_EMAIL_HOST = 'lists.domain.tld'
DEFAULT_URL_HOST = 'lists.domain.tld'
DEFAULT_URL_PATTERN = 'http://%s/mailman/'

-
/usr/local/etc/apache22/httpd.conf
User www
Group www

/usr/local/etc/apache22/vhosts/tld.domain.lists.conf


ServerName lists.domain.tld

DocumentRoot/usr/local/mailman
Alias   /icons/ "/usr/local/mailman/icons/"

Alias   /pipermail/ "/usr/local/mailman/archives/public/"
ScriptAlias /mailman/   "/usr/local/mailman/cgi-bin/"

ErrorLog  "/usr/local/mailman/logs/httpd-error_log"
CustomLog "/usr/local/mailman/logs/httpd-access_log"   common
CustomLog "/usr/local/mailman/logs/httpd-combined_log" combined


  Options FollowSymLinks ExecCGI
  AllowOverride None
  Order allow,deny
  Allow from all



-
$ uname -a
FreeBSD host.domain.tld 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Sun Mar  2 
09:48:59 EST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HOST i386




--

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love l

Re: Uname borked on ??-Release...

2008-03-03 Thread Philip M. Gollucci

Kevin Kinsey wrote:

Question:  why is uname reporting the {wrong} build?

cd /usr/src
sudo make installkernel


--

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


RELENG_7_0_0_RELEASE: make installworld /usr/obj/usr/src/sys/boot/i386/loader/../../ficl/libficl.a. Stop

2008-02-29 Thread Philip M. Gollucci
oot/ficl/../common -c 
/usr/src/sys/boot/ficl/prefix.c
cc -O2 -fno-strict-aliasing -pipe  -ffreestanding 
-mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-m32 -march=i386 -I. -I/usr/src/sys/boot/ficl 
-I/usr/src/sys/boot/ficl/i386  -I/usr/src/sys/boot/ficl/../common -c 
/usr/src/sys/boot/ficl/search.c
cc -O2 -fno-strict-aliasing -pipe  -ffreestanding 
-mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-m32 -march=i386 -I. -I/usr/src/sys/boot/ficl 
-I/usr/src/sys/boot/ficl/i386  -I/usr/src/sys/boot/ficl/../common -c 
/usr/src/sys/boot/ficl/stack.c
cc -O2 -fno-strict-aliasing -pipe  -ffreestanding 
-mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-m32 -march=i386 -I. -I/usr/src/sys/boot/ficl 
-I/usr/src/sys/boot/ficl/i386  -I/usr/src/sys/boot/ficl/../common -c 
/usr/src/sys/boot/ficl/tools.c
cc -O2 -fno-strict-aliasing -pipe  -ffreestanding 
-mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-m32 -march=i386 -I. -I/usr/src/sys/boot/ficl 
-I/usr/src/sys/boot/ficl/i386  -I/usr/src/sys/boot/ficl/../common -c 
/usr/src/sys/boot/ficl/vm.c
cc -O2 -fno-strict-aliasing -pipe  -ffreestanding 
-mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-m32 -march=i386 -I. -I/usr/src/sys/boot/ficl 
-I/usr/src/sys/boot/ficl/i386  -I/usr/src/sys/boot/ficl/../common -c 
/usr/src/sys/boot/ficl/words.c
cc -O2 -fno-strict-aliasing -pipe  -ffreestanding 
-mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-m32 -march=i386 -I. -I/usr/src/sys/boot/ficl 
-I/usr/src/sys/boot/ficl/i386  -I/usr/src/sys/boot/ficl/../common -c 
/usr/src/sys/boot/ficl/i386/sysdep.c
(cd /usr/src/sys/boot/ficl/softwords; cat softcore.fr jhlocal.fr 
marker.fr freebsd.fr ficllocal.fr  ifbrack.fr  | awk -f softcore.awk -v 
datestamp="`LC_ALL=C date`") > softcore.c
cc -O2 -fno-strict-aliasing -pipe  -ffreestanding 
-mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-m32 -march=i386 -I. -I/usr/src/sys/boot/ficl 
-I/usr/src/sys/boot/ficl/i386  -I/usr/src/sys/boot/ficl/../common -c 
softcore.c

building static ficl library
ranlib libficl.a

--
----
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: DJ500 dead after >= 16 years.

2008-02-21 Thread Philip M. Gollucci

Gary Kline wrote:

Guys, I need some input about what kind of _new_ printer to buy
for my desktops.  I'd like to hang the printer off my FBSD box;
my Ubuntu platform is probably too far away. At least 3 meters.
We have a HP3005n, HP2605dn, Xerox Phasermfp8650 all network printers 
that I print to with CUPS from freebsd flawlessly.



--

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: acrobat reader (7 or 8) on 7.0-RC1

2008-01-30 Thread Philip M. Gollucci

Vince Hoffman wrote:

KAYVEN RIESE wrote:

Did you install that acrobat port?

You sir are missing the FREEBSD6_COMPAT config in your kernel.
--

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: question about buildkernel warning

2008-01-25 Thread Philip M. Gollucci

Robert Huff wrote:

While building a new (CURRENT) kernel today, I noticed this:

WARNING: duplicate option `DEV_ISA' encountered.
WARNING: duplicate device `isa' encountered.
WARNING: duplicate option `DEV_MEM' encountered.
WARNING: duplicate device `mem' encountered.
WARNING: duplicate option `DEV_IO' encountered.
WARNING: duplicate device `io' encountered.
These options are already in the DEFAULT file in the same directory as 
your kernel  config.

--
------------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: Perl-5.10.0 in FBSD-7.0

2008-01-24 Thread Philip M. Gollucci

Kris Kennaway wrote:

It's not going to happen.
I completely agree -- but I'm talking about it being the default perl 
version.  There shouldn't be much of anything stopping lang/perl5.10 
from appearing.  I'm not saying it needs to be shipped with 7.0-release.




--
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Inspiron 1721 w/ FreeBSD 8-current

2008-01-23 Thread Philip M. Gollucci

Hi,

I'd like to get the following hardware can anyone recommend compatibility?

1) Sprint Card
   [a howto would be good too]

2) Wireless USB Mouse
   [I can probably rtfm for this one]

3) Sound Card
   [built in doesn't work --
http://www.freebsd.org/cgi/query-pr.cgi?pr=111767, I tried the fix,
but doesn't help]
   It doesn't have to be great, just work.

4) 2+GB USB Thumb Drive.



--
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: packaging a metaport

2008-01-21 Thread Philip M. Gollucci

Dave wrote:

Hello,
I'd like to compile and install xorg and gnome via metaports on a
machine, making packages out of the entire process, including dependencies.
My goal is to have a tarball that i can take to other machines, extract it
and do a pkg_add * and have xorg and gnome installed via packages vs.
recompiling the port. I tried a make package but that doesn't work with
metaports, and make package-recursive doesn't happen either.
Thanks.
Dave.


$ id ftp
uid=14(ftp) gid=14(ftp) groups=14(ftp)

In /etc/inetd.conf
ftp stream  tcp nowait  root/usr/libexec/ftpd   ftpd -4 
-A -l -l -r M -s


In /etc/rc.conf
inetd_flags="-wW -l -R 1024 -C 60"
inetd_enable="YES"

$ sudo /etc/rc.d/inetd restart

In /etc/make.conf
DISTDIR=/home/ftp/pub/FreeBSD/ports/distfiles
PACKAGES=/home/ftp/pub/FreeBSD/ports/amd64/packages-7-current

(change the arch and os version to match yours)

$ sudo mkdir -p /home/ftp/pub/FreeBSD/ports/distfiles
$ sudo mkdir -p /home/ftp/pub/FreeBSD/ports/amd64/packages-7-current

$ cd /usr/ports/x11/xorg
$ make all install package-recursive

$ cd /usr/ports/x11-wm/gnome
$ make all install package-recursive

$ ls /home/ftp/pub/FreeBSD/ports/amd64/packages-7-current/Latest/

NOW, or REMOTE machines


$ export 
PACKAGESITE=ftp://ftp.tld/pub/FreeBSD/ports/amd64/packages-7-current/Latest/


$ sudo pkg_add -r xorg
$ sudo pkg_add -r gnome

You can probably just do this for gnome and dependencies will work, but
I've never used gnome, so I can't say.

I don't have the link handy, you can google for the above information.


--
------------
Philip M. Gollucci ([EMAIL PROTECTED])
c:703.336.9354
Consultant / http://p6m7g8.net/Resume/resume.txt
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: how to start one daemon twice from the rc.conf?

2008-01-08 Thread Philip M. Gollucci

ivan dimitrov wrote:

hello list,

How to start two sshd with different configs from the rc.conf?

Do i have to write a secondary /etc/rc.d/sshd,
for eg. /etc/rc.d/sshd2 and put sshd2_enable="yes" in the rc.conf
or there is another way to do this?

Or you could write a script /usr/local/etc/sshd-mine
thats starts both, or add /usr/local/etc/sshd2 that just starts the 
second one.


-f configuration_file
 Specifies the name of the configuration file.  The default is
 /etc/ssh/sshd_config.  sshd refuses to start if there is no con-
 figuration file.

Its generally good to not muck with things in /etc/rc.d unless you 
really have too,





--
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: Sendmail: "exposed" root, why?

2008-01-08 Thread Philip M. Gollucci

Jerahmy Pocott wrote:

Hello,

 From the sendmail documentation:

"There are always users that need to be "exposed" -- that is,
their  internal site name should be displayed instead of the
masquerade name. Root is an example (which has been
"exposed" by default prior to 8.10)."

Is there actually any reason why root needs to be "exposed"?

Root is set to an external address in aliases and it really
needs to be masqueraded in order to for it to get delivered,
but would that cause problems with anything?

How do you stop sendmail from doing this, I don't see any
directive to NOT expose root, only options to expose other
addresses as well.. Perhaps there is a better way to send
system mailed logs to an external address that doesn't send
them from root?

Thanks for any info!

There is no directive, but you can edit the resultant .cf file
and remove the line
C{E}root
or root from that line if more than one user.

Be warned, you _will_ break /etc/crontab and periodic scripts mail delivery.

The reason it needs to be exposed is probably these scripts because 
other wise the from address for daily security scripts will be
root@ rather than [EMAIL PROTECTED]  Now, it so happens 
that most of these e-mails have the machine name in the subject or what not.




--
------------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: Where is the next uid from adduser pulled from?

2007-12-12 Thread Philip M. Gollucci
Francisco Reyes wrote:
> I have scripts to add new users. However, after that any port that installs
> a user creates it with a UID after the ones I made.
> 
> For example I want all employees to have uids starting at 5000, but I would
> like too port installed uids to be 2000 and up. After I add some users (ie
> say last user is 5008), the next port that installs a user and doesn't
> specify uid.. then will get 5009.
> 
> Tried looking for the adduser program, but could not find adduser.c
/usr/src/usr.sbin/pw

Ports call 'pw add user x', and pw add group y'


-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: make buildworld fails

2007-12-12 Thread Philip M. Gollucci
Jamie Avery wrote:
> put KERNCONF=/kernelname/ into /etc/make.conf.  However, when I make
> buildkernel, I get the following error
7.x+ src.conf, below make.conf

grep KERNCONF /etc/make.conf /etc/src.conf
/etc/src.conf:KERNCONF?=  RIDERWAY

NO /s neccessary.



-- 
----
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: help wanted configuring HPLIP

2007-12-07 Thread Philip M. Gollucci

Robert Huff wrote:

I've got it installed, see the post-install configuration
message, and have questions about how it will interact with existing
printers.
Were I you, I would install cups, and then goto web page interface on 
localhost.  It kind of just works.


--
-
Philip M. Gollucci ([EMAIL PROTECTED])
c:323.219.4708 o:703.749.9295x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: copying just / (not /tmp, /usr, etc) (rsync -x failed)

2007-12-05 Thread Philip M. Gollucci
James Harrison wrote:
> Everyone's recommending dump/restore for copying file systems, and
> there's something that I've never really been clear on.
> 
> The nice thing about rsync is that it's network aware. Can dump dump a
> file system across a network?
You could probably use ssh as a transport.

-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: Determining kernel?

2007-12-04 Thread Philip M. Gollucci
Patrick Baldwin wrote:
> Philip M. Gollucci wrote:
>> Patrick Baldwin wrote:
>>> I was reading through the handbook section on updating, as I'd
>>> like to update a FreeBSD 6.2 system.  One of the things I noticed
>>> is that you need to specify what kernel you want in the KERNCONF
>>> line.  Is there any way to get a running FreeBSD system to tell
>>> me what kernel is being used?
>> uname -a
>> FreeBSD philip.hq.rws 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Tue Nov  6
>> 16:28:12 EST 2007
>> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/RIDERWAY  i386
>>
>> Notice the path at the end.
>>
> 
> OK, the path at the end for me is:
> /usr/obj/usr/src/sys/SMP  i386
That is GENERIC with except that is has support mutiple CPUs

> 
> However, when I use uname -i as someone else suggested, it gives me:
> SMP-GENERIC
> 
> So which do I substitute for MYKERNEL in the KERNCONF lines:
> 
> make buildkernel KERNCONF=MYKERNEL
> make installkernel KERNCONF=MYKERNEL
make buildkernel KERNCONF=SMP

OR, you can do

echo "KERNCONF?=SMP" >> /etc/make.conf
make buildkernel
make installkernel

In 7.0+ its /etc/src.conf

If you ever compile a custom kernel you'd use that name instead.



-- 

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: Determining kernel?

2007-12-04 Thread Philip M. Gollucci
Patrick Baldwin wrote:
> I was reading through the handbook section on updating, as I'd
> like to update a FreeBSD 6.2 system.  One of the things I noticed
> is that you need to specify what kernel you want in the KERNCONF
> line.  Is there any way to get a running FreeBSD system to tell
> me what kernel is being used?
uname -a
FreeBSD philip.hq.rws 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Tue Nov  6
16:28:12 EST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/RIDERWAY  i386

Notice the path at the end.

-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: FreeBSD make on other platforms [was: Re: Building FreeBSD onLinux]

2007-12-04 Thread Philip M. Gollucci
Saravanan Shanmugham (sarvi) wrote:
> Hi Giorgos,
>  The build failed for me 'with a syntax error before "__dead2" '.
>  Are there any special include files I am supposed to have?
> I had trouble with the autoconf version I had installed and had to
> upgrade to the latest.
> Then I was able to move past, autoconf, automake, configure.
> 
> Whhen I went to make I got that error. It looks like __dead2 is a
> #define in cdefs.h found in some BSD installs. I am building on RedHat
> Enterprise Linux 4 and the sys/cdefs.h file does not see to define
> __dead2.
__dead2 is a custom gcc modification.  It just means the function
doesn't return IIRC.

-- 
------------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: Buildworld problem

2007-12-04 Thread Philip M. Gollucci
Venkatesh K wrote:
>> make: don't know how to make bsd.README. Stop
obrien  2007-12-03 21:05:20 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_6_3)
gnu/usr.bin/gdb/arch/amd64 Makefile
gnu/usr.bin/gdb/arch/i386 Makefile
gnu/usr.bin/gdb/kgdb kgdb.h
  Log:
  MFC:
  + Turn on gdbserver for the arch that supports it.
  + Fix static/extern mismatch.
  + Remove extern int verbose declaration.

  Approved by:re(kensmith)

  Revision ChangesPath
  1.3.10.1 +6 -1  src/gnu/usr.bin/gdb/arch/amd64/Makefile
  1.4.10.1 +5 -1  src/gnu/usr.bin/gdb/arch/i386/Makefile
  1.2.2.3.2.1  +0 -1  src/gnu/usr.bin/gdb/kgdb/kgdb.h
___

Looks like this did it.

-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: Buildworld problem

2007-12-04 Thread Philip M. Gollucci
Venkatesh K wrote:
> ===> gnu/usr.bin/gdb/gdbserver (all)
> make: don't know how to make bsd.README. Stop
>>FreeBSD 6.2-RELEASE-p9 FreeBSD 6.2-RELEASE-p9 #0: Thu Nov 29 04:07:33
>>UTC 2007
>>[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
>> i386

What code version are you trying to compile?  The same as your system?
You may just want to run another cvsup, maybe you caught it at a bad time.

-- 
------------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: [RFC/P] Port System Re-Engineering (Repost from -ports@)

2007-12-03 Thread Philip M. Gollucci
Aryeh M. Friedman wrote:
> [Repost from [EMAIL PROTECTED]
> 
> As has been hashed out in -ports@ over the last few days there is at
> least a need to examine weither or not the current ports system should
> remain as is or potentially be re-engineered in the future (estimates
> if and when needed vary from ASAP to 10-15 years).   I have
> volunteered to undertake a feasibility/pilot project to examine what
> changes (if any) are needed in the system (for the purposes of this
> thread I will not venture any of my own suggestions).   I have the
> following broad questions for people:
> 
> 1. What is more important to your personal use of FreeBSD (the ports
> system, the underlaying OS, some other aspect)?
Software builds correct and is present.  Including a way to make my own
custom packages for distribution.
> 
> 2. How frequently do you interact with the ports systems and what is
> the most common interaction you have with it?
Daily, updating, and maintaining the ports tree itself.

> 
> 3. What is the single best aspect of the current system?
Its source based and re-uses and existing language (make) instead of
inventing a new one.

> 
> 4. What is the single worst aspect of the current system?
Most ports don't deal well with multiple versions. Even apache which is
versioned doesn't do it that well.

> 
> 5. If you where a new FreeBSD user how would your answers above
> change?   If you where brand new to UNIX how whould they change?
I'd want a gui and not to compile anything.

> 
> 6. Assuming that there was no additional work on your behalf would you
> use a new system if it corrected your answer to number 4?
Quite possibly.

> 
> 7. Same as question 6 but for your answer on question 3?
(that doesn't make sense -- if you corrected the single best aspect of
ports?)

> 
> 8. How long have you used FreeBSD and/or UNIX in general?
since 2.2.8 ~1998

> 
> 9.  That is your primary use(s) for your FreeBSD machine(s) (name upto 3)?
Desktop
Development (SVN, imap, you name it)
Production (FAMP stacks)
> 
> 10. Assuming there is no functional difference what is your preferred
> installation method for 3rd party software?
source compilation -- except for things like Xorg, Firefox and
Thunrderbird because they are just so darn big.

> 
> 11. On a scale from 1 to 10 (10 being the best) please rate the
> importance of the following aspects of the ports system?
> 
>a. User Interface
7
>b. Consistency of behaviors and interactions
5
>c. Accuracy in dependant port installations
7
>d. Internal record keeping
4
>e. Granularity's of the port management system
6
> 
> 12. Please rate your personal technical skill level?
Very High -- Professional System Admin


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


-- 

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: named / BIND 9.4.1-P1 /etc/named/master ownership

2007-12-03 Thread Philip M. Gollucci
Philip M. Gollucci wrote:
> Gelsema, P (Patrick) - FreeBSD wrote:
>> Ok.. In the /var directory there is no dump directory. So solving this I
>> should do the following:
>>
>> hulk# mkdir /var/dump
>> hulk# chown bind:bind /var/dump
Well, if its relative to the chroot, its
/var/named/var/dump


-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: named / BIND 9.4.1-P1 /etc/named/master ownership

2007-12-03 Thread Philip M. Gollucci
Gelsema, P (Patrick) - FreeBSD wrote:
> Ok.. In the /var directory there is no dump directory. So solving this I
> should do the following:
> 
> hulk# mkdir /var/dump
> hulk# chown bind:bind /var/dump
> 
> Is that correct?
I believe so.

> 
> Whilst I am on the BIND topic, does BIND automatically refreshed the
> content of a zone. Will it notice that the serial of a loaded zone has
> been changed and reload it?
Well thats what slaves *are* for.
You should look at the 'notify' directive.

If you are talking about master, if you change a zone file, no, you have
use to rndc reload or restart bind (/etc/rc.d/named restart)

-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: named / BIND 9.4.1-P1 /etc/named/master ownership

2007-12-03 Thread Philip M. Gollucci
> When I change the ownership, problem goes away.
> How can I get the problem away without changing the ownership?
in the options {} section
what do you have for:

options {
// Relative to the chroot directory
// named_chrootdir="/var/named"
directory   "/etc/namedb";
pid-file"/var/run/named/pid";
dump-file   "/var/dump/named_dump.db";
statistics-file "/var/stats/named.stats";
.

-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: named / BIND 9.4.1-P1 /etc/named/master ownership

2007-12-03 Thread Philip M. Gollucci
Gelsema, P (Patrick) - FreeBSD wrote:
> In /etc/rc.conf I got the following.
> hulk# cat /etc/rc.conf | grep named
> named_enable="YES"
> named_uid="bind"
> named_chrootdir="/var/named"
grep named /etc/defaults/rc.conf
# named.  It may be possible to run named in a sandbox, man security for
named_enable="NO"   # Run named, the DNS server (or NO).
named_program="/usr/sbin/named" # path to named, if you want a different
one.
#named_flags="" # Flags for named
named_pidfile="/var/run/named/pid" # Must set this in named.conf as well
named_uid="bind"# User to run named as
named_chrootdir="/var/named"# Chroot directory (or "" not to
auto-chroot it)
named_chroot_autoupdate="YES"   # Automatically install/update chrooted
# components of named. See /etc/rc.d/named.
named_symlink_enable="YES"  # Symlink the chrooted pid file


As you can see, your named_uid and named_chrootdir are not needed, that
is the default.

The thing causing your issue is named_chroot_autoupdate="YES" (the
default) and it is correct to do so, you should not be changing these
without very good reason.

-- 

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: FBS7.0-4B, named does not build with buildworld

2007-12-03 Thread Philip M. Gollucci
Erik Norgaard wrote:
> Hi:
> 
> I have recently tried to update to the latest snapshot, it appears that
> named is not built/installed with build/installworld build targets:
> 
> The installed named depends on libcrypto.so.4 and libc.so.6, but
> installworld, delete-old, delete-old-libs deletes these as they have
> been obsoleted by .5 and .7 respectively.
> 
> Is there some new target to build named?
Check your /etc/make.conf and/or /etc/src.conf
It most definetely its.

In 7.0-BETA3 its 9.4.1-P1

Did you forget to do a make installworld ?


-- 
------------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: What's the point of the shell choice in single user mode?

2007-12-03 Thread Philip M. Gollucci
Jorn Argelo wrote:
> RW wrote:
>> On Sun, 02 Dec 2007 18:48:33 +0100
>> Jorn Argelo <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>>> Also note that vi doesn't work by default as it needs to write
>>> to /tmp. So mount /tmp or re-mount / to RW permissions.
>>>
>> I think vi will also fail unless it has access to termcap, so you'd
>> need /usr mounted too.
>>
> You'd need to mount /usr anyway, as the vi binary is located in /usr/bin ;-)
*cough* /rescue/vi

-- 

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: Kernel Compile Error

2007-11-28 Thread Philip M. Gollucci
Schiz0 wrote:
> On Nov 28, 2007 8:47 AM, Philip M. Gollucci <[EMAIL PROTECTED]> wrote:
>> Schiz0 wrote:
>>> Hey,
>>>
>>> I'm running FreeBSD 6.3-PRERELEASE. I recently csuped the source code
>>> (src-all) and built world.
>>> I then tried to "make buildkernel", and it ran for a little while,
>>> then gave the following error and stopped:
>>>
>>> http://schiz0.securityexploits.com/make.buildkernel.out
>>> The error is at the bottom - that is the log of the entire buildkernel 
>>> process.
>> I see no error -- looks like you didnt' copy enough of it.
>> use -DNO_CLEAN to skip all the rm -f stuff at the start when you post
>> the new output.
>>
linux_ipc.o(.text+0x8e4):/usr/src/sys/compat/linux/linux_ipc.c:583:
undefined reference to `__semctl'^M
linux_ipc.o(.text+0x918): In function `linux_msgsnd':^M
/usr/src/sys/compat/linux/linux_ipc.c:600: undefined reference to `msgsnd'^M
linux_ipc.o(.text+0x94e): In function `linux_msgrcv':^M
/usr/src/sys/compat/linux/linux_ipc.c:619: undefined reference to `msgrcv'^M
linux_ipc.o(.text+0x970): In function `linux_msgget':^M
/usr/src/sys/compat/linux/linux_ipc.c:632: undefined reference to `msgget'^M
linux_ipc.o(.text+0x9d2): In function `linux_msgctl':^M
/usr/src/sys/compat/linux/linux_ipc.c:650: undefined reference to
`kern_msgctl'^M
linux_ipc.o(.text+0xa4d): In function `linux_shmat':^M
/usr/src/sys/compat/linux/linux_ipc.c:680: undefined reference to `shmat'^M
linux_ipc.o(.text+0xaae): In function `linux_shmdt':^M
/usr/src/sys/compat/linux/linux_ipc.c:699: undefined reference to `shmdt'^M
linux_ipc.o(.text+0xad6): In function `linux_shmget':^M
/usr/src/sys/compat/linux/linux_ipc.c:714: undefined reference to `shmget'^M
linux_ipc.o(.text+0xb18): In function `linux_shmctl':^M
/usr/src/sys/compat/linux/linux_ipc.c:733: undefined reference to
`kern_shmctl'^M
linux_ipc.o(.text+0xb68):/usr/src/sys/compat/linux/linux_ipc.c:748:
undefined reference to `kern_shmctl'^M
linux_ipc.o(.text+0xbb0):/usr/src/sys/compat/linux/linux_ipc.c:761:
undefined reference to `kern_shmctl'^M
linux_ipc.o(.text+0xc00):/usr/src/sys/compat/linux/linux_ipc.c:773:
undefined reference to `kern_shmctl'^M
linux_ipc.o(.text+0xc7c):/usr/src/sys/compat/linux/linux_ipc.c:792:
undefined reference to `kern_shmctl'^M
linux_ipc.o(.text+0xcd2):/usr/src/sys/compat/linux/linux_ipc.c:808: more
undefined references to `kern_shmctl' follow^M

Add these 3 to your kernel config file near the end. Don't use the
-DNO_CLEAN when you build this time.  That was just to cut down on the
output in the log file (or when you intentionally don't want to delete
the build from the previous attempt or success)

options     SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores

-- 

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: Network Configuration with Jails.

2007-11-28 Thread Philip M. Gollucci
Félix Langelier wrote:
> Hello,
> 
> I run a FreeBSD Jailer and I want to have multiple jails in 2 seperate 
> networks. The server has 2 network interfaces and each of them are connected 
> in a different network. Say vlan1 and vlan2.
> 
> My problem is that all the network traffic is going through the first 
> interface (vlan1). What I need is that a jail in vlan1 can't communicate with 
> a jail in vlan2 (and vice-versa).
> 
> Is it possible to split the network traffic in the right interfaces and use a 
> diffrent default gateway for each of them ?
> 
> Here is my /etc/rc.d configuration.
> 
> defaultrouter="192.168.1.1"
> 
> static_routes="vlan1 vlan2"
> route_vlan1="-net 192.168.1.0/24 192.168.1.1"
> route_vlan2="-net 192.168.2.0/24 192.168.2.1"
> 
> # vlan1 interface config.
> ifconfig_bge0="inet 192.168.1.10 netmask 255.255.255.0"
> ifconfig_bge0_alias0="192.168.1.11 netmask 255.255.255.255"
> 
> # vlan2 interface config.
> ifconfig_bge1="inet 192.168.2.10 netmask 255.255.255.0"
> ifconfig_bge1_alias0="inet 192.168.2.11 netmask 255.255.255.255"
> 
> I tried to remove the default gateway but then the server was unreachable.
> I am thinking of using pf to resolve my issue.
Removing the default gateway will work, but you have to add back
_similiar_ routes, you can't just remove it.





-- 

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: 2nd try : tap SIOCIFCREATE failure

2007-11-28 Thread Philip M. Gollucci
Alain G. Fabry wrote:
> When creating the tap interface, my system gives the following
> 
> FreeBSD# uname -a
> FreeBSD FreeBSD 6.2-RELEASE
> FreeBSD# kldstat
> Id Refs AddressSize Name
>  1   11 0xc040 6f7554   kernel
>  21 0xc0af8000 140c0snd_hda.ko
>  32 0xc0b0d000 479a8sound.ko
>  41 0xc0b55000 1d278kqemu.ko
>  51 0xc0b73000 8ea4 aio.ko
>  61 0xc4f44000 9000 if_bridge.ko
>  71 0xc5079000 16000linux.ko
>  81 0xc60ce000 4000 if_tap.ko
> FreeBSD# ifconfig tap0 create
> ifconfig: SIOCIFCREATE: Invalid argument
I never had to manually issue the create command, you should just see it
in the ifconfig -a output.

When qemu starts, "Opened by process id " should be in the ifconfig
output by the tap0 interface.

You'll need to use the /etc/qemuifup or whatever its called, I forget.
Or the command line options to set networking info like netmask, ip,
gateway for the tap.


-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: Kernel Compile Error

2007-11-28 Thread Philip M. Gollucci
Schiz0 wrote:
> Hey,
> 
> I'm running FreeBSD 6.3-PRERELEASE. I recently csuped the source code
> (src-all) and built world.
> I then tried to "make buildkernel", and it ran for a little while,
> then gave the following error and stopped:
> 
> http://schiz0.securityexploits.com/make.buildkernel.out
> The error is at the bottom - that is the log of the entire buildkernel 
> process.
I see no error -- looks like you didnt' copy enough of it.
use -DNO_CLEAN to skip all the rm -f stuff at the start when you post
the new output.

-- 
------------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: Confusion about Ports and options framework

2007-11-26 Thread Philip M. Gollucci
Zachary Kline wrote:
> Hi,
> I've read through the sections of the handbook quite carefully, and
> haven't quite found what I'm looking for.
> To be specific, I've no plans to install X11 or anything like it on this
> machine yet.  I may do so in the future merely to see how accessible Gnome
> and such are, but not now.
> I note that /usr/ports/editors/emacs has several environment variables
> which can be set, such as WITHOUT_X11.  I can set these just fine, and don't
In /etc/make.conf --
.if ${.CURDIR:M*/usr/ports/*}
  NOPORTSDOC=   yes

  WITHOUT_DBUS= yes
  WITHOUT_DEBUG=yes
  WITHOUT_EXAMPLES= yes
  WITHOUT_GUI=  yes
  WITHOUT_HAL=  yes
  WITHOUT_IPV6= yes
  WITHOUT_NLS=  yes
  WITHOUT_X11=  yes

  APACHE_PORT=  www/apache22
  OVERRIDE_LINUX_BASE_PORT= f7
.endif

 - Per Port
.if ${.CURDIR:M*/usr/ports/databases/mysql50*}
  WITH_ARCHIVE= yes
  WITH_CSV= yes
  WITH_FEDERATED=   yes
  WITH_NDB= yes
  BUILD_OPTIMIZED=  yes
.endif

> However, if I were to use something like Portmanager, Portupgrade, etc,
> is there any way I can keep it from downloading these as well?  On the
Should work here too.

> subject of port managers, is manual port installation the prefered method of
> doing this anyway?
The "managers" as you call them are more for upgrading and maintenance
rather then original installation.

Most people would use pkg_add -r, or compile from source in /usr/ports.
Once you get familiar with things, I'd recommend setting up a local ftp
package repository based on own source compiles so you only have to do
them once.

see make package
et al.


-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: Help for very bad perf for MySQL

2007-11-26 Thread Philip M. Gollucci
Albert Shih wrote:
> Hi all
> 
> I've already send a message. But I don't receive any answer :-(. I try again
> and hope there more solution
> 
> I've a bi-proc single core Xeon 3.2ghz with FreeBSD 6.2, I'm running Mysql
> 5.X on this server and the performance of MySQL is very bad. For some
> complexe select I've got ~6secondes (on some basic Linux it's take 0.6
> sec). And I think this is nothing about thead (that's mean I don't think
> FreeBSD 7.0 can solve my problem) because it's just for one select.
Well -- we'll need more information, but as your say, if its not
threading related what makes you think its FreeBSD.  You'd probably have
better luck over on [EMAIL PROTECTED]

A good start would be the query itself, and the output of EXPLAIN for
that query.

Also, your my.cnf is the next step.

-- 
----
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: FreeBSD Production Release ISO images

2007-11-22 Thread Philip M. Gollucci

patrick wrote:

Hi there,

I'm wondering if the FreeBSD 6.2 Production Release ISO images get
updated periodically when there are important patches, or is it better
to download the latest snapshot to save the trouble of updating
everything after installing?
The iso's are never remade after the initial.  If its drastically 
broken, they might pull it from distribution, but other than that no.


Once you install from the ISO, you'll need to update via freebsd-update, 
or /usr/src, or whatever else you might be thinking of. (just make sure 
to use RELENG_6 tag)



--
---------
Philip M. Gollucci ([EMAIL PROTECTED])
c:323.219.4708 o:703.749.9295x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
___
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-20 Thread Philip M. Gollucci
> This allowed apache2-non-ports to compile.  However the question in my
> mind that still bears answering is: why apr would FIND such a library as
> installed (i.e. not fail at configure-time) but then fail to compile.
> I.e. why does the APR not set CFLAGS and LDFLAGS correctly.
This you should post to [EMAIL PROTECTED], I might even answer it
there, but the answer lies in the configure script logic which was
chosen very carefully.


-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

___
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-20 Thread Philip M. Gollucci
I don't have the correct computer in front of me at the moment, but I
used to do this DAILY with 1000 different combinations of perl, apr,
httpd, mod_perl.

Its a bit dated at the moment, but it definitely will send you in the
correct direction. And yes, this is on FreeBSD (at the time it was 6.1)

http://p6m7g8.net/LA.pm/compile.sh.txt

FWIW, The ASF itself doesn't use the FreeBSD port though apache.org is a
FreeBSD box, but thats only because they will always have never versions
before the ports tree.


-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: FreeBSD NFS server responds with wrong address

2007-11-20 Thread Philip M. Gollucci
Loren M. Lang wrote:
> I was attempting to do an NFS mount from a FreeBSD server to a FreeBSD
> client over IPv6 and received the error "NFSPROC_NULL: RPC: Timed out."
> After doing a packet trace, I noticed that the FreeBSD server was
> indeed responding to both a Portmap GATADDR call and a NFS NULL call,
> but in both cases it was coming from the IPv6 address closest to the
> client making the call and not the address the call was issued to.  Why
> is this happening and how do I make the server respond with the correct
> address?
> 
> The server is FreeBSD 6.2-RELEASE-p7.
I might be able to confirm this but not fix it.

I had a dual nic NFS server (both nics in the same subnet and physical lan)

I was issuing a mount to nic1, but nic0 was responding, so I got the NFS
NULL call and a timeout.

The fix was to issue it to nic0.

(This is very likely due to my same subnet setup)


-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


6.2->8.0 current w/ custom /etc/make.conf

2007-11-19 Thread Philip M. Gollucci
Hi All,

I've many times successfully gone to 7.0 or 8.0 current.

cat << EOF > /etc/make.conf
NO_ATM=true  # do not build ATM related programs and libraries
NO_AUTHPF=true   # do not build and install authpf (setuid/gid)
NO_FORTRAN=true  # do not build g77 and related libraries
NO_GAMES=true# do not build games (games/ subdir)
NO_GPIB=true # do not build GPIB support
NO_I4B=true  # do not build isdn4bsd package
NO_INET6=true# do not build IPv6 related programs and libraries
NO_OBJC=true # do not build Objective C support
NO_PF=true   # do not build PF firewall package
NO_PROFILE=true  # do not build Profiling libs
EOF

I have some other things, but they are irrelevant.
Next, I follow the standard steps in /usr/src/Makefile to upgrade.
including
make delete-old delete-old-libs

Next, After the final reboot, I did
# pkg_add -r bash sudo vim-lite
$ sysutils/libchk ; sudo make install clean
$ sudo libchk

Unresolvable link(s) found in: /sbin/pflogd
libc.so.6
libpcap.so.4
libutil.so.5
Unresolvable link(s) found in: /sbin/pfctl
libmd.so.3
libm.so.4
libc.so.6
Unresolvable link(s) found in: /sbin/atmconfig
libc.so.6
libbsnmp.so.3
/usr/bin/sscop
libngatm.so.2
libc.so.6
libnetgraph.so.2
libbegemot.so.2



Obviously, this is because of my /etc/make.conf.  I wonder if
make delete-old-* should account for and delete related files based on
NO_* Knobs ?

This was direct installed from 6.2-release CD and _immediately_ upgraded.

-- 
------------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: I went to 8.0 current accidently :(

2007-11-16 Thread Philip M. Gollucci
Josh Paetzel wrote:
> Regardless, there's no real supported downgrade procedure.  It's probably 
> possible, but you are in wizard territory.
Its possible, not easy, even with mismatched kernels.
make -k

repeatedly seems to install enough stuff the first time that the second
time its really close.

Don't try it in production.


-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: Installing ports to /usr

2007-11-15 Thread Philip M. Gollucci
Matt Fioravante wrote:
> Well I was just comtemplating the idea of setting up a freebsd load at
> my workplace. They already run linux and solaris and because of bad
> decisions in the past, they mount their afs shares on /usr/local. So I
> would have to install ports in /usr or some other prefix.
Why repeat past mistakes :) ?

just make /usr and /usr/local on the freebsd box different partitions.
(otional)

Then mount it as
mount -t nfs feebsd-host:/usr/local /usr/local/freebsd

and add /usr/local/freebsd/{sbin,bin} to the $PATH


-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: apache port knobs - WITH_APACHE2 deprecated?

2007-11-15 Thread Philip M. Gollucci
Jonathan McKeown wrote:
> This is (I hope) a quick and easy question.
> 
> I want to ensure that any ports which depend on Apache will depend on 2.0
> rather than try to bring in 1.3.
> 
> I used to do this by putting WITH_APACHE2 in /etc/make.conf.
> 
> bsd.apache.mk says WITH_APACHE2 is deprecated.
$ grep apache /etc/make.conf
APACHE_PORT=www/apache22




-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: 7.0, make buildworld without contrib. old top binary in contrib.

2007-11-14 Thread Philip M. Gollucci
peceka wrote:
> Hi,
> And why in /usr/src/contrib is very old top binary, 3.5beta12? On
> http://www.sourceforge.net/projects/unixtop there is top-3.7beta2 where
> ie. -c option, very helpful, works.
B/C there have been substantial changes in both top and in the top in
FreeBSD base system.

I was actually messing around with updating this.  Its at least a day or
3 of solid effort -- at least for lowly me.


-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: Port GUI Config

2007-11-14 Thread Philip M. Gollucci
Donovan R. Palmer wrote:
> I went to compile a programme in the port tree tonight. When I did so, a GUI 
> popped up with different options. No probs.  However, later I decided I 
> wanted to compile it with different options. When I go to compile it, the GUI 
> doesn't pop up any more, so I assume it is using the options I picked out in 
> the first place.  Is there a way to bring back this GUI so I can select 
> different options? TIA
make config

et al:
make showconfig
make rmconfig
make rmconfig-recursive
make config-recursive

see /usr/ports/Mk/bsd.port.mk its very well documented.



-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


inspiron 1721 xorg/ati radeon 1270 Xpress freebsd amd64 8-current

2007-11-13 Thread Philip M. Gollucci
Hi all,

I just bought an Inspiron 1721 b/c I had a ridiculous deal.

Its
CPU:AMD Turion 64 x2 TL-64 (2.2GHz/1MB)
RAM:4GB pc25300 sodimm (2x2GB) (upgraded manually)
Screen: 17.0 wide screen (1920x1200)
VGA:ATI RADEON Xpress1270 256MB HyperMemory
HD: 320G (2x 160) 5400RPM SATA  UDMA33
RAID:   ATI [fast track(tm)]
Sound:  Integrated High Definition Audio 2.0
(additional Sound Blaster X-FI Xtreme Audio Express yet to try)

1) Doesn't look like this video card is supported.  Is there one I can
   buy and replace it with thats known to work preferably at 1920x1200
   or as close as I can get to it.

2) The RAID card doesn't work, I called dell directly (via my rep)
   they can't tell me anything more specific about that card *sigh*

   disabling the RAID card via 'Cntrl-F' in the Fasttrack utility
   and in the BIOS 'F2' to Auto Detect works around this

   I suppose I'll take it apart soon and look at the raid card itself.

I'm trying this with FreeBSD 8-CURRENT as of today, both GENERIC and a
custom KERNEL.

Detailed System Information is here:
http://people.apache.org/~pgollucci/1720/

--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: Broken port link

2007-11-13 Thread Philip M. Gollucci
Tino Engel wrote:
> Muhammad Usman schrieb:
>> Hello There!
>> While i was trying to install p5-Apache-ASP i got error.
>> /usr/ports/www/mod_perl/work/mod_perl-1.30/apaci is corrupted. There
>> are some files missing in this port. Will anybody let me know that
>> where to report this bug.
>>
>> /usr/ports/www/mod_perl/work/mod_perl-1.30/apaci
>>
>>
> Probably check out the owner on freebsd.org/ports...
http://tb1.p6m7g8.net/logs/7-STABLE/p5-Apache-ASP-2.59.log

works for me, did you build mod_perl as a dso or statically ?

I.E.
/usr/ports/www/apache13-modperl

vs
/usr/ports/www/apache13
/usr/ports/www/mod_perl



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


-- 
----
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: Broken port link

2007-11-13 Thread Philip M. Gollucci
Muhammad Usman wrote:
> Hello There!
> While i was trying to install p5-Apache-ASP i got error.
> /usr/ports/www/mod_perl/work/mod_perl-1.30/apaci is corrupted. There
> are some files missing in this port. Will anybody let me know that
> where to report this bug.
> 
> /usr/ports/www/mod_perl/work/mod_perl-1.30/apaci
That would be to the maintainer -- at the moment, thats me.


-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: making packages from ports

2007-11-12 Thread Philip M. Gollucci

Daniel Marsh wrote:

On Nov 13, 2007 11:48 AM, Dave <[EMAIL PROTECTED]> wrote:

Hello,
   I've got a box i'd like to build packages from ports on, and deploy
those packages to other machines. I'll use postfix as an example. I did make
package from postfix's directory and selected pcre and mysql support. I got
the postfix tarball package, but when i tried to install it on another box
it needed pcre and mysql-client packages. I had to run make package in each
of their directories. I was wondering if there was a recursive way of
package making?
Thanks.
Dave.


Have a look at pkg_create(1)

make package-recursive

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


Re: flash: linux firefox vs linuxpluginwrapper

2007-11-12 Thread Philip M. Gollucci
Tino Engel wrote:
> freebsdangel# setenv PATH "${PATH}:/usr/compat/linux/lib"
you are looking for LD_LIBRARY_PATH

You should do this with ldconfig so its there all the time; but use the
linux compat one, not the freebsd base system one.

The port should have done this for you.

cat /compat/linux/etc/ld.so.conf
include ld.so.conf.d/*.conf
/lib
/usr/lib
/usr/local/lib


-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: flash: linux firefox vs linuxpluginwrapper

2007-11-09 Thread Philip M. Gollucci
Philip M. Gollucci wrote:
> John wrote:
>> I've been struggling to get a handle on the FreeBSD system.  Making good
>> progress, but then I ran into the fact that Firefox on FreeBSD can't do
>> flash.  Definite showstopper, for me.  Ok, then I tried to use the
>> linuxpluginwrapper approach, and it didn't work.
>>
>> It made me recall, in reading up on FreeBSD, I did see where somebody
>> installed both Firefox and Linx-firefox.
>>
>> So before I do battle with this Linux wrapper approach, I wondered if I
>> would be better off simply installing the Linux-firefox?
>>
>> Is that easier?  More likely to work?
> http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2007-07/msg01919.html
> cd /usr/ports/emulators/linux_base-fc6 ; make install clean

There is now:
cd /usr/ports/emulators/linux_base-f7 ; make install clean
which you should use instead -- its newer :)


-- 

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: flash: linux firefox vs linuxpluginwrapper

2007-11-09 Thread Philip M. Gollucci
John wrote:
> I've been struggling to get a handle on the FreeBSD system.  Making good
> progress, but then I ran into the fact that Firefox on FreeBSD can't do
> flash.  Definite showstopper, for me.  Ok, then I tried to use the
> linuxpluginwrapper approach, and it didn't work.
> 
> It made me recall, in reading up on FreeBSD, I did see where somebody
> installed both Firefox and Linx-firefox.
> 
> So before I do battle with this Linux wrapper approach, I wondered if I
> would be better off simply installing the Linux-firefox?
> 
> Is that easier?  More likely to work?
http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2007-07/msg01919.html

That will work just fine using flash7.  When you need flash9, thats a
different story.

works on 6.2, 6.3, 7.0-current, 7.0-betaX, and 8.0-current.


-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: cmos clock to utc time code?

2007-11-08 Thread Philip M. Gollucci
jekillen wrote:
> Hello again;
> Here I am with another awkward question:
> I have set up ntp and it is complaining that
> the time difference is too great; 3606 or so
> seconds, and wants the system clock set to
> utc. I rebooted and entered bios set up
> but I did not see any explicit clues on how
> to set this clock to utc. (0r even if it is possible).
> The motherboard is ECS w/AMD64. I did
> not catch the bios vendor or version. If  I have
> to I will reboot again to look at it or dig up the
> manual for the motherboard.
> I tried sysinstall but it just asks if the system
> clock is set to utc. (thus the question here)
> Any advice, suggestions, info appreciated;
> Thanks in advance
> Jeff K
This doesn't really have anything to do with your CMOS clock.

sysctl kern.securelevel

at > 1, you can't change the clock by more than 1 second.

man 7 securelevel

Look for phrase - 'The security levels are:'

You can't lower it without rebooting.
You can change it in /etc/rc.conf(5).

$ grep secure /etc/rc.conf
  kern_securelevel="-1"
  kern_securelevel_enable="YES"

Or your could boot single user mode and run ntpdate once yourself since
the securelevel (securit level) isn't set until you go multi-user mode.
$ ntpdate server.com

HOWEVER, I recommend the new fangled way you are supposed to do this:
1) Enable it in /etc/rc.conf(5)
  echo 'ntpd_enable="YES"' >> /etc/rc.conf
  echo 'ntpd_sync_on_start="YES"' >> /etc/rc.conf

2) Create /etc/ntp.conf(5)
  echo "server ntp-1.vt.edu" > /etc/rc.conf
  echo "driftfile /var/db/ntp.drift" >> /etc/rc.conf

Use time servers close to you though and more than 1.

3) Reboot

Finally, about the timezone
By default sysinstall(8) copies a file from /usr/share/zoneinfo to /etc
as file localtime based on your choices during the install.  You can
even run sysinstall again to update it post install.

ls -l /etc/localtime
-r--r--r--  1 root  wheel  -  1.2K Jul 25 14:58:48 2007 /etc/localtime

HOWEVER, its easier to just create a symlink to the one you want.
If you want your system to run in utc time do this:
cd /etc
sudo rm -rf /etc/localtime
sudo ln -s /usr/share/zoneinfo/etc/UTC localtime


Test it:
$ date

(bash syntax)
$ TZ=America/New_York date

.

Check your ntpd(8) communications with time servers:
$ ntpq -p
 remote   refid  st t when poll reach   delay   offset
jitter
==========
*ntp-1.cns.vt.ed 198.82.247.402 u   97 1024  377   15.690   37.394
23.382


-- 

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: Port dependencies

2007-11-08 Thread Philip M. Gollucci
Andrey Shuvikov wrote:
> Hello,
> 
> I'm trying to figure out port dependencies on my (freshly installed)
> FreeBSD 7.0. For example, I have two automake ports:
> 
> $ pkg_info | grep automake-1
> automake-1.5_4,1GNU Standards-compliant Makefile generator (1.5)
> automake-1.6.3  GNU Standards-compliant Makefile generator (1.6)
These particular ports are special, I don't think any port should list
them as RUN_DEPENDS, but rather as BUILD_DEPENDS.

So to answer your question, no, you don't need them. But if you were to
recompile things, they would need to be built again.

You should look at the automake-wrapper port.

ade@ and des@ have done loads of work with the autotools.



-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: About Freebsd 7.0 versus 6.3

2007-11-08 Thread Philip M. Gollucci
Roland Smith wrote:
> Port upgrade tools are not guaranteed to work perfectly in this
> situation. I tried doing an update with portmanager and ended up with
> some binaries linked against both libc.so.6 and libc.so.7! Some ports
> didn't even compile.
Yeah, I almost always delete packages during an OS upgrade and
re-install them.  Plus it justs makes me feel like the system is 'clean'

Really, you'd want to recompile everything anyway for the libc.so.6 ->
libc.so.7 bump even if the port version didn't change.  Yes, you can use
/etc/libmap.conf and/or compat6x but this is just so much nicer.

Also, when new releases come out, new packages are built, so -P is your
friend and the packages will quite up-to-date with whats in the port
tree since they were just built.

> It took me about a day and a night to reinstall everything (415 ports),
> mostly un-attended. But then I don't use OpenOffice nor java and fvwm2
> instead of Gnome/KDE.
On another note, I generally do a pkg_add -r xorg to start that off

Finally, I've taken serveral (~50) boxes from 5.3 -> 8.0-current via
source updates with 0 problems.

I've even gone down from 8-7.0BETA1.5 (that was a little painful)
and then back to 8.0.


-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: compile ports and base using both cores

2007-11-07 Thread Philip M. Gollucci

Chris Whitehouse wrote:

Chris Whitehouse wrote:

Hi,

Installing ports or upgrading the base system only uses around 50% cpu
utilization (measured with the top utility) on my dual core machine. Is
there some way I can get higher cpu usage?

/usr/src/UPDATING says don't use make -j. I tried installing
openoffice.org-2 with make -j 2 but it failed at some stage saying it
couldn't find a directory. It works not using -j.
This was just added to the ports tree as port of Google Summer of Code 
2007.  I don't recall if its was complete.


Lots of people compile the base system with -jX
The sweet spot is typically number of cores + 1

so on a dual dual core computer use -j5

If your disks are slow, they will hold your cpu back.

--
---------
Philip M. Gollucci ([EMAIL PROTECTED])
c:323.219.4708 o:703.749.9295x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem with Apache22

2007-11-05 Thread Philip M. Gollucci
Which MPM did you use, if you didn't change it the default is prefork.

how about:
ldd /usr/local/sbin/httpd | egrep 'libthr|libpthread|libc_r'
ldd /usr/local/libexec/mysqld | egrep 'libthr|libpthread|libc_r'
ldd /usr/local/bin/php| egrep 'libthr|libpthread|libc_r'

ldd /usr/local/lib/libaprutil-1.so.2  | egrep 'libthr|libpthread|libc_r'
ldd /usr/local/lib/libapr-1.so.2  | egrep 'libthr|libpthread|libc_r'
ldd /usr/local/lib/mysql/libmysqlclient.so.15 | \
egrep 'libthr|libpthread|libc_r'

> WITHOUT_THREADS=true
So it looks like you don't want threads.  That makes things easier as
its the simpler case. At any rate, you'll want the output of all the
above to match.

Nothing in the ktrace/kdump jumps out at me.  Are you sure it crashed ?
(and you were attached to the correct httpd child)

httpd -X
and/or
httpd -DONE_PROCESS
might be helpful for that.



--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: Problem with Apache22

2007-11-01 Thread Philip M. Gollucci
>Peter Uthoff wrote:
>10:45:11  kernel: pid 66395 (httpd), uid 80: exited on signal 4 Oct 25

Can you provide either an strace or ktrace/kdump output from one of the
children.  Just attached to one let it die, then send the last 500 lines
or so of the output.

You probably have core dumps somewhere too -- a backtrace might be helpful.

Do you threading libraries match across the board for all software
(aka use ldd).

sysctls:
kern.sugid_coredump=1
kern.corefile=core.%N.%P

also,
cd /var/db/pkg ; /bin/ls -1 apache* php5* mysql* mod_*

>I don't believe the 'busy' message is accurate.
Correct.

>The sad part is that these all show no errors in their logs even with
>them turned up to debug level
Thats because the error is happening before the parent hands off the
request to the child.

This output might be helpful to others
cat /var/db/ports/apache22/options

Finally, Some snippets from the httpd.conf such as loaded modules and
other custom/non default things you have as well.


------------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.749.9295x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: reverse DNS resolution...

2007-10-23 Thread Philip M. Gollucci
> As I already stated, if I do a host 172.30.x.x, I get a the correct
> reverse resolution.  dig works as well.  What isn't working is the
> reverse resolution in certain command outputs, etc.  Maybe there is
> something missing here:
Install wireshark on one of the clients -- filter on protocol dns.
It will be plain as day whats happening.


-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: reverse DNS resolution...

2007-10-22 Thread Philip M. Gollucci
Eric F Crist wrote:
> Hey folks,
> 
> We're trying to get reverse DNS resolution for a block of IPs
> (private).  We've had the 10.x network working great at the office
> for quite some time now, but I'm having a problem getting the
> 172.30.x network to work.
> 
> Typing 'host ' returns a valid result, however output from who,
> as well as other network services (IRC, apache) only see the IP.  Is
> there something I'm missing?
> 
> Thanks for the pointers!
Well, your DNS needs to be authoritative for both forward and reverse.
If you are trying to do this for less then a /24 block the zone files
get messy quick because of the 8bit boundaries.  You seem to be trying
to do this for a /16.  I'll bet you're missing the named.conf entries
and related reverse zone files:

Odds are you'll want to have zones:

zone "1.30.172.in.addr.arpa" {
  type master;
  file "master/1.30.172.in.addr.arpa
  notify yes;
}

zone "255.30.172.in.addr.arpa" {
  ;; or slave config since you'll have more than 1 ns
  type slave;
  file "slave/255.30.172.in.addr.arpa";
  masters { x.y.z.a; };
}

Or some larger splits of that.

You're going to have give me a netmask for more help.


$ORIGIN .
$TTL 3600   ; 1 hour
0.28.172.in-addr.arpa   IN SOA  ns1.rws. admin.Z. (
2007101800 ; Serial
10800  ; refresh (3 hours)
3600   ; retry (1 hour)
3600   ; expire (1 hour)
86400  ; minimum (1 day)
)
NS  ns1.Z.
$ORIGIN 0.28.172.in-addr.arpa.
1           PTR router.Z.
..



-- 

Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


[SOLVED]: - Re: FreeBSD and barracudas

2007-10-19 Thread Philip M. Gollucci

Philip M. Gollucci wrote:

Joost Bekkers wrote:

On Fri, October 19, 2007 20:23, Philip M. Gollucci wrote:

The problem is the barracuda can not get to it.  I actually don't see
any reason why it should.  Its supposed to merely rewrite the MAC to one of
the 'Real Servers' when it receives a request for a VIP (Virtual IP).

Network: 192.168.0.0/22
Firewall/Gateway: 192.168.0.1
DNS: 192.168.0.25, 192.168.0.24, 172.28.0.50(different class C)
Broadcast: 192.168.3.255
Netmask: 255.255.252.0


Barracdua WAN: 192.168.0.169
Barracuda LAN: N/A in DSR mode.
VIP: 192.168.0.49
Real Server 1: 192.168.0.50
Real Server 2: 192.168.t0.51



If you're trying to do what I think you're doing (yep, that's a big IF)
you've got things reversed.

"Real Server #:" should point to the ip address on the PHYSICAL interface
of the Dell(s). The address to add to lo0 is the VIP, in this case
192.168.0.49

Still no dice:

Thanks Joost!!! you hit that right on the nose.  I had just forgotten
to update the ips my httpd was listening to when I made that change


Let the Weekend Begin!


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


Re: FreeBSD and barracudas

2007-10-19 Thread Philip M. Gollucci

Joost Bekkers wrote:

On Fri, October 19, 2007 20:23, Philip M. Gollucci wrote:

The problem is the barracuda can not get to it.  I actually don't see
any reason why it should.  Its supposed to merely rewrite the MAC to one of
the 'Real Servers' when it receives a request for a VIP (Virtual IP).

Network: 192.168.0.0/22
Firewall/Gateway: 192.168.0.1
DNS: 192.168.0.25, 192.168.0.24, 172.28.0.50(different class C)
Broadcast: 192.168.3.255
Netmask: 255.255.252.0


Barracdua WAN: 192.168.0.169
Barracuda LAN: N/A in DSR mode.
VIP: 192.168.0.49
Real Server 1: 192.168.0.50
Real Server 2: 192.168.t0.51




If you're trying to do what I think you're doing (yep, that's a big IF)
you've got things reversed.

"Real Server #:" should point to the ip address on the PHYSICAL interface
of the Dell(s). The address to add to lo0 is the VIP, in this case
192.168.0.49

Still no dice:

ifconfig
bge0: flags=8843 mtu 1500
options=1b
inet 192.168.0.166 netmask 0xfc00 broadcast 192.168.3.255
ether 00:19:b9:f8:29:e3
media: Ethernet autoselect (1000baseTX )
status: active
lo0: flags=80c9 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff00
inet 192.168.0.49 netmask 0xfff0



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


FreeBSD and barracudas

2007-10-19 Thread Philip M. Gollucci

Hi All,

I've got a Barracuda 340
and some FreeBSD 6.2-release systems

I'm attempting to setup DSR (Direct Server Returns)

Firewall -> Switch  WAN Barracuda LAN --
   /\  \/
   ||
   --

The computers are Dell PowerEdge 860s (dual nics) and
on Barracudas docs and recommendations, I've got only nic 0
plugged into the above switch.

I've setup up a non-ARPing loopback
ifconfig lo 192.168.0.50 netmask 255.255.255.240 -arp alias

I can now telnet 192.168.0.50 80 (from the box and see a httpd response)

The problem is the barracuda can not get to it.  I actually don't see 
any reason why it should.  Its supposed to merely rewrite the MAC to one 
of the 'Real Servers' when it receives a request for a VIP (Virtual IP).


Network: 192.168.0.0/22
Firewall/Gateway: 192.168.0.1
DNS: 192.168.0.25, 192.168.0.24, 172.28.0.50(different class C)
Broadcast: 192.168.3.255
Netmask: 255.255.252.0

Barracdua WAN: 192.168.0.169
Barracuda LAN: N/A in DSR mode.
VIP: 192.168.0.49
Real Server 1: 192.168.0.50
Real Server 2: 192.168.t0.51


According to the docs, the netmask needs to include everything, so I've 
tried 255.255.252.0 instead of 255.255.255.240 in the above ifconfig.


I've been in contact with Barracuda directly and was lucky enough to get 
someone in IT that likes FreeBSD.


We gave up on Route-Path mode, which I tried first.

Is there something Networking/FreeBSD specific that we/I have overlooked ?

If anyone has any ideas, I am onsite at the data center for the rest of 
today.


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


Re: Installing freeBSD on an Intel RAID5 partition

2007-10-10 Thread Philip M. Gollucci
Jerry McAllister wrote:
> On Wed, Oct 10, 2007 at 03:35:54PM +0800, nodje wrote:
> 
>> I couldn't find any answer to the question.The problem is that the installer
>> shows up all the disks instead of proposing to install somewhere on the
>> RAID5 partition, in other words, it just doesn't recognize the RAID5.
>> Is it possible at all to install freeBSD on one of those RAID??
>>
>> I've found out that this is also a problem with the few linux distros I've
>> tried. I've heard it was possible now but I'm a little bit surprised by the
>> slow adoption I must say.
> 
> I had something look similar to that on a Dell 2950.
> It put out lots of lines for each separate drive including a device
> controler name.   But I had to dig through the boot messages carefully
> to find a device name for the raid controller.  But, it was there.  Once
> I found it, things went just fine.  I may have done something manually
> with fdisk or maybe dd to the raid device before getting things to
> be happy.  I don't remember exactly.
> 
> Unfortunately, I had to load Susie 10 Linux on it so I can't look back
> right now.  It also would have been a Dell Perc something, probably 5.
> So, the device name might be different from the Intel.
> 
> But, keep searching.
Strange -- I have PowerEdge 1600 with RAID-5 (3disks) installer worked
just fine.

FreeBSD 6.2-RELEASE-p5 #0: Thu Jun 28 17:57:32 UTC 2007

real memory  = 2147418112 (2047 MB)
avail memory = 2096361472 (1999 MB)
MPTable: 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  1
 cpu1 (AP): APIC ID:  0

aacd0:  on aac0
aacd0: 139997MB (286714368 sectors)


df
Filesystem   SizeUsed   Avail Capacity  Mounted on
/dev/aacd0s1a989M 81M829M 9%/
devfs1.0K1.0K  0B   100%/dev
/dev/aacd0s1d1.9G140K1.8G 0%/tmp
/dev/aacd0s1e6.8G1.9G4.4G30%/usr
/dev/aacd0s1g 24G 67M 22G 0%/usr/home
/dev/aacd0s1f 24G506M 22G 2%/var
/dev/aacd0s1h 70G3.2G 62G 5%/x1
devfs1.0K1.0K  0B   100%/var/named/dev

This worked out of the box with GENERIC kernel on i386

Kernel config custom snippets:
## SCSI
device scbus# SCSI Subsystem
device ahc  # AHA2940 and onboard AIC7xxx devices
device da   # Direct Access (disks)
device cd   # CD
device ses  # SCSI Environmental Services (and SAF-TE)
device aac



-- 

Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: system admin question...

2007-10-10 Thread Philip M. Gollucci
Gary Kline wrote:
> This is for the system admins out there; I brought up this question
> last weekend, (re xsysstats, an *old* app), but got no answers,
> so again:
> 
> What are the best tools, graphical or otherwise, that I can use
> on  a dedicated Gnome [or CWTM, KDE, Whatever] workspace that
> will help me track each of my four or five computers?
> (((Is xosview broken?  I have it running here on this pre xorg-7.2
> system.)))  xsysstats seems reasonable; are there any others?
> I'd like to be able to spot any overloads of file system snafus
> before they go critical... .
You should check out conky:
/usr/ports/sysutils/conky

If you install this + X client on the remote computers, you can then
do
xhost +server_ip

ssh server_ip
export DISPLAY=desktop_ip:0.0
conky &
exit

Its not the best way but hey its quick.

You'll need to set
own_window yes
on the remote servers in ~/.conkyrc

I tend to run it on my desktop and set it to
on_windows no

If you have a spotting network connection this blows.

Also, checkout
/usr/ports/sysutils/monit

There's always the time honored snmp+mgrt combos

Finally, checkout
/usr/ports/net/nagios

Ticketmaster uses this but on Redhat AS 3 boo!




-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: Question about rc-scripts

2007-10-08 Thread Philip M. Gollucci

Philip M. Gollucci wrote:

Your particular problem is that run_rc_command actually exists so that
the script exists with the correct return code generally that of what
the application
in question returns from trying to start or stop.
  

s/exists/exits/g in the above.

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


Re: Question about rc-scripts

2007-10-08 Thread Philip M. Gollucci



Again, I thought the rc.subr functions took care of all that for you
(unless you wanted something special from those commands).
  

In general, they do
see /etc/rc.subr:
   check_pidfile(),
   wait_for_pids(),

Most binaries i.e. httpd, memcached, mysqld, etc... provide a config 
file or cli option to provide the path to a pid file.
If you look in the ports tree a lot of the patches are putting this in 
the appropriate location: /var/run


The rc.subr then just uses them.

In general this system is very flexible.  It breaks down if you wanted 
to run say 2 distinct memcached daemons on different ports with 
different pid files

via the /usr/local/etc/rc.d/

Re: Problems with www.freebsd.org

2007-10-05 Thread Philip M. Gollucci
Fernando Apesteguía wrote:
> It could be. Does it means that my ISP is responsible for this? Should
> I contact them?
No -- actually over on current@ lies the answer.
http://blogs.freebsdish.org/simon/2007/09/18/web-server-fun/

-- 
----
Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: recent openssl patch is failing

2007-10-04 Thread Philip M. Gollucci



Anyone have tried the patch and experiencing the same issue ?

  

I applied it to 3 6.2-STABLE machines today worked flawlessly.,

You are using a /usr/src version that it _is_ supposed to apply against 
right?

Whats the $FreeBSD$ of the file it fails in. it should be

1.1.1.12.6.2 - 1 aka 1.1.1.12.6.1



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


Re: good replacement for open office

2007-10-04 Thread Philip M. Gollucci
NetOpsCenter wrote:
> I have a working Open office on a FreeBSD 4.11 box here that I use when
> all else fails.
> Is there a way to copy that and have it work on 7 CURRENT?
no -- huge library mismatches


-- 
----
Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: Problems with www.freebsd.org

2007-10-04 Thread Philip M. Gollucci
Fernando Apesteguía wrote:
> Can't connect to the site. Can't ping to the site. I didn't change any
> configuration on my machine. Any freebsd site's sysadmin or someone
> who can contact them?
Its up for me at the moment -- I don't think its there fault actually.

-- 
------------
Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: Problems with www.freebsd.org

2007-10-04 Thread Philip M. Gollucci
George Fazio wrote:
> On Mon, 1 Oct 2007, Fernando Apesteguía wrote:
>> Hi all,
>>
>> I'm having some problems with the FreeBSD site. Basically, when I type
>> www.freebsd.org in the address bar in Firefox I can't access the web.
>> I get always a timeout.
>>
>> The funny thing is that I can do ping and if I use the IP address I
>> can access the main page, but then most of the links are not working
>> for me.
>>
> 
> I've seen this issue on my machines sparactically as well.  Last night, I
> could not get to www.freebsd.org.  Fetch was reporting "No route to host",
> when I did a traceroute it was dying on a Yahoo router ... I didn't think
> to write it down at the time so I can't tell you which one.  I'm on
> Comcast in the Philly area of PA for reference.  It came out of Comcast,
> went to Level3 and then to Yahoo. Oh, and I wasn't even able to ping it in
> my case.
> 
> Hope this helps someone track it down.  I can currently traceroute all the
> way to the site, so whatever the issue is it seems to not be an issue at
> the moment.  But, I've seen this at least twice in recent memory, so
> something appears to be flakey somewhere.
Its very wierd -- mine from VA went the same path -- I couldn't ping it,
but I did an nmap on it and port 80 was listed as open.

Other times it's died, but not in yahoo -- I have access to some
computers at OSUOSL.


-- 

Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: p5-libapreq2 port fails to build

2007-10-03 Thread Philip M. Gollucci
Barry Byrne wrote:
> Hi All,
> 
> Not sure if it's related to the upgrade to autoconf 2.61, but libapreq2 now
> fails to build.
> 
> Running on 6.2-RELEASE-p7 with ports tree up to date.
> 
> The header files referenced in the first two lines below do existin in:
> 
> /usr/local/include/apache22/modules/perl/
H -- very odd -- this actually works for me.  Likely your ports tree
was in flux.  What was the actual compile line -- the one with the
-I stuff?

Should be similiar to this:
cd perl; make
cp lib/Apache2/Cookie.pm blib/lib/Apache2/Cookie.pm
cp lib/Apache2/Upload.pm blib/lib/Apache2/Upload.pm
cp lib/Apache2/Request.pm blib/lib/Apache2/Request.pm
cp Request.pm ../../../blib/lib/APR/Request.pm
cp Request.pod ../../../blib/lib/APR/Request.pod
/usr/local/bin/perl5.8.8 /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp
-typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap
/usr/local/lib/perl5/site_perl/5.8.8/mach/auto/Apache2/typemap -typemap
../../typemap  Request.xs > Request.xsc && mv Request.xsc Request.c
cc -c  -I/usr/ports/www/p5-libapreq2/work/libapreq2-2.08/glue/perl/xs
-I/usr/ports/www/p5-libapreq2/work/libapreq2-2.08/include
-I/usr/ports/www/p5-libapreq2/work/libapreq2-2.08/glue/perl/xsbuilder
-I/usr/local/include/apache22  -I/usr/local/include/apr-1
-I/usr/local/include/db42 -I/usr/local/include
-I/usr/local/include/apache22/modules/perl
-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include
-I/usr/local/lib/perl5/5.8.8/mach/CORE -DMOD_PERL -DMP_COMPAT_1X -O
-pipe -march=pentium4-DVERSION=\"2.08\"  -DXS_VERSION=\"2.08\" -DPIC
-fPIC "-I/usr/local/lib/perl5/5.8.8/mach/CORE"

Look like a variant of this patch is already there in
files/patch-glue-perl-Makefile.PL

cd /var/db/pkg ; ls -ld auto* apache* *perl* m4*
Oct  4 00:38:06 2007 apache-2.2.6_2
Oct  3 17:49:15 2007 autoconf-2.61_2
Oct  3 17:49:15 2007 autoconf-wrapper-20070404
Oct  3 17:49:15 2007 automake-wrapper-20070404
Oct  3 17:49:18 2007 m4-1.4.9
Oct  4 00:38:06 2007 mod_perl2-2.0.3_2,3
Oct  4 00:38:05 2007 perl-5.8.8

http://people.apache.org/~pgollucci/p5-libapreq2.log

http://portsmon.freebsd.org/portoverview.py?category=www&portname=p5-libapreq2

locate modperl_perl_unembed.h
/usr/local/include/apache22/modules/perl/modperl_perl_unembed.h

locate modperl_common_util.h
/usr/local/include/apache22/modules/perl/modperl_common_util.h

HTH



----
Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: portsdb

2007-10-03 Thread Philip M. Gollucci
Rem P Roberti wrote:
> On 2007.10.04 00:00:41 +0000, Philip M. Gollucci wrote:
>> Rem P Roberti wrote:
>>> Ok...this one must have slipped past me.  I attempted to udate the ports 
>>> tree with the usual portsdb -Fu and
>>> discover that there is no access to freebsd.org.  What have I missed?
>> Its not just you -- try a mirror.
>>
>> If I didn't know better, I would say a router on the internet that
>> freebsd.org is behind is having issues.
>>
>> This has been sporadically happening a lot recently for a lot of people.
>>
>>> Rem
> 
> Ok...it looks as though it isn't something on this end.  I'm pretty much a 
> newbie, and would like to know how
> to use portsdb in conjunction with a mirror.  TIA.
Well normally you would use a mirror -- I misread that as cvsup not
portsdb.  The -F option:

  -F
 --fetchindex   Fetch the ports index file called INDEX from the
official site.

If you haven't tweaked your ports tree you should be able to just to
portsdb -u for now.


-- 

Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: portsdb

2007-10-03 Thread Philip M. Gollucci
Rem P Roberti wrote:
> Ok...this one must have slipped past me.  I attempted to udate the ports tree 
> with the usual portsdb -Fu and
> discover that there is no access to freebsd.org.  What have I missed?
Its not just you -- try a mirror.

If I didn't know better, I would say a router on the internet that
freebsd.org is behind is having issues.

This has been sporadically happening a lot recently for a lot of people.

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


-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: linux-flashplugin9 (usable?)

2007-10-03 Thread Philip M. Gollucci
Predrag Punosevac wrote:
> Aryeh Friedman wrote:
>>> youtube -dl and clive work flawlessly. You can also use clive to convert
>>> .flv to friendlier formats.
>>> I have never had a luck with those adds on for Firefox. Even their ftp
>>> client sucks. That is way I use Opera and Lynx.
>>> Do not get me wrong. I am recommending Opera's  ftp or bittorrent client
>>> for the serious users but it is good to know that you have them and that
>>> they work. Opera also has a very solid mail client and slue of other
>>> features to be desired by Firefox.
>>>
>>> My experience with Firefox adds on is miserable.
>>>
>> How well would this work for viewing static flash content (i.e. stuff
>> like the charts from good ananylitics)
>>
> It would not work at all. This is only solution for YouTube and Google
> video. It does not even work for
> other sites with flash videos (at least I had no success).
> 
> For the static content (let say one stock market chart ) linux flash
> plugin 7 used in the native browser via nspluginwrapper-0.9.91.4_2 works
> perfectly.
> It works better than in Linux browser. Make sure your linux plugin
> wrapper is deinstalled before you install
> nspluginwrapper-0.9.91.4_2
> 
> I left a detailed how to in one of the threads about the flash from
> August I think.
> '
http://monkey.org/freebsd/archive/freebsd-questions/200707/msg01926.html
Used to work flawlessly while you could download v7 but the distfile
disappeared.


-- 

Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: p5-libapreq2 port fails to build

2007-10-03 Thread Philip M. Gollucci
Barry Byrne wrote:
> Thanks for that, though I can't seem to get it to work. I tried applying the
> patch, which appeared to succeed, but the build fails with a different
> error:
> 
> Writing Makefile for libapreq2
> cd perl; make
> make: cannot open Makefile.
> *** Error code 2
> 
> Stop in /usr/ports/www/p5-libapreq2/work/libapreq2-2.08/glue/perl.
> *** Error code 1
> 
> Stop in /usr/ports/www/p5-libapreq2/work/libapreq2-2.08/glue.
> *** Error code 1
> 
> Stop in /usr/ports/www/p5-libapreq2/work/libapreq2-2.08.
> *** Error code 1
> 
> Stop in /usr/ports/www/p5-libapreq2.
> 
> 
> One thing that puzzles me, is that I can build libapreq2 just fine, but
> p5-libapreq2 fails. And it seems that the Makefile from the latter, just
> includes the one from libapreq2.
> 
> Are these two ports one and the same thing and interchangeable?
Not really no.

skv@ doesn't really like perl too much so he split this out so just the
C module could have a port and the perl-glue which depends on the C
module is a slave port.  I would have just added a flag
WITH_PERL_GLUE=yes or something, but he's a committer and I'm not, so he
probably knows something I don't. :)

I will look at this and submit an official PR, but it won't happen until
later tonight America/New_York time.

If you don't want to wait, you can revert the patch and force autoconf
259.  I don't recall exactly how to do this, but you should be able to
find it in google or on freebsd's site.


/me *sigh* I should probably start reading [EMAIL PROTECTED] again.


-- 

Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: any body has a tutorial of installing the openvpn on current versions of freebsd ?

2007-10-02 Thread Philip M. Gollucci
Hakan K wrote:
> http://www.installationwiki.org/OpenVPN#Installing_OpenVPN_on_FreeBSD
> 
> I hope this is not an old one.
This is just dead wrong:
==Copy this file to /etc/rc.d/openvpn and correct the path variables to
==your needs.

nothing from ports should ever be outside /usr/local

Yes, this does work, but your killing one of things in BSD I love most
and its that its directories are actually organized.



-- 
----
Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Re: p5-libapreq2 port fails to build

2007-10-02 Thread Philip M. Gollucci
Barry Byrne wrote:
> Hi All,
> 
> Not sure if it's related to the upgrade to autoconf 2.61, but libapreq2 now
> fails to build.
Most likely it is:
http://svn.apache.org/viewvc/httpd/apreq/trunk/CHANGES?r1=429958&r2=439245
http://svn.apache.org/viewvc/httpd/apreq/trunk/build/version_check.pl?r1=434368&r2=439245
http://svn.apache.org/viewvc/httpd/apreq/trunk/glue/perl/Makefile.PL?r1=215979&r2=439245
(that should have all been one commit -- appologies)

I believe 2.59 was being used before to build this port.

$life has been in my way for about the last 8 months so I'm a bit out of it.

Basically the apache include path is not set correctly.
You can just apply the Makefile.PL patch and it should work.

-- 
------------
Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


Acroread7 wierd error

2007-09-27 Thread Philip M. Gollucci
NU/Reader/intellinux/SPPlugins/ADMPlugin.apl(_ZN8ADMSpace16UITWindowAdapter21CreateWindowForDialogEP8SPPluginPKcl14ADMDialogStylePFlP17_Opaque_ADMDialogEPvlP10_GtkWidget+0x170)[0x2d988da0]
/usr/local/Adobe/Acrobat7.0/ENU/Reader/intellinux/SPPlugins/ADMPlugin.apl(_ZN8ADMSpace16UITWindowAdapter5ModalEP8SPPluginPKcl14ADMDialogStylePFlP17_Opaque_ADMDialogEPvlP10_GtkWidget+0x2a)[0x2d988bfa]
/usr/local/Adobe/Acrobat7.0/ENU/Reader/intellinux/SPPlugins/ADMPlugin.apl(_ZN24ADMUITConversionSuiteImp14ModalUITWindowEP8SPPluginPKcl14ADMDialogStylePFlP17_Opaque_ADMDialogEPvlP10_GtkWidget+0x2a)[0x2d9f378a]
/usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(_ZN13BaseADMDialog5ModalIP8_t_AVDocEEiNS_11eDialogTypeEP8SPPluginT_PKci14ADMDialogStylei+0x105)[0x86748a5]
/usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(_Z17ADM_DoAlertDialogP16_t_AVAlertParams+0x452)[0x8674102]
/usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(DEFAULTAVAlertWithParams+0x8d)[0x83a607d]
/usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(AVAlertWithParams+0x22f)[0x83a537f]
/usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(_ZN8CAVAlert11IDisplayOldElsP12_t_ASTextRecS1_S1_S1_t+0x76)[0x83a94f6]
/usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(_ZN8CAVAlert8IDisplayElsP12_t_ASTextRecS1_S1_S1_t+0x34)[0x83a93f4]
/usr/local/Adobe/Acrobat7.0/ENU/bin/acroread[0x8495e24]
/usr/local/Adobe/Acrobat7.0/ENU/bin/acroread[0x8c14155]
/usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(ASEnumExtensions+0x6f)[0x8c13caf]
/usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(ASExtensionMgrInitAllExtensions+0x49)[0x8c14309]
/usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(AVAppInit+0x138)[0x8496cc8]
/usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(UnixAppInitUI+0xb6)[0x8369906]
/usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(UnixAppMain+0x1fb)[0x836937b]
/usr/local/Adobe/Acrobat7.0/ENU/bin/acroread(main+0x3a)[0x8367daa]
=== Memory map: 



-- 
------------
Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


  1   2   >