Re: How do you keep users from stealing other user's ip??
Hi, Ok here's our problems. Mostly pertaining to tracking down who is this user eating up our bandwidth or who is this user flooding our network. 1. Users when they want to plug a machine to the network... let's say their own testbeds, they will choose whatever ip they want possibly stealing used ip's. 2. Users workstations are mixed Windows and *nixes. Most windows machines are getting infected with worm from time to time... Some of them are not so skillful enough to clean their own workstations. Given an unmanaged ip allocation, it would also be hard to trace which machines are causing the network congestion. 3. Some users with public workstations and testbeds are eating up bandwidth through file sharing...Still hard to trace this without proper ip allocation management. Erik Nørgaard [EMAIL PROTECTED] wrote: I once set up such a solution in a student house with about 120 users. People had their own private pcs so we couldn't just take away their admin rights on their own pc. Now, question to ask: - Are all users legitimate users? Do users have friends coming in and connect to the network? is it wired or do you have neighbors trying to use the net also? - What is the benefit of stealing another users ip? Do you have limitations on access such as download? Is it to hide behind another user? In our case we had a wired network, so all users was legitimate users, but we had a limitation on download so some users would try to use their neighbors ip to get more quota. What we did was: 1) Static ip assigned with dhcp - people wouldn't need to learn to configure their computer. 2) Static arp table on router, to spoof, one would have to spoof mac-address. 3) Require registration of all hosts owned by the user: To hold users accountable for their hosts. 4) Count traffic per host, up and download, this was done with ipfilter. 5) Make current usage visible, the users could always check their quota and knew when they hit the limit. That way they didn't get surprises and annoyed. This actually worked fine. It was sufficiently complicated to spoof that people wouldn't bother. A different and possibly better way around this would be to limit bandwidth for ports higher than 1023, this is where most file sharing takes place. You can do that with packet filter, I still haven't figured how to effectively implement traffic quotas on packet filter as accounting is not so easy. If your concerns are people trying to hide behind others identity, or unauthorized access such as if you have a wireless lan, then there are two good options: 1) Use authpf with packet filter. This requires the user to authenticate with the firewall to get access. No proxy needed. 2) Let each client establish a VPN to the router, this have the advantage of also encrypting traffic if you have a wireless or non-switched network. Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt Subject ID: 9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72 Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9 - New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do you keep users from stealing other user's ip??
1. Users when they want to plug a machine to the network... let's 1. say their own testbeds, they will choose whatever ip they want 1. possibly stealing used ip's. Use DHCP, then users do not have to choose an IP, it is given to them. Plus it gives them all parameterstheyneed to configure their machineto acces the network (like netmask, gateway, DNS...) DHCP keeps logs of what IP wasassigne to what machine (for Windows you have the windows name of the machine) so you can track what is what down. If you are dealing with users that have little knowledge and not with hackers (and it seems to be your case) DHCPo will solve 90% of your problems. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do you keep users from stealing other user's ip??
Mark Jayson Alvarez wrote: Hi, Ok here's our problems. Mostly pertaining to tracking down who is this user eating up our bandwidth or who is this user flooding our network. 1. Users when they want to plug a machine to the network... let's say their own testbeds, they will choose whatever ip they want possibly stealing used ip's. 2. Users workstations are mixed Windows and *nixes. Most windows machines are getting infected with worm from time to time... Some of them are not so skillful enough to clean their own workstations. Given an unmanaged ip allocation, it would also be hard to trace which machines are causing the network congestion. 3. Some users with public workstations and testbeds are eating up bandwidth through file sharing...Still hard to trace this without proper ip allocation management. If the problem is that users choose occupied ips by accident rather than by bad will, then use dhcp. Windows users and novices will thank you for not having to deal with the configuration and you can say just plug it in and it works. If you want to make people aware of what it means to be on the network, register their hosts with mac address and have them sign a paper with your AUP. Track changes with arpwatch. Assign a segment of your address space to testbeds, tell people who want to experiment that they choose an ip in that segment. That segment should be blocked or only have access to limited services such as dns, ftp and http. Block all access to port 25 on internet to make sure that mail is sent through your mailserver. Require authentication for smtp. This means that at least you won't spread the viruses that infect the windows clients. Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt Subject ID: 9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72 Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: encrypted drives
On Wed, Mar 22, 2006 at 10:14:32AM +0100, Erik Norgaard wrote: home partition which is fine for single user laptops, but on multiuser systems, each home directory should be distinct encrypted partitions in order not to disclose data to other users. Maybe I'm wrong, but what happened with file system permissions? :-) You can encrypt /home and then set 0700 permissions on user home directories. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: encrypted drives
Igor Robul wrote: On Wed, Mar 22, 2006 at 10:14:32AM +0100, Erik Norgaard wrote: home partition which is fine for single user laptops, but on multiuser systems, each home directory should be distinct encrypted partitions in order not to disclose data to other users. Maybe I'm wrong, but what happened with file system permissions? :-) You can encrypt /home and then set 0700 permissions on user home directories. It is not that file permissions doesn't work but having data that is not yours unencrypted lowers the barrier for trespassing. Evil admins - even if only temporarily evil - can access data they shouldn't. On any system I share I would prefer to know that when I'm not there not even the sysadmin can access them. And I believe that anyone would prefer that. Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt Subject ID: 9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72 Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Process stuck in START state
Hello, I have a process which I cannot kill. It is stuck in the START state. Top shows this: 37028 frem 1 1000 0K 0K START5:20 6.54% acroread and ps shows this: frem37028 6.5 0.0 0 0 v0 RE2:40PM 5:20.33 [acroread] There is no entry for this pid under /proc. How do I actually kill this process? It's been running for over a day now. I'm using FreeBSD 6.0 Release. Thanks, Frem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Watchdog Timeouts on NIC?
On 3/24/06, Frank [EMAIL PROTECTED] wrote: I have recently upgraded an old box (400mhz AMD-K6) from 4.11-RELEASE to 6.0-RELEASE, I am constantly getting watchdog timeouts on my NIC and subsequently my networking... is not working on this machine any more. I am using a 3com 3c905B-TX NIC. Please advise. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I have the same problem with my onboard sis0. After googling, I found out that it probably means that the nic is getting old/weared/bad quality. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
USR 56k Internal WinModem
How can I set up (if I can do it at all :)) my US Robotics winmodem? I use FreeBSD 6.0 stable. Here's what says pciconf: [EMAIL PROTECTED]:2:0: class=0x078000 card=0x008112b9 chip=0x100612b9 rev=0x00 hdr=0x00 vendor = '3COM Corp, Modem Division (Formerly US Robotics)' device = 'USR 56k Internal WinModem' class= simple comms I've found no drivers for it... Best regards, Dmitry Pisklov Developer StarSoft Development Labs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FYI: Threading Messages Correctly on Thunderbird
Hi Sergey, Thanks for your help! I experimented with Thunderbird (v1.0.7 -- which does not have an In-Reply-To field) and found that Reply-To apparently worked, though, as you point out, it is not a perfect solution! Perhaps Thunderbird 1.5 allows the setting of an In-Reply-To field? Have to give it a try. Out of interest, what mailing program do you use? Thanks Cheers, Jarrod. PS. freebsd-questions gets too much traffic to turn off digest mode! :) Sergey Zaharchenko wrote: Hello Jarrod! Tue, Mar 21, 2006 at 09:46:53AM +0900 you wrote: Reply-To: [EMAIL PROTECTED] You need to put the threading info in the `In-Reply-To' field, not in `Reply-To' field:) Or, if possible at all, disable digest mode. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USR 56k Internal WinModem
Dmitry Pisklov wrote: How can I set up (if I can do it at all :)) my US Robotics winmodem? I use FreeBSD 6.0 stable. Here's what says pciconf: [EMAIL PROTECTED]:2:0: class=0x078000 card=0x008112b9 chip=0x100612b9 rev=0x00 hdr=0x00 vendor = '3COM Corp, Modem Division (Formerly US Robotics)' device = 'USR 56k Internal WinModem' class= simple comms I've found no drivers for it... Best regards, šš Dmitry Pisklov šš Developer šš StarSoft Development Labs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I am sorry to say you are facing an uphill battle. There is very little support for host-based modems. I have the same problem with my Conexxant modem that came with my cheap little Dell computer, which by the way FreeBSD does a great job of supporting. --Duane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cheap FreeBSD hosting?
Nathan Vidican wrote: Personally, I go the dedicated server route; you can get a decent dedicated or semi-dedicated FreeBSD server for less than $50 if you want cheap... average rate runs about $100/month for a dedicated server though. Although I have goggled and have been keeping an eye out, I have not seen any prices at the $50 level. Can you provide links to sub-$100 dedicated offerings? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: help with libpthread
Robert Huff wrote: Who is the correct person to talk to about possible issues with libpthread? In case you don't get a more specific answer, there are threads on hackers@ at the moment talking about various thread libraries so it would seem to be *a* place where you can find knowledgeable people. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: smb_maperror unmapped error 1:158
Steel City Phantom wrote: im using bsd 6. i write a script that fires on startup and shutdown that mounts the drives. i mount several, but here is one of the mount commands mount_smbfs -f 0777 -d 0777 //[EMAIL PROTECTED]/MP3 /usr/local/drive_h/MP3 it seems like anything that accesses a file in that share will create the error. Lowell Gilbert wrote: FYI, you don't need to write a script. I would guess that 6.0 is the same as 5.4 in this respect. You can set a variable in rc.conf extra_netfs_types=smbfs:SAMBA and then put any password info in /etc/nsmb.conf (read-only root!). Then put an entry in /etc/fstab like: //[EMAIL PROTECTED]/MP3 /usr/local/drive_h/MP3 smbfs rw 0 0 If /usr/local/drive_h/MP3 is mode 777 then you don't need -f or -d Connecting as administrator seems like a bad idea to me. I have no idea what causes your error. What does a mount which works look like, and how does anything on Windows differ between a mount that works and one that doesn't? --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: which jdk?
Miguel schrieb: hi, i need to install tomcat 5 in a client's server running freebsd-6.0R, i know there is a port in /usr/ports/www/tomcat55, so far so good, in http://www.freebsd.org/java/ there are many options, which one do you recommend, native?: --- miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I have jdk 1.4 and tomcat 5.0 on FreeBSD 4.11-Release running now for months without problems. I'm just starting to test 1.5/5.5 on 6.0R and built jdk-1.5 successfully, but it is beta. Otherwise 1.3/1.4 is said to be used at their own risk... Ben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NOT Threading Messages Correctly on Thunderbird
Hi Sergey, Hint: it's not a solution at all:) Well I did test the process in the freebsd-test group and managed to get my messages threading ok, but perhaps something else was at play? I may have to check sylpheed out. Thanks and apologies for the mis-information. Regards, Jarrod. Sergey Zaharchenko wrote: Hello Jarrod! Fri, Mar 24, 2006 at 08:16:26PM +0900 you wrote: Hi Sergey, Thanks for your help! I experimented with Thunderbird (v1.0.7 -- which does not have an In-Reply-To field) and found that Reply-To apparently worked, though, as you point out, it is not a perfect solution! Hint: it's not a solution at all:) Perhaps Thunderbird 1.5 allows the setting of an In-Reply-To field? Have to give it a try. Out of interest, what mailing program do you use? Mutt. You can look in the User-Agent field of a message to see what program the poster is using (sometimes, at least). I also used Sylpheed-claws, which is graphical, when Mutt isn't, but I don't know it it allows you to insert custom header fields, when Mutt does. HTH, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: USR 56k Internal WinModem
Internal modems are manufactured for two target markets, MS/Windows and every thing else. Winmodems are cheep because the hardware controller function is handled by the software you have to install into windows. This hardware controller function is contained in a chip on the modem circuit board. Winmodems are missing this chip and have a replacement chip that directs the modem to use driver software running in the windows system to perform the controller function. The most common replacement chip is manufactured by Lucent. There are many versions of this Lucent chip each version needing a different software driver version. Up until version 4.4, FBSD did not have any solution to using Winmodems, but with the release of 4.4 the ports collection contains the Linux Winmodem 'ltmdm' driver which was ported to FBSD. This port is very poorly documented, only works with a limited number of Lucent chip version, and is unreliable. Your whole internet connection is managed by your modem and trying to shoe horn a modem specially manufactured for the MS/Windows operating system into FBSD is not the way to achieve a satisfactory dialup connection. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dmitry Pisklov Sent: Friday, March 24, 2006 5:59 AM To: freebsd-questions@freebsd.org Subject: USR 56k Internal WinModem How can I set up (if I can do it at all :)) my US Robotics winmodem? I use FreeBSD 6.0 stable. Here's what says pciconf: [EMAIL PROTECTED]:2:0: class=0x078000 card=0x008112b9 chip=0x100612b9 rev=0x00 hdr=0x00 vendor = '3COM Corp, Modem Division (Formerly US Robotics)' device = 'USR 56k Internal WinModem' class= simple comms I've found no drivers for it... Best regards, Dmitry Pisklov Developer StarSoft Development Labs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
KDE App Launcher
How do I get KDE to run this command: setenv SDL_VIDEO_X11_DGAMOUSE 0; setenv QEMU_AUDIO_DRV sdl; nice +5 qemu -soundhw es1370 ~/qemu/win98se/win98se_disk.img or this: export SDL_VIDEO_X11_DGAMOUSE=0; export QEMU_AUDIO_DRV=sdl ; nice +5 nohup qemu -soundhw es1370 ~/qemu/win98se/win98se_disk.img Or this, win98se_start.sh: #!/bin/sh export SDL_VIDEO_X11_DGAMOUSE=0 export QEMU_AUDIO_DRV=sdl nohup qemu -soundhw es1370 ~/qemu/win98se/win98se_disk.img exit I can't get any of them to work, I've tried other permutations too. The only way I got it to work is if I tell it to run in a term window, but I don't want that. -- BSD Podcasts @ http://bsdtalk.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS control tools
Steve wrote: Wednesday, March 22, 2006 6:15 PM Subject: DNS control tools Someone is potentially interested in leasing a domain name from me. One of the technical points is DNS control. What DNS tools exist that would allow me to maintain the DNS servers, but let this party login and administer DNS entries. I'm thinking along the lines of some sort of web-based tool. A user would login / authenticate themselves, but the tool would limit the domains they could manage in some fashion. Regards, -- Steve Camp [EMAIL PROTECTED] Steve, have a look at Webmin. You can create client views in the bind module allowing a very granular access to specific domains. Access can be limited to just the bind module, for specific clients, for specific domains, from specific IP addresses if needed. Jon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDE App Launcher
Nikolas Britton wrote: How do I get KDE to run this command: setenv SDL_VIDEO_X11_DGAMOUSE 0; setenv QEMU_AUDIO_DRV sdl; nice +5 qemu -soundhw es1370 ~/qemu/win98se/win98se_disk.img or this: export SDL_VIDEO_X11_DGAMOUSE=0; export QEMU_AUDIO_DRV=sdl ; nice +5 nohup qemu -soundhw es1370 ~/qemu/win98se/win98se_disk.img Or this, win98se_start.sh: #!/bin/sh export SDL_VIDEO_X11_DGAMOUSE=0 export QEMU_AUDIO_DRV=sdl nohup qemu -soundhw es1370 ~/qemu/win98se/win98se_disk.img exit I can't get any of them to work, I've tried other permutations too. The only way I got it to work is if I tell it to run in a term window, but I don't want that. setenv is csh; export is /bin/sh. Don't confuse the two or else you will be doomed to wander endlessly in confusion. :-) / 2 For /bin/sh, you can't export a variable on the line you set it; that's an extension found in bash, ksh, and zsh, but is not part of the original sh: #!/bin/sh SDL_VIDEO_X11_DGAMOUSE=0 export SDL_VIDEO_X11_DGAMOUSE QEMU_AUDIO_DRV=sdl export QEMU_AUDIO_DRV nohup qemu -soundhw es1370 ~/qemu/win98se/win98se_disk.img -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
root authentication FreeBSD NIS client
Dear All, I have set up an OpenBSD NIS server which is working as expected. However, there is one point I have not understood yet. My NIS clients are FreeBSD stations. I have added an entry at the bottom of /etc/passwd to request NIS authentication. But the behaviour of the root account authentication is somewhat different. If I login from the console, it uses the local root password. However, if use the su - command, it uses NIS authentication. Is there a way to tell FreeBSD to use only local password for the root account? Thanks in advance. Best regards, José Fragoso -- ___ Play 100s of games for FREE! http://games.mail.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.1 - mount_nullfs broken?
On Thu, Mar 23, 2006 at 04:31:08PM -0600, Viren Patel wrote: Hello. I just upgraded a FreeBSD 6.0 system to 6.1-prerelease and now mount_nullfs seems to be broken. I get the error mount_nullfs: Operation not supported by device. Nothing has changed in the hardware or the config files. Here is the output dmesg: It's definitely working. Show us the exact command you're running. Kris Thanks for your reply. Basically I run the ezjail.sh script and I've shown the disk layout before and after. I also tried running mount_nullfs directly and got the same results. # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad6s1a1.9G 80M1.7G 4%/ devfs 1.0K1.0K 0B 100%/dev /dev/ad6s1g202G245M186G 0%/export /dev/ad6s1f3.9G 18K3.6G 0%/home /dev/ad6s1e7.7G1.9G5.2G27%/usr /dev/ad6s1d7.7G 42M7.1G 1%/var # /usr/local/etc/rc.d/ezjail.sh start ezjailConfiguring jails: set_hostname_allow=YES. Starting jails:mount_nullfs: Operation not supported by device . # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad6s1a1.9G 80M1.7G 4%/ devfs 1.0K1.0K 0B 100%/dev /dev/ad6s1g202G245M186G 0%/export /dev/ad6s1f3.9G 18K3.6G 0%/home /dev/ad6s1e7.7G1.9G5.2G27%/usr /dev/ad6s1d7.7G 42M7.1G 1%/var devfs 1.0K1.0K 0B 100% /export/jails/testjail/dev # umount /export/jails/testjail/dev # mount_nullfs -o ro /export/jails/basejail /export/jails/testjail/basejail mount_nullfs: Operation not supported by device After looking at the dmesg output more closely one discrepancy I found was the second last line: ad6: 238475MB WDC WD2500JS-55MHB0 02.01C03 at ata3-master SATA300 It was definitely SATA150 under FreeBSD 6.0, even after updates. So maybe a problem in the SATA300 driver? Viren ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to start a script running at boot time?
I know I can do something like: su - user -c script_to_run But I don't even know what's the best place to include that. Look inside file /etc/rc.conf line 54. You can create file /etc/rc.conf.local and insert your code there. Remember to add appropriate shell interpreter and apply permission to this newly created file. Regards, Anthony M. Rasat PT. Kalteng Pos Press Palangkaraya - Indonesia.- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: undefined variable error on startup
Troy [EMAIL PROTECTED] writes: I'm trying to track down an error I see upon booting. Mar 18 14:49:01 server term: Undefined variable I'm not sure what file and what term variable is being set so I can comment it out. Any help on how I can track this down I'd appreciate. Looking at what is just before and just after that message will probably give you a reasonably close idea of where the problem is. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Number of routing tables
Valerio daelli [EMAIL PROTECTED] writes: Hello I would like to know if exists a sysctl to get the number of routing tables in the kernel. I don't want the list of the routing tables, I just want the number. The command 'netstat -rn|wc -l' could be a good candidate, but since I want to implement this command on a very busy router, I don't want it to go 100% CPU just to get a simple count. If it doesn't exist I will create something based on netstat's source. Thanks a million (routes) I don't think there's a count maintained. [And as a developer of large commercial routers, I haven't had a customer ask for a feature like that, although I do have them for debugging purposes.] If you're worried about the processing load of the brute force solution, just lower the scheduling priority. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backup Up On Unreliable Link
Noah [EMAIL PROTECTED] writes: Hi there, No response so far on the rdiff-backup mail list. Does anybody have experience and/or recommendations and/or scripts that could help somebody who usning rdiff-backup up across an unreliable link? If rdiff-backup fails in the middle of a backup it regresses to the last backup that finished successfully. If you are running this across an unreliable link you could consistently have a partial backup. I would like to know if there are systems to solving this situation. Hope to get some input from other users. It depends on exactly what form of unreliability you are dealing with on the connection. One simple strategy you might try is to break the backup into smaller pieces (and run them sequentially). That still leaves you with partial backups in case of a failure, but you get better checkpointing capability. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.0-RELEASE AMD64 where is VESA support ?
TonicWater [EMAIL PROTECTED] writes: Why options VESA not work in FreeBSD 6.0-RELEASE for AMD64 ??? How make 1024x768 video mode or other mode in console ? What did you try? Did you install the kernel module? If you've followed the same technique that works with i386, you may need to ask the amd64 list... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with Hard Disk
victor leon [EMAIL PROTECTED] writes: Hi i would like to install Freebsd 6.0 but my Hard Disk (SAMSUNG ST0822N 80 GB) is not detected (im using it to write this mail) sorry my english is not good see you Victor Leon The problem may be your disk controller rather than the disk. There have been a number of improvements in this area in recent months; try 6.1 (currently in prerelease) to see if it works better. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDE App Launcher
Chuck Swiger [EMAIL PROTECTED] writes: For /bin/sh, you can't export a variable on the line you set it; that's an extension found in bash, ksh, and zsh, but is not part of the original sh: It is, however, supported by *FreeBSD*'s /bin/sh. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 6.1/AMD64: Celestia 1.3.2/1.4.1 not working?
Hello. Compiling port Celestia 1.3.2 on FreeBSD 6.1-PRE/i386 works fine, but while compiling works on FreeBSD 6.1-PRE/AMD64, starting application results in segmentation fault: Signal 11. This leads me into conclusion Celestia 1.3.2 is not 64 Bit clean. Therefore, I tried compiling the sources of Celestia 1.4.1 taken from www.shatters.net on FreeBSD 6.1/i386, but this task ends up in compiler errors: -- Making all in cel3ds if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -Wnon-virtual-dtor -Wno-long-lon g -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -pipe -pthread -march=pentium4 -ffast-math -fno-strict-aliasing -fno-exceptions -fno- check-new -fno-common -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-fr ame-pointer -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/atk-1.0 -I/usr/loc al/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/incl ude/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/i nclude -I/usr/X11R6/include/gtkglext-1.0 -I/usr/X11R6/lib/gtkglext-1.0/include -I/usr/local/include/cairo -MT 3dsread.o -MD -MP -MF .deps/3dsread.Tpo -c - o 3dsread.o `test -f '3dsread.cpp' || echo './'`3dsread.cpp; then mv -f .deps/ 3dsread.Tpo .deps/3dsread.Po; else rm -f .deps/3dsread.Tpo; exit 1; fi In file included from ../celutil/bytes.h:15, from 3dsread.cpp:15: ../../config.h:256: error: declaration of C function `long unsigned int strlcat( char*, const char*, long unsigned int)' conflicts with /usr/include/string.h:87: error: previous declaration `size_t strlcat(char*, con st char*, size_t)' here ../../config.h:268: error: declaration of C function `long unsigned int strlcpy( char*, const char*, long unsigned int)' conflicts with /usr/include/string.h:88: error: previous declaration `size_t strlcpy(char*, con st char*, size_t)' here 3dsread.cpp:514: warning: unused parameter 'contentSize' 3dsread.cpp:490: warning: unused parameter 'contentSize' 3dsread.cpp:344: warning: unused parameter 'contentSize' 3dsread.cpp:308: warning: unused parameter 'in' 3dsread.cpp:308: warning: unused parameter 'chunkType' 3dsread.cpp:308: warning: unused parameter 'contentSize' 3dsread.cpp:308: warning: unused parameter 'obj' 3dsread.cpp:276: warning: unused parameter 'nBytes' 3dsread.cpp:264: warning: unused parameter 'nBytes' 3dsread.cpp:252: warning: unused parameter 'nBytes' 3dsread.cpp:119: warning: unused parameter 'chunkSize' ../celutil/bytes.h:24: warning: 'short unsigned int bswap_16(short unsigned int) ' defined but not used ../celutil/bytes.h:28: warning: 'unsigned int bswap_32(unsigned int)' defined but not used *** Error code 1 Stop in /usr/data/gnu/compile/system/celestia-1.4.1/src/cel3ds. *** Error code 1 Stop in /usr/data/gnu/compile/system/celestia-1.4.1/src. *** Error code 1 Stop in /usr/data/gnu/compile/system/celestia-1.4.1. *** Error code 1 Stop in /usr/data/gnu/compile/system/celestia-1.4.1. -- This looks like a very simple mistake where config.h overwrites declarations done via string.h, but I'm not sure. Compiling the same port on a box with same software releases, but amd64, results in very different errors (not just here, due to the fact the box is at home). Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: encrypted drives
On Fri, Mar 24, 2006 at 09:45:07AM +0100, Erik Norgaard wrote: It is not that file permissions doesn't work but having data that is not yours unencrypted lowers the barrier for trespassing. Evil admins - even if only temporarily evil - can access data they shouldn't. If you setup some automounting of encrypted user home directories, then there are two cases: 1) user must enter some additional password/key for encrypted device 2) user does not need additional password. In (2) case all user private keys are accessible by evil admin, so he can mount user's home directory. In (1) case evil admin can setup keylogger etc., to log all user input including passwords and still have access to user's files. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDE App Launcher
Lowell Gilbert wrote: Chuck Swiger [EMAIL PROTECTED] writes: For /bin/sh, you can't export a variable on the line you set it; that's an extension found in bash, ksh, and zsh, but is not part of the original sh: It is, however, supported by *FreeBSD*'s /bin/sh. Even back in 4.x? Hmm, seems so, I guess you're right. Thanks for the clarification, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: which jdk?
Benjamin Thelen wrote: Miguel schrieb: hi, i need to install tomcat 5 in a client's server running freebsd-6.0R, i know there is a port in /usr/ports/www/tomcat55, so far so good, in http://www.freebsd.org/java/ there are many options, which one do you recommend, native?: --- miguel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I have jdk 1.4 and tomcat 5.0 on FreeBSD 4.11-Release running now for months without problems. I'm just starting to test 1.5/5.5 on 6.0R and built jdk-1.5 successfully, but it is beta. Otherwise 1.3/1.4 is said to be used at their own risk... Ben I tried /usr/ports/java/jdk14 but it tries to install the linux binary === Applying extra patch /usr/ports/java/jdk14/files/disable-ipv6.patch === Applying FreeBSD patches for jdk-1.4.2p8_3 === jdk-1.4.2p8_3 depends on executable: gm4 - found === jdk-1.4.2p8_3 depends on executable: zip - found === jdk-1.4.2p8_3 depends on file: /usr/local/include/nspr/prtypes.h - found === jdk-1.4.2p8_3 depends on file: /usr/X11R6/lib/libXm.so - found === jdk-1.4.2p8_3 depends on file: /usr/local/linux-sun-jdk1.4.2/bin/javac - not found ===Verifying install for /usr/local/linux-sun-jdk1.4.2/bin/javac in /usr/ports/java/linux-sun-jdk14 === linux-sun-jdk-1.4.2.10 You must manually fetch the J2SE SDK self-extracting file for the Linux platform (j2sdk-1_4_2_10-linux-i586.bin) from http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22PartDetailId=j2sdk-1.4.2_10-oth-JPRSiteId=JSCTransactionId=noreg, place it in /usr/ports/distfiles and then run make again. *** Error code 1 Stop in /usr/ports/java/linux-sun-jdk14. *** Error code 1 Stop in /usr/ports/java/jdk14. WTF??, i dont want linux binary, i want freebsd native port, did i miss some -D option?, can you send the bare commands you used to install them? thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: which jdk?
Miguel writes: I tried /usr/ports/java/jdk14 but it tries to install the linux binary 1) You need a working Java to build a working Java. 2) Due to restrictions from Sun, there is no FreeBSD native JDK _package_. 3) So, to build the 1.4 (or 1.5) _port_, we install the Linux 1.4 package and use it to compile the code. Once the native port has built successfully, you can delete the Linux port. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: business of BSDmall
fbsd_user wrote: BSD mall is separate company. This questions list has nothing to do with it. That's very true, but it may be of general interest that the site has had some service issues. I tried to order some stuff there a year or two ago and while they did (eventually) answer my repeated queries about the order, it was not a happy experience for me. After more than a month of going in circles and getting nowhere, I had to instruct my credit card company to negate the charges (as the card had been charged even though my order had not shipped). The mall folks were nice enough about it when they did finally reply, but their action on the problem came way, way, way too late to be considered reasonable. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of antonio zacca Sent: Thursday, March 23, 2006 9:05 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: business of BSDmall Hello I am a consummer from JP and have shopping a CD for FreeBSD4.9 on BSDmall where linked from this site. I am sure to remember date of order is end of FEB so Its been almost all a month but nothing to reach me from BSDmall. I sent e-mail to them twice for checking of shipping for my order but even no answer. now what I want to ask here is BSDmall is working or not? if they are working with no torable why they ignore me? credit card company already have charged for this shopping. I know It takes approx ten to couple of weeks for trancportation from US to JP coz I have often shoped from Oversee particuler from US alots. if someone have time and get my hand for me please thanks for any reply PS: my name is Yoshiya Imai I have no infomation of order coz BSDmall never have sent any e-mail to me ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remote Single User Mode?
Chris wrote: On 23/03/06, Chris Maness [EMAIL PROTECTED] wrote: Eric Schultz wrote: Kris Kennaway wrote: On Wed, Mar 22, 2006 at 10:11:48AM -0800, Chris Maness wrote: I administer this box by remote. Look into setting up a serial console; this is the remote single user mode you're looking for. Good morning... How remote is remote? If it's just down the hall you can probably get a DB25/DB9 (depending on the machine) to RJ45 adapter and use existing CAT5 cable to get to a serial console to your desk. There even exist serial RJ45 switch boxes if you have several machines to remote administer. If it's farther than that, like in another building/city/etc. you can always setup a modem on the box's serial port and dial in to that. You'll need a modem at your end too, which means either an analog line or a analog-to-digital tap for your office phone. I have no idea whether there any serial-over-IP solutions. But you could build one with FreeBSD!!! I have a slave name server at the same location. Maybe I can run a serial cable with a crosover between the two of them. ___ I think the docs are just playing safe, I admin over 10 servers and have remote updated each one at least once, I have never had any problems doing all this in multi user mode. make buildworld make buildkernel make installkernel reboot mergemaster -p make installworld mergemaster -iv reboot Chris Yep, I went ahead and did it in multi user mode. No problems. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: smb_maperror unmapped error 1:158
i mount with the script because when i tried it with fstab, it would only mount read only. even when i specified rw in the options. i tried everything i could think of to get write access to it and doing the script like this was the only thing that worked. and admin is no problem. this is a single little winblows box on a home network. its purpose in life is to store these files and run quickbooks thru terminal sessions. thats it. im waiting patiently for the wine crew to get quickbooks running. Alex Zbyslaw wrote: Steel City Phantom wrote: im using bsd 6. i write a script that fires on startup and shutdown that mounts the drives. i mount several, but here is one of the mount commands mount_smbfs -f 0777 -d 0777 //[EMAIL PROTECTED]/MP3 /usr/local/drive_h/MP3 it seems like anything that accesses a file in that share will create the error. Lowell Gilbert wrote: FYI, you don't need to write a script. I would guess that 6.0 is the same as 5.4 in this respect. You can set a variable in rc.conf extra_netfs_types=smbfs:SAMBA and then put any password info in /etc/nsmb.conf (read-only root!). Then put an entry in /etc/fstab like: //[EMAIL PROTECTED]/MP3 /usr/local/drive_h/MP3 smbfs rw 0 0 If /usr/local/drive_h/MP3 is mode 777 then you don't need -f or -d Connecting as administrator seems like a bad idea to me. I have no idea what causes your error. What does a mount which works look like, and how does anything on Windows differ between a mount that works and one that doesn't? --Alex ___ 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: smb_maperror unmapped error 1:158
Steel City Phantom wrote: i mount with the script because when i tried it with fstab, it would only mount read only. even when i specified rw in the options. i tried everything i could think of to get write access to it and doing the script like this was the only thing that worked. and admin is no problem. this is a single little winblows box on a home network. its purpose in life is to store these files and run quickbooks thru terminal sessions. thats it. im waiting patiently for the wine crew to get quickbooks running. Well, I quite successfully mount samba partitions read write from fstab. Whan mounting from fstab, the relevant rc.d script does pretty much exactly what your hand-written script does, so there's no reason it shouldn't work. Have you considered that that your problems mounting rw from fstab, and the error you get now *might be related*? It really sounds to me like something is configured wrong on the windows end. Good luck with figuring out what :-( --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cheap FreeBSD hosting?
On Friday, March 24, 2006, at 02:30AM, Pete Slagle [EMAIL PROTECTED] wrote: Although I have goggled and have been keeping an eye out, I have not seen any prices at the $50 level. Can you provide links to sub-$100 dedicated offerings? I haven't seen anything with that much disk space that cheep. I host one of the sites I work with at: http://www.quadrahosting.com/hosting/unix.html They have been very good for us, but their plans offer way less disk space than you are looking for. $8/month for what you were getting was a steal. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update $Date: 2005/08/10 02:21:44 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. = Contents: I:Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions or -hackers? IV: How to submit a question to FreeBSD-questions V:How to answer a question to FreeBSD-questions I: Introduction === This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the newcomers), and also those who answer the questions (the hackers). Note that the term hacker has nothing to do with breaking into other people's computers. The correct term for the latter activity is cracker, but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions == When you subscribed to FreeBSD-questions, you got a welcome message from [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions@freebsd.org mailing list! If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED] (obviously, substitute your mail address for [EMAIL PROTECTED]). You can also make such adjustments via email by sending a message to: [EMAIL PROTECTED] with the word 'help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. Normally, Mailman will remind you of your freebsd.org mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send how to questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to
The Complete FreeBSD: errata and addenda
The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. The Complete FreeBSD has been through a total of five editions, including its predecessor Installing and Running FreeBSD. Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Note also that the book has now been released for free download in PDF form. Instead of downloading the changed pages, you may prefer to download the entire book. See http://www.lemis.com/grog/Documentation/CFBSD/ for more information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm no longer constantly updating it, but I may be able to help Greg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cheap FreeBSD hosting?
- Original Message - From: Pete Slagle [EMAIL PROTECTED] To: Nathan Vidican [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, March 24, 2006 3:29 AM Subject: Re: Cheap FreeBSD hosting? Nathan Vidican wrote: Personally, I go the dedicated server route; you can get a decent dedicated or semi-dedicated FreeBSD server for less than $50 if you want cheap... average rate runs about $100/month for a dedicated server though. Although I have goggled and have been keeping an eye out, I have not seen any prices at the $50 level. Can you provide links to sub-$100 dedicated offerings? I use http://www.aplus.net and am happy with them. (If you do signup with them, please use my affiliate link so I can get a little money out of it http://affil.aplus.net/Affiliates/click.jsp?bid=119aid=1002121 ) Prior to that I used sago networks (sagonet.com) but left them due to reliability problems (their whole network was basically down for a day after an upgrade) And before that I used ev1servers.net. They were also good, but in terms of OS its basically take what they currently have in inventory when you sign up (they pre-install the servers rather than do it on demand) All have sub-$100 dedicated offerings -- some close to $50 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Process stuck in START state
On Fri, Mar 24, 2006 at 10:26:03AM +, Freminlins wrote: Hello, I have a process which I cannot kill. It is stuck in the START state. Top shows this: 37028 frem 1 1000 0K 0K START5:20 6.54% acroread and ps shows this: frem37028 6.5 0.0 0 0 v0 RE2:40PM 5:20.33 [acroread] There is no entry for this pid under /proc. How do I actually kill this process? It's been running for over a day now. I'm using FreeBSD 6.0 Release. It's a bug, I'm not sure if it's still present in 6.1. It's not actually continuing to use CPU though, so it's not too much to worry about. Kris pgpEmPjW2hY8K.pgp Description: PGP signature
portmanager configuration not working
Hi there, I am really not having luck with portmanager - even after following the man page. I use portmanager and set using the pm-020.conf for configuration. Even after explcitly ignoring the www/apache-* package it still wants to attempt to install apache-1.3.34_* and creating a conflict requiring manual intervention because apache+mod_ssl-1.3.34+2.8.25_3 is installed. what am I not understanding? --- snip --- # pkg_info | grep portmanager portmanager-0.4.1_5 FreeBSD installed ports status and safe update utility # ls -l /usr/local/etc/portmanager/ total 10 -rw--- 1 root wheel 1184 Mar 24 08:35 pm-020.conf -r--r--r-- 1 root wheel 1571 Mar 5 00:47 pm-020.conf.SAMPLE -rw--- 1 root wheel 1170 Mar 24 07:13 pm-020.conf~ -rw-r--r-- 1 root wheel 402 Mar 24 09:03 pm-039-pkg-tools.conf -rw--- 1 root wheel 1184 Mar 24 08:48 portmanager.conf_OLD # pkg_info | grep apache apache+mod_ssl-1.3.34+2.8.25_3 The Apache 1.3 webserver with SSL/TLS functionality apachetop-0.12.5Apache RealTime log stats # cat pm-020.conf | grep IGNORE IGNORE|www/apache-*| IGNORE|www/lynx-2*| --- snip --- cheers, Noah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.1 - mount_nullfs broken?
On Fri, Mar 24, 2006 at 08:05:31AM -0600, Viren Patel wrote: # umount /export/jails/testjail/dev # mount_nullfs -o ro /export/jails/basejail /export/jails/testjail/basejail mount_nullfs: Operation not supported by device After looking at the dmesg output more closely one discrepancy I found was the second last line: ad6: 238475MB WDC WD2500JS-55MHB0 02.01C03 at ata3-master SATA300 It was definitely SATA150 under FreeBSD 6.0, even after updates. So maybe a problem in the SATA300 driver? Unlikely. It looks like you don't have kernel nullfs support enabled. Kris pgp83KXFePtfV.pgp Description: PGP signature
Shell scripting question
I'm thinking about writing an rc.subr script that sucks in variables from a conf file. Since the rc.firewall script does just that, I thought I'd take a look at it. But I can't understand what it's doing. Here's the code: # Suck in the configuration variables. if [ -z ${source_rc_confs_defined} ]; then if [ -r /etc/defaults/rc.conf ]; then . /etc/defaults/rc.conf source_rc_confs elif [ -r /etc/rc.conf ]; then . /etc/rc.conf fi fi Neither rc.conf nor source_rc_confs appears anywhere else in the script, so how does this suck in the variables? And what does the syntax . /etc/rc.conf do? Here's what I understand so far. If the variable source_rc_confs_defined is a zero length string, then if /etc/defaults/rc.conf is readable, then do something with it. I have no idea what the next line source_rc_confs does. Else, if /etc/rc.conf is readable, then do something with that. Can someone explain what all this does please? Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Problem installing port
Hi, Could someone tell me why I get this error? su-2.05b# portinstall es-kde-i18n ** Port marked as IGNORE: misc/kde3-i18n-es: is marked as broken: Incorrect pkg-plist su-2.05b# Thaks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portmanager configuration and stunnel options
Hi there, I am trying to figure out the proper options and configuration syntax for the portmanager configuration file - pm-020.conf . I cant figure out what the proper stunnel switches to automatically keep the stunnel GID and UID. At hte moment stunnel requires manual intervention during each upgrade. I just want to keep the UID and GID as is and not delete them. How would I instruct portmanager to handle this gracefully. --- snip --- # pkg_info | grep portmanager portmanager-0.4.1_5 FreeBSD installed ports status and safe update utility --- snip --- cheers, Noah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem installing port
--On Friday, March 24, 2006 18:11:59 +0100 Matias Surdi [EMAIL PROTECTED] wrote: Hi, Could someone tell me why I get this error? su-2.05b# portinstall es-kde-i18n ** Port marked as IGNORE: misc/kde3-i18n-es: is marked as broken: Incorrect pkg-plist su-2.05b# The port is broken because the pkg-plist is incorrect. Until it's corrected, the port will remain marked broken. If you really need to install it anyway, you can use FORCE_PKG_REGISTER to get it to install. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: Shell scripting question
On Mar 24, 2006, at 12:12 PM, Paul Schmehl wrote: Neither rc.conf nor source_rc_confs appears anywhere else in the script, so how does this suck in the variables? And what does the syntax . /etc/rc.conf do? Your second question is the answer to your first question: . /etc/rc.conf ...or source _file_, means to read the file into the current shell and execute those commands. It's used to load the variables set in / etc/rc.conf. Here's what I understand so far. If the variable source_rc_confs_defined is a zero length string, then if /etc/ defaults/rc.conf is readable, then do something with it. I have no idea what the next line source_rc_confs does. Else, if /etc/ rc.conf is readable, then do something with that. Yes. Take a look at the end of /etc/defaults/rc.conf and /etc/ rc.subr... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Vanishing libraries - libgmodule-2.0.so.600
I have been using portupgrade with a new tree, initially portupgrade -Pa of which not all succeeded the first time round, largely because although necessary packages were present, necessary libraries had gone missing. This last time, after lengthy recompiling to get gnucash working, konqueror began reporting kio-slave i:o errors. I reinstalled kdelibs3 and its dependencies. It works again, but there is a marked loss of performance. Now kalarm reports missing libraries. A poster referred me to the /usr/ports/UPDATING notice on libtool, which I read with dismay. It indicates that automatic updaters should be used carefully. I only know what I have read in the Handbook and in the man page, and so can't yet aspire to this careful standard. I can't find agreement on a fix in the archives. As for kalarm: bsd# ldd /usr/local/bin/kalarm /usr/local/bin/kalarm: [snip] libgmodule-2.0.so.600 = not found (0x0) libgthread-2.0.so.600 = not found (0x0) I searched the archive. There is a thread about this here: http://lists.freebsd.org/mailman/htdig/freebsd-questions/2005-November/104464.html indicating that the problem is an improper port upgrade, in that ports relying on glib had not been updated. It suggests using the automatic processes that UPDATING says should be used with care. My best guess was: portupgrade -r glib-2.8.6_1 portupgrade -f glib-2.8.6_1 but these libraries remain missing. I will have to attempt this symlink solution for want of anything better, as I rely on kalarm, but does anyone have a better solution? Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: business of BSDmall
___antonio zacca wrote: PS: my name is Yoshiya Imai Maybe they had a hard time deciding _exactly_whom_ to ship the goods to? ;) Kevin Kinsey P.S. Take a look at the archives for the [EMAIL PROTECTED] mailing list, where a flame-fest on this subject has just taken place. One fellow stepped up in what might be called defense of BSDMall, and that might give you someone to at least ask about the issue. -- According to my best recollection, I don't remember. -- Vincent Jimmy Blue Eyes Alo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Vanishing libraries - libgmodule-2.0.so.600
Sending again from the address registered on this list. My apologies if this gets posted twice. -- I have been using portupgrade with a new tree, initially portupgrade -Pa of which not all succeeded the first time round, largely because although necessary packages were present, necessary libraries had gone missing. This last time, after lengthy recompiling to get gnucash working, konqueror began reporting kio-slave i:o errors. I reinstalled kdelibs3 and its dependencies. It works again, but there is a marked loss of performance. Now kalarm reports missing libraries. A poster referred me to the /usr/ports/UPDATING notice on libtool, which I read with dismay. It indicates that automatic updaters should be used carefully. I only know what I have read in the Handbook and in the man page, and so can't yet aspire to this careful standard. I can't find agreement on a fix in the archives. As for kalarm: bsd# ldd /usr/local/bin/kalarm /usr/local/bin/kalarm: [snip] libgmodule-2.0.so.600 = not found (0x0) libgthread-2.0.so.600 = not found (0x0) I searched the archive. There is a thread about this here: http://lists.freebsd.org/mailman/htdig/freebsd-questions/2005-November/104464.html indicating that the problem is an improper port upgrade, in that ports relying on glib had not been updated. It suggests using the automatic processes that UPDATING says should be used with care. My best guess was: portupgrade -r glib-2.8.6_1 portupgrade -f glib-2.8.6_1 but these libraries remain missing. I will have to attempt this symlink solution for want of anything better, as I rely on kalarm, but does anyone have a better solution? Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem installing port
Paul Schmehl wrote: --On Friday, March 24, 2006 18:11:59 +0100 Matias Surdi [EMAIL PROTECTED] wrote: Hi, Could someone tell me why I get this error? su-2.05b# portinstall es-kde-i18n ** Port marked as IGNORE: misc/kde3-i18n-es: is marked as broken: Incorrect pkg-plist su-2.05b# The port is broken because the pkg-plist is incorrect. Until it's corrected, the port will remain marked broken. If you really need to install it anyway, you can use FORCE_PKG_REGISTER to get it to install. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/ So, I just have to wait then... Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: eclipse looks for cairo.2 [CURED]
here: # make install clean === eclipse-3.1.2 depends on executable: ant - found === eclipse-3.1.2 depends on executable: zip - found === eclipse-3.1.2 depends on executable: unzip - found === eclipse-3.1.2 depends on executable: mozilla - found === eclipse-3.1.2 depends on file: /usr/local/jdk1.4.2/bin/java - found === eclipse-3.1.2 depends on executable: gmake - found === eclipse-3.1.2 depends on file: /usr/local/bin/intltool-extract - found === eclipse-3.1.2 depends on file: /usr/X11R6/libdata/pkgconfig/gnome-mime-data-2.0.pc - found === eclipse-3.1.2 depends on executable: pkg-config - found === eclipse-3.1.2 depends on shared library: cairo.2 - not found ===Verifying install for cairo.2 in /usr/ports/graphics/cairo === cairo-1.0.4 is marked as broken: Unknown component ltverhack. *** Error code 1 Stop in /usr/ports/graphics/cairo. *** Error code 1 Stop in /usr/ports/java/eclipse. some people contacted me personally for the solution of this problem and now i'm going to update this post so it's documented here. for what its worth... solution: install cairo from src: http://cairographics.org/news then link the libcairo.so.4 to libcairo.so.2 in /usr/local/lib. then run 'make install clean' in the eclipse port again. that's it. later.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.1 - mount_nullfs broken?
On Fri, Mar 24, 2006 at 08:05:31AM -0600, Viren Patel wrote: # umount /export/jails/testjail/dev # mount_nullfs -o ro /export/jails/basejail /export/jails/testjail/basejail mount_nullfs: Operation not supported by device After looking at the dmesg output more closely one discrepancy I found was the second last line: ad6: 238475MB WDC WD2500JS-55MHB0 02.01C03 at ata3-master SATA300 It was definitely SATA150 under FreeBSD 6.0, even after updates. So maybe a problem in the SATA300 driver? Unlikely. It looks like you don't have kernel nullfs support enabled. Kris I am using the generic kernel. Looking through /etc there is nothing regarding enabling nullfs. I also looked at GENERIC kernel conf file without luck. How do I enable nullfs? Viren Viren ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pix 501 and freebsd
how can i use pix firewall to make a transparent to on my freebsd server. sorry if i am on the wrong place. regards, Imran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.1 - mount_nullfs broken?
On Fri, Mar 24, 2006 at 12:39:30PM -0600, Viren Patel wrote: On Fri, Mar 24, 2006 at 08:05:31AM -0600, Viren Patel wrote: # umount /export/jails/testjail/dev # mount_nullfs -o ro /export/jails/basejail /export/jails/testjail/basejail mount_nullfs: Operation not supported by device After looking at the dmesg output more closely one discrepancy I found was the second last line: ad6: 238475MB WDC WD2500JS-55MHB0 02.01C03 at ata3-master SATA300 It was definitely SATA150 under FreeBSD 6.0, even after updates. So maybe a problem in the SATA300 driver? Unlikely. It looks like you don't have kernel nullfs support enabled. Kris I am using the generic kernel. Looking through /etc there is nothing regarding enabling nullfs. I also looked at GENERIC kernel conf file without luck. How do I enable nullfs? Compile it into your kernel or load the module. Read the handbook for more help. Kris pgp2eFPowUIHy.pgp Description: PGP signature
Re: Cheap FreeBSD hosting?
http://www.layeredtech.com/layer1.php?g=13 - Original Message - From: Scott I. Remick [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Wednesday, March 22, 2006 3:08 PM Subject: Cheap FreeBSD hosting? Well it seems my perfect FreeBSD webhost, which had great service, great features, and a great support community has been sold-out to a large webhost consolidation company with a reputation for ruining every company they buy. They'll also be switching from FreeBSD to Linux. Since I desire to eat my own dogfood and continue to have my sites and pages Powered by FreeBSD I am back in the market looking for a new webhost. Currently I pay about $8/month for 12GB of storage, 300GB of bandwidth/month, and 5 MySQL databases. I need at least 4 databases (preferably more), and currently average 200-300MB/month transfer (although I peaked last year one month at 6GB for the month, but that's rare). I currently use 2.5GB but my space needs will gradually increase. I'd like to find a comparable plan at a webhost that uses FreeBSD servers. Pair is out of my league. I've had bad previous experience with iPowerWeb. Any others? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.2.6/287 - Release Date: 21/03/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 23/03/2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem installing port
Paul Schmehl wrote: --On Friday, March 24, 2006 18:11:59 +0100 Matias Surdi [EMAIL PROTECTED] wrote: Hi, Could someone tell me why I get this error? su-2.05b# portinstall es-kde-i18n ** Port marked as IGNORE: misc/kde3-i18n-es: is marked as broken: Incorrect pkg-plist su-2.05b# The port is broken because the pkg-plist is incorrect. Until it's corrected, the port will remain marked broken. True. If you really need to install it anyway, you can use FORCE_PKG_REGISTER to get it to install. Paul Schmehl ([EMAIL PROTECTED]) Actually, FORCE_PKG_REGISTER won't do it; this var is for overriding an already registered package. The OP could set TRYBROKEN in the environment, and the package would attempt to build. OP: since it's the plist that's broken, you may well be able to install and use the port. However, and please hear me, you may not be able to *uninstall* the port correctly, since the package database won't know all of the files that were installed by the port (because the 'packlist' is incorrect). HTH, Kevin Kinsey -- When you are at Rome live in the Roman style; when you are elsewhere live as they live elsewhere. -- St. Ambrose ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.1 - mount_nullfs broken?
Kris Kennaway [EMAIL PROTECTED] writes: On Fri, Mar 24, 2006 at 12:39:30PM -0600, Viren Patel wrote: On Fri, Mar 24, 2006 at 08:05:31AM -0600, Viren Patel wrote: # umount /export/jails/testjail/dev # mount_nullfs -o ro /export/jails/basejail /export/jails/testjail/basejail mount_nullfs: Operation not supported by device After looking at the dmesg output more closely one discrepancy I found was the second last line: ad6: 238475MB WDC WD2500JS-55MHB0 02.01C03 at ata3-master SATA300 It was definitely SATA150 under FreeBSD 6.0, even after updates. So maybe a problem in the SATA300 driver? Unlikely. It looks like you don't have kernel nullfs support enabled. Kris I am using the generic kernel. Looking through /etc there is nothing regarding enabling nullfs. I also looked at GENERIC kernel conf file without luck. How do I enable nullfs? Compile it into your kernel or load the module. Read the handbook for more help. Or you could come at it the other way; figure out how you did it when you were running 6.0. The procedure has not changed. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pix 501 and freebsd
At 13:37 2006-03-24, Imran Imtiaz wrote: how can i use pix firewall to make a transparent to on my freebsd server. sorry if i am on the wrong place. Not sure if this is what you need, but I guess you are talking about a layer 2 bridged firewall.. Pix OS supports this only from version 7 and pix 501 and pix 506 cannot upgrade yet to this version (not sure if they will ever be able to) A transparent firewall like this just sits beside your switch and your computer and the only layer 2 traffic that can pass through is arp. All other frame will get deencapsulated and a layer 3 (and up) access-list will be applied. This is what is called a transparent firewall as it is transparent on your network :) With a pix 501, you will need to use nat ou pat or simulate a router with the nat 0 command... Hope this helps ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mount_ntfs(8) and filesize ... 2GB limit?
Good day, I'm quite *stuck* attempting to read a 14GB file from an NTFS volume. Obviously, an NTFS-based machine would be great, but they aren't playing nice, and I'm afraid my Winfoo isn't up to snuff (and I was up most of the night with it, so my RTFM is suffering, too) FreeBSD mounts and reads both partitions on the drive, but when I attempt to read the large file, every operation seems to truncate the file at about 2 GB. Since I've tried cp(1), dd(1), tar(1), cpio(1), FTP, and SMBFS, (plus Freesbie, Knoppix, and NTFS for Win98) I'm starting to think that it's the underlying FreeBSD NTFS layer that's at issue (in the FreeBSD portions of the problem, I mean). Can anyone confirm my hunch? And, even better, have you got a surefire way to get my_very_important.bkf off the disk? ;) Thank you very much, Kevin Kinsey -- It's not whether you win or lose but how you played the game. -- Grantland Rice ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Will adding ATAPICAM confuse my SCSI R/W CDROM?
This may be a silly question, but I wanted to make sure: I have a SCSI R/W CD-ROM drive and an IDE DVD read-only drive. There have been times with linux where enabling SCSI emulation made the actual SCSI drive unavailable to k3b. I just want to make sure that adding ATAPICAM won't somehow get in the way of the actual SCSI device. Will it? Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mount_ntfs(8) and filesize ... 2GB limit?
On Fri, Mar 24, 2006 at 12:30:32PM -0600, Kevin Kinsey wrote: Good day, I'm quite *stuck* attempting to read a 14GB file from an NTFS volume. Obviously, an NTFS-based machine would be great, but they aren't playing nice, and I'm afraid my Winfoo isn't up to snuff (and I was up most of the night with it, so my RTFM is suffering, too) FreeBSD mounts and reads both partitions on the drive, but when I attempt to read the large file, every operation seems to truncate the file at about 2 GB. Since I've tried cp(1), dd(1), tar(1), cpio(1), FTP, and SMBFS, (plus Freesbie, Knoppix, and NTFS for Win98) I'm starting to think that it's the underlying FreeBSD NTFS layer that's at issue (in the FreeBSD portions of the problem, I mean). Can anyone confirm my hunch? I think there are PRs about this. And, even better, have you got a surefire way to get my_very_important.bkf off the disk? ;) /usr/ports/sysutils/ntfsprogs/ ? Kris pgpcHvQU9vRyF.pgp Description: PGP signature
wireless (802.11x) sniffer
which is best wireless network card sniffer except kismet cause kismet is not being installed on my system? Imran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.1 - mount_nullfs broken?
Compile it into your kernel or load the module. Read the handbook for more help. Kris That did it! The nullfs module was not being loaded into the kernel. I added it to loader.conf.local and it works now. This is definitely a change from 6.0 to 6.1-prerelease. Viren ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sendmail problem.
Hi, I've been studying the sendmail and there is not way to configure it to work through the network. Inside the console I type: telnet localhost 25 end I receive answer from sendmail but from a remote PC I only receive connection failed. Is obvious that sendmail isn't accepting external connections. I need ideas, where can I look for? Thanks... __ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.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: sendmail problem.
On Mar 24, 2006, at 2:26 PM, Efren Bravo wrote: Inside the console I type: telnet localhost 25 end I receive answer from sendmail but from a remote PC I only receive connection failed. Is obvious that sendmail isn't accepting external connections. I need ideas, where can I look for? Unless you enable sendmail in /etc/rc.conf, it will only listen on localhost in order to deal with locally-generated daily email. See / etc/mail/README for lots of helpful information... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Will adding ATAPICAM confuse my SCSI R/W CDROM?
In the last episode (Mar 24), Oliver Iberien said: This may be a silly question, but I wanted to make sure: I have a SCSI R/W CD-ROM drive and an IDE DVD read-only drive. There have been times with linux where enabling SCSI emulation made the actual SCSI drive unavailable to k3b. I just want to make sure that adding ATAPICAM won't somehow get in the way of the actual SCSI device. Will it? At worst it may shuffle the device number if the atapi drive gets probed first. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
k3b incorrectly identifies scsi r/w drive as read-only -- how to change?
I've got my Plextor PX-W4012S SCSI R/W drive recognized by k3b by adding ALL ALL = NOPASSWD: /sbin/camcontrol devlist to sudoers and starting k3b with sudo. Unfortunately, k3b has the idea that this is read-only. In Setup Devices there is no way to remove a device from the readonly heading and place it under writer drives, and none of the options except for the cdrao editor are editable. Attempting to change the driver crashes the program. k3b must be reading this from somewhere, but where? The drive is r,w is fstab. Thanks, Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
List Etiquette Question - Thank yous
I have never been on a list from which I have received as much help as this one, which raises a question for me. I would like to thank the people who post questions to my answers, such as the fellow below, but don't want to spam people's inboxes and/or the with thank-you notes that may be archived for all time. Do people generally expect a note of thanks? Oliver On Friday 24 March 2006 11:47, Dan Nelson wrote: In the last episode (Mar 24), Oliver Iberien said: This may be a silly question, but I wanted to make sure: I have a SCSI R/W CD-ROM drive and an IDE DVD read-only drive. There have been times with linux where enabling SCSI emulation made the actual SCSI drive unavailable to k3b. I just want to make sure that adding ATAPICAM won't somehow get in the way of the actual SCSI device. Will it? At worst it may shuffle the device number if the atapi drive gets probed first. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: k3b incorrectly identifies scsi r/w drive as read-only -- how to change?
On 3/24/06, Oliver Iberien [EMAIL PROTECTED] wrote: I've got my Plextor PX-W4012S SCSI R/W drive recognized by k3b by adding ALL ALL = NOPASSWD: /sbin/camcontrol devlist to sudoers and starting k3b with sudo. Unfortunately, k3b has the idea that this is read-only. In Setup Devices there is no way to remove a device from the readonly heading and place it under writer drives, and none of the options except for the cdrao editor are editable. Attempting to change the driver crashes the program. k3b must be reading this from somewhere, but where? The drive is r,w is fstab. Thanks, Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I don't have access to my laptop (where I recently dealt with this), but /etc/devfs.conf (i think) has places where you can set the permission to devices. I believe I did 0666 (read/write to all) for acd0, cdrom0, pass0, and perhaps 1 other. After that (and manually setting perms to /dev/list) I was able to use k3b without being root. Hope this helps. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.1 - mount_nullfs broken?
Or you could come at it the other way; figure out how you did it when you were running 6.0. The procedure has not changed. I didn't change a thing, even in 6.0. The nullfs just worked. I did the usual upgrade process to get from 6.0 to 6.1: 1. change cvs tag from RELENG_6_0 to RELENG_6 2. update sources 3. make buildworld 4. make buildkernel KERNCONF=GENERIC 5. make installkernel KERNCONF=GENERIC 6. reboot into single-user mode 7. mergemaster -p 8. make installworld 9. mergemaster 10. reboot Viren ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: List Etiquette Question - Thank yous
I have never been on a list from which I have received as much help as this one, which raises a question for me. I would like to thank the people who post questions to my answers, such as the fellow below, but don't want to spam people's inboxes and/or the with thank-you notes that may be archived for all time. Do people generally expect a note of thanks? Well, it is considered a good thing to respond with some information or statement indicating if and how something was actually successful in fixing a problem so that that information will get archived. You could include a brief thank you in that message. Anyway, considering how much dross and OT rave-ons that get posted to the list, I can't imagine that anyone would object to a pleasant thank you now and then. jerry Oliver On Friday 24 March 2006 11:47, Dan Nelson wrote: In the last episode (Mar 24), Oliver Iberien said: This may be a silly question, but I wanted to make sure: I have a SCSI R/W CD-ROM drive and an IDE DVD read-only drive. There have been times with linux where enabling SCSI emulation made the actual SCSI drive unavailable to k3b. I just want to make sure that adding ATAPICAM won't somehow get in the way of the actual SCSI device. Will it? At worst it may shuffle the device number if the atapi drive gets probed first. ___ 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: List Etiquette Question - Thank yous
On Mar 24, 2006, at 3:05 PM, Oliver Iberien wrote: I have never been on a list from which I have received as much help as this one, which raises a question for me. I would like to thank the people who post questions to my answers, such as the fellow below, but don't want to spam people's inboxes and/or the with thank-you notes that may be archived for all time. Do people generally expect a note of thanks? System admins expecting thanks? ho-boy! That's a good one. :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: k3b incorrectly identifies scsi r/w drive as read-only -- how to change?
On Friday 24 March 2006 12:12, you wrote: On 3/24/06, Oliver Iberien [EMAIL PROTECTED] wrote: I've got my Plextor PX-W4012S SCSI R/W drive recognized by k3b by adding ALL ALL = NOPASSWD: /sbin/camcontrol devlist to sudoers and starting k3b with sudo. Unfortunately, k3b has the idea that this is read-only. In Setup Devices there is no way to remove a device from the readonly heading and place it under writer drives, and none of the options except for the cdrao editor are editable. Attempting to change the driver crashes the program. k3b must be reading this from somewhere, but where? The drive is r,w is fstab. I don't have access to my laptop (where I recently dealt with this), but /etc/devfs.conf (i think) has places where you can set the permission to devices. I believe I did 0666 (read/write to all) for acd0, cdrom0, pass0, and perhaps 1 other. After that (and manually setting perms to /dev/list) I was able to use k3b without being root. I had done that. I can access the drive, but it is still not being correctly recognized as a writer. Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mount_ntfs(8) and filesize ... 2GB limit?
Kris Kennaway wrote: On Fri, Mar 24, 2006 at 12:30:32PM -0600, Kevin Kinsey wrote: Good day, I'm quite *stuck* attempting to read a 14GB file from an NTFS volume. Obviously, an NTFS-based machine would be great, but they aren't playing nice, and I'm afraid my Winfoo isn't up to snuff (and I was up most of the night with it, so my RTFM is suffering, too) FreeBSD mounts and reads both partitions on the drive, but when I attempt to read the large file, every operation seems to truncate the file at about 2 GB. Since I've tried cp(1), dd(1), tar(1), cpio(1), FTP, and SMBFS, (plus Freesbie, Knoppix, and NTFS for Win98) I'm starting to think that it's the underlying FreeBSD NTFS layer that's at issue (in the FreeBSD portions of the problem, I mean). Can anyone confirm my hunch? I think there are PRs about this. I don't find many, but, I've not spent too much time on the search page. Most applicable one I see was from 2004, about 5.2 days. I would assume that any changes would reflect in 6.0. Of course, if I really *wanted* to know, I could check the cvsweb, eh? And, even better, have you got a surefire way to get my_very_important.bkf off the disk? ;) /usr/ports/sysutils/ntfsprogs/ ? Kris Thank you very much for your reply. I'm hopeful that this will help! Kevin Kinsey -- Don't marry for money; you can borrow it cheaper. -- Scottish Proverb ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: List Etiquette Question - Thank yous
On Fri, 24 Mar 2006 12:05:35 -0800, Oliver Iberien [EMAIL PROTECTED] said: I have never been on a list from which I have received as much help as this one, which raises a question for me. I would like to thank the people who post questions to my answers, such as the fellow below, but don't want to spam people's inboxes and/or the with thank-you notes that may be archived for all time. Do people generally expect a note of thanks? Oliver On Friday 24 March 2006 11:47, Dan Nelson wrote: In the last episode (Mar 24), Oliver Iberien said: This may be a silly question, but I wanted to make sure: I have a SCSI R/W CD-ROM drive and an IDE DVD read-only drive. There have been times with linux where enabling SCSI emulation made the actual SCSI drive unavailable to k3b. I just want to make sure that adding ATAPICAM won't somehow get in the way of the actual SCSI device. Will it? At worst it may shuffle the device number if the atapi drive gets probed first. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Oliver: I think it's generally expected that you reply to their help with something like Bummer, that didn't work. or That fixed my problem! Thanks so much!! I don't know, however, whether thank you's should be privately or to the list. I usually say my thanks on the list. I guess I feel that public help should receive public praise. Patrick -- Patrick Bowen [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: k3b incorrectly identifies scsi r/w drive as read-only -- how to change?
On 3/24/06, Oliver Iberien [EMAIL PROTECTED] wrote: On Friday 24 March 2006 12:12, you wrote: On 3/24/06, Oliver Iberien [EMAIL PROTECTED] wrote: I've got my Plextor PX-W4012S SCSI R/W drive recognized by k3b by adding ALL ALL = NOPASSWD: /sbin/camcontrol devlist to sudoers and starting k3b with sudo. Unfortunately, k3b has the idea that this is read-only. In Setup Devices there is no way to remove a device from the readonly heading and place it under writer drives, and none of the options except for the cdrao editor are editable. Attempting to change the driver crashes the program. k3b must be reading this from somewhere, but where? The drive is r,w is fstab. I don't have access to my laptop (where I recently dealt with this), but /etc/devfs.conf (i think) has places where you can set the permission to devices. I believe I did 0666 (read/write to all) for acd0, cdrom0, pass0, and perhaps 1 other. After that (and manually setting perms to /dev/list) I was able to use k3b without being root. I had done that. I can access the drive, but it is still not being correctly recognized as a writer. Oliver What happens when you run k3b as root (just to test) Also, what are the permissions on (assuming the writer is the first cd device) /dev/cd0 /dev/acd0 /dev/pass0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
slib + gnucash
On Thursday 23 March 2006 18:43, Robert Huff wrote: 1) This is fallout of the libtool bump (see /usr/ports/UPDATING). Check the archives for this newsgroup about two or three (??) weeks ago for a long thread on what's up and how to fix it. 2) According to messages here over the last few days, gnucash will not update correctly due to breakage in the dependencies. Search for gnucash+guile+slib. Thanks very much. It turns out that slib has to be downgraded for gnucash to work. Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
crontab doesn't work
Hi, Do I have to start something to crontab works? configuration file: # MINHOUR DAY/MONTH MONTH DAY/WEEK USERCOMMAND 59 23 *** root /usr/local/etc/sarg/make-report 0 0 **0 squid /usr/local/etc/sbin/squid -k rotate It should generate a report every day, and clear the log file every week, but it isn't hapaning! What do I suppose to do? Best regards Rodrigo Souza Analista Programador Sao Paulo - Brazil ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.1 - mount_nullfs broken?
On Fri, Mar 24, 2006 at 01:24:35PM -0600, Viren Patel wrote: Compile it into your kernel or load the module. Read the handbook for more help. Kris That did it! The nullfs module was not being loaded into the kernel. I added it to loader.conf.local and it works now. This is definitely a change from 6.0 to 6.1-prerelease. I don't think so. Modules are all installed by default. Kris pgpW5ifWfq8IB.pgp Description: PGP signature
Re: k3b incorrectly identifies scsi r/w drive as read-only -- Mode sense fails
On Friday 24 March 2006 12:29, you wrote: On 3/24/06, Oliver Iberien [EMAIL PROTECTED] wrote: On Friday 24 March 2006 12:12, you wrote: On 3/24/06, Oliver Iberien [EMAIL PROTECTED] wrote: I've got my Plextor PX-W4012S SCSI R/W drive recognized by k3b by adding ALL ALL = NOPASSWD: /sbin/camcontrol devlist to sudoers and starting k3b with sudo. Unfortunately, k3b has the idea that this is read-only. [snip] [snip] but /etc/devfs.conf (i think) has places where you can set the permission to devices. I believe I did 0666 (read/write to all) for acd0, cdrom0,... pass0, [snip] I had done that. I can access the drive, but it is still not being correctly recognized as a writer. [snip] What happens when you run k3b as root (just to test) Also, what are the permissions on (assuming the writer is the first cd device) /dev/cd0 /dev/acd0 /dev/pass0 From /etc/devfs.conf: own acd0root:wheel own cd0 root:wheel own pass0 root:wheel permpass0 0666 permacd 0666 permcd0 0666 perm/cdrom 0666 perm/cdrom1 0666 own /cdrom 0666 own /cdrom1 0666 k3b run as root fails though not being about to connect to X. Starting up k3b with sudo gives a bouquet of k3b errors, one of which is MODE SENSE FAILS: k3b: (K3bDevice::openDevice) open device /dev/pass0 succeeded. k3b: (K3bDevice::openDevice) open device /dev/pass0 succeeded. k3b: (K3bDevice::ScsiCommand) transport command 5a, length: 9 k3b: (K3bDevice::ScsiCommand) transport failed (4): 336896 k3b: (K3bDevice::ScsiCommand) failed: k3b:command:MODE SENSE (5a) k3b:errorcode: 70 k3b:sense key: ILLEGAL REQUEST (5) k3b:asc:24 k3b:ascq: 0 k3b: (K3bDevice::Device) /dev/cd0: MODE SENSE length det failed. k3b: (K3bDevice::Device) /dev/cd0: modeSense 0x05 failed! k3b: (K3bDevice::Device) /dev/cd0: Cannot check write modes. k3b: (K3bDevice::ScsiCommand) transport command 5a, length: 9 k3b: (K3bDevice::ScsiCommand) transport failed (4): 336896 k3b: (K3bDevice::ScsiCommand) failed: k3b:command:MODE SENSE (5a) k3b:errorcode: 70 k3b:sense key: ILLEGAL REQUEST (5) k3b:asc:24 k3b:ascq: 0 k3b: (K3bDevice::Device) /dev/cd0: MODE SENSE length det failed. k3b: (K3bDevice::Device) /dev/cd0: read mode page 2A failed! k3b: (K3bDevice::ScsiCommand) transport command 5a, length: 9 k3b: (K3bDevice::ScsiCommand) transport failed (4): 336896 k3b: (K3bDevice::ScsiCommand) failed: k3b:command:MODE SENSE (5a) k3b:errorcode: 70 k3b:sense key: ILLEGAL REQUEST (5) k3b:asc:24 k3b:ascq: 0 k3b: (K3bDevice::Device) /dev/cd0: MODE SENSE length det failed. k3b: (K3bDevice::ScsiCommand) transport command 5a, length: 9 k3b: (K3bDevice::ScsiCommand) transport failed (4): 336896 k3b: (K3bDevice::ScsiCommand) failed: k3b:command:MODE SENSE (5a) k3b:errorcode: 70 k3b:sense key: ILLEGAL REQUEST (5) k3b:asc:24 k3b:ascq: 0 k3b: (K3bDevice::Device) /dev/cd0: MODE SENSE length det failed. k3b: (K3bDevice::Device) /dev/cd0: modeSense 0x05 failed! k3b: (K3bDevice::Device) /dev/cd0: Cannot check write modes. Would anyone have an idea how to fix this? Oliver Whole k3b startup follows: $ sudo k3b Password: ERROR: Communication problem with k3b, it probably crashed. $ k3b: (K3bExternalBinManager) Cdrecord 2.1 features: gracetime, overburn, cdtext, clone, tao, cuefile, xamix, plain-atapi, hacked-atapi 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 k3b: (BSDDeviceScan) number of matches 8 k3b: (BSDDeviceScan) add device /dev/cd0:0:0:0 k3b: (K3bDevice::Device) /dev/cd0: init() k3b: (K3bDevice::openDevice) open device /dev/pass0 succeeded. k3b: (K3bDevice::openDevice) open device /dev/pass0 succeeded. k3b: (K3bDevice::ScsiCommand) transport command 12, length: 6 k3b: (K3bDevice::ScsiCommand) transport command 46, length: 9 k3b: (K3bDevice::ScsiCommand) transport failed (4): 336896 k3b: (K3bDevice::ScsiCommand) failed: k3b:command:GET CONFIGURATION (46) k3b:errorcode: 70 k3b:sense key: ILLEGAL REQUEST (5) k3b:asc:24 k3b:ascq: 0 k3b:
Re: crontab doesn't work
Rodrigo G. Tavares de Souza wrote: Hi, Do I have to start something to crontab works? configuration file: # MINHOUR DAY/MONTH MONTH DAY/WEEK USERCOMMAND 59 23 *** root /usr/local/etc/sarg/make-report 0 0 **0 squid /usr/local/etc/sbin/squid -k rotate It should generate a report every day, and clear the log file every week, but it isn't hapaning! What do I suppose to do? Hello, I checked my crontabs and I don't have double quotes around the path/script name. You could try to remove them. Do the scripts work if you run them from the command line? To check if cron is running, issue this command: ps auwx | grep cron The output should look something like this: root 421 0.0 0.2 1312 896 ?? Is8Mar06 0:05.41 /usr/sbin/cron -s If cron isn't running, try this: /etc/rc.d/cron start Hope this helps, Demian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
filling up UDP socket buffers like mad
Hi, Running FreeBSD 6.1-PRERELEASE as a DNS, dhcp, and syslog server. I'm having trouble with DNS, DHCP, and syslogd locking up, and I think I've found what they all share in common. During the lockups, the box starts dropping UDP due to full socket buffers. I have a dumb little script to capture the rate of drops over 5 seconds, and it's about 45 a second. 168725 dropped due to full socket buffers 168958 dropped due to full socket buffers Right now, named and syslogd are in cron to restart every 15 minutes. Once they restart, everything works fine. Immediately after the reload, the UDP drops cease. The script reveals no change in the number of drops... for a few minutes. I've turned kern.ipc.maxsockbuf to increase the number of UDP buffers, which Google tells me is correct. Mind you, I'd previously tuned it to 8388608. I've now doubled that again, to 16777216. I really don't want to just keep doubling this resource when something happens. The best thing to do here is to identify what's using all these sockets, but I'm stumped on how to do that. My bowels tell me it's syslogd, because that's the program that is most resistant to restarting, but that's a pretty crappy reason. Any thoughts? Thanks, ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ The cloak of anonymity protects me from the nuisance of caring. -Non Sequitur ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: k3b incorrectly identifies scsi r/w drive as read-only -- Mode sense fails
Oliver Iberien wrote: On Friday 24 March 2006 12:29, you wrote: On 3/24/06, Oliver Iberien [EMAIL PROTECTED] wrote: On Friday 24 March 2006 12:12, you wrote: On 3/24/06, Oliver Iberien [EMAIL PROTECTED] wrote: I've got my Plextor PX-W4012S SCSI R/W drive recognized by k3b by adding ALL ALL = NOPASSWD: /sbin/camcontrol devlist to sudoers and starting k3b with sudo. Unfortunately, k3b has the idea that this is read-only. [snip] [snip] but /etc/devfs.conf (i think) has places where you can set the permission to devices. I believe I did 0666 (read/write to all) for acd0, cdrom0,... pass0, [snip] I had done that. I can access the drive, but it is still not being correctly recognized as a writer. [snip] What happens when you run k3b as root (just to test) Also, what are the permissions on (assuming the writer is the first cd device) /dev/cd0 /dev/acd0 /dev/pass0 From /etc/devfs.conf: own acd0root:wheel own cd0 root:wheel own pass0 root:wheel permpass0 0666 permacd 0666 permcd0 0666 perm/cdrom 0666 perm/cdrom1 0666 own /cdrom 0666 own /cdrom1 0666 Hi, I believe you may also need in defs.conf perm xpt0 0666 --Duane [snip] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: crontab doesn't work
Rodrigo G. Tavares de Souza wrote: Hi, Do I have to start something to crontab works? configuration file: # MINHOUR DAY/MONTH MONTH DAY/WEEK USERCOMMAND 59 23 *** root /usr/local/etc/sarg/make-report 0 0 **0 squid /usr/local/etc/sbin/squid -k rotate Is your machine in fact on at the specified times? Did you use crontab(1) to edit and install the crontab file? It should generate a report every day, and clear the log file every week, but it isn't hapaning! What do I suppose to do? Best regards Rodrigo Souza Analista Programador Sao Paulo - Brazil ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Regards, Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: crontab doesn't work
Rodrigo G. Tavares de Souza wrote: Hi, Do I have to start something to crontab works? configuration file: # MINHOUR DAY/MONTH MONTH DAY/WEEK USERCOMMAND 59 23 *** root /usr/local/etc/sarg/make-report 0 0 **0 squid /usr/local/etc/sbin/squid -k rotate It should generate a report every day, and clear the log file every week, but it isn't hapaning! What do I suppose to do? Best regards Rodrigo Souza Analista Programador Sao Paulo - Brazil Hello, Rodrigo 1. Is cron running now? Can you find any mention of cron in your logs (esp /var/run/dmesg/boot)? Does it get mentioned in the boot process (watch the screen)... cron should be started by init(8) as part of the rc(8) process (the last of the boot stage, prior to going multi-user). 2. Just out of curiousity and a desire to help, what's the path to the configuration file above? :) 3. Reasoning: It appears that you have modified /etc/crontab. In BSD-land, you usually want to use the root crontab (which is under /var/cron/tabs/root) or your personal account crontab (/var/cron/tabs/username) to do cron work. However, you don't want to edit this file directly. Make sure $EDITOR is set to your favorite text editor and run crontab -e to set up your crontab. Exit the editor, and crontab(1) will put the file in place for you. Incidentally, this may be the cause of your problem entirely. (See the FAQ, 10.3, 'Why do I get messages like root: not found after editing my crontab file?'). 4. I'm sure you're aware of cron's limited $PATH and other limitations. Make sure your scripts are executable and shebanged, or else call them with the appropriate shell interpreter's full pathname, e.g. (/bin/sh ~/scripts/mybackup.sh). HTH, Kevin Kinsey -- WARNING TO ALL PERSONNEL: Firings will continue until morale improves. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mdmfs -P
Hey all, Some days ago I posted on the stable mailinglist, but haven't gotten a response, so I'm trying my luck here instead. Looking at http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/mdmfs/mdmfs.c.diff?r1=1.25r2=1.26 , I see that we've finally gotten a -P option to mdmfs, enabling use of mdmfs with a persistent vnode-backed file[system]. The patch has only been implemented in current, though, as far as I understand. My question is simple; Is this going to be put in stable? I'm less skilled at coding, but it looks to me as if this new option wouldn't possibly break anything in use today. Is there any way/-where we can say pleease, and get this patch put in stable too? I'm sure I'm not the only one with a great need for it. I really hope it's possible :) Please send replies directly to my address since I'm not subscribed to this one of the lists. Thank you! // Leo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: List Etiquette Question - Thank yous
Jerry McAllister wrote: I have never been on a list from which I have received as much help as this one, which raises a question for me. I would like to thank the people who post questions to my answers, such as the fellow below, but don't want to spam people's inboxes and/or the with thank-you notes that may be archived for all time. Do people generally expect a note of thanks? Well, it is considered a good thing to respond with some information or statement indicating if and how something was actually successful in fixing a problem so that that information will get archived. You could include a brief thank you in that message. Anyway, considering how much dross and OT rave-ons that get posted to the list, I can't imagine that anyone would object to a pleasant thank you now and then. Thanks for that, Jerry. ;) Kevin Kinsey --- Your own qualities will help prevent your advancement in the world. \/ \/ \/ It's helpful to say thank you!. Sometimes, when you're sitting the livelong day staring at the monitor, you need that. It's particularly an effective remedy for troll attacks and the pain of burns from flame wars. As another posted mentioned, it's often nice, if a problem is a big one, if the resolution of the problem is summed up as well, for the archive's sake. I think that the best reward for many of us is that people use and enjoy FreeBSD, and get some real work done with it, as well. KDK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.1 - mount_nullfs broken?
On Fri, Mar 24, 2006 at 01:24:35PM -0600, Viren Patel wrote: Compile it into your kernel or load the module. Read the handbook for more help. Kris That did it! The nullfs module was not being loaded into the kernel. I added it to loader.conf.local and it works now. This is definitely a change from 6.0 to 6.1-prerelease. I don't think so. Modules are all installed by default. Kris Then something is broken. The module file is present in /boot/kernel. However it does *not* get loaded unless I put it in loader.conf.local. As mentioned previously, I am using the generic kernel. I followed the standard upgrade procedure when going from 6.0 to 6.1. Viren ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cheap FreeBSD hosting?
On Fri, 24 Mar 2006, RJ wrote: http://www.layeredtech.com/layer1.php?g=13 I've got their L2-AMD-BARTON-3000-A (with a scsi drive)... they've been great for me so far... % uname -a FreeBSD bravo.pjkh.com 6.0-STABLE FreeBSD 6.0-STABLE #1: Wed Jan 25 11:10:27 CST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ALPHA i386 [EMAIL PROTECTED]:~/tmp % uptime 4:58PM up 48 days, 19:39, 1 user, load averages: 0.00, 0.00, 0.00 - Original Message - From: Scott I. Remick [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Wednesday, March 22, 2006 3:08 PM Subject: Cheap FreeBSD hosting? Well it seems my perfect FreeBSD webhost, which had great service, great features, and a great support community has been sold-out to a large webhost consolidation company with a reputation for ruining every company they buy. They'll also be switching from FreeBSD to Linux. Since I desire to eat my own dogfood and continue to have my sites and pages Powered by FreeBSD I am back in the market looking for a new webhost. Currently I pay about $8/month for 12GB of storage, 300GB of bandwidth/month, and 5 MySQL databases. I need at least 4 databases (preferably more), and currently average 200-300MB/month transfer (although I peaked last year one month at 6GB for the month, but that's rare). I currently use 2.5GB but my space needs will gradually increase. I'd like to find a comparable plan at a webhost that uses FreeBSD servers. Pair is out of my league. I've had bad previous experience with iPowerWeb. Any others? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.2.6/287 - Release Date: 21/03/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 23/03/2006 ___ 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: filling up UDP socket buffers like mad
On Mar 24, 2006, at 4:17 PM, Michael W. Lucas wrote: Running FreeBSD 6.1-PRERELEASE as a DNS, dhcp, and syslog server. I'm having trouble with DNS, DHCP, and syslogd locking up, and I think I've found what they all share in common. During the lockups, the box starts dropping UDP due to full socket buffers. I have a dumb little script to capture the rate of drops over 5 seconds, and it's about 45 a second. 168725 dropped due to full socket buffers 168958 dropped due to full socket buffers There is generally a cause behind the socket buffers filling up, whether that is some form of livelock due to an OS problem or a misconfiguration with a firewall/dummynet setup. You could look at the output of netstat -a(n) for insight as to where the packets are being queued up, but netstat -s would be useful to show to us as well. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ports index broken, expat2 is too new for current apache2 on 5.4-STABLE
Ok, I got myself into a spot here: As I was trying to install Apache 2.2 from ports, I ran into its expat2 dependency, but it's at a version beyond the version my current version of apache is using. So I decided to just overwrite the old expat2 install not thinking (yes, I know, not good...) that it would affect much. It really hasn't but now I have apache 2.0.54 complaining that I no longer have shared object support since apache was compiled with the older version of expat2 (1.95_8 or something like that). In the process of all this, my ports index got corrupted and now I can't make index in /usr/ports. I also now have an expat install that is further along than the portsdb thinks it is. I get the following when I try to make index in /usr/ports: == [EMAIL PROTECTED]: make index Generating INDEX-5 - please wait../libexec/ld-elf.so.1: Shared object libexpat.so.5 not found, required by httpd apxs:Error: Sorry, no shared object support for Apache. apxs:Error: available under your platform. Make sure. apxs:Error: the Apache module mod_so is compiled into. apxs:Error: your server binary `/usr/local/sbin/httpd'.. Makefile, line 126: warning: /usr/local/sbin/apxs -q MPM_NAME returned non-zero status /libexec/ld-elf.so.1: Shared object libexpat.so.5 not found, required by httpd apxs:Error: Sorry, no shared object support for Apache. apxs:Error: available under your platform. Make sure. apxs:Error: the Apache module mod_so is compiled into. apxs:Error: your server binary `/usr/local/sbin/httpd'.. Makefile, line 126: warning: /usr/local/sbin/apxs -q MPM_NAME returned non-zero status bricolage-1.10.0: /usr/ports/devel/p5-Test-File-Contents non- existent -- dependency list incomplete === www/bricolage failed *** Error code 1 1 error == [EMAIL PROTECTED]: portdowngrade expat2 portdowngrade 0.6 by Heiner Eichmann Please note, that nothing is changed in the ports tree unless it is explicitly permitted in step 6! 1 error Seeking port expat2 ... not found == What's the best way for me to recover from this situation? My first try was to use portdowngrade to install an older expat2, but without INDEX-5, it can't find it (at least I think that's why). CVS to get the older expat2? (Any pointers, please help...) Anybody successfully running apache22 and apache2 alongside each other on 5.4-STABLE? Any guidance is greatly appreciated! Thanks, Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.1 - mount_nullfs broken?
On Fri, Mar 24, 2006 at 04:52:40PM -0600, Viren Patel wrote: On Fri, Mar 24, 2006 at 01:24:35PM -0600, Viren Patel wrote: Compile it into your kernel or load the module. Read the handbook for more help. Kris That did it! The nullfs module was not being loaded into the kernel. I added it to loader.conf.local and it works now. This is definitely a change from 6.0 to 6.1-prerelease. I don't think so. Modules are all installed by default. Kris Then something is broken. The module file is present in /boot/kernel. However it does *not* get loaded unless I put it in loader.conf.local. As mentioned previously, I am using the generic kernel. I followed the standard upgrade procedure when going from 6.0 to 6.1. What is logged on the console when you try to mount_nullfs before loading the nullfs.ko module (it should be loaded automatically)? Kris pgplhFmaDnMSk.pgp Description: PGP signature
Re: List Etiquette Question - Thank yous
From: Patrick Bowen [EMAIL PROTECTED] On Fri, 24 Mar 2006 12:05:35 -0800, Oliver Iberien [EMAIL PROTECTED] said: I have never been on a list from which I have received as much help as this one, which raises a question for me. I would like to thank the people who post questions to my answers, such as the fellow below, but don't want to spam people's inboxes and/or the with thank-you notes that may be archived for all time. Do people generally expect a note of thanks? Oliver Oliver: I think it's generally expected that you reply to their help with something like Bummer, that didn't work. or That fixed my problem! Thanks so much!! I don't know, however, whether thank you's should be privately or to the list. I usually say my thanks on the list. I guess I feel that public help should receive public praise. Patrick Patrick, if a person replies to the help that worked with a (SOLVED) header addition the solution is archived. It is in a relatively easy to find form. So it benefits all. (And a sysadmin who expects thanks is a fool. A sysadmin who does not appreciate thanks or objects to another getting a thank you message, is not a fit human being to live. And indeed he is not living a full life. He's in a half life of grouch, which will lead to an early grave.) Note that Thank you is about all the pay anybody here gets for offering solutions. Those two words feed the soul. Accept the food and cherish it. {^_-} Joanne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mount_ntfs(8) and filesize ... 2GB limit?
Kris Kennaway wrote: And, even better, have you got a surefire way to get my_very_important.bkf off the disk? ;) /usr/ports/sysutils/ntfsprogs/ ? Kris Kris, thanks *very much*. Where can I send $beverage? For the archives: 1. Install port mentioned above. 2. ntfscat -fv /dev/ad3s2 important.bkf /usr/recovered.bkf 3. restore as per Windows SOP. So, ntfscat is able to handle large file operations (2GB) in FreeBSD, operations that seem to fail with mount_ntfs and standard 'Nix tools (cat, cp, cpio, tar, dd, etc). Important: I've not yet verified that the disk is still readable by Windows, but since the data's off, I'm not sure I care, and Windows wasn't seeing it properly anyway. A reformat should do the trick. YMMV. Kevin Kinsey -- What is the robbing of a bank compared to the founding of a bank? -- Bertold Brecht ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fwd: Re: Gnucash takes 5+ minutes to load
Here is an answered question from elsewhere which I am posting here, FYI... Oliver -- Forwarded Message -- Subject: Re: Gnucash takes 5+ minutes to load Date: Friday 24 March 2006 15:17 From: Derek Atkins [EMAIL PROTECTED] To: Oliver Iberien [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] It's a bug in FreeBSD's runtime linker. -derek Quoting Oliver Iberien [EMAIL PROTECTED]: After an upgrade from .11 to .12 on FreeBSD 6.0, gnucash loads painfully slowly. So slowly that I've been sitting here watching a terminal with gnucash --debug (which is how I hope how it is phrased) do absolutely nothing for the past few minutes. Eventually the loading panel comes up and the modules load very slowly. It seems to take longer each time gnucash is run. -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH [EMAIL PROTECTED]PGP key available --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mdmfs -P
Leo R. Lundgren wrote: Hey all, Some days ago I posted on the stable mailinglist, but haven't gotten a response, so I'm trying my luck here instead. Looking at http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/mdmfs/mdmfs.c.diff?r1=1.25r2=1.26 , I see that we've finally gotten a -P option to mdmfs, enabling use of mdmfs with a persistent vnode-backed file[system]. The patch has only been implemented in current, though, as far as I understand. My question is simple; Is this going to be put in stable? I'm less skilled at coding, but it looks to me as if this new option wouldn't possibly break anything in use today. Is there any way/-where we can say pleease, and get this patch put in stable too? I'm sure I'm not the only one with a great need for it. I really hope it's possible :) Please send replies directly to my address since I'm not subscribed to this one of the lists. Thank you! // Leo Have you tried emailing this question to freebsd-current@freebsd.org or another mailing list about this? -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: List Etiquette Question - Thank yous
im fond of the next time im in [your town] ill stop off and buy you a beer! :) jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]