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).

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

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`

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

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

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

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

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

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

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

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

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

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

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

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

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:

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

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

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

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:

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

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

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++

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

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

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:

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:

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

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

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

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

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]

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

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.

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

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

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

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...

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

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,

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:

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

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

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'

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

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]

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

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

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

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

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

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

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

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

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

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

[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

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

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

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

[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

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

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