Re: Newsyslog mode on /var/log/security?
Garance A Drosehn skrev: At 10:48 PM +0200 3/29/09, Roger Olofsson wrote: Dear mailing list, I seem to have forgotten something about /var/log/security and newsyslog.conf. I get wrong mode after the trim. Excerpt from /etc/newsyslog.conf: /var/log/security 644 7 5000 * JC Are you sure that's the only line you have for /var/log/security in your /etc/newsyslog.conf file? The distributed config file has: /var/log/security600 10 100* JC Obviously you have a different entry from that, but did you remove the original entry? Output from newsyslog -vn: chmod 600 /var/log/security.0.bz2 Why is the mode not 644? /etc/rc.d/syslogd restart and newsyslog restart have been performed. I tried changing the permissions-field in my newsyslog.conf from 600 to 644, and newsyslog worked correctly for me. Hi Garance, You are correct! I missed the original line. Silly me :^D Thank you very much! /R ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Newsyslog mode on /var/log/security?
At 8:08 AM +0200 3/30/09, Roger Olofsson wrote: Garance A Drosehn skrev: At 10:48 PM +0200 3/29/09, Roger Olofsson wrote: I seem to have forgotten something about /var/log/security and newsyslog.conf. I get wrong mode after the trim. Excerpt from /etc/newsyslog.conf: /var/log/security 644 7 5000 * JC Are you sure that's the only line you have for /var/log/security in your /etc/newsyslog.conf file? The distributed config file has: /var/log/security600 10 100* JC Obviously you have a different entry from that, but did you remove the original entry? Hi Garance, You are correct! I missed the original line. Silly me :^D Well, I should probably change newsyslog to do something different (he says vaguely) when the same file is specified multiple times. Thank you very much! You're welcome. -- Garance Alistair Drosehn = dros...@rpi.edu Senior Systems Programmer or g...@freebsd.org Rensselaer Polytechnic Institute; Troy, NY; USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
installing freebsd 7.1 ( error mounting /dev/acd0 input/output error)
Hello,I was installing freebsd 7.0/7.1to my Ampro RB700,celeron processor,usb hdd 80gb using my CD drive.during the time of installation i get error error mounting /dev/acd0 input/output errorcould any one tell me how to solve this and how can i install the OS..regardsAjeesh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Stock OpenSSL is multithread or not?
Hi, I am trying to use Pound (/usr/ports/www/pound). From the documentation I read; Warning: as Pound is a multi-threaded program it requires a version of OpenSSL with thread support. This is normally the case on Linux and Solaris (for example) but not on *BSD. Is that still true on FreeBSD 6.4 RELENG amd64? And should I install I think I have my answer as pound would not work with the default OpenSSL, but would work with the port OpenSSL, the stock on comes with no threads, while the port build by default with threads... Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: init panic in freebsd 7.1
Hi, Thank you, now the problem is solved. But while I was testing an exact same mborad I got from ebay, I noticed that the replacing board name my SATA differently from the old board, its designated as ad10 and ad12 instead of ad4 and ad6. What is the mechanism that underlie this?? thank you!! TFC On Sun, Mar 29, 2009 at 2:49 PM, Polytropon free...@edvax.de wrote: On Sun, 29 Mar 2009 14:23:13 -0400, Tsu-Fan Cheng tfch...@gmail.com wrote: init: not found in path /sbin/ (a lot of paths) panic: no init what is that?? The init process is the root of the FreeBSD startup, and the last part of the OS loader cannot find it, so the OS cannot start. http://www.freebsd.org/cgi/man.cgi?query=initapropos=0sektion=8manpath=FreeBSD+7.1-RELEASEformat=ascii You can use a live system CD of FreeBSD (6, 7) or FreeSBIE to boot the system with this CD, it should work. Then you can mount your / partition and check the existance of init which usually is /sbin/init. Don't forget to fsck the hard disk, maybe due to the failing power supply you had some damages on the hard disk (file-wise), or even worse... -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: freebsd-questions Digest, Vol 253, Issue 1
artık bu e mail den bıktım almak istemiyorum allah allah silin y Zekayi TOPCU Sağlık Müdürlüğü V.H.K.İ Bilgi İşlem Şub.Md. Cep :0 545 2676379 From: freebsd-questions-requ...@freebsd.org Subject: freebsd-questions Digest, Vol 253, Issue 1 To: freebsd-questions@freebsd.org Date: Mon, 30 Mar 2009 12:00:21 + Send freebsd-questions mailing list submissions to freebsd-questions@freebsd.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.freebsd.org/mailman/listinfo/freebsd-questions or, via email, send a message with subject or body 'help' to freebsd-questions-requ...@freebsd.org You can reach the person managing the list at freebsd-questions-ow...@freebsd.org When replying, please edit your Subject line so it is more specific than Re: Contents of freebsd-questions digest... Today's Topics: 1. Re: [OT] - Best Practices(TM) for Configuration File Changes (Giorgos Keramidas) 2. Re: [OT] - Best Practices(TM) for Configuration File Changes (Glen Barber) 3. Re: [OT] - Best Practices(TM) for Configuration File Changes (Roland Smith) 4. Re: [OT] - Best Practices(TM) for Configuration File Changes (Glen Barber) 5. Re: Can't upgrade to 7.1-RELEASE (Jerry McAllister) 6. Re: [OT] - Best Practices(TM) for Configuration File Changes (Roger Olofsson) 7. Re: Software installasion (Was: Re: Wine without X) (Barnaby Scott) 8. Re: Can't upgrade to 7.1-RELEASE (Reinis Ivanovs) 9. Re: Software installasion (Was: Re: Wine without X) (Paul Schmehl) 10. Re: analyzing httpd-error.log (Charles Howse) 11. init panic in freebsd 7.1 (Tsu-Fan Cheng) 12. Re: Software installasion (Was: Re: Wine without X) (User Wblock) 13. Re: init panic in freebsd 7.1 (Polytropon) 14. Re: analyzing httpd-error.log (Glen Barber) 15. Webcam support in FreeBSD? (Yuri) 16. Re: Binary upgrade 7.1 i386 - amd64 ? (Frederique Rijsdijk) 17. Re: analyzing httpd-error.log (Charles Howse) 18. Newsyslog mode on /var/log/security? (Roger Olofsson) 19. 6.x - 7.1 (Grant Peel) 20. Re: 6.x - 7.1 (fquest) 21. Where is the Perl XML::Parser port (af300...@gmail.com) 22. RE: Webcam support in FreeBSD? (Ramiro Caso) 23. Re: Where is the Perl XML::Parser port (Paul B. Mahol) 24. Re: Where is the Perl XML::Parser port (Anton Yuzhaninov) 25. Re: Newsyslog mode on /var/log/security? (Garance A Drosehn) 26. Cleaning up multiplicates in elf ldconfig path (Parv) 27. configuring the freebsd boot manager (Brett Wigins) 28. RE: configuring the freebsd boot manager (Ramiro Caso) 29. WireLess USB modem not detected . (dhaneshk k) 30. Re: Newsyslog mode on /var/log/security? (Roger Olofsson) 31. Re: Newsyslog mode on /var/log/security? (Garance A Drosehn) 32. installing freebsd 7.1 ( error mounting /dev/acd0 input/output error) (ajeesh joseph) 33. Re: Stock OpenSSL is multithread or not? (Olivier Nicole) 34. Re: Cleaning up multiplicates in elf ldconfig path (Parv) 35. Re: configuring the freebsd boot manager (caleb) -- Message: 1 Date: Sun, 29 Mar 2009 15:11:54 +0300 From: Giorgos Keramidas keram...@ceid.upatras.gr Subject: Re: [OT] - Best Practices(TM) for Configuration File Changes To: Glen Barber glen.j.bar...@gmail.com Cc: freebsd-questions@freebsd.org Message-ID: 87bprkbkad@kobe.laptop Content-Type: text/plain; charset=us-ascii On Sun, 29 Mar 2009 07:37:27 -0400, Glen Barber glen.j.bar...@gmail.com wrote: Hello, list. Before I pose my question, I am not intending to start a flame-war of any sort -- I'm just searching for different ways of doing things. With so many different version control systems available (aside from the traditional keep current backups solution), I am curious: Q: What is *your* favorite/suggestion solution to keep (working) versions of configuration files, in case something goes awry? I am specifically targeting configuration files because they are what I change the most, in avoidance of It worked 10 minutes ago... situations. The base system of FreeBSD includes RCS[1]. I regularly use it to track changes to individual files. The advantage of RCS is that it is easy to use from a system that is barely `up', i.e. a system that has just been brought up to single user mode. No special daemons or other sort of service is required, no ports to be installed, and so on. I can usually just run something like: [1] http://www.gnu.org/software/rcs/ # cd /boot # rlog loader.conf RCS file: RCS/loader.conf,v Working file: loader.conf head: 1.5 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 5; selected revisions: 5 description: revision 1.5 date: 2009/03/27 17:58:59; author: root; state: Exp; lines: +2 -1 Autoload acpi_ibm.ko for the extra Thinkpad X61s tunables. [more output snipped] # Whenever I want
Re: init panic in freebsd 7.1
On Mon, 30 Mar 2009 08:20:46 -0400, Tsu-Fan Cheng tfch...@gmail.com wrote: But while I was testing an exact same mborad I got from ebay, I noticed that the replacing board name my SATA differently from the old board, its designated as ad10 and ad12 instead of ad4 and ad6. What is the mechanism that underlie this?? thank you!! The numbering sceme depends on the controller and the amount of possible disks it allows to be attached, to be describable as free controller slots, no matter if a disk is attached or not. Maybe your first mboard had ad0 - ad4 ATA, ad6 - ad8 SATA, and the new board has (a) more ATA connectors or (b) uses a different numbering for the internal and external SATA ports. If the hardware seems to look exactly the same, there can even be a difference in the BIOS configuration that causes different numbering. Note that this change of the device name usually requires changes in /etc/fstab, e. g. ad4 - ad10 to make the system start on this hardware. -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: configuring the freebsd boot manager
Ramiro Caso wrote: Hi everyone, I am having some problems understanding how the freebsd boot manager works. I have installed FreeBSD and Linux on the same laptop HD and want to be able to select which one to boot when the computer starts. I installed the bootmanager to to the MBR during installation and when I boot the laptop I am presented with four choices; F1 - FreeBSD F2 - Linux F3 - ??? F4 - Linux but I am only able to select F1, F2-F3 only make the laptop beep and doesnt load anything. The way I have set up the HD is for Partition 1 to be a FreeBSD Slice, Partition 2 the Linux / Partition 3 is Linux swap and Partition 4 is Linux /home. Any help would be great This is a silly question, actually: do you have LILO installed on your Linux boot partition? I have BootEasy on the MBR, and LILO on Linux boot, and it works just fine. Also: http://www.freebsd.org/doc/en/books/faq/disks.html#BOOTEASY-LOADER Hi Ramiro, Thanks for the reply. I tried a new approach because I dont think Ubuntu uses LILO. So instead I installed GRUB to the MBR and added an entry for freebsd in /boot/grub/menu.lst title FreeBSD 7.1, RELEASE root (hd0,3,a) kernel /boot/loader quiet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cleaning up multiplicates in elf ldconfig path
in message 20090329143915.ga1...@holstein.holy.cow, wrote Parv thusly... ... I failed to find a solution to the (cosmetic) problem of ldconfig path having duplicate directories ... I suppose I could stick in /etc/rc.conf this ... ldconfig_paths=/usr/lib/compat /usr/local/lib /usr/local/lib/compat/package ... The last path above should have been /usr/local/lib/compat/pkg. - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 6.x - 7.1
There shouldn't be any problems with the upgrade. I recommend you read over the following section in the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading.html Also, since this is your first time doing this, I'd recommend you get an extra machine and install your current environment on it. Then try upgrading it as per the handbook. Once you're satisfied you've done it right, then repeat the process on your production boxes. -- Jacques Manukyan Grant Peel wrote: Hi all, We have (finally) made the decision to move our server (10 -Dell) from Toronto to a newer data center closer to our office in London. Before I ask this question, I would like to ensure everyone I will be reading all the docs I can find, but since the upgrade will be much work, I thought I would ask the question here anyways :-) Question: given the items below, should I expext the make and build of FreeBSD and the software below, to go pretty much as it did in 6.x? (Does anyone know of any showstoppers)? All software below has/will be built from ports. Synopsis: 10 Dell 1U Rack servers (Intel Based, SCSI) more or less standard entry level servers) All running -FreeBSD 6.x, -Apache 2.2.x -Mysql Server 4.x -PHP 4.x -Perl 5.x -Exim 4.6x -Spamassassin etc etc TIA, -Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 6.x - 7.1
Hi, We have (finally) made the decision to move our server (10 -Dell) from Toronto to a newer data center closer to our office in London. I am not sure how the change in geographical location is related to the upgrade of FreeBSD. Will that be new machines? Or you are moving the existing server? If it's new machines, then you don't have to worry too much, you will not loose data. You can take your time to install FreeBSD and the applications. If you upgrade existing machines, one good move is to upgrade to the last version of 6.x, namely 6.4 before jumping to 7.1. Upgrade from 6.x to 6.4 will be less stressful, so it is a good practice. Also you should start with your less busy server (or the one with less critical data). Bests, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: [OT] - Best Practices(TM) for Configuration File Changes
Hello, list. Before I pose my question, I am not intending to start a flame-war of any sort -- I'm just searching for different ways of doing things. With so many different version control systems available (aside from the traditional keep current backups solution), I am curious: Q: What is *your* favorite/suggestion solution to keep (working) versions of configuration files, in case something goes awry? i do backups of whole system (not just configs) with rsync+cp -lpR to have multiple generations. this way i don't need ZFS or UFS snapshots to do this. as i have backups i always can get things from it. But Best Practice(TM) is YOUR BEST PRACTICE, most suited to yourself. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Re: Where is the Perl XML::Parser port
On Mar 29, 2009 4:21pm, Paul B. Mahol one...@gmail.com wrote: On 3/29/09, af300...@gmail.com af300...@gmail.com wrote: Hi, I'm installing the latest gimp and get to a point in the install where it says: checking for perl... /usr/bin/perl checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool So, I've done some searches at freshports.org and I cannot find the XML::Parser perl module anywhere in the ports tree. What is it under? whereis p5-XML-Parser p5-XML-Parser: /usr/ports/textproc/p5-XML-Parser Thanks Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
USB disk support patches?
We've found that FreeBSD 7.0's support for USB disks is pretty unstable. We have a process that creates a bootable FreeBSD 7.0 image on a USB disk and this requires writing a fairly large amount of data in one shot to the USB drive. We've found that there is probably less than a 50% chance of this actually working. More often than not, the write process hangs up and the system has to be rebooted to recover from that state it is in. Are there any patches available that improve the reliability of this kind of mass writing to USB drives. We don't seem to have as much of an issue with reading. Once we've created one of our bootable disks for example we can boot our systems with them and they seem to work fine. The failures occur when a lot of data is being streamed to a USB disk. Any suggestions would be appreciated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: installing freebsd 7.1 ( error mounting /dev/acd0 input/output error)
ajeesh joseph wrote: Hello,I was installing freebsd 7.0/7.1to my Ampro RB700,celeron processor,usb hdd 80gb using my CD drive.during the time of installation i get error error mounting /dev/acd0 input/output error could any one tell me how to solve this and how can i install the OS..regardsAjeesh /dev/acd0 is your CDROM drive. Try using a different CD for starters ... (a 2nd copy) ... if that doesn't work, it might be a bad CDROM drive. HTH, Kevin Kinsey -- If one studies too zealously, one easily loses his pants. -- A. Einstein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: installing freebsd 7.1 ( error mounting /dev/acd0 input/output error)
CD/DVD DMA problems are common try set hw.ata.atapi_dma=0 boot after getting to bootloader prompt (6) On Mon, 30 Mar 2009, Kevin Kinsey wrote: ajeesh joseph wrote: Hello,I was installing freebsd 7.0/7.1to my Ampro RB700,celeron processor,usb hdd 80gb using my CD drive.during the time of installation i get error error mounting /dev/acd0 input/output error could any one tell me how to solve this and how can i install the OS..regardsAjeesh /dev/acd0 is your CDROM drive. Try using a different CD for starters ... (a 2nd copy) ... if that doesn't work, it might be a bad CDROM drive. HTH, Kevin Kinsey -- If one studies too zealously, one easily loses his pants. -- A. Einstein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
freebsd 7.1 ipv6 multihoming
Hi All, I am using laptop, FreeBSD 7.1 connecting to two ISPs (wlan and ppp) and I have IPv6 addresses. 'netstat -rn' says there is only one default gateway (for example wlan's default gateway). My problem is the following: If I ping the ppp tunnel from an other computer, my laptop recieves the ICMP6 echo request over the ppp tunnel, but it answers over the wlan interface. So If the laptop losts the wlan's connection, It becomes unreacheable. I read some similar posts (only ipv4) about forwarding with IPFW, but I was unable to solve my problem until now. Can anybody help me? Thanks in advance! -- View this message in context: http://www.nabble.com/freebsd-7.1-ipv6-multihoming-tp22786046p22786046.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Re: Where is the Perl XML::Parser port
I've had good luck using tha cpan script to add perl moduals cpan XML::Parser will add it and the needed moduals check man cpan --- On Mon, 3/30/09, af300...@gmail.com af300...@gmail.com wrote: From: af300...@gmail.com af300...@gmail.com Subject: Re: Re: Where is the Perl XML::Parser port To: Paul B. Mahol one...@gmail.com, af300...@gmail.com, Free BSD Questions list freebsd-questions@freebsd.org Date: Monday, March 30, 2009, 9:14 AM On Mar 29, 2009 4:21pm, Paul B. Mahol one...@gmail.com wrote: On 3/29/09, af300...@gmail.com af300...@gmail.com wrote: Hi, I'm installing the latest gimp and get to a point in the install where it says: checking for perl... /usr/bin/perl checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool So, I've done some searches at freshports.org and I cannot find the XML::Parser perl module anywhere in the ports tree. What is it under? whereis p5-XML-Parser p5-XML-Parser: /usr/ports/textproc/p5-XML-Parser Thanks Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freebsd 7.1 ipv6 multihoming
I am using laptop, FreeBSD 7.1 connecting to two ISPs (wlan and ppp) and I have IPv6 addresses. 'netstat -rn' says there is only one default gateway (for example wlan's default gateway). My problem is the following: If I ping the ppp tunnel from an other computer, my laptop recieves the ICMP6 echo request over the ppp tunnel, but it answers over the wlan interface. So If the laptop losts the wlan's connection, It becomes unreacheable. I read some similar posts (only ipv4) about forwarding with IPFW, but I was unable to solve my problem until now. exactly. use ipfw and fwd command ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
wusb54gc version 3 [rt2870]
has anyone attempted to use this device in fbsd yet? just wondering if i should go the ndis route or try to fudge it in with the existing ral drivers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: wusb54gc version 3 [rt2870]
michael wrote: has anyone attempted to use this device in fbsd yet? just wondering if i should go the ndis route or try to fudge it in with the existing ral drivers. If you mean the Linksys (Cisco) Wireless USB 54G C adapter: neither. It uses the rum driver. I'm using that same stick as we speak. In 7.0-RELEASE the driver had a bug causing kernel panics, but since 7.1-RELEASE (and 7-STABLE, currently 7.2-PRERELEASE) it works like a charm. It even plays nicely with wpa_supplicant, which my laptop's builtin card still doesn't. Hope this helps, Alphons -- All right, that does it Bill [Donahue]. I'm pretty sure that killing Jesus is not very Christian. -- Pope Benedict XVI, Southpark season 11 episode 5 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freebsd 7.1 ipv6 multihoming
I built a kernel with the following options: options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_DEFAULT_TO_ACCEPT options IPFIREWALL_FORWARD and put these lines to my rc.conf firewall_enable=YES firewall_type=open as the handbook says. I use the following command as root: ipfw add 101 fwd pppgateway ipv6 from pppaddress to any It throws getsockopt(IP_FW_ADD): Invalid argument error! I have tried to set the following variables but the problem is still the same. sysctl -w net.inet.ip.forwarding=1 and sysctl -w net.inet6.ip6.forwarding=1 Thoughts? Wojciech Puchar-5 wrote: I am using laptop, FreeBSD 7.1 connecting to two ISPs (wlan and ppp) and I have IPv6 addresses. 'netstat -rn' says there is only one default gateway (for example wlan's default gateway). My problem is the following: If I ping the ppp tunnel from an other computer, my laptop recieves the ICMP6 echo request over the ppp tunnel, but it answers over the wlan interface. So If the laptop losts the wlan's connection, It becomes unreacheable. I read some similar posts (only ipv4) about forwarding with IPFW, but I was unable to solve my problem until now. exactly. use ipfw and fwd command ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- View this message in context: http://www.nabble.com/freebsd-7.1-ipv6-multihoming-tp22786046p22788954.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freeBSD 6.4
Hi Mario, There are planty ways to make an xorg.conf, for example to nvida vga cards there is a special apllication which generates the xorg.conf. Try to type top and check out which processes uses the more CPU, also checg out Load Avg. Laci From: Mario PNH mario...@gmail.com To: Dánielisz László laszlo_daniel...@yahoo.com Sent: Monday, March 30, 2009 6:10:10 PM Subject: Re: freeBSD 6.4 Hi Dánielisz: The freeBSD is on another hard drive and I am going to review the configurations, and send a txt file if you don't mind. I remember Xorg process was busy all the time, I have to check it again. Last time my Load on Firefox was just GMAIL. Mario 2009/3/28 Dánielisz László laszlo_daniel...@yahoo.com Hi Mario! Did you installed the right vga driver? Did you make de right xorg.conf for Xserver? Please check this. Anyways, you can send your top processes, but I think that the Firefox uses the more from CPU, by the way, what is your load? Laci From: Mario PNH mario...@gmail.com To: Dánielisz László laszlo_daniel...@yahoo.com Sent: Friday, March 27, 2009 7:29:25 PM Subject: freeBSD 6.4 Hi Dánielisz I got this email of you on MAR 13, and today I got the GNOME running on freeBSD 6.4. I also installed KDE4 but haven't used it yet. My main question this time is about the whole freeBSD. As a matter of fact it is running the CPU above 50% as I start GNOME with no more application involved. I am right now emailing this from GMAIL/google using firefox loaded on GNOME 2.22.3 and the CPU is 75% busy. So it is kind of slow and lagging. I am using this ASUS machine: AMD Athlon(TM) XP 2000+ Memory 1 GB Which when I use windows XP as OS, does the same with CPU involved just 6%. I am sure freeBSD should do this much faster than Windows XP, but I have no idea how to detect what is wrong. I can also send the list of processes running on this 6.4 which i guess most of them are normal. and the only application open is firefox connected to GMAIL . Any idea what should I check? I like to have a UNIX like OP. System to work on my JAVA programs. That I was doing with WIN-XP so far. And I have WIN2003 also on another ASUS Core i7 machine. I want to know if the performance of freeBSD is very hardware related, then what type of motherboard / chip / CPU ..etc is recommended? I used to work with UNIX on SUN machines while at university, and I expect freeBSD to function almost the same, and even better these days concerning the time and new technologies but I am missing some info to get it done. Thanks Mario On Sat, Mar 14, 2009 at 5:04 AM, Dánielisz László laszlo_daniel...@yahoo.com wrote: You are welcome! Don't forget to upgrade your ports, I think after this it will work, if not than try pkg_add but first read the manual. From: Mario PNH mario...@gmail.com To: Dánielisz László laszlo_daniel...@yahoo.com Sent: Friday, March 13, 2009 9:07:56 PM Subject: Re: Ports Collection Thanks for your response. FreeBSD versions of 7.0 and 7.1 could never be booted on my computer, and it kept restarting with a short note of inflate on the screen. But 6.4 is running excellent, except for the gnome2 installation. I didn't update my ports, but I will, and I think I need to go though gnome installation instruction again. While installing gnome2, for near 2 hours, it finally went into a loop cycle of loading and repeating things, I can't remember exactly what but I am going to watch it closely as I redo it over next week I am trying 6.4 on my 5 yr old ASUS A7N266-VM, which still runs great with nVidia 220 North Bridge Chipset - CPU AMD Athlon(TM)2000+. 6.4 recognizes all components as I went through log files. This is a test for me, to learn about freeBSD. Once I am familiar with how it functions, I try it on my new ASUS P6T Deluxe - Intel X58 (core i7). However, with the fact that I may face drivers issue for this one, yet I am going to add new hard drive to test 7.1 on the P6T soon, as I get just a bit free time after MAR 21. I appreciate your response and I will provide more info later on. Thanks, Mario On Thu, Mar 12, 2009 at 6:06 AM, Dánielisz László laszlo_daniel...@yahoo.com wrote: Dear Mario Palmer, Did you tried to install the latest FreeBSD version instead of 6.4? Did you updated your ports tree before running the make command (eg. with cvsup)? You can also try installing gnome2 via pkg_add -r [-v] Laci From: Mario PNH mario...@gmail.com To: freebsd-questions@FreeBSD.org Sent: Wednesday, March 11, 2009 10:01:41 PM Subject: Ports Collection I really liked the FreeBSD running on my ASUS desktop, until I tried to install gnome2 and I was surprised that it never finished it, during which it created some 20 and more user groups like 'nobody', 'anonymous', 'aiviah', 'games', etc ... and I am wondering if that was a normal process. # cd
non-root user able to burn CD
Long story short, I am trying to set up Brasero to burn CDs. It will not let anyone other than root even see the blank CD-R as a destination option since non-root users do not have access to burn from the drive. Gnome Does see the blank disk and i get associated icon on my desktop Where do i set who has permissions to burn with the CD drive? -Sean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Newsyslog mode on /var/log/security?
On Monday 30 March 2009 08:48:34 Garance A Drosehn wrote: Well, I should probably change newsyslog to do something different (he says vaguely) when the same file is specified multiple times. warnx() would be nice ;). -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: non-root user able to burn CD
On Monday 30 March 2009 20:21:08 Sean Cavanaugh wrote: Long story short, I am trying to set up Brasero to burn CDs. It will not let anyone other than root even see the blank CD-R as a destination option since non-root users do not have access to burn from the drive. Gnome Does see the blank disk and i get associated icon on my desktop Where do i set who has permissions to burn with the CD drive? devfs(8) and the xpt device (and pass and cd). -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: non-root user able to burn CD
Sean Cavanaugh millenia2...@hotmail.com writes: Long story short, I am trying to set up Brasero to burn CDs. It will not let anyone other than root even see the blank CD-R as a destination option since non-root users do not have access to burn from the drive. Gnome Does see the blank disk and i get associated icon on my desktop Where do i set who has permissions to burn with the CD drive? See the Creating and Using Optical Media (CDs) chapter of the FreeBSD Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html -- 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 freebsd-questions-unsubscr...@freebsd.org
Re: init panic in freebsd 7.1
On Monday 30 March 2009 14:46:08 Polytropon wrote: Note that this change of the device name usually requires changes in /etc/fstab, e. g. ad4 - ad10 to make the system start on this hardware. fstab problem can be solved by using glabel sensibly. Also, isn't ATA_STATIC_ID supposed to solve this problem and default in GENERIC kernel? -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Important
Hi Team , I having Windows XP haing 512MB RAM .Please let me know the proper step by step method to download freeBsD online .Please explain by giving example of 7.1 version. Thanks regards Mohit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cleaning up multiplicates in elf ldconfig path
On Sunday 29 March 2009 16:39:15 Parv wrote: I am on FreeBSD/i386 6.4-STABLE (around Mar 1, 2009). I failed to find a solution to the (cosmetic) problem of ldconfig path having duplicate directories (dmesg output wrapped for this email) ... I've been running without /usr/X11R6 symlink for a long time and since XFree86 support has been removed from ports, it seems logical it can be safely deleted. However, flz@ (maintainer of xorg) has the authoritative answer. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Important
On Mon, Mar 30, 2009 at 2:15 PM, Mohit Arora mohitaro...@gmail.com wrote: Hi Team , I having Windows XP haing 512MB RAM .Please let me know the proper step by step method to download freeBsD online .Please explain by giving example of 7.1 version. Thanks regards Mohit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org http://www.freebsd.org/doc/en/books/handbook/ -- www.nealhogan.net www.lambdaserver.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Recovering a GEOM RAID0 array
Hi gang, I'm running a remote 6.2 system which recently got shut down unexpectedly (tower was physically nudged and apparently lost power). I am running a 2-disk striped array with the geom_stripe.ko module. So my fstab line is /dev/stripe/st0a/data ufs rw,acls 2 2 Thing is, the /dev/stripe directory no longer exists. The system was running for well over 2 years with several reboots in there. I have a lot of data that I want to recover on these 2 disks. Is there any way to regain access to the data? I can' t seem to find anything unusual in the logs. Thank you. -- jm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: analyzing httpd-error.log
On Sunday 29 March 2009 22:25:55 Charles Howse wrote: On Mar 29, 2009, at 1:54 PM, Glen Barber wrote: On Sun, Mar 29, 2009 at 1:33 PM, Charles Howse cho...@charter.net wrote: On Mar 28, 2009, at 11:51 PM, Olivier Nicole wrote: Hi, Webalizer is doing what it's supposed to with httpd-access.log, but when I give it the error log to process is coughs, spits and spills out errors with no data processed. My research hasn't turned up a good solution for webalizer and -error.log. What are the errors? Intrusion attempts, (a few) bad links in my website, also I use the error.log to troubleshoot cgi scripts. Nothing beats tail -f for debugging. 404's can be gathered from access log, by webalizer (or awstats or ...) and are summarized when enabled. If I remember correctly, there's also a referer top list, that specifies which pages link to invalid pages, but it may have been awstats that does this. Can't think of anything specific for apache error log, I roll my own grok rules if I'm really interested in a specific vulnerability. See sysutils/grok. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Security Consulting.
Hi all, I originally posted this to the PHP mailing list with, so far, less than helpful results. I am not a fan of cross-posting, but I suspect there may be a few ISP support / server admins who may be interested in this offer. Good Morning / Afternoon, We run several of our own servers: - Dell Power Edge 1U, Pentium, - FreeBSD (6.x soon to be 7.x) - along with all the standard Web Application installation (PHP Apache Exim, Pop3, Proftp, MySQL etc etc). What I am asking here, is if any one in this community has the knowledge to act as a security consultant in an occasional, as required basis. Anyone interested should have expience with Apache, PHP, Perl on the FreeBSD platform. We are more than willing to compensate for services rendered, and are more than willing to discuss terms. In the end, we would be more than willing to share any non-fudiciary information with anyone who could find it useful (via this or other mailing lists). We are asking any interested parties to contact us off-list such that we don't need to make any private matters public. This is a bonified request, as we can setup servers ourselves, but simply do not have the time to research various run time, and security related items. TIA, -Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: mod_php5 and apache22
On Wednesday 25 March 2009 05:36:26 Ian Smith wrote: On Tue, 24 Mar 2009 16:46:16 +0100 Ruben de Groot mai...@bzerk.org wrote: On Tue, Mar 24, 2009 at 03:20:26PM +0100, Mel Flynn typed: On Tuesday 24 March 2009 15:13:33 Christoph Kukulies wrote: I moved a site from some FreeBSD 5.2 or something (with apache2 and mod_php5 at that time, about 3 years old) to 7.1 (Beta though) and apache22. Now I don't find something that looks like mod_php5 in /usr/ports/www. Has that changed somehow? lang/php5 with APACHE_MODULE ticked in options dialog. The apache module compile is off by default since somewhere in 2006 and I keep forgetting that occasionally :( So people using pkg_add -r php5 will not get mod_php5. That's right, you haven't been able able to install mod_php5 from a package for at least that long. I've never understood the rationale. APACHE_MODULE pulls in apache as dep, while CGI and CLI do not. There is not much difference in performance with the CGI version and mod_fcgid, the major difference with the module is the ease of site/directory specific configuration of php through php_value and php_flag directives. A slave port is easily created with one Makefile, as below. # New ports collection makefile for:php5-module # Date created: Jan 11 2009 # Whom: Mel Flynn mel+po...@rachie.is-a- geek.net # # $Coar: ports/local/php5-module/Makefile,v 1.2 2009/03/30 20:37:22 mel Exp $ # NOTE: we cannot use PKGNAMESUFFIX as that triggers extension build in # MASTERDIR/Makefile PORTNAME= php5-module MASTERDIR= ${.CURDIR}/../../lang/php5 CATEGORIES= local lang PKGORIGIN= local/php5-module PKGNAMEPREFIX= module- # Set some options, though the config dialog is still set. This build is # primarily for jails, where some php5 command line scripting is desired. # Jails can't use SUHOSIN WITHOUT_SUHOSIN=yes WITHOUT_CGI=yes WITHOUT_FASTCGI=yes WITHOUT_PATHINFO=yes WITH_APACHE=yes APACHE_PORT?=www/apache22 .include ${MASTERDIR}/Makefile -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: analyzing httpd-error.log
On Mar 30, 2009, at 3:11 PM, Mel Flynn wrote: On Sunday 29 March 2009 22:25:55 Charles Howse wrote: On Mar 29, 2009, at 1:54 PM, Glen Barber wrote: On Sun, Mar 29, 2009 at 1:33 PM, Charles Howse cho...@charter.net wrote: On Mar 28, 2009, at 11:51 PM, Olivier Nicole wrote: Hi, Webalizer is doing what it's supposed to with httpd-access.log, but when I give it the error log to process is coughs, spits and spills out errors with no data processed. My research hasn't turned up a good solution for webalizer and -error.log. What are the errors? Intrusion attempts, (a few) bad links in my website, also I use the error.log to troubleshoot cgi scripts. Nothing beats tail -f for debugging. 404's can be gathered from access log, by webalizer (or awstats or ...) and are summarized when enabled. If I remember correctly, there's also a referer top list, that specifies which pages link to invalid pages, but it may have been awstats that does this. Can't think of anything specific for apache error log, I roll my own grok rules if I'm really interested in a specific vulnerability. See sysutils/grok. Yes, awstats does a fair job of summarizing 404's. I have a hardware router, not extremely interested in a packet filter for my webserver. I guess I could do some deny from rules in apache.conf if necessary...? * #!/bin/sh date=`date +%b %e` cd /var/log grep $date httpd-error.log | grep -v 192.168.254.254 | grep -v 192.168.254.3 /root/err.log mail -s httpd-error.log charles /root/err.log * I run this from cron @ 11:59 PM every night, and that gives me the error log for that day. Maybe I won't miss anything serious between 11:59 and midnight. Can anyone help with a grep command that will filter out all addresses beginning with 192.168.254? Something to replace the 2 piped commands with only 1. I tried: grep -v -regexp[^192\.168\.254\.] but that didn't match any records...? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: analyzing httpd-error.log
On Monday 30 March 2009 22:55:35 Charles Howse wrote: grep $date httpd-error.log | grep -v 192.168.254.254 | grep -v 192.168.254.3 /root/err.log Using pcregrep, installed by devel/pcre, typically available on apache systems: pcregrep $date.* \[client (?!192\.168\.254) /var/log/httpd-error.log | \ mail -sError log for $date charles Should work. As far as I know, look ahead assertions aren't supported by re(7) or the extended version. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
qemu only talks to network on second boot
Got win2k on qemu for a couple years now. Funny thing is, it never sees the network or the samba shares on my host the second time I boot qemu on any given day. First time always times out. I get no console output. My win2k.sh file looks something like this. All the tap entries since my system seems to have some issue with naming tap. Maybe that's the issue, but I'll be darned if I could fix it. tap0 and nothing else would be just fine with me. When I just had tap0, it would make tap1 (then tap2, etc, etc.), but this seems always to wind up on tap9 and work (the second time I run qemu) Goofy. Best, Steve [st...@dynstant /usr/ports/emulators/wine]$ cat ~/bin/win2k #!/bin/sh sudo kldload kqemu if_tap if_bridge aio sudo sysctl net.link.tap.user_open=1 sudo sysctl net.link.tap.devfs_cloning=1 sudo sysctl net.link.tap.up_on_open=1 sudo ifconfig bridge0 create sudo ifconfig bridge0 addm vr0 sudo ifconfig bridge0 addm tap0 sudo ifconfig bridge0 addm tap1 sudo ifconfig bridge0 addm tap2 sudo ifconfig bridge0 addm tap3 sudo ifconfig bridge0 addm tap4 sudo ifconfig bridge0 addm tap5 sudo ifconfig bridge0 addm tap6 sudo ifconfig bridge0 addm tap7 sudo ifconfig bridge0 addm tap8 sudo ifconfig bridge0 addm tap9 sudo ifconfig bridge0 up sudo ifconfig vr0 up sudo ifconfig tap0 up sudo ifconfig tap1 up sudo ifconfig tap2 up sudo ifconfig tap3 up sudo ifconfig tap4 up sudo ifconfig tap5 up sudo ifconfig tap6 up sudo ifconfig tap7 up sudo ifconfig tap8 up sudo ifconfig tap9 up sudo dhclient bridge0 sudo /etc/rc.d/devfs restart sudo /etc/rc.d/sysctl restart qemu -m 384 -net nic -net tap -hda ~/bin/drivec.img -usb -usbdevice tablet -serial /dev/cuaU0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: analyzing httpd-error.log
On Mar 30, 2009, at 4:09 PM, Mel Flynn wrote: On Monday 30 March 2009 22:55:35 Charles Howse wrote: grep $date httpd-error.log | grep -v 192.168.254.254 | grep -v 192.168.254.3 /root/err.log Using pcregrep, installed by devel/pcre, typically available on apache systems: pcregrep $date.* \[client (?!192\.168\.254) /var/log/httpd- error.log | \ mail -sError log for $date charles Should work. As far as I know, look ahead assertions aren't supported by re(7) or the extended version. Sweet! Look at the intrusion attempt by 130.79.37.213 (it's from the Universite de Strasbourg in France): [Mon Mar 30 00:02:24 2009] [error] [client 72.14.199.109] File does not exist: /usr/local/www/apache22/data/blog.rss [Mon Mar 30 00:13:26 2009] [error] [client 130.79.37.213] script not found or unable to stat: /usr/local/www/apache22/cgi-bin/awstats [Mon Mar 30 00:13:26 2009] [error] [client 130.79.37.213] script not found or unable to stat: /usr/local/www/apache22/cgi-bin/awstats.pl [Mon Mar 30 00:13:27 2009] [error] [client 130.79.37.213] File does not exist: /usr/local/www/apache22/data/cgi [Mon Mar 30 00:13:29 2009] [error] [client 130.79.37.213] script not found or unable to stat: /usr/local/www/apache22/cgi-bin/stats [Mon Mar 30 00:13:29 2009] [error] [client 130.79.37.213] File does not exist: /usr/local/www/apache22/data/stats [Mon Mar 30 00:13:30 2009] [error] [client 130.79.37.213] File does not exist: /usr/local/www/apache22/data/awstats.pl [Mon Mar 30 00:13:30 2009] [error] [client 130.79.37.213] File does not exist: /usr/local/www/apache22/data/cgi [Mon Mar 30 00:13:30 2009] [error] [client 130.79.37.213] script not found or unable to stat: /usr/local/www/apache22/cgi-bin/awstats.pl [Mon Mar 30 00:13:31 2009] [error] [client 130.79.37.213] File does not exist: /usr/local/www/apache22/data/scgi-bin [Mon Mar 30 00:13:31 2009] [error] [client 130.79.37.213] File does not exist: /usr/local/www/apache22/data/scgi-bin [Mon Mar 30 00:13:31 2009] [error] [client 130.79.37.213] File does not exist: /usr/local/www/apache22/data/cgi [Mon Mar 30 00:13:32 2009] [error] [client 130.79.37.213] File does not exist: /usr/local/www/apache22/data/scgi [Mon Mar 30 00:13:32 2009] [error] [client 130.79.37.213] File does not exist: /usr/local/www/apache22/data/scripts [Mon Mar 30 00:13:32 2009] [error] [client 130.79.37.213] script not found or unable to stat: /usr/local/www/apache22/cgi-bin/awstats [Mon Mar 30 00:13:33 2009] [error] [client 130.79.37.213] File does not exist: /usr/local/www/apache22/data/scgi-bin [Mon Mar 30 00:13:33 2009] [error] [client 130.79.37.213] script not found or unable to stat: /usr/local/www/apache22/cgi-bin/stats [Mon Mar 30 00:13:33 2009] [error] [client 130.79.37.213] File does not exist: /usr/local/www/apache22/data/scgi-bin [Mon Mar 30 00:13:34 2009] [error] [client 130.79.37.213] File does not exist: /usr/local/www/apache22/data/stats [Mon Mar 30 00:13:34 2009] [error] [client 130.79.37.213] File does not exist: /usr/local/www/apache22/data/hints.pl [Mon Mar 30 00:13:34 2009] [error] [client 130.79.37.213] File does not exist: /usr/local/www/apache22/data/cgi [Mon Mar 30 00:13:34 2009] [error] [client 130.79.37.213] File does not exist: /usr/local/www/apache22/data/scgi [Mon Mar 30 00:13:35 2009] [error] [client 130.79.37.213] script not found or unable to stat: /usr/local/www/apache22/cgi-bin/hints.pl [Mon Mar 30 00:13:35 2009] [error] [client 130.79.37.213] File does not exist: /usr/local/www/apache22/data/scgi-bin [Mon Mar 30 00:13:35 2009] [error] [client 130.79.37.213] File does not exist: /usr/local/www/apache22/data/hints [Mon Mar 30 00:13:36 2009] [error] [client 130.79.37.213] script not found or unable to stat: /usr/local/www/apache22/cgi-bin/hints [Mon Mar 30 00:13:36 2009] [error] [client 130.79.37.213] File does not exist: /usr/local/www/apache22/data/scgi-bin [Mon Mar 30 00:13:36 2009] [error] [client 130.79.37.213] File does not exist: /usr/local/www/apache22/data/webhints [Mon Mar 30 00:13:37 2009] [error] [client 130.79.37.213] script not found or unable to stat: /usr/local/www/apache22/cgi-bin/webhints [Mon Mar 30 00:13:37 2009] [error] [client 130.79.37.213] File does not exist: /usr/local/www/apache22/data/scgi-bin [Mon Mar 30 00:13:37 2009] [error] [client 130.79.37.213] File does not exist: /usr/local/www/apache22/data/hints.cgi [Mon Mar 30 00:13:38 2009] [error] [client 130.79.37.213] File does not exist: /usr/local/www/apache22/data/cgi [Mon Mar 30 00:13:38 2009] [error] [client 130.79.37.213] File does not exist: /usr/local/www/apache22/data/scgi [Mon Mar 30 00:13:38 2009] [error] [client 130.79.37.213] script not found or unable to stat: /usr/local/www/apache22/cgi-bin/hints.cgi [Mon Mar 30 00:13:39 2009] [error] [client 130.79.37.213] File does not exist: /usr/local/www/apache22/data/scgi-bin [Mon Mar 30 00:13:39 2009] [error] [client 130.79.37.213] File does not exist:
Trouble building NanoBSD image for Soekris 5501 (sio.c error)
Hi- I am trying to build a NanoBSD image for a Soekris net5501 from FreeBSD-7.1 stable. Build world finishes but the kernel build fails trying to compile sio.c (see error below) Kernel config file also included below. Thanks in advance, Dave This is the line from the kernel config: device sio # 8250, 16[45]50 based serial ports kernel build error: /usr/src/sys/dev/sio/sio.c: In function 'sysctl_machdep_comdefaultrate': /usr/src/sys/dev/sio/sio.c:356: error: 'struct tty' has no member named 't_init_in' /usr/src/sys/dev/sio/sio.c:356: error: 'struct tty' has no member named 't_init_in' /usr/src/sys/dev/sio/sio.c:357: error: 'struct tty' has no member named 't_lock_in' /usr/src/sys/dev/sio/sio.c:357: error: 'struct tty' has no member named 't_lock_in' /usr/src/sys/dev/sio/sio.c:358: error: 'struct tty' has no member named 't_init_out' /usr/src/sys/dev/sio/sio.c:358: error: 'struct tty' has no member named 't_init_out' /usr/src/sys/dev/sio/sio.c:359: error: 'struct tty' has no member named 't_lock_out' /usr/src/sys/dev/sio/sio.c:359: error: 'struct tty' has no member named 't_lock_out' /usr/src/sys/dev/sio/sio.c:361: error: 'struct tty' has no member named 't_state' /usr/src/sys/dev/sio/sio.c:361: error: 'TS_ISOPEN' undeclared (first use in this function) /usr/src/sys/dev/sio/sio.c:361: error: (Each undeclared identifier is reported only once /usr/src/sys/dev/sio/sio.c:361: error: for each function it appears in.) cc1: warnings being treated as errors /usr/src/sys/dev/sio/sio.c: In function 'siodetach': /usr/src/sys/dev/sio/sio.c:400: warning: implicit declaration of function 'ttyfree' /usr/src/sys/dev/sio/sio.c:400: warning: nested extern declaration of 'ttyfree' /usr/src/sys/dev/sio/sio.c: In function 'sioattach': /usr/src/sys/dev/sio/sio.c:928: warning: implicit declaration of function 'ttyalloc' /usr/src/sys/dev/sio/sio.c:928: warning: nested extern declaration of 'ttyalloc' /usr/src/sys/dev/sio/sio.c:928: warning: assignment makes pointer from integer without a cast /usr/src/sys/dev/sio/sio.c:929: error: 'struct tty' has no member named 't_oproc' /usr/src/sys/dev/sio/sio.c:930: error: 'struct tty' has no member named 't_param' /usr/src/sys/dev/sio/sio.c:931: error: 'struct tty' has no member named 't_stop' /usr/src/sys/dev/sio/sio.c:932: error: 'struct tty' has no member named 't_modem' /usr/src/sys/dev/sio/sio.c:933: error: 'struct tty' has no member named 't_break' /usr/src/sys/dev/sio/sio.c:934: error: 'struct tty' has no member named 't_close' /usr/src/sys/dev/sio/sio.c:935: error: 'struct tty' has no member named 't_open' /usr/src/sys/dev/sio/sio.c:936: error: 'struct tty' has no member named 't_sc' /usr/src/sys/dev/sio/sio.c:943: warning: implicit declaration of function 'ttyconsolemode' /usr/src/sys/dev/sio/sio.c:943: warning: nested extern declaration of 'ttyconsolemode' /usr/src/sys/dev/sio/sio.c:944: error: 'struct tty' has no member named 't_init_in' /usr/src/sys/dev/sio/sio.c:1081: error: 'struct tty' has no member named 't_pps' /usr/src/sys/dev/sio/sio.c:1118: warning: implicit declaration of function 'ttycreate' /usr/src/sys/dev/sio/sio.c:1118: warning: nested extern declaration of 'ttycreate' /usr/src/sys/dev/sio/sio.c:1118: error: 'TS_CALLOUT' undeclared (first use in this function) /usr/src/sys/dev/sio/sio.c: In function 'comopen': /usr/src/sys/dev/sio/sio.c:1129: error: 'struct tty' has no member named 't_sc' /usr/src/sys/dev/sio/sio.c:1181: warning: implicit declaration of function 'ISCALLOUT' /usr/src/sys/dev/sio/sio.c:1181: warning: nested extern declaration of 'ISCALLOUT' /usr/src/sys/dev/sio/sio.c:1182: warning: implicit declaration of function 'ttyld_modem' /usr/src/sys/dev/sio/sio.c:1182: warning: nested extern declaration of 'ttyld_modem' /usr/src/sys/dev/sio/sio.c: In function 'comclose': /usr/src/sys/dev/sio/sio.c:1194: error: 'struct tty' has no member named 't_sc' /usr/src/sys/dev/sio/sio.c:1210: error: 'struct tty' has no member named 't_cflag' /usr/src/sys/dev/sio/sio.c:1218: error: 'struct tty' has no member named 't_actout' /usr/src/sys/dev/sio/sio.c:1220: error: 'struct tty' has no member named 't_init_in' /usr/src/sys/dev/sio/sio.c:1221: error: 'struct tty' has no member named 't_state' /usr/src/sys/dev/sio/sio.c:1221: error: 'TS_ISOPEN' undeclared (first use in this function) /usr/src/sys/dev/sio/sio.c:1223: warning: implicit declaration of function 'ttydtrwaitstart' /usr/src/sys/dev/sio/sio.c:1223: warning: nested extern declaration of 'ttydtrwaitstart' /usr/src/sys/dev/sio/sio.c:1234: error: 'struct tty' has no member named 't_actout' /usr/src/sys/dev/sio/sio.c:1235: error: 'struct tty' has no member named 't_actout' /usr/src/sys/dev/sio/sio.c:1236: warning: implicit declaration of function 'TSA_CARR_ON' /usr/src/sys/dev/sio/sio.c:1236: warning: nested extern declaration of 'TSA_CARR_ON' /usr/src/sys/dev/sio/sio.c:1236: warning: passing argument 1 of 'wakeup' makes pointer from integer without a cast /usr/src/sys/dev/sio/sio.c: In
Re: qemu only talks to network on second boot
On Monday 30 March 2009 18:29:20 Steve Franks wrote: Got win2k on qemu for a couple years now. Funny thing is, it never sees the network or the samba shares on my host the second time I boot qemu on any given day. First time always times out. I get no console output. My win2k.sh file looks something like this. All the tap entries since my system seems to have some issue with naming tap. Maybe that's the issue, but I'll be darned if I could fix it. tap0 and nothing else would be just fine with me. When I just had tap0, it would make tap1 (then tap2, etc, etc.), but this seems always to wind up on tap9 and work (the second time I run qemu) Goofy. Best, Steve [st...@dynstant /usr/ports/emulators/wine]$ cat ~/bin/win2k #!/bin/sh sudo kldload kqemu if_tap if_bridge aio sudo sysctl net.link.tap.user_open=1 sudo sysctl net.link.tap.devfs_cloning=1 sudo sysctl net.link.tap.up_on_open=1 sudo ifconfig bridge0 create sudo ifconfig bridge0 addm vr0 sudo ifconfig bridge0 addm tap0 sudo ifconfig bridge0 addm tap1 sudo ifconfig bridge0 addm tap2 sudo ifconfig bridge0 addm tap3 sudo ifconfig bridge0 addm tap4 sudo ifconfig bridge0 addm tap5 sudo ifconfig bridge0 addm tap6 sudo ifconfig bridge0 addm tap7 sudo ifconfig bridge0 addm tap8 sudo ifconfig bridge0 addm tap9 sudo ifconfig bridge0 up sudo ifconfig vr0 up sudo ifconfig tap0 up sudo ifconfig tap1 up sudo ifconfig tap2 up sudo ifconfig tap3 up sudo ifconfig tap4 up sudo ifconfig tap5 up sudo ifconfig tap6 up sudo ifconfig tap7 up sudo ifconfig tap8 up sudo ifconfig tap9 up sudo dhclient bridge0 sudo /etc/rc.d/devfs restart sudo /etc/rc.d/sysctl restart qemu -m 384 -net nic -net tap -hda ~/bin/drivec.img -usb -usbdevice tablet -serial /dev/cuaU0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Hi Steve; Forgive the long post but here is what I've got working for me: [BEGIN] *** loader.conf # if_tap is compiled into the kernel # but loading if_tap does it also if_bridge_load=YES *** rc.conf ## ## network stuff # FBSD HOST(7.1-PRERELEASE) # +-+ # | 10.10.10.1 | # LAN -+- re0 | # | | # | +-+ | # +---++tap0 | | # | +++tap1 | | # | || +-+ | # | || bridge0 | (if_bridge) # | || 10.1.200.254 | # | |+-+ # | | # | | QEMU GUEST 1 (linux Fedora core 5) # | | +-+ # | | | | # | +---+ eth0 | # | | 10.1.200.1 | # | | | # | +-+ # | QEMU GUEST 2 (windows XP) # | +-+ # | | | # +--+--- realtek | # | 10.1.200.2 | # | | # +-+ # # The bridge IP is the default gateway # for the guests and the LAN dns is # guests' DNS server ## gateway_enable=YES # don't know why but WITHOUT -promisc- here, it doesnt work ! ifconfig_re0=inet 10.10.10.2 netmask 255.255.255.0 promisc autobridge_interfaces=bridge0 autobridge_bridge0=tap0 tap1 cloned_interfaces=bridge0 ifconfig_bridge0=inet 10.1.200.254 netmask 255.255.255.0 up pf_enable=YES samba_enable=NO smbd_enable=YES kqemu_enable=YES *** pf.conf (totally open - needed for NAT) ext_if=re0# replace with actual external interface name i.e., dc0 int_if=bridge0# replace with actual internal interface name i.e., dc1 internal_net=10.1.200.0/24 set loginterface $ext_if set block-policy drop set fingerprints /etc/pf.os scrub in all nat on $ext_if from $internal_net to any - ($ext_if) no rdr on { lo0, lo1 } from any to any # pass traffic pass quick on lo0 all pass quick on re0 all pass quick on bridge0 all # maybe these are redundant but i left them here anyway pass in on $ext_if proto { tcp, udp } from any to any keep state pass in on $int_if from $internal_net to any keep state pass out on $int_if from any to $internal_net keep state pass out on $ext_if proto { tcp, udp, icmp, gre } all keep state *** qemu-ifup.sh #!/usr/local/bin/bash /sbin/ifconfig $1 up TEST=`ifconfig -a | grep member | grep $1` if [ $TEST == ]; then /sbin/ifconfig bridge0 addm $1 fi *** qemu-ifdown (has to have this name !) #!/usr/local/bin/bash /sbin/ifconfig bridge0 deletem $1 /sbin/ifconfig $1 down *** smb.conf [global] netbios name = Papi workgroup = LOBOS hosts allow = 10.1.200. 10.10.10. 127. server string = Papi guest account = nobody log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY share modes = yes security = share interfaces =
Why?? (prog question)
people, i've been under the weather for days and will probably be for a few more. new and TEMPORARY meds dont like me, ugh. can anybody clue me in why the followin joinline program fails to catch if argc == 1? /* * simple prog to join all | very nearly all lines of a text file that * make up one paragraph into one LONG line. * * paragraphs are delimiated by a single \n break. */ #include stdio.h #include string.h #include stdlib.h main(int argc, char argv[]) { char buf[65536]; if (argc == 1) { printf(Usage: %s file newfile\n, argv[0]); exit (-1); } while (fgets(buf, sizeof buf, stdin) ) { if (*buf == '\n') { fprintf(stdout, \n\n); } else { buf[strlen(buf)-1] = ' '; fputs(buf, stdout); } } } -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.41a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why?? (prog question)
On Mon, Mar 30, 2009 at 10:57 PM, Gary Kline kl...@thought.org wrote: people, i've been under the weather for days and will probably be for a few more. new and TEMPORARY meds dont like me, ugh. can anybody clue me in why the followin joinline program fails to catch if argc == 1? /* * simple prog to join all | very nearly all lines of a text file that * make up one paragraph into one LONG line. * * paragraphs are delimiated by a single \n break. */ #include stdio.h #include string.h #include stdlib.h main(int argc, char argv[]) { char buf[65536]; if (argc == 1) { printf(Usage: %s file newfile\n, argv[0]); exit (-1); } while (fgets(buf, sizeof buf, stdin) ) { if (*buf == '\n') { fprintf(stdout, \n\n); } else { buf[strlen(buf)-1] = ' '; fputs(buf, stdout); } } } main should be: int main(int argc, char **argv) or perhaps int main(int argc, char *argv[]) As is, you're defining int as char argv[] (e.g. char *) instead of char **. What will likely happen is you'll get a segmentation fault when you try to run the program, since your printf format spec has %s, but you're passing it a char. In fact, if you compile it with -Wall, you'll see the two problems I've mentioned: t.c:13: warning: second argument of 'main' should be 'char **' t.c: In function 'main': t.c:20: warning: format '%s' expects type 'char *', but argument 2 has type 'int' Change char argv[] to char *argv[] or char **argv and it should work properly. Note also that your main should have an int return type and should return a value. Regards, Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
The easiest way to install Pound on FreeBSD
Hi, Here is the easiest way i found to install Pound on FreeBSD (6.4 amd64). - install OpenSSL from /usr/ports/security/openssl - in /usr/local/openssl add a link to /usr/local/include and /usr/local/lib - modify /usr/ports/www/pound/Makefile and add a line saying: CONFIGURE_ARGS+=--with-ssl=/usr/local/openssl - install Pound from /usr/ports/www/pound/ The modification to the Makefile will have to be done after every upgrade of the ports tree; before upgrading Pound. Best regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Varnish on FreeBSD
Hi, I have a small issue when runnig Varnish on FreeBSD 6.4 amd64 (64 bits extension). I use the command (which seems very straigh forward to me): $ /usr/local/sbin/varnishd -P /var/run/varnishd.pid -a localhost:6081 -f /usr/local/etc/varnish/default.vcl -T localhost:6082 -s malloc,5G -s file,/web/varnish,50% -u www -g www And Varnish starts with: storage_malloc: max size 5120 MB. storage_file: filename: /web/varnish/varnish.5edLFk (unlinked) size 1665195 MB. Using old SHMFILE But: $ df -h /web Filesystem SizeUsed Avail Capacity Mounted on /dev/mfid0s1f446G4.0G407G 1%/web The file system used for storage has 407 GB available and Varnish plans to use up to 1626 GB out of that, that is far more than the 50%. It could be an error in reporting the size, which would be nothing mor ethan anoying. But it could also be an error in estimating the size that Varnish can use, which would be a more serious error. Any help on that? Best regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why?? (prog question)
main(int argc, char *argv[]) On Mon, Mar 30, 2009 at 8:57 PM, Gary Kline kl...@thought.org wrote: people, i've been under the weather for days and will probably be for a few more. new and TEMPORARY meds dont like me, ugh. can anybody clue me in why the followin joinline program fails to catch if argc == 1? /* * simple prog to join all | very nearly all lines of a text file that * make up one paragraph into one LONG line. * * paragraphs are delimiated by a single \n break. */ #include stdio.h #include string.h #include stdlib.h main(int argc, char argv[]) { char buf[65536]; if (argc == 1) { printf(Usage: %s file newfile\n, argv[0]); exit (-1); } while (fgets(buf, sizeof buf, stdin) ) { if (*buf == '\n') { fprintf(stdout, \n\n); } else { buf[strlen(buf)-1] = ' '; fputs(buf, stdout); } } } -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.41a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Thx Joshua Gimer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why?? (prog question)
Just 5 minutes too late. :) On Mon, Mar 30, 2009 at 9:13 PM, Joshua Gimer jgi...@gmail.com wrote: main(int argc, char *argv[]) On Mon, Mar 30, 2009 at 8:57 PM, Gary Kline kl...@thought.org wrote: people, i've been under the weather for days and will probably be for a few more. new and TEMPORARY meds dont like me, ugh. can anybody clue me in why the followin joinline program fails to catch if argc == 1? /* * simple prog to join all | very nearly all lines of a text file that * make up one paragraph into one LONG line. * * paragraphs are delimiated by a single \n break. */ #include stdio.h #include string.h #include stdlib.h main(int argc, char argv[]) { char buf[65536]; if (argc == 1) { printf(Usage: %s file newfile\n, argv[0]); exit (-1); } while (fgets(buf, sizeof buf, stdin) ) { if (*buf == '\n') { fprintf(stdout, \n\n); } else { buf[strlen(buf)-1] = ' '; fputs(buf, stdout); } } } -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.41a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Thx Joshua Gimer -- Thx Joshua Gimer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
How to read files from FAT disk which names contain Chinese characters?
When I mount FAT disk all such files cause 'ls' to produce messages like this: ls: WS???.WMA: Invalid argument I found online that I should use command: mount_msdosfs -D cp936 -L zh_CN.UTF-8 /dev/device /path/to/folder but it doesn't work either. Handbook (http://www.freebsd.org/doc/en/books/handbook/lang-setup.html) mentions that in order to be able to see Russian file names fstab has to contain this: /dev/ad0s2 /dos/c msdos rw,-Wkoi2dos,-Lru_RU.KOI8-R 0 0 But what about Chinese file names? And how come different locales require different commands to mount? What if file system will have both Chinese and Russian file names? Thanks, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why?? (prog question)
On Mon, Mar 30, 2009 at 11:08:57PM -0400, Josh Carroll wrote: On Mon, Mar 30, 2009 at 10:57 PM, Gary Kline kl...@thought.org wrote: people, i've been under the weather for days and will probably be for a few more. new and TEMPORARY meds dont like me, ugh. can anybody clue me in why the followin joinline program fails to catch if argc == 1? /* * simple prog to join all | very nearly all lines of a text file that * make up one paragraph into one LONG line. * * paragraphs are delimiated by a single \n break. */ #include stdio.h #include string.h #include stdlib.h main(int argc, char argv[]) { char buf[65536]; if (argc == 1) { printf(Usage: %s file newfile\n, argv[0]); exit (-1); } while (fgets(buf, sizeof buf, stdin) ) { if (*buf == '\n') { fprintf(stdout, \n\n); } else { buf[strlen(buf)-1] = ' '; fputs(buf, stdout); } } } main should be: int main(int argc, char **argv) or perhaps int main(int argc, char *argv[]) As is, you're defining int as char argv[] (e.g. char *) instead of char **. What will likely happen is you'll get a segmentation fault when you try to run the program, since your printf format spec has %s, but you're passing it a char. In fact, if you compile it with -Wall, you'll see the two problems I've mentioned: t.c:13: warning: second argument of 'main' should be 'char **' t.c: In function 'main': t.c:20: warning: format '%s' expects type 'char *', but argument 2 has type 'int' Change char argv[] to char *argv[] or char **argv and it should work properly. Note also that your main should have an int return type and should return a value. Regards, Josh you got it; as far as i know this is the first time that i've ever done the char argv[] instead of the char *argv[]. thanks! gary :x ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.41a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Crontab for different ime zones
Hi, Is there a way to start jobs with cron using different a time-zone different from local time zone? I am in a TZ that has no Daylight Savings Time, and would like to start a job (reccording of a web cast) in a TZ that has DST (so with a time difference that changes along the year). Is there an automatic/intelligent way to do that? Best regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Crontab for different ime zones
On Tuesday 31 March 2009 06:52:29 Olivier Nicole wrote: Hi, Is there a way to start jobs with cron using different a time-zone different from local time zone? I am in a TZ that has no Daylight Savings Time, and would like to start a job (reccording of a web cast) in a TZ that has DST (so with a time difference that changes along the year). Is there an automatic/intelligent way to do that? Not that I know of, yet since timezones only change twice a year you can look up the changes for the coming year and adjust the crontab accordingly. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Trouble building NanoBSD image for Soekris 5501 (sio.c error)
On Monday 30 March 2009 23:44:24 Dave Pascoe wrote: Hi- I am trying to build a NanoBSD image for a Soekris net5501 from FreeBSD-7.1 stable. Build world finishes but the kernel build fails trying to compile sio.c (see error below) I don't see a note in UPDATING about tty in -STABLE, but -HEAD contains an entry about the new tty stack. It is possible these changes have now been backported as the errors point there. You may want to check the -stable mailing list. From -HEAD's UPDATING: 20080820: The TTY subsystem of the kernel has been replaced by a new implementation, which provides better scalability and an improved driver model. Most common drivers have been migrated to the new TTY subsystem, while others have not. The following drivers have not yet been ported to the new TTY layer: PCI/ISA: cy, digi, rc, rp, sio USB: ubser, ucycom Line disciplines: ng_h4, ng_tty, ppp, sl, snp Adding these drivers to your kernel configuration file shall cause compilation to fail. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: The easiest way to install Pound on FreeBSD
On Tuesday 31 March 2009 05:02:50 Olivier Nicole wrote: Hi, Here is the easiest way i found to install Pound on FreeBSD (6.4 amd64). - install OpenSSL from /usr/ports/security/openssl - in /usr/local/openssl add a link to /usr/local/include and /usr/local/lib - modify /usr/ports/www/pound/Makefile and add a line saying: CONFIGURE_ARGS+=--with-ssl=/usr/local/openssl - install Pound from /usr/ports/www/pound/ The modification to the Makefile will have to be done after every upgrade of the ports tree; before upgrading Pound. Or: .if !empty(.CURDIR:M/usr/ports/www/pound) WITH_OPENSSL_PORT=yes .endif Ideally, the MAINTAINER should be pinged and set WITH_OPENSSL_PORT=yes in the Makefile, if port is BROKEN with base ssl. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: The easiest way to install Pound on FreeBSD
Hi, Ideally, the MAINTAINER should be pinged and set WITH_OPENSSL_PORT=yes in the Makefile, if port is BROKEN with base ssl. I informed the maintenar too, I was just suggesting a workaround. Bests, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org