upgrading portupgrade
Hi there, In order to upgrade portupgrade, is it enough to run make, make install make clean? I am not familiar with make but something tells me I won't be able to upgrade portupgrade by means of portupgrade ;) Thanks! -- Zbigniew Szalbot www.LCWords.com smime.p7s Description: S/MIME Cryptographic Signature
Re: httpd php dump
sure. ./configure --prefix=/etc/httpd --enable-ssl --with-ssl=/usr/local/ssl --enable-rewrite --enable-so --enable-headers --enable-unique-id like i said there is pretty much nothing in the error log for httpd. it's a brand new install. here is the whole file: [Tue Jul 01 22:45:36 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Tue Jul 01 22:45:37 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations [Tue Jul 01 22:46:19 2008] [error] [client x.x.x.x] File does not exist: /usr/web/favicon.ico [Tue Jul 01 22:50:11 2008] [notice] caught SIGTERM, shutting down [Tue Jul 01 22:52:33 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Tue Jul 01 22:52:34 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations [Tue Jul 01 22:55:29 2008] [notice] caught SIGTERM, shutting down [Tue Jul 01 22:55:35 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Tue Jul 01 22:55:36 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations [Tue Jul 01 23:00:50 2008] [notice] caught SIGTERM, shutting down ~ (just changed my ip there) i suspect the apache so module.. but not really sure executing php files on the cli is working fine to.. it must be the so... httpd and php are supposed to just work together. that's why core dump without any messages is a bit weired. Odhiambo Washington wrote: On Wed, Jul 2, 2008 at 8:19 AM, kalin m [EMAIL PROTECTED] wrote: there is no extensions.ini anywhere on this machine... a brand new one. httpd/logs/error_log has 6 lines in it. something about session cash (SSL) not configured... httpd runs fine without loading the php module Would you like to provide details on how you compiled your apache then? Did you use the ports to install? What options did you compile with? What is this that you have in the error_log that you don't want to reveal? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrading portupgrade
On Wed, Jul 02, 2008 at 08:21:59AM +0200, Zbigniew Szalbot wrote: Hi there, In order to upgrade portupgrade, is it enough to run make, make install make clean? I am not familiar with make but something tells me I won't be able to upgrade portupgrade by means of portupgrade ;) Thanks! -- Zbigniew Szalbot www.LCWords.com Upgrading portupgrade via portupgrade has always worked for me. If you're paranoid though, you can always do: cd /usr/ports/ports-mgmt/portupgrade make make deinstall make reinstall ...which is the essence of what portupgrade does anyway, minus all the extra stuff ;) frase pgpNwhjmCzSaT.pgp Description: PGP signature
Re: upgrading portupgrade
Hi there, I am not familiar with make but something tells me I won't be able to upgrade portupgrade by means of portupgrade ;) Upgrading portupgrade via portupgrade has always worked for me. Thanks a lot! I should have tried it before writing to the list. It worked very well indeed! -- Zbigniew Szalbot www.LCWords.com smime.p7s Description: S/MIME Cryptographic Signature
Re: upgrading portupgrade
Zbigniew, On Wed, 2 Jul 2008, Zbigniew Szalbot wrote: In order to upgrade portupgrade, is it enough to run make, make install make clean? If you already have portupgrade installed and tried the above technique I think you'd get an error at the end of make install saying the port is already installed. You'd need to use either make reinstall or make deinstall followed by make reinstall. I've been using portupgrade so long I forget which. I am not familiar with make but something tells me I won't be able to upgrade portupgrade by means of portupgrade ;) I've never had any trouble upgrading portupgrade via portupgrade. Boy, that's almost a tongue twister. :-) If there's a change to portupgrade that would require a special upgrade procedure, it will be noted in /usr/ports/UPDATING. Earlier today I switched my home PC from portupgrade to portupgrade-devel to try out some new features just added to the devel version. All that was involved was: portupgrade -fo ports-mgmt/portupgrade-devel portupgrade Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. Longum iter est per praecepta, breve et efficax per exempla!!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Execute the command when login
I would like to execute xmodmap ~/.xmodmaprc whenever login or start the Xorg. I try to put the command to ~/.login_conf or ~/.xinit, but it doesn't take effects. What should I do? Thanks. -- HUANG Ronggui, Wincent http://ronggui.huang.googlepages.com/ Bachelor of Social Work, Fudan University, China Master of sociology, Fudan University, China Ph.D. Candidate, CityU of HK. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Execute the command when login
ronggui wrote: I would like to execute xmodmap ~/.xmodmaprc whenever login or start the Xorg. I try to put the command to ~/.login_conf or ~/.xinit, but it doesn't take effects. What should I do? Thanks. How do you start X? That command should normally be in ~/.xsession or ~/.xinitrc, all depending. Personally I put the xmodmap command in ~/.xinitrc, and my ~/.xsession is a symlink to ~/.xinitrc. That way, xmodmap will be executed whether I start X from the command line or use xdm. -- Tore ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Execute the command when login
El día Wednesday, July 02, 2008 a las 03:11:45PM +0800, ronggui escribió: I would like to execute xmodmap ~/.xmodmaprc whenever login or start the Xorg. I try to put the command to ~/.login_conf or ~/.xinit, but it doesn't take effects. What should I do? Thanks. You could launch it from ~/.xinitrc for example as: xmodmap.sh exec startkde and in xmodmap.sh you must take care that you set the $DISPLAY accordingly, for example as 'setenv DISPLAY :0.0' and make sure that you let first come up the Xorg and the desktop too, before launching the xmodmap commands; if you use KDE as desktop, like I do, it is more simple to just put your script into the ~/.kde/Autostart/ directory; matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ «...una sola vez, que es cuanto basta si se trata de verdades definitivas.» «...only once, which is enough if it has todo with definite truth.» José Saramago, Historia del Cerca de Lisboa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mysql log and newsyslog
Hello. I have a problem with mysql logs and newsyslog. I archive mysql log with this in my my.cnf: log=/var/log/mysql My log works fine. However, when newsylog archives the log and create a new log file, mysql doesn't log anymore anything. See my newsyslog.conf: /var/log/mysql mysql:wheel 640 100 *@T23 Z And after 23:00: -rw-r- 1 mysql wheel 62 1 jul 23:00 mysql -rw-r- 1 mysql wheel 213993 1 jul 23:00 mysql.0.gz The old log is archived, the new is created, but mysql doestn't log anymore anything. Any idea to solve this problem? Thanks! -- - Nicolas. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
eee pc asus
Hi Guys Anyone had any luck running freebsd on asus eee pc. I have tried and got it running without the network cause dont think i have enough knowledge to create wifi/nic from the Athos driver. Any Idea's Regards Robby ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: eee pc asus
El día Wednesday, July 02, 2008 a las 10:41:36AM +0200, Robby Balona escribió: Hi Guys Anyone had any luck running freebsd on asus eee pc. I have tried and got it running without the network cause dont think i have enough knowledge to create wifi/nic from the Athos driver. Any Idea's See: http://wiki.freebsd.org/AsusEee and my installation guide http://www.unixarea.de/installEeePC.txt matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ «...una sola vez, que es cuanto basta si se trata de verdades definitivas.» «...only once, which is enough if it has todo with definite truth.» José Saramago, Historia del Cerca de Lisboa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: eee pc asus
cool thanks!!! Matthias Apitz wrote: El día Wednesday, July 02, 2008 a las 10:41:36AM +0200, Robby Balona escribió: Hi Guys Anyone had any luck running freebsd on asus eee pc. I have tried and got it running without the network cause dont think i have enough knowledge to create wifi/nic from the Athos driver. Any Idea's See: http://wiki.freebsd.org/AsusEee and my installation guide http://www.unixarea.de/installEeePC.txt matthias ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ZFS xattr attribute temporary off status?
I've recently begun playing around with zfs on a freebsd7 build, as well as a recent nightly build of FreeNAS (based on freebsd7) and have noticed something peculiar that I haven't experienced with ZFS on either Solaris or Mac OS X. For some reason, freebsd (on both systems) is setting the zfs xattr (extended attributes) attribute temporarily off. Setting xattr=on appears to work, but actually does nothing. The xattr attribute is also the only ZFS attribute with a temporary setting, and no matter what I try, I can't set it on. Why is this happening on freebsd, and is it fixable or an issue with freebsd's zfs implementation (such as xattrs not being implemented yet)? Thanks for your assistance! -- -Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Jail problem while starting
On Fri, 2008-06-20 at 01:02 +0500, Jo Pesko wrote: Hi, I'm using FreeBSD 7.0 version and expecting some problems with jail. /etc/rc.d/jail script hangs when it try to map jail's interface to alias address of my nic. Script successfully starting if i removing alias Hard to say. Paste your config and rc.d/* output? ~BAS address from rc.conf(or manually via ifconfig). Any info will be helpful. Thanks. Best Regards, Jo Pesko ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: anyone been crazy enough to mirror wikipedia?
So call me a sociopath, but times are a bit scary. I'd like to do the 2000's equivalent of the 1960's bomb shelter, and have my very own snapshot in case of major local/regional internet disruption, etc. wikipedia is just a pile of junk. everyone can put in it, and unfortunately do. in EVERY article i watched in area i have knowlege there were bugs. in most - big nonsenses. in others - probably too, i just don't have required knowledge to check it. snapshot on DVDs or disk as a fundraiser? I'd drop $300 for some sort of officially licenced copy, I suspect there are other freaks that would too... wget should do. select an option to limit downloads to wikipedia, but with unlimited recursion, start from almost any place. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: anyone been crazy enough to mirror wikipedia?
ahead of who is winning American Idol. If it comes to the point the internet goes down for a long period of time, that $300 is better spent on a garden. exactly :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem with samba 3.0.30 with NT4 domain
All: In case anyone else has this problem. Seems like there's a bug in samba 3.0.30 (and 3.0.29) that causes joining an NT4 domain to fail. Looks like it will be fixed for 3.0.31 whenever that comes: http://www.nabble.com/unable-to-join-a-NT4-Domain-since-3.0.28a-td17678565.h tml After upgrading to 3.0.30 via portupgrade this morning, I got failures connecting the server with a failed trust relationship. On removing and attempting to rejoin the domain, I got: Error in domain join verification (credential setup failed): NT_STATUS_ACCESS_DENIED Downgrading to 3.0.28a worked fine. Barry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Configuring an older server for speed...
On Tue, 1 Jul 2008 08:26:16 -0700 Kurt Buff [EMAIL PROTECTED] wrote: However, I'll look up the diskd docs for squid, and see what that's all about. I'm not sure that diskd is still preferred for FreeBSD. The three cache types: ufs,aufs and diskd are all the same on disk. diskd is ufs with extra processes to handle disk access, aufs uses threads instead. The reason for using diskd was that earlier versions FreeBSD had poor threading support, but good shared memory support. From what I've read on the squid mailing list, aufs with libthr is being recommended these days. libthr is the default on FreeBSD 7, you need a libmap.conf entry on FreeBSD 6. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Problem with samba 3.0.30 with NT4 domain
I get this problem even when using version 3.0.28a. I have no clue what is causing it. --- Chris Edwards Smartech Corp. Div. of AirNet Group http://www.airnetgroup.com http://www.smartechcorp.net [EMAIL PROTECTED] P: 423-664-7678 x114 C: 423-593-6964 F: 423-664-7680 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Barry Byrne Sent: Wednesday, July 02, 2008 8:37 AM To: freebsd-questions@freebsd.org Cc: [EMAIL PROTECTED] Subject: Problem with samba 3.0.30 with NT4 domain All: In case anyone else has this problem. Seems like there's a bug in samba 3.0.30 (and 3.0.29) that causes joining an NT4 domain to fail. Looks like it will be fixed for 3.0.31 whenever that comes: http://www.nabble.com/unable-to-join-a-NT4-Domain-since-3.0.28a-td17678565.h tml After upgrading to 3.0.30 via portupgrade this morning, I got failures connecting the server with a failed trust relationship. On removing and attempting to rejoin the domain, I got: Error in domain join verification (credential setup failed): NT_STATUS_ACCESS_DENIED Downgrading to 3.0.28a worked fine. Barry ___ 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: Configuring an older server for speed...
I'm not sure that diskd is still preferred for FreeBSD. The three cache types: ufs,aufs and diskd are all the same on disk. diskd is ufs with extra processes to handle disk access, aufs uses threads instead. i don't know what is preferred. i know what works. only ufs and diskd is reliable, ufs is single threaded and blocking, diskd=one process for each spool dedicated just for disk I/O ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
multi-platform dump and restore?
If I dump on amd64 should I be able to extract files from the dump on i386? If so, should it be possible to restore a FreeBSD amd64 dump on OpenBSD i386? Note there is ticket that may be related: bin/67723: restore(8) FreeBSD 5.x restore cannot handle other platforms/Linux(extfs)-dumps anymore ref: http://www.freebsd.org/cgi/query-pr.cgi?pr=67723cat= I thought the dump file format was sacrosanct. Has there been heresy here? Thanks, m P.S. Please CC, I'm not subscribed. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Problem with samba 3.0.30 with NT4 domain
-Original Message- From: Chris Edwards [mailto:[EMAIL PROTECTED] I get this problem even when using version 3.0.28a. I have no clue what is causing it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Barry Byrne Seems like there's a bug in samba 3.0.30 (and 3.0.29) that causes joining an NT4 domain to fail. Looks like it will be fixed for 3.0.31 whenever that comes: http://www.nabble.com/unable-to-join-a-NT4-Domain-since-3.0.28 a-td17678565.h tml After upgrading to 3.0.30 via portupgrade this morning, I got failures connecting the server with a failed trust relationship. On removing and attempting to rejoin the domain, I got: Error in domain join verification (credential setup failed): NT_STATUS_ACCESS_DENIED Downgrading to 3.0.28a worked fine. Chris, Just a guess really - but after reverting to 3.0.28a, I removed the domain account for the server in question and then added it on the domain controller before doing a 'net join' on the samba machine. After starting samba again, all was well. In case it's of relevance - the samba server is 6.2 RELEASE-p12. - barry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: multi-platform dump and restore?
On Wed, Jul 02, 2008 at 10:59:27AM -0400, Mark B. wrote: If I dump on amd64 should I be able to extract files from the dump on i386? If so, should it be possible to restore a FreeBSD amd64 dump on OpenBSD i386? Note there is ticket that may be related: bin/67723: restore(8) FreeBSD 5.x restore cannot handle other platforms/Linux(extfs)-dumps anymore ref: http://www.freebsd.org/cgi/query-pr.cgi?pr=67723cat= I thought the dump file format was sacrosanct. Has there been heresy here? I am not sure what the heresy is here, but dump/restore can be sensitive to OS and OS version. There are many that it cannot cross, but some it can. The main thing is to check it before depending on it. jerry Thanks, m P.S. Please CC, I'm not subscribed. Thanks. ___ 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: multi-platform dump and restore?
On Wed, Jul 02, 2008 at 10:59:27AM -0400, Mark B. wrote: If I dump on amd64 should I be able to extract files from the dump on i386? Yes. If so, should it be possible to restore a FreeBSD amd64 dump on OpenBSD i386? Probably. OpenBSD 4.2 supports UFS2. Note there is ticket that may be related: bin/67723: restore(8) FreeBSD 5.x restore cannot handle other platforms/Linux(extfs)-dumps anymore ref: http://www.freebsd.org/cgi/query-pr.cgi?pr=67723cat= This should be closed unless it is still reproducable on 6.x or 7.x. The release mentioned is ancient. I thought the dump file format was sacrosanct. Has there been heresy here? The BSDs all use variants of UFS, and dump/restore understand UFS1 2. The EXT2FS in use on Linux is a different animal altogether. I'm surprised that it ever worked. 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) pgpRttw5NzxEJ.pgp Description: PGP signature
7.0-release / systat / 3GB
Hello, It seems that when I check bandwidth with systat -ifstat, I can see something along these lines: Traffic PeakTotal in 32.854 KB/s 35.591 KB/s1.341 GB out39.760 KB/s130.318 KB/s 430.087 MB I am a bit curious though why once the outgoing bandwidth exceeds (more or less) 3GB, the Total counter gets reset and starts counting from scratch. Is it because of the network interface? Jun 20 14:17:49 relay kernel: re0: RealTek 8168/8111B PCIe Gigabit Ethernet port 0xd000-0xd0ff mem 0xf100-0xf1000fff irq 16 at device 0.0 on pci3 If it matters, 'uname -ris' says FreeBSD 7.0-RELEASE-p2 RELAY Many thanks! -- Zbigniew Szalbot www.LCWords.com smime.p7s Description: S/MIME Cryptographic Signature
sendmail on server with ip aliases
Hello, Having a problem with sendmail on some of my servers supporting several virtual apache hosts. Because these servers have 5-10 ip aliases bound, it sometimes trips up sendmail when sending outbound mail to my smarthost. All servers are configured to use the same smarthost. But on one of the hosts, sendmail will send out as the one of the virtual hosts instead of the main host, which is what I need. Example: webhost01.webdomain.com is the host. Five ip aliases for apache virtual servers: ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Re: httpd php dump
i'd be assuming than that i'd need to build an older apache. this is probably a stupid question but is there anybody out there that is using apache 2.2.9 + php 5.2.6 (as DSO) on freebsd 7 amd64 (multi processor) without problems? thanks... kalin m wrote: sure. ./configure --prefix=/etc/httpd --enable-ssl --with-ssl=/usr/local/ssl --enable-rewrite --enable-so --enable-headers --enable-unique-id like i said there is pretty much nothing in the error log for httpd. it's a brand new install. here is the whole file: [Tue Jul 01 22:45:36 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Tue Jul 01 22:45:37 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations [Tue Jul 01 22:46:19 2008] [error] [client x.x.x.x] File does not exist: /usr/web/favicon.ico [Tue Jul 01 22:50:11 2008] [notice] caught SIGTERM, shutting down [Tue Jul 01 22:52:33 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Tue Jul 01 22:52:34 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations [Tue Jul 01 22:55:29 2008] [notice] caught SIGTERM, shutting down [Tue Jul 01 22:55:35 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Tue Jul 01 22:55:36 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations [Tue Jul 01 23:00:50 2008] [notice] caught SIGTERM, shutting down ~ (just changed my ip there) i suspect the apache so module.. but not really sure executing php files on the cli is working fine to.. it must be the so... httpd and php are supposed to just work together. that's why core dump without any messages is a bit weired. Odhiambo Washington wrote: On Wed, Jul 2, 2008 at 8:19 AM, kalin m [EMAIL PROTECTED] wrote: there is no extensions.ini anywhere on this machine... a brand new one. httpd/logs/error_log has 6 lines in it. something about session cash (SSL) not configured... httpd runs fine without loading the php module Would you like to provide details on how you compiled your apache then? Did you use the ports to install? What options did you compile with? What is this that you have in the error_log that you don't want to reveal? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: multi-platform dump and restore?
If I dump on amd64 should I be able to extract files from the dump on i386? i'm almost sure yes but please check If so, should it be possible to restore a FreeBSD amd64 dump on OpenBSD i386? probably not. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: multi-platform dump and restore?
On Wed, Jul 02, 2008 at 11:35:30AM -0400, Jerry McAllister wrote: On Wed, Jul 02, 2008 at 10:59:27AM -0400, Mark B. wrote: If I dump on amd64 should I be able to extract files from the dump on i386? If so, should it be possible to restore a FreeBSD amd64 dump on OpenBSD i386? Note there is ticket that may be related: bin/67723: restore(8) FreeBSD 5.x restore cannot handle other platforms/Linux(extfs)-dumps anymore ref: http://www.freebsd.org/cgi/query-pr.cgi?pr=67723cat= I thought the dump file format was sacrosanct. Has there been heresy here? I am not sure what the heresy is here, but dump/restore can be sensitive to OS and OS version. There are many that it cannot cross, but some it can. The main thing is to check it before depending on it. I should add for clarity. So, the conflict would not be the different hardware but differences in OS and filesystem versions. Mostly I have been able to dump on one version of BSD and restore on another, apparently because the filesystems have been sufficiently similar. But, as I said before, Check it before you depend on it. jerry jerry Thanks, m P.S. Please CC, I'm not subscribed. Thanks. ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sendmail on server with ip aliases and virtual hosts
Hello, Having a problem with sendmail on some of my servers supporting several virtual apache hosts. Because these servers have 5-10 ip aliases bound, it sometimes trips up sendmail when sending outbound mail to my smarthost. All servers are configured to use the same smarthost. But on one of the hosts, sendmail will send out as the one of the virtual hosts instead of the main host, which is what I need. Example: webhost01.webdomain.com (10.10.0.1) is the main host. mail01.webdomain.com (10.10.10.2) is the smarthost. Five ip aliases for apache virtual servers: www.siteA.com (10.10.20.1) www.siteB.com (10.10.20.2) www.siteC.com (10.10.20.3) www.siteD.com (10.10.20.4) www.siteE.com (10.10.20.5) But when one I try to: $ telnet mail01.webdomain.com 25 and watch the maillog on the smarthost, it tells me the connection is coming from www.siteA.com (or one of the other virtual ip aliases/hosts) instead of the main host, webhost01.webdomian.com. This will cause relaying denied failures on the smarthost, unless I go into the local-host-names and account for every virtual host and add it. The other puzzling thing is that I have 9 other main hosts with many virtual hosts, and they all seem to be working the way I expect; ie., outbound mail is coming from the main host name/ip instead of one of the aliases. It's just this webhost01 that is messed up I can't figure out why. The other thing is that if I destroy an alias, sendmail will use another aliases, then if I put the destroyed virtual alias back, it may or may not use it again when sending email. How do I get sendmail to just send *everything* as from the main host and connect on the main ip address instead of one of the aliases? I have in /etc/mail/webhost01.webdomain.com.mc: OSTYPE(freebsd6) DOMAIN(generic) FEATURE(access_db, `hash -o -TTMPF /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') FEATURE(masquerade_envelope) FEATURE(`genericstable') GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains') MASQUERADE_AS(`webhost01.webdomain.com') define(`confDOMAIN_NAME', `webhost01.webdomain.com') define(`SMART_HOST', `mail01.webdomain.com') and in generics-domains: webhost01.webdomain.com Thanks for any help. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Too Much Context Switching?
On Monday 30 June 2008, cpghost wrote: You need to run ZEO if you want to make use of multiple CPUs in Zope. Here's a small HOWTO. It's for gentoo, but easily adaptable to FreeBSD: http://gentoo-wiki.com/HOWTO_ZEO/Zope_and_Plone Good luck optimizing the Beast! ;-) This is *so* critically important that I can't overstress it. You *have* to use ZEO if you're running a busy Zope site. On our dual P4-Xeon system, I run 8 Zope instances and use Apache to spread the load across 7 of them (reserving the 8th for admin use) like so: I $ cat /usr/local/etc/apache22/zope.txt zeoclients 9080|10080|11080|12080|13080|14080|15080 $ cat mydomain.conf [...] # Load-balance the Zope servers RewriteMap zope rnd:/usr/local/etc/apache22/zope.txt RewriteRule ^/(.*) http://web2.daycos.com: ${zope:zeoclients}/VirtualHostBase/http/web2.xrsnet.com:80/XRSnet/VirtualHostRoot/$1 [P] On each new connection, Apache picks a random port from the list defined in zope.txt and passes the connection to that Zope process. -- Kirk Strauser signature.asc Description: This is a digitally signed message part.
Re: multi-platform dump and restore?
On Wed, Jul 2, 2008 at 12:21 PM, Wojciech Puchar [EMAIL PROTECTED] wrote: If I dump on amd64 should I be able to extract files from the dump on i386? i'm almost sure yes but please check I did and it does. If so, should it be possible to restore a FreeBSD amd64 dump on OpenBSD i386? probably not. You are correct. # gunzip -c var_www_log.1214712054.1.dmp.gz | restore -i -f - . is not on the tape Root directory is not on tape abort? [yn] y dump core? [yn] n # uname -a OpenBSD dev.example.com 4.2 GENERIC#375 i386 How did you guess? m ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FB7.0 - ifconfig clone error - SIOCIFCREATE2: Invalid argument
Hi there, I've been playing with a new FB7.0 setup (using the standard iso distribution), and trying to create some vlans by doing cloning via the rc.conf cloned_interfaces command - but that fails. (I'm using bce interfaces on a HP bl760c blade, if that makes any difference) Doing manual testing of ifconfig xyz0 create causes the error ifconfig: SIOCIFCREATE2: Invalid argument error to come up and the interface then doesn't get created. Has anyone gotten this error at all, and how did you get it resolved? My digging further shows that a patch was committed to src/sys/net/if_clone.c (rev 1.11) which adds a new argument for parameter data to the if_clone_create() function. But it looks like src/sys/net/if.c has not been updated to provide this new parameter data to the if_clone_create function call, thereby failing the call, and not setting the interface up. Any help or pointing in the right direction would be appreciated! Thanks, Ross. -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FB7.0 - ifconfig clone error - SIOCIFCREATE2: Invalid argument
R My digging further shows that a patch was committed to R src/sys/net/if_clone.c (rev 1.11) which adds a new argument for R parameter data to the if_clone_create() function. Ignore my further digging (I blame the holidays), I was looking at if_clone_createif - not if_clone_create, which has a different number of parameters. The function if_clone_create checks out fine. The issue looks to be something within /src/sbin/ifconfig/ifclone.c and the ioctl setup of the interface. sigh R. -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: multi-platform dump and restore?
dump core? [yn] n # uname -a OpenBSD dev.example.com 4.2 GENERIC#375 i386 How did you guess? actually second was a guess. first was natural, as amd64 and i386 are both little endian, intlong are same sized under gcc, and memory pointers are not stored in dump files. second - because dump was never intended to be portable, nobody cares about it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: multi-platform dump and restore?
I did and it does. you may try to compile OpenBSD restore from sources under FreeBSD and use it. compared to dump, restore does not do anything filesystem specific, just reads input and make files. if any - there should not be many fixes needed to make it compile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 7.0-release / systat / 3GB
I am a bit curious though why once the outgoing bandwidth exceeds (more or less) 3GB, the Total counter gets reset and starts counting from scratch. isn't it 4GB - because of 32-bit unsigned counter? Is it because of the network interface? Jun 20 14:17:49 relay kernel: re0: RealTek 8168/8111B PCIe Gigabit Ethernet port 0xd000-0xd0ff mem 0xf100-0xf1000fff irq 16 at device 0.0 on pci3 If it matters, 'uname -ris' says FreeBSD 7.0-RELEASE-p2 RELAY Many thanks! -- Zbigniew Szalbot www.LCWords.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [freebsd-questions] Re: OT: anyone been crazy enough to mirror wikipedia?
On Tue, Jul 01, 2008 at 10:21:22PM -0400, Tuc at T-B-O-H.NET wrote: Actually . . . if things get that bad, you're going to need some firepower to protect your garden (and everything else you don't want taken from you by force). To properly protect a garden, you'd need to make it a community farm, with community members who have and will use firearms to protect it (and your Wikipedia mirror). And where better to get knowledge on constructing firepower (and gardening for that matter) than wikipedia ;) All part of my integrated plan...did I mention we are going to occupy our local library as well? Guys, you seem to be jumping the gun a bit. Theres plenty of time until 03:14:07 UTC on Tuesday, January 19, 2038. (http://en.wikipedia.org/wiki/Year_2038_problem) Bah. That's basically a solved problem. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] C. Hoare: Two ways of constructing software: (1) make it so simple that there are obviously no bugs, (2) make it so complicated that there are no obvious bugs. Making it simple is far more difficult. pgpa3fXR1ZfH8.pgp Description: PGP signature
Re: OT: anyone been crazy enough to mirror wikipedia?
On Tue, Jul 01, 2008 at 10:36:22PM -0700, Kurt Buff wrote: We're advising our clients to stock up on canned goods and shotguns - Brain Gremlin Seriously? What kind of business are you in that makes that an appropriate bit of advice? -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Malaclypse the Younger: 'Tis an ill wind that blows no minds. pgpChKbxB86ve.pgp Description: PGP signature
Re: OT: anyone been crazy enough to mirror wikipedia?
On Wed, Jul 02, 2008 at 02:37:20PM +0200, Wojciech Puchar wrote: So call me a sociopath, but times are a bit scary. I'd like to do the 2000's equivalent of the 1960's bomb shelter, and have my very own snapshot in case of major local/regional internet disruption, etc. wikipedia is just a pile of junk. everyone can put in it, and unfortunately do. Meanwhile, in print encyclopedias, I see that with restricted writing access and strict editing processes there are typically systemic biases and subtler mistakes that are much easier to overlook -- and the mistakes not only persist until the next edition, but often exist for decades, whereas finding a mistake in Wikipedia is fixable within five minutes. in EVERY article i watched in area i have knowlege there were bugs. in most - big nonsenses. The key is that an encyclopedia should never be the *end* of your research. It's basically just a place to look for key terms to research elsewhere, and to get a general overview of some common takes on various subjects. That's as true of Wikipedia as it is of any other encyclopedia. snapshot on DVDs or disk as a fundraiser? I'd drop $300 for some sort of officially licenced copy, I suspect there are other freaks that would too... wget should do. select an option to limit downloads to wikipedia, but with unlimited recursion, start from almost any place. Bad idea. Just get one of the periodic database dumps. Using recursive wget downloads is a good way to consume mass bandwidth and get your IP banned from accessing it. Please be aware of others' needs, and courteous in your treatment of those needs. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Friedrich Nietzche: Those who know that they are profound strive for clarity. Those who would like to seem profound to the crowd strive for obscurity. pgpfV8fr8GMGD.pgp Description: PGP signature
Re: OT: anyone been crazy enough to mirror wikipedia?
wikipedia is just a pile of junk. everyone can put in it, and unfortunately do. Meanwhile, in print encyclopedias, I see that with restricted writing access and strict editing processes there are typically systemic biases and subtler mistakes that are much easier to overlook -- and the mistakes not only persist until the next edition, but often exist for decades, whereas finding a mistake in Wikipedia is fixable within five minutes. and 3 others are added. The key is that an encyclopedia should never be the *end* of your research. It's basically just a place to look for key terms to research actually what i do - to get the first glance on subject, THEN checking more precisely. but quite often it's crap even at the first glance ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FB7.0 - ifconfig clone error - SIOCIFCREATE2: Invalid argument
Ross wrote: Hi there, I've been playing with a new FB7.0 setup (using the standard iso distribution), and trying to create some vlans by doing cloning via the rc.conf cloned_interfaces command - but that fails. (I'm using bce interfaces on a HP bl760c blade, if that makes any difference) Doing manual testing of ifconfig xyz0 create causes the error ifconfig: SIOCIFCREATE2: Invalid argument error to come up and the interface then doesn't get created. what command are you using exactly? it certainly works here. [EMAIL PROTECTED] (20:30:15 ~) 0 # ifconfig em1.5 ifconfig: interface em1.5 does not exist [EMAIL PROTECTED] (20:30:20 ~) 0 # ifconfig em1.5 create [EMAIL PROTECTED] (20:30:25 ~) 0 # ifconfig em1.5 em1.5: flags=8842BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=3RXCSUM,TXCSUM ether 00:07:e9:17:db:c9 media: Ethernet autoselect (100baseTX full-duplex) status: active vlan: 5 parent interface: em1 [EMAIL PROTECTED] (20:30:26 ~) 0 # ifconfig em1.5 destroy Or [EMAIL PROTECTED] (20:30:55 ~) 0 # ifconfig bge0.5 create [EMAIL PROTECTED] (20:31:04 ~) 0 # ifconfig bge0.5 bge0.5: flags=8842BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=3RXCSUM,TXCSUM ether 00:e0:81:2d:a3:16 media: Ethernet autoselect (100baseTX full-duplex) status: active vlan: 5 parent interface: bge0 [EMAIL PROTECTED] (20:31:16 ~) 0 # ifconfig bge0.5 destroy [EMAIL PROTECTED] (20:31:20 ~) 0 # Vince Has anyone gotten this error at all, and how did you get it resolved? My digging further shows that a patch was committed to src/sys/net/if_clone.c (rev 1.11) which adds a new argument for parameter data to the if_clone_create() function. But it looks like src/sys/net/if.c has not been updated to provide this new parameter data to the if_clone_create function call, thereby failing the call, and not setting the interface up. Any help or pointing in the right direction would be appreciated! Thanks, Ross. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re[2]: FB7.0 - ifconfig clone error - SIOCIFCREATE2: Invalid argument
VH what command are you using exactly? it certainly works here. The standard ones! Which has gotten me confused greatly. Using yours as an example: -= [EMAIL PROTECTED] ~]# ifconfig bce0.5 create ifconfig: SIOCIFCREATE2: Invalid argument [EMAIL PROTECTED] ~]# and playing a bit: [EMAIL PROTECTED] ~]# ifconfig bce0.5 create vlandev bce0 ifconfig: must specify a tag for vlan create [EMAIL PROTECTED] ~]# ifconfig bce0.5 create vlandev bce0 vlan 5 ifconfig: SIOCIFCREATE2: Invalid argument [EMAIL PROTECTED] ~]# ifconfig bce0 bce0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=1bbRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4 ether 00:1e:0b:c7:e1:d0 inet w.x.y.z netmask 0xff00 broadcast w.x.y.z media: Ethernet autoselect (1000baseSX full-duplex) status: active [EMAIL PROTECTED] ~]# -= I'm wondering if it's because of the bce driver or something along those lines, and ioctl isn't able to pick up the root device or something. The annoying part is that these are new servers/network cards on these boxes, so I don't have an equivalent FB6.x setup to test against. (Other boxes running 6.x are working just fine). R. -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
re0: PHY write failed - RTL8110SB problem
Hello, my network card is failing - dmesg is full of this: re0: PHY write failed re0: reset never completed! re0: reset never completed! re0: PHY write failed re0: reset never completed! re0: PHY write failed re0: link state changed to DOWN re0: link state changed to DOWN re0: reset never completed! re0: link state changed to DOWN re0: link state changed to DOWN It can work nicely for days (although the server is not yet in production, so there is little to no traffic) and then starts failing. What could be the problem? It's FreeBSD 7.0 with this card: [EMAIL PROTECTED]:4:1:0: class=0x02 card=0x816910ec chip=0x816910ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'RTL8110SB Single-Chip Gigabit LOM Ethernet Controller' class = network subclass = ethernet ifconfig re0: re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=399bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4 ether 00:0e:2e:cc:1e:c9 inet 192.168.2.10 netmask 0xff00 broadcast 192.168.2.255 media: Ethernet autoselect (1000baseTX full-duplex) status: active The hardware is a PC with Asus P5K-SE motherboard. Thanks, Nejc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail on server with ip aliases and virtual hosts
At 11:26 AM 7/2/2008, D W wrote: Hello, Having a problem with sendmail on some of my servers supporting several virtual apache hosts. Because these servers have 5-10 ip aliases bound, it sometimes trips up sendmail when sending outbound mail to my smarthost. All servers are configured to use the same smarthost. But on one of the hosts, sendmail will send out as the one of the virtual hosts instead of the main host, which is what I need. Example: webhost01.webdomain.com (10.10.0.1) is the main host. mail01.webdomain.com (10.10.10.2) is the smarthost. Five ip aliases for apache virtual servers: www.siteA.com (10.10.20.1) www.siteB.com (10.10.20.2) www.siteC.com (10.10.20.3) www.siteD.com (10.10.20.4) www.siteE.com (10.10.20.5) But when one I try to: $ telnet mail01.webdomain.com 25 and watch the maillog on the smarthost, it tells me the connection is coming from www.siteA.com (or one of the other virtual ip aliases/hosts) instead of the main host, webhost01.webdomian.com. This will cause relaying denied failures on the smarthost, unless I go into the local-host-names and account for every virtual host and add it. The other puzzling thing is that I have 9 other main hosts with many virtual hosts, and they all seem to be working the way I expect; ie., outbound mail is coming from the main host name/ip instead of one of the aliases. It's just this webhost01 that is messed up I can't figure out why. The other thing is that if I destroy an alias, sendmail will use another aliases, then if I put the destroyed virtual alias back, it may or may not use it again when sending email. How do I get sendmail to just send *everything* as from the main host and connect on the main ip address instead of one of the aliases? I have in /etc/mail/webhost01.webdomain.com.mc: OSTYPE(freebsd6) DOMAIN(generic) FEATURE(access_db, `hash -o -TTMPF /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') FEATURE(masquerade_envelope) FEATURE(`genericstable') GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains') MASQUERADE_AS(`webhost01.webdomain.com') define(`confDOMAIN_NAME', `webhost01.webdomain.com') define(`SMART_HOST', `mail01.webdomain.com') and in generics-domains: webhost01.webdomain.com Thanks for any help. I would suggest you check both your forward and reverse DNS's for all these domains. Sendmail will use the DNS listings. Are your virtual apache server's sending the emails from webpages? If so, check your setup on those virtual servers that you are specifying the from address including the correct domain. -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[2]: FB7.0 - ifconfig clone error - SIOCIFCREATE2: Invalid argument
Doing manual testing of ifconfig xyz0 create causes the error ifconfig: SIOCIFCREATE2: Invalid argument error to come up and the interface then doesn't get created. VH what command are you using exactly? it certainly works here. After enough tinkering around, I've found the issue. Looks like I need to issue a ifconfig bce0 -vlanhwtag command to the interface before issuing the vlan ifconfig bce0.10 create command. Surprisingly, it looks like I can issue a ifconfig bce0 vlanhwtag command afterwards, and everything is good. Very weird. But I'm happy I found a work around for the time being. R. -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RT2790 Wireless miniCard - ral not working on Eee Box
Hi Everybody: I cc'ed questions since if this turns out NOT be a driver related issue then hopefully someone can tell me what's going on. I have a Asus Eee Box PC with Intel Atom NS270 1.6Ghz model B202. I've installed FreeBSD 7.0-i386-RELEASE and currently going to try 7.0-i386-STABLE on it. I've done a lot of Googling and Nabbling to no avail! :D! My first issue is the onboard wireless card, PCI id: 1814:0781: RT2790 Wireless 802.11n 1T/2R miniCard, does not work. It looks like its a ral derivative which the driver doesn't recognize (from the driver source as well as man, looks like it doesn't even support this family of chipset). Is there a driver for this chipset? If not, why not? :D! Thanks! -aps ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: anyone been crazy enough to mirror wikipedia?
On Wed, Jul 02, 2008 at 09:12:33PM +0200, Wojciech Puchar wrote: wikipedia is just a pile of junk. everyone can put in it, and unfortunately do. Meanwhile, in print encyclopedias, I see that with restricted writing access and strict editing processes there are typically systemic biases and subtler mistakes that are much easier to overlook -- and the mistakes not only persist until the next edition, but often exist for decades, whereas finding a mistake in Wikipedia is fixable within five minutes. and 3 others are added. The key is that an encyclopedia should never be the *end* of your research. It's basically just a place to look for key terms to research actually what i do - to get the first glance on subject, THEN checking more precisely. but quite often it's crap even at the first glance I'll add my dime's worth, given the years of pure research I've done in recent years. wiki-anything is usually *not* my first choice; but if there are citations that i can find on-line or at my local library in a wiki article, I'll use them. point of fact: i just spent some 45 minutes tracking down an obscure quote. the citation (from the Feb. 1981 ACM) was in a German PDF file. no help from wikipedia, but an example of how much effort it takes to get things right. (or as close-to right as possible.) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Gary Kline [EMAIL PROTECTED] 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: Configuring an older server for speed...
On Wed, 2 Jul 2008 17:15:58 +0200 (CEST) Wojciech Puchar [EMAIL PROTECTED] wrote: I'm not sure that diskd is still preferred for FreeBSD. i don't know what is preferred. i know what works. only ufs and diskd is reliable, The squid developers recommend aufs: http://www.squid-cache.org/mail-archive/squid-users/200709/0150.html Most people seem to regard it as stable. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Upgrade and change distro?
I have a dual core Intel server running 6.1 RELEASE i386. I want to update it to 7.0 RELEASE. Can I also switch to the AMD release at the same time? (It's my understanding that all dual core processors should be running AMD not i386.) If so, do I simply point to the GENERIC kernconf under AMD? Any gotchas? Paul Schmehl If it isn't already obvious, my opinions are my own and not those of my employer.
Re: OT: anyone been crazy enough to mirror wikipedia?
You know, the Wikipedia is crap argument is becoming tiresome. Maybe they should have picked a different name. It is not a research tool. However, I use it daily when someone mentions Microsoft's latest TLA, or my daughter wants to see a picture of a blue whale, or I forget what port subversion needs open in my firewall, or the webpage market cap for some obscure company. I consider it to be like the browseable companion to google search. Instead of 100,000 useless references and 'buy it now' links, I can find out a layman's introduction to nearly anything in one click. I fail to see how this makes people so angry. Several of my best friends are english teachers, and they teach all their students 'use wiki, but don't cite it'. This seems to be the defacto social/professional rule for wiki usage, at least in the western USA. I fail to see where the moral panic is. I know it's another slippery argument, but I think there's an interesting observation to be made that the majority of my google searches lately have been putting the wikipedia article for a given topic in the top 5 links. Or maybe I'm just the American Idol poster child. It's a social product, not a professional one. We have those already. Steve On Wed, Jul 2, 2008 at 2:05 PM, Gary Kline [EMAIL PROTECTED] wrote: On Wed, Jul 02, 2008 at 09:12:33PM +0200, Wojciech Puchar wrote: wikipedia is just a pile of junk. everyone can put in it, and unfortunately do. Meanwhile, in print encyclopedias, I see that with restricted writing access and strict editing processes there are typically systemic biases and subtler mistakes that are much easier to overlook -- and the mistakes not only persist until the next edition, but often exist for decades, whereas finding a mistake in Wikipedia is fixable within five minutes. and 3 others are added. The key is that an encyclopedia should never be the *end* of your research. It's basically just a place to look for key terms to research actually what i do - to get the first glance on subject, THEN checking more precisely. but quite often it's crap even at the first glance I'll add my dime's worth, given the years of pure research I've done in recent years. wiki-anything is usually *not* my first choice; but if there are citations that i can find on-line or at my local library in a wiki article, I'll use them. point of fact: i just spent some 45 minutes tracking down an obscure quote. the citation (from the Feb. 1981 ACM) was in a German PDF file. no help from wikipedia, but an example of how much effort it takes to get things right. (or as close-to right as possible.) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Gary Kline [EMAIL PROTECTED] 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] -- Steve Franks, KE7BTE Staff Engineer La Palma Devices, LLC http://www.lapalmadevices.com (520) 312-0089 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Upgrade and change distro?
Date: Wed, 2 Jul 2008 15:55:58 -0500 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: Subject: Upgrade and change distro? I have a dual core Intel server running 6.1 RELEASE i386. I want to update it to 7.0 RELEASE. Can I also switch to the AMD release at the same time? (It's my understanding that all dual core processors should be running AMD not i386.) If so, do I simply point to the GENERIC kernconf under AMD? Any gotchas? Paul Schmehl If it isn't already obvious, my opinions are my own and not those of my employer. AMD64 is for 64-bit chips from AMD and Intel. whether it is multi-core is beside. run i386 still if you want/need 32-bit operating system. there are some features and programs that will NOT work with AMD64. -Sean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Upgrade and change distro?
--On July 2, 2008 5:51:06 PM -0400 Sean Cavanaugh [EMAIL PROTECTED] wrote: Date: Wed, 2 Jul 2008 15:55:58 -0500 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: Subject: Upgrade and change distro? I have a dual core Intel server running 6.1 RELEASE i386. I want to update it to 7.0 RELEASE. Can I also switch to the AMD release at the same time? (It's my understanding that all dual core processors should be running AMD not i386.) If so, do I simply point to the GENERIC kernconf under AMD? Any gotchas? AMD64 is for 64-bit chips from AMD and Intel. whether it is multi-core is beside. run i386 still if you want/need 32-bit operating system. there are some features and programs that will NOT work with AMD64. Thanks, Sean. Maybe I'll understand FreeBSD some day. :-) Will I need to rebuild all my ports after compiling the kernel and world? Paul Schmehl If it isn't already obvious, my opinions are my own and not those of my employer.
wordpress package install failure
When I try to install wordpress: pkg_add ftp://ftp4.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/wordpress-2.5.1,1.tbz Fetching ftp://ftp4.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/wordpress-2.5.1,1.tbz... Done. Fetching ftp://ftp4.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/mysql-client-5.0.51a.tbz... Done. pkg_add: package 'mysql-client-5.0.51a' conflicts with mysql-client-5.1.22 pkg_add: please use pkg_delete first to remove conflicting package(s) or -f to force installation pkg_add: pkg_add of dependency 'mysql-client-5.0.51a' failed! Fetching ftp://ftp4.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/php5-mysql-5.2.6.tbz... Done. pkg_add: could not find package mysql-client-5.0.51a ! pkg_add: pkg_add of dependency 'php5-mysql-5.2.6' failed! Of course, downgrading mysql-client-5.0.51a won't work because you have to downgrade the server, and then who knows where that ball of string will lead. I'd really like the follow the advice of using the packages, but the above happens frequently. Suggestions about how to fix the above? Thanks, Len ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
New user with a possible ZFS problem
FreeBSD Fans, Okay, I'm not exactly a new user. I've been running FreeBSD for about a year or so on my web/mail server, which I only have remote access to. It's currently running 6.3. Saturday I finally found one of those round tuits and switched my home PC from Debian to FreeBSD. I've been a Linux user since the 1.xx Linux kernel days, so it took quite a bit of convincing myself to make the switch. But other than needing to unlearn some bad habits I got into thanks to Linux, I'm feeling right at home. After getting a taste of ZFS while trying out OpenSolaris Indiana under VMware, I decided to give FreeBSD's ZFS implementation a try. Actually before installing FreeBSD I tried a native OpenSolaris Indiana install briefly, but ended up deciding it's new package system wasn't quite ready for prime time yet. Do I really need ZFS? Not really. But after getting a taste of ZFS it'd be hard to go back to regular file systems. I've had a couple of problems and I'm not sure if there ZFS related or not. When I switched my PC to FreeBSD this past Saturday I went by the article located at: http://www.ish.com.au/solutions/articles/freebsdzfs to set up ZFS. I followed the article's loader.conf tweaks advice and added: vm.kmem_size_max=512M vm.kmem_size=512M vfs.zfs.zil_disable=1 to /boot/loader.conf. All went well at first, then eventually I experienced my first hang. If I remember correctly, I had an mp3 playing via mplayer and was moving a large file from one ZFS partition to another. Both the mp3 player and mv command appeared to hang. Checking top one of the processes was in a zfs:lo state and the other was, I think, in a zfs:b state, or something similar. I forget which was which. Eventually they recovered. Eventually I encountered a similar hang with similar symptoms. The second hang might have eventually recovered on it's own but I finally resorted to hitting the power switch. After a little Googling on the process states I tried adding: vfs.zfs.prefetch_disable=1 to /boot/loader.conf. After doing so I gave ZFS a bit of a workout. I shuffled some large files around, etc., and all appeared well. When I went to bed this morning, I had to work graveyards last night, I had an openoffice.org build running, which had been running for eight hours or so. Okay, although I usually install everything from ports maybe I should go with the binary package for OpenOffice. Anyway, when I got up this afternoon my PC was completely locked up. I had no video signal, caps lock and num lock wouldn't change the keyboard LEDs, etc. I finally resorted to hitting the power button. After getting things back up, I freebsd-updated to 7.0-RELEASE-p2, after some Googling and commenting out the chflag calls in freebsd-update. I know, I should have checked for updates right after I finished installing FreeBSD. Anyway, does the above hangs all sound like they're ZFS related. Are there any other settings I should try? Is there a FreeBSD ZFS mailing list? I searched but couldn't find one. Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. Longum iter est per praecepta, breve et efficax per exempla!!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Re: httpd php dump
this is getting to ridiculous levels if i build php only with --with-apxs2=/etc/httpd/bin/apxs then apache starts and httpd/php works ok. anything else added to the configuration - and i tried different stuff - ( --with-mysql=/usr/local/mysql; --with-curl; --with-openssl=/usr) - alone or in combination builds fine but at the time of apache startup it dumps core... apparently the httpd - currently 2.2.9 - configure doesn't matter. so right now the httpd is configured - as intended - with: ./configure --prefix=/etc/httpd --enable-ssl --with-ssl=/usr/local/ssl --enable-rewrite --enable-so --enable-headers --enable-unique-id i tried also with httpd 2.0.63. same thing. i can't imagine anymore what the hell can it be. i've done many other installs and never had this things happening. the machine is freebsd 7. its a 64 bit build on a multiprocessor machine. dual quad core... and identifies itself as amd64... i just don't get it what to look at?! thanks... kalin m wrote: i'd be assuming than that i'd need to build an older apache. this is probably a stupid question but is there anybody out there that is using apache 2.2.9 + php 5.2.6 (as DSO) on freebsd 7 amd64 (multi processor) without problems? thanks... kalin m wrote: sure. ./configure --prefix=/etc/httpd --enable-ssl --with-ssl=/usr/local/ssl --enable-rewrite --enable-so --enable-headers --enable-unique-id like i said there is pretty much nothing in the error log for httpd. it's a brand new install. here is the whole file: [Tue Jul 01 22:45:36 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Tue Jul 01 22:45:37 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations [Tue Jul 01 22:46:19 2008] [error] [client x.x.x.x] File does not exist: /usr/web/favicon.ico [Tue Jul 01 22:50:11 2008] [notice] caught SIGTERM, shutting down [Tue Jul 01 22:52:33 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Tue Jul 01 22:52:34 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations [Tue Jul 01 22:55:29 2008] [notice] caught SIGTERM, shutting down [Tue Jul 01 22:55:35 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Tue Jul 01 22:55:36 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations [Tue Jul 01 23:00:50 2008] [notice] caught SIGTERM, shutting down ~ (just changed my ip there) i suspect the apache so module.. but not really sure executing php files on the cli is working fine to.. it must be the so... httpd and php are supposed to just work together. that's why core dump without any messages is a bit weired. Odhiambo Washington wrote: On Wed, Jul 2, 2008 at 8:19 AM, kalin m [EMAIL PROTECTED] wrote: there is no extensions.ini anywhere on this machine... a brand new one. httpd/logs/error_log has 6 lines in it. something about session cash (SSL) not configured... httpd runs fine without loading the php module Would you like to provide details on how you compiled your apache then? Did you use the ports to install? What options did you compile with? What is this that you have in the error_log that you don't want to reveal? ___ 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: OT: anyone been crazy enough to mirror wikipedia?
On Wed, Jul 2, 2008 at 11:39 AM, Chad Perrin [EMAIL PROTECTED] wrote: On Tue, Jul 01, 2008 at 10:36:22PM -0700, Kurt Buff wrote: We're advising our clients to stock up on canned goods and shotguns - Brain Gremlin Seriously? What kind of business are you in that makes that an appropriate bit of advice? Not seriously. It's a movie quote - Gremlins II, The New Batch. Very funny movie, IMO, with many many quotes and references to other movies within it. Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Execute the command when login
On Wed, 2 Jul 2008 10:00:13 +0200 Matthias Apitz [EMAIL PROTECTED] wrote: You could launch it from ~/.xinitrc for example as: xmodmap.sh exec startkde i tried to do that with ion and it didn't work which came as a surprise. however, i will try it again and maybe with a different wm. -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RT2790 Wireless miniCard - ral not working on Eee Box
Is there a driver for this chipset? If not, why not? :D! No. The developers probably don't have the hardware. If you want support for it, I would suggest donating a card to a developer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Re: httpd php dump
if i build php with all the things i need it builds fine but at the time of instalaltion here is what happens: # make install Installing PHP SAPI module: apache2handler /etc/httpd/build/instdso.sh SH_LIBTOOL='/etc/httpd/build/libtool' libphp5.la /etc/httpd/modules /etc/httpd/build/libtool --mode=install cp libphp5.la /etc/httpd/modules/ cp .libs/libphp5.so /etc/httpd/modules/libphp5.so cp .libs/libphp5.lai /etc/httpd/modules/libphp5.la libtool: install: warning: remember to run `libtool --finish /usr/local/src/php-5.2.6/libs' chmod 755 /etc/httpd/modules/libphp5.so [activating module `php5' in /etc/httpd/conf/httpd.conf] Installing PHP CLI binary:/usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing build environment: /usr/local/lib/php/build/ Installing header files: /usr/local/include/php/ Installing helper programs: /usr/local/bin/ program: phpize program: php-config Installing man pages: /usr/local/man/man1/ page: phpize.1 page: php-config.1 Installing PEAR environment: /usr/local/lib/php/ Segmentation fault (core dumped) *** Error code 139 Stop in /usr/local/src/php-5.2.6. *** Error code 1 Stop in /usr/local/src/php-5.2.6. what is the logical explanation for all this tanks. kalin m wrote: this is getting to ridiculous levels if i build php only with --with-apxs2=/etc/httpd/bin/apxs then apache starts and httpd/php works ok. anything else added to the configuration - and i tried different stuff - ( --with-mysql=/usr/local/mysql; --with-curl; --with-openssl=/usr) - alone or in combination builds fine but at the time of apache startup it dumps core... apparently the httpd - currently 2.2.9 - configure doesn't matter. so right now the httpd is configured - as intended - with: ./configure --prefix=/etc/httpd --enable-ssl --with-ssl=/usr/local/ssl --enable-rewrite --enable-so --enable-headers --enable-unique-id i tried also with httpd 2.0.63. same thing. i can't imagine anymore what the hell can it be. i've done many other installs and never had this things happening. the machine is freebsd 7. its a 64 bit build on a multiprocessor machine. dual quad core... and identifies itself as amd64... i just don't get it what to look at?! thanks... kalin m wrote: i'd be assuming than that i'd need to build an older apache. this is probably a stupid question but is there anybody out there that is using apache 2.2.9 + php 5.2.6 (as DSO) on freebsd 7 amd64 (multi processor) without problems? thanks... kalin m wrote: sure. ./configure --prefix=/etc/httpd --enable-ssl --with-ssl=/usr/local/ssl --enable-rewrite --enable-so --enable-headers --enable-unique-id like i said there is pretty much nothing in the error log for httpd. it's a brand new install. here is the whole file: [Tue Jul 01 22:45:36 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Tue Jul 01 22:45:37 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations [Tue Jul 01 22:46:19 2008] [error] [client x.x.x.x] File does not exist: /usr/web/favicon.ico [Tue Jul 01 22:50:11 2008] [notice] caught SIGTERM, shutting down [Tue Jul 01 22:52:33 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Tue Jul 01 22:52:34 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations [Tue Jul 01 22:55:29 2008] [notice] caught SIGTERM, shutting down [Tue Jul 01 22:55:35 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Tue Jul 01 22:55:36 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations [Tue Jul 01 23:00:50 2008] [notice] caught SIGTERM, shutting down ~ (just changed my ip there) i suspect the apache so module.. but not really sure executing php files on the cli is working fine to.. it must be the so... httpd and php are supposed to just work together. that's why core dump without any messages is a bit weired. Odhiambo Washington wrote: On Wed, Jul 2, 2008 at 8:19 AM, kalin m [EMAIL PROTECTED] wrote: there is no extensions.ini anywhere on this machine... a brand new one. httpd/logs/error_log has 6 lines in it. something about session cash (SSL) not configured... httpd runs fine without loading the php module Would you like to provide details on how you compiled your apache then? Did you use the ports to install? What options did you compile with? What is this that you have in the error_log that you don't want to reveal? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP
Re: sendmail on server with ip aliases
On Wed, 2 Jul 2008 11:56:58 -0400, D W [EMAIL PROTECTED] wrote: Hello, Having a problem with sendmail on some of my servers supporting several virtual apache hosts. Because these servers have 5-10 ip aliases bound, it sometimes trips up sendmail when sending outbound mail to my smarthost. All servers are configured to use the same smarthost. But on one of the hosts, sendmail will send out as the one of the virtual hosts instead of the main host, which is what I need. Example: webhost01.webdomain.com is the host. Five ip aliases for apache virtual servers: Something is probably missing below the last quoted line. Are you using jails for the virtual hosts? If not, then you are probably using *one* Sendmail instance for all the domains, which still sends emails as the primary hostname but should work fine... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New user with a possible ZFS problem
On Wed, 2 Jul 2008, Kevin Monceaux wrote: Saturday I finally found one of those round tuits and switched my home PC from Debian to FreeBSD. I probably should have mentioned that the box in question is a slightly older hyperthreaded Intel Pentium 4 box, an HP m260n to be exact, with 3GB of RAM. Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. Longum iter est per praecepta, breve et efficax per exempla!!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Execute the command when login
On Wed, Jul 02, 2008 at 03:47:30PM -0700, prad wrote: On Wed, 2 Jul 2008 10:00:13 +0200 Matthias Apitz [EMAIL PROTECTED] wrote: You could launch it from ~/.xinitrc for example as: xmodmap.sh exec startkde i tried to do that with ion and it didn't work which came as a surprise. however, i will try it again and maybe with a different wm. i think that xmodmap requires that you have X running for it towork. same with % xset r off that i need to prevent key bounces. In your shell initializatin file (~.login, ~/.zlogin ... ) is where the the xmodmap line belongs. a question for the list:: What is the global test to be sure that X *is* running?? gary -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Gary Kline [EMAIL PROTECTED] 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: Upgrade and change distro?
On Wed, 02 Jul 2008 17:13:11 -0500, Paul Schmehl [EMAIL PROTECTED] wrote: On July 2, 2008 5:51:06 PM -0400 Sean Cavanaugh [EMAIL PROTECTED] wrote: Paul Schmehl wrote: I have a dual core Intel server running 6.1 RELEASE i386. I want to update it to 7.0 RELEASE. Can I also switch to the AMD release at the same time? (It's my understanding that all dual core processors should be running AMD not i386.) If so, do I simply point to the GENERIC kernconf under AMD? Any gotchas? AMD64 is for 64-bit chips from AMD and Intel. whether it is multi-core is beside. run i386 still if you want/need 32-bit operating system. there are some features and programs that will NOT work with AMD64. Thanks, Sean. Maybe I'll understand FreeBSD some day. :-) Will I need to rebuild all my ports after compiling the kernel and world? Hi Paul, If you change from 6.X to 7.0-RELEASE, then ``yes, that's a good idea''. If you change from 32-bit 6.X to 64-bit 7.0-RELEASE, you will _have_ to rebuild your ports as 64-bit applications. Any subsequent port builds will be built as 64-bit applications, so if you keep the 32-bit versions around you will end up with a very odd mix of 32-bit and 64-bit parts. That's bound to cause a lot of grief in the long run... NOTE: If you rebuild FreeBSD 7.0 as a i386 (32-bit) system, it's probably going to be a good idea to start from the packages in the release CD-ROMs and then only rebuild the stuff that *really* *REALLY* needs rebuilding. A couple of very good reasons to rebuild a subset of your ports are: * You need non-default options when building some ports. * Important security fixes in one of the installed ports. A good indication of when to rebuild ports/packages to fix security issues may be provided by the `ports-mgmt/portaudit' utility. The output of running `portaudit' looks like this: : [EMAIL PROTECTED]:/root# portaudit -Fa : auditfile.tbz 100% of 49 kB 9279 Bps : New database installed. : Affected package: fetchmail-6.3.8_6 : Type of problem: fetchmail -- potential crash in -v -v verbose mode (revised patch). : Reference: http://www.FreeBSD.org/ports/portaudit/1e8e63c0-478a-11dd-a88d-000ea69a5213.html : : 1 problem(s) in your installed packages found. : : You are advised to update or deinstall the affected package(s) immediately. : [EMAIL PROTECTED]:/root# This sort of output from `portaudit' means I can keep using my installed ports, after rebuilding only the `mail/fetchmail' utility (and any ports that depend on it). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade and change distro?
On Wed, 02 Jul 2008 17:13:11 -0500 Paul Schmehl [EMAIL PROTECTED] wrote: --On July 2, 2008 5:51:06 PM -0400 Sean Cavanaugh [EMAIL PROTECTED] wrote: AMD64 is for 64-bit chips from AMD and Intel. whether it is multi-core is beside. run i386 still if you want/need 32-bit operating system. there are some features and programs that will NOT work with AMD64. Thanks, Sean. Maybe I'll understand FreeBSD some day. :-) Will I need to rebuild all my ports after compiling the kernel and world? If you are talking about going from 6.x to 7.x then you should, but you can probably get away without doing it. If you are talking about going from i386 6.x to amd64 7.x, and you have to ask, you should be doing a clean FreeBSD install. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Re: httpd php dump
what would this mean: # ./configure --prefix=/etc/httpd --enable-ssl --with-ssl=/usr/local/ssl --enable-rewrite --enable-so --enable-headers --enable-unique-id checking for chosen layout... Apache checking for working mkdir -p... yes checking build system type... x86_64-unknown-freebsd7.0 checking host system type... x86_64-unknown-freebsd7.0 checking target system type... x86_64-unknown-freebsd7.0 Configuring Apache Portable Runtime library ... checking for APR... apr-1-config: not found reconfig configuring package in srclib/apr now configure: WARNING: Unrecognized options: --enable-ssl, --with-ssl, --enable-rewrite, --enable-so, --enable-headers, --enable-unique-id checking build system type... x86_64-unknown-freebsd7.0 checking host system type... x86_64-unknown-freebsd7.0 checking target system type... x86_64-unknown-freebsd7.0 Configuring APR library ... Unrecognized options?! kalin m wrote: if i build php with all the things i need it builds fine but at the time of instalaltion here is what happens: # make install Installing PHP SAPI module: apache2handler /etc/httpd/build/instdso.sh SH_LIBTOOL='/etc/httpd/build/libtool' libphp5.la /etc/httpd/modules /etc/httpd/build/libtool --mode=install cp libphp5.la /etc/httpd/modules/ cp .libs/libphp5.so /etc/httpd/modules/libphp5.so cp .libs/libphp5.lai /etc/httpd/modules/libphp5.la libtool: install: warning: remember to run `libtool --finish /usr/local/src/php-5.2.6/libs' chmod 755 /etc/httpd/modules/libphp5.so [activating module `php5' in /etc/httpd/conf/httpd.conf] Installing PHP CLI binary:/usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing build environment: /usr/local/lib/php/build/ Installing header files: /usr/local/include/php/ Installing helper programs: /usr/local/bin/ program: phpize program: php-config Installing man pages: /usr/local/man/man1/ page: phpize.1 page: php-config.1 Installing PEAR environment: /usr/local/lib/php/ Segmentation fault (core dumped) *** Error code 139 Stop in /usr/local/src/php-5.2.6. *** Error code 1 Stop in /usr/local/src/php-5.2.6. what is the logical explanation for all this tanks. kalin m wrote: this is getting to ridiculous levels if i build php only with --with-apxs2=/etc/httpd/bin/apxs then apache starts and httpd/php works ok. anything else added to the configuration - and i tried different stuff - ( --with-mysql=/usr/local/mysql; --with-curl; --with-openssl=/usr) - alone or in combination builds fine but at the time of apache startup it dumps core... apparently the httpd - currently 2.2.9 - configure doesn't matter. so right now the httpd is configured - as intended - with: ./configure --prefix=/etc/httpd --enable-ssl --with-ssl=/usr/local/ssl --enable-rewrite --enable-so --enable-headers --enable-unique-id i tried also with httpd 2.0.63. same thing. i can't imagine anymore what the hell can it be. i've done many other installs and never had this things happening. the machine is freebsd 7. its a 64 bit build on a multiprocessor machine. dual quad core... and identifies itself as amd64... i just don't get it what to look at?! thanks... kalin m wrote: i'd be assuming than that i'd need to build an older apache. this is probably a stupid question but is there anybody out there that is using apache 2.2.9 + php 5.2.6 (as DSO) on freebsd 7 amd64 (multi processor) without problems? thanks... kalin m wrote: sure. ./configure --prefix=/etc/httpd --enable-ssl --with-ssl=/usr/local/ssl --enable-rewrite --enable-so --enable-headers --enable-unique-id like i said there is pretty much nothing in the error log for httpd. it's a brand new install. here is the whole file: [Tue Jul 01 22:45:36 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Tue Jul 01 22:45:37 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations [Tue Jul 01 22:46:19 2008] [error] [client x.x.x.x] File does not exist: /usr/web/favicon.ico [Tue Jul 01 22:50:11 2008] [notice] caught SIGTERM, shutting down [Tue Jul 01 22:52:33 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Tue Jul 01 22:52:34 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations [Tue Jul 01 22:55:29 2008] [notice] caught SIGTERM, shutting down [Tue Jul 01 22:55:35 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Tue Jul 01 22:55:36 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations [Tue Jul 01 23:00:50 2008] [notice] caught SIGTERM, shutting down ~ (just changed my ip there) i suspect the apache so module.. but not really sure executing php files on the cli is
Re: httpd php dump
kalin m wrote: ok... what to do? freebsd 7; httpd 2.2.9; php5.2.6 (or 5.1.2) php was configured with just this : ./configure --with-mysql=/usr/local/mysql --with-apxs2=/etc/httpd/bin/apxs Is there a reason you're not installing it through ports, which are extremely widely tested and patch FreeBSD-specific problems with a lot of software? -- Kirk Strauser ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: anyone been crazy enough to mirror wikipedia?
On Wed, Jul 02, 2008 at 03:38:48PM -0700, Kurt Buff wrote: On Wed, Jul 2, 2008 at 11:39 AM, Chad Perrin [EMAIL PROTECTED] wrote: On Tue, Jul 01, 2008 at 10:36:22PM -0700, Kurt Buff wrote: We're advising our clients to stock up on canned goods and shotguns - Brain Gremlin Seriously? What kind of business are you in that makes that an appropriate bit of advice? Not seriously. It's a movie quote - Gremlins II, The New Batch. Very funny movie, IMO, with many many quotes and references to other movies within it. It has been so long since I've seen it that I don't remember anything much about it. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Nat Torkington, on Perl internals: . . . an interconnected mass of livers and pancreas and lungs and little sharp pointy things and the occasional exploding kidney. pgpeAQ6VWSy7x.pgp Description: PGP signature
Re: OT: anyone been crazy enough to mirror wikipedia?
On Wed, Jul 02, 2008 at 09:12:33PM +0200, Wojciech Puchar wrote: wikipedia is just a pile of junk. everyone can put in it, and unfortunately do. Meanwhile, in print encyclopedias, I see that with restricted writing access and strict editing processes there are typically systemic biases and subtler mistakes that are much easier to overlook -- and the mistakes not only persist until the next edition, but often exist for decades, whereas finding a mistake in Wikipedia is fixable within five minutes. and 3 others are added. Do you really think such absurd exaggeration makes a valid point? The key is that an encyclopedia should never be the *end* of your research. It's basically just a place to look for key terms to research actually what i do - to get the first glance on subject, THEN checking more precisely. but quite often it's crap even at the first glance I guess your definition of quite often must be much more permissive than mine -- or you just have a real knack for finding bad information. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Albert Camus: An intellectual is someone whose mind watches itself. pgpsLtrKDyTJD.pgp Description: PGP signature
to shell (and X window System) wizards.
would this works, say in .zlogin, to say that X is up: if [ -e /tmp/.X11-unix/X0 ] then echo X is up. exit 0; else echo No X yet exit 1; fi or is there something more clever? -- Gary Kline [EMAIL PROTECTED] 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: SAMBA 3.0.28a and CVE-2008-1105
On Fri, Jun 20, 2008 at 1:20 PM, O. Hartmann [EMAIL PROTECTED] wrote: Johan Hendriks wrote: Konrad Heuer wrote: On Thu, 19 Jun 2008, O. Hartmann wrote: We still have Samba R3.0.28a in the ports but regarding to CVE-2008-1105 shouldn't it be R3.0.30? As far as I know the mentioned security patch gets applied when Each new version of Samba has it's own bugs, so I prefer not to commit 0 day release versions, but wait, until it's got proven to be stable enough. Again, there are talks about 3.0.31 release due some new fixes... *sigh* With regards, Timur. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Re: httpd php dump
kalin m wrote: what would this mean: # ./configure --prefix=/etc/httpd --enable-ssl --with-ssl=/usr/local/ssl --enable-rewrite --enable-so --enable-headers --enable-unique-id checking for chosen layout... Apache checking for working mkdir -p... yes checking build system type... x86_64-unknown-freebsd7.0 checking host system type... x86_64-unknown-freebsd7.0 checking target system type... x86_64-unknown-freebsd7.0 Configuring Apache Portable Runtime library ... checking for APR... apr-1-config: not found reconfig It didn't find apr-1-config executable in your path, e.g. you did not install apr and apr-util individually before building httpd (we hope) configuring package in srclib/apr now configure: WARNING: Unrecognized options: --enable-ssl, --with-ssl, --enable-rewrite, --enable-so, --enable-headers, --enable-unique-id Unrecognized options?! autoconf 1.62 new noise, entirely violates autoconf's design principals (that warnings shouldn't be emitted and especially not for sub-packages). apr doesn't have these options, httpd does. We've hacked apr-1.3 to resolve this chaos, but you'll have to wait for a new httpd package to clean up the noise. In the meantime, ignore it. It's meaningless (these were always unrecognized by apr, it just didn't whine about it.) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Execute the command when login
Mine is fvwm. Putting the command in ~/.xinitrc doesn't work. Best to all. On Thu, Jul 3, 2008 at 6:47 AM, prad [EMAIL PROTECTED] wrote: On Wed, 2 Jul 2008 10:00:13 +0200 Matthias Apitz [EMAIL PROTECTED] wrote: You could launch it from ~/.xinitrc for example as: xmodmap.sh exec startkde i tried to do that with ion and it didn't work which came as a surprise. however, i will try it again and maybe with a different wm. -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- HUANG Ronggui, Wincent http://ronggui.huang.googlepages.com/ Bachelor of Social Work, Fudan University, China Master of sociology, Fudan University, China Ph.D. Candidate, CityU of HK. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Execute the command when login
My solution: add the command to ~/xinitrc ### content of ~/.xinitrc xmodmap ~/.xmodmaprc exec fvwm ### xmodmap must come before exec fvwm, otherwise it take no effect. I tried to put xmodmap to ~/.login as well, but it is not satisfying. When I login, FB complains, as xmodmap has to executed after X starts. Best On Thu, Jul 3, 2008 at 10:39 AM, ronggui [EMAIL PROTECTED] wrote: Mine is fvwm. Putting the command in ~/.xinitrc doesn't work. Best to all. On Thu, Jul 3, 2008 at 6:47 AM, prad [EMAIL PROTECTED] wrote: On Wed, 2 Jul 2008 10:00:13 +0200 Matthias Apitz [EMAIL PROTECTED] wrote: You could launch it from ~/.xinitrc for example as: xmodmap.sh exec startkde i tried to do that with ion and it didn't work which came as a surprise. however, i will try it again and maybe with a different wm. -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- HUANG Ronggui, Wincent http://ronggui.huang.googlepages.com/ Bachelor of Social Work, Fudan University, China Master of sociology, Fudan University, China Ph.D. Candidate, CityU of HK. -- HUANG Ronggui, Wincent http://ronggui.huang.googlepages.com/ Bachelor of Social Work, Fudan University, China Master of sociology, Fudan University, China Ph.D. Candidate, CityU of HK. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Execute the command when login
El día Thursday, July 03, 2008 a las 11:30:03AM +0800, ronggui escribió: My solution: add the command to ~/xinitrc ### content of ~/.xinitrc xmodmap ~/.xmodmaprc exec fvwm ### xmodmap must come before exec fvwm, otherwise it take no effect. Of course it will not work if you put it after 'exec fvwm' because than it will get executed after fvwm dies and perhaps Xorg terminates; as I said in my post you must ensure to have a proper DISPLAY variable in your environment and X must be up in the moment you lauch any X-application; both are missing in your ~/.xinitrc above; try this: make a file xmodmap.sh with #!/bin/sh DISPLAY=:0.0 export DISPLAY sleep 10 xclock put into your ~/.xinitrc the lines: sh ~/xmodmap.sh exec fvwm (don't miss the '' sign!) and watch if the xclock comes up after fvwm is up; matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ «...una sola vez, que es cuanto basta si se trata de verdades definitivas.» «...only once, which is enough if it has todo with definite truth.» José Saramago, Historia del Cerca de Lisboa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Getting PAM up inside chroot issues
Hi all I'm trying to getting PAM up inside a chroot. I'm using FreeBSD 7.0 on i386. su -l shows following error: su: pam_start: system error strace su -l shows following failures: access(/etc/localtime, R_OK) = 0 open(/etc/localtime, O_RDONLY)= 4 fstat(4, {st_mode=S_IFLNK|S_ISGID|052, st_size=18445798717047743530, ...}) = 0 read(4, 3\244\374\377*\244\374\3773\244\374\3773\244\374\3773\244..., 7944) = 171 close(4)= 0 socket(PF_UNIX, SOCK_DGRAM, 0) = 4 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 connect(4, {sa_family=0xa4 /* AF_??? */, sa_data=\374\377\\[x\0%02x\0%1x}, 106) = -1 ENOENT (No such file or directory) connect(4, {sa_family=0x2f /* AF_??? */, sa_data=ystem call\0Inp}, 106) = -1 ENOENT (No such file or directory) connect(4, {sa_family=0x74 /* AF_??? */, sa_data=d processes\0Re}, 106) = -1 ENOENT (No such file or directory) close(4)= 0 sendto(-1, source deadlock avoided\0Cannot a..., 72, 0, NULL, 0) = -1 EBADF (Bad file descriptor) socket(PF_UNIX, SOCK_DGRAM, 0) = 4 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 connect(4, {sa_family=0x6c /* AF_??? */, sa_data=nk\0\0\0\0Operatio}, 106) = -1 ENOENT (No such file or directory) There is no failure up to reading the /etc/localtime. This shows the socket (fd=4) disappeared before the connect. What am I still missing in my chroot? Where does this socket get created? is it the current directory where su initiated or somewhere else? Appreciate your help to identify the cause. Kind regards Unga ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]