Re: Logrotate

2008-10-02 Thread Sebastian Tymków
Hi, I'm not sure but I think you can try use sharedscripts in yor logrotete script. Another solution is make script which unlink/link logs. Best regards, Shamrock ___ freebsd-questions@freebsd.org mailing list

Re: Logrotate

2008-10-02 Thread Jeremy Chadwick
On Wed, Oct 01, 2008 at 07:52:48PM -0400, Grant Peel wrote: I have recently started using logrotate to rotate all the logs in the users home directories. These are all apache logs files. /home/domain.com/logsaccess_log /home/domain.com/logsaccess_log.0.gz

Re: Cannot create custom FreeBSD 7.0 install CD for serial console

2008-10-02 Thread Jonathan McKeown
On Wednesday 01 October 2008 22:25:21 Carl wrote: Jeremy Chadwick wrote: On Wed, Oct 01, 2008 at 02:41:03AM -0700, Carl wrote: I've been trying to create a modified FreeBSD 7.0 install CD that will allow me to do installations entirely via the serial console on a headless system. Lots of

Re: mysql rc script failure - correction: most installed rc scripts not running manually

2008-10-02 Thread Jonathan McKeown
On Thursday 02 October 2008 01:59:18 Da Rock wrote: On Wed, 2008-10-01 at 12:53 +0200, Erik Trulsson wrote: On Wed, Oct 01, 2008 at 08:39:47PM +1000, Da Rock wrote: So are you saying I can't start a script manually without enabling it in rc.conf? I was not under that impression... I

vbox building and freebsd

2008-10-02 Thread Desmond Chapman
I'm posting this to two mailing lists because of the environment. # /home/moleque/VirtualBox-2.0.0/./configure Checking for environment: Determined build machine: freebsd.amd64, target machine: freebsd.amd64, OK. Checking for kBuild: found, OK. Checking for gcc: found version 4.2.1, OK.

Re: Best way to back up mysql database

2008-10-02 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Sebastian Tymków wrote: | Hello, | | You can store whole db files too. It's faster to run database from scratch | than use mysqldump and mysql source. Um... no. In general you cannot do this, and it is exceedingly irresponsible to suggest

Freeing an mbuf cluster

2008-10-02 Thread Yony Yossef
Hi All, I'm trying to manually build an mbuf chain with clusters in various sizes. I'm doing it using the MGETHDR and MEXTADD macros, it works fine. Now I'm looking for the simplest way to free an mbuf cluster, since I want to free the clusters seperately. This function will be given as a

LG combo drive and installation: drive not found

2008-10-02 Thread Giuseppe Pagnoni
Dear FreeBSD experts, I am trying to install FreeBSD 7.0 on a new i386 machine with no OS installed yet. I start the install process with the 1st CD of the distribution, and I go through the partition phase with no problem. However, when I get to the point where I select the installation media

Re: Realtek 8111C?

2008-10-02 Thread Popof Popof
I hav a mobo with the same NIC, I use it on a FreeNAS box that's runing a version based on FreeBSD 6.3. In order to make the NIC work i had to compile the drivers from realtek with an other FreeBSD box and load the module on startup. But data transfer from / to my FreeNAS box are slow. Anyone had

Re: Logrotate

2008-10-02 Thread Frank Shute
On Wed, Oct 01, 2008 at 07:52:48PM -0400, Grant Peel wrote: Hi all, I have recently started using logrotate to rotate all the logs in the users home directories. These are all apache logs files. /home/domain.com/logsaccess_log /home/domain.com/logsaccess_log.0.gz

php5 on a system upgraded from FBSD5.4R to FBSD6.3-p3

2008-10-02 Thread FreeBSD Daemon
dear list, i just upgraded my system from 5.4R to 6.3-p3 when i now try to install php5 w/ apache integration (apache module) i get the following error when i try to start apache20: Cannot load /usr/local/libexec/apache2/libphp5.so into server: /usr/local/libexec/apache2/libphp5.so: Undefined

SNMP

2008-10-02 Thread Marcel Grandemange
Anybody have docs on how to get ucd-snmp-4.2.7.1 working on FreeBSD? I used to have net-snmp working but had to switch over as FreeRadius only supported ucd-snmp. Advice? Thanks. ___ freebsd-questions@freebsd.org mailing list

Re: Canon Pixma iP4500 - problem with colours

2008-10-02 Thread Mike Clarke
On Wednesday 01 October 2008, Roland Smith wrote: On Wed, Oct 01, 2008 at 03:46:29PM +0100, Mike Clarke wrote: I've just installed a Canon Pixma iP4500 on a 6.3 system using CUPS and gutenprint. Black printing is fine but I've got problems with colours. The colour wheel on the CUPS test

Re: php5 on a system upgraded from FBSD5.4R to FBSD6.3-p3

2008-10-02 Thread Sean Cavanaugh
did you rebuild apache first after doing the upgrade? -- From: FreeBSD Daemon [EMAIL PROTECTED] Sent: Thursday, October 02, 2008 6:13 AM To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org Subject: php5 on a system upgraded from FBSD5.4R to

Re: Questions drivers for VGA and NIC

2008-10-02 Thread Jerry
On Wed, 1 Oct 2008 14:36:26 -0800 Henrik Hudson [EMAIL PROTECTED] wrote: On Wednesday 01 October 2008, Jerry [EMAIL PROTECTED] sent a missive stating: On Wed, 1 Oct 2008 23:25:19 +0200 (CEST) Wojciech Puchar [EMAIL PROTECTED] wrote: In all likelihood, the probability of any vendor creating

Re: mysql rc script failure - correction: most installed rc scripts not running manually

2008-10-02 Thread Da Rock
On Thu, 2008-10-02 at 09:18 +0200, Jonathan McKeown wrote: On Thursday 02 October 2008 01:59:18 Da Rock wrote: On Wed, 2008-10-01 at 12:53 +0200, Erik Trulsson wrote: On Wed, Oct 01, 2008 at 08:39:47PM +1000, Da Rock wrote: So are you saying I can't start a script manually without

Re: Realtek 8111C?

2008-10-02 Thread Da Rock
On Thu, 2008-10-02 at 12:01 +0200, Popof Popof wrote: I hav a mobo with the same NIC, I use it on a FreeNAS box that's runing a version based on FreeBSD 6.3. In order to make the NIC work i had to compile the drivers from realtek with an other FreeBSD box and load the module on startup. But

Re: Questions drivers for VGA and NIC

2008-10-02 Thread Robert Huff
Jerry [EMAIL PROTECTED]: Again, it appears that NVIDIA has attempted to work with the FBSD community. Evidently, nothing has come of it. Unfortunate, to say the least. The next step - sometimes suggested, but never to my knowledge attepted - would be for someone to run a

newsyslog and apache

2008-10-02 Thread DA Forsyth
I used to have one big apache log file, but decided to rotate it once a month using newsyslog. However, now apache stops and does not restart when the log is rotated. line from newsyslog.conf /var/log/apache/httpd-access.log640 13 *$M1D8 B /var/run/httpd.pid 30 with a

Re: nat and firewall

2008-10-02 Thread Dominique Goncalves
Hi, On Thu, Oct 2, 2008 at 6:09 AM, fire jotawski [EMAIL PROTECTED] wrote: On Thu, Sep 25, 2008 at 12:10 AM, Kevin Kinsey [EMAIL PROTECTED] wrote: FBSD1 wrote: natd_enable=YES This statement in rc.conf enables ipfw nated function. firewall_nat_enable=YES This is an invalid statement. No

Re: newsyslog and apache

2008-10-02 Thread Jerry
On Thu, 02 Oct 2008 14:20:50 +0200 DA Forsyth [EMAIL PROTECTED] wrote: I used to have one big apache log file, but decided to rotate it once a month using newsyslog. However, now apache stops and does not restart when the log is rotated. line from newsyslog.conf

Re: Questions drivers for VGA and NIC

2008-10-02 Thread Da Rock
On Thu, 2008-10-02 at 07:26 -0400, Jerry wrote: On Wed, 1 Oct 2008 14:36:26 -0800 Henrik Hudson [EMAIL PROTECTED] wrote: On Wednesday 01 October 2008, Jerry [EMAIL PROTECTED] sent a missive stating: On Wed, 1 Oct 2008 23:25:19 +0200 (CEST) Wojciech Puchar [EMAIL PROTECTED] wrote:

Re: newsyslog and apache

2008-10-02 Thread Zbigniew Szalbot
Hello, 2008/10/2 Jerry [EMAIL PROTECTED]: On Thu, 02 Oct 2008 14:20:50 +0200 DA Forsyth [EMAIL PROTECTED] wrote: I used to have one big apache log file, but decided to rotate it once a month using newsyslog. However, now apache stops and does not restart when the log is rotated. line from

Re: Freeing an mbuf cluster

2008-10-02 Thread Bruce M. Simpson
Yony Yossef wrote: Hi All, I'm trying to manually build an mbuf chain with clusters in various sizes. I'm doing it using the MGETHDR and MEXTADD macros, it works fine. Now I'm looking for the simplest way to free an mbuf cluster, since I want to free the clusters seperately. This function will

Re: vbox building and freebsd

2008-10-02 Thread Matt
On Thu, Oct 2, 2008 at 2:45 AM, Desmond Chapman [EMAIL PROTECTED] wrote: I'm posting this to two mailing lists because of the environment. # /home/moleque/VirtualBox-2.0.0/./configure Checking for environment: Determined build machine: freebsd.amd64, target machine: freebsd.amd64, OK.

Re: Questions drivers for VGA and NIC

2008-10-02 Thread Robert Huff
Da Rock writes: I apologise for jumping into this thread mid way, but wouldn't the problem be simply a case of nil NDA? If an FOSS programmer signed an NDA with say NVidia, then wouldn't the hardware supplier be more willing to supply more specific details? Anyone with experience in

Re: Questions drivers for VGA and NIC

2008-10-02 Thread Jerry McAllister
On Wed, Oct 01, 2008 at 06:04:24PM -0400, Jerry wrote: On Wed, 1 Oct 2008 23:25:19 +0200 (CEST) Wojciech Puchar [EMAIL PROTECTED] wrote: In all likelihood, the probability of any vendor creating FBSD specific drivers is directly proportionate to the expenditure of funds to create and

the patch from walt

2008-10-02 Thread Desmond Chapman
--- ld/x86_aout.h.orig 2003-01-28 17:17:14.0 -0500 +++ ld/x86_aout.h 2005-05-07 22:40:05.0 -0400 @@ -13,7 +13,9 @@ typedef long Long; #define __OUT_OK 1 #else -typedef char Long[4]; +#define __OUT_OK 1 +#include sys/types.h +typedef int32_t Long; #endif Sorry about

More vbox and build troubles.

2008-10-02 Thread Desmond Chapman
* Checking libpng * compiling the following source file: #include cstdio #include png.h extern C int main(void) { printf(found version %s, PNG_LIBPNG_VER_STRING); #if PNG_LIBPNG_VER = 10205 printf(, OK.\n); return 0; #else printf(, expected version 1.2.5 or higher\n); return 1;

More RAM for buffers?

2008-10-02 Thread Kirk Strauser
I have an AMD system with 6GB of RAM. From dmesg: usable memory = 6428237824 (6130 MB) avail memory = 6203797504 (5916 MB) However, most of it is just sitting there when it looks like it could be used for buffers or cache: Mem: 1186M Active, 3902M Inact, 468M Wired, 233M Cache, 214M

Re: More RAM for buffers?

2008-10-02 Thread Kirk Strauser
On Thursday 02 October 2008, Kirk Strauser wrote: I have an AMD system with 6GB of RAM. From dmesg: usable memory = 6428237824 (6130 MB) avail memory = 6203797504 (5916 MB) However, most of it is just sitting there when it looks like it could be used for buffers or cache: On

Running cron jobs as nobody

2008-10-02 Thread DAve
Good morning all, We have a cronjob we need to run as nobody from /etc/crontab and it seems to be not working. The job runs, but not as user nobody. I noticed two things, 1) the job to update the locate DB runs as nobody, because the script uses su to become nobody. echo

Re: Running cron jobs as nobody

2008-10-02 Thread Bill Campbell
You can use ``su -c '/path/to/command' username'' to run scripts as users other than root. Another way is to use ``crontab -u username''. man crontab for details. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E.

Re: More vbox and build troubles.

2008-10-02 Thread Dan Nelson
In the last episode (Oct 02), Desmond Chapman said: * Checking libpng * compiling the following source file: #include cstdio #include png.h extern C int main(void) { printf(found version %s, PNG_LIBPNG_VER_STRING); #if PNG_LIBPNG_VER = 10205 printf(, OK.\n); return 0;

Re: Running cron jobs as nobody

2008-10-02 Thread DAve
Bill Campbell wrote: You can use ``su -c '/path/to/command' username'' to run scripts as users other than root. Another way is to use ``crontab -u username''. man crontab for details. Bill I am being told the developer tried a user crontab without success. I've not suggested they try su

Re: nat and firewall

2008-10-02 Thread n j
This is no longer true; he did indeed find firewall_nat_enable in /etc/defaults/rc.conf. The knob seems to have first appeared in February in HEAD and I'm guessing it cues the system to use a new kernel-based nat rather than natd(8), but I've not read anything further about this, as my

Re: Canon Pixma iP4500 - problem with colours

2008-10-02 Thread Roland Smith
On Thu, Oct 02, 2008 at 11:59:04AM +0100, Mike Clarke wrote: On Wednesday 01 October 2008, Roland Smith wrote: On Wed, Oct 01, 2008 at 03:46:29PM +0100, Mike Clarke wrote: I've just installed a Canon Pixma iP4500 on a 6.3 system using CUPS and gutenprint. Black printing is fine but I've

Re: newsyslog and apache

2008-10-02 Thread Jerry
On Thu, 2 Oct 2008 14:51:26 +0200 Zbigniew Szalbot [EMAIL PROTECTED] wrote: No need to change log rotation software since the problem clearly is somewhere else. You need to inspect Apache's error logs to see why it cannot start. All the information on getting it working correctly is located

Re: More RAM for buffers?

2008-10-02 Thread Wojciech Puchar
usable memory = 6428237824 (6130 MB) avail memory = 6203797504 (5916 MB) However, most of it is just sitting there when it looks like it could be used for buffers or cache: Mem: 1186M Active, 3902M Inact, 468M Wired, 233M Cache, 214M Buf, 138M Free Swap: 8192M Total, 900K Used, 8191M

Re: newsyslog and apache

2008-10-02 Thread Zbigniew Szalbot
2008/10/2 Jerry [EMAIL PROTECTED]: On Thu, 2 Oct 2008 14:51:26 +0200 Zbigniew Szalbot [EMAIL PROTECTED] wrote: No need to change log rotation software since the problem clearly is somewhere else. You need to inspect Apache's error logs to see why it cannot start. All the information on

Re: More RAM for buffers?

2008-10-02 Thread Wojciech Puchar
Mem: 482M Active, 1044M Inact, 363M Wired, 3792K Cache, 214M Buf, 4023M Free Swap: 8192M Total, 8192M Free I can understand that on the other machine maybe inactive memory is more beneficial than cache or buffers, but this system is just sitting there with 4GB free (and the exact same amount of

Re: Optimal File System config for 2.5TB RAID5

2008-10-02 Thread Wojciech Puchar
The 3ware 9690SA outperforms gmirror and can be had in 4 port with the did you made tests comparing it with gmirror with the same config? battery for $600 or so. 8 port with a battery is closer to $1000 Hardware RAID gets you boot support from stripes, already said what should be done.

Re: More RAM for buffers?

2008-10-02 Thread Bill Moran
In response to Kirk Strauser [EMAIL PROTECTED]: On Thursday 02 October 2008, Kirk Strauser wrote: I have an AMD system with 6GB of RAM. From dmesg: usable memory = 6428237824 (6130 MB) avail memory = 6203797504 (5916 MB) However, most of it is just sitting there when it

mysqldump no match issue

2008-10-02 Thread Andrei Brezan
Hello list, I wanna do a mysqldump -u user -ppasswd --all-databases backup.sql and all I get is mysqldump: No match. This happens either i put --all-databases or I specify any of the databases. I want to do a backup as user root, that's why I use all-databases opt. If I use the command:

Re: Securing system with kern.securelevel

2008-10-02 Thread Lowell Gilbert
DSA - JCR [EMAIL PROTECTED] writes: I would like to use securelevel to secure a backup schedluded box made with FreeBSD. This box mount and unmount external USB disk where the backup is made once a week. In that case, you can't set the securelevel higher than 1. Which would be the correct

Mysqldump password issue

2008-10-02 Thread Andrei Brezan
Hello list, I wanna do a mysqldump -u user -ppasswd --all-databases backup.sql and all I get is mysqldump: No match. This happens either i put --all-databases or I specify any of the databases. I want to do a backup as user root, that's why I use all-databases opt. If I use the command:

ssh jail

2008-10-02 Thread kalin m
hi all... i have openssh 5. i want to jail the users to their home directories so they can go down but not up. i didn't see a directive that does that in the man or in the sshd_config. how do i do that? thanks... ___ freebsd-questions@freebsd.org

Re: More RAM for buffers?

2008-10-02 Thread Josh Carroll
inactive, cache, and buffer are all different types of buffer. That is my understanding as well. I'm fairly sure that inactive is memory used by program code. When the program terminates, the memory is marked as inactive, which means the next time the program starts the code can simply be

Re: Mysqldump password issue

2008-10-02 Thread Pietro Cerutti
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Andrei Brezan wrote: | Hello list, | | I wanna do a | mysqldump -u user -ppasswd --all-databases backup.sql | | and all I get is | mysqldump: No match. | | This happens either i put --all-databases or I specify any of the | databases. I want to do

Re: Mysqldump password issue

2008-10-02 Thread Matthew Seaman
Andrei Brezan wrote: Hello list, I wanna do a mysqldump -u user -ppasswd --all-databases backup.sql and all I get is mysqldump: No match. This happens either i put --all-databases or I specify any of the databases. I want to do a backup as user root, that's why I use all-databases opt. If I

Re: Mysqldump password issue

2008-10-02 Thread Brad Mettee
Shouldn't there be a space between -p and the password? Like this: mysqldump -u user -p passwd --all-databases backup.sql At 02:34 PM 10/2/2008, you wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Andrei Brezan wrote: | Hello list, | | I wanna do a | mysqldump -u user -ppasswd

Re: ssh jail

2008-10-02 Thread Matthew Seaman
kalin m wrote: hi all... i have openssh 5. i want to jail the users to their home directories so they can go down but not up. i didn't see a directive that does that in the man or in the sshd_config. how do i do that? You need a specially patched version of OpenSSH. You can download the

Re: ssh jail

2008-10-02 Thread kalin m
thanks.. i'll look at the patches Matthew Seaman wrote: kalin m wrote: hi all... i have openssh 5. i want to jail the users to their home directories so they can go down but not up. i didn't see a directive that does that in the man or in the sshd_config. how do i do that?

Re: Mysqldump password issue

2008-10-02 Thread Andrei Brezan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matthew Seaman wrote: Andrei Brezan wrote: Hello list, I wanna do a mysqldump -u user -ppasswd --all-databases backup.sql and all I get is mysqldump: No match. This happens either i put --all-databases or I specify any of the databases. I

Re: Mysqldump password issue

2008-10-02 Thread Fred Condo
On Oct 2, 2008, at 12:00 PM, Matthew Seaman wrote: Andrei Brezan wrote: Hello list, I wanna do a mysqldump -u user -ppasswd --all-databases backup.sql and all I get is mysqldump: No match. This happens either i put --all-databases or I specify any of the databases. I want to do a backup as

Re: Mysqldump password issue

2008-10-02 Thread Pietro Cerutti
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Brad Mettee wrote: | Shouldn't there be a space between -p and the password? Like this: | | mysqldump -u user -p passwd --all-databases backup.sql ~From the man page: The password to use when connecting to the server. If you use the

Re: Questions drivers for VGA and NIC

2008-10-02 Thread Frank Shute
On Wed, Oct 01, 2008 at 02:18:10PM -0400, Mungyung Ryu wrote: Hi BSD folks! I installed FreeBSD 7 Release - amd64. I have ATI Radeon HD2600 pro VGA card but ATI is sucks for supporting driver for Linux or FreeBSD! So, I'm considering to replace the dam ATI card with NVIDIA Geforce. I

Re: More RAM for buffers?

2008-10-02 Thread Wojciech Puchar
active and the program need not be reloaded from disk. I think non-program code can also be inactive. i am sure. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any

'Atheros L2 - 10/100 controller (wired)' shows up in pc-bsd7, but not freebsd 7.1-stable

2008-10-02 Thread Steve Franks
I'm not surprised, just curious if there's actually a tweak, or if the pcbsd guys haven't moved the patch upstream. I find kde so annoying that I put 7-stable back on the machine, and my onboard lan disappeared again... Best, Steve ___

Re: nat and firewall

2008-10-02 Thread fire jotawski
On Thu, Oct 2, 2008 at 7:39 PM, Dominique Goncalves [EMAIL PROTECTED] wrote: Hi, On Thu, Oct 2, 2008 at 6:09 AM, fire jotawski [EMAIL PROTECTED] wrote: On Thu, Sep 25, 2008 at 12:10 AM, Kevin Kinsey [EMAIL PROTECTED] wrote: FBSD1 wrote: natd_enable=YES This statement in rc.conf