atacontrol spindown 0 does not work
Hello, I don't like to hear the spin down from my hard drive, it does it every 10 seconds approximately. I used ataidle -P 0 /dev/ad0 to disable it and it works. When I saw there was a atacontrol command for this, I tried it, so I removed ataidle and I tried : markand@Melon ~ $ sudo atacontrol spindown ad0 0 markand@Melon ~ $ sudo atacontrol spindown ad0 ad0: idle spin down disabled But I can still hear the noise every 10 seconds, I think atacontrol does not totally close the APM feature of the device. Do you have any clue? Cheers, -- David Demelier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Samba and Active Directory
Hello list, I have tried putting this on the samba mail list seems that no knows or is willing to share, having got good help with freebsd on here before, I figured its worth a shot, apologises if it is not 100% OT. I am sure this has been asked a million times but here goes for +1 I am looking for help, or pointers to a good resource to get FreeBSD 8.2 and Samba 3.5 working within a Win 2008 AD environment, the samba how to got me so far, but I am missing something somewhere as none of the shares defined within the smb.conf will connect without asking for a username and password. Regards Graeme ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: Samba and Active Directory
Hello list, I have tried putting this on the samba mail list seems that no knows or is willing to share, having got good help with freebsd on here before, I figured its worth a shot, apologises if it is not 100% OT. I am sure this has been asked a million times but here goes for +1 I am looking for help, or pointers to a good resource to get FreeBSD 8.2 and Samba 3.5 working within a Win 2008 AD environment, the samba how to got me so far, but I am missing something somewhere as none of the shares defined within the smb.conf will connect without asking for a username and password. Regards Graeme I made a little effort helping somebody on the FreeBSD forum. http://forums.freebsd.org/showthread.php?t=20007 Use the directions i (Sylhouette) made in the above thread. It should get you into a running state. Regards Johan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Custom FreeBSD appliance
Hello community, We have started using virtualization platforms at work, a mix of ESXi and KVM. Until now I had no problems running FreeBSD (full ZFS) as a guest on neither of them. Some might say this is not optimal neither safe but we have a dedicated server (10 GB RAM, Intel Quad Core) running 8-STABLE with ZFS for backing up all the VMs that we have. We have quite a few apps we use, from Apache to MySQL, ghostscript and others. Until I've heard of virtualization all the apps were running on a single dedicated server. I remember once I had to update some appX which depended on some libX-new-version and the other appY depended on libX-past-version. I had to roll back the update, quite a pain and some downtime. No more of that when I've heard about jails. At first I've used jails,which are great (thanks FreeBSD for this). I do use them in some parts of the environment and I am very happy with them. We chose KVM/ESXi because we have a mixture of debian, Windows and FreeBSD machines we need to do the job. I have been thinking lately to build specialized robots (as I call them) for a certain task. A specialized robot for me is a custom FreeBSD install with a certain package (eg. MySQL), with all the tuning done for that particular app, starting from FS to memory optimization, network optimization and the like. What do you think about this? I would like to build that custom install *exactly* with what's needed by that particular app, no more no less. Where would be a great place to start? I suppose the build system and src.conf would be a start. How can I find what a certain app really needs? For example if I want to build a robot that does outgoing SMTP using postfix, what are the stuff that need to be build/loaded into base system for this to work? This way I can save memory, boot speed, security. What do you think of all this? Your comments are greatly appreciated. thanks, v -- network warrior ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: atacontrol spindown 0 does not work
On Tue, 2011-03-01 at 09:21 +0100, David Demelier wrote: But I can still hear the noise every 10 seconds, I think atacontrol does not totally close the APM feature of the device. atacontrol's spindown setting doesn't change anything in the disk itself: it just controls a timer in the ad(4) driver which sends a spindown command when it expires. You'll need to keep using ataidle to fix the APM value. -- Bruce Cran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: atacontrol spindown 0 does not work
El día Tuesday, March 01, 2011 a las 09:15:01AM +, Bruce Cran escribió: On Tue, 2011-03-01 at 09:21 +0100, David Demelier wrote: But I can still hear the noise every 10 seconds, I think atacontrol does not totally close the APM feature of the device. atacontrol's spindown setting doesn't change anything in the disk itself: it just controls a timer in the ad(4) driver which sends a spindown command when it expires. You'll need to keep using ataidle to fix the APM value. To the OP: I have to use ataidle as well on an Acer Aspire D250 laptop to switch-off the spindown of the disk... I'm wondering why you would prefere atacontrol? Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e g...@unixarea.de - w http://www.unixarea.de/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: atacontrol spindown 0 does not work
On Tue, 2011-03-01 at 11:47 +0100, Matthias Apitz wrote: I'm wondering why you would prefere atacontrol? I think everyone's been looking for an official solution. -- Bruce Cran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Wrong (000) UDF directory permissions with mkisofs
I have created a DVD image (on 8.2-RELEASE/amd64 using cdrtools-3.00_1) with mkisofs -R -J -udf -iso-level 3 -V NAME -o FILE.iso DIR/ (as described in the handbook), all files in DIR/ have 644 permission, all directories 755 permissions and all are owned by $USER:wheel. When I mount the ISO-9660+Rockridge layout (mount_cd9660 -j), everything is fine: The files have 444 permissions and the directories 555. Mounting the UDF layout (mount_udf), all files have 444 permissions, most (2795) directories have 555 permissions, but some (167) directories have 000 permissions and cannot be accessed by non-root users. What went wrong and how can I fix it? (I need the UDF layout, since some file names are truncated in the Joliet layout and the DVD will be used on Windows.) Cheers, Jan Henrik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
how to read a live changing capture file with a tcpdump or wireshark like with tail for a file.
Hi , We do wifi troubleshooting and are planning to use kismet for wireless captures. It produces a file that will be written into every 300 secs(configurable value ,we use 30 secs). While comparing with a expensive windows sniffer like Omnipeek the only disadvantage of this free tool is we have to continoulsly do tcpdump -r filename.pcap as the file changes. same with wireshark we need to hit the refresh button. Is there something equivalent to 'tail' for changing files for reading pcap files ? Appreciate any suggestions. -- Best Regards, Mubeesh Ali.V.M ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Wrong (000) UDF directory permissions with mkisofs
On 03/01/2011 15:01, Jan Henrik Sylvester wrote: mkisofs -R -J -udf -iso-level 3 -V NAME -o FILE.iso DIR/ [...] Mounting the UDF layout (mount_udf), all files have 444 permissions, most (2795) directories have 555 permissions, but some (167) directories have 000 permissions and cannot be accessed by non-root users. I found it was exactly the eights directory level that had 000 permissions. I am still not sure, why that is a problem for UDF, if it is non for Rockridge. Anyhow, using much more relaxed settings, I got a DVD that works: mkisofs -allow-leading-dots -allow-lowercase -allow-multidot -d -D -iso-level 4 -l -N -r -udf -V NAME -o FILE.iso DIR/ Probably, just -iso-level 4 -D would have been sufficient. Cheers, Jan Henrik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Apache FastCGI display Website not correct
Hello, i use fastcgi with PHP-FPM on Apache 2.2.17. When i go on Website with FastCGI then the page load not complete. http://mail.silviosiefke.de/fastcgi_apache.png When i run with FCGID then the page load complete. http://mail.silviosiefke.de/fcgid_apache.png Has someone a idea what is the problem? Thank you. Regards Silvio Some Config Parameters: VirtualHost SuexecUserGroup siefke siefke ServerName silviosiefke.de DocumentRoot /usr/local/www/vserver/silviosiefke.de/data ScriptAlias /cgi-bin/ /usr/local/www/vserver/silviosiefke.de/cgi-bin/ AddHandler php5-fastcgi .php FastCgiExternalServer /usr/local/www/vserver/silviosiefke.de/data -socket /tmp/siefke.socket Directory /usr/local/www/vserver/silviosiefke.de/data IfModule mod_rewrite.c RewriteEngine On RewriteCond %{REQUEST_URI} \/$ RewriteRule ^(.*)$ index.php [L,QSA] /IfModule Options -All +FollowSymLinks +ExecCGI AllowOverride Options FileInfo AuthConfig Limit allow from all AllowOverride All /Directory ErrorLog /usr/local/www/vserver/silviosiefke.de/log/error.log CustomLog /usr/local/www/vserver/silviosiefke.de/log/access.log combined /VirtualHost # httpd -V Server version: Apache/2.2.17 (FreeBSD) Server built: Feb 26 2011 13:17:20 Server's Module Magic Number: 20051115:25 Server loaded: APR 1.4.2, APR-Util 1.3.10 Compiled using: APR 1.4.2, APR-Util 1.3.10 Architecture: 32-bit Server MPM: Worker threaded: yes (fixed thread count) forked: yes (variable process count) Server compiled with -D APACHE_MPM_DIR=server/mpm/worker -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_FLOCK_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=128 -D HTTPD_ROOT=/usr/local -D SUEXEC_BIN=/usr/local/sbin/suexec -D DEFAULT_SCOREBOARD=logs/apache_runtime_status -D DEFAULT_ERRORLOG=logs/error_log -D AP_TYPES_CONFIG_FILE=etc/apache22/mime.types -D SERVER_CONFIG_FILE=etc/apache22/httpd.conf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
IPFilter and IPMon logging to syslog
I have been doing some work with cleaning up my log files to make them easier to read, and for the life of me can't figure out how to get my IPFilter logs to stop going into the /var/log/messages log. I have a syslog entry for local0.* /var/log/ipfilter.log which works great, and captures all the logs I want. I have tried adding local0.none on the /var/log/messages line, but it seems to have no effect. Can anyone tell me what I am doing wrong here, the below lines are from my syslog.conf configuration file. *.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err;local0.none /var/log/messages local0.* /var/log/ipfilter.log -- Thanks, Dean E. Weimer http://www.dweimer.net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
mysql missing from my home-page WordPress....
Any clues why I get a one-liner from wordpress that my database extention is missing? I re-installed everything; it is running. The wordpress db is there when I check 'show database'. What else? -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: mysql missing from my home-page WordPress....
On 3/1/11 3:53 PM, Gary Kline wrote: Any clues why I get a one-liner from wordpress that my database extention is missing? I re-installed everything; it is running. The wordpress db is there when I check 'show database'. What else? Check and make sure the MySQL extensions are installed in PHP? pkg_info | grep php5-mysql (if not..) cd /usr/ports/databases/php5-mysql make install clean Good luck! --Glenn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: mysql missing from my home-page WordPress....
And enabled php -m check that mysql extension is loaded Regards Rodrigo On Tuesday, March 01, 2011 06:03:13 PM Glenn Sieb wrote: On 3/1/11 3:53 PM, Gary Kline wrote: Any clues why I get a one-liner from wordpress that my database extention is missing? I re-installed everything; it is running. The wordpress db is there when I check 'show database'. What else? Check and make sure the MySQL extensions are installed in PHP? pkg_info | grep php5-mysql (if not..) cd /usr/ports/databases/php5-mysql make install clean Good luck! --Glenn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ZFS root mount problem
I'm installing 8.2 on a server using the instructions for ZFS root filesystem (http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot), and when I reboot after installing, it says: Root mount waiting for: usbus4 followed by: ROOT MOUNT ERROR When I did the initial install, I booted using a CD, and then from the 8.2 livefs on a USB stick. I'm not sure where it's getting usbus4 from when it boots from the hard disk. I can't figure out where to reset this. Any pointers? Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: mysql missing from my home-page WordPress....
On Tue, Mar 01, 2011 at 06:22:13PM -0300, Rodrigo Gonzalez wrote: And enabled php -m check that mysql extension is loaded Regards Rodrigo Hmmm. Good one! ... well, maybe. I have no idea why PHP Startup can't load these libraries. PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626/bcmath.so' - Cannot open /usr/local/lib/php/20090626/bcmath.so in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626/mssql.so' - Cannot open /usr/local/lib/php/20090626/mssql.so in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626/openssl.so' - Cannot open /usr/local/lib/php/20090626/openssl.so in Unknown on line 0 [PHP Modules] Core ctype date dom ereg filter hash iconv json libxml mhash mysql mysqli mysqlnd pcre PDO pdo_sqlite posix Reflection session SimpleXML SPL SQLite standard tokenizer xml xmlreader xmlwriter [Zend Modules] Any ideas? Should I just /bin/rm the ones that are loadable? gary On Tuesday, March 01, 2011 06:03:13 PM Glenn Sieb wrote: On 3/1/11 3:53 PM, Gary Kline wrote: Any clues why I get a one-liner from wordpress that my database extention is missing? I re-installed everything; it is running. The wordpress db is there when I check 'show database'. What else? Check and make sure the MySQL extensions are installed in PHP? pkg_info | grep php5-mysql (if not..) cd /usr/ports/databases/php5-mysql make install clean Good luck! --Glenn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: mysql missing from my home-page WordPress....
you just need to delete them from /usr/local/etc/php/extensions.ini mysql extension is loaded when you are using cli, I would check at web server module. Create a file called info.php in your document root then go to http://your ip/info.php Check if there is a block called mysql Regards Rodrigo On Tuesday, March 01, 2011 07:59:56 PM Gary Kline wrote: On Tue, Mar 01, 2011 at 06:22:13PM -0300, Rodrigo Gonzalez wrote: And enabled php -m check that mysql extension is loaded Regards Rodrigo Hmmm. Good one! ... well, maybe. I have no idea why PHP Startup can't load these libraries. PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626/bcmath.so' - Cannot open /usr/local/lib/php/20090626/bcmath.so in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626/mssql.so' - Cannot open /usr/local/lib/php/20090626/mssql.so in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626/openssl.so' - Cannot open /usr/local/lib/php/20090626/openssl.so in Unknown on line 0 [PHP Modules] Core ctype date dom ereg filter hash iconv json libxml mhash mysql mysqli mysqlnd pcre PDO pdo_sqlite posix Reflection session SimpleXML SPL SQLite standard tokenizer xml xmlreader xmlwriter [Zend Modules] Any ideas? Should I just /bin/rm the ones that are loadable? gary On Tuesday, March 01, 2011 06:03:13 PM Glenn Sieb wrote: On 3/1/11 3:53 PM, Gary Kline wrote: Any clues why I get a one-liner from wordpress that my database extention is missing? I re-installed everything; it is running. The wordpress db is there when I check 'show database'. What else? Check and make sure the MySQL extensions are installed in PHP? pkg_info | grep php5-mysql (if not..) cd /usr/ports/databases/php5-mysql make install clean Good luck! --Glenn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: mysql missing from my home-page WordPress....
On Tue, Mar 01, 2011 at 04:03:13PM -0500, Glenn Sieb wrote: On 3/1/11 3:53 PM, Gary Kline wrote: Any clues why I get a one-liner from wordpress that my database extention is missing? I re-installed everything; it is running. The wordpress db is there when I check 'show database'. What else? Check and make sure the MySQL extensions are installed in PHP? pkg_info | grep php5-mysql (if not..) cd /usr/ports/databases/php5-mysql make install clean Good luck! --Glenn This was the first thing I [re-] installed. q0 14:47 Server ethic [5001] pkg_info | gr php5-mysql 470:php5-mysql-5.3.5The mysql shared extension for php 471:php5-mysqli-5.3.5 The mysqli shared extension for php q0 14:47 Server ethic [5002] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: mysql missing from my home-page WordPress....
On Tue, Mar 01, 2011 at 08:35:25PM -0300, Rodrigo Gonzalez wrote: you just need to delete them from /usr/local/etc/php/extensions.ini mysql extension is loaded when you are using cli, I would check at web server module. Create a file called info.php in your document root then go to http://your ip/info.php Check if there is a block called mysql Regards Rodrigo Thanks for your help; I am back up, installed a new WordPress, and re-re-reinstalled the database. --I could ramble on for paragraphs, but will spare everybody! I am running WP on my FreeBSD 7.3 server and want to know how I can upgrade from within my present version. I'm running v 3.0.4 from ports; the latest is 3.1. Last time I tried upgrading from here as root I got power-surged off the Net. When I got back and tried to pick up the thread of thoughts, WordPress couldn't see MYSQL. Nutshell, is there a way that I can d/load and install WP on Berkeley Unix? ---just wondering! And how can I d/l Plugins and fonts? thanks again! appreciated your insights, gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org