Re: Mailman + Apache + Cookies + FreeBSD
On Fri, Oct 10, 2008 at 12:59 AM, Grant Peel <[EMAIL PROTECTED]> wrote: > Hi all, > > I am not a fan of cross posting, but, I have to make a exception in this > case as I can't seem to nail down whether its the software or OS causing me > the problem. > > Software: Apache 2.2, Python 2.5, Mailmain 2.1.11 > OS: FreeBSD 6.2 Release #0 > > Apache and Python were built from ports, Mailman was built from source. > > Problem: I can't stay logged into the Mailman web interface. Each time I > submit a form, I am logged out. When I do log in, If I look on my local > machine, I cant find a session cookie anywhere. It like is never set. And > the Mailman documentation clearly states that none of the changes will be > saved in that scenario. > > Question: are there any people out there who can point me in the right > direction? I assume that Python should be setting a cookie, but thats just a > guess ... could it be OS related? Could you downgrade Mailman and see if the problem still persists? I run the combination you have (except Mailman is 2.1.9 and FreeBSD is 6.3) and I haven't had an issue. Might be a bug introduced in Mailman 2.1.11 -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Oh My God! They killed init! You Bastards!" --from a /. post ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Portsnap causes system to reboot
On Fri, Oct 10, 2008 at 12:54:38AM +0300, Walter Venable wrote: > >> I found this: $ cat /var/crash/ >> ..minfreboundsçinfo.0ç >> >> vmcore.0zinfo.vmcore.1zinfo.vmcore.2zinfo.vmcore.3zinfo.vmcore.4zinfo.vmcore.5zinfo.vmcore.6zinfo.7vmcore.7zÀ >> >> >> >> Any idea what that means? > Yes, I'm tired, and I did cat on a directory. I found this in vmcore.7: > > <118>Checking for core dump on /dev/ad4s1b... > <118>savecore: reboot after panic: ffs_clusteralloc: map mismatch > <118>Oct 9 11:16:26 freebsd savecore: reboot after panic: > ffs_clusteralloc: map mismatch > <118>savecore: writing core to vmcore.6 Please reboot your machine into single-user mode, and run "fsck -y". I'm betting there's some filesystem corruption. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Xorg/kde startup errors
I am new user to xorg/kde. Installed xorg and kde using port system. Followed instructions in handbook for Freebsd 7.0 The following is the startx log from when I enter startx command. Have no idea what is wrong since I expected the xorg and kde port to be completely functional. Kde seems to run ok except for all the repeating warnings about missing mimetypes and the invalid Window parameter error for every screen I navigate through using KDE. Any help is welcomed Script started on Tue Oct 7 19:13:25 2008 # /root >startx xauth: creating new authority file /root/.serverauth.1236 X.Org X Server 1.4.0 Release Date: 5 September 2007 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 7.0-RELEASE i386 Current Operating System: FreeBSD 7.0-RELEASE-p4 FreeBSD 7.0-RELEASE-p4 #0: Tue Sep 2 19:32:35 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 Build Date: 13 February 2008 05:50:12PM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Tue Oct 7 19:13:31 2008 (==) Using config file: "/etc/X11/xorg.conf" (II) Module "i2c" already built-in (II) Module "ddc" already built-in (II) Module "ramdac" already built-in Warning: kbuildsycoca is unable to register with DCOP. kbuildsycoca running... kbuildsycoca running... Reusing existing ksycoca kbuildsycoca: WARNING: '/usr/local/share/applications/kde/ark.desktop' specifies undefined mimetype/servicetype 'application/x-tbz2' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/ark.desktop' specifies undefined mimetype/servicetype 'application/zip' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/ark.desktop' specifies undefined mimetype/servicetype 'application/x-7z' kbuildsycoca: WARNING: 'ark_part.desktop' specifies undefined mimetype/servicetype 'application/x-tbz2' kbuildsycoca: WARNING: 'ark_part.desktop' specifies undefined mimetype/servicetype 'application/x-7z' kbuildsycoca: WARNING: 'karm_part.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'karm_part.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'karm_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/kpovmodeler.desktop' specifies undefined mimetype/servicetype 'KPovModeler/Document' kbuildsycoca: WARNING: 'kfile_ooo.desktop' specifies undefined mimetype/servicetype 'application/vnd.sun.xml.writer.global' kbuildsycoca: WARNING: 'kfile_ooo.desktop' specifies undefined mimetype/servicetype 'application/vnd.sun.xml.writer.math' kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: 'kchartpart.desktop' specifies undefined mimetype/servicetype 'application/vnd.oasis.opendocument.chart-template' kbuildsycoca: WARNING: '/usr/local/share/applications/firefox.desktop' specifies undefined mimetype/servicetype 'text/mml' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/kvoctrain.desktop' specifies undefined mimetype/servicetype 'application/x-kvoctrain' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/kvoctrain.desktop' specifies undefined mimetype/servicetype 'text/x-kvtml' kbuildsycoca: WARNING: '.hidden/krita_magick.desktop' specifies undefined mimetype/servicetype 'image/x-xcf' kbuildsycoca: WARNING: 'kcertpart.desktop' specifies undefined mimetype/servicetype 'application/binary-certificate' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/kmid.desktop' specifies undefined mimetype/servicetype 'audio/midi' kbuildsycoca: WARNING: 'kformulapart.desktop' specifies undefined mimetype/servicetype 'application/vnd.oasis.opendocument.formula-template' kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: 'knotify.desktop' specifies undefined mimetype/servicetype 'KNotify' kbuildsycoca: WARNING: 'ksvgplugin.desktop' specifies undefined mimetype/servicetype 'image/svg' kbuildsycoca: WARNING: '/usr/local/share/applications/kde/kexi.desktop' specifies undefined mimetype/servicetype 'application/x-kexiproject-sqlite' startkde: Starting up... kdeinit: Shutting down running client. kbuildsycoca running... X Error: BadValue (integer parameter
Re: uptime 2 years!
On Wed, Oct 08, 2008 at 06:00:38PM -0700, Chad Marshall wrote: > > No Problem, I figured that there are other systems out there with a > longer uptime. I have this server as a postfix/courier-imap/ > squirrelmail (60+ accounts and 30-40 forwards) mailserver with apache/ > php/mysql. Also use it as a slave authoritative nameserver for over > 100 zones (one zone with a 60sec TTL on a high volume production > website) as well. Plus use it as a primary nameserver for our entire > office (300+ workstations). I was lazy with it (Upgrading or > Replacing) and when it hit a year, I decided to hold off doing > anything with it as I wanted to see how long I could let it go. It's > a celeron 2.4ghz server with 512m Ram and has been a champ server in > it's performance and stability. I use CentOS for most of my other > systems and find that as easy as it is for administration and > upgrading, it lacks FreeBSD's performance. With the memory leaks that > CentOS has, I usually have to end up restarting the machine(s). With > FreeBSD I can just restart the services, and got my memory back and > reduce the amount of swap being used. I'm glad to hear that your machine is "busy" and doing useful work, the uptime I pointed to was non-Internet facing IIRC. I'm also interested to hear that CentOS "...lacks FreeBSD performance." Statistics never tell the whole story - real world usage does. Your observations will help to encourage our developers to further greater efforts! ;) When I went from RH to FreeBSD-4.3, the difference in performance as a desktop user was noticeable but that was a few years ago. > > Regardless of the first email I got back (Which was a little rude), I > will continue to run this server as long as I can and monitor the > security risks using DenyHosts and other security measures. > > Thanks, > Don't necessarily take posts on this list as rude or offensive. From my experience of reading this list, there is quite a lot of misunderstanding due to cultural/language problems or people thinking something was a slight even if none was intended by the original poster. Or somebody might be just having a bad day (it happens to all of us). This list is open to everyone & only represents the FreeBSD project in that the majority who post here use FreeBSD (from newbies to kernel hackers). Do keep on using FreeBSD & promoting it's use - no point in cutting off your nose to spite your face! Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: setkey panic freebsd7
that single line of adding SA in a setkey.conf file with /sbin/setkey -f setkey.conf would fail 100% from all my try. /usr/local/sbin/setkey just tried, failed also. 'fill in PR' haven't done that before, could you please advise. thanks for looking into! On Thu, Oct 9, 2008 at 1:56 PM, VANHULLEBUS Yvan <[EMAIL PROTECTED]> wrote: > Hi. > > > On Thu, Oct 09, 2008 at 08:46:32AM -0700, alan yang wrote: >> i wonder people ran into similar issue on setkey with freebsd7 that >> panic at ~/crypto/sha1.c:263 within sha1_result() >> digest[0] = ctxt->h.b8[3]; digest[1] = ctxt->h.b8[2]; >> >> on the following sadb add with setkey: >> add 192.168.0.101 192.168.0.110 esp-old 0x10001 -m any -E des-cbc >> "12345678" -A keyed-sha1 "12345678123456781234" >> >> thanks in advance on any hints. > > I guess most people just don't use static SAs anymore :-) > > Can you reproduce the bug ? > Are you using /sbin/setkey (provided by FreeBSD), > /usr/local/sbin/setkey (provided by ipsec-tools), or does it crash > with both ? > > > If you can reproduce it, please fill in a PR, Bjoern or I will take > it. > > Anyways, I'll have a look asap at that part of the code, to see if I > can find "something". > > Any extra information on how to reproduce the bug is welcome ! :-) > > > Yvan. > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mailman + Apache + Cookies + FreeBSD
--- On Thu, 10/9/08, Grant Peel <[EMAIL PROTECTED]> wrote: > From: Grant Peel <[EMAIL PROTECTED]> > Subject: Mailman + Apache + Cookies + FreeBSD > To: freebsd-questions@freebsd.org > Date: Thursday, October 9, 2008, 5:59 PM > Hi all, > > I am not a fan of cross posting, but, I have to make a > exception in this > case as I can't seem to nail down whether its the > software or OS causing me > the problem. > > Software: Apache 2.2, Python 2.5, Mailmain 2.1.11 > OS: FreeBSD 6.2 Release #0 > > Apache and Python were built from ports, Mailman was built > from source. > > Problem: I can't stay logged into the Mailman web > interface. Each time I > submit a form, I am logged out. When I do log in, If I look > on my local > machine, I cant find a session cookie anywhere. It like is > never set. And > the Mailman documentation clearly states that none of the > changes will be > saved in that scenario. > > Question: are there any people out there who can point me > in the right > direction? I assume that Python should be setting a cookie, > but thats just a > guess ... could it be OS related? In short, no, there's really no way that the OS could be at fault unless you had some weird TCP stack bug that caused it to drop the same packet every time, which someone else would've noticed by now. ;) The long answer is that Cookies are set by headers in the HTTP protocol response, and sent back to the server in the request headers of the clients subsequent requests. Python doesn't set cookies, Apache does, but python can command Apache to do so, and Mailman can, as a python script, command python to do so. Chances are mailman is what's misconfigured. - mdh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: uptime 2 years!
--- On Thu, 10/9/08, Eitan Adler <[EMAIL PROTECTED]> wrote: > From: Eitan Adler <[EMAIL PROTECTED]> > Subject: Re: uptime 2 years! > To: freebsd-questions@FreeBSD.org > Date: Thursday, October 9, 2008, 8:41 PM > Lowell Gilbert wrote: > [snip] > > And in theory it should be possible to change time_t > to unsigned, and > > get another two-thirds of a century out of it... > > > However this would break binary compatibility with anything > compiled > before the change. One thing to consider is that changing any signed value to an unsigned value then prevents functions which return that type from returning -1 (or otherwise <0) to indicate an error condition. Even if it doesn't affect anything at all in the base system, it could impact untold sums of software developed not in the base system. - mdh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: uptime 2 years!
--- On Thu, 10/9/08, Eitan Adler <[EMAIL PROTECTED]> wrote: > From: Eitan Adler <[EMAIL PROTECTED]> > Subject: Re: uptime 2 years! > To: freebsd-questions@FreeBSD.org > Date: Thursday, October 9, 2008, 8:41 PM > Lowell Gilbert wrote: > [snip] > > And in theory it should be possible to change time_t > to unsigned, and > > get another two-thirds of a century out of it... > > > However this would break binary compatibility with anything > compiled > before the change. > > -- > GNU Key fingerptrint: 2E13 BC16 5F54 0FBD 62ED 42B6 B65F > 24AB E9C2 CCD1 > ___ > 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: Re Apache + Mailman
--On October 9, 2008 9:02:20 PM -0500 Grant Peel <[EMAIL PROTECTED]> wrote: Cool Paul, How about the rest of these: '--prefix=/home/mailman' '--with-username=mailman' '--with-mail-gid=mailman' '--with-cgi-gid=mailman' You can do it that way, but the port has an OPTION for Postfix that will set mail-gid to mailman and username is set to mailman by default. So the only one you really need to set is cgi-gid, which is www by default. I used to use /usr/local/etc/pkgtools.conf to define those values to keep from having to remember them on the commandline every time I portupgraded mailman, but that hasn't been necessary in a while. And do you think it would make a difference to the cookies issue I am having? I'm not sure, but as a port maintainer, I can tell you that a great deal of effort goes into ensuring that the ports work as expected. They are thoroughly tested, and the committers are very conscientious about getting errors fixed before the ports are committed. I would deinstall what you have, install the port and then see if the issue still remains. If it does, we can work on figuring out what the problem is at that point. Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: uptime 2 years!
>> uptime 2 years! Congratulations. Long uptimes should be shared, so as to encourage people to consider FreeBSD for long-term stability. Thank you for posting. Through this discussion the lazy administrator topic came up... In regards to that, we must keep in mind, 'stability,' pertains not only to run-time stability but also to temporal stability and general quality of the design and implementation of the original code base. If an administrator has to make offline kernel patches every week to fix a glaring security hole, something was wrong with the sofware's original design or implementation. Regardless, mistakes do occur, so keep your system up for as long as you can, but don't forget to watch the security reports for things that would directly affect that specific server. All things in moderation. >>Sorry to bother you...You know, you could just leave well enough alone if you >>don't >>care. There goes any future donations from me and my organization as this is >>more than the first untactful email I recieved from this, I'll donate and use >>other >>platforms. Please don't send any other emails Don't let a few sour grapes get you down. I think it's cool. -Modulok- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Multiple NICs routing question
>I've a server box with four NICs addressing different subnets: > >NIC1: one class c subnet of same class b network >NIC2: another class c subnet of same class b network >NIC3: local unrouted network >NIC4: local unrouted network > >In the current configuration I use a default gateway (and no routing >daemon) in the subnet addressed by NIC1. Now of course, if a client in an >arbitrary different class c subnet contacts the server using the ip >address of NIC2, it gets a reply from NIC1. You should give more details about your configuration. If any client on the class B on NIC2 can contact your server, you must configure the NIC for the class B. The routing stack will take charge of excluding the class C on NIC1 from the class B on NIC2. It's very bad that the client that connects via the NIC2 has a subnet of class B and that the NIC2 is configured for class C only. If you configure: NIC1 192.168.1.1 255.255.255.0 NIC2 192.168.2.1 255.255.0.0 Client 192.168.127.23 255.255.0.0 it should work. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: uptime 2 years!
Thank you. Although I have always felt there are better systems for Administrative purposes, FreeBSD is a rock solid performer. I'm a Mac user/Fan as well and since a lot of it's core was built on FreeBSD, goes to show how great it is. Thanks to all of you who were at least constructive and supportive and found some value in my story. Best Regards, Modulok wrote: uptime 2 years! Congratulations. Long uptimes should be shared, so as to encourage people to consider FreeBSD for long-term stability. Thank you for posting. Through this discussion the lazy administrator topic came up... In regards to that, we must keep in mind, 'stability,' pertains not only to run-time stability but also to temporal stability and general quality of the design and implementation of the original code base. If an administrator has to make offline kernel patches every week to fix a glaring security hole, something was wrong with the sofware's original design or implementation. Regardless, mistakes do occur, so keep your system up for as long as you can, but don't forget to watch the security reports for things that would directly affect that specific server. All things in moderation. Sorry to bother you...You know, you could just leave well enough alone if you don't care. There goes any future donations from me and my organization as this is more than the first untactful email I recieved from this, I'll donate and use other platforms. Please don't send any other emails Don't let a few sour grapes get you down. I think it's cool. -Modulok- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mailman + Apache + Cookies + FreeBSD
--On October 9, 2008 7:58:49 PM -0500 Grant Peel <[EMAIL PROTECTED]> wrote: Jerry, I tried a few times to build it from source but since I am using Apache+Suexec, I was stuck on how to 'make' it and pass the parms needed to set the user and home directory, i.e. I needed the install directory to be set to /home/mailmain when the ports version insisted on setting it to /usr/local/mailman. cd /usr/ports/mail/mailman make install PREFIX=/home clean Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re Apache + Mailman
Cool Paul, How about the rest of these: '--prefix=/home/mailman' '--with-username=mailman' '--with-mail-gid=mailman' '--with-cgi-gid=mailman' And do you think it would make a difference to the cookies issue I am having? -Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mailman + Apache + Cookies + FreeBSD
Jerry, I tried a few times to build it from source but since I am using Apache+Suexec, I was stuck on how to 'make' it and pass the parms needed to set the user and home directory, i.e. I needed the install directory to be set to /home/mailmain when the ports version insisted on setting it to /usr/local/mailman. -Grant - Original Message - From: "Jerry" <[EMAIL PROTECTED]> To: Sent: Thursday, October 09, 2008 6:22 PM Subject: Re: Mailman + Apache + Cookies + FreeBSD ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: uptime 2 years!
Lowell Gilbert wrote: [snip] And in theory it should be possible to change time_t to unsigned, and get another two-thirds of a century out of it... However this would break binary compatibility with anything compiled before the change. -- GNU Key fingerptrint: 2E13 BC16 5F54 0FBD 62ED 42B6 B65F 24AB E9C2 CCD1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: irq256 ????
On Thu, 9 Oct 2008 23:49:54 +0200, in sentex.lists.freebsd.questions you wrote: >> >> What's that? (world and kernel are in sync) > >It is an MSI-style interrupt [MSI=Message Signaled Interrupt] (available on >PCI-E devices and a few PCI/PCI-X devices.) They get allocated fake >irq-numbers starting at 256. > >I.e. it is a feature, and a bug or indication of any problem. And you can see what devices are MSI capable with pciconf -lvc e.g [EMAIL PROTECTED]:5:0:0: class=0x02 card=0x348d8086 chip=0x108c8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82573E Intel Corporation 82573E Gigabit Ethernet Controller (Copper)' class = network subclass = ethernet cap 01[c8] = powerspec 2 supports D0 D3 current D0 cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message cap 10[e0] = PCI-Express 1 endpoint ---Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: uptime 2 years!
On Thu, Oct 09, 2008 at 05:11:13PM +0200, Zbigniew Szalbot wrote: But the discussion that followed made me realize that uptime is not everything. I also love to see huge uptimes on my servers but if anything this discussion brought it home to me that more than anything I need to take care of security updates which I do. Yes, uptime isn't everything. But when security notices are published its important to read the notice and question whether it immediately applies to your situation. In my case a kernel flaw which allows an otherwise valid user to elevate authority is not terribly important on my 2 year machine. Something which allows an unauthorized user into the machine is important. OTOH while my kernel has been running 2 years I have wiped ports completely several times and reinstalled. IIRC it takes 3 or 4 days to build X11 and KDE last time I tired. No longer has X11 or KDE. -- 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: Mailman + Apache + Cookies + FreeBSD
On Thu, 9 Oct 2008 17:59:52 -0400 "Grant Peel" <[EMAIL PROTECTED]> wrote: >Hi all, > >I am not a fan of cross posting, but, I have to make a exception in >this case as I can't seem to nail down whether its the software or OS >causing me the problem. > >Software: Apache 2.2, Python 2.5, Mailmain 2.1.11 >OS: FreeBSD 6.2 Release #0 > >Apache and Python were built from ports, Mailman was built from source. > >Problem: I can't stay logged into the Mailman web interface. Each time >I submit a form, I am logged out. When I do log in, If I look on my >local machine, I cant find a session cookie anywhere. It like is never >set. And the Mailman documentation clearly states that none of the >changes will be saved in that scenario. > >Question: are there any people out there who can point me in the right >direction? I assume that Python should be setting a cookie, but thats >just a guess ... could it be OS related? Just out of morbid curiosity, why did you build it from source? Mailman is available in the ports. -- Jerry [EMAIL PROTECTED] The very remembrance of my former misfortune proves a new one to me. Miguel de Cervantes signature.asc Description: PGP signature
Re: Mailman + Apache + Cookies + FreeBSD
Thanks Chuck, Tried all that several times. My browser accepts cookies from many different (tested today and yesterday) sites. -Grant - Original Message - From: "Chuck Swiger" <[EMAIL PROTECTED]> To: "Grant Peel" <[EMAIL PROTECTED]> Cc: Sent: Thursday, October 09, 2008 6:09 PM Subject: Re: Mailman + Apache + Cookies + FreeBSD On Oct 9, 2008, at 2:59 PM, Grant Peel wrote: Problem: I can't stay logged into the Mailman web interface. Each time I submit a form, I am logged out. When I do log in, If I look on my local machine, I cant find a session cookie anywhere. It like is never set. And the Mailman documentation clearly states that none of the changes will be saved in that scenario. Question: are there any people out there who can point me in the right direction? I assume that Python should be setting a cookie, but thats just a guess ... could it be OS related? Try restarting your browser, and double-checking that your preferences allow the webserver to set cookies. Regards, -- -Chuck ___ 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]"
KDE speeech fails with kde4!
Well guys, the temp bottom-line is that all-in-all, kde4 seems better than kde3. The xterm version, Konsole, it more nicely laid out. Konq, dunno; I'm *still* trying to get all my kd3 "xml" bookmarks moved over. The biggest fault is that the festival [speech] tool, kttd, fails to init. I *do* have kde4/bin before /usr/local/bin, but I'm missing something that I don't fully undertand. Do I need to build/rebuild some of these binaries? My portupgrade -avPpk should have done that. When I mouse some text then hit Tools->Speak, an err pop-up reads: "The D-Bus call say() failed." Another error dialog pops up titled: "kttsd - The KDE Crash Handler" It says simply that a fatal error occured and that the app kttsd crashed with a segv. Is there a workaround? tia, gary -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mailman + Apache + Cookies + FreeBSD
On Oct 9, 2008, at 2:59 PM, Grant Peel wrote: Problem: I can't stay logged into the Mailman web interface. Each time I submit a form, I am logged out. When I do log in, If I look on my local machine, I cant find a session cookie anywhere. It like is never set. And the Mailman documentation clearly states that none of the changes will be saved in that scenario. Question: are there any people out there who can point me in the right direction? I assume that Python should be setting a cookie, but thats just a guess ... could it be OS related? Try restarting your browser, and double-checking that your preferences allow the webserver to set cookies. Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Mailman + Apache + Cookies + FreeBSD
Hi all, I am not a fan of cross posting, but, I have to make a exception in this case as I can't seem to nail down whether its the software or OS causing me the problem. Software: Apache 2.2, Python 2.5, Mailmain 2.1.11 OS: FreeBSD 6.2 Release #0 Apache and Python were built from ports, Mailman was built from source. Problem: I can't stay logged into the Mailman web interface. Each time I submit a form, I am logged out. When I do log in, If I look on my local machine, I cant find a session cookie anywhere. It like is never set. And the Mailman documentation clearly states that none of the changes will be saved in that scenario. Question: are there any people out there who can point me in the right direction? I assume that Python should be setting a cookie, but thats just a guess ... could it be OS related? TIA, -Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Portsnap causes system to reboot
Jeremy Chadwick wrote: On Thu, Oct 09, 2008 at 07:38:09PM +0300, Walter Venable wrote: Whenever I run portsnap fetch update (edit: it also happens for a simple portsnap fetch), my system reboots unexpectedly. Here's the output: # portsnap fetch update Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. Fetching snapshot tag from portsnap2.FreeBSD.org... done. Fetching snapshot metadata... done. Updating from Wed Sep 24 00:04:04 EEST 2008 to Thu Oct 9 10:28:42 EEST 2008. Fetching 3 metadata patches.. done. Applying metadata patches... done. Fetching 3 metadata files... done. Fetching 602 patches.102030405060708090100110120130140150160170180190200210220230240250260270280290300310320330340350360370380390400410420430440450460470480490500510520530540550560570580590600. done. Applying patches... Read from remote host X: Connection reset by peer Connection to X closed. And then I can log-in again a few minutes later, and the uptime has gone down to a few seconds, so I know it rebooted. Any ideas why this is happening? Nope, not without kernel panic information. Does this machine have serial console? Are kernel panic dumps being put into /var/crash? Is the machine even configured for it (see dumpdev, dumpdir, and savecore in rc.conf). I found this: $ cat /var/crash/ ..minfreboundsçinfo.0ç vmcore.0zinfo.vmcore.1zinfo.vmcore.2zinfo.vmcore.3zinfo.vmcore.4zinfo.vmcore.5zinfo.vmcore.6zinfo.7vmcore.7zÀ Any idea what that means? Some background info: $ uname -mrs FreeBSD 7.0-RELEASE-p5 i386 It would be useful if you could provide uname -a please, if you're concerned about the hostname, just XXX it out. Seeing the kernel build date is useful. $ uname -a FreeBSD freebsd 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: Thu Oct 9 02:30:36 EEST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ECORAZENI i386 CFLAGS=-O2 -pipe COPTFLAGS=-O2 -pipe CPUTYPE=athlon-xp Please don't do this. Use ?= for this, not =. If you think I'm trolling, please read /usr/share/examples/etc/make.conf. It's recompiling with an empty make.conf now. Since this started happening, I have still successfully updated ports by csup'ing the ports tree. I can also still rebuild the world and kernel without issue. This is a remote box, and I don't use X with it. It almost sounds like a filesystem problem. You might consider booting into single-user and running fsck -y. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Portsnap causes system to reboot
I found this: $ cat /var/crash/ ..minfreboundsçinfo.0ç vmcore.0zinfo.vmcore.1zinfo.vmcore.2zinfo.vmcore.3zinfo.vmcore.4zinfo.vmcore.5zinfo.vmcore.6zinfo.7vmcore.7zÀ Any idea what that means? Yes, I'm tired, and I did cat on a directory. I found this in vmcore.7: <118>Checking for core dump on /dev/ad4s1b... <118>savecore: reboot after panic: ffs_clusteralloc: map mismatch <118>Oct 9 11:16:26 freebsd savecore: reboot after panic: ffs_clusteralloc: map mismatch <118>savecore: writing core to vmcore.6 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: irq256 ????
> I've just found in my machine's vmstat -i output: > > irq256: em042054 2 *snip* > $ dmesg|fgrep em0 > em0: port 0x30c0-0x30df > mem 0x9030-0x9031,0x90324000-0x90324fff irq 20 at device 25.0 on pci0 > em0: Using MSI interrupt em0: [FILTER] > em0: Ethernet address: 00:19:d1:25:78:0a > $ uname -a > FreeBSD XXX 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Thu Oct 2 21:35:45 > CEST 2008 > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 $ > > > What's that? (world and kernel are in sync) For what it's worth, I see the same thing on 7.1-PRERELEASE on a box with an em0 (PCI card) and on-board PCI-E msk0: % grep -E '(em0|msk0|mskc0)' /var/run/dmesg.boot mskc0: port 0xc800-0xc8ff mem 0xfe9fc000-0xfe9f irq 17 at device 0.0 on pci2 msk0: on mskc0 msk0: Ethernet address: 00:1d:60:bc:cc:39 miibus0: on msk0 mskc0: [FILTER] em0: port 0xec00-0xec3f mem 0xfebe-0xfebf,0xfebc-0xfebd irq 17 at device 1.0 on pci5 em0: [FILTER] em0: Ethernet address: 00:0e:0c:6c:b9:16 em0: link state changed to UP % vmstat -i interrupt total rate irq1: atkbd0 2 0 irq6: fdc011 0 irq17: em0 atapci1 53621626108 irq18: uhci2 ehci+ 1 0 irq19: fwohci0+ 10 0 irq22: atapci2 29345269 59 irq23: uhci3 ehci1 1 0 cpu0: timer991289650 2000 irq256: mskc0 37714212 76 cpu1: timer991279642 2000 cpu2: timer991279641 2000 cpu3: timer991279641 2000 Total 4085809706 8243 And despite the "weird" interrupt, msk0 is operating just fine. Regards, Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: irq256 ????
On Thu, Oct 09, 2008 at 10:51:36PM +0200, Zahemszky Gábor wrote: > Hi! > > I've just found in my machine's vmstat -i output: > > === > $ vmstat -i > interrupt total rate > irq1: atkbd0 15524 0 > irq6: fdc014 0 > irq12: psm0 279947 16 > irq15: ata141835 2 > irq16: uhci0 drm01407076 81 > irq17: atapci0257828 14 > irq19: fwohci0++ 16 0 > irq21: uhci1 ahc0+ 41712 2 > irq22: pcm052848 3 > irq23: uhci2 ehci1 1 0 > cpu0: timer 33503897 1929 > > > irq256: em042054 2 > > ===^ > > cpu1: timer 33495040 1928 > Total 69137792 3981 > $ dmesg|fgrep em0 > em0: port 0x30c0-0x30df > mem 0x9030-0x9031,0x90324000-0x90324fff irq 20 at device 25.0 on pci0 > em0: Using MSI interrupt em0: [FILTER] > em0: Ethernet address: 00:19:d1:25:78:0a > $ uname -a > FreeBSD XXX 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Thu Oct 2 21:35:45 > CEST 2008 > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 $ > > > What's that? (world and kernel are in sync) It is an MSI-style interrupt [MSI=Message Signaled Interrupt] (available on PCI-E devices and a few PCI/PCI-X devices.) They get allocated fake irq-numbers starting at 256. I.e. it is a feature, and a bug or indication of any problem. -- Erik Trulsson [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: FreeBSD support for HP DL180/G5
HP produces pretty good boxes and historically I have been able to get them working without any troubles. However I would say DL180 is a pretty non customizable box. The hardware works perfectly with FreeBSD 7.0. I didnt try it with 6.3, so cant comment on that. However I would say DL380 is a better off. The main advantage of DL3xx boxes are there is a lot of room to play with add-on cards. Also not all the latest and greatest processors are available with DL1xx family of servers. Also make sure that you go for an external RAID controller like 3ware or Areca. I prefer Areca more :-D. The HP RAID controller cant take the beating I give to it. Thanks Subhro On Fri, Oct 10, 2008 at 1:55 AM, Josef Grosch <[EMAIL PROTECTED]>wrote: > > Does anyone have experience running FreeBSD 6.x and 7.x on an HP DL180/G5? > The company I work for is looking to get a number of these to be put in > production. Your general impressions would be a good start. > > > > Josef > > -- > Josef Grosch | Another day closer to a | FreeBSD 6.3 > [EMAIL PROTECTED] | Micro$oft free world | Berkeley, Ca. > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can't get soundcard to work
On Thu, 2008-10-09 at 01:16 +0200, Bernt Hansson wrote: > Aniruddha skrev: > > I've read the "Setting Up the Sound Card" part in the FreeBSD handbook > > unfortunately I can't get my Intel HDA card to work. Any ideas would be > > appreciated! Here's some relevant output: > > > > If you load the driver manually, can you play a tune then? > For me snd_hda_load="YES" does not load the driver. I have to do it with > kldload snd_hda. > Thanks a lot, this did the trick! :) Here's what I did: 1) I ran 'kldunload snd_hda'. It gave an error: 'device busy' 2) I stopped the Gnome mixer applet 3) I ran 'kldunload snd_hda' 4) Finally I entered 'kldload snd_hda', et voila sound was working. Is there a way to automate this, or do I have to do this after each boot? -- Regards, Aniruddha ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD support for HP DL180/G5
Quoting Josef Grosch <[EMAIL PROTECTED]>: Does anyone have experience running FreeBSD 6.x and 7.x on an HP DL180/G5? The company I work for is looking to get a number of these to be put in production. Your general impressions would be a good start. Josef -- Josef Grosch | Another day closer to a | FreeBSD 6.3 [EMAIL PROTECTED] | Micro$oft free world | Berkeley, Ca. Josef, I run freebsd 7.0 on a DL 380 G3 - A Pentium 4, 6G RAM, x86 with out issue. Old machines but they run fine. David This message was sent using IMP, the Internet Messaging Program. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: setkey panic freebsd7
Hi. On Thu, Oct 09, 2008 at 08:46:32AM -0700, alan yang wrote: > i wonder people ran into similar issue on setkey with freebsd7 that > panic at ~/crypto/sha1.c:263 within sha1_result() > digest[0] = ctxt->h.b8[3]; digest[1] = ctxt->h.b8[2]; > > on the following sadb add with setkey: > add 192.168.0.101 192.168.0.110 esp-old 0x10001 -m any -E des-cbc > "12345678" -A keyed-sha1 "12345678123456781234" > > thanks in advance on any hints. I guess most people just don't use static SAs anymore :-) Can you reproduce the bug ? Are you using /sbin/setkey (provided by FreeBSD), /usr/local/sbin/setkey (provided by ipsec-tools), or does it crash with both ? If you can reproduce it, please fill in a PR, Bjoern or I will take it. Anyways, I'll have a look asap at that part of the code, to see if I can find "something". Any extra information on how to reproduce the bug is welcome ! :-) Yvan. ___ 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 Get libm.so.4?
Wojciech Puchar wrote: /usr/ports/misc/compat6x Thanks. This worked. Cheers, Drew On Thu, 9 Oct 2008, Drew Tomlinson wrote: I am attempting to install a web analysis tool named "Urchin" from Google. Installation instructions are here: https://secure.urchin.com/helpwiki/en/Urchin_Installation_Guide_(FreeBSD_and_Linux) Urchin claims to run on FBSD 6.2+ which I took to mean version 6.2 or greater. Since this is a brand new install, I installed FBSD 7.1-PRERELEASE, assuming the actual release would not be too far off. I'm following the install procedures which has me run a ./install.sh script. This script fails, complaining about a missing libm.so.4. I've Googled and found some reference that this has to do with installing compatibility libraries for FBSD 4. Thus I've added "COMPAT4X= yes" and rebuilt and installed my world. However I still do not have this file. What do I need to do? Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
irq256 ????
Hi! I've just found in my machine's vmstat -i output: === $ vmstat -i interrupt total rate irq1: atkbd0 15524 0 irq6: fdc014 0 irq12: psm0 279947 16 irq15: ata141835 2 irq16: uhci0 drm01407076 81 irq17: atapci0257828 14 irq19: fwohci0++ 16 0 irq21: uhci1 ahc0+ 41712 2 irq22: pcm052848 3 irq23: uhci2 ehci1 1 0 cpu0: timer 33503897 1929 irq256: em042054 2 ===^ cpu1: timer 33495040 1928 Total 69137792 3981 $ dmesg|fgrep em0 em0: port 0x30c0-0x30df mem 0x9030-0x9031,0x90324000-0x90324fff irq 20 at device 25.0 on pci0 em0: Using MSI interrupt em0: [FILTER] em0: Ethernet address: 00:19:d1:25:78:0a $ uname -a FreeBSD XXX 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Thu Oct 2 21:35:45 CEST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 $ What's that? (world and kernel are in sync) Thanks, Gábor -- #!/bin/ksh Z='21N16I25C25E30, 40M30E33E25T15U!';IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set -- $Z;for i;{ [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set -- $Z;for i;{ [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;j="$j $i";typeset +l i;};print "$j" ___ 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 Get libm.so.4?
In the last episode (Oct 09), Drew Tomlinson said: > I am attempting to install a web analysis tool named "Urchin" from > Google. Installation instructions are here: > > https://secure.urchin.com/helpwiki/en/Urchin_Installation_Guide_(FreeBSD_and_Linux) > > Urchin claims to run on FBSD 6.2+ which I took to mean version 6.2 or > greater. Since this is a brand new install, I installed FBSD > 7.1-PRERELEASE, assuming the actual release would not be too far off. > > I'm following the install procedures which has me run a ./install.sh > script. This script fails, complaining about a missing libm.so.4. > I've Googled and found some reference that this has to do with > installing compatibility libraries for FBSD 4. Thus I've added > "COMPAT4X= yes" and rebuilt and installed my world. However I still > do not have this file. Major FreeBSD version bumps have historically resulted in most of the base system's shared library versions getting bumped as well. libc.so.4 would have been for FreeBSD 4, but libm doesn't get bumped as often. libm.so.4 corresponds to FreeBSD 6, and you can get it by installing the misc/compat6x port. FreeBSD 7 and later use symbol versioning (which allows different versions of the the same function to exist in a single library), so library version bumps theoretically are a thing of the past. -- Dan Nelson [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: How To Get libm.so.4?
/usr/ports/misc/compat6x On Thu, 9 Oct 2008, Drew Tomlinson wrote: I am attempting to install a web analysis tool named "Urchin" from Google. Installation instructions are here: https://secure.urchin.com/helpwiki/en/Urchin_Installation_Guide_(FreeBSD_and_Linux) Urchin claims to run on FBSD 6.2+ which I took to mean version 6.2 or greater. Since this is a brand new install, I installed FBSD 7.1-PRERELEASE, assuming the actual release would not be too far off. I'm following the install procedures which has me run a ./install.sh script. This script fails, complaining about a missing libm.so.4. I've Googled and found some reference that this has to do with installing compatibility libraries for FBSD 4. Thus I've added "COMPAT4X= yes" and rebuilt and installed my world. However I still do not have this file. What do I need to do? Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com ___ 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 support for HP DL180/G5
Does anyone have experience running FreeBSD 6.x and 7.x on an HP DL180/G5? The company I work for is looking to get a number of these to be put in production. Your general impressions would be a good start. Josef -- Josef Grosch | Another day closer to a | FreeBSD 6.3 [EMAIL PROTECTED] | Micro$oft free world | Berkeley, Ca. pgpL1GSOeKtMy.pgp Description: PGP signature
Re: Dell Laptop M6400
Le 09/10/2008 à 22:04:24+0200, Albert Shih a écrit > Hi all > > Classic question about compatibility with new laptop... > > Anyone have succefuly (or not) install FreeBSD 7.x on the new Dell > Precision M6400 or the Precision M6300 ? > > I don't find any information on google. neither on > http://laptop.bsdgroup.de/freebsd/ > > Lots of thanks. > I forget to say I don't really care if the webcam, the mic, the sound etc.. working or not. All I'm worry about is if I can install FreeBSD, and use it. I think the video card is not a problem (because I can use Nvidia drivers I hope), but what about the raid chipset ? the network card ? Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Jeu 9 oct 2008 22:18:39 CEST ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How To Get libm.so.4?
I am attempting to install a web analysis tool named "Urchin" from Google. Installation instructions are here: https://secure.urchin.com/helpwiki/en/Urchin_Installation_Guide_(FreeBSD_and_Linux) Urchin claims to run on FBSD 6.2+ which I took to mean version 6.2 or greater. Since this is a brand new install, I installed FBSD 7.1-PRERELEASE, assuming the actual release would not be too far off. I'm following the install procedures which has me run a ./install.sh script. This script fails, complaining about a missing libm.so.4. I've Googled and found some reference that this has to do with installing compatibility libraries for FBSD 4. Thus I've added "COMPAT4X= yes" and rebuilt and installed my world. However I still do not have this file. What do I need to do? Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Dell Laptop
Hi all Classic question about compatibility with new laptop... Anyone have succefuly (or not) install FreeBSD 7.x on the new Dell Precision M6400 or the Precision M6300 ? I don't find any information on google. neither on http://laptop.bsdgroup.de/freebsd/ Lots of thanks. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Jeu 9 oct 2008 21:56:48 CEST ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: TRUE realtime priority
On Thu, Oct 09, 2008 at 10:00:16PM +0200, Wojciech Puchar wrote: >>> well last night i tested it with SCHED_4BSD instead of sched_ule, reduced >>> quantum to 2 from 10 and for now - no voice chopping under high >>> load. but i will test it more. >> >> What version of FreeBSD are you using for this? Yes, it matters. > > got RELENG_7 yesterday by cvs, now SCHED_ULE works fine. Great! Glad to hear it. :-) Thanks for following up! -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: uptime 2 years!
Chad Marshall wrote: Here's what I said to the last guy who says my skin is thin, just leave well enough alone and drop it please. Seems your skin is thin as well if you can't handle a little back talk :) Well, I can always except critism. The problem is that I don't need rude responses for something I thought would be something to share for your organization, a success story of FreeBSD. Only for people to call me lazy and say "Big Deal". If it's not a big deal, than say nothing. Maybe you should put someone in charge of answering emails who aren't cocky and smug, some responses were nice and at least supportive. I still believe in FreeBSD and it's a great OS. It's the nix I started and learned with but I think your community is full of conceited, pompous asses, the reason I don't like to associate with IT people. I'd rather not give money to someone who has to insult me. If you go to a restaurant and you get a rude waiter, what do you do? I don't go back or give them a crap tip. Godwin's Law will be invoked soon... :) http://en.wikipedia.org/wiki/Godwin's_law ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: TRUE realtime priority
well last night i tested it with SCHED_4BSD instead of sched_ule, reduced quantum to 2 from 10 and for now - no voice chopping under high load. but i will test it more. What version of FreeBSD are you using for this? Yes, it matters. got RELENG_7 yesterday by cvs, now SCHED_ULE works fine. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sysinstall
On Thu, Oct 09, 2008 at 08:32:50PM +0200, [EMAIL PROTECTED] wrote: > Hi, > > I have the following prblem with sysinstall: when I run sysinstall inside > an xterm I find it very difficult to read the yellow font on the gray > background, which appears very light on my laptop LCD and also on an Eizo > LCD. Strangely, the gray is much darker if I run sysinstall from the > console outside X. Is there a way to make the gray darker when sysinstall > is run inside an xterm? This should be solved at the core: adjust the RGB colours associated with the ANSI/colour sequences in xterm. Does xterm support this? Surely it stores the RGB values somewhere, I just don't know if they're hard-coded. (I'm not an X guru). It's quite possible in programs like rxvt, PuTTY, and SecureCRT (Windows). -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Sysinstall
Hi, I have the following prblem with sysinstall: when I run sysinstall inside an xterm I find it very difficult to read the yellow font on the gray background, which appears very light on my laptop LCD and also on an Eizo LCD. Strangely, the gray is much darker if I run sysinstall from the console outside X. Is there a way to make the gray darker when sysinstall is run inside an xterm? I'm running fbsd 7. Best regards, Boris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can't get soundcard to work
Frank Shute wrote: On Thu, Oct 09, 2008 at 09:12:28AM +0200, Aniruddha wrote: On Wed, 2008-10-08 at 23:31 +0100, Frank Shute wrote: ls /dev/d da0 da2 dconsdevstat dsp0.0 dsp1.0 da1 da3 devctl dgdb dsp0.1 dumpdev On my machine: $ ls /dev | grep dsp dsp0.0 dsp0.1 i.e no dsp1.0 It will be created on demand when sound application will try to open it directly. Also it may be set as default with hw.snd.default_unit sysctl described in man sound. What does: $ cat /dev/sndstat give you? sndstat: FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) Installed devices: pcm0: at memory 0xff9ec000 irq 17 kld snd_hda [20080420_0052] [MPSAFE] (mixer only) pcm1: at memory 0xffafc000 irq 19 kld snd_hda [20080420_0052] [MPSAFE] (1p:1v/1r:1v channels duplex) The driver is binding to both. Indeed. First one is HDMI on video and second on motherboard. The old snd_hda driver you have surely unable to manage first one. Second looks better, but also should be tested. Updated driver in 8-CURRENT should work better. It could be ported to 7-STABLE without any modifications. -- Alexander Motin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: uptime 2 years!
On Thu, Oct 9, 2008 at 1:03 PM, Zbigniew Szalbot <[EMAIL PROTECTED]> wrote: > Hi, > > 2008/10/9 Odhiambo Washington <[EMAIL PROTECTED]>: > > I love the direction this thread has taken. First, humorous, then it > > will turn into flames. I bet all my US$:-) > > Well, I do not have much to lose in terms of USD ;) but I cannot > really understand why some people are still sort of getting on this > particular user. How does this help to promote FreeBSD? What will new > people joining this community think? What if someone just wanted to > send a donation for FreeBSD foundation? You never really know. I find > it difficult to comprehend why would someone want to undermine FBSD > Foundation work (which we all benefit from) through careless words and > actions. > > Yours, > > -- > Zbigniew Szalbot > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" > this 2 years thing is actually more of a -advocacy email more then anything. since that deals with promoting and donations. Since this email list is more for questions. I just find the whole 2 year thing not important aka not a question hence why I said why is this important for this mailing list ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: uptime 2 years!
Hi, 2008/10/9 Odhiambo Washington <[EMAIL PROTECTED]>: > I love the direction this thread has taken. First, humorous, then it > will turn into flames. I bet all my US$:-) Well, I do not have much to lose in terms of USD ;) but I cannot really understand why some people are still sort of getting on this particular user. How does this help to promote FreeBSD? What will new people joining this community think? What if someone just wanted to send a donation for FreeBSD foundation? You never really know. I find it difficult to comprehend why would someone want to undermine FBSD Foundation work (which we all benefit from) through careless words and actions. Yours, -- 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: uptime 2 years!
On Thu, Oct 9, 2008 at 7:51 PM, Zbigniew Szalbot <[EMAIL PROTECTED]> wrote: > 2008/10/9 Jon Radel: >> >> Dear Mr. Marshall: >> >> I'm terribly sorry that our representatives in charge of answering emails >> have been rude to you. I've just fired the lot of them, particularly as we >> can't afford to keep then on anymore seeing as how your generous donations >> are now in jeopardy. > > How is that supposed to be helpful? > >> I will ask, however, that in the future you constrain your e-mail to >> freebsd-questions to either questions or answers to them, so as to not >> inflame our more excitable representatives once we hire a new, much reduced, >> batch of them. > > Can you follow your own advice? > > -- > Zbigniew Szalbot I love the direction this thread has taken. First, humorous, then it will turn into flames. I bet all my US$:-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Oh My God! They killed init! You Bastards!" --from a /. post ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: uptime 2 years!
2008/10/9 Jon Radel: > > Dear Mr. Marshall: > > I'm terribly sorry that our representatives in charge of answering emails > have been rude to you. I've just fired the lot of them, particularly as we > can't afford to keep then on anymore seeing as how your generous donations > are now in jeopardy. How is that supposed to be helpful? > I will ask, however, that in the future you constrain your e-mail to > freebsd-questions to either questions or answers to them, so as to not > inflame our more excitable representatives once we hire a new, much reduced, > batch of them. Can you follow your own advice? -- 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: uptime 2 years!
Chad Marshall wrote: Here's what I said to the last guy who says my skin is thin, just leave well enough alone and drop it please. Seems your skin is thin as well if you can't handle a little back talk :) Well, I can always except critism. The problem is that I don't need rude responses for something I thought would be something to share for your organization, a success story of FreeBSD. Only for people to call me lazy and say "Big Deal". If it's not a big deal, than say nothing. Maybe you should put someone in charge of answering emails who aren't cocky and smug, some responses were nice and at least supportive. I still believe in FreeBSD and it's a great OS. It's the nix I started and learned with but I think your community is full of conceited, pompous asses, the reason I don't like to associate with IT people. I'd rather not give money to someone who has to insult me. If you go to a restaurant and you get a rude waiter, what do you do? I don't go back or give them a crap tip. I get better tack out of forums where I'm asking for help on coding challenges than just simply offering a testimonial. Dear Mr. Marshall: I'm terribly sorry that our representatives in charge of answering emails have been rude to you. I've just fired the lot of them, particularly as we can't afford to keep then on anymore seeing as how your generous donations are now in jeopardy. Moving forward I certainly hope that you evaluate your operating systems based on their technical merits and overall ROI, where I believe you will find that FreeBSD stands out, as it has for years, as a hard working operating system to support your Internet requirements at low cost. I will ask, however, that in the future you constrain your e-mail to freebsd-questions to either questions or answers to them, so as to not inflame our more excitable representatives once we hire a new, much reduced, batch of them. Thanks. --Jon Radel Who will now resign in shame ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: uptime 2 years!
--- On Thu, 10/9/08, Chad Marshall <[EMAIL PROTECTED]> wrote: > Maybe you should put someone in charge of answering emails > who aren't > cocky and smug This is a public mailing list. No one is in charge of answering mails to it. When sending to -questions, you are emailing the community of people, most of whom are willing to help when they have time and knowledge. > I still believe in FreeBSD and it's a great OS. > It's the nix I started > and learned with but I think your community is full of > conceited, > pompous asses, the reason I don't like to associate > with IT people. > I'd rather not give money to someone who has to insult > me. No one on this list gets paid for helping others via it. If you want paid support with no risk of potentially being offended by someone, you can actually pay for support through any one of many companies, or just hire a consultant. > If you go > to a restaurant and you get a rude waiter, what do you do? > I don't go > back or give them a crap tip. You're under some whacky and wholly mistaken impression that anyone here is getting tips. We're here to help other users because that's how the community interoperates. Others help me, I in turn help others. If someone were rude to me or generally behaved poorly on the list, I may then be less inclined to answer a question they ask which I may know the answer to, or vice-versa. Take care, mdh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Portsnap causes system to reboot
On Thu, Oct 09, 2008 at 07:38:09PM +0300, Walter Venable wrote: > Whenever I run portsnap fetch update (edit: it also happens for a > simple portsnap fetch), my system reboots unexpectedly. Here's the > output: > # portsnap fetch update > Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. > Fetching snapshot tag from portsnap2.FreeBSD.org... done. > Fetching snapshot metadata... done. > Updating from Wed Sep 24 00:04:04 EEST 2008 to Thu Oct 9 10:28:42 EEST 2008. > Fetching 3 metadata patches.. done. > Applying metadata patches... done. > Fetching 3 metadata files... done. > Fetching 602 > patches.102030405060708090100110120130140150160170180190200210220230240250260270280290300310320330340350360370380390400410420430440450460470480490500510520530540550560570580590600. > done. > Applying patches... Read from remote host X: Connection reset by peer > Connection to X closed. > > And then I can log-in again a few minutes later, and the uptime has > gone down to a few seconds, so I know it rebooted. Any ideas why this > is happening? Nope, not without kernel panic information. Does this machine have serial console? Are kernel panic dumps being put into /var/crash? Is the machine even configured for it (see dumpdev, dumpdir, and savecore in rc.conf). > Some background info: > $ uname -mrs > FreeBSD 7.0-RELEASE-p5 i386 It would be useful if you could provide uname -a please, if you're concerned about the hostname, just XXX it out. Seeing the kernel build date is useful. > CFLAGS=-O2 -pipe > COPTFLAGS=-O2 -pipe > CPUTYPE=athlon-xp Please don't do this. Use ?= for this, not =. If you think I'm trolling, please read /usr/share/examples/etc/make.conf. > Since this started happening, I have still successfully updated ports > by csup'ing the ports tree. I can also still rebuild the world and > kernel without issue. This is a remote box, and I don't use X with > it. It almost sounds like a filesystem problem. You might consider booting into single-user and running fsck -y. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Portsnap causes system to reboot
Whenever I run portsnap fetch update (edit: it also happens for a simple portsnap fetch), my system reboots unexpectedly. Here's the output: # portsnap fetch update Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. Fetching snapshot tag from portsnap2.FreeBSD.org... done. Fetching snapshot metadata... done. Updating from Wed Sep 24 00:04:04 EEST 2008 to Thu Oct 9 10:28:42 EEST 2008. Fetching 3 metadata patches.. done. Applying metadata patches... done. Fetching 3 metadata files... done. Fetching 602 patches.102030405060708090100110120130140150160170180190200210220230240250260270280290300310320330340350360370380390400410420430440450460470480490500510520530540550560570580590600. done. Applying patches... Read from remote host X: Connection reset by peer Connection to X closed. And then I can log-in again a few minutes later, and the uptime has gone down to a few seconds, so I know it rebooted. Any ideas why this is happening? Some background info: $ uname -mrs FreeBSD 7.0-RELEASE-p5 i386 And: $ cat /etc/make.conf # added by use.perl 2008-07-16 15:32:01 PERL_VER=5.8.8 PERL_VERSION=5.8.8 CFLAGS=-O2 -pipe COPTFLAGS=-O2 -pipe CPUTYPE=athlon-xp NO_PROFILE=true Since this started happening, I have still successfully updated ports by csup'ing the ports tree. I can also still rebuild the world and kernel without issue. This is a remote box, and I don't use X with it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Kernel panic! 7.0-RELEASE-p4
Thanks, that took care of it. On Wed, Oct 1, 2008 at 4:49 PM, Manolis Kiagias <[EMAIL PROTECTED]> wrote: > Walter Venable wrote: >> >> Our box, without readily obvious provocation, started doing this today: >> Panic: softdep_setup_inomapdep: dependency for new inode already exists. >> cpuid: 0 >> physical memory: 1971 MB >> dumping 78MB: 63 47 31 15 >> >> The system then immediately reboots, and hits the panic, reboots, etc. >> What can I do?? >> > > Maybe boot into single user mode and run fsck? > ___ > 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: daily/weekly/monthly periodic output
Thank you all for your very fast assistance! Greg Larkin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Corey Dulecki wrote: I have FreeBSD 6.2 running on IBM hardware, single CPU. This server does not have sendmail enabled at all, i.e., in /etc/rc.conf, all four of the "sendmail_xxx" enablers are set to "NO". Today, the /var filesystem ran out of inodes. I tracked the issue down to files that keep appearing in /var/spool/clientmqueue. I've researched enough to understand that these files represent emails that cannot be sent, presumably because I do not have a mail server running on the system. I do not want to enable sendmail or any other client; what I want to do is have the processes which generate these emails send their information to a log, which I will check manually. I believe these emails are being generated by the daily/weekly/monthly periodic processes, something that I didn't even know existed until I ran out of inodes. My question is this: How can I make it so that these periodic processes simply log their messages instead of sending emails that get stuck in clientmqueue? Alternatively, if I can't do that, how do I simply turn off these emails entirely so that they are not sent? Hi Corey, If you don't already have an /etc/periodic.conf file, create one with the following entries: daily_output="/var/log/daily.log" # user or /file daily_status_security_output="/var/log/daily.log" # user or /file weekly_output="/var/log/weekly.log" # user or /file monthly_output="/var/log/monthly.log" # user or /file All of the output from the periodic scripts will be redirected to those files. You'll likely want to rotate those files regularly. I have the following in my /etc/newsyslog.conf file: /var/log/daily.log 640 7 *@T00 JN /var/log/monthly.log640 12*$M1D0 JN /var/log/weekly.log 640 5 1$W6D0 JN Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI7iGE0sRouByUApARAlgaAKCnyDbq5X4of+7s6MNgt0HI2GWqZQCgxBW/ aL8nyZHG/qc7CAt+QCs6bH4= =FvE1 -END PGP SIGNATURE- -- / /*/Corey Dulecki Vice President of Product Development /[EMAIL PROTECTED] **office*: 770.414.6000 /ext/ 707 *web*:www.InternationalServices.com ___ This mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this mail in error) please notify the sender immediately and destroy this email. Any unauthorized copying, disclosure or distribution of the material in this email is strictly forbidden. ___ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
setkey panic freebsd7
i wonder people ran into similar issue on setkey with freebsd7 that panic at ~/crypto/sha1.c:263 within sha1_result() digest[0] = ctxt->h.b8[3]; digest[1] = ctxt->h.b8[2]; on the following sadb add with setkey: add 192.168.0.101 192.168.0.110 esp-old 0x10001 -m any -E des-cbc "12345678" -A keyed-sha1 "12345678123456781234" thanks in advance on any hints. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: daily/weekly/monthly periodic output
Corey Dulecki <[EMAIL PROTECTED]> writes: > I have FreeBSD 6.2 running on IBM hardware, single CPU. This server > does not have sendmail enabled at all, i.e., in /etc/rc.conf, all four > of the "sendmail_xxx" enablers are set to "NO". Today, the /var > filesystem ran out of inodes. > > I tracked the issue down to files that keep appearing in > /var/spool/clientmqueue. I've researched enough to understand that > these files represent emails that cannot be sent, presumably because I > do not have a mail server running on the system. I do not want to > enable sendmail or any other client; what I want to do is have the > processes which generate these emails send their information to a log, > which I will check manually. I believe these emails are being > generated by the daily/weekly/monthly periodic processes, something > that I didn't even know existed until I ran out of inodes. > > My question is this: How can I make it so that these periodic > processes simply log their messages instead of sending emails that get > stuck in clientmqueue? Alternatively, if I can't do that, how do I > simply turn off these emails entirely so that they are not sent? Look at "man periodic.conf". The *_output variables are exactly what you want, and there are example values listed. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: smbpasswd mortal user
On Thu, Oct 09, 2008 at 10:53:32AM -0400, Scott MacCallum wrote: > I would like my users to be able to change their Samba password using the > smbpasswd command. As of right now only root is allowed to do this. I set > the smbpasswd command with the same permissions as the passwd command and I > still cannot run it as a mortal user. I read the FreeBSD handbook and > understand that smbpasswd is no longer the preferred tool to do what I want > with version of Samba I am running, however it too cannot be run as a mortal > user. In any case, I would like to continue using the smbpasswd command. > > Does someone have a solution they can share? Users editing their own passwords -- I have no idea how to solve that. I don't think it's possible because the commands also allow you (or a user) to edit many different fields in their account, including disabling password expiry, changing their unique ID, all that jazz. It sounds like you might have to write a program/utility to do this, acting as a wrapper around pdbedit(8). smbpasswd(8) isn't recommend any more, true. If you're like me and do not care for things like LDAP and prefer flat-files, use the "tdbsam" password database method, and the pdbedit(8) command to edit passwords and do things to accounts. All I use in smb.conf is: private dir = /conf/ME/samba passdb backend = tdbsam Thus passdb.tdb and secrets.tdb will end up going into /conf/ME/samba. You can also say "passdb backend = tdbsam:/some/place" which will store passdb.tdb in /some/place; secrets.tdb will still end up in "private dir" > FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 Consider upgrading (world/kernel) soon, as you're susceptible to some security issues. Just a comment in passing; not the focus of this mail. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
smbpasswd mortal user
Greetings, I would like my users to be able to change their Samba password using the smbpasswd command. As of right now only root is allowed to do this. I set the smbpasswd command with the same permissions as the passwd command and I still cannot run it as a mortal user. I read the FreeBSD handbook and understand that smbpasswd is no longer the preferred tool to do what I want with version of Samba I am running, however it too cannot be run as a mortal user. In any case, I would like to continue using the smbpasswd command. Does someone have a solution they can share? FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 Samba version 3.0.28 (from ports) -- Sincerely, Scott ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: daily/weekly/monthly periodic output
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Corey Dulecki wrote: > I have FreeBSD 6.2 running on IBM hardware, single CPU. This server > does not have sendmail enabled at all, i.e., in /etc/rc.conf, all four > of the "sendmail_xxx" enablers are set to "NO". Today, the /var > filesystem ran out of inodes. > > I tracked the issue down to files that keep appearing in > /var/spool/clientmqueue. I've researched enough to understand that > these files represent emails that cannot be sent, presumably because I > do not have a mail server running on the system. I do not want to > enable sendmail or any other client; what I want to do is have the > processes which generate these emails send their information to a log, > which I will check manually. I believe these emails are being generated > by the daily/weekly/monthly periodic processes, something that I didn't > even know existed until I ran out of inodes. > > My question is this: How can I make it so that these periodic processes > simply log their messages instead of sending emails that get stuck in > clientmqueue? Alternatively, if I can't do that, how do I simply turn > off these emails entirely so that they are not sent? Hi Corey, If you don't already have an /etc/periodic.conf file, create one with the following entries: daily_output="/var/log/daily.log" # user or /file daily_status_security_output="/var/log/daily.log" # user or /file weekly_output="/var/log/weekly.log" # user or /file monthly_output="/var/log/monthly.log" # user or /file All of the output from the periodic scripts will be redirected to those files. You'll likely want to rotate those files regularly. I have the following in my /etc/newsyslog.conf file: /var/log/daily.log 640 7 *@T00 JN /var/log/monthly.log640 12*$M1D0 JN /var/log/weekly.log 640 5 1$W6D0 JN Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI7iGE0sRouByUApARAlgaAKCnyDbq5X4of+7s6MNgt0HI2GWqZQCgxBW/ aL8nyZHG/qc7CAt+QCs6bH4= =FvE1 -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: daily/weekly/monthly periodic output
On Thu, 09 Oct 2008 10:52:14 -0400 Corey Dulecki <[EMAIL PROTECTED]> wrote: > My question is this: How can I make it so that these periodic > processes simply log their messages instead of sending emails that > get stuck in clientmqueue? Take a look at the *_output variables in /etc/defaults/periodic.conf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: daily/weekly/monthly periodic output
On Thu, Oct 09, 2008 at 10:52:14AM -0400, Corey Dulecki wrote: > I have FreeBSD 6.2 running on IBM hardware, single CPU. This server > does not have sendmail enabled at all, i.e., in /etc/rc.conf, all four > of the "sendmail_xxx" enablers are set to "NO". Today, the /var > filesystem ran out of inodes. > > I tracked the issue down to files that keep appearing in > /var/spool/clientmqueue. Which makes no sense, since you're using postfix -- postfix does not use that directory. It sounds to me like possibly your /etc/mail/mailer.conf (used by mailwrapper) is still pointing to the Sendmail (non-postfix) binaries. > I've researched enough to understand that > these files represent emails that cannot be sent, presumably because I > do not have a mail server running on the system. I do not want to > enable sendmail or any other client; what I want to do is have the > processes which generate these emails send their information to a log, > which I will check manually. I believe these emails are being generated > by the daily/weekly/monthly periodic processes, something that I didn't > even know existed until I ran out of inodes. > > My question is this: How can I make it so that these periodic processes > simply log their messages instead of sending emails that get stuck in > clientmqueue? Alternatively, if I can't do that, how do I simply turn > off these emails entirely so that they are not sent? You should be using these values in rc.conf: # We use postfix postfix_enable="yes" sendmail_enable="NO" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" And these values in periodic.conf: # We use postfix daily_clean_hoststat_enable="NO" daily_status_mail_rejects_enable="NO" daily_status_include_submit_mailq="NO" daily_submit_queuerun="NO" And these values in /etc/mail/mailer.conf: sendmail/usr/local/sbin/sendmail send-mail /usr/local/sbin/sendmail mailq /usr/local/sbin/sendmail newaliases /usr/local/sbin/sendmail If you *really* want to turn off daily/weekly/monthly mails -- which I strongly DO NOT recommend you do, for MANY reasons -- you should look at /etc/defaults/periodic.conf for all of the values you can tune. DO NOT edit that file -- use /etc/periodic.conf instead. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: uptime 2 years!
Hi, 2008/10/9 Chad Marshall <[EMAIL PROTECTED]>: > Well, I can always except critism. The problem is that I don't need rude > responses for something I thought would be something to share for your > organization, a success story of FreeBSD. Only for people to call me lazy > and say "Big Deal". If it's not a big deal, than say nothing. Maybe you > should put someone in charge of answering emails who aren't cocky and smug, > some responses were nice and at least supportive. Chad - I think that you need to understand one thing. This is a public list and majority of people who post/respond here aren't FreeBSD Foundation workers but users of this great OS. At least I see the need to separate the two. So if people are playing kind of rude, just ignore them. I was glad to hear that FreeBSD proved useful to you, as it is proving useful to me and an NGO I work for. I could give you hips of examples when thanks to this list I have learnt something useful or was given useful advice. And two years ago I knew nothing about Unix or Linux. Thanks to this list I can manage FreeBSD (almost) on my own. :) But the discussion that followed made me realize that uptime is not everything. I also love to see huge uptimes on my servers but if anything this discussion brought it home to me that more than anything I need to take care of security updates which I do. All the best, -- Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
daily/weekly/monthly periodic output
I have FreeBSD 6.2 running on IBM hardware, single CPU. This server does not have sendmail enabled at all, i.e., in /etc/rc.conf, all four of the "sendmail_xxx" enablers are set to "NO". Today, the /var filesystem ran out of inodes. I tracked the issue down to files that keep appearing in /var/spool/clientmqueue. I've researched enough to understand that these files represent emails that cannot be sent, presumably because I do not have a mail server running on the system. I do not want to enable sendmail or any other client; what I want to do is have the processes which generate these emails send their information to a log, which I will check manually. I believe these emails are being generated by the daily/weekly/monthly periodic processes, something that I didn't even know existed until I ran out of inodes. My question is this: How can I make it so that these periodic processes simply log their messages instead of sending emails that get stuck in clientmqueue? Alternatively, if I can't do that, how do I simply turn off these emails entirely so that they are not sent? -- / /*/Corey Dulecki Vice President of Product Development /[EMAIL PROTECTED] **office*: 770.414.6000 /ext/ 707 *web*:www.InternationalServices.com ___ This mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this mail in error) please notify the sender immediately and destroy this email. Any unauthorized copying, disclosure or distribution of the material in this email is strictly forbidden. ___ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Update System from 6.1 to last 6 Release with NOT generic Kernel...
2008/10/9 RW <[EMAIL PROTECTED]>: > On Wed, 8 Oct 2008 19:08:42 -0300 > Agus <[EMAIL PROTECTED]> wrote: > >> Hi guys... >> >> Just wanted to check a few things before crapping my system..hehehe >> >> I am planning on updating the system from 6.1 to the last 6.3-RELEASE >> p5 i think it isaccording to the freebsd-update.sh... >> >> I am plannin on doing it with this tool...but my main concern is the >> modified kernel and the ports... > > You can't use freebsd-update on a modified kernel. > > Ports can be left unchanged unless you change the major version and go > to 7. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > Ohhthanks... But in the middle of freebsd-update it says to update the kernel and rebuild it.how should i update the kernelor when it reboots and the /usr/src files have changed; i can see the new GENERIC filei have to rebuild it from that new modified GENERIC, so that i custom it, and build the kernel from there? Thanks mate! 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: uptime 2 years!
--On Thursday, October 09, 2008 09:34:02 -0500 Jerry McAllister <[EMAIL PROTECTED]> wrote: On Thu, Oct 09, 2008 at 07:07:31AM -0700, Chad Marshall wrote: Sorry to bother you...You know, you could just leave well enough alone if you don't care. There goes any future donations from me and my organization as this is more than the first untactful email I recieved from this, I'll donate and use other platforms. Please don't send any other emails Kind of touchy, wouldn't you think? People are giving you some perspective. Well, anyway, you have the choice of using a superior system or let scratchy responses lead you to something less suitable. When I was a young boy, I went on vacation with my family to a lake in upper Minnesota. (My mother's ancestral home.) The weather was beautiful, the water was warm and inviting, the swimming was thoroughly enjoyable and the cabin we stayed in was luxurious (by the standards of a little boy.) However, my mother said something to me that mad me angry. To "punish" her, I stomped off in a huff and spent the remainder of the vacation scowling in the cabin. I refused to swim until she corrected the perceived injustice. Needless to say, my "punishment" caused me a great deal more consternation than it did her, or my siblings who were all happily enjoying the water and the boating and the entire lovely vacation while I fumed in the cabin. Self-inflicted wounds are often the most painful of all. -- Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: uptime 2 years!
On Oct 8, 2008, at 9:00 PM, Chad Marshall wrote: No Problem, I figured that there are other systems out there with a longer uptime. I have this server as a postfix/courier-imap/ squirrelmail (60+ accounts and 30-40 forwards) mailserver with apache/php/mysql. Also use it as a slave authoritative nameserver for over 100 zones (one zone with a 60sec TTL on a high volume production website) as well. Plus use it as a primary nameserver for our entire office (300+ workstations). I was lazy with it (Upgrading or Replacing) and when it hit a year, I decided to hold off doing anything with it as I wanted to see how long I could let it go. It's a celeron 2.4ghz server with 512m Ram and has been a champ server in it's performance and stability. I use CentOS for most of my other systems and find that as easy as it is for administration and upgrading, it lacks FreeBSD's performance. With the memory leaks that CentOS has, I usually have to end up restarting the machine(s). With FreeBSD I can just restart the services, and got my memory back and reduce the amount of swap being used. Regardless of the first email I got back (Which was a little rude), I will continue to run this server as long as I can and monitor the security risks using DenyHosts and other security measures. Thanks, On Oct 8, 2008, at 3:39 PM, Frank Shute wrote: On Wed, Oct 08, 2008 at 08:54:47AM -0700, Chad Marshall wrote: Hello, Would like to share a success story which I'm sure you've had in the past but one of my servers running FreeBSD will have an uptime of 2 years tomorrow. I plan on putting on my blog but as it doesn't have much reach but wanted to share with you since your community has made this possible. Please indicate where I could post this to have a bit more reach or if you'd like to put a link to my blog, I'd be more than happy to provide that. Best Regards, Sorry to rain on your parade: http://lists.freebsd.org/pipermail/freebsd-chat/2008-October/005719.html Regards, -- Frank I think this is good news, and thanks for posting it. While it may not be a record holder, from an advocacy point of view it's nice to see. It means there one more rock solid server out there. Cheers, Mikel King CEO, Olivent Technologies Senior Editor, Daemon News Columnist, BSD Magazine 6 Alpine Court Medford, NY 11763 http://www.olivent.com http://www.daemonnews.org http://www.bsdmag.org skype: mikel.king t: 631.627.3055 +--+ Do You know where your towel is? +--+ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: uptime 2 years!
Here's what I said to the last guy who says my skin is thin, just leave well enough alone and drop it please. Seems your skin is thin as well if you can't handle a little back talk :) Well, I can always except critism. The problem is that I don't need rude responses for something I thought would be something to share for your organization, a success story of FreeBSD. Only for people to call me lazy and say "Big Deal". If it's not a big deal, than say nothing. Maybe you should put someone in charge of answering emails who aren't cocky and smug, some responses were nice and at least supportive. I still believe in FreeBSD and it's a great OS. It's the nix I started and learned with but I think your community is full of conceited, pompous asses, the reason I don't like to associate with IT people. I'd rather not give money to someone who has to insult me. If you go to a restaurant and you get a rude waiter, what do you do? I don't go back or give them a crap tip. I get better tack out of forums where I'm asking for help on coding challenges than just simply offering a testimonial. On Oct 9, 2008, at 7:35 AM, David Kelly wrote: On Thu, Oct 09, 2008 at 07:07:31AM -0700, Chad Marshall wrote: Sorry to bother you...You know, you could just leave well enough alone if you don't care. There goes any future donations from me and my organization as this is more than the first untactful email I recieved from this, I'll donate and use other platforms. Please don't send any other emails If your skin is that thin, then good riddance. But just what sort of control over this email list do you expect of the "organization"? I seriously doubt you contribute enough to pay for a full time list moderator. FreeBSD-Questions is not the right place to say, "2 years!", FreeBSD-Chat is the right place, and that's exactly what I did several days before this one appeared on Questions. Meanwhile, you should know where the "off" switch is to unsubscribe as somehow you managed to subscribe. -- 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: [EMAIL PROTECTED] maildrop and postfix - temporary authentication failure
--On Thursday, October 09, 2008 01:21:20 -0500 Da Rock <[EMAIL PROTECTED]> wrote: I'm really about to throw this damn server through a closed window (or better yet a brick wall). I've searched high and low on google for a straight answer, and any references in mailing lists give an answer of read the INSTALL file (as if thats supposed to solve everything). I have virtual users for email in postfix, and I want to use maildrop to deliver to the virtual mailboxes. Problem is, when it does use maildrop it shows an error in the logs as the subject line says. I've tried everything, checked everything. That supposed magic solution in the INSTALL file says only ONE thing needs to be set to get it to work. Maildrop is owned by root and group is mail. The socket is rwx globally (all this is set by the port install). The executing user for pipe in postfix is vmail. I've installed the port with authlib and gdbm (even manually adjusted the makefile to ensure --enable-userdb). Nada. The generally consensus is that it should work out of the box- so what the hell am I doing wrong? Where should I be looking? Specifically: what is not authenticating? I can manually test maildrop ok. So wtf? You'll have to excuse my language here- I'm not sure how much hair I have left after working on this for several days... What you should be doing is posting this to the postfix users list where people like Wietse Venema, the developer of Postfix, can answer your questions and help you solve your problem. Seriously. Sebatian and others there have a tremendous amount of experience with Postfix and will be much more help to you than most people here. -- Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: uptime 2 years!
On Thu, Oct 09, 2008 at 07:07:31AM -0700, Chad Marshall wrote: > > Sorry to bother you...You know, you could just leave well enough > alone if you don't care. There goes any future donations from me and > my organization as this is more than the first untactful email I > recieved from this, I'll donate and use other platforms. Please don't > send any other emails > Kind of touchy, wouldn't you think? People are giving you some perspective. Well, anyway, you have the choice of using a superior system or let scratchy responses lead you to something less suitable. jerry > > On Oct 8, 2008, at 6:51 PM, matt donovan wrote: > > >why is this news or even important? heck most servers are up longer > >then this. > ___ > 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: uptime 2 years!
On Thu, Oct 09, 2008 at 07:07:31AM -0700, Chad Marshall wrote: > > Sorry to bother you...You know, you could just leave well enough > alone if you don't care. There goes any future donations from me and > my organization as this is more than the first untactful email I > recieved from this, I'll donate and use other platforms. Please don't > send any other emails If your skin is that thin, then good riddance. But just what sort of control over this email list do you expect of the "organization"? I seriously doubt you contribute enough to pay for a full time list moderator. FreeBSD-Questions is not the right place to say, "2 years!", FreeBSD-Chat is the right place, and that's exactly what I did several days before this one appeared on Questions. Meanwhile, you should know where the "off" switch is to unsubscribe as somehow you managed to subscribe. -- 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: uptime 2 years!
On Behalf Of matt donovan > why is this news or even important? heck most servers > are up longer then this. It's neither. But the discussion proved useful as it served to remind me that there are security updates that need to be reviewed periodically, even for machines that are not directly connected to the outside world. I also recorded a couple of URLs that I should review, and caught the reminder that 2038 is coming quicker than I had hoped. That was very timely, by the way. Later that same day it helped debug a problem. Yeah, we already have one web developer that has run up against that limit. He decided that forever is 30 years and wondered why QA got an error when they tried to set a schedule end date with it. No, we don't use any 64 bit OS, yet. Bob McConnell ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: performance problem in regex
fulvio_esposito wrote: > I've got some performance hit using regex in libc on freebsd 6.3 Knowing that this regex implementation uses an NFA algorithm, while a DFA algorithm should be preferred, this is no big surprise. You can read the following references on the subject: http://swtch.com/~rsc/regexp/regexp1.html http://www.dmst.aueb.gr/dds/pubs/jrnl/2007-SPANDE-FIRE/html/KS07.html In particular the second is written by a FreeBSD developer and states: "The Spencer engine proved to have poor performance and was excluded from the graphs.", where the Spencer engine is precisely the one in FreeBSD. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: uptime 2 years!
Sorry to bother you...You know, you could just leave well enough alone if you don't care. There goes any future donations from me and my organization as this is more than the first untactful email I recieved from this, I'll donate and use other platforms. Please don't send any other emails On Oct 8, 2008, at 6:51 PM, matt donovan wrote: why is this news or even important? heck most servers are up longer then this. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: KDE 4 Cannot run as regular user
"Tom Stuart" <[EMAIL PROTECTED]> writes: > I just installed KDE4 via ports and am getting errors upon attempting > to start as a "regular" user. When I run startkde as root it works > fine but I don't want to use root on this machine. > > Error Generated when started as a regular user > $ startx > /libexec/ld-elf.so.1: Shared object "libXau.so.6" not found, required by > "xauth" > /libexec/ld-elf.so.1: Shared object "libXau.so.6" not found, required by > "xauth" > /libexec/ld-elf.so.1: Shared object "libXau.so.6" not found, required by > "xauth" > /libexec/ld-elf.so.1: Shared object "libXau.so.6" not found, required by > "xauth" > /libexec/ld-elf.so.1: Shared object "libXau.so.6" not found, required by > "xauth" > /libexec/ld-elf.so.1: Shared object "libX11.so.6" not found, required by > "xinit" > /libexec/ld-elf.so.1: Shared object "libXau.so.6" not found, required by > "xauth" > > The files are there > $ ls -l /usr/local/lib/libXau.so /usr/local/lib/libX11.so > lrwxr-xr-x 1 root wheel 11 Oct 6 03:09 /usr/local/lib/libX11.so -> > libX11.so.6 > lrwxr-xr-x 1 root wheel 11 Oct 6 03:06 /usr/local/lib/libXau.so -> > libXau.so.6 > $ ls -l /usr/local/lib/libXau.so.6 /usr/local/lib/libX11.so.6 > -rwxr-xr-x 1 root wheel 1080722 Oct 6 03:09 /usr/local/lib/libX11.so.6 > -rwxr-xr-x 1 root wheel10604 Oct 6 03:06 /usr/local/lib/libXau.so.6 > > $ cat .xinitrc > exec /usr/local/kde4/bin/startkde > > $ uname -a > FreeBSD xxx.xxx.net 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #2: Mon Oct > 6 02:45:38 MDT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/xxx > i386 > > I'm sure this is a very little issue but I appreciate your patience > and help in resolving this issue. I'll guess the problem isn't related to KDE, but to X in general. Can you start twm as your local user? With a minimal .xinitrc file? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can an Account be Locked out for ssh but allow su?
Personally I prefer AllowUsers, as that denies all users except those specifically allowed. Deny/AllowGroups are useful too. 2008/10/8 Martin McCormick <[EMAIL PROTECTED]> > Henrik Hudson writes: > > Check the sshd_config man page for AllowUsers and DenyUsers directives. > > Many thanks. DenyUsers did the trick. > ___ > 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: Update System from 6.1 to last 6 Release with NOT generic Kernel...
On Wed, 8 Oct 2008 19:08:42 -0300 Agus <[EMAIL PROTECTED]> wrote: > Hi guys... > > Just wanted to check a few things before crapping my system..hehehe > > I am planning on updating the system from 6.1 to the last 6.3-RELEASE > p5 i think it isaccording to the freebsd-update.sh... > > I am plannin on doing it with this tool...but my main concern is the > modified kernel and the ports... You can't use freebsd-update on a modified kernel. Ports can be left unchanged unless you change the major version and go to 7. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Multiple NICs routing question
At 06:26 AM 10/9/2008, Konrad Heuer wrote: Hello, I've a server box with four NICs addressing different subnets: NIC1: one class c subnet of same class b network NIC2: another class c subnet of same class b network NIC3: local unrouted network NIC4: local unrouted network In the current configuration I use a default gateway (and no routing daemon) in the subnet addressed by NIC1. Now of course, if a client in an arbitrary different class c subnet contacts the server using the ip address of NIC2, it gets a reply from NIC1. How can I cange this? I'd like the server to answer via the interface the client uses when connecting. Maybe that's a silly question, but thanks for any reply! Best regards Konrad Heuer GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED] You can have only one default gateway, that should be to where all other traffic should go. Add static routes to your specific subnets, public or private for the routing of that traffic. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Canon Pixma iP4500 - problem with colours
At Wed, 8 Oct 2008 15:38:32 +0100, Mike Clarke wrote: > On Sunday 05 October 2008, WATANABE Kazuhiro wrote: > > > So you will be able to use Canon iP4500 (and MP610/MP520/iP3500) with > > the procedure below. > > Thanks for the detailed installation instructions for the Pixma iP4500 > linux drivers from Canon. > > I followed the instructions and everything went very smoothly apart from > one minor problem. Using rpm2cpio and cpio to extract the files from > cnijfilter-ip4500series-2.80-1.i386.rpm resulted in all the directories > being created with mode 700. This resulted in "permission denied" > errors when piping an ascii test file through a2ps and gs to cifip4500. Ouch... I tested the instructions on 8-current which had been introduced bsdcpio. FreeBSD 7.x and the former bundles GNU cpio. 2.7 and the former versions of GNU cpio has a bug. If the original cpio archive has no information about directories (such as the output of rpm2cpio), the old GNU cpio sets those permission to 700 unconditionally. The latest version of GNU cpio, and bsdcpio reflects the value of umask in such a case. http://www.gnu.org/software/cpio/#releases > After setting the directory permissions to 755 everything was fine and > I now have a functional printer. So currently the users other than 8-current should do the following procedure: $ mkdir ip4500 # working directory $ cd ip4500 $ rpm2cpio /PATH/TO/cnijfilter-ip4500series-2.80-1.i386.rpm | cpio -ivd $ find ./usr -type d | xargs chmod 755 # fix directory permission $ su Password: # cp -Ri ./usr /compat/linux/ # /compat/linux/sbin/ldconfig -r /compat/linux > The output quality is much better than I could get with the gutenprint > driver but the output is limited to 600 dpi so it's nothing like as > good as the windows driver in high quality mode. But it is certainly > good enough for normal day to day use and I don't mind switching to > Windows for the occasional high quality photo print. > > -- > Mike Clarke --- WATANABE Kazuhiro ([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: uptime 2 years!
Eitan Adler <[EMAIL PROTECTED]> writes: > andrew clarke wrote: >> >> Is FreeBSD 7.1 2038-proof? ;-) >> > > As far as I know the amd64 version is (anyone care to verify/correct?) All 64-bit platforms have 64-bit time_t, so that covers most of the possible problems. Even on 32-bit platforms, the major filesystems use 64-bit times, so the data is good to go on 64-bit systems. And in theory it should be possible to change time_t to unsigned, and get another two-thirds of a century out of it... -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php5 segfault
On Thu, Oct 09, 2008 at 01:15:59PM +0200, Laszlo Nagy wrote: > >> I thought you said you changed the order and it didn't work? *confused* >> > I said no success so far. There are more than 20 modules and there is no > description about what the good order should be. I had to keep trying... >> If so: it should be obvious why it hasn't been fixed. It doesn't appear >> to affect everyone -- for example, we have never seen this problem in >> the 4-5 years we've been using PHP on FreeBSD -- and the solution >> doesn't really make much sense anyway. It smells of a missing symbol >> problem (e.g. libxx.so wants a symbol named "hello_bob", but the symbol >> is available in libyy.so, which has to be loaded first; however, ld.so >> and dlopen(3) have explicit handling for this scenario (see RTLD_NOW vs. >> RTLD_LAZY), so I'm at a loss). >> > Maybe you are right. But I would think that a missing symbol problem > should throw an error message telling "missing symbol" instead of making > a segfault. That all depends on the C code. If you'd like to dig around in it and investigate/debug it to find out what the true nature of the problem is, that would be beneficial, since AFAIK no one has done that yet. It's all speculative. >> That said, if you feel this is a humongous issue, I highly recommend you >> mail the PHP port maintainer and express your concerns, or open a PR >> > We had the same problem on our previous server. I'm going to install > another box today and test it. If the problem comes out again, I'm going > to write a PR. And I would also recommend filing a bug report with the PHP folks. This may be something that's a PHP problem and not a FreeBSD problem. It may "not be a Linux problem" because for all we know the Linux RPMs and Portage stuff in CentOS/Gentoo could have workarounds in place. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Multiple NICs routing question
Hello, I've a server box with four NICs addressing different subnets: NIC1: one class c subnet of same class b network NIC2: another class c subnet of same class b network NIC3: local unrouted network NIC4: local unrouted network In the current configuration I use a default gateway (and no routing daemon) in the subnet addressed by NIC1. Now of course, if a client in an arbitrary different class c subnet contacts the server using the ip address of NIC2, it gets a reply from NIC1. How can I cange this? I'd like the server to answer via the interface the client uses when connecting. Maybe that's a silly question, but thanks for any reply! Best regards Konrad Heuer GWDG, Am Fassberg, 37077 Goettingen, Germany, [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: php5 segfault
I thought you said you changed the order and it didn't work? *confused* I said no success so far. There are more than 20 modules and there is no description about what the good order should be. I had to keep trying... If so: it should be obvious why it hasn't been fixed. It doesn't appear to affect everyone -- for example, we have never seen this problem in the 4-5 years we've been using PHP on FreeBSD -- and the solution doesn't really make much sense anyway. It smells of a missing symbol problem (e.g. libxx.so wants a symbol named "hello_bob", but the symbol is available in libyy.so, which has to be loaded first; however, ld.so and dlopen(3) have explicit handling for this scenario (see RTLD_NOW vs. RTLD_LAZY), so I'm at a loss). Maybe you are right. But I would think that a missing symbol problem should throw an error message telling "missing symbol" instead of making a segfault. That said, if you feel this is a humongous issue, I highly recommend you mail the PHP port maintainer and express your concerns, or open a PR We had the same problem on our previous server. I'm going to install another box today and test it. If the problem comes out again, I'm going to write a PR. Thank you! Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: linux emulation
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Desmond Chapman wrote: > I don't know if anyone else is trying; but, I am attempting a Linux > installation of virtualbox on FreeBSD amd64. http://article.gmane.org/gmane.comp.emulators.virtualbox.devel/853 http://article.gmane.org/gmane.comp.emulators.virtualbox.devel/874 cu Adrian -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI7efcqpMUYrZbQBERAgHEAJ9oGXokbWIy1po0cdbsk2mxTAgFvQCgsHsP BGOlDo4cG2d8PzRXU/8G6RQ= =HJGW -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: performance problem in regex
[EMAIL PROTECTED] wrote: > Hi all, > I've got some performance hit using regex in libc on freebsd 6.3. I've > done some test whit the patterns that l7-filter [http://l7-filter.sf.net] use > to recognize level 7 internet protocol. For example, with the skypeout > pattern, > regexec() takes more tha 0.1 sec to do its work. Is this a know problem? It's known that regex(3) is slow for some cases. See http://www.freebsd.org/cgi/man.cgi?regex , especially the paragraphs """ The regexec() function performance is poor. This will improve with later releases. The nmatch argument exceeding 0 is expensive; nmatch exceeding 1 is worse. The regexec() function is largely insensitive to RE complex- ity except that back references are massively expensive. RE length does matter; in particular, there is a strong speed bonus for keeping RE length under about 30 characters, with most special characters counting roughly double. The regcomp() function implements bounded repetitions by macro expansion, which is costly in time and space if counts are large or bounded repeti- tions are nested. An RE like, say, `a{1,100}){1,100}){1,100}){1,100}){1,100}' will (eventually) run almost any existing machine out of swap space. """ Someone with more experience in the regex(3) implementation should see if the pattern: http://l7-filter.sourceforge.net/layer7-protocols/protocols/skypeout.pat Falls into these conditions. signature.asc Description: OpenPGP digital signature
cannot install from existing UFS thumb drive with sysinstall
I've crafted a USB flash thumb drive containing a bootable UFS partition containing the contents of 7.0-RELEASE-i386-disc1.iso. It boots properly and sysinstall runs as expected, so I'm all set to install FreeBSD to a system that has no optical drive. Just as "fbsd2" in the following thread, I ran into the problem of being unable to specify the USB thumb drive as the installation media: http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2007-08/msg00369.html [ http://tinyurl.com/4o7pkl ] I was not deterred though because I knew from Reid Linnemann's response that I just needed to select "Install from an existing filesystem". I also understood that I'd need to go to the Fixit menu first and launch the Emergency Holographic Shell (EHS) first in order to mount the thumb drive's UFS partition. Unfortunately, the final response in the above thread appears to indicate that "fbsd2" might not have understood what he was seeing and it seems no one followed up with an explanation or solution. The problem is that the EHS, exactly as advertised, has a very small set of commands. While it does include 'mount_nfs', it does not appear to include anything for mounting a local UFS filesystem, which strikes me as being a strange thing to leave out. So, can anyone tell me how I can mount my thumb drive's UFS partition from within sysinstall? Linnemann countering the "fbsd2" assertion that this is a show stopper now looks to me to have been a little hasty, but I need to believe I'm missing something here. If there really isn't a way to mount the thumb drive's filesystem, is there a way to custom the ISO content such that either 1) the EHS can have 'mount' added to it, or 2) the thumb drive's filesystem can be automatically mounted upon sysinstall startup? Yes, I realize anything's possible if I were willing to build a whole new custom ISO from the ground up, but that's more dramatic than I'm ready for. I know virtually nothing about NFS, so excuse what is probably a stupid question... is it possible to use sysinstall's NFS capabilities to mount a local UFS filesystem somehow? Carl / K0802647 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
performance problem in regex
Hi all, I've got some performance hit using regex in libc on freebsd 6.3. I've done some test whit the patterns that l7-filter [http://l7-filter.sf.net] use to recognize level 7 internet protocol. For example, with the skypeout pattern, regexec() takes more tha 0.1 sec to do its work. Is this a know problem? Thanks in advance, Fulvio Esposito ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php5 segfault
On Thu, Oct 09, 2008 at 11:53:11AM +0200, Laszlo Nagy wrote: > >>> There are no options to configure in php5-pgsql. >>> >>> I tried to change the order or module in extensions.ini, no success so far. >>> >> >> Then my recommendation is to build PHP with DEBUG enabled (see "make >> config"), reproduce the situation, and provide a backtrace here. >> > Problem solved. I put pgsql.so on top of all other modules and now there > is no segfault. Thank you! I thought you said you changed the order and it didn't work? *confused* > Although I do not understand why it has not been fixed. The same > problem existed two years ago, right? What "problem" are you referring to? The extension ordering issue? If so: it should be obvious why it hasn't been fixed. It doesn't appear to affect everyone -- for example, we have never seen this problem in the 4-5 years we've been using PHP on FreeBSD -- and the solution doesn't really make much sense anyway. It smells of a missing symbol problem (e.g. libxx.so wants a symbol named "hello_bob", but the symbol is available in libyy.so, which has to be loaded first; however, ld.so and dlopen(3) have explicit handling for this scenario (see RTLD_NOW vs. RTLD_LAZY), so I'm at a loss). That said, if you feel this is a humongous issue, I highly recommend you mail the PHP port maintainer and express your concerns, or open a PR. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php5 segfault
There are no options to configure in php5-pgsql. I tried to change the order or module in extensions.ini, no success so far. Then my recommendation is to build PHP with DEBUG enabled (see "make config"), reproduce the situation, and provide a backtrace here. Problem solved. I put pgsql.so on top of all other modules and now there is no segfault. Thank you! Although I do not understand why it has not been fixed. The same problem existed two years ago, right? Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can't get soundcard to work
On Thu, Oct 09, 2008 at 09:12:28AM +0200, Aniruddha wrote: > > On Wed, 2008-10-08 at 23:31 +0100, Frank Shute wrote: > > > ls /dev/d > > > da0 da2 dconsdevstat dsp0.0 dsp1.0 > > > da1 da3 devctl dgdb dsp0.1 dumpdev > > > > On my machine: > > > > $ ls /dev | grep dsp > > dsp0.0 > > dsp0.1 > > > > i.e no dsp1.0 > > > > Could be that the 2 cards are confusing it, as you suggested previously > > (they both use the same driver). Can you disable one in the BIOS? > > I am afraid not :( my ATI radeon 3850 comes with HDMI support which I > can't disable. :( What about the onboard Intel chip? Can you disable that? > > > What does: > > > > $ cat /dev/sndstat > > > > give you? > > sndstat: > > FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) > > Installed devices: > > pcm0: at memory > 0xff9ec000 irq 17 kld snd_hda [20080420_0052] [MPSAFE] (mixer only) > > pcm1: at memory > 0xffafc000 irq 19 kld snd_hda [20080420_0052] [MPSAFE] (1p:1v/1r:1v > channels duplex) The driver is binding to both. > > > I'm not surprised it freaks out - it's probably struggling to figure > > out which card to use. > > > > I feel pretty sure you'll have better luck disabling one. I have had 2 > > cards in the same machine before but they used different drivers. > > Can this problem be solved with buying an new soundcard? Or wil I run > into the same mess? I'm no expert on the sound subsystem, so I can't tell you. You can probably get what you've got to work but I don't know the appropriate magic. I think you're probably best off posting to: [EMAIL PROTECTED] Explain that you've got 2 sound chips with the snd_hda driver binding to both & ask whether it's possible to get sound out of that configuration without disabling one. > > -- > Regards, > > Aniruddha > Sorry, I couldn't be more help. BTW, hope you don't mind but I've cc'd this to multimedia@ For those on that list, the thread starts here: http://lists.freebsd.org/pipermail/freebsd-questions/2008-October/183904.html Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php5 segfault
On Thu, Oct 09, 2008 at 10:11:29AM +0200, Laszlo Nagy wrote: > Also, you cannot use a threaded Apache (e.g. threaded MPMs) with PHP since not all extensions support threading. Your Apache needs to be built without threads and use a non-thread model (e.g. prefork). I've also had success with Apache-ITK-mpm. >>> >>> This is very true for mod_php, but less so if PHP is run as FastCGI. >>> I am >>> currently running a box at work with the event mpm and mod_fcgid for >>> testing and it seems to be doing well. YMMV > All right. The problem is that we are getting segfaults with the CLI > version too. We are running some background PHP programs and they also > throw segfault. extensions.ini is used by the CLI version as well. I'm not sure why you think this wouldn't be the case. > Here is the interesting part. I wrote a test script that tries to > connect to the postgresql server. > > - if the hostname is wrong for the connection, there is no segfault > - if the hostname is right but the password is wrong (e.g. it cannot > connect to the server) then there IS segfault. > > There are no options to configure in php5-pgsql. > > I tried to change the order or module in extensions.ini, no success so far. Then my recommendation is to build PHP with DEBUG enabled (see "make config"), reproduce the situation, and provide a backtrace here. I would also consider filing a bug with the PHP folks. They may know something we don't. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php5 segfault
Also, you cannot use a threaded Apache (e.g. threaded MPMs) with PHP since not all extensions support threading. Your Apache needs to be built without threads and use a non-thread model (e.g. prefork). I've also had success with Apache-ITK-mpm. This is very true for mod_php, but less so if PHP is run as FastCGI. I am currently running a box at work with the event mpm and mod_fcgid for testing and it seems to be doing well. YMMV All right. The problem is that we are getting segfaults with the CLI version too. We are running some background PHP programs and they also throw segfault. Here is the interesting part. I wrote a test script that tries to connect to the postgresql server. - if the hostname is wrong for the connection, there is no segfault - if the hostname is right but the password is wrong (e.g. it cannot connect to the server) then there IS segfault. There are no options to configure in php5-pgsql. I tried to change the order or module in extensions.ini, no success so far. Best, Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mysql binlogs and their expiry times
Hello, > Zbigniew Szalbot wrote: > > | It works so no problem but I do not really like the idea of providing > | passwords in crontab. I wish the option in my.cnf file worked as > | advertised. > > Hmmm It's always worked for me to create a file /root/.my.cnf > containing: > > [client] > user = root > password = imnottellingyou Thank you Matthew. You made me learn something new and very useful! I appreciate it very much! -- Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
HELP with Compiling qt4-designer
Im running AMD64 FreeBSD7.1-PreRelease on KDE4.1.2, so far everything in upgrading was successful apart from the below issue .. any ideas/thoughts ? +++ ../../../shared/qtgradienteditor/qtgradientstopsmodel.cpp:482: error: expected constructor, destructor, or type conversion at end of input *** Error code 1 2 errors *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 pkg_create: pkg_perform: unable to open contents file '/usr/ports/devel/qt4-designer/work/.PLIST.mktmp' for input *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 3 errors ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mysql binlogs and their expiry times
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Zbigniew Szalbot wrote: | It works so no problem but I do not really like the idea of providing | passwords in crontab. I wish the option in my.cnf file worked as | advertised. Hmmm It's always worked for me to create a file /root/.my.cnf containing: [client] user = root password = imnottellingyou Make sure that's mode 400. You should then be able to type 'mysql' as the unix root user and be auto-logged into a root level mysql session without having to type in the password explicitly. Other client applications (mysqldump, mysqladmin, mysqlcheck etc.) will work similarly. Note that you want to run 'mysql_secure_installation' or otherwise get rid of remote root level access to MySQL to ensure security. 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.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREDAAYFAkjttr0ACgkQ3jDkPpsZ+VYYdQCfX/ZZqS9gb0HARekVm/rn/nYd za8An02zwJl2QBO3q9kFVgcTwUdYASjn =RjRK -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]"
linux emulation
I don't know if anyone else is trying; but, I am attempting a Linux installation of virtualbox on FreeBSD amd64. Here is the output first: "sh Desktop/VirtualBox-1.6.0-Linux_amd64.run Verifying archive integrity... All good. Uncompressing VirtualBox for Linux installation VirtualBox Version 1.6.0 (Wed Apr 30 22:37:39 CEST 2008) installation Please install GNU make. Please install the build and header files for your current Linux kernel. The current kernel version is 7.0-RELEASE Problems were found which would prevent VirtualBox from installing. Please correct these problems and try again." Okay. Do I need to brandelf this binary? Where are the headers for fc4 or kernel 2.4.x? kBuild is still broken. I've asked the maintainer to re-implement it along with a warning. It's needed to build virtualbox. _ See how Windows Mobile brings your life together—at home, work, or on the go. http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/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: [SOLVED] Re: [EMAIL PROTECTED] maildrop and postfix - temporary authentication failure
On Thu, Oct 09, 2008 at 04:52:29PM +1000, Da Rock wrote: > > On Thu, 2008-10-09 at 16:21 +1000, Da Rock wrote: > > I'm really about to throw this damn server through a closed window (or > > better yet a brick wall). I've searched high and low on google for a > > straight answer, and any references in mailing lists give an answer of > > read the INSTALL file (as if thats supposed to solve everything). > > > > I have virtual users for email in postfix, and I want to use maildrop to > > deliver to the virtual mailboxes. Problem is, when it does use maildrop > > it shows an error in the logs as the subject line says. > > > > I've tried everything, checked everything. That supposed magic solution > > in the INSTALL file says only ONE thing needs to be set to get it to > > work. Maildrop is owned by root and group is mail. The socket is rwx > > globally (all this is set by the port install). The executing user for > > pipe in postfix is vmail. > > > > I've installed the port with authlib and gdbm (even manually adjusted > > the makefile to ensure --enable-userdb). Nada. > > > > The generally consensus is that it should work out of the box- so what > > the hell am I doing wrong? Where should I be looking? Specifically: what > > is not authenticating? I can manually test maildrop ok. So wtf? > > > > You'll have to excuse my language here- I'm not sure how much hair I > > have left after working on this for several days... > > Ok, I know I'm answering my own question here- but this should > definitely be fixed. > > In the INSTALL file, someone should change the statement where it says > "When using the standalone maildrop build with courier-authlib, one > of the following configurations must be used:"\ > > to: "When using the standalone maildrop build with courier-authlib, ALL > of the following configurations must be used:" > > Just after I sent the email I thought I'd check the only thing I hadn't > changed, the setuid bit. There are several reasons why I hadn't had the > guts to do this before- but in my mood I was feeling reckless. > > 1. The statement in the INSTALL file said only one configuration needed > to be changed. > 2. I installed from ports- I would have thought (like most would, and > history has served to provide empirical data) that the install process > would have set this. > 3. None of the information I read when searching emphasised this when > all other options are already set- and certainly none based on freebsd. > > Anyone else with this issue popping up THIS is the answer- set ALL the > configuration options in the INSTALL file. This should go to freebsd-ports, not freebsd-questions. I would also recommend filing a PR about this, since otherwise it's unlikely to get addressed/fixed. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Weird FS behavior tru FTP on CD9660
Sdävtaker wrote: > Hey, > I found a weird situation today, > I mounted a DVD with the mount_cd9660 and accessed it through > "filezilla". I got 2 times every file in the list, go back to the > original Pc and checked with "ls" and they appear only once. :-/ > Im using last version Filezilla in MSW, and ftpd in FBSD7.0r. > I think it can be reading both TOCs in the DVD, but it is weird since > it doesnt happen when doing ls. > Can someone try reproduce it in another setup? > Sdav I believe this is fixed in RELENG_7. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: What is a recommended soundcard for FreeBSD?
On Wed, 2008-10-08 at 23:46 +0200, Patrick Lamaizière wrote: > Le Wed, 08 Oct 2008 22:42:43 +0200, > Aniruddha <[EMAIL PROTECTED]> a écrit : > > > Because of the problems with my onboard Intel HDA audio chip I plan to > > buy a soundcard that is supported by FreeBSD. > > There is a new hda driver in current, may be you can try it on > RELENG_7? > > See > http://www.nabble.com/Re%3A-New-snd_hda-driver-came-in.-p19499206.html > > Good luck! > > Regards. > Thanks I'll check it out.v In the meantime I'm real curious about FreeBSD user experience with X-fi :) -- Regards, Aniruddha ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can't get soundcard to work
On Thu, 2008-10-09 at 01:16 +0200, Bernt Hansson wrote: > Aniruddha skrev: > > I've read the "Setting Up the Sound Card" part in the FreeBSD handbook > > unfortunately I can't get my Intel HDA card to work. Any ideas would be > > appreciated! Here's some relevant output: > > > > If you load the driver manually, can you play a tune then? > For me snd_hda_load="YES" does not load the driver. I have to do it with > kldload snd_hda. > I'll try this and post the results. Afaik I got a message "driver already loaded" -- Regards, Aniruddha ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"