Re: hosts is ignored
Erich Dollansky wrote: Hi, I have the feeling to be blind but I cannot find out why my FreeBSD 6.2 machine ignores hosts. host.conf says hosts dns What is host.conf used for? Never heard of it. Put the following line in your resolv.conf lookup file bind Peter -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hosts is ignored
Peter Boosten wrote: What is host.conf used for? Never heard of it. Ah, found it... ra# cat host.conf # Auto-generated from nsswitch.conf, do not edit hosts bind Peter -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php5-5.2.3_1 / website behaves as if not enabled in httpd.conf
Hi there again, 2007/9/12, Ian Smith [EMAIL PROTECTED]: On Tue, 11 Sep 2007 19:19:32 +0200 Zbigniew Szalbot wrote: I decided to upgrade my home machine to php5.2.3 from 4.4.7. All went fine. I had one error about hash extension already loaded which I solved by deleting a duplicated entry from extensions.ini. The curious thing is that once apache has been restarted, if I want to load a website which resides on this box, it behaves as if no php was enabled in apache. In other words I can see the directory content (files present in a given directory) despite index.php being there. What is more strange is that when I click reload, the website is indeed loaded into browser! So when I first type an URL, it shows directory content. After hitting reload in browser (tested with both FF and IE), the page is shown. Except for the reload bit - perhaps I never tried that - I've been here. My first thought was checking httpd.conf IfModule mod_php5.c DirectoryIndex index.php index.php3 index.html /IfModule and also AddType application/x-tar .tgz AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps The latter AddTypes should be within IfModule mod_mime.c section? No, it wasn't in there but I moved it to this section. There is no difference. I cannot start apache. index.php3 there looks a bit odd, unless you're supporting some old .php3 scripts? If you're then still having trouble, show us the whole IfModule mod_dir.c .. /IfModule section? For a php4 to php5 update, make sure you also have such as: #LoadModule php4_module libexec/apache/libphp4.so LoadModule php5_module libexec/apache/libphp5.so and #AddModule mod_php4.c AddModule mod_php5.c And check that /usr/local/libexec/apache/libphp5.so exists! Everything is fine here. But I think now that the problem is not with apache but with php. It does not even matter if I do start or startssl. In both instances the httpd server dies. The reason I think it is php-related is that when I issue php -v I get: PHP 5.2.3 with Suhosin-Patch 0.9.6.2 (cli) (built: Sep 12 2007 08:59:52) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies Segmentation fault (core dumped) pkg_info | grep php5 php5-5.2.3_1PHP Scripting Language (Apache Module and CLI) I do not really feel like upgrading apache (as suggested by someone else - thank you by the way) because it is just a home machine on which I do not need all the greatest and latest. If there's nothing obvious that comes to your mind I will try posting it on a php list. Thank you! Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hosts is ignored
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Peter Boosten wrote: Peter Boosten wrote: What is host.conf used for? Never heard of it. Ah, found it... ra# cat host.conf # Auto-generated from nsswitch.conf, do not edit hosts bind hosts.conf is a legacy thing, from before the days when FreeBSD had nsswitch.conf. It provides a small subset of the functionality that nsswitch.conf does, and unlike nsswitch.conf it isn't extensible to allow such things as looking up hosts from LDAP. I think most apps nowadays don't use it, except perhaps for old binaries run in compatability mode. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. Flat 3 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW, UK -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG55X83jDkPpsZ+VYRAxVTAKC3gPYk4IX7ZA/BBJYISjRYbS5kQACfdAwS RMNRObVXGLeNoxp2iDZnzh0= =B1Yk -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hosts is ignored
Hi, Peter Boosten wrote: Erich Dollansky wrote: Hi, I have the feeling to be blind but I cannot find out why my FreeBSD 6.2 machine ignores hosts. host.conf says hosts dns What is host.conf used for? Never heard of it. Put the following line in your resolv.conf lookup file bind no change. Hosts is still fully ignored. Erich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which versioning system is the simplest to use??
On 22:44 Tue 11 Sep , David Christensen wrote: Agus wrote: I am doing a little bit of security and log watching with sec.pl and was trying to mantain de secconf files organized... So whenever one is changed it keeps track of the change and can rollback O that is what i am going to use de versioning sytem for... This is just my experiance on this stuff. There are no right or wrong ways to do it, and happily, all kinds of altrnatives. If you only have a file or two, I'd suggest RCS. man rcs should get you going. An earlier version of this book helped me understand RCS well enough to write custom scripts that used RCS on sets of files: http://www.oreilly.com/catalog/rcs/index.html I've use RCS pretty religiously for system administration...but in fact rarely do I actually refer back to older revisions in practice. I've always just refered to this document: http://www.samag.com/documents/s=9367/sam9812a/9812a.htm which has been enough to get me by. The biggest hassle is the $LOGNAME deal which can different depending on how one gets a root shell. Then I heard about CVS, which uses RCS format archive files (so you can use either tool) and provides the set functionality I needed plus more. info cvs is the online resource, but I did better with an earlier version of the book: http://cvsbook.red-bean.com/cvsbook.html I now use CVS to maintain version control of the configuration files on my various systems. I build a CVS tree which is a sparse mirror of the root file system. Whenever I want to change a configuration file in the live tree, I copy the intervening directories and/or file into the CVS tree, check everything in, make my changes, copy the changed filed back to the original location, test, and repeat the edit/ copy/ test sequence as necessary. When all is well, I check in the file to CVS. As a variation on a theme, I sometimes move the live file and replace it with a symbolic link into the CVS tree. But this approach can be messier when you make a mistake and destabilize the system. YMMV. Using CVS in this way provides for the use cases you've identified, and it also allows me to check out the trees from other machines to compare/ contrast. Best yet is when I rebuild a machine -- restoring configuration is a matter of installing CVS, check out the system configuration file tree, and copying/linking. I tend to use revision control for (software) systems I create or maintain installations of, but find it worthwhile to create a Makefile to actually install the files (and often the system itself.) I find this more flexible in that I can create different targets to do different things, structure my repository differently than the destination, ensure proper ownership and modes of the files, etc. A script would work to, but I happen to know gmake reasonably well. CVS is pretty easy to set up and maintain, and works fine for reasonable source trees in my experiance. CVS is simple enough so that all kinds of games can be played, but often these games (like moving thing in the repository) invalidate revision control at a basic level. My experiance is that people figure out what is possible some time before they figure out what exactly they have done...but also that in practice, it rarely matters. I suspect that there is are open-source projects that already do much or all of what I'm doing with CVS. You might want to look or ask around -- try tripwire. SVN is supposed to be a better CVS, etc.. But as I understand it, SVN assigns a the same version number to every file in a set whenever any one of them changes. I prefer the RCS and CVS approach of numbering each file independently, so I can easily determine which files in a set have changed and which haven't. This ability was critical for me when I was doing kernel/ device driver development and comparing/ using various FreeBSD, NetBSD, and OpenBSD source files. At the time they all used RCS/ CVS numbering, so it was easy to see what files were the same and what were different between the platforms. I much prefer SVN to CVS after using it some in the context of a somewhat bloated repository...though I prefer it for small ones as well. I very much consider the revision scheme you mention a feature rather than a bug. It almost completely invalidates the need for static tagging among other things. SVN is considerably more complex to install and manage than CVS, but not to bad with ports and a simple mode of access (of which there are several.) Many open-source projects are switching or starting out under SVN these days, so that would be a choice factor...if I were making the choice. http://svnbook.red-bean.com/ Thanks, - Tom HTH, David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail
Re: hosts is ignored
On Wednesday 12 September 2007 07:46:15 Erich Dollansky wrote: Hi, Peter Boosten wrote: Erich Dollansky wrote: Hi, I have the feeling to be blind but I cannot find out why my FreeBSD 6.2 machine ignores hosts. host.conf says hosts dns What is host.conf used for? Never heard of it. Put the following line in your resolv.conf lookup file bind no change. Hosts is still fully ignored. And the permissions for /etc/hosts ? I know it's a dumb question but something like this happened to me once and I discovered that something had changed file permissions so it was not readable. It happened to me in Linux but it's still worth a check. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gmirror woes
Priority: 0 Flags: DIRTY GenID: 1 SyncID: 2 ID: 1129080348 But when I try to run gmirror configure -a mirror/gm0s1, I get: No such device: mirror/gm0s1. Can someone give me some pointers here? gmirror configure -a gm0s1 (no mirror/ here) Thanks, --Brian ___ 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: hosts is ignored
Hi, Pollywog wrote: Hosts is still fully ignored. And the permissions for /etc/hosts ? I know it's a dumb question but something like this happened to me once and I discovered that something had changed file permissions so it was not readable. It happened to me in Linux but it's still worth a check. checked. It is readable by all. I agree. It is something stupid like. I just can't see it. It will be the joke of the year at the end. Erich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how to change next boot from windows to freebsd?
Hello guys On my pc I have FreeBSD and Windows partitions. I often use my computer remotly, and sometimes i need to switch from bsd to windows and vice versa. I use freebsd's boot manager to select os at boot, and it remembers my last choice. When I am in bsd from ssh i use boot0cfg to set what partition should be used on next boot and then reboot - it works - this way i can successfuly switch from bsd to windows. But the problem is how to switch next boot when I am at windows via remote desktop??! I need something like boot0cfg but for windows, but it doesnt exist ) Need help, 10x in advance! p.s. my bsd is FreeBSD 6.2 i386; my windows is windows server 2003 x64 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to change next boot from windows to freebsd?
Hi, I am not sure but cygwin could be of help here. Erich Georgi Iovchev wrote: Hello guys On my pc I have FreeBSD and Windows partitions. I often use my computer remotly, and sometimes i need to switch from bsd to windows and vice versa. I use freebsd's boot manager to select os at boot, and it remembers my last choice. When I am in bsd from ssh i use boot0cfg to set what partition should be used on next boot and then reboot - it works - this way i can successfuly switch from bsd to windows. But the problem is how to switch next boot when I am at windows via remote desktop??! I need something like boot0cfg but for windows, but it doesnt exist ) Need help, 10x in advance! p.s. my bsd is FreeBSD 6.2 i386; my windows is windows server 2003 x64 ___ 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: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)
Hello, 2007/9/12, Edward Kay [EMAIL PROTECTED]: Dear all, I hope you can help me. I am running FreeBSD 6.2 and I decided to upgrade from php 4.4.7_1 to php5-5.2.3_1. However, after removing php4 and installing php5 and php5-extensions I am unable to start apache. What do the Apache error logs say? Nothing that would be of help: httpd-error.log [Wed Sep 12 09:04:17 2007] [notice] mod_security/1.9.4 configured A new such line is added when I try to start apache. Apache does not start even when I use non-ssl option (apachectl start). messages: Sep 12 12:04:44 szalbot kernel: pid 26602 (httpd), uid 0: exited on signal 11 (core dumped) Many thanks! Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: subversion 1.4.4_1: svnserve.in missing
Giorgos Keramidas wrote: On 2007-09-11 06:40, Kyle Allender [EMAIL PROTECTED] wrote: Giorgos Keramidas wrote: sia# svn co \ http://svn.calendarserver.org/repository/calendarserver/CalendarServer/trunk \ CalendarServer /libexec/ld-elf.so.1: /usr/lib/libkrb5.so: Undefined symbol initialize_asn1_error_table_r Hmmm, very odd indeed. What does ldd(1) show for your subversion binary? Which kerberos library does it link with? This looks like something to ld-elf.so.1 picking up the wrong Kerberos library from /usr/lib, while the port-build picked up another Kerberos installation from /usr/local :-/ sia# /usr/bin/ldd /usr/local/bin/svn /usr/local/bin/svn: [...] (0x28093000) libgssapi_krb5.so = /usr/local/lib/libgssapi_krb5.so (0x2840f000) libkrb5.so = /usr/lib/libkrb5.so (0x28439000) libk5crypto.so = /usr/local/lib/libk5crypto.so (0x2846d000) libkrb5.so = /usr/local/lib/libkrb5.so (0x2869c000) libcom_err.so = /usr/local/lib/libcom_err.so (0x2871c000) libkrb5support.so = /usr/local/lib/libkrb5support.so (0x28722000) [...] Nice. This is a strange mixture of ports-based and non ports-based krb5 libraries. I'm not sure how the subversion binary managed to link with this sort of library mismatch, but here's the source of your problems :( It looks like libk5crypto.so is pointing to /usr/local/lib while libkrb5.so points to /usr/local. Right, and a few others too. There is the kerberos installed with the OS and then the libraries I installed from ports - could that be the problem? sia# pkg_info | grep krb krb5-1.6.2 An authentication system developed at MIT, successor to Ker sia# Do you really need two separate Kerberos implementations? If the port version is aabsolutely necessary, then it may be necessary to remove the kerberos5 parts of the base-system and rebuild with: WITHOUT_KERBEROS='yes' Alternatively, you should rebuild the ports which use Kerberos5 after removing the security/heimdal port. The first pass at portupgrade with the subversion depedencies was successful except for subversion itself. A second attempt after a make clean and it built with no problems - and it's working. Thanks much for all your help. K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: system crash/reset [solved]
Quick followup. I changed the NIC, still got the freezes and crashes. It turned out it was the ICH9 soundcard, with the lowlatency drivers. They worked fine on my laptop, but it seems they were the culprit on my desktop. I bought a CMI soundcard, which works fine, no freezes/etc for almost a week now :) Thanks everyone for your suggestions. -- Regards, Ghirai. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hosts is ignored
On Wed, 12 Sep 2007 17:51:23 +0800 Erich Dollansky said: Hi, checked. It is readable by all. I agree. It is something stupid like. Try to delete and re-type it. I got stung by a non-printing character once ... Regards, -- Don Read [EMAIL PROTECTED] -- It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hosts is ignored
Hi, Don Read wrote: On Wed, 12 Sep 2007 17:51:23 +0800 Erich Dollansky said: Hi, checked. It is readable by all. I agree. It is something stupid like. Try to delete and re-type it. I got stung by a non-printing character once ... thanks, this was the reason. Erich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 550 5.7.1 [EMAIL PROTECTED]... Relaying denied
On Wed, 12 Sep 2007 at 06:48 +0100, [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 johan Hartono wrote: Yes, it is a very interesting topic I'd like to discuss next. I don't know why, in FreeBSD, even though you install postfix it will appears as sendmail. Will this become any problem? All of the available MTAs will do that, because the standard Unix API for an application to send e-mail is for that app to pipe the message into the STDIN of /usr/sbin/sendmail. Alternative MTAs have always therefore provided a high degree of sendmail compatibility and expect to have binaries either installed as or linked to /usr/sbin/sendmail. Unlike most other Unix or unix-oid systems, FreeBSD has a slightly more sophisticated variation on this. /usr/sbin/sendmail is actually a wrapper program and not Sendmail Brand sendmail(tm) at all -- see mailwrapper(8) for details. Simply by editing the configuration file /etc/mail/mailer.conf you can switch between sendmail-from-the-base-system, sendmail-from-ports, exim, postfix, qmail, ssmtp and probably half a dozen others. mailer.conf also covers a number of other sendmail related commands like newaliases(1) and hoststat(8). The sendmail binary provided by the base system is installed as /usr/libexec/sendmail/sendmail Correct. And if you install Postfix from the ports collection, it will ask you if you want Postfix installed into the mailer.conf. Therefore, if the OP did not install through the ports, the mailer.conf might not have been changed. Either way, the logs the OP was showing are not Posfix. I just did a quick test from a terminal using sendmail and this is what it looks like: Sep 12 11:54:11 duane postfix/local[71012]: 673D66D437: to=[EMAIL PROTECTED], orig_to=[EMAIL PROTECTED], relay=local, delay=7.8, delays=7.7/0.02/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox) None of the logs that were shown bare the Postfix name. -- _|_ (_| | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to change next boot from windows to freebsd?
Erich Dollansky wrote: Hi, I am not sure but cygwin could be of help here. Not very likely. The OP might want to try using the Windows boot loader (ntldr) instead of FreeBSD's, as it is configured by a text file (c:\boot.ini) which can be edited from both FreeBSD and Windows. There are several online tutorials on how to use it to boot Linux, use boot1 file for the FreeBSD boot sector. I have no idea how to enable the Windows boot loader after both Windows and FreeBSD are installed on the machine and FreeBSD's loader is installed. signature.asc Description: OpenPGP digital signature
Re: subversion 1.4.4_1: svnserve.in missing
On 2007-09-12 06:10, Kyle Allender [EMAIL PROTECTED] wrote: Giorgos Keramidas wrote: sia# pkg_info | grep krb krb5-1.6.2 An authentication system developed at MIT, successor to Ker sia# Do you really need two separate Kerberos implementations? If the port version is aabsolutely necessary, then it may be necessary to remove the kerberos5 parts of the base-system and rebuild with: WITHOUT_KERBEROS='yes' Alternatively, you should rebuild the ports which use Kerberos5 after removing the security/heimdal port. The first pass at portupgrade with the subversion depedencies was successful except for subversion itself. A second attempt after a make clean and it built with no problems - and it's working. Thanks much for all your help. Neat, I'm glad that after all your persistence and several failed attempts at fixing this, you eventually made it all work :-) - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
modular Xorg: which driver?
Hello, I am building Xorg, and I am about to choose drivers. My guess is I810. Would that be OK? [EMAIL PROTECTED]:2:0: class=0x03 card=0x12bc103c chip=0x25728086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82865G Integrated Graphics Device' class = display subclass = VGA Thanks Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: modular Xorg: which driver?
Written by Nikos Vassiliadis on 09/12/07 07:42 Hello, I am building Xorg, and I am about to choose drivers. My guess is I810. Would that be OK? [EMAIL PROTECTED]:2:0: class=0x03 card=0x12bc103c chip=0x25728086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82865G Integrated Graphics Device' class = display subclass = VGA Thanks Nikos You are correct. This device can be accelerated with dri as of 6-STABLE around February 2007. The correct drm module to load is i915. [EMAIL PROTECTED] ~ pciconf -lv | grep -A 4 agp [EMAIL PROTECTED]:2:0: class=0x03 card=0x01511028 chip=0x25728086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82865G Integrated Graphics Device' class = display subclass = VGA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: modular Xorg: which driver?
Nikos Vassiliadis wrote: Hello, I am building Xorg, and I am about to choose drivers. My guess is I810. Would that be OK? [EMAIL PROTECTED]:2:0: class=0x03 card=0x12bc103c chip=0x25728086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82865G Integrated Graphics Device' class = display subclass = VGA Thanks Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Your guess is correct! I was running this driver on my shuttle xpc before I added an Nvidia card. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: modular Xorg: which driver?
On Wednesday 12 September 2007 15:56, Reid Linnemann wrote: This device can be accelerated with dri as of 6-STABLE around February 2007. The correct drm module to load is i915. You ask for X and you get X AND a bonus reply for acceleration! Off I go... Thanks Reid! Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Gmirror on a partition of a slice
Hello, this question is somewhat related to my earlier question regarding gstripe during install where the common conclusion was to gmirror the root partition and gstripe the rest as you can't boot from a gstripe'd volume (which I later confirmed in http://misc.allbsd.de//Flyer/FreeBSD/PDF/en/flyer-en-fbsd-geom.pdf). Using http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html and http://people.freebsd.org/~rse/mirror/ as pointers, as well as handbook and man pages, I tried to set up gmirror on a partition of a slice the following way (using identical 1Gb disks da0 da1), but couldn't get the OS to boot from gmirror'ed partition. I'm probably doing something wrong here, but I've googled my a** off and haven't found any hints for gmirror'ing a partition, though the documentation states that either disks, slices or partitions should work just fine as gmirror consumers. The man and handbook pages cover examples using entire disks and when I use entire disk for gmirror, the setup works fine; when trying to gmirror a partition, it just won't boot. If anyone succeeded in gmirror'ing a partition, please tell me how. In short: 1) install FreeBSD on 1st disk /dev/da0s1a 2) create slice on 2nd disk fdisk -BI /dev/da1 3) bsdlabel -w -B /dev/da1s1 4) edit BSD label to create a partition for gmirror a: 100 164.2BSD 2048 163848 c: 20971200unused0 0 # raw part 5) gmirror label -h -n -b round-robin gm0 /dev/da1s1a to create mirror 6) fdisk -BI /dev/mirror/gm0 to create a slice in gm0 7) bsdlabel -w -B /dev/mirror/gm0s1 to create root partition a: 995951 16 4.2BSD 2048 16384 8 c: 9959670 unused0 0 # raw part 8) newfs, mount, dump/restore to /dev/mirror/gm0s1a, modify fstab, loader.conf, create boot.config to boot off mirror 9) reboot ... and at that point I get Not ufs and No /boot/loader. Thanks for any input! -- Nino ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem with logs
Hello All, I am having trouble understanding what is going on and how to solve the problem: For the last few days, I am getting the following messages (some names removed for privacy) in the daily security run output: [hostname].ca login failures: Sep 11 10:36:52 server su: BAD SU abid to root on /dev/ttyp0 [hostname].ca login failures: Sep 8 16:56:15 server su: BAD SU abid to root on /dev/ttyp0 I got worried because both these instances are times when I am positive that I am not accessing the system. I am the only user of the system. I use ssh to access the system. Root access is disabled in sshd. I log in using my username (abid) and SU to root when necessary. So I went to check the auth.log, and here is the concerned section: Aug 31 17:01:36 server sshd[67613]: Accepted keyboard-interactive/pam for abid from 192.168.2.149 port 1203 ssh2 Aug 31 17:01:40 server su: abid to root on /dev/ttyp0 Aug 31 18:42:56 server sshd[69386]: Accepted keyboard-interactive/pam for abid from 192.168.2.149 port 1688 ssh2 Aug 31 18:43:01 server su: abid to root on /dev/ttyp0 Aug 31 22:58:28 server sshd[71423]: Accepted keyboard-interactive/pam for abid from 192.168.2.149 port 2032 ssh2 Aug 31 22:58:32 server su: abid to root on /dev/ttyp0 Sep 9 13:40:55 server sshd[72180]: Accepted keyboard-interactive/pam for abid from 192.168.2.149 port 4146 ssh2 Sep 9 13:41:00 server su: abid to root on /dev/ttyp0 Sep 9 14:14:09 server sshd[72484]: Accepted keyboard-interactive/pam for abid from 192.168.2.149 port 1116 ssh2 Sep 10 09:04:41 server sshd[81232]: Accepted keyboard-interactive/pam for abid from 192.168.1.30 port 2599 ssh2 Sep 10 09:04:47 server su: abid to root on /dev/ttyp0 Sep 11 11:37:10 server sshd[94789]: Accepted keyboard-interactive/pam for abid from 192.168.1.30 port 1361 ssh2 Sep 11 11:37:15 server su: abid to root on /dev/ttyp0 Sep 12 08:41:46 server sshd[6247]: Accepted keyboard-interactive/pam for abid from 192.168.1.30 port 2521 ssh2 Sep 12 08:41:53 server su: abid to root on /dev/ttyp0 As you can see, there is no matching incidence in the auth.log. How can the security run show a BAD SU when there is no matching entry in the auth.log for somebody authenticating successfully under my username. Some other facts: The machine is behind a NAT router and only apache and email ports (25, 80, 110, 143, 443, 587) are open. SSH access is restricted to intranet IP ranges. The only other opening is a VPN connection between the routers at my office (where the server is) and my home. The subnet in the office is 192.168.1 and at home is 192.168.2 I changed the password on my account after the Sep 8 occurrence. It seems to me that somebody is hacking in, but I can't figure out how and from where. ANY AND ALL HELP WILL BE APPRECIATED. Abid ___ 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 logs
At 08:14 AM 9/12/2007, Aldisa Admin wrote: Hello All, I am having trouble understanding what is going on and how to solve the problem: For the last few days, I am getting the following messages (some names removed for privacy) in the daily security run output: [hostname].ca login failures: Sep 11 10:36:52 server su: BAD SU abid to root on /dev/ttyp0 [hostname].ca login failures: Sep 8 16:56:15 server su: BAD SU abid to root on /dev/ttyp0 I got worried because both these instances are times when I am positive that I am not accessing the system. I am the only user of the system. I use ssh to access the system. Root access is disabled in sshd. I log in using my username (abid) and SU to root when necessary. So I went to check the auth.log, and here is the concerned section: Aug 31 17:01:36 server sshd[67613]: Accepted keyboard-interactive/pam for abid from 192.168.2.149 port 1203 ssh2 Aug 31 17:01:40 server su: abid to root on /dev/ttyp0 Aug 31 18:42:56 server sshd[69386]: Accepted keyboard-interactive/pam for abid from 192.168.2.149 port 1688 ssh2 Aug 31 18:43:01 server su: abid to root on /dev/ttyp0 Aug 31 22:58:28 server sshd[71423]: Accepted keyboard-interactive/pam for abid from 192.168.2.149 port 2032 ssh2 Aug 31 22:58:32 server su: abid to root on /dev/ttyp0 Sep 9 13:40:55 server sshd[72180]: Accepted keyboard-interactive/pam for abid from 192.168.2.149 port 4146 ssh2 Sep 9 13:41:00 server su: abid to root on /dev/ttyp0 Sep 9 14:14:09 server sshd[72484]: Accepted keyboard-interactive/pam for abid from 192.168.2.149 port 1116 ssh2 Sep 10 09:04:41 server sshd[81232]: Accepted keyboard-interactive/pam for abid from 192.168.1.30 port 2599 ssh2 Sep 10 09:04:47 server su: abid to root on /dev/ttyp0 Sep 11 11:37:10 server sshd[94789]: Accepted keyboard-interactive/pam for abid from 192.168.1.30 port 1361 ssh2 Sep 11 11:37:15 server su: abid to root on /dev/ttyp0 Sep 12 08:41:46 server sshd[6247]: Accepted keyboard-interactive/pam for abid from 192.168.1.30 port 2521 ssh2 Sep 12 08:41:53 server su: abid to root on /dev/ttyp0 As you can see, there is no matching incidence in the auth.log. How can the security run show a BAD SU when there is no matching entry in the auth.log for somebody authenticating successfully under my username. Some other facts: The machine is behind a NAT router and only apache and email ports (25, 80, 110, 143, 443, 587) are open. SSH access is restricted to intranet IP ranges. How are you limiting this ssh access? Are you using hosts.allow? If you are not using hosts.allow, I would suggest you do so. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which versioning system is the simplest to use??
2007/9/12, Tom Huppi [EMAIL PROTECTED] : On 22:44 Tue 11 Sep , David Christensen wrote: Agus wrote: I am doing a little bit of security and log watching with sec.pl and was trying to mantain de secconf files organized... So whenever one is changed it keeps track of the change and can rollback O that is what i am going to use de versioning sytem for... This is just my experiance on this stuff. There are no right or wrong ways to do it, and happily, all kinds of altrnatives. If you only have a file or two, I'd suggest RCS. man rcs should get you going. An earlier version of this book helped me understand RCS well enough to write custom scripts that used RCS on sets of files: http://www.oreilly.com/catalog/rcs/index.html I've use RCS pretty religiously for system administration...but in fact rarely do I actually refer back to older revisions in practice. I've always just refered to this document: http://www.samag.com/documents/s=9367/sam9812a/9812a.htm which has been enough to get me by. The biggest hassle is the $LOGNAME deal which can different depending on how one gets a root shell. Then I heard about CVS, which uses RCS format archive files (so you can use either tool) and provides the set functionality I needed plus more. info cvs is the online resource, but I did better with an earlier version of the book: http://cvsbook.red-bean.com/cvsbook.html I now use CVS to maintain version control of the configuration files on my various systems. I build a CVS tree which is a sparse mirror of the root file system. Whenever I want to change a configuration file in the live tree, I copy the intervening directories and/or file into the CVS tree, check everything in, make my changes, copy the changed filed back to the original location, test, and repeat the edit/ copy/ test sequence as necessary. When all is well, I check in the file to CVS. As a variation on a theme, I sometimes move the live file and replace it with a symbolic link into the CVS tree. But this approach can be messier when you make a mistake and destabilize the system. YMMV. Using CVS in this way provides for the use cases you've identified, and it also allows me to check out the trees from other machines to compare/ contrast. Best yet is when I rebuild a machine -- restoring configuration is a matter of installing CVS, check out the system configuration file tree, and copying/linking. I tend to use revision control for (software) systems I create or maintain installations of, but find it worthwhile to create a Makefile to actually install the files (and often the system itself.) I find this more flexible in that I can create different targets to do different things, structure my repository differently than the destination, ensure proper ownership and modes of the files, etc. A script would work to, but I happen to know gmake reasonably well. CVS is pretty easy to set up and maintain, and works fine for reasonable source trees in my experiance. CVS is simple enough so that all kinds of games can be played, but often these games (like moving thing in the repository) invalidate revision control at a basic level. My experiance is that people figure out what is possible some time before they figure out what exactly they have done...but also that in practice, it rarely matters. I suspect that there is are open-source projects that already do much or all of what I'm doing with CVS. You might want to look or ask around -- try tripwire. SVN is supposed to be a better CVS, etc.. But as I understand it, SVN assigns a the same version number to every file in a set whenever any one of them changes. I prefer the RCS and CVS approach of numbering each file independently, so I can easily determine which files in a set have changed and which haven't. This ability was critical for me when I was doing kernel/ device driver development and comparing/ using various FreeBSD, NetBSD, and OpenBSD source files. At the time they all used RCS/ CVS numbering, so it was easy to see what files were the same and what were different between the platforms. I much prefer SVN to CVS after using it some in the context of a somewhat bloated repository...though I prefer it for small ones as well. I very much consider the revision scheme you mention a feature rather than a bug. It almost completely invalidates the need for static tagging among other things. SVN is considerably more complex to install and manage than CVS, but not to bad with ports and a simple mode of access (of which there are several.) Many open-source projects are switching or starting out under SVN these days, so that would be a choice factor...if I were making the choice.
Thinkpad T23 mouse problem
i have thinkpad T23 with docking station. through the docking station i have external keyboard and mouse connected both PS/2. when i boot FreeBSD when computer is docked, mouse is detected as intellimouse, works everything including roller, and both external and builtin touchpad works fine. but when i undock the computer, builtin touchpad doesn't work. other case. if computer was booted undocked, the touchpad is detected as generic PS/2 mouse and works. when the computer is docked, both external and builtin mouse works, but without roller. this is probably because builtin mouse is detected as different model than external, and driver gets confused. is there any way to reattach psm driver without reboot? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to change next boot from windows to freebsd?
On Wednesday 12 September 2007 14:30:32 Ivan Voras wrote: I have no idea how to enable the Windows boot loader after both Windows and FreeBSD are installed on the machine and FreeBSD's loader is installed. It's one of mbrfix or fixmbr or fdisk /mbr iirc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Hey, you have a new Greeting !!!
Hello friend ! You have just received a postcard Greeting from someone who cares about you... Just click [1]here to receive your Animated Greeting ! Thank you for using www.Greetings.com services !!! Please take this opportunity to let your friends hear about us by sending them a postcard from our collection ! References 1. http://members.lycos.co.uk/patacftp/postcard.pif ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Domain of Sender does not exist
We have SMTP AUTH set up on our mail server. Our mail server accepts mail for several domains. x.com y.com z.com Outgoing messages from [EMAIL PROTECTED], and [EMAIL PROTECTED] goes out fine, but emails going out from [EMAIL PROTECTED] are getting: Domain of Sender does not exist ([EMAIL PROTECTED] 5.1.8 The oddest thing, is that this server is the MTA for z.com. Sending to [EMAIL PROTECTED] will end up on this box no problem. I did not set up our DNS, and it is in Active Directory. In our DNS z.com in the Forward Lookup Zone has A record for the email server, and MX record for the email server. What could be hanging this up? The x.com and y.com are not specified in our DNS locally at all, so I am not sure how to model the DNS for these domains. Also, when I 'paused' the z.com zone, I got the Domain of Sender does not resolve 4.1.8 error. Any leads on where my DNS or configs might be not able to resolve this domain? Thanks Brad _ Get a FREE small business Web site and more from Microsoft® Office Live! http://clk.atdmt.com/MRT/go/aub0930003811mrt/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to change next boot from windows to freebsd?
On Wednesday 12 September 2007 14:30:32 Ivan Voras wrote: I have no idea how to enable the Windows boot loader after both Windows and FreeBSD are installed on the machine and FreeBSD's loader is installed. FreeBSD usually sets active partition (slice) to itself even if boot manager is not installed. fdisk can show which partition is active and allows to change it if necessary. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Domain of Sender does not exist
At 08:58 AM 9/12/2007, brad davison wrote: We have SMTP AUTH set up on our mail server. Our mail server accepts mail for several domains. x.com y.com z.com Outgoing messages from [EMAIL PROTECTED], and [EMAIL PROTECTED] goes out fine, but emails going out from [EMAIL PROTECTED] are getting: Domain of Sender does not exist ([EMAIL PROTECTED] 5.1.8 The oddest thing, is that this server is the MTA for z.com. Sending to [EMAIL PROTECTED] will end up on this box no problem. I did not set up our DNS, and it is in Active Directory. In our DNS z.com in the Forward Lookup Zone has A record for the email server, and MX record for the email server. What could be hanging this up? The x.com and y.com are not specified in our DNS locally at all, so I am not sure how to model the DNS for these domains. Also, when I 'paused' the z.com zone, I got the Domain of Sender does not resolve 4.1.8 error. Any leads on where my DNS or configs might be not able to resolve this domain? What are you using to send mail? If it is sendmail, sounds like a sendmail error. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php5-5.2.3_1 / website behaves as if not enabled in httpd.conf
On Sep 12, 2007, at 3:23 AM, Zbigniew Szalbot wrote: Everything is fine here. But I think now that the problem is not with apache but with php. It does not even matter if I do start or startssl. In both instances the httpd server dies. The reason I think it is php-related is that when I issue php -v I get: PHP 5.2.3 with Suhosin-Patch 0.9.6.2 (cli) (built: Sep 12 2007 08:59:52) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies Segmentation fault (core dumped) pkg_info | grep php5 php5-5.2.3_1PHP Scripting Language (Apache Module and CLI) I do not really feel like upgrading apache (as suggested by someone else - thank you by the way) because it is just a home machine on which I do not need all the greatest and latest. If there's nothing obvious that comes to your mind I will try posting it on a php list. Can you make a copy of /usr/local/etc/php/extensions.ini and put an empty extensions.ini in it's place? This will turn off all of the PHP extensions. The last time I experienced core dumps in Apache after an upgrade of my PHP install was when some of my PHP Extensions didn't get rebuilt. If Apache starts with PHP working (but without extensions) then you can narrow down which extensions didn't get rebuilt when you upgraded to /usr/ports/lang/php5-extensions. Best, -Tom ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hey, you have a new Greeting !!! (exploit for Win32)
Just an FYI If you're on a win32 machine, and read your mail in HTML, don't open this as it will execute a .pif file ( win32 PE, portable executable) that wants to put sup.bat in your /system32 to do something undesirable...haven't figured that out yet. If you read in plain text, you'll see this link: http://members.lycos.co.uk/patacftp/postcard.pif Don't click on that either. We're blocking .pif at the SMTP gateway. This is what symantec says when I scan it: Scan type: Manual Scan Event: Threat Found! Threat: IRC Trojan -- Original message -- From: Greetings.com [EMAIL PROTECTED] Hello friend ! You have just received a postcard Greeting from someone who cares about you... Just click [1]here to receive your Animated Greeting ! Thank you for using www.Greetings.com services !!! Please take this opportunity to let your friends hear about us by sending them a postcard from our collection ! References 1. http://members.lycos.co.uk/patacftp/postcard.pif ___ 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]
Strange port 80 access problem
I have a very strange access problem that just popped up this morning. For whatever reason, my machine at home over my cable modem can no longer access Apache on port 80... However other services are accessible elsewhere (Direct Admin control panel, FTP, SMTP,etc...) BUT Apache is accessible to other devices, not on my IP... It seems as though there is some sort of IP block on me, but I can't seem to find anything in the logs to confirm this. I don't have a 'deny from' in any .htaccess files... What could be going on? I'm running apache 1.3.39, and FreeBSD 6.1. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
a small problem with /etc/hosts in FreeBSD 6.2
in my hosts file, I have a line that looks like this: ::1localhost localhost.mydomain.com Is this line for IPv6 or is there some other reason for its presence? It causes occasional problems, so I commented it out and I kept a similar line that points to 127.0.0.1 An example of the problems it sometimes causes is that if I telnet to localhost at port 25 I get this: Trying ::1... telnet: connect to address ::1: Connection refused ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: a small problem with /etc/hosts in FreeBSD 6.2
in my hosts file, I have a line that looks like this: ::1localhost localhost.mydomain.com Is this line for IPv6 or is there some other reason for its presence? It causes occasional problems, so I commented it out and I kept a similar line that points to 127.0.0.1 there should be 2 lines ::1 localhost localhost.my.domain 127.0.0.1 localhost localhost.my.domain An example of the problems it sometimes causes is that if I telnet to localhost at port 25 I get this: Trying ::1... telnet: connect to address ::1: Connection refused ___ 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: Domain of Sender does not exist
We are using Sendmail. Sendmail version 8.13.8, config V10/Berkeley It is just odd that of our 17 domains we send/receive mail for.. only the 4 that are specified in our DNS are the ones having problems. The Domains are all listed in local-domain file. If there is something else i can check or put in my sendmail config, i'm all ears. It is configured for SMTP AUTH so its the check_rcpt that is giving up the error. From: Derek Ragona [EMAIL PROTECTED] To: brad davison [EMAIL PROTECTED],freebsd-questions@freebsd.org Subject: Re: Domain of Sender does not exist Date: Wed, 12 Sep 2007 09:27:51 -0500 At 08:58 AM 9/12/2007, brad davison wrote: We have SMTP AUTH set up on our mail server. Our mail server accepts mail for several domains. x.com y.com z.com Outgoing messages from [EMAIL PROTECTED], and [EMAIL PROTECTED] goes out fine, but emails going out from [EMAIL PROTECTED] are getting: Domain of Sender does not exist ([EMAIL PROTECTED] 5.1.8 The oddest thing, is that this server is the MTA for z.com. Sending to [EMAIL PROTECTED] will end up on this box no problem. I did not set up our DNS, and it is in Active Directory. In our DNS z.com in the Forward Lookup Zone has A record for the email server, and MX record for the email server. What could be hanging this up? The x.com and y.com are not specified in our DNS locally at all, so I am not sure how to model the DNS for these domains. Also, when I 'paused' the z.com zone, I got the Domain of Sender does not resolve 4.1.8 error. Any leads on where my DNS or configs might be not able to resolve this domain? What are you using to send mail? If it is sendmail, sounds like a sendmail error. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] _ Kick back and relax with hot games and cool activities at the Messenger Café. http://www.cafemessenger.com?ocid=TXT_TAGHM_SeptHMtagline1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
{Disarmed} Re: Domain of Sender does not exist
At 10:52 AM 9/12/2007, brad davison wrote: We are using Sendmail. Sendmail version 8.13.8, config V10/Berkeley It is just odd that of our 17 domains we send/receive mail for.. only the 4 that are specified in our DNS are the ones having problems. The Domains are all listed in local-domain file. If there is something else i can check or put in my sendmail config, i'm all ears. It is configured for SMTP AUTH so its the check_rcpt that is giving up the error. Make sure they are in /etc/mail/local-host-names -Derek From: Derek Ragona [EMAIL PROTECTED] To: brad davison [EMAIL PROTECTED],freebsd-questions@freebsd.org Subject: Re: Domain of Sender does not exist Date: Wed, 12 Sep 2007 09:27:51 -0500 At 08:58 AM 9/12/2007, brad davison wrote: We have SMTP AUTH set up on our mail server. Our mail server accepts mail for several domains. x.com y.com z.com Outgoing messages from [EMAIL PROTECTED], and [EMAIL PROTECTED] goes out fine, but emails going out from [EMAIL PROTECTED] are getting: Domain of Sender does not exist ([EMAIL PROTECTED] 5.1.8 The oddest thing, is that this server is the MTA for z.com. Sending to [EMAIL PROTECTED] will end up on this box no problem. I did not set up our DNS, and it is in Active Directory. In our DNS z.com in the Forward Lookup Zone has A record for the email server, and MX record for the email server. What could be hanging this up? The x.com and y.com are not specified in our DNS locally at all, so I am not sure how to model the DNS for these domains. Also, when I 'paused' the z.com zone, I got the Domain of Sender does not resolve 4.1.8 error. Any leads on where my DNS or configs might be not able to resolve this domain? What are you using to send mail? If it is sendmail, sounds like a sendmail error. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] _ Kick back and relax with hot games and cool activities at the Messenger Café. http://www.cafemessenger.com?ocid=TXT_TAGHM_SeptHMtagline1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: a small problem with /etc/hosts in FreeBSD 6.2
On Wednesday 12 September 2007 15:47:15 Wojciech Puchar wrote: in my hosts file, I have a line that looks like this: ::1localhost localhost.mydomain.com Is this line for IPv6 or is there some other reason for its presence? It causes occasional problems, so I commented it out and I kept a similar line that points to 127.0.0.1 there should be 2 lines ::1 localhost localhost.my.domain 127.0.0.1 localhost localhost.my.domain Yes, there are, but it is the first line that causes the error. I suppose I could transpose them rather than comment out the first line. I had not thought to try that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: a small problem with /etc/hosts in FreeBSD 6.2
At 11:08 AM 9/12/2007, Pollywog wrote: On Wednesday 12 September 2007 15:47:15 Wojciech Puchar wrote: in my hosts file, I have a line that looks like this: ::1localhost localhost.mydomain.com Is this line for IPv6 or is there some other reason for its presence? It causes occasional problems, so I commented it out and I kept a similar line that points to 127.0.0.1 there should be 2 lines ::1 localhost localhost.my.domain 127.0.0.1 localhost localhost.my.domain Yes, there are, but it is the first line that causes the error. I suppose I could transpose them rather than comment out the first line. I had not thought to try that. Are you running ipv6? If not just comment that line out. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Strange port 80 access problem
On Wednesday 12 September 2007, Don O'Neil said: I have a very strange access problem that just popped up this morning. For whatever reason, my machine at home over my cable modem can no longer access Apache on port 80... However other services are accessible elsewhere (Direct Admin control panel, FTP, SMTP,etc...) BUT Apache is accessible to other devices, not on my IP... It seems as though there is some sort of IP block on me, but I can't seem to find anything in the logs to confirm this. I don't have a 'deny from' in any .htaccess files... What could be going on? I'm running apache 1.3.39, and FreeBSD 6.1. It's very possible that your ISP is blocking port 80. It seems more and more of them are doing that with home subscribers. I know someone who has service with one of the large telcos and they not only block port 80, but mail and ftp as well. They told him if he wanted to run servers he would have to subscribe to business service at 5X the cost of residential. If you can ping other ports on your home machine, that's most likely what's happening. Your logs wouldn't necessarily show anything because the requests are not reaching your server. After you verify (from outside) that you can't reach port 80, about your only other option is to use one of the free nameservers that will redirect your traffic to another port. You will also need to reconfigure apache to listen on that port instead of port 80. Finally, if you have a firewall on your box, make sure it's not getting blocked there. Verify that apache is actually listening on 80 by doing: sockstat | grep httpd You should see lines like the following: www httpd 59775 3 tcp46 *:80 *:* If you don't than that's your problem, but if you see the *:80, you need to contact your ISP, fix your firewall, or look into redirect. Beech -- --- Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.FreeBSD.org/releases/6.2R/announce.html --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: a small problem with /etc/hosts in FreeBSD 6.2
On Wednesday 12 September 2007 16:10:54 Derek Ragona wrote: Are you running ipv6? If not just comment that line out. I am not running ipv6 and I thought I did not need that line, so I have commented it out. thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Strange port 80 access problem
Written by Beech Rintoul on 09/12/07 11:14 It's very possible that your ISP is blocking port 80. It seems more and more of them are doing that with home subscribers. I know someone who has service with one of the large telcos and they not only block port 80, but mail and ftp as well. They told him if he wanted to run servers he would have to subscribe to business service at 5X the cost of residential. I've had a similar experience with COX Communications in the US midwest. They block http, https, alternate http ports like 8000 and 8080, smtp, and I think pop and imap/imaps. I'm sure part of the reason for this paranoid behavior is to protect their networks from saturation from bots and whatnot, but part of me thinks they just want to stick it to their customers whom they view as pesky annoyances rather than valuable consumers. I circumvent these hassles by boring ssh tunnels to the services I need access to on my home machines. This is a stopgap until I get time to fiddle with openvpn. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Lighttpd won't serve up php pages - 500 internal server error
Hi all I've install php5 and php5-extensions from the latest ports and also lighty too. I compiled php5 with fastcgi support. In lighttpd's error log I see the following: 2007-09-12 17:32:06: (mod_fastcgi.c.1731) connect failed: Connection refused on unix:/tmp/php-fastcgi.socket-3 2007-09-12 17:32:06: (mod_fastcgi.c.2885) backend died; we'll disable it for 5 seconds and send the request to another backend instead: reconnects: 0 load: 1 2007-09-12 17:32:06: (mod_fastcgi.c.2658) child signaled: 11 2007-09-12 17:32:06: (mod_fastcgi.c.2462) unexpected end-of-file (perhaps the fastcgi process died): pid: 26390 socket: unix:/tmp/php- fastcgi.socket-3 2007-09-12 17:32:06: (mod_fastcgi.c.3211) child signaled: 11 2007-09-12 17:32:06: (mod_fastcgi.c.3254) response not received, request sent: 850 on socket: unix:/tmp/php-fastcgi.socket-3 for / phpinfo.php , closing connection I added the following to php.ini: cgi.fix_pathinfo = 1. And the relevant sections of lighttpd.conf are: server.modules = ( mod_access, mod_fastcgi, ) server.document-root= /usr/local/www/data/ fastcgi.server = ( .php = ( localhost = ( socket = /tmp/php- fastcgi.socket, bin-path = /usr/local/bin/php- cgi ) ) ) The web page shown just displys 500 - Internal Server Error. Thank you Gabriel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php5-5.2.3_1 / website behaves as if not enabled in httpd.conf
On Wed, 12 Sep 2007 09:23:19 +0200 Zbigniew Szalbot wrote: 2007/9/12, Ian Smith [EMAIL PROTECTED]: On Tue, 11 Sep 2007 19:19:32 +0200 Zbigniew Szalbot wrote: [..] No, it wasn't in there but I moved it to this section. There is no difference. I cannot start apache. [..] And check that /usr/local/libexec/apache/libphp5.so exists! Everything is fine here. But I think now that the problem is not with apache but with php. It does not even matter if I do start or startssl. In both instances the httpd server dies. The reason I think it is php-related is that when I issue php -v I get: PHP 5.2.3 with Suhosin-Patch 0.9.6.2 (cli) (built: Sep 12 2007 08:59:52) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies Segmentation fault (core dumped) Well it's broken for sure if php -v dumps .. and if php cli is broken most likely the module is too, which may well explain apache crashing .. pkg_info | grep php5 php5-5.2.3_1PHP Scripting Language (Apache Module and CLI) I do not really feel like upgrading apache (as suggested by someone else - thank you by the way) because it is just a home machine on which I do not need all the greatest and latest. If there's nothing obvious that comes to your mind I will try posting it on a php list. Sorry, I'm on digests here which can take half a day unless you cc me, so I hope you've made some progress by now .. no, nothing obvious, but: I'd be trying to separate these two problems: save configs, comment out all of the php stuff in httpd.conf and get your upgraded apache up and running properly first, then refetch / reinstall / reconfigure php5? Good luck, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Strange port 80 access problem
On Wednesday 12 September 2007, Reid Linnemann said: Written by Beech Rintoul on 09/12/07 11:14 It's very possible that your ISP is blocking port 80. It seems more and more of them are doing that with home subscribers. I know someone who has service with one of the large telcos and they not only block port 80, but mail and ftp as well. They told him if he wanted to run servers he would have to subscribe to business service at 5X the cost of residential. I've had a similar experience with COX Communications in the US midwest. They block http, https, alternate http ports like 8000 and 8080, smtp, and I think pop and imap/imaps. I'm sure part of the reason for this paranoid behavior is to protect their networks from saturation from bots and whatnot, but part of me thinks they just want to stick it to their customers whom they view as pesky annoyances rather than valuable consumers. I circumvent these hassles by boring ssh tunnels to the services I need access to on my home machines. This is a stopgap until I get time to fiddle with openvpn. That's another option. I'm very lucky. Here in Anchorage, the cable provider (GCI), is totally OK with people running servers as long as you're not selling webspace or email services (Your home business is OK). They deal with abusers on an individual basis. They also do network scanning looking for bots and will put a user on security block until they fix it, but I've never known anyone who actually got blocked. I wish more ISP's had that attitude instead of trying to screw subscribers out of more money just to run their mail or website. -- --- Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.FreeBSD.org/releases/6.2R/announce.html --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: a small problem with /etc/hosts in FreeBSD 6.2
On Wed, 12 Sep 2007 15:33:24 + Pollywog [EMAIL PROTECTED] wrote: in my hosts file, I have a line that looks like this: ::1localhost localhost.mydomain.com Is this line for IPv6 or is there some other reason for its presence? It causes occasional problems, so I commented it out and I kept a similar line that points to 127.0.0.1 ::1 is the IPv6 address for localhost IPv6 address often contain a long run of zeroes, so :: an abbreviation for this. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hunks failed, is this bad?
On Wed, 12 Sep 2007 02:23:52 +0200 cpghost [EMAIL PROTECTED] wrote: IIRC, it's portmanager that patches bsd.port.mk on the fly (and backs the change out when it is done). Or it did so a while ago; I don't know if it still does today. Try to update portmanager, or use something else like portmaster or portupgrade, if updating portmanager didn't work. Portmanger acquired this feature just before Schultz went off in a huff. What it does is is patch bsd.port.mk so that it calls back into portmanager allowing it to modify dependencies. I haven't checked the code, but since I've not seen any evidence of portmanager trying to modify dependencies in the last few years, I suspect that the support for the callback is just a stub. If that's true then using an unpatched file is harmless. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
F11 in Firefox
Hello all, Having long fingers, I occasionally hit F11 while typing into a text box in Firefox. F11 does something truly horrible that I never under any circumstances want. It moves the window partially off screen such that the window controls are inaccessible. As I said, I NEVER EVER want this function. It is, in my view, a damnable bug. The only way I can get control back is to exit Firefox. How do I kill it? Thanks! -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). pgprFnTpvsu0X.pgp Description: PGP signature
Re: F11 in Firefox
On 9/12/07, David Benfell [EMAIL PROTECTED] wrote: It moves the window partially off screen such that the window controls are inaccessible. As I said, I NEVER EVER want this function. It is, in my view, a damnable bug. The only way I can get control back is to exit Firefox. How do I kill it? Thanks! -- David Benfell, LCP [EMAIL PROTECTED] Shouldn't pressing F11 once again bring it back to normal mode. (F11 is actually meant to give you full screen mode) Amitabh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: F11 in Firefox
In response to David Benfell [EMAIL PROTECTED]: Hello all, Having long fingers, I occasionally hit F11 while typing into a text box in Firefox. F11 does something truly horrible that I never under any circumstances want. It moves the window partially off screen such that the window controls are inaccessible. No it doesn't. It puts Firefox in fullscreen mode, which removes the buttons altogether. Hit F11 again to switch back to windowed mode. As I said, I NEVER EVER want this function. It is, in my view, a damnable bug. The only way I can get control back is to exit Firefox. Have you tried hitting F11 again? If that's not working, you've found a bug which should be reported to the Firefox team. How do I kill it? Asking the question on the Firefox forums instead of the FreeBSD forums might be a good start, as this isn't even related to FreeBSD. -- Bill Moran http://www.potentialtech.com ___ 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 logs
Hello Denis, I am using FreeBSD 6.1-RELEASE. You have correctly identified the problem. My log files are small as well, and the entries in the daily security relate to the previous year. Thank you for your help...it has put my mind to rest. Abid On 12-Sep-07 1:29 PM, Denis wrote: I had such problem with FreeBSD 4.7, and finally discovered that this records were for the last year. My auth.log was pretty small and contain records for more than one year. And daily security included records for the last year. May this could be applied to you? Best regards, Denis. ___ 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 logs
I had such problem with FreeBSD 4.7, and finally discovered that this records were for the last year. My auth.log was pretty small and contain records for more than one year. And daily security included records for the last year. May this could be applied to you? Best regards, Denis. On 9/12/07, Aldisa Admin [EMAIL PROTECTED] wrote: Hello All, I am having trouble understanding what is going on and how to solve the problem: For the last few days, I am getting the following messages (some names removed for privacy) in the daily security run output: [hostname].ca login failures: Sep 11 10:36:52 server su: BAD SU abid to root on /dev/ttyp0 [hostname].ca login failures: Sep 8 16:56:15 server su: BAD SU abid to root on /dev/ttyp0 I got worried because both these instances are times when I am positive that I am not accessing the system. I am the only user of the system. I use ssh to access the system. Root access is disabled in sshd. I log in using my username (abid) and SU to root when necessary. So I went to check the auth.log, and here is the concerned section: Aug 31 17:01:36 server sshd[67613]: Accepted keyboard-interactive/pam for abid from 192.168.2.149 port 1203 ssh2 Aug 31 17:01:40 server su: abid to root on /dev/ttyp0 Aug 31 18:42:56 server sshd[69386]: Accepted keyboard-interactive/pam for abid from 192.168.2.149 port 1688 ssh2 Aug 31 18:43:01 server su: abid to root on /dev/ttyp0 Aug 31 22:58:28 server sshd[71423]: Accepted keyboard-interactive/pam for abid from 192.168.2.149 port 2032 ssh2 Aug 31 22:58:32 server su: abid to root on /dev/ttyp0 Sep 9 13:40:55 server sshd[72180]: Accepted keyboard-interactive/pam for abid from 192.168.2.149 port 4146 ssh2 Sep 9 13:41:00 server su: abid to root on /dev/ttyp0 Sep 9 14:14:09 server sshd[72484]: Accepted keyboard-interactive/pam for abid from 192.168.2.149 port 1116 ssh2 Sep 10 09:04:41 server sshd[81232]: Accepted keyboard-interactive/pam for abid from 192.168.1.30 port 2599 ssh2 Sep 10 09:04:47 server su: abid to root on /dev/ttyp0 Sep 11 11:37:10 server sshd[94789]: Accepted keyboard-interactive/pam for abid from 192.168.1.30 port 1361 ssh2 Sep 11 11:37:15 server su: abid to root on /dev/ttyp0 Sep 12 08:41:46 server sshd[6247]: Accepted keyboard-interactive/pam for abid from 192.168.1.30 port 2521 ssh2 Sep 12 08:41:53 server su: abid to root on /dev/ttyp0 As you can see, there is no matching incidence in the auth.log. How can the security run show a BAD SU when there is no matching entry in the auth.log for somebody authenticating successfully under my username. Some other facts: The machine is behind a NAT router and only apache and email ports (25, 80, 110, 143, 443, 587) are open. SSH access is restricted to intranet IP ranges. The only other opening is a VPN connection between the routers at my office (where the server is) and my home. The subnet in the office is 192.168.1 and at home is 192.168.2 I changed the password on my account after the Sep 8 occurrence. It seems to me that somebody is hacking in, but I can't figure out how and from where. ANY AND ALL HELP WILL BE APPRECIATED. Abid ___ 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: {Disarmed} Re: Domain of Sender does not exist
From: Derek Ragona [EMAIL PROTECTED] To: brad davison [EMAIL PROTECTED],freebsd-questions@freebsd.org Subject: {Disarmed} Re: Domain of Sender does not exist Date: Wed, 12 Sep 2007 11:02:12 -0500 At 10:52 AM 9/12/2007, brad davison wrote: We are using Sendmail. Sendmail version 8.13.8, config V10/Berkeley It is just odd that of our 17 domains we send/receive mail for.. only the 4 that are specified in our DNS are the ones having problems. The Domains are all listed in local-domain file. If there is something else i can check or put in my sendmail config, i'm all ears. It is configured for SMTP AUTH so its the check_rcpt that is giving up the error. Make sure they are in /etc/mail/local-host-names -Derek I checked local-host-names, and yes they are all listed there. The machine will accept mail delivered -for- this domain [EMAIL PROTECTED], but if your Thunderbird (or whatever MUA) is set for [EMAIL PROTECTED], that's when it gives the error. How can it accept mail for this domain, and say that the 'domain does not exist' or 'domain does not resolve' errors? Brad We have SMTP AUTH set up on our mail server. Our mail server accepts mail for several domains. x.com y.com z.com Outgoing messages from [EMAIL PROTECTED], and [EMAIL PROTECTED] goes out fine, but emails going out from [EMAIL PROTECTED] are getting: Domain of Sender does not exist ([EMAIL PROTECTED] 5.1.8 The oddest thing, is that this server is the MTA for z.com. Sending to [EMAIL PROTECTED] will end up on this box no problem. I did not set up our DNS, and it is in Active Directory. In our DNS z.com in the Forward Lookup Zone has A record for the email server, and MX record for the email server. What could be hanging this up? The x.com and y.com are not specified in our DNS locally at all, so I am not sure how to model the DNS for these domains. Also, when I 'paused' the z.com zone, I got the Domain of Sender does not resolve 4.1.8 error. Any leads on where my DNS or configs might be not able to resolve this domain? What are you using to send mail? If it is sendmail, sounds like a sendmail error. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] _ Kick back and relax with hot games and cool activities at the Messenger Café. http://www.cafemessenger.com?ocid=TXT_TAGHM_SeptHMtagline1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] _ Kick back and relax with hot games and cool activities at the Messenger Café. http://www.cafemessenger.com?ocid=TXT_TAGHM_SeptHMtagline1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: F11 in Firefox
Amitabh and Bill, Thanks for your rapid response. Pressing F11 shrinks the window, but moves it farther up and to the left. Under XFCE, I have found no way to move the window back to where I can grab ahold of it to position it properly on the screen and am compelled to leave it in full screen mode. -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). pgp44Y1Of3Z7H.pgp Description: PGP signature
Re: php5-5.2.3_1 / website behaves as if not enabled in httpd.conf
Dear Ian and others, 2007/9/12, Ian Smith [EMAIL PROTECTED]: On Wed, 12 Sep 2007 09:23:19 +0200 Zbigniew Szalbot wrote: 2007/9/12, Ian Smith [EMAIL PROTECTED]: On Tue, 11 Sep 2007 19:19:32 +0200 Zbigniew Szalbot wrote: [..] No, it wasn't in there but I moved it to this section. There is no difference. I cannot start apache. [..] And check that /usr/local/libexec/apache/libphp5.so exists! Everything is fine here. But I think now that the problem is not with apache but with php. It does not even matter if I do start or startssl. In both instances the httpd server dies. The reason I think it is php-related is that when I issue php -v I get: PHP 5.2.3 with Suhosin-Patch 0.9.6.2 (cli) (built: Sep 12 2007 08:59:52) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies Segmentation fault (core dumped) Well it's broken for sure if php -v dumps .. and if php cli is broken most likely the module is too, which may well explain apache crashing .. pkg_info | grep php5 php5-5.2.3_1PHP Scripting Language (Apache Module and CLI) I do not really feel like upgrading apache (as suggested by someone else - thank you by the way) because it is just a home machine on which I do not need all the greatest and latest. If there's nothing obvious that comes to your mind I will try posting it on a php list. Sorry, I'm on digests here which can take half a day unless you cc me, so I hope you've made some progress by now .. no, nothing obvious, but: I'd be trying to separate these two problems: save configs, comment out all of the php stuff in httpd.conf and get your upgraded apache up and running properly first, then refetch / reinstall / reconfigure php5? I commented out all extensions and then brought them in one by one. The one which was causing core dumps was simplexml.so. I had a few others that I had to comment as otherwise they were giving me trouble (because of the simplexml being commented out I guess): pdo.so, pdo_sqlite.so, spl.so, mysqli.so, sqlite.so. I am not really worried about these. I am not really sure if I will ever need them. So fine for the time being. php -v does not produce core dumps and I can start apache. There's only one problem left to be solved - files with php extensions are not really shown in browser until I click RELOAD. Files with html extensions are shown without the need to reload. Thanks for your patience! Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: F11 in Firefox
In response to David Benfell [EMAIL PROTECTED]: Amitabh and Bill, Thanks for your rapid response. Pressing F11 shrinks the window, but moves it farther up and to the left. Under XFCE, I have found no way to move the window back to where I can grab ahold of it to position it properly on the screen and am compelled to leave it in full screen mode. Interesting. I use XFCE and can't reproduce the problem. After the window returns to size, it's also back in its previous location. Are you using the latest xfce4? Also, Alt + left mouse button will allow you to drag without having to grab a border. I have to use this with evince a lot, as it seems to automagically reposition/resize itself halfway off my screen a lot. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FIXED Re: Domain of Sender does not exist
well.. our internal DNS was set up by a hack who didn't do it right... I pointed the server to external DNS and everything is happy . Thanks for your help. From: brad davison [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Subject: RE: {Disarmed} Re: Domain of Sender does not exist Date: Wed, 12 Sep 2007 18:05:22 + From: Derek Ragona [EMAIL PROTECTED] To: brad davison [EMAIL PROTECTED],freebsd-questions@freebsd.org Subject: {Disarmed} Re: Domain of Sender does not exist Date: Wed, 12 Sep 2007 11:02:12 -0500 At 10:52 AM 9/12/2007, brad davison wrote: We are using Sendmail. Sendmail version 8.13.8, config V10/Berkeley It is just odd that of our 17 domains we send/receive mail for.. only the 4 that are specified in our DNS are the ones having problems. The Domains are all listed in local-domain file. If there is something else i can check or put in my sendmail config, i'm all ears. It is configured for SMTP AUTH so its the check_rcpt that is giving up the error. Make sure they are in /etc/mail/local-host-names -Derek I checked local-host-names, and yes they are all listed there. The machine will accept mail delivered -for- this domain [EMAIL PROTECTED], but if your Thunderbird (or whatever MUA) is set for [EMAIL PROTECTED], that's when it gives the error. How can it accept mail for this domain, and say that the 'domain does not exist' or 'domain does not resolve' errors? Brad We have SMTP AUTH set up on our mail server. Our mail server accepts mail for several domains. x.com y.com z.com Outgoing messages from [EMAIL PROTECTED], and [EMAIL PROTECTED] goes out fine, but emails going out from [EMAIL PROTECTED] are getting: Domain of Sender does not exist ([EMAIL PROTECTED] 5.1.8 The oddest thing, is that this server is the MTA for z.com. Sending to [EMAIL PROTECTED] will end up on this box no problem. I did not set up our DNS, and it is in Active Directory. In our DNS z.com in the Forward Lookup Zone has A record for the email server, and MX record for the email server. What could be hanging this up? The x.com and y.com are not specified in our DNS locally at all, so I am not sure how to model the DNS for these domains. Also, when I 'paused' the z.com zone, I got the Domain of Sender does not resolve 4.1.8 error. Any leads on where my DNS or configs might be not able to resolve this domain? What are you using to send mail? If it is sendmail, sounds like a sendmail error. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] _ Kick back and relax with hot games and cool activities at the Messenger Café. http://www.cafemessenger.com?ocid=TXT_TAGHM_SeptHMtagline1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] _ Kick back and relax with hot games and cool activities at the Messenger Café. http://www.cafemessenger.com?ocid=TXT_TAGHM_SeptHMtagline1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] _ Share your special parenting moments! http://www.reallivemoms.com?ocid=TXT_TAGHMloc=us ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php5-5.2.3_1 / website behaves as if not enabled in httpd.conf
On Wednesday 12 September 2007 09:23:19 Zbigniew Szalbot wrote: Hi there again, 2007/9/12, Ian Smith [EMAIL PROTECTED]: On Tue, 11 Sep 2007 19:19:32 +0200 Zbigniew Szalbot wrote: I decided to upgrade my home machine to php5.2.3 from 4.4.7. All went fine. I had one error about hash extension already loaded which I solved by deleting a duplicated entry from extensions.ini. The curious thing is that once apache has been restarted, if I want to load a website which resides on this box, it behaves as if no php was enabled in apache. In other words I can see the directory content (files present in a given directory) despite index.php being there. What is more strange is that when I click reload, the website is indeed loaded into browser! So when I first type an URL, it shows directory content. After hitting reload in browser (tested with both FF and IE), the page is shown. Except for the reload bit - perhaps I never tried that - I've been here. My first thought was checking httpd.conf IfModule mod_php5.c DirectoryIndex index.php index.php3 index.html /IfModule and also AddType application/x-tar .tgz AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps The latter AddTypes should be within IfModule mod_mime.c section? No, it wasn't in there but I moved it to this section. There is no difference. I cannot start apache. index.php3 there looks a bit odd, unless you're supporting some old .php3 scripts? If you're then still having trouble, show us the whole IfModule mod_dir.c .. /IfModule section? For a php4 to php5 update, make sure you also have such as: #LoadModule php4_module libexec/apache/libphp4.so LoadModule php5_module libexec/apache/libphp5.so and #AddModule mod_php4.c AddModule mod_php5.c And check that /usr/local/libexec/apache/libphp5.so exists! Everything is fine here. But I think now that the problem is not with apache but with php. It does not even matter if I do start or startssl. In both instances the httpd server dies. The reason I think it is php-related is that when I issue php -v I get: PHP 5.2.3 with Suhosin-Patch 0.9.6.2 (cli) (built: Sep 12 2007 08:59:52) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies Segmentation fault (core dumped) Change the order of the extensions in extensions.ini. Each upgrade the order is magically different, but the following comments I've assembled over time: $ grep '^;' /usr/local/etc/php/extensions.ini ; NOTE: spl makes php coredump if loaded after pspell ; NOTE 2: simplexml makes php coredump if loaded after pspell Yes, pspell is the common factor, but it isn't always. I should've kept track, but the binding factor seems to be php extensions using a C++-written library. Once I see the coredump, I start moving the last extension up and re-run php -v. If it's all the way up, take the next extension on the bottom and rince and repeat. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php5-5.2.3_1 / website behaves as if not enabled in httpd.conf
Mel wrote: On Wednesday 12 September 2007 09:23:19 Zbigniew Szalbot wrote: Hi there again, Change the order of the extensions in extensions.ini. Each upgrade the order is magically different, but the following comments I've assembled over time: $ grep '^;' /usr/local/etc/php/extensions.ini ; NOTE: spl makes php coredump if loaded after pspell ; NOTE 2: simplexml makes php coredump if loaded after pspell Yes, pspell is the common factor, but it isn't always. I should've kept track, but the binding factor seems to be php extensions using a C++-written library. Once I see the coredump, I start moving the last extension up and re-run php -v. If it's all the way up, take the next extension on the bottom and rince and repeat. i see the same behavior if session module is loaded after other modules. Moving things around fixes this. I use the php -v trick as well until the core dump goes away ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php5-5.2.3_1 / website behaves as if not enabled in httpd.conf
On Wednesday 12 September 2007 20:51:52 Zbigniew Szalbot wrote: There's only one problem left to be solved - files with php extensions are not really shown in browser until I click RELOAD. Files with html extensions are shown without the need to reload. Thanks for your patience! To try and come to the cause, take Indexes outof Options for a given directory/location. It should give a Forbidden at that time, reason will be in error log, the exact request should be in access log. Look for subtle differences if there are any - between the forbidden and the reloaded page (like ending slash or what not). -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: F11 in Firefox
On Wed, 12 Sep 2007 15:15:51 -0400, Bill Moran wrote: In response to David Benfell [EMAIL PROTECTED]: Amitabh and Bill, Thanks for your rapid response. Pressing F11 shrinks the window, but moves it farther up and to the left. Under XFCE, I have found no way to move the window back to where I can grab ahold of it to position it properly on the screen and am compelled to leave it in full screen mode. Interesting. I use XFCE and can't reproduce the problem. After the window returns to size, it's also back in its previous location. Are you using the latest xfce4? I'm having trouble updating some ports: earth% ls -ald /var/db/pkg/xfce* drwxr-xr-x 2 root wheel 512 Sep 12 10:36 /var/db/pkg/xfce-3.8.18_6 drwxr-xr-x 2 root wheel 512 Sep 12 10:36 /var/db/pkg/xfce4-mcs-manager-4.4.1_1 drwxr-xr-x 2 root wheel 512 Sep 12 10:36 /var/db/pkg/xfce4-media-0.9.2_5 drwxr-xr-x 2 root wheel 512 Sep 12 10:37 /var/db/pkg/xfce4-panel-4.4.1_1 drwxr-xr-x 2 root wheel 512 Sep 12 10:37 /var/db/pkg/xfce4-session-4.4.1_1 earth% Also, Alt + left mouse button will allow you to drag without having to grab a border. I have to use this with evince a lot, as it seems to automagically reposition/resize itself halfway off my screen a lot. [Commits to memory] THANKS -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). pgpET4qQgWbcQ.pgp Description: PGP signature
Re: Hunks failed, is this bad?
RW wrote: On Wed, 12 Sep 2007 02:23:52 +0200 cpghost [EMAIL PROTECTED] wrote: IIRC, it's portmanager that patches bsd.port.mk on the fly (and backs the change out when it is done). Or it did so a while ago; I don't know if it still does today. Try to update portmanager, or use something else like portmaster or portupgrade, if updating portmanager didn't work. Portmanger acquired this feature just before Schultz went off in a huff. What it does is is patch bsd.port.mk so that it calls back into portmanager allowing it to modify dependencies. I haven't checked the code, but since I've not seen any evidence of portmanager trying to modify dependencies in the last few years, I suspect that the support for the callback is just a stub. If that's true then using an unpatched file is harmless. Wow, that is so wrong :O Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ftp daemon fails
On Tuesday 11 September 2007 18:51:44 tekkie140 wrote: hi - all of a sudden (it used to work) i can't start the ftpd daemon. # /usr/libexec/ftpd -l -R -p ftpd-id Sept 10 09:02:22 myhostname ftpd[1234]: getpeername (/usr/libexec/ftpd): Socket operation on non-socket # anyone know where i should look? /etc/hosts looks okay. getpeername means it doesn't have anything to connect with. It doesn't have anything to connect with, because you didn't specify -D option and as such it expects a socket from inetd. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
fastest way to ghost/image multiple machines?
I'm interested in how to specify a release and a bunch of packages, and squirt it to multiple machines. Or perhaps I'd like to spec the current binary contents of my machine (sans config files) so I could rebuild it from scratch later, without backups, or perhaps install another machine with my current set of packages, but 7.x instead of 6.2, etc. Permutations on this theme seem endless, and don't appear to be focused on in the handbook. Also interested in installing to a spare disk in my system, then putting said disk in another system. I always get errors after label'ing when I try it, presumably because I already have a filesystem mounted as root, and it trys to mount the new one as root to copy onto... Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mount_ntfs as normal user
On Tuesday 11 September 2007 18:42:53 Zbigniew Komarnicki wrote: Hello, I'd like to ask that this scenario is correct, or my system is compromised or somethin else? I have in /etc/sysctl.conf vfs.usermount=1 The ntfs slice is $ ls -ld /dev/ad0s1 crw-r- 1 root operator0, 101 Sep 10 14:06 /dev/ad0s1 Next in my home directory create folder win $ mkdir win $ mount_ntfs /dev/ad0s1 win $ ls win here is the output $AttrDef* MSDOS.SYS* $BadClus* NTDETECT.COM* $Bitmap* Program Files/ $Boot* RECYCLER/ [...] but I am not in group 'operator', and I'm now as normal user (not 'root'). Check it $ id uid=1001(zbigniew) gid=1001(zbigniew) groups=1001(zbigniew),0(wheel),1004 (media) What is the output of: ls -al `which mount_ntfs` under your user id? -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: F11 in Firefox
On Wed, 12 Sep 2007 12:38:38 -0700, David Benfell wrote: On Wed, 12 Sep 2007 15:15:51 -0400, Bill Moran wrote: In response to David Benfell [EMAIL PROTECTED]: Are you using the latest xfce4? I'm having trouble updating some ports: earth% ls -ald /var/db/pkg/xfce* drwxr-xr-x 2 root wheel 512 Sep 12 10:36 /var/db/pkg/xfce-3.8.18_6 drwxr-xr-x 2 root wheel 512 Sep 12 10:36 /var/db/pkg/xfce4-mcs-manager-4.4.1_1 drwxr-xr-x 2 root wheel 512 Sep 12 10:36 /var/db/pkg/xfce4-media-0.9.2_5 drwxr-xr-x 2 root wheel 512 Sep 12 10:37 /var/db/pkg/xfce4-panel-4.4.1_1 drwxr-xr-x 2 root wheel 512 Sep 12 10:37 /var/db/pkg/xfce4-session-4.4.1_1 earth% Ummm... I'll be back in a while. I am currently explicitly attempting to update xfce (to xfce4). It's bringing in a *lot* of stuff. I'm guessing I'm going to come back to a far different picture than the one I now face. Thanks! -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). pgp1UVxvzfVmv.pgp Description: PGP signature
Re: php5-5.2.3_1 / website behaves as if not enabled in httpd.conf
Hello, 2007/9/12, Mel [EMAIL PROTECTED]: On Wednesday 12 September 2007 20:51:52 Zbigniew Szalbot wrote: There's only one problem left to be solved - files with php extensions are not really shown in browser until I click RELOAD. Files with html extensions are shown without the need to reload. Thanks for your patience! Actually, maybe my description should be corrected - that is when I want to access a directory where index.php resides, apache will just display this directory content. But when I click (not reload) the php file, page is loaded correctly. To try and come to the cause, take Indexes outof Options for a given directory/location. It should give a Forbidden at that time, reason will be in error log, the exact request should be in access log. Look for subtle differences if there are any - between the forbidden and the reloaded page (like ending slash or what not). I did it for one directory where it was defined and I did get 403 error. So reading httpd-error.log: Directory index forbidden by rule: /usr/local/www/data/test/ access-log: GET / HTTP/1.1 403 302 Maybe I will have to say reconcile with php 4.4.7 after all. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: F11 in Firefox
David Benfell wrote: On Wed, 12 Sep 2007 12:38:38 -0700, David Benfell wrote: On Wed, 12 Sep 2007 15:15:51 -0400, Bill Moran wrote: In response to David Benfell [EMAIL PROTECTED]: Are you using the latest xfce4? I'm having trouble updating some ports: earth% ls -ald /var/db/pkg/xfce* drwxr-xr-x 2 root wheel 512 Sep 12 10:36 /var/db/pkg/xfce-3.8.18_6 drwxr-xr-x 2 root wheel 512 Sep 12 10:36 /var/db/pkg/xfce4-mcs-manager-4.4.1_1 drwxr-xr-x 2 root wheel 512 Sep 12 10:36 /var/db/pkg/xfce4-media-0.9.2_5 drwxr-xr-x 2 root wheel 512 Sep 12 10:37 /var/db/pkg/xfce4-panel-4.4.1_1 drwxr-xr-x 2 root wheel 512 Sep 12 10:37 /var/db/pkg/xfce4-session-4.4.1_1 earth% Ummm... I'll be back in a while. I am currently explicitly attempting to update xfce (to xfce4). It's bringing in a *lot* of stuff. I'm guessing I'm going to come back to a far different picture than the one I now face. If it helps any, you should get something similar to this when done: ls -1d xfce* xfce-4.4.1_1 xfce4-appfinder-4.4.1_1 xfce4-desktop-4.4.1_1 xfce4-icon-theme-4.4.1_1 xfce4-mcs-manager-4.4.1_1 xfce4-mcs-plugins-4.4.1_1 xfce4-mixer-4.4.1_1 xfce4-panel-4.4.1_1 xfce4-print-4.4.1_1 xfce4-session-4.4.1_1 xfce4-utils-4.4.1_1 xfce4-wm-4.4.1_1 xfce4-wm-themes-4.4.1 -- Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php5-5.2.3_1 / website behaves as if not enabled in httpd.conf
Zbigniew Szalbot wrote: Hello, 2007/9/12, Mel [EMAIL PROTECTED]: On Wednesday 12 September 2007 20:51:52 Zbigniew Szalbot wrote: There's only one problem left to be solved - files with php extensions are not really shown in browser until I click RELOAD. Files with html extensions are shown without the need to reload. Thanks for your patience! Actually, maybe my description should be corrected - that is when I want to access a directory where index.php resides, apache will just display this directory content. But when I click (not reload) the php file, page is loaded correctly. To try and come to the cause, take Indexes outof Options for a given directory/location. It should give a Forbidden at that time, reason will be in error log, the exact request should be in access log. Look for subtle differences if there are any - between the forbidden and the reloaded page (like ending slash or what not). I did it for one directory where it was defined and I did get 403 error. So reading httpd-error.log: Directory index forbidden by rule: /usr/local/www/data/test/ access-log: GET / HTTP/1.1 403 302 Maybe I will have to say reconcile with php 4.4.7 after all. maybe this was already mentioned, but what do you have DirectoryIndex set to? it should look something like: DirectoryIndex index.html index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fastest way to ghost/image multiple machines?
On Wednesday 12 September 2007 21:47:23 Steve Franks wrote: I'm interested in how to specify a release and a bunch of packages, and squirt it to multiple machines. Or perhaps I'd like to spec the current binary contents of my machine (sans config files) so I could rebuild it from scratch later, without backups, or perhaps install another machine with my current set of packages, but 7.x instead of 6.2, etc. Permutations on this theme seem endless, and don't appear to be focused on in the handbook. Also interested in installing to a spare disk in my system, then putting said disk in another system. I always get errors after label'ing when I try it, presumably because I already have a filesystem mounted as root, and it trys to mount the new one as root to copy onto... Sysinstall isn't smart enough. Use the source, Luke: - /usr/src/UPDATING and search for cross-install (Hint: DESTDIR is your friend) - /usr/obj|src can be nfs-mounted and installed from, here's a good tutorial you can expand on: http://www.freebsddiary.org/makeworld-2boxes.php Some gotchas/pointers: - /sparedisk/etc/master.passwd will have stock user accounts - sshd_enable=YES will not be in /sparedisk/etc/rc.conf (important when doing this remotely :) ) - /sparedisk/etc/rc.conf will not contain your network config. - /sparedisk/boot/loader.conf does not exist, so you might be missing some drivers/features your new machine relies on. - You can use sysinstall to partition the sparedisk, works like a charm even on running system, but: - Use [W]rite before [Q]uit - Make sure there's an 'a' partition for what will be root ('/'), else the bootloader will give a cryptic error on the new system. This is best done by giving a mount point '/' initially, then going over and changing it's name. - Do not use mount points as they 'should' be, instead use a prefix, like: mkdir /mnt/usr /mnt/var /mnt/home then use /mnt as what should be '/', '/mnt/usr' what should be '/usr' etc. Sysinstall will also succeed in mounting then and you can go right ahead and make install DESTDIR=/mnt . -- Mel who did the cross-install current not too long ago ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Shutting off sendmail
Hi all, I need to install qmail and shut down sendmail. In my /etc/rc.conf file I dienalbe sendmail, but when the box reboot sendmail starts up Why --- Bill Banks 508-829-2005 Wachusett Programming Ourweb http://www.ourweb.net http://www.ourwebtemplates.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Shutting off sendmail
On Wed, 12 Sep 2007 at 16:18 -0400, [EMAIL PROTECTED] confabulated: Hi all, I need to install qmail and shut down sendmail. In my /etc/rc.conf file I dienalbe sendmail, but when the box reboot sendmail starts up Why This is what I did in /etc/rc.conf to totally disable sendmail: sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=NO -- _|_ (_| | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Shutting off sendmail
Bill Banks wrote: Hi all, I need to install qmail and shut down sendmail. In my /etc/rc.conf file I dienalbe sendmail, but when the box reboot sendmail starts up Why --- Put this in /etc/rc.conf: sendmail_enable=NONE Tim Daneliuk [EMAIL PROTECTED] PGP Key: http://www.tundraware.com/PGP/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache22 web root directive
On Monday 10 September 2007 14:58:13 Rong-En Fan wrote: On Mon, Sep 10, 2007 at 07:16:15AM -0500, Eric wrote: Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Eric wrote: close, but I am not running in a non standard DocumentRoot as far as I know. its set to apache22's /usr/local/www/apache22/data, which is the default, but if you look at the mailgraph Makefile, it uses /usr/local/www/data for the install. the more i look at it, the more it seems like its a mailgraph issue. i guess I am curious of the apache20 default of /usr/local/www/data was around so long its just what everyone assumes, but from what I can tell, thats not the recommended practice. isnt it better to install to /usr/local/www/mailgraph and then alias things? Web-based applications will generally install into a subdirectory of /usr/local/www independent of what web server you use. There are some exceptions -- eg. cacti installs into /usr/local/share/cacti This means that you will have to make provision in your httpd.conf (or whatever the equivalent is for the webserver you're using) so that the filesystem space the application lives in is mapped into the URL-space provided by your webserver. In apache, that typically means setting up an alias and then applying appropriate access controls in a Location or Directory block. Formerly many web applications installed into the apache specific directory /usr/local/www/data but this behaviour is now discouraged. It's not, AFAIK, absolutely forbidden, but you'ld have a hard time getting a new port through committal if it behaved like that. I don't think there has been a concerted effort to find all of the older ports that install under /usr/local/www/data and modify them; rather individual maintainers are expected to modify their ports as the occasion arises. Cheers, Matthew - -- yes, and this is how i would prefer to see mailgraph operate as well. I was just pointing out the fact that mailgraph didnt work this way. Just to be clear, I am not doing anything out of the ordinary or using a non-recommended DocumentRoot. The patch at http://people.freebsd.org/~rafan/mailgraph.diff appears to work properly, but shouldnt mailgraph be installed to /usr/local/www/mailgraph as per the recommendations and an alias added to apache for access to mailgraph? As I said in previous mail, I want minimal user interaction for such a simple script. I asked on ports@ before committing. So why don't ports use the convenient etc/apache*/Includes? Defaults: WWWNAME ?= ${PORTNAME} WWWDIR ?= ${LOCALBASE}/www/${PORTNAME} post-install: ${ECHO_CMD} Alias /${WWNAME}/ ${WWDIR} \ ${PREFIX}/etc/apache*/Includes/${WWWNAME}.conf User can override, minimal user interaction... -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php5-5.2.3_1 / website behaves as if not enabled in httpd.conf
Hi there again, Actually, maybe my description should be corrected - that is when I want to access a directory where index.php resides, apache will just display this directory content. But when I click (not reload) the php file, page is loaded correctly. To try and come to the cause, take Indexes outof Options for a given directory/location. It should give a Forbidden at that time, reason will be in error log, the exact request should be in access log. Look for subtle differences if there are any - between the forbidden and the reloaded page (like ending slash or what not). I did it for one directory where it was defined and I did get 403 error. So reading httpd-error.log: Directory index forbidden by rule: /usr/local/www/data/test/ access-log: GET / HTTP/1.1 403 302 Maybe I will have to say reconcile with php 4.4.7 after all. maybe this was already mentioned, but what do you have DirectoryIndex set to? it should look something like: DirectoryIndex index.html index.php All is fine here. I do have index.php listed. The file httpd.conf came almost without any modification (apart from usual php4 replaced php5 references during update). Thanks! Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php5-5.2.3_1 / website behaves as if not enabled in httpd.conf [SOLVED]
Hello, 2007/9/12, Zbigniew Szalbot [EMAIL PROTECTED]: Hi there again, Actually, maybe my description should be corrected - that is when I want to access a directory where index.php resides, apache will just display this directory content. But when I click (not reload) the php file, page is loaded correctly. To try and come to the cause, take Indexes outof Options for a given directory/location. It should give a Forbidden at that time, reason will be in error log, the exact request should be in access log. Look for subtle differences if there are any - between the forbidden and the reloaded page (like ending slash or what not). I did it for one directory where it was defined and I did get 403 error. So reading httpd-error.log: Directory index forbidden by rule: /usr/local/www/data/test/ access-log: GET / HTTP/1.1 403 302 Maybe I will have to say reconcile with php 4.4.7 after all. maybe this was already mentioned, but what do you have DirectoryIndex set to? it should look something like: DirectoryIndex index.html index.php All is fine here. I do have index.php listed. The file httpd.conf came almost without any modification (apart from usual php4 replaced php5 references during update). I was given advice on php list to comment out everything in mod_dir.c starting from IfModule mod_dir.c IfModule mod_php3.c IfModule mod_php4.c and then enter just this: IfModule mod_dir.c DirectoryIndex index.php index.php3 index.html index.htm /IfModule Everything now works very well! Thank you all for your patience with me! Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Shutting off sendmail
thanks --- Bill Banks 508-829-2005 Wachusett Programming Ourweb http://www.ourweb.net http://www.ourwebtemplates.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Duane Hill Sent: Wednesday, September 12, 2007 4:50 PM To: Bill Banks Cc: freebsd-questions@freebsd.org Subject: Re: Shutting off sendmail On Wed, 12 Sep 2007 at 16:18 -0400, [EMAIL PROTECTED] confabulated: Hi all, I need to install qmail and shut down sendmail. In my /etc/rc.conf file I dienalbe sendmail, but when the box reboot sendmail starts up Why This is what I did in /etc/rc.conf to totally disable sendmail: sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=NO -- _|_ (_| | ___ 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: nvidia-driver rebooting machine on X startup
On Wednesday 12 September 2007 01:42:28 Philip M. Gollucci wrote: Darren Spruell wrote: If this *is* an issue with the nvidia driver, is there a good way for us to alert Nvidia? Customer support, I guess? I've had the same issue, but I think I solved it since its working for me. If I had to guess, this was Jul 27, 2007 that I went through this. I did something similar or harder in May 2007, but the driver versions were older then and so was the ports tree -- it was also on 6.2-release-p2. uname -a FreeBSD philip.hq.rws 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Jul 26 16:44:37 EDT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 nvidia0: GeForce 8600 GTS port 0xdc80-0xdcff mem 0xde00-0xdeff,0xc000-0xcfff,0xdc00-0xddff irq 16 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] nvidia0: [ITHREAD] Did any of you determine whether it's a kernel crash or magical reboot by allowing the kernel to dump and/or running WITNESS on -current? -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nvidia-driver rebooting machine on X startup
I setup to save dumpcrash, nothing was saved so I think it is just a reboot. Eric * Mel [EMAIL PROTECTED] [070912 17:12]: Date: Wed, 12 Sep 2007 23:12:21 +0200 From: Mel [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Cc: Bruce Cran [EMAIL PROTECTED], Darren Spruell [EMAIL PROTECTED], Philip M. Gollucci [EMAIL PROTECTED] Subject: Re: nvidia-driver rebooting machine on X startup On Wednesday 12 September 2007 01:42:28 Philip M. Gollucci wrote: Darren Spruell wrote: If this *is* an issue with the nvidia driver, is there a good way for us to alert Nvidia? Customer support, I guess? I've had the same issue, but I think I solved it since its working for me. If I had to guess, this was Jul 27, 2007 that I went through this. I did something similar or harder in May 2007, but the driver versions were older then and so was the ports tree -- it was also on 6.2-release-p2. uname -a FreeBSD philip.hq.rws 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Jul 26 16:44:37 EDT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 nvidia0: GeForce 8600 GTS port 0xdc80-0xdcff mem 0xde00-0xdeff,0xc000-0xcfff,0xdc00-0xddff irq 16 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] nvidia0: [ITHREAD] Did any of you determine whether it's a kernel crash or magical reboot by allowing the kernel to dump and/or running WITNESS on -current? -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- === Eric I. Ekong[EMAIL PROTECTED] FreeBSD - The Power to Serve http://www.freebsd.org K Desktop Environment on FreeBSD http://freebsd.kde.org Enlightenment E16 and E17http://www.e.org === Laws of Serendipity: (1) In order to discover anything, you must be looking for something. (2) If you wish to make an improved product, you must already be engaged in making an inferior one. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: F11 in Firefox
On Wed, 12 Sep 2007 16:22:41 -0400, Philip M. Gollucci wrote: If it helps any, you should get something similar to this when done: ls -1d xfce* xfce-4.4.1_1 xfce4-appfinder-4.4.1_1 xfce4-desktop-4.4.1_1 xfce4-icon-theme-4.4.1_1 xfce4-mcs-manager-4.4.1_1 xfce4-mcs-plugins-4.4.1_1 xfce4-mixer-4.4.1_1 xfce4-panel-4.4.1_1 xfce4-print-4.4.1_1 xfce4-session-4.4.1_1 xfce4-utils-4.4.1_1 xfce4-wm-4.4.1_1 xfce4-wm-themes-4.4.1 Thanks. I now have: drwxr-xr-x 2 root wheel 512 Sep 12 10:36 /var/db/pkg/xfce-3.8.18_6 drwxr-xr-x 2 root wheel 512 Sep 12 13:48 /var/db/pkg/xfce-4.4.1_1 drwxr-xr-x 2 root wheel 512 Sep 12 12:53 /var/db/pkg/xfce4-appfinder-4.4.1_1 drwxr-xr-x 2 root wheel 512 Sep 12 13:02 /var/db/pkg/xfce4-desktop-4.4.1_1 drwxr-xr-x 2 root wheel 512 Sep 12 13:43 /var/db/pkg/xfce4-icon-theme-4.4.1_1 drwxr-xr-x 2 root wheel 512 Sep 12 10:36 /var/db/pkg/xfce4-mcs-manager-4.4.1_1 drwxr-xr-x 2 root wheel 512 Sep 12 12:45 /var/db/pkg/xfce4-mcs-plugins-4.4.1_1 drwxr-xr-x 2 root wheel 512 Sep 12 10:36 /var/db/pkg/xfce4-media-0.9.2_5 drwxr-xr-x 2 root wheel 512 Sep 12 13:47 /var/db/pkg/xfce4-mixer-4.4.1_1 drwxr-xr-x 2 root wheel 512 Sep 12 10:37 /var/db/pkg/xfce4-panel-4.4.1_1 drwxr-xr-x 2 root wheel 512 Sep 12 13:16 /var/db/pkg/xfce4-print-4.4.1_1 drwxr-xr-x 2 root wheel 512 Sep 12 10:37 /var/db/pkg/xfce4-session-4.4.1_1 drwxr-xr-x 2 root wheel 512 Sep 12 13:04 /var/db/pkg/xfce4-utils-4.4.1_1 drwxr-xr-x 2 root wheel 512 Sep 12 12:51 /var/db/pkg/xfce4-wm-4.4.1_1 drwxr-xr-x 2 root wheel 512 Sep 12 13:45 /var/db/pkg/xfce4-wm-themes-4.4.1 I've symbolically linked .xinitrc in my home directory to startxfce4 and I am indeed coming up in a world that's rather different from what I've seen before. I'll have to take some time to figure all this out. Thanks again, all. -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). pgp7vD6qBHHm0.pgp Description: PGP signature
Re: nvidia-driver rebooting machine on X startup
* Darren Spruell [EMAIL PROTECTED] [070911 19:20]: Date: Tue, 11 Sep 2007 16:20:00 -0700 From: Darren Spruell [EMAIL PROTECTED] To: Bruce Cran [EMAIL PROTECTED] Cc: Mel [EMAIL PROTECTED], freebsd-questions@freebsd.org Subject: Re: nvidia-driver rebooting machine on X startup On 9/11/07, Bruce Cran [EMAIL PROTECTED] wrote: Mel wrote: There's 3 things left I can think of: - weird module clash - bug in nvidia-driver (I assume you're running Xorg 7.x) - driver was not built against running kernel I'm seeing a similar problem, but my system spontaneously reboots whenever it uses any 3D - for example any of the 3D xscreensaver modules in full screen mode. I'm running 7.0-CURRENT and just realised I have PREEMPTION enabled since it's now in GENERIC. I remember a while ago this caused stability problems with the nvidia driver - does anyone know if this could still be a problem? I think there's more going on however, since the driver doesn't seem to know about my card during bootup (it shows Unknown) though it clearly does find it when starting Xorg. Going back to the nvidia-driver-96xx port appears to fix the problems, and that driver does know what nVidia card I'm using during boot. 3 of us have posted a thread on nvidia forums as problem reports; I've at least tried an older (legacy) driver version to no luck and eliminated every suggestion I've gotten from the fbsd community as well. If anyone would like, feel free to piggyback on the thread. There's been no help response on the forums for a couple of days now. http://forums.nvidia.com/index.php?showtopic=45590 If this *is* an issue with the nvidia driver, is there a good way for us to alert Nvidia? Customer support, I guess? -- Darren Spruell [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Seems like even more than that in the freebsd forums located here... http://www.nvnews.net/vbulletin/forumdisplay.php?f=47 Might want to repost here as well. Eric -- === Eric I. Ekong[EMAIL PROTECTED] FreeBSD - The Power to Serve http://www.freebsd.org K Desktop Environment on FreeBSD http://freebsd.kde.org Enlightenment E16 and E17http://www.e.org === Laws of Serendipity: (1) In order to discover anything, you must be looking for something. (2) If you wish to make an improved product, you must already be engaged in making an inferior one. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: F11 in Firefox
David Benfell wrote: I've symbolically linked .xinitrc in my home directory to startxfce4 and I am indeed coming up in a world that's rather different from what I've seen before. I'll have to take some time to figure all this out. No -- /usr/home/pgollucci ls -l .xinitrc -rw-r--r-- 1 pgollucci wheel - 11B Jul 26 20:13:51 2007 .xinitrc [05:22 PM](ttyp4)[EMAIL PROTECTED] j0 h2 c502 /usr/home/pgollucci cat .xinitrc startxfce4 -- Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nvidia-driver rebooting machine on X startup
Mel wrote: On Wednesday 12 September 2007 01:42:28 Philip M. Gollucci wrote: Darren Spruell wrote: If this *is* an issue with the nvidia driver, is there a good way for us to alert Nvidia? Customer support, I guess? I've had the same issue, but I think I solved it since its working for me. If I had to guess, this was Jul 27, 2007 that I went through this. I did something similar or harder in May 2007, but the driver versions were older then and so was the ports tree -- it was also on 6.2-release-p2. uname -a FreeBSD philip.hq.rws 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Jul 26 16:44:37 EDT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 nvidia0: GeForce 8600 GTS port 0xdc80-0xdcff mem 0xde00-0xdeff,0xc000-0xcfff,0xdc00-0xddff irq 16 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] nvidia0: [ITHREAD] Did any of you determine whether it's a kernel crash or magical reboot by allowing the kernel to dump and/or running WITNESS on -current? I did not -- it was my office desktop and I didn't have time to futz with it much. Yeah I know don't run current then. -- Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php5-5.2.3_1 / website behaves as if not enabled in httpd.conf
On Wednesday 12 September 2007 21:28:45 Eric wrote: Mel wrote: On Wednesday 12 September 2007 09:23:19 Zbigniew Szalbot wrote: Hi there again, Change the order of the extensions in extensions.ini. Each upgrade the order is magically different, but the following comments I've assembled over time: $ grep '^;' /usr/local/etc/php/extensions.ini ; NOTE: spl makes php coredump if loaded after pspell ; NOTE 2: simplexml makes php coredump if loaded after pspell Yes, pspell is the common factor, but it isn't always. I should've kept track, but the binding factor seems to be php extensions using a C++-written library. Once I see the coredump, I start moving the last extension up and re-run php -v. If it's all the way up, take the next extension on the bottom and rince and repeat. i see the same behavior if session module is loaded after other modules. Moving things around fixes this. I use the php -v trick as well until the core dump goes away Correct, it started with session in 5.1.x, only on -cli, so I moved it from extensions.ini to etc/php.ini and *not* in etc/php-cli.ini (cli doesn't need sessions 99.9% of the time anyway). Later another module was the cause, so I started looking into it more. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php5-5.2.3_1 / website behaves as if not enabled in httpd.conf [SOLVED]
On Wednesday 12 September 2007 22:45:29 Zbigniew Szalbot wrote: Hello, 2007/9/12, Zbigniew Szalbot [EMAIL PROTECTED]: Hi there again, Actually, maybe my description should be corrected - that is when I want to access a directory where index.php resides, apache will just display this directory content. But when I click (not reload) the php file, page is loaded correctly. To try and come to the cause, take Indexes outof Options for a given directory/location. It should give a Forbidden at that time, reason will be in error log, the exact request should be in access log. Look for subtle differences if there are any - between the forbidden and the reloaded page (like ending slash or what not). I did it for one directory where it was defined and I did get 403 error. So reading httpd-error.log: Directory index forbidden by rule: /usr/local/www/data/test/ access-log: GET / HTTP/1.1 403 302 Maybe I will have to say reconcile with php 4.4.7 after all. maybe this was already mentioned, but what do you have DirectoryIndex set to? it should look something like: DirectoryIndex index.html index.php All is fine here. I do have index.php listed. The file httpd.conf came almost without any modification (apart from usual php4 replaced php5 references during update). I was given advice on php list to comment out everything in mod_dir.c starting from IfModule mod_dir.c IfModule mod_php3.c IfModule mod_php4.c and then enter just this: IfModule mod_dir.c DirectoryIndex index.php index.php3 index.html index.htm /IfModule Everything now works very well! Thank you all for your patience with me! Duh! I hafta remember that. Apparently --enable-versioning doesn't expose I am mod_php3.c, so Apache bails out on the IfModule mod_php3.c and doesn't even see what's in there. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: chmod / files and directories
On Tuesday 11 September 2007 13:15:55 Zbigniew Komarnicki wrote: On Monday 10 of September 2007 17:56:12 Zbigniew Szalbot wrote: Hello, I did read man chmod but I am not really wiser. Is there an option to recursively set 755 permissions for directories and 644 for files? When I just issue chmod -R 755 /usr/local/www/data/wp/ then all files and directories under wp/ are given permissions 755 which is not what I want. Maybe also in such way: # find /usr/local/www/data/wp -type f -exec chmod 644 {} \; # chmod -R a+X /usr/local/www/data/wp That's the equivalent of chmod -R 755, since it sets exec bit on everything. Assuming all directories are already executable and files are not, the shortcut would be: chmod -R o+w,go-w,a+r /usr/local/www/data/wp -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nvidia-driver rebooting machine on X startup
On Wednesday 12 September 2007 23:21:57 Eric Ekong wrote: * Darren Spruell [EMAIL PROTECTED] [070911 19:20]: Date: Tue, 11 Sep 2007 16:20:00 -0700 From: Darren Spruell [EMAIL PROTECTED] To: Bruce Cran [EMAIL PROTECTED] Cc: Mel [EMAIL PROTECTED], freebsd-questions@freebsd.org Subject: Re: nvidia-driver rebooting machine on X startup On 9/11/07, Bruce Cran [EMAIL PROTECTED] wrote: Mel wrote: There's 3 things left I can think of: - weird module clash - bug in nvidia-driver (I assume you're running Xorg 7.x) - driver was not built against running kernel I'm seeing a similar problem, but my system spontaneously reboots whenever it uses any 3D - for example any of the 3D xscreensaver modules in full screen mode. I'm running 7.0-CURRENT and just realised I have PREEMPTION enabled since it's now in GENERIC. I remember a while ago this caused stability problems with the nvidia driver - does anyone know if this could still be a problem? I think there's more going on however, since the driver doesn't seem to know about my card during bootup (it shows Unknown) though it clearly does find it when starting Xorg. Going back to the nvidia-driver-96xx port appears to fix the problems, and that driver does know what nVidia card I'm using during boot. 3 of us have posted a thread on nvidia forums as problem reports; I've at least tried an older (legacy) driver version to no luck and eliminated every suggestion I've gotten from the fbsd community as well. If anyone would like, feel free to piggyback on the thread. There's been no help response on the forums for a couple of days now. http://forums.nvidia.com/index.php?showtopic=45590 If this *is* an issue with the nvidia driver, is there a good way for us to alert Nvidia? Customer support, I guess? -- Darren Spruell [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Seems like even more than that in the freebsd forums located here... http://www.nvnews.net/vbulletin/forumdisplay.php?f=47 Might want to repost here as well. Hmm: http://www.nvnews.net/vbulletin/showpost.php?p=1313960postcount=2 My guess is they were in /usr/local/lib/compat/pkg. Any chance you guys have stale libraries hiding away (use ldconfig -r when in doubt)? -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: chmod / files and directories
On Wednesday 12 September 2007 23:34:31 Mel wrote: On Tuesday 11 September 2007 13:15:55 Zbigniew Komarnicki wrote: On Monday 10 of September 2007 17:56:12 Zbigniew Szalbot wrote: Hello, I did read man chmod but I am not really wiser. Is there an option to recursively set 755 permissions for directories and 644 for files? When I just issue chmod -R 755 /usr/local/www/data/wp/ then all files and directories under wp/ are given permissions 755 which is not what I want. Maybe also in such way: # find /usr/local/www/data/wp -type f -exec chmod 644 {} \; # chmod -R a+X /usr/local/www/data/wp That's the equivalent of chmod -R 755, since it sets exec bit on everything. Assuming all directories are already executable and files are not, the shortcut would be: chmod -R o+w,go-w,a+r /usr/local/www/data/wp Naturally that's u+w. I shall proofread before pressing send. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: chmod / files and directories
On Wed, Sep 12, 2007 at 11:34:31PM +0200, Mel wrote: On Tuesday 11 September 2007 13:15:55 Zbigniew Komarnicki wrote: On Monday 10 of September 2007 17:56:12 Zbigniew Szalbot wrote: Hello, I did read man chmod but I am not really wiser. Is there an option to recursively set 755 permissions for directories and 644 for files? When I just issue chmod -R 755 /usr/local/www/data/wp/ then all files and directories under wp/ are given permissions 755 which is not what I want. Maybe also in such way: # find /usr/local/www/data/wp -type f -exec chmod 644 {} \; # chmod -R a+X /usr/local/www/data/wp That's the equivalent of chmod -R 755, since it sets exec bit on everything. Assuming all directories are already executable and files are not, the shortcut would be: chmod -R o+w,go-w,a+r /usr/local/www/data/wp -- Mel Mel, According to the man page, using a+X (note the capitalization) should only set the executable bit on directories, or on files which have any executable bit set. A quick test confirms this behavior. I think that the combination of the two commands that Zbigniew Komarnicki listed will result in the desired permissions for the subtree. Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: F11 in Firefox
On Wed, 12 Sep 2007 17:22:29 -0400, Philip M. Gollucci wrote: David Benfell wrote: I've symbolically linked .xinitrc in my home directory to startxfce4 and I am indeed coming up in a world that's rather different from what I've seen before. I'll have to take some time to figure all this out. No -- /usr/home/pgollucci ls -l .xinitrc -rw-r--r-- 1 pgollucci wheel - 11B Jul 26 20:13:51 2007 .xinitrc [05:22 PM](ttyp4)[EMAIL PROTECTED] j0 h2 c502 /usr/home/pgollucci cat .xinitrc startxfce4 That would certainly be more in the form I've seen in the past. Does it really make a difference? -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). pgpfepILdK8YC.pgp Description: PGP signature
Wireless connection problem.
Hi List! I've got a really annoying problem with my wireless connection from my FreeBSD Gateway to the WAN-router (Yes, the gateway connect to the WAN via wireless :(. ). The setup works fine until the carrier is lost (maybe weak signal), then it refuses to pick the connection up again, resulting in a non-working gateway. Then I have to flush ipfw, dhclient ath0 and restart natd to make it all work again. If I keep the connection busy (i.e. ping -i 5 gateway), it all works fine, no carrier is lost. Shouldn't it be possible for the setup to regain carrier automatically when it's lost? My setup: 1: rc.conf: gateway_enable=YES dhclient_program=/sbin/dhclient dhclient_flags= firewall_enable=YES firewall_script=/etc/rc.firewall firewall_type=OPEN natd_enable=YES natd_interface=ath0 natd_flags=-f /etc/natd.conf (same_ports yes - use_sockets yes - dynamic yes) ifconfig_ath0=ssid ZyXEL DHCP wepmode on weptxkey 1 wepkey 1:0x. 2: ipfw list: (not safe, just temporary) 50 divert 8668 ip from any to any via ath0 100 allow ip from any to any 3: Hardware The ath0 card is a D-Link DWL-G520 The router is a ZyXEL P-320 (no turbomode etc) As I said, the setup works flawless util the carrier is lost and ath0 is unable to regain carrier. I've tried freebsd-mobile, but it seems fairly idle. Thanks in advance, Regards J ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: F11 in Firefox
David Benfell wrote: Hello all, Having long fingers, I occasionally hit F11 while typing into a text box in Firefox. F11 does something truly horrible that I never under any circumstances want. It moves the window partially off screen such that the window controls are inaccessible. As I said, I NEVER EVER want this function. It is, in my view, a damnable bug. The only way I can get control back is to exit Firefox. How do I kill it? Try adding something like the following to your Firefox profile's /chrome/userChrome.css file, and restart Firefox. menuitem[label=Full Screen] { display: none; } I am not totally sure that will kill the F11 equivalent, but it will remove the menu option and I think take away the fkey as well. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Wireless connection problem.
On Wednesday 12 September 2007 23:44:19 nollan wrote: Hi List! I've got a really annoying problem with my wireless connection from my FreeBSD Gateway to the WAN-router (Yes, the gateway connect to the WAN via wireless :(. ). The setup works fine until the carrier is lost (maybe weak signal), then it refuses to pick the connection up again, resulting in a non-working gateway. Then I have to flush ipfw, dhclient ath0 and restart natd to make it all work again. If I keep the connection busy (i.e. ping -i 5 gateway), it all works fine, no carrier is lost. Shouldn't it be possible for the setup to regain carrier automatically when it's lost? My setup: 1: rc.conf: gateway_enable=YES dhclient_program=/sbin/dhclient dhclient_flags= firewall_enable=YES firewall_script=/etc/rc.firewall firewall_type=OPEN natd_enable=YES natd_interface=ath0 natd_flags=-f /etc/natd.conf (same_ports yes - use_sockets yes - dynamic yes) ifconfig_ath0=ssid ZyXEL DHCP wepmode on weptxkey 1 wepkey 1:0x. Have you tried wpa_supplicant(8)? If I understand correctly your interface isn't marked as 'down', so re-initialization doesn't occur. wpa_supplicant might pick up on it. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
netcraft uptime
Hi, I see that netcraft uptime doesnt function because the kernel timer is set to 1000 by default in freebsd 6.x So perhaps setting kern.hz=100 fixes the problem? What about things getting wrapped in 497 days? How are there some FreeBSD hosts which have 1600+days uptime? how do they manage it? I am just trying to figure out how to do the same in my systems :) Thanks, Evren ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: F11 in Firefox
Hitting F11 again doesn't bring it back to normal? It does for me. Cheers, Brent -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Greg Barniskis Sent: Thursday, 13 September 2007 10:00 a.m. To: freebsd-questions@freebsd.org; David Benfell Subject: Re: F11 in Firefox David Benfell wrote: Hello all, Having long fingers, I occasionally hit F11 while typing into a text box in Firefox. F11 does something truly horrible that I never under any circumstances want. It moves the window partially off screen such that the window controls are inaccessible. As I said, I NEVER EVER want this function. It is, in my view, a damnable bug. The only way I can get control back is to exit Firefox. How do I kill it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: F11 in Firefox
On Thu, 13 Sep 2007 at 10:28 +1200, [EMAIL PROTECTED] confabulated: Hitting F11 again doesn't bring it back to normal? It does for me. It does for me too. And, at least in KDE (I'm sure it should be their in other desktop/window managers), you can click on the window restore in the upper right corner (one in the middle) to restore back to normal. -- _|_ (_| | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Two Day International Conference
Friends, A two day international conference (ICIST2007) is planned at Thrissur(Kerala, India) during 14,15 December 2007 with Free Software as the principal theme. RMS has agreed to engage the participants in a virtual session and clarify online to any subsequent queries. Papers are solicited for ICIST2007. Details are at http://mesengg.ac.in/icist2007.htm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]