Trouble with pfsense and NFS
Hello everybody!! I got a problem with pfsense, i expect to you can help me. I have replaced my Openbsd box with pfsense. The pfsense settings are the next: one interface have internet, the other have the lan, and the last have dmz with only one server which one have FBSD 5.4, and serve NIS and NFS. My problem is between my linux clients (wich ones have a nfsv3) and the server, the pfsense is blocking the nfs traffic. I tested pfctl -d and clients works perfect, but when i activated pf, nfs is getting down. The result is the same when i load a pf.conf with no rules. I deactived the menu options: Clear DF bit instead of dropping Disable Firewall Scrub but the problem continue. What can i do?, and where are the rules? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trouble with pfsense and NFS
* Emanuel Marufo [EMAIL PROTECTED] [2008-05-04 00:34:11 -0500]: I got a problem with pfsense, i expect to you can help me. Have you tried asking on the pfSense mailing list? They might be more receptive. http://www.pfsense.org/index.php?option=com_contenttask=viewid=66Itemid=71 [...] -- Sahil Tandon [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: Trouble with pfsense and NFS
this should go to the pfsense list, not the FreeBSD list On Sun, May 4, 2008 at 12:34 PM, Emanuel Marufo [EMAIL PROTECTED] wrote: Hello everybody!! I got a problem with pfsense, i expect to you can help me. I have replaced my Openbsd box with pfsense. The pfsense settings are the next: one interface have internet, the other have the lan, and the last have dmz with only one server which one have FBSD 5.4, and serve NIS and NFS. My problem is between my linux clients (wich ones have a nfsv3) and the server, the pfsense is blocking the nfs traffic. I tested pfctl -d and clients works perfect, but when i activated pf, nfs is getting down. The result is the same when i load a pf.conf with no rules. I deactived the menu options: Clear DF bit instead of dropping Disable Firewall Scrub but the problem continue. What can i do?, and where are the rules? ___ 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]
Variable arg function question
Hi all I need to implement a variable argument function in C. The number of args are not known but the type is known, all are strings. Unfortunately va_arg() [stdarg(3)] does not return NULL or any other suitable value after processing the arg list, it just simply crashes once the arg list is exhausted. It seems there is no way to know the number of args inside the called function. How do you guys implement variable arg function such as f(str1, str2, str3, ..., strN)? Sorry for the sightly off topic question, the only relevance is I'm programming this app on FreeBSD 7.0 :) Many thanks in advance. Kind regards Unga Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Variable arg function question
On Sun, May 04, 2008 at 12:40:43AM -0700, Unga wrote: Hi all I need to implement a variable argument function in C. The number of args are not known but the type is known, all are strings. Unfortunately va_arg() [stdarg(3)] does not return NULL or any other suitable value after processing the arg list, it just simply crashes once the arg list is exhausted. It is _your_ task to properly close the argument list. E.g. by supplying a NULL pointer as the last argument. It seems there is no way to know the number of args inside the called function. Not with stdarg. How do you guys implement variable arg function such as f(str1, str2, str3, ..., strN)? you could use the same format as main: int foo(int num, char **args) Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgp8rpDPLi4A8.pgp Description: PGP signature
cvsup.uk.freebsd.org not updating?
Hi, It looks like cvsup.uk.freebsd.org hasn't updated in a few days. The latest updates to ImageMagick, php5 and samba3 haven't appeared yet. Regards, Neil Darlow ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
server (partly) fails: hardware?
Hi all, I have FreeBSD installed on a ~6 year old IBM NetVista box; it serves a headless gateway/server/WAP for my home network. I upgraded it from v6 to v7 in mid January, building a custom kernel with altq and the new scheduler. It has been running fine since early December. However, three times during the past few days, it has stop functioning. The WAN connection dies and I can no longer ssh into the box. However, I can still ping it, and I can still ssh from one LAN client to another via the FreeBSD box. IOW, it seems to be dying, but not freezing, if that makes any sense. Alas, there is nothing in /var/messages to indicate what happens. I don't think it is succumbing to excessive load; it has a 1.6 MHz Pentium IV, 512 MB RAM, rarely uses swap, and the load averages tend to be very light. At this point, I assume a hardware issue, and I can have the box tested by a local whitebox shop later this week, but I am open to other avenues to purse as well. Thanks in advance for any ideas. -- Colin Brace Amsterdam http://lim.nl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: server (partly) fails: hardware?
On Sun, May 4, 2008 at 11:38 AM, Colin Brace [EMAIL PROTECTED] wrote: Hi all, I have FreeBSD installed on a ~6 year old IBM NetVista box; it serves a headless gateway/server/WAP for my home network. I upgraded it from v6 to v7 in mid January, building a custom kernel with altq and the new scheduler. It has been running fine since early December. However, three times during the past few days, it has stop functioning. The WAN connection dies and I can no longer ssh into the box. However, I can still ping it, and I can still ssh from one LAN client to another via the FreeBSD box. IOW, it seems to be dying, but not freezing, if that makes any sense. Alas, there is nothing in /var/messages to indicate what happens. I don't think it is succumbing to excessive load; it has a 1.6 MHz Pentium IV, 512 MB RAM, rarely uses swap, and the load averages tend to be very light. At this point, I assume a hardware issue, and I can have the box tested by a local whitebox shop later this week, but I am open to other avenues to purse as well. Thanks in advance for any ideas. -- Colin Brace Amsterdam http://lim.nl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Can you predict at what point the server will crash? Is it after performing a specific action, or at a certain time of day? If you can connect a monitor to the server and actually see what happens and also if it still accepts keystrokes and stuff, that would probably help in diagnosing the problem. Another tip might be to download memtest86 and run it for a while on the machine, in order to make sure the memory is working correctly. You're saying the machine has been running stable for a while, but it's nice to get things like this out of the way so you at least know what isn't wrong. Regards, Christian Zachariasen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Variable arg function question
--- Roland Smith [EMAIL PROTECTED] wrote: On Sun, May 04, 2008 at 12:40:43AM -0700, Unga wrote: Hi all I need to implement a variable argument function in C. The number of args are not known but the type is known, all are strings. Unfortunately va_arg() [stdarg(3)] does not return NULL or any other suitable value after processing the arg list, it just simply crashes once the arg list is exhausted. It is _your_ task to properly close the argument list. E.g. by supplying a NULL pointer as the last argument. Infact, I have implemented it in this way. I was wondering if there is a better way. The issue I see is, if someone forget to close the arg list with NULL pointer, it crashes. How do you guys implement variable arg function such as f(str1, str2, str3, ..., strN)? you could use the same format as main: int foo(int num, char **args) This is interesting. Who set the num? The compiler or the user. If it is the user, its no better than above NULL pointer method. If this is possible, my problem is solved: f(str1, str2, str3, ..., strN) is at compile time expands to _f(int num, str1, str2, str3, ..., strN). The num is set automatically by the compiler by counting the args. Is this possible? Unga Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Variable arg function question
On Sun, May 04, 2008 at 04:01:39AM -0700, Unga wrote: Unfortunately va_arg() [stdarg(3)] does not return NULL or any other suitable value after processing the arg list, it just simply crashes once the arg list is exhausted. It is _your_ task to properly close the argument list. E.g. by supplying a NULL pointer as the last argument. Infact, I have implemented it in this way. I was wondering if there is a better way. Not really within the bounds of the C language. How do you guys implement variable arg function such as f(str1, str2, str3, ..., strN)? you could use the same format as main: int foo(int num, char **args) This is interesting. Who set the num? The compiler or the user. If it is the user, its no better than above NULL pointer method. If this is possible, my problem is solved: f(str1, str2, str3, ..., strN) is at compile time expands to _f(int num, str1, str2, str3, ..., strN). The num is set automatically by the compiler by counting the args. Is this possible? You could write a custom preporcessor that translates f calls into calls for _f. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpSHdHk0d8UA.pgp Description: PGP signature
Re: Variable arg function question
Unga wrote: Hi all I need to implement a variable argument function in C. The number of args are not known but the type is known, all are strings. Unfortunately va_arg() [stdarg(3)] does not return NULL or any other suitable value after processing the arg list, it just simply crashes once the arg list is exhausted. It seems there is no way to know the number of args inside the called function. Why is it in your opinion so hard to count the number of arguments *before* you call the function, in other words, what in your program prevents this count? Peter -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wine: notepad OK, others not
On Tuesday 29 April 2008 08:10:37 [EMAIL PROTECTED] wrote: Wine has its own simple version of Wordpad though. Just run wine wordpad. This version has its own notepad, but it doesn't appear to have wordpad. (There's no wordpad.exe that I can find, but there are two identical copies of notepad.exe -- one in .../windows and the other in .../windows/system32.) wine wordpad still works though. It's in /usr/local/lib/wine. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wine: notepad OK, others not
On Thursday 01 May 2008 08:00:23 [EMAIL PROTECTED] wrote: You have to mount the floppy and then link a: to the mount point. So if you mount it under /mnt you'd need this: mount -t msdosfs /dev/fd0 /mnt ln -s /mnt ~/.wine/dosdevices/a: That got only a little bit farther. It did find the setup program, and the option dialogs seemed to work properly, but very shortly after starting the actual install I got an error box: VISIO Setup ! Tried to create an invalid path using 'A:\' and 'clipart.vs_' and it locked up the display so that CtrlAltF1 would not switch to a text screen (although it did allow AltTab to bring up FVWM's window list). After clicking OK: Visio Setup i Setup failed. and it quit. Were there any messages printed in the terminal window? What version of Visio is this? You might also want to try on a Linux system if you have that somewhere, just to see if it works there. Also, you should really take this to the [EMAIL PROTECTED] mailing list. The people there should know more about this than here on a FreeBSD mailing list. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
MRTG registers zero throughput
Hello. I'm using net-snmp and mrtg. snmpwalk returns the counters with values but MRTG isn't registering anything. Does anybody have a clue why? mrtg.cfg LogDir: /usr/local/www/mrtg/log HtmlDir: /usr/local/www/mrtg/data ImageDir: /usr/local/www/mrtg/data/images Options[_]: growright, bits PageTop[^]: h1Traffic Analysis for mainstreetph.dnsalias.com/h1 Title[PPPoE]: Traffic Analysis for PPPoE @ mainstreetph.dnsalias.com Target[PPPoE]: \tun0:[EMAIL PROTECTED]:2 MaxBytes[PPPoE]: 25 /mrtg.cfg snmpd.conf # sec.name source community com2sec local localhost private com2sec network 192.168.5.0/24 mainstreetph # Second, map the security names into group names: # sec.model sec.name group RWGroup v1 local group RWGroup v2clocal group RWGroup usmlocal group ROGroup v1 network group ROGroup v2cnetwork group ROGroup usmnetwork # Third, create a view for us to let the groups have rights to: # incl/excl subtree mask view allincluded .1 80 # Finally, grant the 2 groups access to the 1 view with different # write permissions: #context sec.model sec.level match read write notif access ROGroup any noauthexact allnone none access RWGroup any noauthexact allallnone /snmpd.conf Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Variable arg function question
What about using a macro (...) in front of the function to csll it which passes __VARARGS__, NULL to ensure there is always a trailing NULL? I think this would at least work in GCC... Can' test on my phone though. -Patrick On May 4, 2008, at 4:42 AM, Peter Boosten [EMAIL PROTECTED] wrote: Unga wrote: Hi all I need to implement a variable argument function in C. The number of args are not known but the type is known, all are strings. Unfortunately va_arg() [stdarg(3)] does not return NULL or any other suitable value after processing the arg list, it just simply crashes once the arg list is exhausted. It seems there is no way to know the number of args inside the called function. Why is it in your opinion so hard to count the number of arguments *before* you call the function, in other words, what in your program prevents this count? Peter -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
make buildworld
Hi list, How can i fix the error below ? Thanks, Aguiar # make buildworld - - - - - - - - - - - - - - - - - - - - - cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/li bc/../../include -I/usr/src/lib/libc/i386 -D__DBINTERFACE_PRIVATE -I/usr/src/lib /libc/../../contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/lib c/resolv -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES _BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -Wsystem- headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/l ib/libc/stdlib/strtoul.c In file included from /usr/src/lib/libc/stdlib/strtoul.c:39: /usr/src/lib/libc/../../include/stdlib.h:98: internal compiler error: Segmentati on fault: 11 Please submit a full bug report, with preprocessed source if appropriate. See URL:http://gcc.gnu.org/bugs.html for instructions. *** Error code 1 Stop in /usr/src/lib/libc. *** Error code 1 Stop in /usr/src. *** Error code 1 - - - - - - - - - - - - - - - - - - - Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! http://br.mail.yahoo.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make buildworld
On Sun, May 4, 2008 at 10:03 AM, Aguiar Magalhaes [EMAIL PROTECTED] wrote: Hi list, How can i fix the error below ? Thanks, Aguiar # make buildworld - - - - - - - - - - - - - - - - - - - - - cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/li bc/../../include -I/usr/src/lib/libc/i386 -D__DBINTERFACE_PRIVATE -I/usr/src/lib /libc/../../contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/lib c/resolv -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES _BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -Wsystem- headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/l ib/libc/stdlib/strtoul.c In file included from /usr/src/lib/libc/stdlib/strtoul.c:39: /usr/src/lib/libc/../../include/stdlib.h:98: internal compiler error: Segmentati on fault: 11 Typically, a segfault from gcc indicates failing hardware, the most likely culprit being the RAM. Test the RAM with memtest86 (http://memtest86.com/download.html) to rule it out. Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Variable arg function question
On Sun, May 04, 2008 at 07:02:36AM -0700, Patrick Clochesy wrote: What about using a macro (...) in front of the function to csll it which passes __VARARGS__, NULL to ensure there is always a trailing NULL? I think this would at least work in GCC... Can' test on my phone though. That's a good idea. If one uses __VA_ARGS__ instead of __VARARGS__, it should work with any C99 compliant compiler, including gcc. The good thing about variadic macros in C99[1] is that you don't need a first argument. Roland [1: http://en.wikipedia.org/wiki/Variadic_macro] -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpJYoWnrc9Ch.pgp Description: PGP signature
Re: Variable arg function question
--- Roland Smith [EMAIL PROTECTED] wrote: On Sun, May 04, 2008 at 07:02:36AM -0700, Patrick Clochesy wrote: What about using a macro (...) in front of the function to csll it which passes __VARARGS__, NULL to ensure there is always a trailing NULL? I think this would at least work in GCC... Can' test on my phone though. That's a good idea. If one uses __VA_ARGS__ instead of __VARARGS__, it should work with any C99 compliant compiler, including gcc. The good thing about variadic macros in C99[1] is that you don't need a first argument. Roland [1: http://en.wikipedia.org/wiki/Variadic_macro] -- I gave it a try, but I cannot get it to work: (As per above wikipedia example) void realdprintf (char const *file, int line, char const *fmt, ...); #define dprintf(...) realdprintf(__FILE__, __LINE__, __VA_ARGS__) To solve my problem, I must be able to indicate the end of the arg list, may be by a empty string (), but GNU C compiler does not allow to specify anything after the ... . How do I specify end of arg list? or is that the way? Unga Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Variable arg function question
On Sun, May 04, 2008 at 08:34:30AM -0700, Unga wrote: --- Roland Smith [EMAIL PROTECTED] wrote: On Sun, May 04, 2008 at 07:02:36AM -0700, Patrick Clochesy wrote: What about using a macro (...) in front of the function to csll it which passes __VARARGS__, NULL to ensure there is always a trailing NULL? I think this would at least work in GCC... Can' test on my phone though. That's a good idea. If one uses __VA_ARGS__ instead of __VARARGS__, it should work with any C99 compliant compiler, including gcc. I gave it a try, but I cannot get it to work: (As per above wikipedia example) void realdprintf (char const *file, int line, char const *fmt, ...); #define dprintf(...) realdprintf(__FILE__, __LINE__, __VA_ARGS__) To solve my problem, I must be able to indicate the end of the arg list, may be by a empty string (), but GNU C compiler does not allow to specify anything after the ... . Try something like what Patrick suggested: #define f(...) _f(__VA_ARGS__,NULL) Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgp9mvXJN9jch.pgp Description: PGP signature
Re: Variable arg function question [SOLVED]
--- Roland Smith [EMAIL PROTECTED] wrote: On Sun, May 04, 2008 at 08:34:30AM -0700, Unga wrote: --- Roland Smith [EMAIL PROTECTED] wrote: On Sun, May 04, 2008 at 07:02:36AM -0700, Patrick Clochesy wrote: What about using a macro (...) in front of the function to csll it which passes __VARARGS__, NULL to ensure there is always a trailing NULL? I think this would at least work in GCC... Can' test on my phone though. That's a good idea. If one uses __VA_ARGS__ instead of __VARARGS__, it should work with any C99 compliant compiler, including gcc. I gave it a try, but I cannot get it to work: (As per above wikipedia example) void realdprintf (char const *file, int line, char const *fmt, ...); #define dprintf(...) realdprintf(__FILE__, __LINE__, __VA_ARGS__) To solve my problem, I must be able to indicate the end of the arg list, may be by a empty string (), but GNU C compiler does not allow to specify anything after the ... . Try something like what Patrick suggested: #define f(...) _f(__VA_ARGS__,NULL) Hey, it worked :) Thanks guys for the help. Appreciate it very much. Unga Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MRTG registers zero throughput
Nevermind. I figured it out. net-snmp wasn't returning ifHC* counters. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing PERL modules from CPAN (instead of ports)
On Sat, May 03, 2008 at 07:21:57PM -0400, Sahil Tandon wrote: In order to setup postfwd (http://postfwd.org), of which there is no FreeBSD port, several PERL modules are required; one of them, Net::DNS::Async, also does not exist as a FreeBSD port. If I install this via CPAN, postfwd works, but then this breaks portupgrade and portmanager when trying to update perl or keep track of new versions of the bsdpan-* packages. Is there another way to go about this outside of trying to create my own postfwd and Net::DNS::Async ports? Try to request help on [EMAIL PROTECTED] (cc'ed). Perl ports are usually very easy to create and maintain, so if you don't want to spend 30 minutes learning, someone with enough experience can probably do it in a couple of minutes if you ask nicely :) Yes, making a new port is the easiest way to install something from CPAN. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing PERL modules from CPAN (instead of ports)
* Andrew Pantyukhin [EMAIL PROTECTED] [2008-05-04 20:23:09 +0400]: Try to request help on [EMAIL PROTECTED] (cc'ed). Perl ports are usually very easy to create and maintain, so if you don't want to spend 30 minutes learning, someone with enough experience can probably do it in a couple of minutes if you ask nicely :) I did not mean to imply I was unwilling to create the port; was just curious about how to not break the existing setup when installing modules outside of the ports tree. Someone replied off-list suggesting I install to a ~/local dir and set $PERL5LIB to take that directory into account. Yes, making a new port is the easiest way to install something from CPAN. I do prefer to keep everything organized in ports, so I created my first port: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/123382 Let's hope I didn't totally mess it up. :-) -- Sahil Tandon [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: server (partly) fails: hardware?
However, three times during the past few days, it has stop functioning. The WAN connection dies and I can no longer ssh into the box. However, I can still ping it, and I can still ssh from one LAN client to another via the FreeBSD box. disk I/O hangs while everything else works. check with smartmontools if your disk report problems, if not - check cables. IOW, it seems to be dying, but not freezing, if that makes any sense. Alas, there is nothing in /var/messages to indicate what happens. I don't think because it can't write to disk. it is succumbing to excessive load; it has a 1.6 MHz Pentium IV, 512 MB RAM, rarely uses swap, and the load averages tend to be very light. FreeBSD runs fine on pentium 90 with 16MB RAM (with slightly cutdown kernel), without changes on 32. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: server (partly) fails: hardware?
Can you predict at what point the server will crash? Is it after performing a specific action, or at a certain time of day? i think it's quite inpredictable, with probability proportional to disk load. If you can connect a monitor to the server and actually see what happens and also if it still accepts keystrokes and stuff, that would probably help in diagnosing the problem. yes it will. i had such problem many times. it's always disk/cables/controller problem. Another tip might be to download memtest86 and run it for a while on the memory is fine, disk or disk controler or cables are not. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ervin23 wants to keep up with you on Twitter
To find out more about Twitter, visit the link below: http://twitter.com/i/d39670c3f0bdd963baf947fd0a553d660785239e Thanks, -The Twitter Team About Twitter Twitter is a unique approach to communication and networking based on the simple concept of status. What are you doing? What are your friends doing—right now? With Twitter, you may answer this question over SMS, IM, or the Web and the responses are shared between contacts. This message was sent by a Twitter user who entered your email address. If you'd prefer not to receive emails when other people invite you to Twitter, click here: http://twitter.com/i/optout/54d2818621708297ba98eb53519d1e49b5d920d2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Trouble making a bootable CD
I need to make a custom 4.X CD-ROM. I think my problem is finind a correct boot image. The only image I can find either on systems that need upgrading or via cvs /boot/cdboot is 1184 bytes. Shouldn't this be 1200 bytes? I have made a CD using the 4.X /boot/cdboot and one using a later version that is 1200 bytes. Neither works. My question: is the 1184 byte boot image okay? thanks for any thoughts DougD ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [6.3] Keeping host up to date
On Saturday 03 May 2008 17:07:08 Manolis Kiagias wrote: Gilles wrote: Hello I have some newbie questions: 1. Am I right in understanding that running make ; make install in /usr/ports/ turns the port into a package, so that when I run pkg_info, it doesn't make any difference whether a package was downloaded directly from the Net or compiled locally through the Ports collection? When you compile a port, a package is created and installed (but you get to select the options. Pre-built packages have the default options and are usually older versions). In fact, you can even use the ports to create packages and install them on other systems. (See man ports) Probably the most confusing thing for someone new to the ports system is: - that a port that gets installed is referred to as a package - that a tarball containing the compiled files to install a port is also called a package. When you compile and install a port, a tarball is NOT created. The 'make package' target will do this for you. Also, pre-built packages from FreeBSD-servers have the default options, or more to the point the options that are set by the PACKAGE_BUILDING switch in the port's Makefile if present. But since you can make your own packages, it is perfectly ok to use a build 'server' and upgrade 'client' machines using your own packages and your own options. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: server (partly) fails: hardware?
On Sun, 4 May 2008 20:14:45 +0200 (CEST), Wojciech Puchar [EMAIL PROTECTED] wrote: disk I/O hangs while everything else works. check with smartmontools if your disk report problems, if not - check cables. Thanks for the tip. This sounds promising. FreeBSD runs fine on pentium 90 with 16MB RAM (with slightly cutdown kernel), without changes on 32. Wow, maybe there is hope for the old 33 MHz 486SX Thinkpad I have in my closet. IIRC, it has a whopping 32MB. It may be slow but it is built like a tank. On Sun, 4 May 2008 20:16:18 +0200 (CEST), Wojciech Puchar [EMAIL PROTECTED] wrote: If you can connect a monitor to the server and actually see what happens also if it still accepts keystrokes and stuff, that would probably help in diagnosing the problem. yes it will. i had such problem many times. it's always disk/cables/controller problem. OK, I am connecting a serial cable and will monitor the FreeBSD box from my Linux desktop. But what should I be looking for? On a semi-related note, I have been thinking of popping a SATA card and and big SATA drive in this box and removing the 30 GB IDE drive. Is there any reason why it shouldn't be possible to boot directly from the SATA drive given that SATA is not on the motherboard? Thanks. -- Colin Brace Amsterdam http://lim.nl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
hal port fails to build
Why is hal failing to build on my machine? I checked pointyhat and it says it builds fine. I even tried pkg_deinstall -f and then went to sysutils/hal and invoked make. I recovered by portupgrade -PPN hal. Here's the tail of the build: cc -DHAVE_CONFIG_H -I. -I../.. -DPACKAGE_SYSCONF_DIR=\/usr/local/etc\ -DPACKAGE_DATA_DIR=\/usr/local/share\ -DPACKAGE_BIN_DIR=\/usr/local/bin\ -DPACKAGE_LOCALE_DIR=\/usr/local/share/locale\ -DPACKAGE_LOCALSTATEDIR=\/var\ -I../.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/PolicyKit -I/usr/local/include -O2 -fno-strict-aliasing -pipe -march=pentium4 -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT hf-usb.lo -MD -MP -MF .deps/hf-usb.Tpo -c hf-usb.c -fPIC -DPIC -o .libs/hf-usb.o hf-usb.c:663: warning: 'struct usb_event' declared inside parameter list hf-usb.c:663: warning: its scope is only this definition or declaration, which is probably not what you want hf-usb.c: In function 'hf_usb_process_event': hf-usb.c:667: error: dereferencing pointer to incomplete type hf-usb.c:669: error: 'USB_EVENT_CTRLR_ATTACH' undeclared (first use in this function) hf-usb.c:669: error: (Each undeclared identifier is reported only once hf-usb.c:669: error: for each function it appears in.) hf-usb.c:670: error: dereferencing pointer to incomplete type hf-usb.c:675: error: 'USB_EVENT_CTRLR_DETACH' undeclared (first use in this function) hf-usb.c:676: error: dereferencing pointer to incomplete type hf-usb.c:681: error: 'USB_EVENT_DEVICE_ATTACH' undeclared (first use in this function) hf-usb.c:685: error: dereferencing pointer to incomplete type hf-usb.c:685: error: dereferencing pointer to incomplete type hf-usb.c:688: error: dereferencing pointer to incomplete type hf-usb.c:693: error: dereferencing pointer to incomplete type hf-usb.c:695: error: dereferencing pointer to incomplete type hf-usb.c:700: error: 'USB_EVENT_DEVICE_DETACH' undeclared (first use in this function) hf-usb.c:704: error: dereferencing pointer to incomplete type hf-usb.c:704: error: dereferencing pointer to incomplete type hf-usb.c:708: error: dereferencing pointer to incomplete type hf-usb.c:709: error: dereferencing pointer to incomplete type hf-usb.c:724: error: 'USB_EVENT_DRIVER_ATTACH' undeclared (first use in this function) hf-usb.c:728: error: 'USB_EVENT_DRIVER_DETACH' undeclared (first use in this function) hf-usb.c:733: error: dereferencing pointer to incomplete type hf-usb.c: In function 'hf_usb_event_cb': hf-usb.c:741: error: storage size of 'event' isn't known hf-usb.c:741: warning: unused variable 'event' gmake[5]: *** [hf-usb.lo] Error 1 gmake[5]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.11rc2/hald/freebsd' gmake[4]: *** [all-recursive] Error 1 gmake[4]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.11rc2/hald/freebsd' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.11rc2/hald' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.11rc2/hald' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.11rc2' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/sysutils/hal. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
k3b problem with DVD
Hello, For long I use k3b with great satisfaction. On a recent new system however it has serious problem with handling DVD-s. While it works with CD-s, as soon as DVD disc is placed into the drive it starts to emit error messages[1]. From this on (and even after stopping/killing it ) the system displays an extreme high interrupt activity (~50%) while CPU usage remains low. Ejecting the disc has no effect on k3b it no longer works even with CD-s. If the DVD is put before k3b start, k3b does not start for a long time (~ 15 minutes), then reports no proble with system configuration, show dvd device info on console, but can't handle the DVD disc. Mounting of DVDs by hal/thunar-volman/dbus/policykit works. I can play the dvd with mplayer, too. My system is: FreeBSD 7.0-RELEASE #5 k3b-1.0.4_1 The PIO device's firmware was upgraded to he latest with no effect. Excerpt from dmesg: acd0: DVDR PIONEER DVD-RW DVR-215D/1.18 at ata4-master SATA150 pcm0: HDA Codec: Realtek ALC883 pcm0: HDA Driver Revision: 20071129_0050 acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x48 0x00 0x01 SMP: AP CPU #1 Launched! cd0 at ata3 bus 0 target 0 lun 0 cd0: PIONEER DVD-RW DVR-215D 1.18 Removable CD-ROM SCSI-0 device cd0: 3.300MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present Any suggestion to solve this is highly appreciated! Thanks! Zsolt P.s: Please CC to me, as I am not on the list. Thanks! [1] ... k3b: (K3bExternalBinManager) Cdrecord 2.1 features: gracetime, overburn, cdtext, clone, tao, cuefile, xamix, plain-atapi, hacked-atapi, audio-stdin, burnfree k3b: (K3bExternalBinManager) 2 1 -1 seems to be cdrecord version = 1.11a02, using burnfree instead of burnproof k3b: (K3bExternalBinManager) seems to be cdrecord version = 1.11a31, support for Just Link via burnfree driveroption (BSDDeviceScan) number of matches 18 (BSDDeviceScan) periph: pass0 (BSDDeviceScan) periph: cd0 (BSDDeviceScan) add device /dev/cd0:4:0:0 (/dev/pass0) (K3bDevice::Device) /dev/cd0: init() (K3bDevice::openDevice) open device /dev/pass0 succeeded. (K3bDevice::openDevice) open device /dev/pass0 succeeded. (K3bDevice::ScsiCommand) transport command 12, length: 6 (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::Device) /dev/cd0 feature: CD Mastering (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::Device) /dev/cd0 feature: CD Track At Once (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::Device) /dev/cd0 feature: CD-RW Media Write Support (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::Device) /dev/cd0 feature: DVD Read (MMC5) (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::Device) /dev/cd0 feature: DVD+R (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::Device) /dev/cd0 feature: DVD+RW (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::Device) /dev/cd0 feature: DVD+R Double Layer (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::Device) /dev/cd0 feature: DVD-R/-RW Write (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::Device) /dev/cd0 feature: Rigid Restricted Overwrite (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::Device) /dev/cd0 feature: Layer Jump Recording (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::openDevice) open device /dev/pass0 succeeded. (K3bDevice::openDevice) open device /dev/pass0 succeeded. (K3bDevice::ScsiCommand) transport command 5a, length: 10 (K3bDevice::ScsiCommand) transport command 5a, length: 10 (K3bDevice::Device) /dev/cd0: dataLen: 60 (K3bDevice::Device) /dev/cd0: checking for TAO (K3bDevice::ScsiCommand) transport command 55, length: 10 (K3bDevice::Device) /dev/cd0: checking for SAO (K3bDevice::ScsiCommand) transport command 55, length: 10 (K3bDevice::Device) /dev/cd0: checking for SAO_R96P (K3bDevice::ScsiCommand) transport command 55, length: 10 (K3bDevice::Device) /dev/cd0: checking for SAO_R96R (K3bDevice::ScsiCommand) transport command 55, length: 10 (K3bDevice::Device) /dev/cd0: checking for RAW_R16 (K3bDevice::ScsiCommand) transport command 55, length: 10 (K3bDevice::Device) /dev/cd0: checking for RAW_R96P (K3bDevice::ScsiCommand) transport command 55, length: 10 (K3bDevice::Device) /dev/cd0: checking for RAW_R96R (K3bDevice::ScsiCommand) transport command 55, length: 10 (K3bDevice::ScsiCommand) transport command 5a, length: 10 (K3bDevice::ScsiCommand) transport command 5a, length: 10 (K3bDevice::ScsiCommand) transport command 0, length: 6 (K3bDevice::ScsiCommand) transport command 46,
Trying to start/stop nginx via rc.d/nginx
I'm pretty new to FreeBSD and nginx. The problem I am having is that when I try to start or stop nginx from /usr/local/rc.d/nginx nothing happens. Here's the output from uname -a : FreeBSD wilco. 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 I've installed nginx via ports and it created the file /usr/local/etc/ rc.d/nginx. If I enter /usr/local/etc/rc.d/nginx at the command line I get: Usage: etc/rc.d/nginx [fast|force|one](start|stop|restart|rcvar| configtest|reload|status|poll) But if I type sudo /usr/local/etc/rc.d/nginx start nothing happens. I don't get an error and there is nothing in /var/log/nginx-error.log. I can start nginx by entering sudo /usr/local/sbin/nginx and I verify this with ps -ax | grep nginx: 1147 ?? Ss 0:00.00 nginx: master process /usr/local/sbin/nginx 1148 ?? S 0:00.00 nginx: worker process (nginx) Here are the file permissions for /usr/local/etc/rc.d/nginx (which is identical to /usr/local/sbin/nginx): -r-xr-xr-x 1 root wheel 932 May 3 11:47 etc/rc.d/nginx Please let me know if I need to provide any more information and thank in advance for your help. Best. Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trying to start/stop nginx via rc.d/nginx
On Sun, May 4, 2008 at 3:15 PM, Michael Breen [EMAIL PROTECTED] wrote: I'm pretty new to FreeBSD and nginx. The problem I am having is that when I try to start or stop nginx from /usr/local/rc.d/nginx nothing happens. You need to add nginx_enable=YES to /etc/rc.conf. - Max ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trying to start/stop nginx via rc.d/nginx
I knew it had to be something simple! Thank you Max. On May 4, 2008, at 3:48 PM, Maxim Khitrov wrote: On Sun, May 4, 2008 at 3:15 PM, Michael Breen [EMAIL PROTECTED] wrote: I'm pretty new to FreeBSD and nginx. The problem I am having is that when I try to start or stop nginx from /usr/local/rc.d/nginx nothing happens. You need to add nginx_enable=YES to /etc/rc.conf. - Max ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Compiling in Debugging Flags
L, 03 mai 2008 kirjutas Chris Maness [EMAIL PROTECTED]: Sorry about all of the e-mails. I remembered that I was having issues with apache and the php5 module. I have deinstalled php5 and apache runs fine. However, even with the latest ports tree with apache13 and php5 module rebuilt, apache crashes. This might not be caused by mod_php5 as such, but by some PHP extension(s). I have seen cases where even the order in which extensions are loaded in /usr/local/etc/php/extensions.ini is significant. Have them in one order and you get coredumps. Move one extension from top to bottom - no more coredumps. This is one of the great mysteries of the nature. Happy experimenting :) -- Toomas Aas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Compiling in Debugging Flags
Toomas Aas wrote: L, 03 mai 2008 kirjutas Chris Maness [EMAIL PROTECTED]: Sorry about all of the e-mails. I remembered that I was having issues with apache and the php5 module. I have deinstalled php5 and apache runs fine. However, even with the latest ports tree with apache13 and php5 module rebuilt, apache crashes. This might not be caused by mod_php5 as such, but by some PHP extension(s). I have seen cases where even the order in which extensions are loaded in /usr/local/etc/php/extensions.ini is significant. Have them in one order and you get coredumps. Move one extension from top to bottom - no more coredumps. This is one of the great mysteries of the nature. Happy experimenting :) I tried that one too a while back. I rotated all of them from the bottom to the top, and it did not cure the problem. Tanks, Chris Maness ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Compiling in Debugging Flags
Patrick Clochesy wrote: Standard diagnostic rules apply. What does a coredump say? GDB? Did you remove all modules and readd 1-by-1 to isolate the problem if the modules are your suspicion? What is the frequency of the crashes? -Patrick I have posted all of the output. The whole thread can be found at: http://groups.google.com/group/ml-freebsd-questions/browse_thread/thread/e39765ecef6c602d?hl=en It crashes when I include php5 module. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Compiling in Debugging Flags
Standard diagnostic rules apply. What does a coredump say? GDB? Did you remove all modules and readd 1-by-1 to isolate the problem if the modules are your suspicion? What is the frequency of the crashes? -Patrick On May 4, 2008, at 5:01 PM, Chris Maness [EMAIL PROTECTED] wrote: Toomas Aas wrote: L, 03 mai 2008 kirjutas Chris Maness [EMAIL PROTECTED]: Sorry about all of the e-mails. I remembered that I was having issues with apache and the php5 module. I have deinstalled php5 and apache runs fine. However, even with the latest ports tree with apache13 and php5 module rebuilt, apache crashes. This might not be caused by mod_php5 as such, but by some PHP extension(s). I have seen cases where even the order in which extensions are loaded in /usr/local/etc/php/extensions.ini is significant. Have them in one order and you get coredumps. Move one extension from top to bottom - no more coredumps. This is one of the great mysteries of the nature. Happy experimenting :) I tried that one too a while back. I rotated all of them from the bottom to the top, and it did not cure the problem. Tanks, Chris Maness ___ 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: Compiling in Debugging Flags
Chris Maness wrote: Patrick Clochesy wrote: Standard diagnostic rules apply. What does a coredump say? GDB? Did you remove all modules and readd 1-by-1 to isolate the problem if the modules are your suspicion? What is the frequency of the crashes? -Patrick I have posted all of the output. The whole thread can be found at: http://groups.google.com/group/ml-freebsd-questions/browse_thread/thread/e39765ecef6c602d?hl=en It crashes when I include php5 module. It seems to work fine in a clean install of RELEASE-7.0, so the issue seems to be in the upgrading process. I will install a clean version of RLEASE-6.3 get it running and upgrade it, so I provide an e-mail detailing how to reproduce the problem. I have too much work in my 6.3 server to re configure it from scratch, so I am really counting on finding the root of this problem so that I can upgrade my production server. Thanks for all of the help. Chris Maness ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Compiling in Debugging Flags
Chris Maness wrote: Chris Maness wrote: Patrick Clochesy wrote: Standard diagnostic rules apply. What does a coredump say? GDB? Did you remove all modules and readd 1-by-1 to isolate the problem if the modules are your suspicion? What is the frequency of the crashes? -Patrick I have posted all of the output. The whole thread can be found at: http://groups.google.com/group/ml-freebsd-questions/browse_thread/thread/e39765ecef6c602d?hl=en It crashes when I include php5 module. It seems to work fine in a clean install of RELEASE-7.0, so the issue seems to be in the upgrading process. I will install a clean version of RLEASE-6.3 get it running and upgrade it, so I provide an e-mail detailing how to reproduce the problem. I have too much work in my 6.3 server to re configure it from scratch, so I am really counting on finding the root of this problem so that I can upgrade my production server. Thanks for all of the help. Chris Maness Sorry, guys. I spoke too soon. It is crashing on the fresh install as well. I just rebooted, and the same situation occurs, httpd core dumps instantly. (with php5 module installed) The only other thing I did begin installing squirrel mail. I have a virtual installation that I will try it on too. This is the third instance of apache13 port crashing with the php5 built with the module. I did nothing to httpd.conf except add a virtual host. I checked this with apachectl checkconfig and it was fine. After it started crashing, I removed the vhost and it was still crashing. Thanks, Chris Maness ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wine: notepad OK, others not
... very shortly after starting the actual install I got an error box: VISIO Setup ! Tried to create an invalid path using 'A:\' and 'clipart.vs_' and it locked up the display so that CtrlAltF1 would not switch to a text screen (although it did allow AltTab to bring up FVWM's window list). After clicking OK: Visio Setup i Setup failed. and it quit. Were there any messages printed in the terminal window? No. What version of Visio is this? 3.0. Long before M$ took it over, so it should be just a generic Win32 app with no secret M$ tricks. You might also want to try on a Linux system if you have that somewhere, just to see if it works there. If I had a Linux system set up, I'd have tried this there in the first place. Also, you should really take this to the [EMAIL PROTECTED] mailing list. The people there should know more about this than here on a FreeBSD mailing list. I suppose I can try it, but I wonder how much interest there will be on a wine list in supporting FreeBSD. At a minimum I suppose they'll want to know if it still breaks on the latest wine version, and I'll have no way to find out since the FreeBSD port doesn't support the latest wine version. In any case, it seems FreeBSD should not be allowing a port -- any port -- to lock out CtrlAltF1. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wine: notepad OK, others not
Wine has its own simple version of Wordpad though. Just run wine wordpad. This version has its own notepad, but it doesn't appear to have wordpad. (There's no wordpad.exe that I can find, but there are two identical copies of notepad.exe -- one in .../windows and the other in .../windows/system32.) wine wordpad still works though. It's in /usr/local/lib/wine. Along with yet another notepad, this one twice the size of the ones in .../windows and .../windows/system32! The obvious followup is which one actually gets used if someone runs wine notepad, but I doubt it's worth looking into. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing PERL modules from CPAN (instead of ports)
On May 4, 2008, at 11:59 AM, Sahil Tandon wrote: Yes, making a new port is the easiest way to install something from CPAN. I do prefer to keep everything organized in ports, so I created my first port: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/123382 Let's hope I didn't totally mess it up. :-) I found myself in an identical position and did the same thing (created a port for the first time) for Lchown. I suspect that now that I've overcome the initial barrier, I will be submitting more ports. And I might even remember to attach the .shar file to my PR next time. Cheers, -j ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [CRON] Recommended FTP client to download and upload files?
On Sat, 03 May 2008 11:34:30 -0700, prad [EMAIL PROTECTED] wrote: i like lftp the best. you can script it and everything has always worked smoothly for me using it. Thanks guys, lftp did the job. I'll put those two lines in a script and add it to CRON: lftp -u joe,mypass -e mirror -vn ./files ./mirror bye ftp.source.com lftp -u joe,mypass -e mirror -vnR ./mirror ./files bye ftp.target.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDE3 Error
have tried the make fetch and no Error it was succesful. But after the make fetch i go to the directory cd /usr/ports/x11/kde3/make install the installation still not successful, here it is the error: Stop in /usr/ports/audio/nas. Error code 1 Stop in /usr/ports/x11-toolkits/qt33 Error code 1 Stop in /usr/ports/x11-toolkits/qt33 Error code 1 Stop in /usr/ports/x11/kde3 It's still the same..Am I right here?? Any more idea?? Thanks... On Sat, May 3, 2008 at 1:12 AM, Valeriu Mutu [EMAIL PROTECTED] wrote: On Fri, May 02, 2008 at 05:09:42PM +0800, Ruel Luchavez wrote: Hi, Why is it when i install KDE3 in my server I always got an error, this is the command when i install it -cd /usr/ports/x11/kde3 -make install *and this is the reply of the server:* -Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/KDE/ . -fetch:// ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/qt-x11-free-3.3.6.tar.bz2:Fileunavailablehttp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/KDE/qt-x11-free-3.3.6.tar.bz2:Fileunavailable (e.g., file not found, no access) -Couldn't fetch ot-please try to retreive this -port manually into /usr/ports/distfiles/KDE and try again. ***Error code 1 Stop in usr/ports/x11-toolkits/qt33/ *** Error code 1 Stop in /usr/ports/x11-toolkits/qt33 Stop in usr/ports/x11-toolkits/qt33/ *** Error code 1 Did i miss something??? Please HELP here... Thanks in advance...:( On Sat, May 3, 2008 at 1:12 AM, Valeriu Mutu [EMAIL PROTECTED] wrote: On Fri, May 02, 2008 at 05:09:42PM +0800, Ruel Luchavez wrote: Hi, Why is it when i install KDE3 in my server I always got an error, this is the command when i install it -cd /usr/ports/x11/kde3 -make install *and this is the reply of the server:* -Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/. -fetch:// ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/qt-x11-free-3.3.6.tar.bz2:Fileunavailable (e.g., file not found, no access) -Couldn't fetch ot-please try to retreive this -port manually into /usr/ports/distfiles/KDE and try again. ***Error code 1 Stop in usr/ports/x11-toolkits/qt33/ *** Error code 1 Stop in /usr/ports/x11-toolkits/qt33 Stop in usr/ports/x11-toolkits/qt33/ *** Error code 1 Did i miss something??? Please HELP here... Thanks in advance...:( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hi Ruel, Can you please verify that: 1. Internet is accessible. Try: ftp ftp.iasi.roedu.net 2. Your ports tree is up to date. After this is done, remove the directory /usr/ports/distfiles/KDE/ . Then do: cd /usr/ports/x11-toolkits/qt33/ make fetch If this still results in an error, try this instead of make fetch: make MASTER_SITE_OVERRIDE= ftp://ftp.iasi.roedu.net/mirrors/ftp.trolltech.com/qt/source/ fetch or make MASTER_SITE_OVERRIDE=ftp://ftp.fu-berlin.de/unix/X11/gui/Qt/source/fetch These are mirrors taken from /usr/ports/Mk/bsd.siteis.mk . Search for MASTER_SITE_QT in that file. -- Valeriu Mutu ___ 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: Compiling in Debugging Flags
Toomas Aas wrote: L, 03 mai 2008 kirjutas Chris Maness [EMAIL PROTECTED]: Sorry about all of the e-mails. I remembered that I was having issues with apache and the php5 module. I have deinstalled php5 and apache runs fine. However, even with the latest ports tree with apache13 and php5 module rebuilt, apache crashes. This might not be caused by mod_php5 as such, but by some PHP extension(s). I have seen cases where even the order in which extensions are loaded in /usr/local/etc/php/extensions.ini is significant. Have them in one order and you get coredumps. Move one extension from top to bottom - no more coredumps. This is one of the great mysteries of the nature. Happy experimenting :) It is a problem with php extension extension=mhash.so. If I remove it from extensions.ini it works. However, there does not seem to be order of arrangement that restores sanity. I believe I need mhash for squirrelmail. Any further suggestions would be appreciated. Thanks, Chris Maness ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mystery Hardware Error
David M. Patronis wrote: When I burn a data cd using the burncd utility, I get this error at the end of the session: acd0: FAILURE-READ_BIG HARDWARE ERROR asc=0x3e ascq=0x2 When I burn a second disc, there is no error message, and I've yet to have a bad burn. In fact I'm getting quality superior to that I was able to produce using Windows or Linux. What does the error mean, should I be concerned, and if so, what steps should I take to resolve the problem? David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Aloha list, I am getting the same error on FreeBSD 7 RELEASE and 8. Current as David is. CD's work fine. Anybody know what this is? -- ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + email: [EMAIL PROTECTED] All that's really worth doing is what we do for others.- Lewis Carrol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Need help with apache22
I have installed apache22 on my computer which is operating with PCBSD. When a start is executed I get the following response and apache doesn't start, Can't find libthr.so.3, needed by libthr.so.2. Can someone help? Bob Falanga ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mystery Hardware Error
On Monday 05 May 2008 03:11:52 Al Plant wrote: Aloha list, I am getting the same error on FreeBSD 7 RELEASE and 8. Current as David is. CD's work fine. Anybody know what this is? I have been getting the errors too, whenever I reboot the machine, I find them in the logs. I don't burn CD's on the machine so I don't know if I could. I normally do that on another machine that runs Linux. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
rsync as root for mail servers?
I plan on cutting over a server to new hardware, and I was wondering if I can add cert based login for root (how do I do this)? This is so that I can use rsync as root to sync the mail spool and home directories. Will this work? I am using sendmail and wu-imapd. Thanks, Chris Maness ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
living with freebsd
i'd like to know how people live with freebsd. do you use only ports or only packages or a mixture? do you upgrade from version to version using freebsd tools or do it manually? do you have a different approach regarding the above depending on whether it is for a server or a desktop? the handbook tells you what you can do, but i'd like to know what is actually done and why. -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: living with freebsd
Hello! i'd like to know how people live with freebsd. do you use only ports or only packages or a mixture? Some uses just ports...while others use packages only if they exist in the first place or they cross compiled. Hell, a lot of people use both ports and packages. The reasons vary and it is not restrictive to pick either one. do you upgrade from version to version using freebsd tools or do it manually? Manually is the traditional way. The freebsd tools (if you meant the binary upgrade method) is just a new way. Few are switching over as the time progresses. There are some in the production environment that prefer using binary upgrades as it will provide lower downtimes. do you have a different approach regarding the above depending on whether it is for a server or a desktop? Yes, avoid GUI stuff when using server or vice verse. That's just one example out of millions of examples. the handbook tells you what you can do, but i'd like to know what is actually done and why. The way it should work: You find out what you want your FreeBSD computer to do, you look into the available documentations on how to do it. Not the other way around. Chris -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [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: living with freebsd
prad wrote: i'd like to know how people live with freebsd. do you use only ports or only packages or a mixture? do you upgrade from version to version using freebsd tools or do it manually? do you have a different approach regarding the above depending on whether it is for a server or a desktop? the handbook tells you what you can do, but i'd like to know what is actually done and why. You will probably get too many different views - it is a flexible system after all. For example, I rarely mix ports and packages. On my small home server (which also doubles as a workstation for light use) everything is compiled from ports. This includes openoffice.org which took more than a day to download and compile. I doubt I'll ever upgrade it the same way... On this machine I am using the XFCE desktop, which I start manually from the command line when used as a desktop. But on a real dedicated desktop, I would use Gnome (or KDE). As for versions, I always run -RELEASE. I would go to STABLE if I desperately needed a feature not present in RELEASE, but this hasn't happened yet. I am using freebsd-update to get security updates / patches and then recompile my kernel when needed. I also used freebsd-update to get to 7.0-RELEASE from 7.0-RC1. Quite painless. For desktop machines, especially when I need to get them up and running quickly, I use packages. You can either use the stable packages from the site (by setting the PACKAGESITE env variable) or use another machine to compile your own (have a look at http://tinderbox.marcuscom.com/ ). I almost never use the CD packages (except maybe for demonstration purposes) since they get outdated really quickly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: living with freebsd
do you use only ports or only packages or a mixture? ports do you upgrade from version to version using freebsd tools or do it manually? mixed, and don't upgrade frequently. it's not windows, if it works - don't touch. do you have a different approach regarding the above depending on whether it is for a server or a desktop? no. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]