memory allocation with malloc

2008-08-05 Thread Shyamal Shukla
Hi All,

 I am trying to validate my understanding of how malloc works by means
of the below C program which tries to corrupt essential information
maintained by malloc for free() operation.

The program allocates 4, 12 byte blocks (internally 16 bytes are allocated
for each 12 byte block). Hence the total allocated space was 48 bytes.

As malloc maintains the (length of allocated block + 1), 4 bytes before the
returned pointer (from malloc), I have manipulated this length for the first
block and set it to 49 with the goal that a single free shall release all
these 4 blocks and a subsequent malloc of 15 bytes shall be from the address
of first block.

However, this does not happen. Can someone please correct my understanding
and provide me with a reference to the working of malloc() and free()?

#includestdio.h

int main(void)
{
char * ptr,* ptr1, *ptr2, * ptr3, * ptr4;
int * i;
int n,q,p;
int loop = 0;

ptr1 = (char *)malloc(12);
i = (int *)(ptr1 - 4);
printf(\n ptr1 = %p,%d \n,ptr1,*i);
printf(\n %d:%d:%d:%d\n,ptr1[-4],ptr1[-3],ptr1[-2],ptr1[-1]);
printf(\n %d:%d:%d:%d\n,ptr1[0],ptr1[1],ptr1[2],ptr1[3]);
printf(\n %d:%d:%d:%d\n,ptr1[4],ptr1[5],ptr1[6],ptr1[7]);
printf(\n %d:%d:%d:%d\n,ptr1[8],ptr1[9],ptr1[10],ptr1[11]);
*i = 49;

ptr2 = (char *)malloc(12);
i = (int *)(ptr2 - 4);
printf(\n ptr2 = %p,%d \n,ptr2,*i);
printf(\n %d:%d:%d:%d\n,ptr2[-4],ptr2[-3],ptr2[-2],ptr2[-1]);

ptr3 = (char *)malloc(12);
i = (int *)(ptr3 - 4);
printf(\n ptr3 = %p,%d \n,ptr3,*i);
printf(\n %d:%d:%d:%d\n,ptr3[-4],ptr3[-3],ptr3[-2],ptr3[-1]);

ptr4 = (char *)malloc(12);
i = (int *)(ptr4 - 4);
printf(\n ptr4 = %p,%d \n,ptr4,*i);
printf(\n %d:%d:%d:%d\n,ptr4[-4],ptr4[-3],ptr4[-2],ptr4[-1]);

free(ptr1);
printf(\n ANALYZE-\n);
printf(\n %d:%d:%d:%d\n,ptr1[-4],ptr1[-3],ptr1[-2],ptr1[-1]);
printf(\n %d:%d:%d:%d\n,ptr1[0],ptr1[1],ptr1[2],ptr1[3]);
printf(\n %d:%d:%d:%d\n,ptr1[4],ptr1[5],ptr1[6],ptr1[7]);
printf(\n %d:%d:%d:%d\n,ptr1[8],ptr1[9],ptr1[10],ptr1[11]);

ptr = (char *)malloc(15);
i = (int *)(ptr - 4);
printf(\n ptr = %p,%d \n,ptr,*i);
return;
}


Thanks and Regards,
Shyamal



-- 
Linux - because life is too short for reboots...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: memory allocation with malloc

2008-08-05 Thread Giorgos Keramidas
On Tue, 5 Aug 2008 11:46:06 +0530, Shyamal Shukla [EMAIL PROTECTED] wrote:
 Hi All,

 I am trying to validate my understanding of how malloc works by means
 of the below C program which tries to corrupt essential information
 maintained by malloc for free() operation.

 The program allocates 4, 12 byte blocks (internally 16 bytes are allocated
 for each 12 byte block). Hence the total allocated space was 48 bytes.

 As malloc maintains the (length of allocated block + 1), 4 bytes before the
 returned pointer (from malloc), I have manipulated this length for the first
 block and set it to 49 with the goal that a single free shall release all
 these 4 blocks and a subsequent malloc of 15 bytes shall be from the address
 of first block.

 However, this does not happen. Can someone please correct my understanding
 and provide me with a reference to the working of malloc() and free()?

That's because the original assumption is false.  You wrote that malloc
maintains the (length of allocated block + 1), 4 bytes before the
returned pointer (from malloc).  But that is not really true for all
malloc() implementations, and it certainly isn't true for the `jemalloc'
implementation that FreeBSD 7.X and 8.0-CURRENT use.

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


Re: creating package repository for offline installation

2008-08-05 Thread Nikos Vassiliadis
On Monday 04 August 2008 21:08:19 Manolis Kiagias wrote:
  But you can still use the installed packages to recreate everything:
 
  e.g. pkg_create -Rb bash-x.y.z
 
  Or, use a simple shell script with pkg_create -b to create packages
  from all installed ones, i.e:
 
  for i in `pkg_info -Ea`
  do
  pkg_create -b $i
  done

 And by the way,  if you are running 7-STABLE, pkg_create supports a
 no-clobber option (courtesy of Giorgos ;) ), so if you run it with -R
 (recursion) it will not keep recreating / overwriting the existing
 packages in the same directory.

That's what I was searching for. Thanks!

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


Re: buildworld, buildkernel, installkernel, shutdow now, fsck -p -- NO WRITE ACCESS

2008-08-05 Thread ,

Polytropon wrote:

On Mon, 04 Aug 2008 18:37:28 -0400, email [EMAIL PROTECTED] wrote:
  
I thank you.  In addition, I am quite sure the command we are referred 
to in 23.4.5 Drop to Single User Mode is in fact 'shutdown now' and 
not 'shutdown -r now'.  



While shutdown now puts you into SUM at once, not unmounting
anything, shutdown -r now reboots the system and it's up to
you to enter SUM via kernel interruption and boot -s, and in
this state, nothing is mounted.

  
Hi, thanks for your reply.  I wasn't discussing the difference between 
'shutdown now' and 'shutdown -r now'; my concern was it appears that the 
fbsd handbook section I was reading, with regards to REBUILDING WORLD, 
instructed the reader to do a 'shutdown now' instead of a proper 
'shutdown -r now', which in turn caused me grief when attempting to run 
'fsck -p'.


Once again I thank you for your reply.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: memory allocation with malloc

2008-08-05 Thread Giorgos Keramidas
On Tue, 05 Aug 2008 09:58:40 +0300, Giorgos Keramidas [EMAIL PROTECTED] wrote:
 On Tue, 5 Aug 2008 11:46:06 +0530, Shyamal Shukla [EMAIL PROTECTED] wrote:
 However, this does not happen. Can someone please correct my
 understanding and provide me with a reference to the working of
 malloc() and free()?

 That's because the original assumption is false.  [...]

I forgot to attach the link to the jemalloc paper, apologies.

Here it is:
http://people.freebsd.org/~jasone/jemalloc/bsdcan2006/jemalloc.pdf

This describes how jemalloc works.  This isn't a detailed line by line
walk-through of the source, but it should provide a good starting
point.  Then you can always read the source of BSD malloc() at:

  http://svn.freebsd.org/viewvc/base/head/lib/libc/stdlib/malloc.c?view=log

HTH,
Giorgos

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


Re: setting the other end's TCP segment size

2008-08-05 Thread perryh
 1) create a static ARP entry, this will create an entry to
   the routing table i.e. arp -S IPADDR MACADDR
 2) modify the mtu for that destination
   i.e. route change IPADDR -mtu MTU

Seems to work fine :)

One problem with this approach is that a hard-coded MAC address
would break if the destination's MAC address changed :( but this
can be scripted around by pinging the destination (to ensure that
it's up, and get an arp entry the usual way), then reading the
MAC address from the arp table.

d=192.168.200.3
ping -c 1 $d  \
arp -S $d ` arp -n $d | sed -e 's/^.* at //' -e 's/ on .*$//' `  \
route change $d -mtu 640
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Setting up Wireless net Card

2008-08-05 Thread Warren Liddell
Im trying to setup//configure my Belkin Wireless Card, but since i have had it 
for a while in a windows machine, im no clue about using a wireless card in 
FreeBSD an not as yet able to find to many sources//articles that can give me 
a head start on where to go to begin finding the cards chipset etc etc ..

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


High Availability FreeBSD www cluster

2008-08-05 Thread Michael Christie

Hi all ,

I want to cluster some freeBSD servers, The purpose of this is to 
learn.  I would like to  run some basic services like www and mail on a 
test network. I would like to set up the servers so if one server falls 
over the other will take over the services automatically, load 
balanceing would be good as well. I have googled, I could be looking in 
the wrong place , there seems not to be much in regard to seting up 
freebsd in a cluster, lots on linux. I have looked at the High 
Availability Linux project , I see on the front page that it will run on 
freebsd.


So I am a bit lost and i am wanting to learn how to cluster freebsd web 
and mail servers, I have looked at  Beowulf clusters, which seem to give 
computers more grunt, Can some on on the list please advise me on what 
clustering softwhere i need to get started and if the High Availability 
Linux project softwhere will do the job.



web links any thing to help me get started would be good. No I do not 
want to change over to linux.



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


newsyslog.conf / rotating logs based on size AND time

2008-08-05 Thread Zbigniew Szalbot

Hi there,

I have the following rule in /etc/newsyslog.conf
var/log/*-access.log   644  1224000$W2D11 GZC 
/var/run/httpd.pid  30


I am trying to see if I can specify to rotate logs when they are larger 
then 24MB AND at the start of each month (for testing purposes I entered 
today at 11 o'clock - $W2D11).


However, at 10 o'clock the log should have been rotated because of size:
-rw-r--r--  1 root   wheel24801986 Aug  5 10:02 domain.tld-access.log
but as you can see, it was not.

My question is how can I make sure the logs are rotated when they grow 
too large AND they are also rotated at a specified point in time (start 
of a new month).


I am reading man newsyslog.conf and it says:

If the when field contains an asterisk (`*'), log rotation will solely 
depend on the contents of the size field.


To me it seems to say that when it is not an asterisk (i.e. when I enter 
a date), the log rotation is not based solely on size factor, which in 
other words should mean it is also based on time?


Any help would be very much appreciated!

Thank you in advance!

--
Zbigniew Szalbot
www.LCWords.com


smime.p7s
Description: S/MIME Cryptographic Signature


Re: High Availability FreeBSD www cluster

2008-08-05 Thread Paul Procacci

Michael Christie wrote:

Hi all ,

I want to cluster some freeBSD servers, The purpose of this is to 
learn.  I would like to  run some basic services like www and mail on 
a test network. I would like to set up the servers so if one server 
falls over the other will take over the services automatically, load 
balanceing would be good as well. I have googled, I could be looking 
in the wrong place , there seems not to be much in regard to seting up 
freebsd in a cluster, lots on linux. I have looked at the High 
Availability Linux project , I see on the front page that it will run 
on freebsd.


So I am a bit lost and i am wanting to learn how to cluster freebsd 
web and mail servers, I have looked at  Beowulf clusters, which seem 
to give computers more grunt, Can some on on the list please advise me 
on what clustering softwhere i need to get started and if the High 
Availability Linux project softwhere will do the job.



web links any thing to help me get started would be good. No I do not 
want to change over to linux.



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


I've used freevrrpd (/usr/ports/net/freevrrpd) for some clients with 
success.
Additionally doing some googling revealed SG Cluster 
(http://www.freebsd.org.hk/html/sgcluster/) though I'm not sure how 
active this is and/or really if it's what your looking for.


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


Re: Sorry - plaintext this time - Disk geometry and two OSes.

2008-08-05 Thread dick hoogendijk
On Mon, 4 Aug 2008 18:02:52 -0700 (PDT)
Slick Bo [EMAIL PROTECTED] wrote:

 If I let sysinstall change the disk geometry, will it  create
 problems for the files on 0 and the WinXP installation?

NO. You can safely do it. And if you don't like the fbsd bootloader you
can always change to another one. Your diskdata will be safe.

-- 
Dick Hoogendijk -- PGP/GnuPG key: 01D2433D
++ http://nagual.nl/ + SunOS sxce snv94 ++
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Periodic scripts running twice

2008-08-05 Thread CyberLeo Kitsana

RW wrote:

On Mon, 04 Aug 2008 13:21:36 -0500
CyberLeo Kitsana [EMAIL PROTECTED] wrote:


Hi!

For a while, I've noticed odd behavior with periodic scripts
installed by certain ports (portaudit) as well as ones I've penned
myself (corescan), in that they appear to be run twice in succession
every time.

Base system scripts, and some add-on scripts (freshclam) are run only 
once, even in the same periodic batch.


Is there some end state the script is expected to be in to signal 
periodic of a successful run?


(Incl: Sample email, weekly.txt)

Thanks!


Is this a long-standing problem? It sounds like you
didn't fully complete the UPDATING instruction for the 20070519 xorg
update, and /usr/local/etc/periodic is being access both directly
and via the /usr/X11R6 symlink.



Try adding local_periodic=/usr/local/etc/periodic
to /etc/periodic.conf


The box in question doesn't even have X, as it's a headless server in a 
colo someplace. It's been this way since I installed the periodic 
scripts. I have no idea what that symlink is even doing there, unless 
'make distdirs distribution' creates it now.


Either way, I've added the local_periodic directive to 
/etc/periodic.conf. We'll see what happens when periodic runs tonight. 
Thanks!


--
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
[EMAIL PROTECTED]

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


rrdtool port build fails on: Error: shared library cairo.2 does not exist

2008-08-05 Thread William
Hi,

I'm running a FreeBSD 6.2-RELEASE system, ports updated via cvsup.

I'm trying to build the port 'cacti', which depends on 'rrdtool',
which depends on 'cairo'. The build for cairo completes then I'm
stopped in my tracks on:

config.status: config.h is unchanged
===   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===   Registering installation for cairo-1.6.4_2,1
===   Returning to build of rrdtool-1.3.0_1
Error: shared library cairo.2 does not exist
*** Error code 1

Stop in /usr/ports/databases/rrdtool.
*** Error code 1

Stop in /usr/ports/databases/rrdtool.
*** Error code 1

Stop in /usr/ports/net-mgmt/cacti.
[EMAIL PROTECTED] /usr/ports/net-mgmt/cacti]#

I've tried google but I cannot find any answers as to how I over come
this issue, can anyone help?

Regards,

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


Re: High Availability FreeBSD www cluster

2008-08-05 Thread Matthew Seaman

Rudi Kramer - MWEB wrote:

Michael Christie:


I want to cluster some freeBSD servers, The purpose of this is to
learn.  I would like to  run some basic services like www and mail on

a

test network. I would like to set up the servers so if one server

falls

over the other will take over the services automatically, load
balanceing would be good as well. I have googled, I could be looking

in

the wrong place , there seems not to be much in regard to seting up
freebsd in a cluster, lots on linux. I have looked at the High
Availability Linux project , I see on the front page that it will run

on

freebsd.

So I am a bit lost and i am wanting to learn how to cluster freebsd

web

and mail servers, I have looked at  Beowulf clusters, which seem to

give

computers more grunt, Can some on on the list please advise me on what
clustering softwhere i need to get started and if the High

Availability

Linux project softwhere will do the job.


I also did some research a while ago and found Wackamole. It looks
pretty interesting as you don't need a central director server but all
servers in the cluster check each other. It's also in the ports tree :-)

Site: http://www.backhand.org/wackamole/ 
Port: /usr/ports/net/wackamole


There's clustering and clustering.  Neither of the two applications
the OP mentioned needs anything like as tight a coupling as what many 
commercial 'cluster' solutions provide, or that compute-cluster solutions
like Beowulf or Grid Engine[!] provide.

WWW clustering requires two things:

   * A means to detect failed / out of service machines and 
 redirect traffic to alternative servers


   * A means to delocalize user sessions between servers

The first requirement can be handled with programs already mentioned
such as wackamole/spread or hacluster -- or another alternative is 
hoststated(8)[*] on OpenBSD.  You can use mod_proxy_balancer[+] on recent 
Apache 2.2.x  to good effect.  Certain web technologies provide this

sort of capability directly: eg. mod_jk or the newer mod_proxy_ajp13
modules for apache can balance traffic across a number of back-end tomcat 
workers: of course this only applies to sites written in Java.


If you're dealing with high traffic levels and have plenty of money to 
spend, then a hardware load balancer (Cisco Arrowpoint, Alteon Acedirector, 
Foundry ServerIron etc.) is a pretty standard choice.


The second requirement is more subtle.  Any reasonably complicated
web application nowadays is unlikely to completely stateless.  Either
you have to recognise each session and direct the traffic back to the
same server each time, or you have to store the session state in a way
that is accessible to all servers -- typically in a back-end database. 
Implementing 'sticky sessions' is generally slightly easier in terms of 
application programming, but less resilient to machine failure.  There

are other alternatives: Java Servlet based applications running under
Apache Tomcat can cluster about 4 machines together so that session
state is replicated to all of them.  This solution is however not at
all scalable beyond 4 machines, as they'll quickly spend more time passing
state information between themselves than they do actually serving incoming 
web queries.


Mail clustering is an entirely different beast.  In fact, it's two
different beasts with entirely different characteristics.

The easy part with mail is the MTA -- SMTP has built in intrinsic concepts 
of fail-over and retrying with alternate servers.  Just set up appropriate 
MX records in the DNS pointing at a selection of servers and it all should 
work pretty much straight away.  You may need to share certain data between 
your SMTP servers (like greylisting status, Bayesian spam filtering, 
authentication databases) but the software is generally written with this 
capability built in.


The hard part with mail clustering is the mail store which provides the
IMAP or POP3 or WebMail interface to allow users to actually read their 
mail.  To my knowledge there is no freely available opensource solution

that provides an entirely resilient IMAP/POP3 solution.  Cyrus Murder
comes close, in that it provides multiple back-end mail stores, easy 
migration of mailboxes between stores and resilient front ends.  The 
typical approach here is to use a high-spec server with RAIDed disk 
systems, multiple PSUs etc. and to keep very good backups.


Cheers,

Matthew


[!] http://gridengine.sunsource.net/

[*] hoststated(8) integrates with the traffic redirection capabilities of 
pf(4) to provide pretty much the same sort of functionality as a hardware 
loadbalancer via a firewall machine, but a lot cheaper.

http://www.openbsd.org/cgi-bin/man.cgi?query=hoststatedsektion=8format=html

[+] http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: 

Re: High Availability FreeBSD www cluster

2008-08-05 Thread Michael Christie
Is sgcluster in the ports , how would i find out if this is an active 
project ?



Michael

Paul Procacci wrote:

Michael Christie wrote:

Hi all ,

I want to cluster some freeBSD servers, The purpose of this is to 
learn.  I would like to  run some basic services like www and mail on 
a test network. I would like to set up the servers so if one server 
falls over the other will take over the services automatically, load 
balanceing would be good as well. I have googled, I could be looking 
in the wrong place , there seems not to be much in regard to seting 
up freebsd in a cluster, lots on linux. I have looked at the High 
Availability Linux project , I see on the front page that it will run 
on freebsd.


So I am a bit lost and i am wanting to learn how to cluster freebsd 
web and mail servers, I have looked at  Beowulf clusters, which seem 
to give computers more grunt, Can some on on the list please advise 
me on what clustering softwhere i need to get started and if the High 
Availability Linux project softwhere will do the job.



web links any thing to help me get started would be good. No I do not 
want to change over to linux.



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


I've used freevrrpd (/usr/ports/net/freevrrpd) for some clients with 
success.
Additionally doing some googling revealed SG Cluster 
(http://www.freebsd.org.hk/html/sgcluster/) though I'm not sure how 
active this is and/or really if it's what your looking for.


~Paul



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


Re: High Availability FreeBSD www cluster

2008-08-05 Thread Edwin Groothuis
Personally I use DNS for failover between systems, but also have
seen that net/haproxy is a good one to use if you want failover on
network level.

-- 
Edwin Groothuis  |Personal website: http://www.mavetju.org
[EMAIL PROTECTED]|  Weblog: http://www.mavetju.org/weblog/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: High Availability FreeBSD www cluster

2008-08-05 Thread Rudi Kramer - MWEB
Michael Christie:

 I want to cluster some freeBSD servers, The purpose of this is to
 learn.  I would like to  run some basic services like www and mail on
a
 test network. I would like to set up the servers so if one server
falls
 over the other will take over the services automatically, load
 balanceing would be good as well. I have googled, I could be looking
in
 the wrong place , there seems not to be much in regard to seting up
 freebsd in a cluster, lots on linux. I have looked at the High
 Availability Linux project , I see on the front page that it will run
on
 freebsd.
 
 So I am a bit lost and i am wanting to learn how to cluster freebsd
web
 and mail servers, I have looked at  Beowulf clusters, which seem to
give
 computers more grunt, Can some on on the list please advise me on what
 clustering softwhere i need to get started and if the High
Availability
 Linux project softwhere will do the job.

I also did some research a while ago and found Wackamole. It looks
pretty interesting as you don't need a central director server but all
servers in the cluster check each other. It's also in the ports tree :-)

Site: http://www.backhand.org/wackamole/ 
Port: /usr/ports/net/wackamole
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Jails, IPs and identd

2008-08-05 Thread Redd Vinylene
Hello!

I have a jail with multiple IPs. It runs identd, however it only works
from the jail's main IP:

auth stream tcp nowait root internal auth -r -f -n -o UNKNOWN -t 30

How do I make it work from absolutely all IPs?

Perhaps: auth stream tcp nowait root internal auth -r -f -n -o UNKNOWN
-t 30 -a insert hundreds of ips here?

Thank you all!

# man identd

 -a  Specify one specific IP address to bind to.  Alternatively, a
 hostname can be specified, in which case the IPv4 or IPv6 address
 which corresponds to that hostname is used.  Usually a hostname
 is specified when inetd is run inside a jail(8), in which case
 the hostname corresponds to that of the jail(8) environment.

 When the hostname specification is used and both IPv4 and IPv6
 bindings are desired, one entry with the appropriate protocol
 type for each binding is required for each service in
 /etc/inetd.conf.  For example, a TCP-based service would need two
 entries, one using ``tcp4'' for the protocol and the other using
 ``tcp6''.  See the explanation of the /etc/inetd.conf protocol
 field below.

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


qt4-moc-4.4.1 not compiling (compiler/system not supported)

2008-08-05 Thread Jakub Lach

This is the Qt/X11 Open Source Edition.


   The specified system/compiler is not supported:

 
/usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.4.1/mkspecs/freebsd-g++

   Please see the README file for a complete list.

===  Script configure failed unexpectedly.


In README there is no FreeBSD whatsoever.
-- 
View this message in context: 
http://www.nabble.com/qt4-moc-4.4.1-not-compiling-%28compiler-system-not-supported%29-tp18829459p18829459.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: qt4-moc-4.4.1 not compiling (compiler/system not supported)

2008-08-05 Thread Jakub Lach

g++ -v
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070719  [FreeBSD]

FreeBSD 7.0-STABLE #0: Mon Jul 28 17:27:04 CEST 2008
-- 
View this message in context: 
http://www.nabble.com/qt4-moc-4.4.1-not-compiling-%28compiler-system-not-supported%29-tp18829459p18829569.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: qt4-moc-4.4.1 not compiling (compiler/system not supported)

2008-08-05 Thread Jakub Lach

/usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.4.1/mkspecs/ is empty
directory.
-- 
View this message in context: 
http://www.nabble.com/qt4-moc-4.4.1-not-compiling-%28compiler-system-not-supported%29-tp18829459p18829813.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: Setting up Wireless net Card

2008-08-05 Thread Edward Ruggeri
On Tue, Aug 5, 2008 at 2:48 AM, Warren Liddell [EMAIL PROTECTED] wrote:
 Im trying to setup//configure my Belkin Wireless Card, but since i have had it
 for a while in a windows machine, im no clue about using a wireless card in
 FreeBSD an not as yet able to find to many sources//articles that can give me
 a head start on where to go to begin finding the cards chipset etc etc ..

 Any assistance would be appreciated.

Run ifconfig; if your card's driver is built into the GENERIC kernel
(it likely is), then iconfig should list it.  Alternatively, you can
run pciconf -lv.  If you can't find your card in either of these,
please copy the output of those two to the list.

(Hint: a goodway to save the output of a command to a file is:
command | tee file).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: qt4-moc-4.4.1 not compiling (compiler/system not supported)

2008-08-05 Thread Martin Wilke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Aug 05, 2008 at 04:51:17AM -0700, Jakub Lach wrote:
 
 This is the Qt/X11 Open Source Edition.
 
 
The specified system/compiler is not supported:
 
  
 /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.4.1/mkspecs/freebsd-g++
 
Please see the README file for a complete list.
 
 ===  Script configure failed unexpectedly.
 

please force update qmake4 and qt4-corelib ports:

# portmaster devel/qmake4 devel/qt4-corelib
# portupgrade -f devel/qmake4 devel/qt4-corelib

- - Martin

 
 In README there is no FreeBSD whatsoever.
 -- 
 View this message in context: 
 http://www.nabble.com/qt4-moc-4.4.1-not-compiling-%28compiler-system-not-supported%29-tp18829459p18829459.html
 Sent from the freebsd-questions mailing list archive at Nabble.com.
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

- -- 

+---+---+
|  PGP: 0x05682353  |  Jabber : miwi(at)BSDCrew.de  |
|  ICQ: 169139903   |  Mail   : miwi(at)FreeBSD.org |
+---+---+
|   Mess with the Best, Die like the Rest!  |
+---+---+
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkiYQhwACgkQFwpycAVoI1P+PwCfT6M7GZMGrWYdeNnS23LLkY/n
IrcAnA/fXHJmFGyEd1oiT4al0yiMq4P9
=iVp2
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sorry - plaintext this time - Disk geometry and two OSes.

2008-08-05 Thread Edward Ruggeri
On Mon, Aug 4, 2008 at 8:02 PM, Slick Bo [EMAIL PROTECTED] wrote:
 I've
 seen a few people on this mailing list say that disk geometry really
 doesn't matter that much, and the OS usually works fine despite
 apparent errors. But I'd prefer to be able to keep my windows installation.
 If I let sysinstall change the disk geometry, will it create problems
 for the files on 0 and the WinXP installation? If so, do you know of
 an alternate way to find the disk geometry, and should I directly give
 these results to sysinstall? Will that fix my problem?

This is something I've wondered about, but blithely ignored.

What does the warning really mean?  Why doesn't it matter?

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


accounting

2008-08-05 Thread [EMAIL PROTECTED]@mgEDV.net

hi together,

we're trying to setup system accounting with sa to get detailed
information which user takes how much cpu.
for any reason we'd like to have separate files like sa_20080805_14
for each hour we run process accounting and keep them as well.
but of course when issuing an accton file command, we always get
these kernel messages:
Accounting disabled
Accounting enabled

now my question: is there any way to prevent the messages from being
dmesg'd except hacking the accounting sources? it's pretty sensless
to have hundreds of these messages...

cheers 


ps: just reply to the list, i'll it...

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


Re: qt4-moc-4.4.1 not compiling (compiler/system not supported)

2008-08-05 Thread Jakub Lach



Bugzilla from [EMAIL PROTECTED] wrote:
 
 please force update qmake4 and qt4-corelib ports:
 
 # portmaster devel/qmake4 devel/qt4-corelib
 # portupgrade -f devel/qmake4 devel/qt4-corelib
 
 - - Martin
 
 

I have already tried upgrading corelib (===   qt4-corelib-4.4.1 depends on
package: qt4-moc=4.4.1 - not found ===  Found qt4-moc-4.3.4, but you need
to upgrade to qt4-moc=4.4.1) now (re)building qmake4, fingers crossed.

Thanks for fast help.
-- 
View this message in context: 
http://www.nabble.com/qt4-moc-4.4.1-not-compiling-%28compiler-system-not-supported%29-tp18829459p18831048.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: qt4-moc-4.4.1 not compiling (compiler/system not supported)

2008-08-05 Thread Jakub Lach



Bugzilla from [EMAIL PROTECTED] wrote:
 
 please force update qmake4 and qt4-corelib ports:
 
 # portmaster devel/qmake4 devel/qt4-corelib
 # portupgrade -f devel/qmake4 devel/qt4-corelib
 

Still cannot upgrade qt4-corelib without qt4-moc=4.4.1.
-- 
View this message in context: 
http://www.nabble.com/qt4-moc-4.4.1-not-compiling-%28compiler-system-not-supported%29-tp18829459p18831591.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: Jails, IPs and identd

2008-08-05 Thread doug



On Tue, 5 Aug 2008, Redd Vinylene wrote:


Hello!

I have a jail with multiple IPs. It runs identd, however it only works
from the jail's main IP:

auth stream tcp nowait root internal auth -r -f -n -o UNKNOWN -t 30

How do I make it work from absolutely all IPs?

Perhaps: auth stream tcp nowait root internal auth -r -f -n -o UNKNOWN
-t 30 -a insert hundreds of ips here?

Thank you all!

# man identd

-a  Specify one specific IP address to bind to.  Alternatively, a
hostname can be specified, in which case the IPv4 or IPv6 address
which corresponds to that hostname is used.  Usually a hostname
is specified when inetd is run inside a jail(8), in which case
the hostname corresponds to that of the jail(8) environment.

When the hostname specification is used and both IPv4 and IPv6
bindings are desired, one entry with the appropriate protocol
type for each binding is required for each service in
/etc/inetd.conf.  For example, a TCP-based service would need two
entries, one using ``tcp4'' for the protocol and the other using
``tcp6''.  See the explanation of the /etc/inetd.conf protocol
field below.

It is my understanding you get one IP/jail and that multiple IPs are a work in 
progress. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-intro.html


A jail is characterized by four elements:
   :
* An IP address -- this will be assigned to the jail and cannot be changed in
  any way during the jail's life span. The IP address of a jail is usually an
  alias address for an existing network interface, but this is not strictly
  necessary.


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


Franklin Bank - Online Banking and Bill Payment Deactivation Notice.

2008-08-05 Thread FrankIin Bank



  Dear  Member,
  This is your official no= tification  from Franklin Bank that the
   service(s) listed below
  will be deactivated and deleted if not renewed immediately.   Previous  
notifications have
  been sent to the Billing Contact assigned to this account. = As 
   the Primary Contact, you
  must renew the service(s) listed below or it will be deacti   vated  and 
deleted.
  [1]Renew  Now your Personal Online Banking and Comme= rcial
   Online Banking services.

  SERVICE: Personal Online Banking and Commercial O= nline Banking.
  EXPIRATION: August, 7 2008

  Thank you for using Franklin Bank. 
  We appreciate your business and the opportunity to serve = you.

  Franklin Bank  = Member Service

  ***   
**
  IMPORTANT MEMBER SERVICE INFORMATION
  ***   
**

  Please do not reply to t= his message.  For any inquiries,
   contact Member Service.


  Copyright © 2008  Franklin Bank. All rights reserved= .

References

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


carp interface and running manual scripts

2008-08-05 Thread Omer Faruk SEN


  Hi,

Is it possible to run a script after carp interface becomes MASTER? Ie external 
script that runs the required services..

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


syslogd stopped

2008-08-05 Thread Tim Kellers
I found some OLD reports of this happening (back in 2001 or so), but I 
haven't seen anyone mention it.


On August 1st, my /var/log/maillog files started rolling over empty 
files, nightly, with only the logfile turned over [date] message in them.


Turns out, syslogd stopped running.  As soon as I restarted it, and 
grepped for it:


# ps -ax | grep syslog
48049  ??  Ss 0:00.02 /usr/sbin/syslogd -s

It began running and my /var/log/maillog file has entries once again.   
I'm a little baffled; does anyone have any idea what might be going on 
or could maybe point me to a resource I might have missed that discusses it?


Thanks

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


reminder email notification utility

2008-08-05 Thread Jim Pazarena

Is there a utility available which can take a database of dates  events and 
email
out a reminder?

I know that I could create something using at, but seems to me that I saw a 
utility
already designed for this.

I have missed one too many birthdays
--
Jim Pazarena  [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Jails, IPs and identd

2008-08-05 Thread Redd Vinylene
Yeah but I'm using Bjoern Zeeb's multiple IP patch...

On Tue, Aug 5, 2008 at 4:43 PM, doug [EMAIL PROTECTED] wrote:


 On Tue, 5 Aug 2008, Redd Vinylene wrote:

 Hello!

 I have a jail with multiple IPs. It runs identd, however it only works
 from the jail's main IP:

 auth stream tcp nowait root internal auth -r -f -n -o UNKNOWN -t 30

 How do I make it work from absolutely all IPs?

 Perhaps: auth stream tcp nowait root internal auth -r -f -n -o UNKNOWN
 -t 30 -a insert hundreds of ips here?

 Thank you all!

 # man identd

-a  Specify one specific IP address to bind to.  Alternatively, a
hostname can be specified, in which case the IPv4 or IPv6
 address
which corresponds to that hostname is used.  Usually a hostname
is specified when inetd is run inside a jail(8), in which case
the hostname corresponds to that of the jail(8) environment.

When the hostname specification is used and both IPv4 and IPv6
bindings are desired, one entry with the appropriate protocol
type for each binding is required for each service in
/etc/inetd.conf.  For example, a TCP-based service would need
 two
entries, one using ``tcp4'' for the protocol and the other
 using
``tcp6''.  See the explanation of the /etc/inetd.conf protocol
field below.

 It is my understanding you get one IP/jail and that multiple IPs are a work
 in progress. See
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-intro.html

 A jail is characterized by four elements:
   :
 * An IP address -- this will be assigned to the jail and cannot be changed
 in
  any way during the jail's life span. The IP address of a jail is usually an
  alias address for an existing network interface, but this is not strictly
  necessary.






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


Re: syslogd stopped

2008-08-05 Thread Tim Kellers

I hit send too soon, the machine is:

FreeBSD www 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 04:18:52 UTC 
2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386


Tim Kellers wrote:
I found some OLD reports of this happening (back in 2001 or so), but I 
haven't seen anyone mention it.


On August 1st, my /var/log/maillog files started rolling over empty 
files, nightly, with only the logfile turned over [date] message in 
them.


Turns out, syslogd stopped running.  As soon as I restarted it, and 
grepped for it:


# ps -ax | grep syslog
48049  ??  Ss 0:00.02 /usr/sbin/syslogd -s

It began running and my /var/log/maillog file has entries once 
again.   I'm a little baffled; does anyone have any idea what might be 
going on or could maybe point me to a resource I might have missed 
that discusses it?


Thanks

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





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


Re: reminder email notification utility

2008-08-05 Thread Greg Larkin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jim Pazarena wrote:
| Is there a utility available which can take a database of dates  events
| and email
| out a reminder?
|
| I know that I could create something using at, but seems to me that I
| saw a utility
| already designed for this.
|
| I have missed one too many birthdays

Hi Jim,

Here are a couple from the ports collection:
http://www.freshports.org/search.php?query=birthdaysearch=gonum=10stype=namemethod=matchdeleted=excludedeletedstart=1casesensitivity=caseinsensitive

Neither one specifically says it uses email to deliver reminders, but
perhaps some quick shell scripting will solve that problem.

HTH,
Greg
- --
Greg Larkin
http://www.sourcehosting.net/
http://www.FreeBSD.org/ - The Power To Serve
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFImHZq0sRouByUApARAi/9AJ9QtVLfPb7qhy0gTY176ovdDwOapgCgveJd
zOajK5FqczaRSF3xzLwt7Oc=
=kXkH
-END PGP SIGNATURE-

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


Re: High Availability FreeBSD www cluster

2008-08-05 Thread Sergej Kandyla

Michael Christie wrote:

Hi all ,

I want to cluster some freeBSD servers, The purpose of this is to 
learn.  I would like to  run some basic services like www and mail on 
a test network. I would like to set up the servers so if one server 
falls over the other will take over the services automatically, load 
balanceing would be good as well.


web links any thing to help me get started would be good. No I do not 
want to change over to linux.






High Availability means that your cluster should work even some system 
components fail.


http://en.wikipedia.org/wiki/High-availability_cluster

For building HA cluster you should have at last  two machines, first 
will run in master mode, second in slave( standby )mode.


In every time only one machine  works and provide some services (www, 
db, etc)


Very good idea is to use NAS(SAN) - Network Access Storage  ( 
http://en.wikipedia.org/wiki/Network-attached_storage ) with shared disk.
Both nodes of HA cluster will use this shared disk (but only one in 
certain time). If one node fails, second node (standby node) will become 
a master of cluster and will start some services, that cluster provided.

But NAS systems is not cheap!!

Another way is to use software systems such us DRBD, NFS, chironfs, 
rsync etc. 
Most of  this high-availability software solution works by replicating a 
disk partition in a master/slave mode.


Heartbeat + DRBD is one of most popular  redundant solutions.
DRBD mirrors a partition between two machines allowing only one of them 
to mount it at a time. Heartbeat then monitors the machines, and if it 
detects that one of the machines has died, it takes control by mounting 
the mirrored disk and starting all the services the other machine is 
running.
Unfortunately DRBD runs only on linux but I recommend you to see how it 
works for understanding this technology.


http://www.rhic.bnl.gov/hepix/talks/041020am/miers.pdf
http://www.linux-ha.org
http://www.linux-ha.org/DRBD/GettingStarted
http://www.linuxjournal.com/article/9074


For freebsd to mirror content on bouth nodes you can use rsync as in 
this howto:

http://www.taygeta.com/ha-postgresql.html

Another way like as DRBD  is to use chironfs + nfs  
(sysutils/fusefs-chironfs/)

http://www.furquim.org/chironfs


Also look at CARP (Common Address Redundancy Protocol)

man carp
http://www.openbsd.org/faq/pf/carp.html


http://www.postgresql.org/docs/8.3/static/high-availability.html  (for 
databases)


ps. sorry for my eng


--
Best Wishes,
PAIX-UANIC | SK3929-RIPE

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


Re: reminder email notification utility

2008-08-05 Thread Vincent Hoffman

Jim Pazarena wrote:
Is there a utility available which can take a database of dates  
events and email

out a reminder?

I know that I could create something using at, but seems to me that I 
saw a utility

already designed for this.

I have missed one too many birthdays

calendar and cron ?
a cron entry like
@weekly/usr/bin/calendar -A 7 | mail -s weekly calendar 
[EMAIL PROTECTED]


and man calendar (its in the base system) very simple text file format



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


Re: weird

2008-08-05 Thread alexus
anyone?

On Mon, Aug 4, 2008 at 11:06 PM, alexus [EMAIL PROTECTED] wrote:
 i have something really weird going on... all of the sudden my box
 went away and came back later on

 i have daily log rotating, yet my last log shows following:

 Aug  2 17:15:28 j nrpe[75619]: Handling the connection...
 Aug  4 09:49:52 j named[63163]: zone gmsworld.com/IN: expired

 look at the timestamp and never mind what the actual message says..

 can anyone explain me what the hell happened?

 --
 http://alexus.org/




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


Re: reminder email notification utility

2008-08-05 Thread Peter Boosten

Jim Pazarena wrote:
Is there a utility available which can take a database of dates  events 
and email

out a reminder?

I know that I could create something using at, but seems to me that I 
saw a utility

already designed for this.

I have missed one too many birthdays


/misc/birthday in the ports collection.

I run it from crontab daily to see the upcoming events for the next 
seven days.


Peter

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


error with python gconf.so (gtk-2.0)

2008-08-05 Thread Steve Franks
I just got a clean portupgrade -a, so I hope my problem is not a
version issue, because I don't have any newer versions to install.  I
get the following when I try to run meld:

Thanks,
Steve

[EMAIL PROTECTED] /usr/home/steve]$ meld
Traceback (most recent call last):
  File /usr/local/bin/meld, line 93, in module
import meldapp
  File /usr/local/lib/meld/meldapp.py, line 28, in module
import prefs
  File /usr/local/lib/meld/prefs.py, line 52, in module
import gconf
ImportError: /usr/local/lib/python2.5/site-packages/gtk-2.0/gconf.so:
Undefined symbol g_assertion_message_expr
[EMAIL PROTECTED] /usr/home/steve]$
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Jails, IPs and identd

2008-08-05 Thread Redd Vinylene
On Tue, Aug 5, 2008 at 6:02 PM,  [EMAIL PROTECTED] wrote:
 ah - above my pay grade.

 On Tue, 5 Aug 2008, Redd Vinylene wrote:

 Yeah but I'm using Bjoern Zeeb's multiple IP patch...

 On Tue, Aug 5, 2008 at 4:43 PM, doug [EMAIL PROTECTED] wrote:


 On Tue, 5 Aug 2008, Redd Vinylene wrote:

 Hello!

 I have a jail with multiple IPs. It runs identd, however it only works
 from the jail's main IP:

 auth stream tcp nowait root internal auth -r -f -n -o UNKNOWN -t 30

 How do I make it work from absolutely all IPs?

 Perhaps: auth stream tcp nowait root internal auth -r -f -n -o UNKNOWN
 -t 30 -a insert hundreds of ips here?

 Thank you all!

 # man identd

   -a  Specify one specific IP address to bind to.  Alternatively, a
   hostname can be specified, in which case the IPv4 or IPv6
 address
   which corresponds to that hostname is used.  Usually a
 hostname
   is specified when inetd is run inside a jail(8), in which case
   the hostname corresponds to that of the jail(8) environment.

   When the hostname specification is used and both IPv4 and IPv6
   bindings are desired, one entry with the appropriate protocol
   type for each binding is required for each service in
   /etc/inetd.conf.  For example, a TCP-based service would need
 two
   entries, one using ``tcp4'' for the protocol and the other
 using
   ``tcp6''.  See the explanation of the /etc/inetd.conf protocol
   field below.

 It is my understanding you get one IP/jail and that multiple IPs are a
 work
 in progress. See

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

 A jail is characterized by four elements:
  :
 * An IP address -- this will be assigned to the jail and cannot be
 changed
 in
  any way during the jail's life span. The IP address of a jail is usually
 an
  alias address for an existing network interface, but this is not
 strictly
  necessary.






 --
 http://www.home.no/reddvinylene


 _
 Douglas Denault
 http://www.safeport.com
 [EMAIL PROTECTED]
 Voice: 301-469-8766
  Fax: 301-469-0601


heheh.. no worries. i think im better off asking this on the
freebsd-jails mailinglist anyhow. have a great day!

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


general questions about 7.0 and computer efficiency......

2008-08-05 Thread Gary Kline

Folks,

Actually, I have two 'general-computer' type questions, but it
might be better to ask them in separate posts.

First about FBSD (6.x or 7.x) and newer vs older computers.
First, 7.0 seems as stable or more so than its predecessor. 
It may even be faster and more efficient.  How much more 
green this is isn't a main question.

But let's take my 1998 Computer each maxed out with a Gig or
close to and having been upgraded to small 2005 drives. Would it
make more sense from a environmental vp to buy a newer, faster 
servers with probably more efficient drives, or just buy new drives
and stay at the current 400MHz speed?

I kep track on the load on my main server, and it is rarely above
0.20.  If the load is a poor metric of power use, what is
better?  (My new `Watt-o-Meter' is checking the power right now,
but I would like to know what drink the most juice: disk,RAM,
processor, OpSys?  Number of hit/hours? I want my upgrades to
be as cost-effective as possible, in other words. 

thanks in advance,

gary



-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: general questions about 7.0 and computer efficiency......

2008-08-05 Thread David Kelly
On Tue, Aug 05, 2008 at 11:19:31AM -0700, Gary Kline wrote:
 
   I kep track on the load on my main server, and it is rarely above
   0.20.  If the load is a poor metric of power use, what is
   better?  (My new `Watt-o-Meter' is checking the power right now,
   but I would like to know what drink the most juice: disk,RAM,
   processor, OpSys?  Number of hit/hours? I want my upgrades to
   be as cost-effective as possible, in other words. 

There isn't a good generic answer to your question. It all depends on
exactly what hardware you have. A good rule of thumb is 10W for each
disk drive, but some were much higher. Pull the data sheets for your
drives.

A Kill-A-Watt on the power cord is the best way to answer the total
question. My old ancient Dell Optiplex running 5.5 draws about 60 watts
including the APS 350CS UPS. Am not about to unplug it without good
reason:

[EMAIL PROTECTED] {1004} uptime
 1:30PM  up 670 days, 21:08, 2 users, load averages: 0.00, 0.00, 0.00

I found a 10G drive in the trash yesterday. Would one day be a nice
upgrade for the 4G drive in the above.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: general questions about 7.0 and computer efficiency......

2008-08-05 Thread Gary Kline
On Tue, Aug 05, 2008 at 01:33:20PM -0500, David Kelly wrote:
 On Tue, Aug 05, 2008 at 11:19:31AM -0700, Gary Kline wrote:
  
  I kep track on the load on my main server, and it is rarely above
  0.20.  If the load is a poor metric of power use, what is
  better?  (My new `Watt-o-Meter' is checking the power right now,
  but I would like to know what drink the most juice: disk,RAM,
  processor, OpSys?  Number of hit/hours? I want my upgrades to
  be as cost-effective as possible, in other words. 
 
 There isn't a good generic answer to your question. It all depends on
 exactly what hardware you have. A good rule of thumb is 10W for each
 disk drive, but some were much higher. Pull the data sheets for your
 drives.
 
 A Kill-A-Watt on the power cord is the best way to answer the total
 question. My old ancient Dell Optiplex running 5.5 draws about 60 watts
 including the APS 350CS UPS. Am not about to unplug it without good
 reason:
 
 [EMAIL PROTECTED] {1004} uptime
  1:30PM  up 670 days, 21:08, 2 users, load averages: 0.00, 0.00, 0.00
 
 I found a 10G drive in the trash yesterday. Would one day be a nice
 upgrade for the 4G drive in the above.


the datasheets for the 40G drives are lost lost. but what is your
best guuess about my old 1998 HP's (400MHz) compared to a newer,
generic 1.8GHz processor?  IIRC, my AMD 2.8GHz uproc sucks up
around 75watts; the Intel was maybe 35w.  



 
 -- 
 David Kelly N4HHE, [EMAIL PROTECTED]
 
 Whom computers would destroy, they must first drive mad.

-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


IBM eServer x225 - LSI 1030 SCSI - BTX Halted / infinite loop

2008-08-05 Thread underligast
I'm trying to install FreeBSD 7.0 on my new server, an IBM eServer x225
(8647-5CG)
The server/drives runs fine under windows 2003 and ubuntu server but the
FreeBSD installation just halts.

So far i've tried:
CD: disk1 from 6.2, 7.0,
CD: bootonly from 7.0
Floppys: 7.0

They all end the same, cds with an infinite loop of numbers, floppys with
BTX Halted and a lot of numbers.

int=000derr=efl=00010006eip=000219b2
eax=000219acebx=ecx=c080edx=000587d8
esi=0003e007edi=ebp=0008fcbcesp=00099c88
cs=0008   ds=0010   es=0010   fs=0010   gs=0010   ss=0010
cs:eip=0f 32 0d 00 01 00 00 0f-30 0f 20 e0 83 c8 30 0f
   22 e0 b8 00 c0 03 00 0f-22 d8 0f 20 c0 0d 00 00
ss:esp=90 95 00 00 00 80 fc 00-00 90 fc 00 07 e0 03 00
   00 00 00 00 07 d0 03 00-00 00 00 00 cc 87 05 00
BTX halted

The only difference is when i boot from 7.0-STABLE-200804-i386-bootonly.iso,
then i see

BTX loader 1.00 BTX version is 1.02
Consoles: internal video/keyboard
BIOS CD is cd0
BIOS drive A: is disk0

Then it stops.
If i remove both the harddrives i can boot into the freebsd installer, but
as there are no drives, there is nowhere to install.

Atleast when i started with the floppys it detected drive1 and 2 before BTX
halted..

I dont know what to do anymore, there is just no way to get freebsd to
install on this thing.
Is it the LSI controller, it should still be initiated when there are no
drives in it, and the installation starts fine then.
Is it the Motherboard, the bios, the cpu, the ram? what?
The disks, having just one in doesn't work, switching positions doesn't
work?

Does anyone have any idea on how i can proceed once i'm in the installation,
can i mount the drives and install somehow?

The hardware is:
1x Xeon 2.8GHz(512KB), 2x 2048MB PC2100 DDR SDRAM (ecc), 2x 74GB 10K rpm
U320 HDD, Ultra320 SCSI, 48x CD-ROM, Broadcom NetXtreme 10/100/1000
Integrated Ethernet, ATI Rage XL
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: general questions about 7.0 and computer efficiency......

2008-08-05 Thread David Kelly
On Tue, Aug 05, 2008 at 11:56:12AM -0700, Gary Kline wrote:
 
   the datasheets for the 40G drives are lost lost.

Oh, come now! If you still know what make and model the drives are, the
datasheets are available online.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: general questions about 7.0 and computer efficiency......

2008-08-05 Thread Vincent Hoffman

Gary Kline wrote:

On Tue, Aug 05, 2008 at 01:33:20PM -0500, David Kelly wrote:
  

On Tue, Aug 05, 2008 at 11:19:31AM -0700, Gary Kline wrote:


I kep track on the load on my main server, and it is rarely above
0.20.  If the load is a poor metric of power use, what is
better?  (My new `Watt-o-Meter' is checking the power right now,
but I would like to know what drink the most juice: disk,RAM,
processor, OpSys?  Number of hit/hours? I want my upgrades to
	be as cost-effective as possible, in other words. 
  

There isn't a good generic answer to your question. It all depends on
exactly what hardware you have. A good rule of thumb is 10W for each
disk drive, but some were much higher. Pull the data sheets for your
drives.

A Kill-A-Watt on the power cord is the best way to answer the total
question. My old ancient Dell Optiplex running 5.5 draws about 60 watts
including the APS 350CS UPS. Am not about to unplug it without good
reason:

[EMAIL PROTECTED] {1004} uptime
 1:30PM  up 670 days, 21:08, 2 users, load averages: 0.00, 0.00, 0.00

I found a 10G drive in the trash yesterday. Would one day be a nice
upgrade for the 4G drive in the above.




the datasheets for the 40G drives are lost lost. but what is your
best guuess about my old 1998 HP's (400MHz) compared to a newer,
generic 1.8GHz processor?  IIRC, my AMD 2.8GHz uproc sucks up
	around 75watts; the Intel was maybe 35w.  

  
If your serious about power but need newer capacities, I'd look at 
something like http://www.wdc.com/en/products/greenpower/index.asp and 
maybe an intel atom (or after reading the reviews/benchmarks the via 
nano when its available.)
With dual opterons at the moment my load average (except for when 
compiling) is 0 - 0.1 but my electricity bill is significant so i'll be 
looking into something atom/nano based in the near future, especially 
when i can get a motherboard with CPU for less than 60 uk pounds.




  

--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.



  


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


Re: IBM eServer x225 - LSI 1030 SCSI - BTX Halted / infinite loop

2008-08-05 Thread Derek Ragona

At 01:42 PM 8/5/2008, underligast wrote:

I'm trying to install FreeBSD 7.0 on my new server, an IBM eServer x225
(8647-5CG)
The server/drives runs fine under windows 2003 and ubuntu server but the
FreeBSD installation just halts.

So far i've tried:
CD: disk1 from 6.2, 7.0,
CD: bootonly from 7.0
Floppys: 7.0

They all end the same, cds with an infinite loop of numbers, floppys with
BTX Halted and a lot of numbers.

int=000derr=efl=00010006eip=000219b2
eax=000219acebx=ecx=c080edx=000587d8
esi=0003e007edi=ebp=0008fcbcesp=00099c88
cs=0008   ds=0010   es=0010   fs=0010   gs=0010   ss=0010
cs:eip=0f 32 0d 00 01 00 00 0f-30 0f 20 e0 83 c8 30 0f
   22 e0 b8 00 c0 03 00 0f-22 d8 0f 20 c0 0d 00 00
ss:esp=90 95 00 00 00 80 fc 00-00 90 fc 00 07 e0 03 00
   00 00 00 00 07 d0 03 00-00 00 00 00 cc 87 05 00
BTX halted

The only difference is when i boot from 7.0-STABLE-200804-i386-bootonly.iso,
then i see

BTX loader 1.00 BTX version is 1.02
Consoles: internal video/keyboard
BIOS CD is cd0
BIOS drive A: is disk0

Then it stops.
If i remove both the harddrives i can boot into the freebsd installer, but
as there are no drives, there is nowhere to install.

Atleast when i started with the floppys it detected drive1 and 2 before BTX
halted..

I dont know what to do anymore, there is just no way to get freebsd to
install on this thing.
Is it the LSI controller, it should still be initiated when there are no
drives in it, and the installation starts fine then.
Is it the Motherboard, the bios, the cpu, the ram? what?
The disks, having just one in doesn't work, switching positions doesn't
work?

Does anyone have any idea on how i can proceed once i'm in the installation,
can i mount the drives and install somehow?

The hardware is:
1x Xeon 2.8GHz(512KB), 2x 2048MB PC2100 DDR SDRAM (ecc), 2x 74GB 10K rpm
U320 HDD, Ultra320 SCSI, 48x CD-ROM, Broadcom NetXtreme 10/100/1000
Integrated Ethernet, ATI Rage XL


Obviously it is the SCSI card or drives.  Have you tried changing the BIOS 
settings on the SCSI?  You might want to try changing the SCSI BUS 
speed.  You may also want to try turning off hyperthreading.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: Setting up Wireless net Card

2008-08-05 Thread Warren Liddell
 Run ifconfig; if your card's driver is built into the GENERIC kernel
 (it likely is), then iconfig should list it.  Alternatively, you can
 run pciconf -lv.  If you can't find your card in either of these,
 please copy the output of those two to the list.

 (Hint: a goodway to save the output of a command to a file is:
 command | tee file).
The below would be the wireless card, being belkin, but i dont believe that it 
is listed as part of the drivers with a generic kernel which im running.

[EMAIL PROTECTED]:5:0: class=0x02 card=0x700f1799 chip=0x700f1799 rev=0x20 
hdr=0x00
vendor = 'Belkin Research and Development Labs'
class  = network
subclass   = ethernet



re0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
inet 192.168.1.65 netmask 0xff00 broadcast 192.168.1.255
ether edited
media: Ethernet 10baseT/UTP full-duplex
status: active
fwe0: flags=108802BROADCAST,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
options=8VLAN_MTU
ether edited
ch 1 dma -1
plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff00
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: general questions about 7.0 and computer efficiency......

2008-08-05 Thread Gary Kline
On Tue, Aug 05, 2008 at 02:24:06PM -0500, David Kelly wrote:
 On Tue, Aug 05, 2008 at 11:56:12AM -0700, Gary Kline wrote:
  
  the datasheets for the 40G drives are lost lost.
 
 Oh, come now! If you still know what make and model the drives are, the
 datasheets are available online.
 

sure they're online,but i don't remember whether they were Seagate or
something else.  and putting then in was a nightmare.[[ for some
reason, these hp kayaks have baffles and partitions and more things you
gotta unscrew.]]  it took a REAL (hardware) EE close to an hour.

--this brings me to another question butnotnow!


 -- 
 David Kelly N4HHE, [EMAIL PROTECTED]
 
 Whom computers would destroy, they must first drive mad.

-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: Setting up Wireless net Card

2008-08-05 Thread David Gurvich
I believe that card uses the Realtek 8185L chipset.  You may be able to
get ndis driver to work with it.  Download the winxp driver from
http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1PNid=24PFid=1Level=6Conn=5DownTypeID=3GetDown=falseDownloads=true
 
I don't know if there is native support.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: general questions about 7.0 and computer efficiency......

2008-08-05 Thread Wojciech Puchar

and stay at the current 400MHz speed?
older computers usually take less power, but usually not always - check 
it. and are less expensive - always.



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


Re: general questions about 7.0 and computer efficiency......

2008-08-05 Thread Wojciech Puchar

exactly what hardware you have. A good rule of thumb is 10W for each
disk drive, but some were much higher. Pull the data sheets for your
drives.

A Kill-A-Watt on the power cord is the best way to answer the total
question. My old ancient Dell Optiplex running 5.5 draws about 60 watts
including the APS 350CS UPS. Am not about to unplug it without good
reason:

[EMAIL PROTECTED] {1004} uptime
1:30PM  up 670 days, 21:08, 2 users, load averages: 0.00, 0.00, 0.00

I found a 10G drive in the trash yesterday. Would one day be a nice
upgrade for the 4G drive in the above.


or add it, and use atacontrol detach/attach
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: general questions about 7.0 and computer efficiency......

2008-08-05 Thread Roland Smith
On Tue, Aug 05, 2008 at 01:45:28PM -0700, Gary Kline wrote:
 On Tue, Aug 05, 2008 at 02:24:06PM -0500, David Kelly wrote:
  On Tue, Aug 05, 2008 at 11:56:12AM -0700, Gary Kline wrote:
   
 the datasheets for the 40G drives are lost lost.
  
  Oh, come now! If you still know what make and model the drives are, the
  datasheets are available online.
  
 
 sure they're online,but i don't remember whether they were Seagate or
 something else.  and putting then in was a nightmare. 

The command dmesg|grep '^da' should tell you the make and model of the
disks. If you have SCSI, use '^ad' instead of '^da'.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpV9WfYcHDI4.pgp
Description: PGP signature


Re: general questions about 7.0 and computer efficiency......

2008-08-05 Thread Vincent Hoffman

Gary Kline wrote:

On Tue, Aug 05, 2008 at 02:24:06PM -0500, David Kelly wrote:
  

On Tue, Aug 05, 2008 at 11:56:12AM -0700, Gary Kline wrote:


the datasheets for the 40G drives are lost lost.
  

Oh, come now! If you still know what make and model the drives are, the
datasheets are available online.




sure they're online,but i don't remember whether they were Seagate or
something else.  and putting then in was a nightmare.[[ for some
reason, these hp kayaks have baffles and partitions and more things you
gotta unscrew.]]  it took a REAL (hardware) EE close to an hour.

  


you can often (always for me so far) find your drive model info from
smartctl -a /dev/{devnode}
(from the port sysutils/smartmontools)
example output

---

=== START OF INFORMATION SECTION ===
Model Family: Maxtor DiamondMax Plus 8 family
Device Model: Maxtor 6E040L0
Serial Number:E1PAM22E
Firmware Version: NAR61EA0
User Capacity:41,110,142,976 bytes
-snip--

Vince


--this brings me to another question butnotnow!


  

--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.



  


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


Re: Controlling read access

2008-08-05 Thread John Almberg


On Jul 31, 2008, at 5:40 PM, Catalin Miclaus wrote:


Hello John,

If you are providing only FTP services for those users, perhaps you  
want

to go for an FTP server that handles virtual users.
I'm using pure-ftpd and it works great.
Google will help you find some nice howto's for same.



Hi Catalin... I installed pure--ftpd with TLS/SSL support and am  
having some problems with it...


1. VERY slow to list files the first time. I thought this was a DNS  
problem, so tried the -H flag, but no joy. Still slow.


2. When I try to connect with TLS/SSL, I get a connection, but the  
file list takes so long that the connection times out.


Any ideas? I Googled for this problem, but the only hint I came up  
with was the -H flag...


Thanks: John

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


[Solved] Re: Periodic scripts running twice

2008-08-05 Thread CyberLeo Kitsana

CyberLeo Kitsana wrote:

RW wrote:

On Mon, 04 Aug 2008 13:21:36 -0500
CyberLeo Kitsana [EMAIL PROTECTED] wrote:


Hi!

For a while, I've noticed odd behavior with periodic scripts
installed by certain ports (portaudit) as well as ones I've penned
myself (corescan), in that they appear to be run twice in succession
every time.

Base system scripts, and some add-on scripts (freshclam) are run only 
once, even in the same periodic batch.


Is there some end state the script is expected to be in to signal 
periodic of a successful run?


(Incl: Sample email, weekly.txt)

Thanks!


Is this a long-standing problem? It sounds like you
didn't fully complete the UPDATING instruction for the 20070519 xorg
update, and /usr/local/etc/periodic is being access both directly
and via the /usr/X11R6 symlink.

 

Try adding local_periodic=/usr/local/etc/periodic
to /etc/periodic.conf


The box in question doesn't even have X, as it's a headless server in a 
colo someplace. It's been this way since I installed the periodic 
scripts. I have no idea what that symlink is even doing there, unless 
'make distdirs distribution' creates it now.


Either way, I've added the local_periodic directive to 
/etc/periodic.conf. We'll see what happens when periodic runs tonight. 
Thanks!


Looks like that took care of the problem. Thanks for the insight!

Although, that does cause me to wonder why only some of the local 
periodic scripts would run twice, while others would run only once.


Either way, problem solved.

--
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
[EMAIL PROTECTED]

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


Re: general questions about 7.0 and computer efficiency......

2008-08-05 Thread Gary Kline
On Tue, Aug 05, 2008 at 11:08:52PM +0200, Roland Smith wrote:
 On Tue, Aug 05, 2008 at 01:45:28PM -0700, Gary Kline wrote:
  On Tue, Aug 05, 2008 at 02:24:06PM -0500, David Kelly wrote:
   On Tue, Aug 05, 2008 at 11:56:12AM -0700, Gary Kline wrote:

the datasheets for the 40G drives are lost lost.
   
   Oh, come now! If you still know what make and model the drives are, the
   datasheets are available online.
   
  
  sure they're online,but i don't remember whether they were Seagate or
  something else.  and putting then in was a nightmare. 
 
 The command dmesg|grep '^da' should tell you the make and model of the
 disks. If you have SCSI, use '^ad' instead of '^da'.


Well, well. i found my high-end SCSI adaptor.  couldn't remember
where it got stashed, :-)

Anyway, yup, found the drive.  i's a WD400BB.  

I just hope this puppy lasts another several months.  Oh, but
then i need help to swap it out.

This brings me to my next question which is::  It it better to
buy a proprietary make like Dell or HP or stick to something 
more generic?  Let's assume that i could handle the hardware end
myself.  what would you suggest?  

gary

PS; I'Ll post this separately, but just wondering

 
 Roland
 -- 
 R.F.Smith   http://www.xs4all.nl/~rsmith/
 [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
 pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)



-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: general questions about 7.0 and computer efficiency......

2008-08-05 Thread David Kelly


On Aug 5, 2008, at 3:58 PM, Wojciech Puchar wrote:


[EMAIL PROTECTED] {1004} uptime
1:30PM  up 670 days, 21:08, 2 users, load averages: 0.00, 0.00, 0.00

I found a 10G drive in the trash yesterday. Would one day be a nice
upgrade for the 4G drive in the above.


or add it, and use atacontrol detach/attach



You think I could replace the system drive that way?  :-)

--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: IBM eServer x225 - LSI 1030 SCSI - BTX Halted / infinite loop

2008-08-05 Thread Ivan Voras

underligast wrote:

I'm trying to install FreeBSD 7.0 on my new server, an IBM eServer x225
(8647-5CG)
The server/drives runs fine under windows 2003 and ubuntu server but the
FreeBSD installation just halts.

So far i've tried:
CD: disk1 from 6.2, 7.0,
CD: bootonly from 7.0
Floppys: 7.0

They all end the same, cds with an infinite loop of numbers, floppys with
BTX Halted and a lot of numbers.


Just to be sure, try bootonly 8-CURRENT.



signature.asc
Description: OpenPGP digital signature


[Off Topic] Clients still not connecting to the FreeBSD mail server

2008-08-05 Thread Andrew Falanga
Hi,

Thanks again everyone for the pointers with Outlook and my fellow church 
parishoners.  I'm hoping for some more pointers.  Using tcpdump I'm fairly 
certain that the initial SYN packets from the clients are never reaching the 
server.  I'll need to test one more time to be sure (I wasn't 100% positive 
of the public IP address on the Internet side of the cable modem installed).  
Never the less, from home here I've verified what I should see if the initial 
SYN packets are received at the server and now know what to look for.  (Who 
knows, maybe the wireless router knows it's in a church and has decided no 
SYN's allowed.  Ok, that was bad.)

What I'm hoping to glean from the experts here is about wireless routers.  
I've never used them before, but one of the pastors was reasonably certain 
that the problems commenced for the one person who never had problems, the 
secretary, when she was switched from wired to wireless operations.  Sunday I 
was briefly able to see the administration pages of the wireless access 
point, however nothing seemed to jump off the page at me that, Yeah, this is 
what's blocking them.  However, it definitely seems that something is 
preventing traffic over port 25 because we can all browse the Internet just 
fine.

I've verified the same timeout behavior with Outlook Express and Thunderbird.  
Using Thunderbird, I was able to check different settings too.  The settings 
should be to use authentication on the smtp server using SSL.  Someone, 
please educate me, does this mean that the authentication takes place over 
port 465 and the regular smtp still takes place over 25, or do both take 
place over 25?  I ask because KMail (my setup at home that works) says to use 
SSL, not TLS which uses port 465.  At the server, I use sockstat and see that 
on IPv4 sendmail has an open port on 465.

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


Re: OT: encrypted email using web based application

2008-08-05 Thread Mohamad Faizul Zulkifli
how about squirrelmail and horde ?


On Fri, Aug 1, 2008 at 4:50 AM, Chad Perrin [EMAIL PROTECTED] wrote:

 On Wed, Jul 30, 2008 at 03:14:50PM +0200, Svein Halvor Halvorsen wrote:
  Andrew Gould wrote:
   If I start with Subject line with the word secure using my work's
 email
   system, the email is sent to a secure, web based application where the
   recipients can view the message securely.  The recipients receive a
 message
   that a secure email message is waiting for them there.  They have to
 create
   an account based upon their email address to view the message.  They do
 not
   have to recreate the accounts for future messages.
  
   This system is easy to use; and we don't have to worry about whether
 the
   recipients have PGP or GPG.  Is there an open source application that
 does
   this?
 
  How is this secure? Ok, I can see that if the message is served over
  https, then the network packages themselves cannot be sniffed
  easily. But as long as the recipient did not give you the key to
  use, then this is not secure. Why should the recipient trust the server?
 
  Whether there is an open source solution, I don't know however.

 It depends on your definition of secure -- which can vary from one
 circumstance to another.  If the emails in question are company
 property, there's no reason to consider access to the emails by company
 officials a breach of security.  On the other hand, if sensitive company
 information is sniffed in plain text on the network, that could be
 disastrous.

 From the sound of it, the circumstances the OP described refer to such a
 situation -- one where strict person-to-person privacy isn't a necessary
 goal of relevant security concerns.

 --
 Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ]
 Scott McNealy: Microsoft is now talking about the digital nervous
 system.  I guess I would be nervous if my system was built on their
 technology too.




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


Re: general questions about 7.0 and computer efficiency......

2008-08-05 Thread Roland Smith
On Tue, Aug 05, 2008 at 05:07:08PM -0700, Gary Kline wrote:
 
   This brings me to my next question which is::  It it better to
   buy a proprietary make like Dell or HP or stick to something 
   more generic?  Let's assume that i could handle the hardware end
   myself.  what would you suggest?  

I'd stick to a system from a good local builder. It gives you much more
control over what components go into the box. You want to make sure that
the chipset on the motherboard and the graphics card are supported by
FreeBSD. The components of e.g. Dell systems tend to vary depending on
what they have lying around.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpjQ4MCOfnFY.pgp
Description: PGP signature