Re: build and install a kernel to another mounted system
Forgive me my stupidity. What are you exactly trying to do? Are you trying to install FreeSBIE on the hard drive that you mounted as a file system? Officially FreeSBIE 2.01 does not support installation. If I was supposed to do this I would just do an honest installation of FreeBSD 6.2. stable and copy configuration files from FreeSBIE and then compile the same packages that you like Xfce and etc. cracker jack wrote: Hi guys, I hope I'm posting in the right place. My situation is that I've got a laptop thats booted with a live-cd FreeSBIE. My laptops HD (/dev/ad0s1a) is mounted on /tmp/fixed and I'm trying to build and install a kernel to that mounted filesystem, with home, tmp, var and usr mounted on /tmp/fixed/home etc. I've got the kernel sources extracted to /tmp/fixed/usr/src/ by the following: # cd /path-to/6.2-RELEASE/src # cat ssys.[a-d]* | tar -zxvf - -C /tmp/fixed/usr/src # cat sbase.[a-d]* | tar -zxvf - -C /tmp/fixed/usr/src/ My custom kernel is in /tmp/fixed/root/kernels/CUSTOM, with a symlink from /tmp/fixed/usr/src/sys/i386/conf/CUSTOM pointing to it. But I'm getting errors when from /tmp/fixed/usr/src I run # make buildkernel KERNCONF=CUSTOM I've tried to run that under a chroot too: # chroot /tmp/fixed # setenv MAKEOBJDIRPREFIX /usr/obj2 # setenv DESTDIR / # make buildkernel KERNCONF=CUSTOM But I'm still getting errors, mainly with ACPI. Is it possible to do what I'm looking at? ie build a custom kernel using sources from a mounted filesystem, and install it to that mounted filesystem? Thanks plenty. ___ 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: ip assignments
On Sunday 09 September 2007 21:50, jekillen wrote: [snio] I found that each of the interfaces have to be assigned an address in a different subnet. for them to both be usable. Q: Is this characteristic of tcp/ip in general, or specific to FreeBSD? Imagine the following situation: NIC0 10.0.0.1/24 NIC1 10.0.0.2/24 The kernel gets a packet from 10.0.0.3. Where should the reply would be send from? NIC0 or NIC1? Situation #2 NIC0 10.0.0.1/24 NIC1 10.0.0.2/24 NIC2 192.168.0.1/24 The kernel gets a packet for 10.0.0.3. Where this packet should be forwarded to? So, FreeBSD does not accept such IP configurations, to keep things sane. Other operating systems accept such configurations, but you have to be careful and you have to know what you are doing, in order to prevent self foot-shooting. Of course there are valid ways to achieve the same results without the foot-shooting factor. Using aliases with /32 mask is one. What's wrong with IP_alias/32? HTH Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GEOM ELI: MD5 hash mismatch for /dev/mirror/gm0s1f
It's impossible to tell which one of these is more likely without more information (e.g. did you receive any other messages, such as CRC errors on the drive?) No, I didn't receive more information. Can I exclude that a combination of gmirror and geli is responsible for this error? Because one without another works fine. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
(off-topic) Outlook 2003 msgids causing odd email problems
I'm raising this here in case anyone else has either seen this problem and has any thoughts, or alternatively has experienced the fallout and is wondering why. Over the last few weeks I've had complaints that email messages are going astray. This has happened in Cyrus imapd on delivery, and in Mailman, where archiving of posts is sometimes broken. After much scratching of head and tearing of hair, I have finally found two provable instances - one in Cyrus and one in Mailman - of replies to messages being sent using Microsoft Outlook Service Pack 2, where Outlook has given the reply the same message-id as the message it is replying to - in flat violation of RFC{2}822. (In one case the original message, the read-receipt automatically generated by Outlook, the reply, and the forward of the reply sent when the reply didn't arrive, all had the same msg-id). As far as I can tell this behaviour was introduced by SP2; the Web says Outlook 2003 before that didn't add message-ids at all. I've now set duplicatesuppression no in imapd.conf which seems to be addressing the problem of lmtpd discarding the ``duplicate'' messages. Mailman is another issue. I haven't seen any discussion of this problem on the Web: has anyone else encountered it? Better yet, does anyone have a fix (on the Microsoft side)? Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Hunks failed, is this bad?
Hi all I hope you can help me. I have a clean install of freebsd. I changed to /usr and made ports directory. Then I ran portsnap fetch and then extract. Then I changed to ports-mngmt/portmanager and did make install clean. When I try to install any port using either 'make install clean' or 'portmanager www/lighttpd' (for example) I see hunks failed in stdout. As an exaple I saw one of these flas by when installing lighttpd: |--- /usr/ports/Mk/bsd.port.mk Tue Nov 8 01:02:51 2005 |+++ bsd.port.mkWed Nov 16 02:16:57 2005 -- Patching file bsd.port.mk using Plan A... Hunk #1 failed at 2049. 1 out of 1 hunks failed--s As far as I can tell I see similar errors no matter what port I try to install. Is this a problem? Many thanks Gabriel Dragffy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Hunks failed, is this bad?
Hi all I hope you can help me. I have a clean install of freebsd. I changed to /usr and made ports directory. Then I ran portsnap fetch and then extract. Then I changed to ports-mngmt/portmanager and did make install clean. When I try to install any port using either 'make install clean' or 'portmanager www/lighttpd' (for example) I see hunks failed in stdout. As an exaple I saw one of these flas by when installing lighttpd: |--- /usr/ports/Mk/bsd.port.mk Tue Nov 8 01:02:51 2005 |+++ bsd.port.mkWed Nov 16 02:16:57 2005 -- Patching file bsd.port.mk using Plan A... Hunk #1 failed at 2049. 1 out of 1 hunks failed--s As far as I can tell I see similar errors no matter what port I try to install. Is this a problem? Many thanks Gabriel Dragffy ___ 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
On 2007-09-10 20:31, Kyle Allender [EMAIL PROTECTED] wrote: I let the build complete during the day while away at work and found this when I arrived home: [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 479 packages found (-0 +1) . done] --- Reinstallation of devel/subversion ended at: Mon, 10 Sep 2007 08:53:04 -0500 (consumed 00:12:50) --- ** Upgrade tasks 9: 9 done, 0 ignored, 0 skipped and 0 failed --- Listing the results (+:done / -:ignored / *:skipped / !:failed) + lang/perl5.8 (perl-5.8.8) + textproc/expat2 (expat-2.0.0_1) + converters/libiconv (libiconv-1.9.2_2) + devel/gettext (gettext-0.16.1_3) + www/neon (neon-0.26.4) + databases/gdbm (gdbm-1.8.3_3) + databases/db42 (db42-4.2.52_5) + devel/apr-svn (apr-gdbm-db42-1.2.8_1) + devel/subversion (subversion-1.4.4_1) --- Packages processed: 9 done, 0 ignored, 0 skipped and 0 failed --- Session ended at: Mon, 10 Sep 2007 08:53:20 -0500 (consumed 01:11:48) sia# pwd /home/kylea/calendarserver 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 :-/ ___ 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 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 of course if you have symbolic links there see for additional options in chmod command as for example -L, -P, H. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sony Ericsson: (da0:umass-sim0:0:0:0): NOT READY asc:3a, 0 (repeated)
Snow Mountains [EMAIL PROTECTED] writes: Lowell Gilbert wrote: I have a Sony Ericsson phone, but it isn't a USB device. Thanks Lowell for your response. Do you attach your Sony Ericsson to computer at all, for example if you use it as camera? Is there any other option, or something that can you recommend? Another cable? I don't have any cables. I use Bluetooth when I copy things on or off the camera -- but I don't do that often. These kinds of messages usually mean that the umass device is not responding as expected to queries. Some other Sony devices (cameras) seem to have extra padding requirements; you could try adding a quirk to the code for the umass device driver. To look more deeply, you would need someone with a decent knowledge of the USB protocols. Can you help me about what text I should add (in umass.c??) I mean, how to add quirk just for this specific phone? Sorry, but this is far away from my knowledge but I would like to try. I know how to recompile kernel and test it. I was just suggesting making a copy of one of the entries and replacing the vendor and device IDs with the ones for your device (which you can get from usbdevs(8)). You could look up the FreeBSD developers who have worked on umass.c and ask one of them for help... Good luck, and sorry I haven't time to help more at the moment. ___ 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-10 20:31, Kyle Allender [EMAIL PROTECTED] wrote: I let the build complete during the day while away at work and found this when I arrived home: [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 479 packages found (-0 +1) . done] --- Reinstallation of devel/subversion ended at: Mon, 10 Sep 2007 08:53:04 -0500 (consumed 00:12:50) --- ** Upgrade tasks 9: 9 done, 0 ignored, 0 skipped and 0 failed --- Listing the results (+:done / -:ignored / *:skipped / !:failed) + lang/perl5.8 (perl-5.8.8) + textproc/expat2 (expat-2.0.0_1) + converters/libiconv (libiconv-1.9.2_2) + devel/gettext (gettext-0.16.1_3) + www/neon (neon-0.26.4) + databases/gdbm (gdbm-1.8.3_3) + databases/db42 (db42-4.2.52_5) + devel/apr-svn (apr-gdbm-db42-1.2.8_1) + devel/subversion (subversion-1.4.4_1) --- Packages processed: 9 done, 0 ignored, 0 skipped and 0 failed --- Session ended at: Mon, 10 Sep 2007 08:53:20 -0500 (consumed 01:11:48) sia# pwd /home/kylea/calendarserver 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: libsvn_client-1.so.0 = /usr/local/lib/libsvn_client-1.so.0 (0x28093000) libsvn_wc-1.so.0 = /usr/local/lib/libsvn_wc-1.so.0 (0x280b3000) libsvn_ra-1.so.0 = /usr/local/lib/libsvn_ra-1.so.0 (0x280db000) libsvn_diff-1.so.0 = /usr/local/lib/libsvn_diff-1.so.0 (0x280df000) libsvn_ra_local-1.so.0 = /usr/local/lib/libsvn_ra_local-1.so.0 (0x280e7000) libsvn_repos-1.so.0 = /usr/local/lib/libsvn_repos-1.so.0 (0x280ed000) libsvn_fs-1.so.0 = /usr/local/lib/libsvn_fs-1.so.0 (0x28108000) libsvn_fs_fs-1.so.0 = /usr/local/lib/libsvn_fs_fs-1.so.0 (0x2810d000) libsvn_fs_base-1.so.0 = /usr/local/lib/libsvn_fs_base-1.so.0 (0x28124000) libsvn_ra_svn-1.so.0 = /usr/local/lib/libsvn_ra_svn-1.so.0 (0x28144000) libsvn_ra_dav-1.so.0 = /usr/local/lib/libsvn_ra_dav-1.so.0 (0x28153000) libsvn_delta-1.so.0 = /usr/local/lib/libsvn_delta-1.so.0 (0x2816a000) libsvn_subr-1.so.0 = /usr/local/lib/libsvn_subr-1.so.0 (0x28173000) libaprutil-1.so.2 = /usr/local/lib/libaprutil-1.so.2 (0x2819d000) libgdbm.so.3 = /usr/local/lib/libgdbm.so.3 (0x281b2000) libdb-4.2.so.2 = /usr/local/lib/libdb-4.2.so.2 (0x281b8000) libapr-1.so.2 = /usr/local/lib/libapr-1.so.2 (0x28276000) libcrypt.so.3 = /lib/libcrypt.so.3 (0x28296000) libpthread.so.2 = /lib/libpthread.so.2 (0x282ae000) libneon.so.26 = /usr/local/lib/libneon.so.26 (0x282d3000) libssl.so.4 = /usr/lib/libssl.so.4 (0x282ee000) libcrypto.so.4 = /lib/libcrypto.so.4 (0x2831c000) 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) libcom_err.so = /usr/lib/libcom_err.so (0x2849) libexpat.so.6 = /usr/local/lib/libexpat.so.6 (0x28492000) libintl.so.8 = /usr/local/lib/libintl.so.8 (0x284b) libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x284b9000) libz.so.3 = /lib/libz.so.3 (0x285a6000) libc.so.6 = /lib/libc.so.6 (0x285b7000) 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) sia# It looks like libk5crypto.so is pointing to /usr/local/lib while libkrb5.so points to /usr/local. 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# K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: (off-topic) Outlook 2003 msgids causing odd email problems
Replying to myself, On Tuesday 11 September 2007 12:20, Jonathan McKeown wrote: After much scratching of head and tearing of hair, I have finally found two provable instances - one in Cyrus and one in Mailman - of replies to messages being sent using Microsoft Outlook Service Pack 2, where Outlook has given the reply the same message-id as the message it is replying to - in flat violation of RFC{2}822. (In one case the original message, the read-receipt automatically generated by Outlook, the reply, and the forward of the reply sent when the reply didn't arrive, all had the same msg-id). After further investigation, it appears that the message-id generated by Outlook 2003 has the originating host name on the RHS (after the @), unless the sending machine is a member of a Server 2003 AD domain in which case the domain name is used which increases the risk of a collision (especially if the LHS is copied!). Jonathan ___ 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
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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Snort with PF as an IPS
Hello I am interested if anybody uses snort with pf to block in realtime ips detected by snort as viruses, scans and so on. I saw on mail lists that is working Snort + ipfw (snort_inline) but I need pf for this setup. Also I wonder if it is possible to block p2p traffic using such setup, with p2p rules defined from Snort. Best Regards, ovidiu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Snort with PF as an IPS
Daniel Marsh wrote: On 9/11/07, Ovi [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hello I am interested if anybody uses snort with pf to block in realtime ips detected by snort as viruses, scans and so on. I saw on mail lists that is working Snort + ipfw (snort_inline) but I need pf for this setup. Also I wonder if it is possible to block p2p traffic using such setup, with p2p rules defined from Snort. You can use Spoink which will apply as a patch to Snort (either needs the port modified or snort compiled manually). Spoink will add IP addresses which Snort has alerted on to a specified table in Pf. http://freshmeat.net/projects/spoink/ Thank you, I'll try spoink. I've also found snort2pf (http://sourceforge.net/projects/snort2pf/) Best Regards, ovidiu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Snort with PF as an IPS
On Tue, Sep 11, 2007 at 05:27:50PM +0300, Ovi wrote: Hello I am interested if anybody uses snort with pf to block in realtime ips detected by snort as viruses, scans and so on. I saw on mail lists that is working Snort + ipfw (snort_inline) but I need pf for this setup. Also I wonder if it is possible to block p2p traffic using such setup, with p2p rules defined from Snort. Best Regards, ovidiu We use a simple Perl script to do this with pf. The basic structure is that we maintain a pf table of hosts to block, and the Perl script watches for changes to the snort alert file, parses new entries, adds those entries to the table, and kills all state to that IP address. Of course, this is a pretty drastic measure, so we're very careful about the rules we use in Snort. I believe that snort-inline just blocks the offending packets (with the option to block the host entirely, but there's no way to use snort-inline with pf. with PF at the moment. Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: build and install a kernel to another mounted system
Never mind sorry, I fixed the problem.. initially I didn't have *all* the sources, so I installed them all via csup. Then my mounted file system didn't have the /dev file system mounted, which I did with: # mount_devfs dev /tmp/fixed Thanks for your patience ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh forwarding question
On Mon, 10 Sep 2007, Philip M. Gollucci wrote: doug wrote: This is new with 7.0? I have the above in none of many rc.conf's 4.11 -- 6.2. grep ifconfig /etc/rc.conf ifconfig_em0=DHCP grep lo0 /etc/defaults/rc.conf ifconfig_lo0=inet 127.0.0.1 # default loopback device configuration. 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 Thanks for you reply (which I take as, yes): uname -a FreeBSD zeus.safeport.com 6.2-STABLE FreeBSD 6.2-STABLE #1: Sun May 13 02:19:00 EDT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ZEUS i386 and from rc.conf ifconfig_em0=DHCP ipw_enable=YES ifconfig_ipw0=wepmode on deftxkey 1 wepkey 0xdb. DHCP works just fine _ Douglas Denault http://www.safeport.com [EMAIL PROTECTED] Voice: 301-469-8766 Fax: 301-469-0601 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
zone
Hi Where are the zone files located?? TIA me ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: zone
On Sep 11, 2007, at 10:53 AMSep 11, 2007, User Iam wrote: Where are the zone files located?? I'm assuming you're referencing the BIND zone files for DNS. Unless you've changed it, they should be in /etc/namedb/master. The BIND config file is in /etc/namedb/named.conf HTH - Eric F Crist Secure Computing Networks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mount_ntfs as normal user
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) My file /etc/devfs.rules is [localrules=1] add path 'da*' mode 0660 group media add path 'cd*' mode 0660 group media add path 'acd*' mode 0660 group media add path 'pass*' mode 0660 group media add path 'xpt*' mode 0660 group media add path 'fd[0-3]*' mode 0660 group media So it is normal that I can mount ntfs slice as normal user or it is a bug or my system is compromised? Because I read that if I want to mount device I must be in group e.g. operator or create another group e.g. media. From handbook http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html#USB-DISKS in section 18.5.2 Testing the Configuration I must do in /etc/devfs.rules [localrules=1] add path 'da*' mode 0660 group operator and in /etc/rc.conf file: devfs_system_ruleset=localrules then I can mount USB devices. It is also true for hard disc? If I want to mount ntfs slice as normal user I must do what above but with the following changes [localrules=1] # for hard disc add path 'ad*' mode 0660 group operator Or I something do not understand (?). But as I mention earlier I can mount ntfs slice as normal user even if I'm not in operator group, it's normal, it's ok? Please for help or comments. Thanks in advance for your help. Zbigniew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ftp daemon fails
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. -- View this message in context: http://www.nabble.com/ftp-daemon-fails-tf4423871.html#a12619050 Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
550 5.7.1 [EMAIL PROTECTED]... Relaying denied
st1\:*{behavior:url(#default#ieooui) } Dear all, I have been running on this problem for some days now. I tryto build an email server using FreeBSD 6.2, Postfix, and dovecot. Right now I have a problem relaying my email. Every time Isend email from a client through my email server to outer world, I got thismessage - 550 5.7.1 [EMAIL PROTECTED]... Relaying denied - while it works just fine for local email. here I include my mail log result - Sep 11 09:49:57 mail sendmail[942]: l8B2nuLx000942: ruleset=check_rcpt,arg1=[EMAIL PROTECTED],relay=goldenflower [61.8.75.114], reject=550 5.7.1 [EMAIL PROTECTED]...Relaying denied Sep 11 09:50:00 mail sendmail[942]: l8B2nuLx000942:from=[EMAIL PROTECTED], size=0, class=0, nrcpts=0, proto=ESMTP,daemon=IPv4, relay=goldenflower [61.8.75.114] -- this is my postconf -n result. -- command_directory = /usr/local/sbin config_directory = /usr/local/etc/postfix daemon_directory = /usr/local/libexec/postfix debug_peer_level = 2 html_directory = no inet_interfaces = all mail_owner = postfix mailq_path = /usr/local/bin/mailq manpage_directory = /usr/local/man mydestination = $myhostname, localhost.$mydomain, localhost,$mydomain mydomain = sinb.cjb.net myhostname = mail.sinb.cjb.net mynetworks = 61.8.75.0/0, 127.0.0.0/8, goldenflower,61.8.75.114 myorigin = $mydomain newaliases_path = /usr/local/bin/newaliases queue_directory = /var/spool/postfix readme_directory = no sample_directory = /usr/local/etc/postfix sendmail_path = /usr/local/sbin/sendmail setgid_group = maildrop smtpd_recipient_restrictions =permit_mynetworks check_sender_access unix:passwd.byname $alias_maps unknown_local_recipient_reject_code = 550 Any idea all?? for any help will be greatly appreciated. Thx and best Regards Johan H Best Regards Johan Hartono === 'TooMuch Power Tends to Corrupt' -- Lord Acton 1887 -- - Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
php5-5.2.3_1 / website behaves as if not enabled in httpd.conf
Dear all, 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. 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 So I am a bit stuck as to what may cause this strange behaviour. I am running: PHP 5.2.3 with Suhosin-Patch 0.9.6.2 (cli) (built: Sep 11 2007 17:36:31) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies Server version: Apache/1.3.37 (Unix) Server built: Jun 27 2007 07:58:38 FreeBSD 6.2-RELEASE-p6 #4 /usr/obj/usr/src/sys/SZALBOT httpd-error.log does not show any error despite having error_reporting = E_ALL ~E_NOTICE set in php.ini. Many thanks in advance! 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: ssh forwarding question
On 9/3/07, Pollywog [EMAIL PROTECTED] wrote: On Tuesday 04 September 2007 00:13:13 Pollywog wrote: On Monday 03 September 2007 23:08:45 Predrag Punosevac wrote: Pollywog wrote: bind: Can't assign requested address channel_setup_fwd_listener: cannot listen to port: 15901 Could not request local forwarding. It seems to me that you have a problem with a firewall. Look at your own message. It looks like port 15901 is closed for listening. Here is another clue. Something seems to be wrong with the loopback: lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 ripple# ping localhost PING localhost (127.0.0.1): 56 data bytes ping: sendto: Can't assign requested address ping: sendto: Can't assign requested address ping: sendto: Can't assign requested address ping: sendto: Can't assign requested address ping: sendto: Can't assign requested address ping: sendto: Can't assign requested address I have not set up a firewall on this host, so the problem is something else, perhaps the output above from ifconfig helps. Yes that was the problem. I did this: ifconfig lo0 127.0.0.1 netmask 255.0.0.0 After that I could ping localhost and my VNC connection via SSH succeeded. Now how do I fix this problem permanently in FreeBSD, by running sysinstall again and setting the loopback address from there? It should have already been in /etc/defaults/rc.conf. So the mystery to be solved is why it was not there (or what you had in /etc/rc.conf that overrode it, maybe). When you installed FBSD, did you do a standard install or one of the expert installs? And of course, since it was 7.0, you can expect things to be broken once in a while. It is what most of the world would call beta code. The quick fix is to put the required line in either /etc/defaults/rc.conf or /etc/rc.conf. Normally you would never edit /etc/defaults/rc.conf, but that line should have been in it. - Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best SCSI or SAS RAID for a NAS?
We're looking for opinions on what the best RAID controller would be for no RAID controller, lots of cheap disks and thinking about how to RIGHT set UP gmirror/gstripe/gconcat will give you best performance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: zone
/usr/share/zoneinfo On Tue, 11 Sep 2007, User Iam wrote: Hi Where are the zone files located?? TIA me ___ 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: 550 5.7.1 [EMAIL PROTECTED]... Relaying denied
On Sep 11, 2007, at 11:46 AMSep 11, 2007, johan Hartono wrote: [ EDITED ] Dear all, I have been running on this problem for some days now. I tryto build an email server using FreeBSD 6.2, Postfix, and dovecot. Right now I have a problem relaying my email. Every time Isend email from a client through my email server to outer world, I got thismessage - 550 5.7.1 [EMAIL PROTECTED]... Relaying denied - while it works just fine for local email. this is my postconf -n result. -- mynetworks = 61.8.75.0/0, 127.0.0.0/8, goldenflower,61.8.75.114 My guess is that should be 61.8.75.0/8 rather than /0 HTH - Eric F Crist Secure Computing Networks ___ 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
Hi Johan, johan Hartono wrote: st1\:*{behavior:url(#default#ieooui) } Dear all, I have been running on this problem for some days now. I tryto build an email server using FreeBSD 6.2, Postfix, and dovecot. Right now I have a problem relaying my email. Every time Isend email from a client through my email server to outer world, I got thismessage - 550 5.7.1 [EMAIL PROTECTED]... Relaying denied - while it works just fine for local email. here I include my mail log result - Sep 11 09:49:57 mail sendmail[942]: l8B2nuLx000942: ruleset=check_rcpt,arg1=[EMAIL PROTECTED],relay=goldenflower [61.8.75.114], reject=550 5.7.1 [EMAIL PROTECTED]...Relaying denied Sep 11 09:50:00 mail sendmail[942]: l8B2nuLx000942:from=[EMAIL PROTECTED], size=0, class=0, nrcpts=0, proto=ESMTP,daemon=IPv4, relay=goldenflower [61.8.75.114] -- this is my postconf -n result. -- command_directory = /usr/local/sbin config_directory = /usr/local/etc/postfix daemon_directory = /usr/local/libexec/postfix debug_peer_level = 2 html_directory = no inet_interfaces = all mail_owner = postfix mailq_path = /usr/local/bin/mailq manpage_directory = /usr/local/man mydestination = $myhostname, localhost.$mydomain, localhost,$mydomain mydomain = sinb.cjb.net myhostname = mail.sinb.cjb.net mynetworks = 61.8.75.0/0, 127.0.0.0/8, goldenflower,61.8.75.114 myorigin = $mydomain newaliases_path = /usr/local/bin/newaliases queue_directory = /var/spool/postfix readme_directory = no sample_directory = /usr/local/etc/postfix sendmail_path = /usr/local/sbin/sendmail setgid_group = maildrop smtpd_recipient_restrictions =permit_mynetworks check_sender_access unix:passwd.byname $alias_maps unknown_local_recipient_reject_code = 550 The mail servers of Yahoo, etc are probably rejecting your emails because they did not find the related MX records for your domain sinb.cjb.net. Your email server needs to have a valid MX record setup on your DNS servers or on your ISP's DNS servers. A reverse DNS record is also needed. $dig sinb.cjb.net mx @ns3.cjb.net. ; DiG 9.3.3 sinb.cjb.net mx @ns3.cjb.net. ; (1 server found) ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 37178 ;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;sinb.cjb.net. IN MX ;; AUTHORITY SECTION: cjb.net.3600IN SOA ns1.cjb.net. cjb.cjbmanagement.com. 1189534800 300 300 86400 3600 ;; Query time: 1448 msec ;; SERVER: 216.194.70.3#53(216.194.70.3) ;; WHEN: Wed Sep 12 00:09:56 2007 ;; MSG SIZE rcvd: 91 If you just want to relay your emails from your network to the internet, then the following relayhost entry should work: relayhost = [mailserver.isp.tld] Hope that helps. Thanking you... Any idea all?? for any help will be greatly appreciated. Thx and best Regards Johan H Best Regards Johan Hartono === 'TooMuch Power Tends to Corrupt' -- Lord Acton 1887 -- - Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- With best regards and good wishes, Yours sincerely, Tek Bahadur Limbu System Administrator (TAG/TDG Group) Jwl Systems Department Worldlink Communications Pvt. Ltd. Jawalakhel, Nepal http://www.wlink.com.np ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Which versioning system is the simplest to use??
Hi List, 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... I will appreciate your tips very much have a nice day/night... Cheers Agustin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh forwarding question
On Tuesday 11 September 2007 17:30:55 Bob Johnson wrote: It should have already been in /etc/defaults/rc.conf. So the mystery to be solved is why it was not there (or what you had in /etc/rc.conf that overrode it, maybe). When you installed FBSD, did you do a standard install or one of the expert installs? And of course, since it was 7.0, you can expect things to be broken once in a while. It is what most of the world would call beta code. The quick fix is to put the required line in either /etc/defaults/rc.conf or /etc/rc.conf. Normally you would never edit /etc/defaults/rc.conf, but that line should have been in it. I did a standard install and was not able to use ssh forwarding from this machine. I upgraded to 7 and was still unable to do it. I had to have messed something up during my initial install. My other machine runs 6.2 and did not have this problem. ___ 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 Tue, 11 Sep 2007 at 09:46 -0700, [EMAIL PROTECTED] confabulated: Sep 11 09:49:57 mail sendmail[942]: l8B2nuLx000942: ruleset=check_rcpt,arg1=[EMAIL PROTECTED],relay=goldenflower [61.8.75.114], reject=550 5.7.1 [EMAIL PROTECTED]...Relaying denied Sep 11 09:50:00 mail sendmail[942]: l8B2nuLx000942:from=[EMAIL PROTECTED], size=0, class=0, nrcpts=0, proto=ESMTP,daemon=IPv4, relay=goldenflower [61.8.75.114] You say your running Postfix, yet these log lines look like SendMail. Are you sure all SendMail processes are dead? Have you disabled SendMail from /etc/rc.conf: sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=NO so it doesn't start back up on boot? -- _|_ (_| | ___ 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
Hello again, 2007/9/11, Zbigniew Szalbot [EMAIL PROTECTED]: Dear all, 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. 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 So I am a bit stuck as to what may cause this strange behaviour. I am running: PHP 5.2.3 with Suhosin-Patch 0.9.6.2 (cli) (built: Sep 11 2007 17:36:31) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies Server version: Apache/1.3.37 (Unix) Server built: Jun 27 2007 07:58:38 FreeBSD 6.2-RELEASE-p6 #4 /usr/obj/usr/src/sys/SZALBOT httpd-error.log does not show any error despite having error_reporting = E_ALL ~E_NOTICE set in php.ini. Many thanks in advance! My next (not so brillian thought) was to refresh apache. And when I now try to start apache, I get core dumps.. Sep 11 21:47:45 szalbot kernel: pid 71766 (httpd), uid 0: exited on signal 11 (core dumped) $ httpd -v Server version: Apache/1.3.39 (Unix) Server built: Sep 11 2007 20:48:37 I guess I should be asking on the apache list by now? 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: Which versioning system is the simplest to use??
On Tue, Sep 11, 2007 at 03:41:14PM -0300, Agus wrote: Hi List, 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... I will appreciate your tips very much CVS is already in FreeBSD. It works very well but is widely accepted that a redesign could do better. Subversion's stated goal is to be a better CVS than CVS. The commands are very much the same but most else is different underneath. A negative to Subversion is that it tries to be everything for everyone. Doesn't appear to be a subversion-lite version available. At the moment I continue to use CVS for older stuff that was started under CVS, and SVN for new stuff. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ 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 Tue, Sep 11, 2007 at 03:41:14PM -0300, Agus wrote: Hi List, 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... rcs(1) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Best SCSI or SAS RAID for a NAS?
Thanks for the replies, everybody. Its not just the controller you should be checking. The drives RPM speed, how many drives in the array, are you using RAID 0+1 or just RAID 5 for the array. Could you give more details on these issues? The array's running RAID 10 with basically the minimum drives for RAID 10; drives are 15K SCSI. I'd think this would be enough. no RAID controller, lots of cheap disks and thinking about how to RIGHT set UP gmirror/gstripe/gconcat will give you best performance. The concern is that this array is mounted over NFS by a number of different servers, all with constant read/write, so this is why we need throughput as high as we can get. Right now, we're only getting a fraction of the performance we theoretically should be getting. Mike Sweetser -- Mike Sweetser | Systems Administrator Adhost Internet 140 Fourth Avenue North, Suite 360, Seattle, Washington 98109 USA P 206.404.9023T 888.234.6781 (ADHOST-1)F 206.404.9050 E [EMAIL PROTECTED]W adhost.com Our brand new Adhost West data center is open - contact us for a tour at 1-888-234-6781 (ADHOST-1) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wojciech Puchar Sent: Tuesday, September 11, 2007 9:28 AM To: Mike Sweetser - Adhost Cc: freebsd-questions@freebsd.org Subject: Re: Best SCSI or SAS RAID for a NAS? We're looking for opinions on what the best RAID controller would be for no RAID controller, lots of cheap disks and thinking about how to RIGHT set UP gmirror/gstripe/gconcat will give you best performance. ___ 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: Which versioning system is the simplest to use??
On Tue, 11 Sep 2007 14:59:13 -0500 David Kelly [EMAIL PROTECTED] wrote: On Tue, Sep 11, 2007 at 03:41:14PM -0300, Agus wrote: Hi List, 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... I will appreciate your tips very much CVS is already in FreeBSD. It works very well but is widely accepted that a redesign could do better. Subversion's stated goal is to be a better CVS than CVS. The commands are very much the same but most else is different underneath. A negative to Subversion is that it tries to be everything for everyone. Doesn't appear to be a subversion-lite version available. At the moment I continue to use CVS for older stuff that was started under CVS, and SVN for new stuff. Using CVS here since it evolved from RCS. It has its annoying quirks here and there, but it has been rock solid despite heavy use. I understand that SVN could be a drop-in replacement for CVS and that there are tools to migrate even complex CVS repositories. But CVS ain't broken, so there's no need to switch yet... POLA being more important to us on old data than newish-ness. ;) But if you're just starting, Subversion is just as good: go for it! It is actively maintained and for simple non-branching uses it is dead easy to get used to. Regards, -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ 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 2007-09-11 15:41, Agus [EMAIL PROTECTED] wrote: Hi List, 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... I will appreciate your tips very much This is a question that borders a religious issue. You are going to get at least as many answers as the people you ask, since there are people (like me) who like tinkering with version control and revision control systems and have at least a couple of preferred ones, depending on the task. There are at least two different version-control systems in the base system of FreeBSD: RCS A file-based system, which doesn't really require any complicated server setup, rcs(1) can cover many of the simple needs one may have when tracking changes to a bunch of files in a directory. CVS A file-based system too, but this one sits on top of the basic rcs(1) functionality and implements several features which are more advanced, i.e. tagging entire file trees, branching entire file trees, 'modules' as file collections, it has a networked access method, and can be tunnelled through rsh(1) or ssh(1) for remote access to the same centralized 'repository' of files. The RCS and CVS systems have started showing their age a bit, but they are trusted good old companions, there is a _GREAT_ deal of printed and online documentation for their setup and every day operation, there are documented 'hook' mechanisms to extend them (the FreeBSD Project uses its own collection of CVS repository management scripts, for example), and in general they are fairly good choises for small to medium-sized projects. If you are interested for more _modern_ systems, there are several of those in the FreeBSD Ports collection too. Subversion, Git, Mercurial, Darcs and Bazaar are just a few to name. Every one of those offers its own set of features, it supports several development models, and can be extended in its own special way. Many of them (actually _all_ those I mentioned above) are based on changesets instead of per-file history, so it is a lot easier to branch experimental versions of your source tree, or pull out a single commit which affects multiple files in one go. At least some of them support even more advanced features like merge tracking. Some of the newer ones are even distributed, which means they support offline work, clean and fast branching, merging from any related tree, and other cool stuff. I'm personally a fan of this category, because they let me work almost anywhere and in any way I like with my source trees, but that's more a personal preference than a panakea. There are a ton of features, and several dozens of systems from which you can choose. It all really boils down to... How much time do you have to experiment a bit with the various alternatives which FreeBSD supports? have a nice day/night... Thank you sir, have a nice one too :) ___ 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 again, 2007/9/11, Zbigniew Szalbot [EMAIL PROTECTED]: Dear all, My next (not so brillian thought) was to refresh apache. And when I now try to start apache, I get core dumps.. Sep 11 21:47:45 szalbot kernel: pid 71766 (httpd), uid 0: exited on signal 11 (core dumped) $ httpd -v Server version: Apache/1.3.39 (Unix) Server built: Sep 11 2007 20:48:37 I guess I should be asking on the apache list by now? Thanks! Zbigniew Szalbot Why not upgrade to a modern version of apache and see if that clears it up? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gmirror woes
I had a disk die in a gmirror set, and I'm trying to replace it, but I'm having a heck of a time. I can see the mirror set in gmirror list: Geom name: gm0s1 State: DEGRADED Components: 2 Balance: round-robin Slice: 4096 Flags: NONE GenID: 1 SyncID: 2 ID: 1250906373 Providers: 1. Name: mirror/gm0s1 Mediasize: 36701166592 (34G) Sectorsize: 512 Mode: r5w5e5 Consumers: 1. Name: da0s1 Mediasize: 36701167104 (34G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE 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? Thanks, --Brian ___ 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: 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. -- Bruce Cran ___ 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
On Sep 11, 2007, at 4:31 PMSep 11, 2007, Brian McCann wrote: I had a disk die in a gmirror set, and I'm trying to replace it, but I'm having a heck of a time. I can see the mirror set in gmirror list: [snip] [PLUG] Take at peek at https://www.secure-computing.net/wiki/ index.php/Gmirror [/PLUG] It's something I wrote up for work, as we use gmirror on many of our firewalls, or will be shortly. If you have questions, please feel free to ask! - Eric F Crist Secure Computing Networks ___ 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 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]
Re: Hunks failed, is this bad?
Gabriel Dragffy wrote: Hi all I hope you can help me. I have a clean install of freebsd. I changed to /usr and made ports directory. Then I ran portsnap fetch and then extract. Then I changed to ports-mngmt/portmanager and did make install clean. When I try to install any port using either 'make install clean' or 'portmanager www/lighttpd' (for example) I see hunks failed in stdout. As an exaple I saw one of these flas by when installing lighttpd: |--- /usr/ports/Mk/bsd.port.mk Tue Nov 8 01:02:51 2005 |+++ bsd.port.mkWed Nov 16 02:16:57 2005 -- Patching file bsd.port.mk using Plan A... Hunk #1 failed at 2049. 1 out of 1 hunks failed--s As far as I can tell I see similar errors no matter what port I try to install. Is this a problem? Yes, and it doesn't make much sense either. Nothing should be patching bsd.port.mk on the fly, and the date of 2005 is also suspicious. Kris ___ 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
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] ls -ld /var/db/pkg/nvidia* drwxr-xr-x 2 root wheel - 512B Sep 4 18:34:47 2007 /var/db/pkg/nvidia-driver-100.14.11/ ls -1d /var/db/pkg/xorg-* /var/db/pkg/xorg-7.2/ /var/db/pkg/xorg-apps-7.2/ /var/db/pkg/xorg-cf-files-1.0.2_2/ /var/db/pkg/xorg-docs-1.3,1/ /var/db/pkg/xorg-drivers-7.2/ /var/db/pkg/xorg-fonts-100dpi-7.2/ /var/db/pkg/xorg-fonts-7.2/ /var/db/pkg/xorg-fonts-75dpi-7.2/ /var/db/pkg/xorg-fonts-cyrillic-7.2/ /var/db/pkg/xorg-fonts-miscbitmaps-7.2/ /var/db/pkg/xorg-fonts-truetype-7.2/ /var/db/pkg/xorg-fonts-type1-7.2/ /var/db/pkg/xorg-libraries-7.2_1/ /var/db/pkg/xorg-protos-7.2/ /var/db/pkg/xorg-server-1.2.0_2,1/ /var/db/pkg/xorg-server-1.2.99.903_1,1/ cat /var/db/ports/nvidia-driver/options # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for nvidia-driver-1.0.9746_5 _OPTIONS_READ=nvidia-driver-1.0.9746_5 WITHOUT_FREEBSD_AGP=true WITHOUT_VM86_INT10CALL=true WITHOUT_ACPI=true WITH_LINUX=true grep LINUX /etc/make.conf OVERRIDE_LINUX_BASE_PORT=fc6 grep compat /etc/sysctl.conf compat.linux.osrelease=2.6.16 cd /usr/ports/x11/nvidia-driver-100 find . . ./files ./files/pkg-message.in ./Makefile ./distinfo ./pkg-descr ./pkg-plist I believe I deleted all the patch files here other then you see listed and tweaked the Makefile accordingly. I also edited the source code to remove a #ifdef around FreeBSD 7.x so that it used the 6.x version even though its on 7.x. (argument list to the function was wrong) This might be fixed by now. This was a hard compile error though, not the coredumps and reboots I do know this drove me f'ing bonkers when I tried to set this and was going to file a PR but $work never game me time. 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: gmirror woes
On Tue, 11 Sep 2007 17:31:34 -0400 Brian McCann [EMAIL PROTECTED] wrote: But when I try to run gmirror configure -a mirror/gm0s1, I get: No such device: mirror/gm0s1. have u tried with either /dev/mirror/gm0s1 or gm0s1 ? _ {Beto|Norberto|Numard} Meijome They never open their mouths without subtracting from the sum of human knowledge. Thomas Brackett Reed I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ 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
Thanks Eric! --Brian On 9/11/07, Eric Crist [EMAIL PROTECTED] wrote: On Sep 11, 2007, at 4:31 PMSep 11, 2007, Brian McCann wrote: I had a disk die in a gmirror set, and I'm trying to replace it, but I'm having a heck of a time. I can see the mirror set in gmirror list: [snip] [PLUG] Take at peek at https://www.secure-computing.net/wiki/ index.php/Gmirror [/PLUG] It's something I wrote up for work, as we use gmirror on many of our firewalls, or will be shortly. If you have questions, please feel free to ask! - Eric F Crist Secure Computing Networks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann Systems Network Administrator, K12USA I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ 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 01:36:48 +0200 Kris Kennaway [EMAIL PROTECTED] wrote: Gabriel Dragffy wrote: Hi all I hope you can help me. I have a clean install of freebsd. I changed to /usr and made ports directory. Then I ran portsnap fetch and then extract. Then I changed to ports-mngmt/portmanager and did make install clean. When I try to install any port using either 'make install clean' or 'portmanager www/lighttpd' (for example) I see hunks failed in stdout. As an exaple I saw one of these flas by when installing lighttpd: |--- /usr/ports/Mk/bsd.port.mk Tue Nov 8 01:02:51 2005 |+++ bsd.port.mkWed Nov 16 02:16:57 2005 -- Patching file bsd.port.mk using Plan A... Hunk #1 failed at 2049. 1 out of 1 hunks failed--s As far as I can tell I see similar errors no matter what port I try to install. Is this a problem? Yes, and it doesn't make much sense either. Nothing should be patching bsd.port.mk on the fly, and the date of 2005 is also suspicious. 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. Kris cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ 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
Dear Eric, I tried that and still doesn't work. Johan Hartono -Original Message- From: Eric Crist [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 1:05 AM To: johan Hartono Cc: freebsd-questions@freebsd.org Subject: Re: 550 5.7.1 [EMAIL PROTECTED]... Relaying denied On Sep 11, 2007, at 11:46 AMSep 11, 2007, johan Hartono wrote: [ EDITED ] Dear all, I have been running on this problem for some days now. I tryto build an email server using FreeBSD 6.2, Postfix, and dovecot. Right now I have a problem relaying my email. Every time Isend email from a client through my email server to outer world, I got thismessage - 550 5.7.1 [EMAIL PROTECTED]... Relaying denied - while it works just fine for local email. this is my postconf -n result. -- mynetworks = 61.8.75.0/0, 127.0.0.0/8, goldenflower,61.8.75.114 My guess is that should be 61.8.75.0/8 rather than /0 HTH - Eric F Crist Secure Computing Networks Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow ___ 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
Hi duane, 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? Johan Hartono -Original Message- From: Duane Hill [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 2:00 AM To: johan Hartono Cc: freebsd-questions@freebsd.org Subject: Re: 550 5.7.1 [EMAIL PROTECTED]... Relaying denied On Tue, 11 Sep 2007 at 09:46 -0700, [EMAIL PROTECTED] confabulated: Sep 11 09:49:57 mail sendmail[942]: l8B2nuLx000942: ruleset=check_rcpt,arg1=[EMAIL PROTECTED],relay=goldenflower [61.8.75.114], reject=550 5.7.1 [EMAIL PROTECTED]...Relaying denied Sep 11 09:50:00 mail sendmail[942]: l8B2nuLx000942:from=[EMAIL PROTECTED], size=0, class=0, nrcpts=0, proto=ESMTP,daemon=IPv4, relay=goldenflower [61.8.75.114] You say your running Postfix, yet these log lines look like SendMail. Are you sure all SendMail processes are dead? Have you disabled SendMail from /etc/rc.conf: sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=NO so it doesn't start back up on boot? -- _|_ (_| | Need a vacation? Get great deals to amazing places on Yahoo! Travel. http://travel.yahoo.com/ ___ 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. *sigh* OK. I _thought_ I had a grasp on this, but... I did have the security/krb5 port installed. I removed that (pkg_delete). I then checked pkg_info output for any reference to heimdal - it was not installed. So... Subversion now fails to build with this error: cd subversion/libsvn_ra_dav /usr/local/bin/libtool --tag=CC --silent --mode=link cc -O2 -fno-strict-aliasing -pipe -g -O2 -L/usr/local/lib -L/usr/local/lib/db42 -rpath /usr/local/lib -o libsvn_ra_dav-1.la commit.lo fetch.lo file_revs.lo log.lo merge.lo options.lo props.lo replay.lo session.lo util.lo ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la /usr/local/lib/libaprutil-1.la -lgdbm -ldb-4.2 -lexpat -liconv /usr/local/lib/libapr-1.la -lcrypt -lpthread -L/usr/local/lib -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -lneon -lintl -lssl -lcrypto -lz -L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -O2 -fno-strict-aliasing -pipe -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lexpat -lintl -lz /usr/bin/ld: cannot find -lgssapi_krb5 *** Error code 1 Stop in /usr/ports/devel/subversion/work/subversion-1.4.4. *** Error code 1 Stop in /usr/ports/devel/subversion. sia# According to what you've suggested previously, I need to run portupgrade -vu -N -R -f subversion to repair the dependencies such that everything will look at the system kerberos, not the port one. I will do that, but will ask one more question in the meantime (the build will take some time to complete): If that does not work, I would guess my next course of action would be to fetch the latest cvs changes to the system source tree and buildworld. But if I do that, do I go ahead and change the WITHOUT_KERBEROS=yes line in /etc/make.conf or leave it as is? Will subversion build correctly if kerberos is not in the main system? Thanks for your patience and assistance. K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: (off-topic) Outlook 2003 msgids causing odd email problems
Yeah Outlook Express did that when it forwarded messages I forgot the version - it screwed up spamassassin, I filed a bug, bug finally got a workaround added. File a bug with mailman and cyrus dev. teams, maybe they can work around it. At least get it documented. And call Microsoft tech support and complain. Microsoft does not charge for tech support incidents where a bug is reported. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jonathan McKeown Sent: Tuesday, September 11, 2007 3:20 AM To: freebsd-questions@freebsd.org Subject: (off-topic) Outlook 2003 msgids causing odd email problems I'm raising this here in case anyone else has either seen this problem and has any thoughts, or alternatively has experienced the fallout and is wondering why. Over the last few weeks I've had complaints that email messages are going astray. This has happened in Cyrus imapd on delivery, and in Mailman, where archiving of posts is sometimes broken. After much scratching of head and tearing of hair, I have finally found two provable instances - one in Cyrus and one in Mailman - of replies to messages being sent using Microsoft Outlook Service Pack 2, where Outlook has given the reply the same message-id as the message it is replying to - in flat violation of RFC{2}822. (In one case the original message, the read-receipt automatically generated by Outlook, the reply, and the forward of the reply sent when the reply didn't arrive, all had the same msg-id). As far as I can tell this behaviour was introduced by SP2; the Web says Outlook 2003 before that didn't add message-ids at all. I've now set duplicatesuppression no in imapd.conf which seems to be addressing the problem of lmtpd discarding the ``duplicate'' messages. Mailman is another issue. I haven't seen any discussion of this problem on the Web: has anyone else encountered it? Better yet, does anyone have a fix (on the Microsoft side)? Jonathan ___ 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: Best SCSI or SAS RAID for a NAS?
Tell us what your workload IS..that will help a lot. Its not necessarily MB/sec, but disk IO's per second. Such as..if you have 5 servers with applications creating 100 IOPS on the local drive, then you need a RAID array capable of at least 500 IOPS at under 20ms to remain happy with it. You can expect up to 180 IOPS under 20ms on 15k drives, and 100-120 on 10k drives (or thereabouts) to also remain under 20ms per random IO. Notably, the overhead of the raid layout will factor into this as well. Tell us what your load will be, then you can get reasonable configuration guidelines. On 9/11/07, Mike Sweetser - Adhost [EMAIL PROTECTED] wrote: Thanks for the replies, everybody. Its not just the controller you should be checking. The drives RPM speed, how many drives in the array, are you using RAID 0+1 or just RAID 5 for the array. Could you give more details on these issues? The array's running RAID 10 with basically the minimum drives for RAID 10; drives are 15K SCSI. I'd think this would be enough. no RAID controller, lots of cheap disks and thinking about how to RIGHT set UP gmirror/gstripe/gconcat will give you best performance. The concern is that this array is mounted over NFS by a number of different servers, all with constant read/write, so this is why we need throughput as high as we can get. Right now, we're only getting a fraction of the performance we theoretically should be getting. Mike Sweetser -- Mike Sweetser | Systems Administrator Adhost Internet 140 Fourth Avenue North, Suite 360, Seattle, Washington 98109 USA P 206.404.9023T 888.234.6781 (ADHOST-1)F 206.404.9050 E [EMAIL PROTECTED]W adhost.com Our brand new Adhost West data center is open - contact us for a tour at 1-888-234-6781 (ADHOST-1) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wojciech Puchar Sent: Tuesday, September 11, 2007 9:28 AM To: Mike Sweetser - Adhost Cc: freebsd-questions@freebsd.org Subject: Re: Best SCSI or SAS RAID for a NAS? We're looking for opinions on what the best RAID controller would be for no RAID controller, lots of cheap disks and thinking about how to RIGHT set UP gmirror/gstripe/gconcat will give you best performance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
php5-5.2.3_1 / website behaves as if not enabled in httpd.conf
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? 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! So I am a bit stuck as to what may cause this strange behaviour. I am running: PHP 5.2.3 with Suhosin-Patch 0.9.6.2 (cli) (built: Sep 11 2007 17:36:31) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies Just checking, did you build php5 from the port, specifically selecting the Apache module in options? The silly php5 package doesn't include it, as the default php5 option is to NOT build the Apache module! here, despite my older version: 'pkg_info | grep php5' shows: php5-5.2.0 PHP Scripting Language (Apache Module and CLI) [..]^ Server version: Apache/1.3.37 (Unix) Server built: Jun 27 2007 07:58:38 FreeBSD 6.2-RELEASE-p6 #4 /usr/obj/usr/src/sys/SZALBOT httpd-error.log does not show any error despite having error_reporting = E_ALL ~E_NOTICE set in php.ini. From your later message: My next (not so brillian thought) was to refresh apache. And when I now try to start apache, I get core dumps.. Sep 11 21:47:45 szalbot kernel: pid 71766 (httpd), uid 0: exited on signal 11 (core dumped) $ httpd -v Server version: Apache/1.3.39 (Unix) Server built: Sep 11 2007 20:48:37 I guess I should be asking on the apache list by now? The upgrade to 1.3.39 might have trashed your php mods to httpd.conf, especially as they might not have been quite right already, but I'd ignore advice to go to apache2 - unless you want to anyway - as this is just a configuration problem I think, and a not too uncommon one either. You could try rebuilding php5 (starting with make clean; make config; to be certain that the non-default apache module is selected). The php5 install should then add the right magic at the right places to your new httpd.conf. Cheers, Ian ___ 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??
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... 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 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 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. HTH, David ___ 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
-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 Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG532p8Mjk52CukIwRCNs/AJ0RFvgkiy4li9cbEIk12lvvCbQoWACeIMCv fKLLVxwgZZ+VXFkybTDM3H8= =qDx2 -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]
hosts is ignored
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 resolv.conf contains my two dns ip addresses. Even a simple hosts like this has no effect 127.0.0.1 kopi Results in that ping does not find the host named 'kopi'. I try to figure this thing out since some time. All I got was the feeling the I cannot see the wood anymore as there are so many trees. Erich ___ 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: SHA256 Erich Dollansky wrote: 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 does /etc/nsswitch.conf say? Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG535N8Mjk52CukIwRCBGRAJ9ijwfj532CeYS64kxiRj6Wh/tx8wCdFFjf hYqlwJSRAqMV3nAoP9tA9q8= =vZRT -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, Matthew Seaman wrote: What does /etc/nsswitch.conf say? group: compat group_compat: nis hosts: files dns networks: files passwd: compat passwd_compat: nis shells: files Erich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]