Re: OT: www search engines
Hi Wojciech, On 06/02/2008, Wojciech Puchar [EMAIL PROTECTED] wrote: what search engines, other than Google, do you find useful for general use? I like clusty.com. It's a meta search engine that queries other search engines with the keywords given. It processes the results, creates a new ranking according to the results of all search engines. And it creates clusters of the results that give different directions. Very nice, I think. Christian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading the Installed package
On Feb 6, 2008 11:41 AM, navneet Upadhyay [EMAIL PROTECTED] wrote: Hi, I have two binary packages of an application of version 1.1 and 1.2. *The 1.1 is already installed, how can i upgrade it to 1.2* ? Do i have to uninstall 1.1 and then install 1.2 ? I would prefer a way by which i can upgrade an wxisting package without uninstalling. You may try portupgrade which can handle upgrades for you. more info on: http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html regards, shantanoo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: www search engines
of the sites I've visited. For what it's worth Altavista gives quite similar results as Google in general searches - and much more applicable results when using +, - and foobar search terms. thank you all very much. i found altavista ok for me, and no more captchas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading the Installed package
On Wed, Feb 06, 2008 at 02:10:19PM +0530, ??? (Shantanoo) wrote: On Feb 6, 2008 11:41 AM, navneet Upadhyay [EMAIL PROTECTED] wrote: Hi, I have two binary packages of an application of version 1.1 and 1.2. *The 1.1 is already installed, how can i upgrade it to 1.2* ? Do i have to uninstall 1.1 and then install 1.2 ? I would prefer a way by which i can upgrade an wxisting package without uninstalling. You may try portupgrade which can handle upgrades for you. more info on: http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html Sigh... why do people always recommend portupgrade to users without telling them of the caveats? I grow tired of this. So let's tell Navneet exactly what he's getting into, shall we? portupgrade: - Written in Ruby, which not many UNIX admins are familiar with (compared to, say, perl). If portupgrade has a bug, you will need to speak Ruby. - Ruby is not included in the base system; you have to install it from ports (read: just another thing to have to maintain...) ports base system: - C-based, and includes all of the pkg_* utilities. Nearly every FreeBSD user/administrator is familiar with these tools. - gcc comes with the base system. portupgrade: - Maintains its own database of ports installed, dependencies, and so on -- COMPLETELY separate from that of the ports base system. - Said database must be kept in sync with ports base system dependencies and other whatnots; and if they go out of sync (which happens regularly as can be confirmed by the never-ending supply of posts to freebsd-ports@ about portupgrade problems), you get to read incredibly cryptic error messages from Ruby. - Said database is Berkeley DB-based, which means you have to install Oracle/Sleepycat BDB from ports. (I believe you can pick DB1.x which comes with libc, but it's not recommended due to bugs). ports base system: - Uses flat text files in /var/db/pkg and /var/db/ports. The reason portupgrade uses its own database is supposedly due to the shortcomings/oversights of the existing ports system, and that's a legitimate point.. But my opinion is that these shortcomings/oversights should be addressed in the ports system and not via some third-party tool which adds unnecessary complexities and more headaches. Thus, I would suggest people go with the KISS (Keep It Simple, Stupid!) method, and consider using tools which are written in languages which come with the base system (e.g. C or sh) -- but even more importantly, use and rely solely on the ports base system. One such tool is portmaster (ports-mgmt/portmaster), maintained by Doug Barton. It's actively maintained and written in sh. Its author is quite active with freebsd-ports, and is quick to respond to both bug reports and feature requests. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: www search engines
being. Without an ISP's help, they won't know who owns your IP well it's enough to do whois to know in my case. anyway - i don't sell drugs or plan to attack with a nuke - but anyway i don't want to be monitored! tor and/or anonymous proxies does the good job for me, except i can't use google this way. address. If your ISP is willing to give you up to anyone who asks, I'd be worried about more than just Google. What are the laws in your country like regarding this? in our funny country - Poland - law encourages all ISP to record everything, but the same law doesn't have any punishment for doing so. it's actually law created for those who like to monitor everyone, changing what would be otherwise crime - to requirement. As i'm a small ISP myself, i should record EVERYTHING my users transmit. ignoring local LAN transmissions that can't be easily controlled at all, in theory i should write about 20 DVD's daily if i would really do tcpdump everything. of course law dont say who will pay 600PLN/month for cheap DVD's only, not mentioning one half-time job for just recording it ;) i don't archive anything for a long term, i just do backups to protect from data loss, nothing more. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question UART: please read from Bottom Up!
On 05/02/2008, Andy L [EMAIL PROTECTED] wrote: Question for UART (where do I begin this process?) Ok, you could get the same functionality OKAY! I LIKE IT! -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xorg NV driver problems GeForce 6200
Joshua Isom wrote: On a slightly off note, my BIOS seems to want to hide the integrated graphics if an AGP card is attached, even though I've had it working fine. Is there a way to be able to use the integrated graphics even though an AGP card is attached? Is it detected by FreeBSD? What's the output of pciconf -lv? It should be pretty easy to spot. If it's not detected then there's not much FreeBSD can do, I would think. Play with the BIOS; complain to the manufacturer; remove the NVidia card I have had no end of trouble with a 6600; nv did start but locked up inside 5 mins - haven't tried 7.3 yet. nvidia on i386 will stop getting interrupts after heavy ethernet traffic which only seemed to happen after I went SMP; thread on the nvidia forums ends with no particular resolution. Sympathy, but no help :-( --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: www search engines
On Wed, Feb 06, 2008 at 10:36:54AM +0100, Wojciech Puchar wrote: address. If your ISP is willing to give you up to anyone who asks, I'd be worried about more than just Google. What are the laws in your country like regarding this? in our funny country - Poland - law encourages all ISP to record everything, but the same law doesn't have any punishment for doing so. it's actually law created for those who like to monitor everyone, changing what would be otherwise crime - to requirement. As i'm a small ISP myself, i should record EVERYTHING my users transmit. IANA(P)L, but if Poland implements the EU data retention directive 2006/24/EC, its laws should only require ISPs to save connection data, i.e. who communicated with whom and when (source-ip:port, dest-ip:port, time stamp), and who got assigned which IP, but not the data itself (the payload): http://en.wikipedia.org/wiki/Telecommunications_data_retention The main purpose being to enable law enforcement agencies to do traffic analysis and mass surveillance in our brave new Orwellized 1984-esque world. In most EU countries, ISPs are NOT (yet?) required to save the payload itself; and may even be prohibited to do so under privacy / data protection statutes without special overriding court order. As an ISP, you should *really* check with a specialized lawyer and err on the side of caution. Laws can be tricky, wherever you operate. -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Memory Error using Mailman on FreeBSD. How to debug?
Lachlan Michael wrote: # su mailman This account is currently not available. I'm not sure about the syntax but limits -U mailman doesn't seem to make the user mailman, but just use the class default. su -m mailman will do what you want. However, to be sure what your limits are, I would stick ulimit -a in the script that starts mailman, just to be sure. If the output from that is reasonable, and it doesn't seem to be messing with limits anywhere, then that's probably not the problem. Perhaps it's something about the attachment itself. Can you try some different, similarly sized, attachment? How big does the mailman process actually get? top will tell you. Python and mailman presumably came from ports? Last I looked, python had a build option HUGE_STACK_SIZE which I've needed for some apps in the distant past, IIRC. Can you re-install python with that opt and see if it helps? (It's just a SWAG, and could be wrong!). --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: www search engines
what would be otherwise crime - to requirement. As i'm a small ISP myself, i should record EVERYTHING my users transmit. IANA(P)L, but if Poland implements the EU data retention directive 2006/24/EC, its laws should only require ISPs to save connection data, i.e. who communicated with whom and when (source-ip:port, dest-ip:port, time stamp), and who got assigned which IP, but not the data itself (the payload): i don't know if it implements it, i just know current law that exist today, static that you have to record TRAFFIC. this is nonsense. but this is LAW. traffic analysis and mass surveillance in our brave new Orwellized 1984-esque world. Orwell just missed the date. and only this. In most EU countries, ISPs are NOT (yet?) required to save the payload itself; and may even be prohibited to do so under privacy / data protection statutes without special overriding court order. As an ISP, All Polish free mail services (and i'm sure all world-wide like goolag-mail) records every mail they ever process. not just connection data. i'm sure about it as i've seen police showing printed someone's mail body from over year ago from @wp.pl you should *really* check with a specialized lawyer and err on the side of caution. Laws can be tricky, wherever you operate. i checked a year ago - i though i did it carefully. but i will recheck. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading the Installed package
while i usually did this think manually i would try portmaster next time i will need an upgrade. and - thanks to your explanation - i will avoid portupgrade. thank you. One such tool is portmaster (ports-mgmt/portmaster), maintained by Doug Barton. It's actively maintained and written in sh. Its author is quite active with freebsd-ports, and is quick to respond to both bug reports and feature requests. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Memory Error using Mailman on FreeBSD. How to debug?
Lachlan Michael wrote: # su mailman This account is currently not available. I'm not sure about the syntax but limits -U mailman doesn't seem to make the user mailman, but just use the class default. su -m mailman will do what you want. Ah, thanks! That's a much better way to do it. The result was unchanged however. However, to be sure what your limits are, I would stick ulimit -a in the script that starts mailman, just to be sure. If the output from that is reasonable, and it doesn't seem to be messing with limits anywhere, then that's probably not the problem. I start mailman as /usr/local/etc/rc.d/mailman start I put ulimit -a in that script, and the values were the same as previous reported. # /usr/local/etc/rc.d/mailman start cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 524288 stack size (kbytes, -s) 65536 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 5547 open files (-n) 11095 virtual mem size(kbytes, -v) unlimited sbsize (bytes, -b) unlimited Perhaps it's something about the attachment itself. Can you try some different, similarly sized, attachment? Different attachments produce the same result. How big does the mailman process actually get? top will tell you. Mailman values don't budge. None of the mailman processes go over about 8.5M, which is what they are during idle time. Python and mailman presumably came from ports? Yes. Last I looked, python had a build option HUGE_STACK_SIZE which I've needed for some apps in the distant past, IIRC. Can you re-install python with that opt and see if it helps? (It's just a SWAG, and could be wrong!). I saw that too, and am currently running with it enabled. It doesn't seem to make a difference though. Thanks for all the tips! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: www search engines
Wojciech Puchar wrote: what search engines, other than Google, do you find useful for general use? google simply don't like to talk with me, when i like to use anything to protect my privacy. i don't abuse this service, but i don't like google tracing what i search, when and why. it started maybe week ago, so i have to use something else. I started using google when it was still a cgi, I was a big fan. I have not used anything google for several years now. No gmail, no Picassa, nothing I can avoid. No deep political reasons, just a personal choice. I have used Yahoo for quite a awhile and been very happy with the results I get. At least I've not gone wanting for info because of my search engine choice. DAve -- Google finally, after 7 years, provided a logo for veterans. Thank you Google. What to do with my signature now? ___ 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 router problem
Thanks for all your input. For now I am posting my rc.conf, but I will try your suggestions this evening when I come back from work. If anyone needs additional details, please ask and I'll repost my initial cry for help. Eugen ### Console options keymap=us.iso font8x8=NO font8x14=NO font8x16=NO scrnmap=NO keyrate=fast cursor=blink blanktime=900 saver=warp ### Mouse daemon mousechar_start=NO moused_enable=NO moused_flags= moused_port=/dev/sysmouse moused_type=auto ### IPv6 options ipv6_enable=NO ifconfig_dc0=DHCP ### PF firewall # pf_enable=YES# Enable PF (load module if required) # pf_flags= # additional flags for pfctl startup # pf_rules=/etc/pf.conf# rules definition file for pf # pflog_enable=YES # start pflogd(8) # pflog_flags= # additional flags for pflogd startup # pflog_logfile=/var/log/pflog # where pflogd should store the logfile ### Miscellaneous administrative options kern_securelevel=-1 # range: -1..3 ; `-1' is the most insecure kern_securelevel_enable=NO# kernel security level (see init(8)), local_startup=/usr/local/etc/rc.d clear_tmp_enable=YES # Clear /tmp at startup. devfs_system_ruleset=devfsrules_local # The name of a ruleset to apply to /dev dmesg_enable=YES # Save dmesg(8) to /var/run/dmesg.boot update_motd=YES # update version info in /etc/motd (or NO) virecover_enable=NO# Perform housekeeping for the vi(1) editor usbd_enable=YES usbd_enable=YES # Run the usbd daemon. usbd_flags= # Flags to usbd (if enabled). lpd_enable=YES On Feb 5, 2008 11:15 PM, Kevin Kinsey [EMAIL PROTECTED] wrote: Eugen wrote: Are there really no experienced FreeBSD users who can help me with my behind a router problem ? Should I post it again ? Should I just give up using BSD altogether due to an unusable system? I would not like this idea, I was really starting to like it. Respectfully, Eugen Hello. I'm sorry to hear you're having trouble. Have you attempted static assignment to another address, such as 192.168.1.38 (something not 33, but within your pool)? # ifconfig dc0 down # ifconfig dc0 inet 192.168.1.38 netmask 255.255.255.0 # ping 192.168.1.1 What does `arp -a` say? Does ping work if you call it with `ping -I dc0 192.168.1.1`? What does `traceroute 192.168.1.1` give you? And, I've only seen output for the one interface (maybe I overlooked something in your posts), what is the output of ifconfig -a --- is there some other interface that could be causing route problems and therefore network unreachable from ping(8)? It does seem rather odd, so I wonder if there's something we are all overlooking. Since no one but you is there, we can't tell you what it is, but only guess. Maybe something above will give us all a clue :-) Also respectfully, ;-) Kevin Kinsey -- Conscience doth make cowards of us all. -- Shakespeare ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Memory Error using Mailman on FreeBSD. How to debug?
Lachlan Michael wrote: How big does the mailman process actually get? top will tell you. Mailman values don't budge. None of the mailman processes go over about 8.5M, which is what they are during idle time. Real puzzler. I'm surprised not to have at least one process growing, though. Maybe it's not using much CPU and you're not spotting it. Try running top, then sorting on size (o size inside top) then try your mailman email again. Make sure the top refresh rate is fast enough. s 1 inside top would do that, or even s 0 if desperate. Other things to try: Up the stack size ulimit -s 262144 inside the mailman startup. Again, I've had processes in the past which needed this. You'd have to check that from a shell (/bin/sh) and first to see that your system will allow a bigger value. If not, I believe that there is a sysctl to do that these days but don't have a modern enough system to look it up. A search for MAXSSIZ on google or mail archives may turn it up - that's the kernel option but requires a recompile. Of course, limits may not be the issue at all. They are a likely suspect given your error message, but maybe it's worth checking other bits of the mail system. Can you email a file of the size your are trying not through mailman? Maybe your MTA (sendmail/postfix etc) has a limit that somehow causes mailman to get this error. The final suggestion is to try to trace (ktrace, strace from ports) the process that is dying, but I suspect mailman forks a new process to deal with the email so how you catch it, I don't know. Many demons have a run in foreground without forking option which can be helpful to debugging, but I don't know if anything like that is possible in mailman. If you can figure out what mailman actually runs to process the email, you could ktrace that from the command line. Maybe the mailman mailing list could give you an incantation to try. --Alex ___ 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 use two interface with jail
Le 05/02/2008 à 17:37:25+0100, Kurt Jaeger a écrit Hi! How can I make all traffic from the server/for the server pass through the first interface all traffic from the jail /for the jail pass through the second interface. In fact : How can make two «default router» on for the server, another for all jail. Assuming you can use ipfw, here's an example: - Interfaces: if1: 192.168.1.1, gateway 192.168.1.254 if2: 192.168.2.1, gateway 192.168.2.254 - system uses 192.168.1.254 as its default gateway. - IP-ranges for jails are in the 192.168.2.0/24 range. - Then add the following ipfw rule: /sbin/ipfw add 1000 fwd 192.168.2.254 ip from 192.168.2.0/24 to any out via if2 Give it a try. Thanks for your help. It's working. I'm using pf (old habit) and with this single ligne pass out route-to (bce1 router_address) from jail to ! network_CIDR it's working. Thanks. Regards. -- Albert SHIH Observatoire de Paris Meudon SIO batiment 15 Heure local/Local time: Mer 6 fév 2008 14:58:45 CET ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
script to be executed on system startup.
Hi, I have a script file, i want that script to be executed on system startup. I am doing this on Linux in following two steps : - 1. Copying the script to /etc/rc.d directory. 2. /sbin/chkconfig --add scriptname I want to achieve the same on FreeBSD chckconfig file is not present, documentation says i have to add it to rc.conf file. How can i add it to rc.conf file, is there any command? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading the Installed package
navneet Upadhyay wrote: Hi, I have two binary packages of an application of version 1.1 and 1.2. *The 1.1 is already installed, how can i upgrade it to 1.2* ? Do i have to uninstall 1.1 and then install 1.2 ? I would prefer a way by which i can upgrade an wxisting package without uninstalling. Uninstall reinstall takes all of five seconds. It's quite easy. Any of the ports management software has to do some variety of this anyway. The only difference is they do it with one command. #!/bin/sh pkg_delete pkg-1.1 pkg_add pkg-1.2 There! A new port management binary upgrade utility. The usefulness of the port management apps (portmaster,portupgrade) is when you want to upgrade multiple ports and large amounts of dependencies all at once. They are more trouble than they are worth for a single package. That is, unless you are already using them. Regards, Jason ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: script to be executed on system startup.
navneet Upadhyay wrote: Hi, Hello, I have a script file, i want that script to be executed on system startup. I am doing this on Linux in following two steps : - 1. Copying the script to /etc/rc.d directory. 2. /sbin/chkconfig --add scriptname I want to achieve the same on FreeBSD chckconfig file is not present, documentation says i have to add it to rc.conf file. How can i add it to rc.conf file, is there any command? you just edit rc.conf and you add a line in the form your_script_name_enable=YES Then you place the script your_script_name in /usr/local/etc/rc.d at the bottom of the rc(8) man page there are a few examples on how to build such a script. -- Pietro Cerutti PGP Public Key: http://gahr.ch/pgp signature.asc Description: OpenPGP digital signature
Re: script to be executed on system startup.
At 08:09 AM 2/6/2008, navneet Upadhyay wrote: Hi, I have a script file, i want that script to be executed on system startup. I am doing this on Linux in following two steps : - 1. Copying the script to /etc/rc.d directory. 2. /sbin/chkconfig --add scriptname I want to achieve the same on FreeBSD chckconfig file is not present, documentation says i have to add it to rc.conf file. How can i add it to rc.conf file, is there any command? You don't need any command. Depending on the version of FreeBSD, put your script in /usr/local/etc/rc.d and if you are using earlier than 6.X FreeBSD name the script chckconfig.sh You can name it in the same in 6.X and 7.X and it will work. Be sure the script is chmod'd (usually 755) to execute. Since your script runs without a known environment be sure to either use full pathnames for executables or set the path in your script. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: script to be executed on system startup.
I have a script file, i want that script to be executed on system startup. I am doing this on Linux in following two steps : - 1. Copying the script to /etc/rc.d directory. 2. /sbin/chkconfig --add scriptname I want to achieve the same on FreeBSD chckconfig file is not present, documentation says i have to add it to rc.conf file. you have to 1) make your own service started in /etc/rc.d (look at others for example) 2) simply add what's needed to rc.local ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: www search engines
not used anything google for several years now. No gmail, no Picassa, nothing I can avoid. No deep political reasons, just a personal choice. exactly as me. i really don't understand people that CAN have normal mail (especially admins) using gmail. it's just strange. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: script to be executed on system startup.
i dont want to go with the rename option, as if tomorrow i want to add more scripts to run at startup i will be in a mess. I will tell in detail so that it would be easy for you to understand my problem :- Intention is that the script file should be called at both startup and shutdown. In Linux after doing :- 1. Copying the script to /etc/rc.d directory. 2. /sbin/chkconfig --add scriptname While startup scriptfile is called with parameter *start* and while shutdown it is called with parameter *stop.* So i check the parameter value in the script and if it is start , i run my executables and if it is stop i gracefully exit from my executables. I want to achie same thing in FreeBSD. Thanks, Navneet On 2/6/08, Derek Ragona [EMAIL PROTECTED] wrote: At 08:09 AM 2/6/2008, navneet Upadhyay wrote: Hi, I have a script file, i want that script to be executed on system startup. I am doing this on Linux in following two steps : - 1. Copying the script to /etc/rc.d directory. 2. /sbin/chkconfig --add scriptname I want to achieve the same on FreeBSD chckconfig file is not present, documentation says i have to add it to rc.conf file. How can i add it to rc.conf file, is there any command? You don't need any command. Depending on the version of FreeBSD, put your script in /usr/local/etc/rc.d and if you are using earlier than 6.XFreeBSD name the script chckconfig.sh You can name it in the same in 6.X and 7.X and it will work. Be sure the script is chmod'd (usually 755) to execute. Since your script runs without a known environment be sure to either use full pathnames for executables or set the path in your script. -Derek -- This message has been scanned for viruses and dangerous content by *MailScanner* http://www.mailscanner.info/, and is believed to be clean. MailScanner thanks transtec Computers http://www.transtec.co.uk/ for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Host interface resetting - Asus nx 1101 (stge)
At 12:11 AM 2/6/2008, Rudi Kramer - MWEB wrote: Hello, I recently purchased a Asus NX 1101 nic for a intel pc I have at home. The motherboard is a intel gigabyte GA-8I945GMF and I'm running FreeBSD 6.3 RELEASE. The card is correctly using the stge driver but whenever I try and bring the interface up I get the following message host interface error resetting repeated over and over again and I have to reboot the server. I tested the card on an AMD gigabyte board (K8M800-8237), also running FreeBSD 6.3 and the card runs perfectly. I checked dmesg and also /var/logl/message and I couldn't find anything useful, any ideas? Rudi Rudi, Since you are having this problem on one motherboard but not the other, I would try other slots on the problematic motherboard. Usually some PCI slots have different capabilities (besides 32 bit vs 64 bit) as some will allow busmastering as one example. Check the card specs against your motherboard specs for the slots. Also some PCI cards may need irq assignment, some motherboards let you set these, while others make these assignment automatically through some implementation of plug-and-play. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: script to be executed on system startup.
At 08:33 AM 2/6/2008, navneet Upadhyay wrote: i dont want to go with the rename option, as if tomorrow i want to add more scripts to run at startup i will be in a mess. I will tell in detail so that it would be easy for you to understand my problem :- Intention is that the script file should be called at both startup and shutdown. In Linux after doing :- 1. Copying the script to /etc/rc.d directory. 2. /sbin/chkconfig --add scriptname While startup scriptfile is called with parameter start and while shutdown it is called with parameter stop. So i check the parameter value in the script and if it is start , i run my executables and if it is stop i gracefully exit from my executables. I want to achie same thing in FreeBSD. Thanks, Navneet All scripts in /usr/local/etc/rc.d are sent the start parameter at bootup and the stop parameter at shutdown. So this is exactly what you are looking for. If your script isn't running correctly check the paths to the executables, and also put some echo statements in the script to follow the logic to debug it. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: script to be executed on system startup.
navneet Upadhyay wrote: Hi, I have a script file, i want that script to be executed on system startup. I am doing this on Linux in following two steps : - 1. Copying the script to /etc/rc.d directory. 2. /sbin/chkconfig --add scriptname I want to achieve the same on FreeBSD chckconfig file is not present, documentation says i have to add it to rc.conf file. I've seen some complicated examples on this thread, and want to suggest a simple one: 1. create a regular shell script in /etc/rc.d, name it whatever you like (for example: /etc/rc.d/myscript) 2. chmod a+x the script 3. you're done. This will work for the recent versions of FreeBSD (you didn't say for which version do you need it). A more semantically pure example (and the one that's preferred if your script starts an external application - a web server or something like that) is to put the script in /usr/local/etc/rc.d. In any case, the syntax and everything else is the same. An advanced feature is to regulate when the script will be executed (in Linux, this is accomplished by all those ugly symlinks like S86Something). Here it is done by adding special comments to the beginning of the file in the format # AFTER: FILESYSTEMS or # BEFORE: LOGIN See rcorder(8) man page for details. (most of the advices given here will also work on NetBSD). signature.asc Description: OpenPGP digital signature
Re: Help with router problem
At 07:40 AM 2/6/2008, Eugen wrote: Thanks for all your input. For now I am posting my rc.conf, but I will try your suggestions this evening when I come back from work. If anyone needs additional details, please ask and I'll repost my initial cry for help. Eugen ### Console options keymap=us.iso font8x8=NO font8x14=NO font8x16=NO scrnmap=NO keyrate=fast cursor=blink blanktime=900 saver=warp ### Mouse daemon mousechar_start=NO moused_enable=NO moused_flags= moused_port=/dev/sysmouse moused_type=auto ### IPv6 options ipv6_enable=NO ifconfig_dc0=DHCP ### PF firewall # pf_enable=YES# Enable PF (load module if required) # pf_flags= # additional flags for pfctl startup # pf_rules=/etc/pf.conf# rules definition file for pf # pflog_enable=YES # start pflogd(8) # pflog_flags= # additional flags for pflogd startup # pflog_logfile=/var/log/pflog # where pflogd should store the logfile ### Miscellaneous administrative options kern_securelevel=-1 # range: -1..3 ; `-1' is the most insecure kern_securelevel_enable=NO# kernel security level (see init(8)), local_startup=/usr/local/etc/rc.d clear_tmp_enable=YES # Clear /tmp at startup. devfs_system_ruleset=devfsrules_local # The name of a ruleset to apply to /dev dmesg_enable=YES # Save dmesg(8) to /var/run/dmesg.boot update_motd=YES # update version info in /etc/motd (or NO) virecover_enable=NO# Perform housekeeping for the vi(1) editor usbd_enable=YES usbd_enable=YES # Run the usbd daemon. usbd_flags= # Flags to usbd (if enabled). lpd_enable=YES Eugen, I almost always set my FreeBSD systems up to use a static IP, even behind a router. I don't know if you want to access your FreeBSD system from ONLY the LAN, or if you want some access through your router. I prefer a static IP on my FreeBSD systems as they are all providing some server functions (file sharing, DNS, etc.) Below are typical lines you would have in your /etc/rc.conf: == #set the default router to your router's IP, often 192.168.1.1 defaultrouter=192.168.1.1 #set your hostname to match the enty in /etc/hosts hostname=myhostname.mydomainname.com #set your IP to one not in any DHCP range ifconfig_dc0=inet 192.168.1.10 netmask 255.255.255.0 == These are all you need to get it working. If you want the FreeBSD to have a LAN address but access through the router you need to set that up in your router. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: script to be executed on system startup.
Ivan Voras wrote: An advanced feature ... I'd like to add some more info on the subject: the rc.d script mechanism is extremely powerful and you can do many things with it, if you need them. Scripts are passed arguments like start and stop which you might want to handle (though stop is handled specially and by default, BSD's don't call stop unless specifically asked for; they send SIGTERM), they can automatically handle PID files so daemons are started and stopped gracefully without any special support from the applications or the script writer. It's an extraordinarily good subsystem. signature.asc Description: OpenPGP digital signature
idlc loops building openoffice.org-2
Has anyone else seen this? I am trying to build editors/openoffice.org-2 on a 6.3-release system and keep getting a loop in idlc when compiling seemingly random idl files. Here's an example: rm -f ../../../../unxfbsdi.pro/ucrdoc/cssdrawing.db regmerge ../../../../unxfbsdi.pro/ucrdoc/cssdrawing.db UCR @/tmp/mkGyYxjk - rm -f ../../../../unxfbsdi.pro/misc/cssdrawing.idls cat /tmp/mkI8sAOV ../../../../unxfbsdi.pro/misc/cssdrawing.idls /usr/ports/editors/openoffice.org-2/work/OOG680_m9/offapi/com/sun/star/drawing/framework idlc @/tmp/mkl1oXN1 idlc: compile 'AnchorBindingMode.idl' ... idlc: compile 'BasicPaneFactory.idl' ... idlc: compile 'BasicToolBarFactory.idl' ... idlc: compile 'BasicViewFactory.idl' ... idlc: compile 'ConfigurationChangeEvent.idl' ... idlc: compile 'ConfigurationController.idl' ... idlc: compile 'ModuleController.idl' ... idlc: compile 'PaneController.idl' ... idlc: compile 'ResourceActivationMode.idl' ... idlc: compile 'ResourceId.idl' ... idlc: compile 'TabBarButton.idl' ... At this point, idlc was looping (using all available CPU time) and sat there for as long as I was willing to let it. I have tried this several times now and each time it eventually winds up looping the same, but so far, always on a different idl file. Here's the uname output for my system: FreeBSD sarlacc.xx 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 04:45:45 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP i386 Anyone have an idea as to what is wrong/going on here? Thanks, Bob -- Bob Willcox A lack of planning on your part does [EMAIL PROTECTED] not constitute an emergency on my part. Austin, TX ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading the Installed package
Jason C. Wells wrote: navneet Upadhyay wrote: Hi, I have two binary packages of an application of version 1.1 and 1.2. *The 1.1 is already installed, how can i upgrade it to 1.2* ? Do i have to uninstall 1.1 and then install 1.2 ? I would prefer a way by which i can upgrade an wxisting package without uninstalling. Uninstall reinstall takes all of five seconds. It's quite easy. Any of the ports management software has to do some variety of this anyway. The only difference is they do it with one command. Actually, there is one other key difference. portupgrade[1] will make a *backup* of the package it is about to uninstall, and will recover that backup if the subsequent install of the new package fails. You can do that by hand with the pkg_ tools but I know I prefer it to just happen. You could add that to your script, but why re-invent the wheel? portupgrade[1] also keeps copies of any libraries it uninstalls during an upgrade, which ought not to be necessary. But if something was silently relying on one, you won't break it. The usefulness of the port management apps (portmaster,portupgrade) is when you want to upgrade multiple ports and large amounts of dependencies all at once. They are more trouble than they are worth for a single package. That is, unless you are already using them. The other argument would be that there's no better time to get familiar with a tool than when you can use it to do something easy. --Alex [1] portmaster may do this too. I don't know as regrettably I haven't found time to try it yet. The new version is something I would like to try, and while I can't recommend it from personal experience, I would suggest trying it nonetheless. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Preserving file permissions with dump and restore
On Wed, Feb 06, 2008 at 12:44:49AM -0500, Francois-Xavier Charpentier de Beauville wrote: Wojciech Puchar wrote: Hi, I have a box with three hard drives: /dev/da0 - dedicated to the OS /dev/ad4s1e - data drive - mounted as /store /dev/ad5s1e - hold a backup of /dev/ad4 - mounted as /backup I used 'dump' to backup everything from /store to /backup with the following command: dump -0aun -f /backup/fullbackup /store As expected, the result is a dump file called 'fullbackup' Then I tested a restore, by restoring the fullbackup file from /backup to /store. I did the following: 1) made /store pristine: newfs -U /dev/ad4s1e 2) mounted /dev/ad4s1e on /store 3) cd into /store 4) ran the command: restore -r -uv -f /backup/fullbackup 5) remove 'restoresymtable' from /store Thanks in advance for your help you did restore as root? (i think so but just for sure) it is something wrong with restore then, i used it many times and it restore everything. anyway - rsync is good tool to make exact copy of directory tree Actually yes, I did restore as root. All ownership info and permissions are reset during restore, and none of the original permissions are back. This kind of weird since the OS drive hasn't changed. So, there are the same users setup on the system. Any thoughts? Well, dump/restore should result in permissions and flags and everything being as before the dump. I have done the equivalent many many times and not seen any loss of permissions or flags or change of ownership. When the restore finished, did it ask you about setting owner/permissions on . ?If so, answer no. That is the only thing I can think of. jerry ___ 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: script to be executed on system startup.
(for example: /etc/rc.d/myscript) 2. chmod a+x the script 3. you're done. This will work for the recent versions of FreeBSD (you didn't say for which version do you need it). you need to make that script react for start and stop commands at least ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: script to be executed on system startup.
Hello, 2008/2/6, Wojciech Puchar [EMAIL PROTECTED]: (for example: /etc/rc.d/myscript) 2. chmod a+x the script 3. you're done. This will work for the recent versions of FreeBSD (you didn't say for which version do you need it). you need to make that script react for start and stop commands at least I just symlinked my sh script to /usr/local/etc/rc.d/ and it works quite well without even touching rc.conf. HTH Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: script to be executed on system startup.
On Wed, Feb 06, 2008 at 03:22:26PM +0100, Pietro Cerutti wrote: navneet Upadhyay wrote: Hi, Hello, I have a script file, i want that script to be executed on system startup. I am doing this on Linux in following two steps : - 1. Copying the script to /etc/rc.d directory. 2. /sbin/chkconfig --add scriptname I want to achieve the same on FreeBSD chckconfig file is not present, documentation says i have to add it to rc.conf file. How can i add it to rc.conf file, is there any command? you just edit rc.conf and you add a line in the form your_script_name_enable=YES Then you place the script your_script_name in /usr/local/etc/rc.d at the bottom of the rc(8) man page there are a few examples on how to build such a script. One more thing that may seem obvious, but is easy to forget. The script must have execute permission set on the file. jerry -- Pietro Cerutti PGP Public Key: http://gahr.ch/pgp ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: script to be executed on system startup.
On Wed, Feb 06, 2008 at 03:29:14PM +0100, Wojciech Puchar wrote: I have a script file, i want that script to be executed on system startup. I am doing this on Linux in following two steps : - 1. Copying the script to /etc/rc.d directory. 2. /sbin/chkconfig --add scriptname I want to achieve the same on FreeBSD chckconfig file is not present, documentation says i have to add it to rc.conf file. you have to 1) make your own service started in /etc/rc.d (look at others for example) 2) simply add what's needed to rc.local No, don't add anything to rc.local. Putting the script in /usr/local/etc/rc.d and making it executable is all you want to do. In the script it should check for being passed a 'start' or a 'stop'. If you want to pass it other information or conditions, you may also want to make it to check for an environment variable which you can set in rc.conf and have your script read up (source) rc.conf. jerry ___ 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]
ports makefile stuff (bsd.lib.mk)
In my efforts to make some libraries, I looked up the documentation, and found bsd.lib.mk does in fact make my life a lot easier. However, I have a few questions. 1) Initially, this library will actually build several sublibraries. To keep my code neat, each library has it's own source directory. However, I also want to make cross linking easier and less prone to oops, I forgot to add the library's directory to the lib path list issues, so under the source directory I made an 'objs' directory, where I was manually putting the output. Is there a way to simply have the final output files sent to that directory? 2) How likely is it to cause compatibility erros if I simply go through the bsd.lib.mk file, and grab out all of the parts I need, and manually assemble them into my makefile? i.e. does this makefile vary much from release-to-release/hardware-to-hardware? Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
/usr/local/etc/rc.d/ scripts and non-root user
Hello, I have looked at my /usr/local/etc/rc.d/ and realized that the symlink I put there has the root as owner. It all works but I would rather use a non-root user for to run that script. $ ls -l /usr/local/etc/rc.d/ lrwxr-xr-x 1 root wheel40 May 9 2007 sender.sh - /usr/home/api/sender/start.sh So I tried: $ sudo chown api /usr/local/etc/rc.d/sender.sh No error but no change either. The original start.sh file has user api but the symlink is owned by root. How can I make sure that the file is indeed run as user api? Thanks! Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: script to be executed on system startup.
On Wed, Feb 06, 2008 at 04:39:40PM +0100, Zbigniew Szalbot wrote: Hello, 2008/2/6, Wojciech Puchar [EMAIL PROTECTED]: (for example: /etc/rc.d/myscript) 2. chmod a+x the script 3. you're done. This will work for the recent versions of FreeBSD (you didn't say for which version do you need it). you need to make that script react for start and stop commands at least I just symlinked my sh script to /usr/local/etc/rc.d/ and it works quite well without even touching rc.conf. If your script dosn't have need of any information or configuration from outside, then you don't need to put anything in /etc/rc.conf. But, it is available if you need it. As for start and stop, the system will pass start on a bootup and stop on a shutdown.It is appropriate to check at least for start in your script and only startup if it is set so you don't try to start it at shutdown.But, if there is something you would like to do at shutdown, then also make a section of the script for shutdown and then check for 'stop' and run that part when it is present and 'start' is not present. If both are set, then it is a bad error somewhere. jerry HTH Zbigniew Szalbot ___ 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: script to be executed on system startup.
Hello, 2008/2/6, Jerry McAllister [EMAIL PROTECTED]: On Wed, Feb 06, 2008 at 04:39:40PM +0100, Zbigniew Szalbot wrote: Hello, 2008/2/6, Wojciech Puchar [EMAIL PROTECTED]: (for example: /etc/rc.d/myscript) 2. chmod a+x the script 3. you're done. This will work for the recent versions of FreeBSD (you didn't say for which version do you need it). you need to make that script react for start and stop commands at least I just symlinked my sh script to /usr/local/etc/rc.d/ and it works quite well without even touching rc.conf. If your script dosn't have need of any information or configuration from outside, then you don't need to put anything in /etc/rc.conf. But, it is available if you need it. As for start and stop, the system will pass start on a bootup and stop on a shutdown.It is appropriate to check at least for start in your script and only startup if it is set so you don't try to start it at shutdown.But, if there is something you would like to do at shutdown, then also make a section of the script for shutdown and then check for 'stop' and run that part when it is present and 'start' is not present. If both are set, then it is a bad error somewhere. Thank you Jerry - I find your posts very informative and valuable! As for my api, all other configs are defined in a separate properties file (including when and how it should die/stop), so it is enough for me. Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Some ZFS experience
Hi list monkeys! I've been using ZFS on freebsd since August 2007. It was running on 4x 9GB SCSI drives in raidz1 configuration powered by some old bx133 motherboard with 2x CPUs on 350MHz with 512MB of RAM. Applications running on it were couple of jails spinning low traffic mail servers and mysqls. All was running smooth considering the amount of fancy hardware :) However about week or so I upgraded that box by placing all 4 drives in new machine with P4 grade CPU and 1GB of ram, *but* I failed to connect all 4 drives in new enviroment with 1 scsi cable (was too short to reach 4th drive) and decided to give it a shot and see what happens with 1 hdd offline (omg i was expecting that will work). What happened: 1. Base system running on gmirror volume consisting of 4 mirrors booted up normally in degraded mode with 3 of 4 drives online. 2. /data powered by raidz1 zfs was showing 3 drives, 2 online and 1 faulted. zfs list was showing that volume is unavailable due lack of spares. I'm not sure which drive I didnt connect, was it da0, da1, da2 or da3 so i tried one more combination by cabling 3 drives in little different fashion. This time 2 of 3 drives showed as faulted. I've left it and got extra cabling the next day. Connected all 4 drives and ZFS pool continued working normally like it was in previous box. What was wrong when 3 drives were connected? Wasnt supposed to raidz1 survive lack of 1 drive? Or I did something wrong there? I didnt do 'zpool export' prior to physical migration of the drives. I'm using FreeBSD 7.0-PRERELEASE pulled from cvsup before 2 weeks. No custom patches. conf files and dmesg follows: cat /boot/loader.conf geom_mirror_load=YES zfs_load=YES vfs.zfs.zil_disable=1 vfs.zfs.prefetch_disable=1 #vm.kmem_size=335708160 vm.kmem_size=512M vm.kmem_size_max=512M hw.ata.wc=0 FreeBSD anarki.default.co.yu 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #3: Thu Jan 31 13:27:25 CET 2008 dmesg: Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-PRERELEASE #3: Thu Jan 31 13:27:25 CET 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ANARKI Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Celeron(R) D CPU 3.06GHz (3081.50-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf64 Stepping = 4 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0xe41dSSE3,RSVD2,MON,DS_CPL,CNXT-ID,CX16,xTPR,PDCM AMD Features=0x2010NX,LM AMD Features2=0x1LAHF real memory = 1065287680 (1015 MB) avail memory = 1028866048 (981 MB) ACPI APIC Table: GBTGBTUACPI ioapic0 Version 2.0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: GBT GBTUACPI on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a (3) failed acpi0: reservation of 10, 3f6f (3) failed Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0 acpi_hpet0: High Precision Event Timer iomem 0xfed0-0xfed003ff on acpi0 Timecounter HPET frequency 14318180 Hz quality 900 cpu0: ACPI CPU on acpi0 p4tcc0: CPU Frequency Thermal Control on cpu0 acpi_button0: Power Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pcib1: PCI-PCI bridge irq 16 at device 1.0 on pci0 pci1: PCI bus on pcib1 vgapci0: VGA-compatible display port 0xd000-0xd007 mem 0xe200-0xe207,0xd000-0xdfff,0xe208-0xe20b irq 16 at device 2.0 on pci0 agp0: Intel 82945G (945G GMCH) SVGA controller on vgapci0 agp0: detected 7932k stolen memory agp0: aperture size is 256M pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0 pci2: ACPI PCI bus on pcib2 ahc0: Adaptec 29160 Ultra160 SCSI adapter port 0xb000-0xb0ff mem 0xe100-0xe1000fff irq 18 at device 2.0 on pci2 ahc0: [ITHREAD] aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs re0: RealTek 8169SC/8110SC Single-chip Gigabit Ethernet port 0xb400-0xb4ff mem 0xe1001000-0xe10010ff irq 21 at device 5.0 on pci2 miibus0: MII bus on re0 rgephy0: RTL8169S/8110S/8211B media interface PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto re0: Ethernet address: 00:1d:7d:32:fc:ab re0: [FILTER] isab0: PCI-ISA bridge at device 31.0 on pci0 isa0: ISA bus on isab0 pci0: serial bus, SMBus at device 31.3 (no driver attached) fdc0: floppy drive controller port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] pmtimer0 on isa0 orm0: ISA Option
Re: /usr/local/etc/rc.d/ scripts and non-root user
Zbigniew Szalbot [EMAIL PROTECTED] writes: I have looked at my /usr/local/etc/rc.d/ and realized that the symlink I put there has the root as owner. It all works but I would rather use a non-root user for to run that script. $ ls -l /usr/local/etc/rc.d/ lrwxr-xr-x 1 root wheel40 May 9 2007 sender.sh - /usr/home/api/sender/start.sh So I tried: $ sudo chown api /usr/local/etc/rc.d/sender.sh No error but no change either. The original start.sh file has user api but the symlink is owned by root. How can I make sure that the file is indeed run as user api? I prefer to use cron(8) for this (it has an @reboot value for the crontab files), but for using startup scripts, I think the best way is to use su(1) in the script to execute particular commands. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /usr/local/etc/rc.d/ scripts and non-root user
Zbigniew Szalbot wrote: Hello, I have looked at my /usr/local/etc/rc.d/ and realized that the symlink I put there has the root as owner. It all works but I would rather use a non-root user for to run that script. $ ls -l /usr/local/etc/rc.d/ lrwxr-xr-x 1 root wheel40 May 9 2007 sender.sh - /usr/home/api/sender/start.sh So I tried: $ sudo chown api /usr/local/etc/rc.d/sender.sh No error but no change either. The original start.sh file has user api but the symlink is owned by root. How can I make sure that the file is indeed run as user api? AFAIK, the owner of a symlink is completely irrelevant. All accesses to the file are checked against the permissions of the file pointed to, not the symlink. (Same if the target of a symlink is a directory). Once upon a time I'm sure all symlinks were owned by root, but could be misremembering. When you ran your chown, it did nothing at all From man chown Symbolic links named by arguments are silently left unchanged unless -h is used. If you really care; say you want a find -user api to find that symlink then chown -h api /usr/local/etc/rc.d/sender.sh should do what you want. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /usr/local/etc/rc.d/ scripts and non-root user
Hello Alex, 2008/2/6, Alex Zbyslaw [EMAIL PROTECTED]: Zbigniew Szalbot wrote: Hello, I have looked at my /usr/local/etc/rc.d/ and realized that the symlink I put there has the root as owner. It all works but I would rather use a non-root user for to run that script. $ ls -l /usr/local/etc/rc.d/ lrwxr-xr-x 1 root wheel40 May 9 2007 sender.sh - /usr/home/api/sender/start.sh So I tried: $ sudo chown api /usr/local/etc/rc.d/sender.sh No error but no change either. The original start.sh file has user api but the symlink is owned by root. How can I make sure that the file is indeed run as user api? AFAIK, the owner of a symlink is completely irrelevant. All accesses to the file are checked against the permissions of the file pointed to, not the symlink. (Same if the target of a symlink is a directory). Once upon a time I'm sure all symlinks were owned by root, but could be misremembering. When you ran your chown, it did nothing at all From man chown Symbolic links named by arguments are silently left unchanged unless -h is used. If you really care; say you want a find -user api to find that symlink then chown -h api /usr/local/etc/rc.d/sender.sh should do what you want. Thank you. I realized this was the case before I wrote previous message. The thing is the real file is owned by user api. However, when the application is started following a reboot, its logs are created by user root, whereas when I start it by hand as user api, its logs are owned by user api. So it once caused me a problem because the existing log file was owned by root and I stopped then started this particular software by hand as user api. Needless to say, it panicked about not being able to log what it was doing. I wonder that indeed a better solution may be to use cron for automatic startups, which Lowell rightly pointed out to me. I just loved the simplicity of symlinking sh scripts against /usr/local/etc/rc.d/ :) Thank you! Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: script to be executed on system startup.
No, don't add anything to rc.local. no because of? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /usr/local/etc/rc.d/ scripts and non-root user
Zbigniew Szalbot wrote: I have looked at my /usr/local/etc/rc.d/ and realized that the symlink I put there has the root as owner. It all works but I would rather use a non-root user for to run that script. $ ls -l /usr/local/etc/rc.d/ lrwxr-xr-x 1 root wheel40 May 9 2007 sender.sh - /usr/home/api/sender/start.sh There's one more potential mistake you are making here. Who the script runs as has nothing at all to do with who owns the script unless setuid or setgid bits are set. They would be set on the script itself and not the symlink, so we'd need to see ls -lL /usr/local/etc/rc.d/sender.sh to know what was set or not. Specifically, startup scripts will always run as root and it will be up to the script to do things as another user if appropriate. E.g. by using su, or sudo, or by running a program which was setuid some-other-user, or because it runs as root, simply changing to another user when appropriate (see man 2 setuid). Setuid/gid bits on shell scripts aren't considered safe, however and may even be disabled. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /usr/local/etc/rc.d/ scripts and non-root user
2008/2/6, Alex Zbyslaw [EMAIL PROTECTED]: Zbigniew Szalbot wrote: I have looked at my /usr/local/etc/rc.d/ and realized that the symlink I put there has the root as owner. It all works but I would rather use a non-root user for to run that script. $ ls -l /usr/local/etc/rc.d/ lrwxr-xr-x 1 root wheel40 May 9 2007 sender.sh - /usr/home/api/sender/start.sh There's one more potential mistake you are making here. Who the script runs as has nothing at all to do with who owns the script unless setuid or setgid bits are set. They would be set on the script itself and not the symlink, so we'd need to see ls -lL /usr/local/etc/rc.d/sender.sh to know what was set or not. $ ls -lL /usr/local/etc/rc.d/sender.sh -rwxr-xr-x 1 api wheel 604 May 8 2007 /usr/local/etc/rc.d/sender.sh I have never really understood the thing about setuids, gid and etc. :) I am not planning a restart so won't try it but I am pretty sure that logs are created by root unless the api is started manually. No big deal really but thanks for all the suggestions! Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Some ZFS experience
What happened: 1. Base system running on gmirror volume consisting of 4 mirrors booted up normally in degraded mode with 3 of 4 drives online. 2. /data powered by raidz1 zfs was showing 3 drives, 2 online and 1 faulted. zfs list was showing that volume is unavailable due lack of spares. you told about having raidz over 4 drives. so while it reports 2 online and 1 faulted, not 3 online and 1 faulted? What was wrong when 3 drives were connected? Wasnt supposed to raidz1 survive lack of 1 drive? Or I did something wrong there? yes it should work normally. in case of raid-z - with just a bit slower speed according to ZFS theory. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /usr/local/etc/rc.d/ scripts and non-root user
Zbigniew Szalbot wrote: Thank you. I realized this was the case before I wrote previous message. The thing is the real file is owned by user api. However, when the application is started following a reboot, its logs are created by user root, whereas when I start it by hand as user api, its logs are owned by user api. So it once caused me a problem because the existing log file was owned by root and I stopped then started this particular software by hand as user api. Needless to say, it panicked about not being able to log what it was doing. I wonder that indeed a better solution may be to use cron for automatic startups, which Lowell rightly pointed out to me. I just loved the simplicity of symlinking sh scripts against /usr/local/etc/rc.d/ :) I personally much prefer scripts in rc.d because it's much easier to migrate than crontabs, and if I never use a crontab I always know where to look. It looks to me like you shouldn't be starting the demon as user api - startups scripts should always be started as root. If the demon or whatever is supposed to run as api not root, then perhaps your script should say e.g. su api -c the-path-to-the-demon-or-whatever root can su to whoever without a password, and api can su to api without a password, and everyone else gets prompted. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: script to be executed on system startup.
2008/2/6, Wojciech Puchar [EMAIL PROTECTED]: No, don't add anything to rc.local. no because of? because usrland should be executed from /usr/local/etc/rc.d/ as far as I know. ZS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /usr/local/etc/rc.d/ scripts and non-root user
Zbigniew Szalbot wrote: I have never really understood the thing about setuids, gid and etc. :) I am not planning a restart so won't try it but I am pretty sure that logs are created by root unless the api is started manually. No big deal really but thanks for all the suggestions! It's very simple really. When you run a program it always runs as the user who you are right now. So if you are zbigniew a program you execute runs as you. If you have su'ed or logged in as root, it runs as root. In order to run the program, the user who you are must have the right permissions - i.e. they must have an x bit set. If the program file is owned by the same user as who you are, then you look at the first 3 permissions bits; otherwise if you are in the same group as the program file you look at the next three bits; everyone else looks at the last three bits. (Bits as in pieces, not as in 1/8th of a byte). Some programs need to run as specific users or with a specific group. E.g. shutdown must run as root. You make the file owned by root and set the setuid bit. The permissions might then look like: root wheel r-s-r-x--- shutdown The s replaces the x to show that the file is both executable by root and setuid. Both root and anyone in group wheel can now run shutdown. and the setuid bit says that *whoever* runs the program will run it as if they were root. It's very similar for groups. hth, --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: script to be executed on system startup.
Wojciech Puchar wrote: No, don't add anything to rc.local. no because of? The manual page. The rc.local script contains com- mands which are pertinent only to a specific site. Typically, the /usr/local/etc/rc.d/ mechanism is used instead of rc.local these days but if you want to use rc.local, it is still supported. In this case, it should source /etc/rc.conf and contain additional custom startup code for your system. The best way to handle rc.local, however, is to separate it out into rc.d/ style scripts and place them under /usr/local/etc/rc.d/. It's there for backwards compatibility and you'll be bit when it goes away. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: script to be executed on system startup.
On Wed, Feb 06, 2008 at 05:46:40PM +0100, Wojciech Puchar wrote: No, don't add anything to rc.local. no because of? Quote from man rc Typically, the /usr/local/etc/rc.d/ mechanism is used instead of rc.local these days but if you want to use rc.local, it is still supported. In this case, it should source /etc/rc.conf and contain additional custom startup code for your system. The best way to handle rc.local, however, is to separate it out into rc.d/ style scripts and place them under /usr/local/etc/rc.d/. jerry ___ 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: script to be executed on system startup.
--On Wednesday, February 06, 2008 17:46:40 +0100 Wojciech Puchar [EMAIL PROTECTED] wrote: No, don't add anything to rc.local. no because of? Because rc.local is the legacy, deprecated method of handling local scripts, per man (8) rc. Typically, the /usr/local/etc/rc.d/ mechanism is used instead of rc.local these days but f you want to use rc.local, it is still supported. So, while it's still supported, it's no longer the standard way of handling local scripts, and it could go away in the future. -- Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Some ideas for FreeBSD
Dear FreeBSD Developers, I have a few suggestions for how FreeBSD can be improved in an upcoming release. My first is to allow for dynamically resizeable swap file of some sort, and via kqueue, a notification facility to notify a program when swap is about to run out, when a program has made a memory request which requires more swap space than is avialable, and when swap space is run out. There should also be commands that can shrink the swap files, and see how much is being used in the swap files. This allows for the user to write customised programs that can manage and allocate new swap space as needed. The OS can come with a standard version of such a program that allows a user to specify a maximum swap file size (including infinite). I have also run into problems with making multiple space files on the same disk, in trying to address these swap exhaust problems, which caused thrashing. I believe this happened to when the swap partition and a swap file were on the same drive. Perhaps a way should be looked at to have multiple swap partititions and files on the same disk. That could also allow another way for additional swap space to be allocated, but I dont know if having the possibility of a large number of swap files is less efficient than a dynamically growing swap file. There should also be a feature to see how much of the swap file is used. I would much rather have dynamically allocated and deallocated swap space so I do not have large unused swap space eating up the disk, than having to predefine the swap size. Another idea I have is for setting the Do Not Fragment flag on a per connection option for UDP connections, and a per connection option to disable UDP checksum. The third idea is for more of a move to Linux and, SUS , and POSIX source compatability in regards to additional features supported by these systems. I still in 6.0 run into some calls that are not supported by FreeBSD that is a real headache. I ran into this with posix_memalign in some software. Although posix_memalign is more modern, If it would be trivial to add support for linux specific valloc and memalign why not do so as well, to maintain compatability with older Linux software. It is better to just make FreeBSD be as compatable and for stuff to compile out of box, as possible than to haggle over conditional ifdefs and changing lines of code in software. thank you for your reading these suggestions, it is greatly appreciated. Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: script to be executed on system startup.
On 06/02/2008, Wojciech Puchar [EMAIL PROTECTED] wrote: (for example: /etc/rc.d/myscript) 2. chmod a+x the script 3. you're done. This will work for the recent versions of FreeBSD (you didn't say for which version do you need it). you need to make that script react for start and stop commands at least You *can*, but you don't *need* to, if in a hurry :) The script will be executed once at startup, and it can parse the start argument given to it, but it doesn't have to. Yes, it's somewhat dirty if you ignore start/stop arguments (and if you ignore them you can't rely on nice built-in features like restart internally executing stop, then start) but it works. I spent a few days playing with the rc.d mechanism and it's awesome. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Some ideas for FreeBSD
On Wed, Feb 06, 2008 at 09:23:28AM -0800, [EMAIL PROTECTED] wrote: Dear FreeBSD Developers, I have a few suggestions for how FreeBSD can be improved in an upcoming release. Sounds like you have your work cut out for you. jerry My first is to allow for dynamically resizeable swap file of some sort, and via kqueue, a notification facility to notify a program when swap is about to run out, when a program has made a memory request which requires more swap space than is avialable, and when swap space is run out. There should also be commands that can shrink the swap files, and see how much is being used in the swap files. This allows for the user to write customised programs that can manage and allocate new swap space as needed. The OS can come with a standard version of such a program that allows a user to specify a maximum swap file size (including infinite). I have also run into problems with making multiple space files on the same disk, in trying to address these swap exhaust problems, which caused thrashing. I believe this happened to when the swap partition and a swap file were on the same drive. Perhaps a way should be looked at to have multiple swap partititions and files on the same disk. That could also allow another way for additional swap space to be allocated, but I dont know if having the possibility of a large number of swap files is less efficient than a dynamically growing swap file. There should also be a feature to see how much of the swap file is used. I would much rather have dynamically allocated and deallocated swap space so I do not have large unused swap space eating up the disk, than having to predefine the swap size. Another idea I have is for setting the Do Not Fragment flag on a per connection option for UDP connections, and a per connection option to disable UDP checksum. The third idea is for more of a move to Linux and, SUS , and POSIX source compatability in regards to additional features supported by these systems. I still in 6.0 run into some calls that are not supported by FreeBSD that is a real headache. I ran into this with posix_memalign in some software. Although posix_memalign is more modern, If it would be trivial to add support for linux specific valloc and memalign why not do so as well, to maintain compatability with older Linux software. It is better to just make FreeBSD be as compatable and for stuff to compile out of box, as possible than to haggle over conditional ifdefs and changing lines of code in software. thank you for your reading these suggestions, it is greatly appreciated. Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs ___ 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: script to be executed on system startup.
navneet Upadhyay wrote: Hi, I have a script file, i want that script to be executed on system startup. I am doing this on Linux in following two steps : - 1. Copying the script to /etc/rc.d directory. 2. /sbin/chkconfig --add scriptname I want to achieve the same on FreeBSD chckconfig file is not present, documentation says i have to add it to rc.conf file. How can i add it to rc.conf file, is there any command? There have been a lot of suggestions here and the thread contains all the valid information, but some people have given you deprecated advice. So I'll try to clarify what can be done and how it's meant to be done. 1. Your own scripts belong int /usr/local/etc/rc.d, if you update your system it will suggest to delete all custom scripts from /etc/rc.d, because it's only for scripts from the base system. Remember that path will not be set when your script is called at startup. The usual approach is to only use fully qualified filenames. 2. All executable scripts in /usr/local/etc/rc.d are executed at startup and given the parameter start. Upon shutdown the parameter stop is given. The name of the script does not matter. 3. To this point you have all the functionality you asked for and there is no need for you to look further. However you are at liberty to instead build a compliant rc.d script, which brings you the advantages of controlling the execute order by defining dependencies and being able to activate/deactivate scripts and additional parameters in the file /etc/rc.conf. If you wish to exploit these advanced features it's a good way to look at existing scripts in /usr/local/etc/rc.d and read the rc(8) manual page. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: script to be executed on system startup.
On Wed, 6 Feb 2008 18:52:26 +0100 Ivan Voras [EMAIL PROTECTED] wrote: On 06/02/2008, Wojciech Puchar [EMAIL PROTECTED] wrote: (for example: /etc/rc.d/myscript) 2. chmod a+x the script 3. you're done. This will work for the recent versions of FreeBSD (you didn't say for which version do you need it). you need to make that script react for start and stop commands at least You *can*, but you don't *need* to, if in a hurry :) The script will be executed once at startup, and it can parse the start argument given to it, but it doesn't have to. In a proper RCNG script you don't parse stop/start, you override the stop/start functions. Parsing $1 directly is how the old-style scripts use to work, but the base system and most ports now use the RCNG framework. Yes, it's somewhat dirty if you ignore start/stop arguments (and if you ignore them you can't rely on nice built-in features like restart internally executing stop, then start) but it works. It depends, if the script is just starting a daemon then it can simply use the default start/stop handlers, and stop/start/restart works without any explicit handling. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: script to be executed on system startup.
On Wed, 06 Feb 2008 15:55:12 +0100 Ivan Voras [EMAIL PROTECTED] wrote: I've seen some complicated examples on this thread, and want to suggest a simple one: 1. create a regular shell script in /etc/rc.d, n .. A more semantically pure example (and the one that's preferred if your script starts an external application - a web server or something like that) is to put the script in /usr/local/etc/rc.d. In any case, the syntax and everything else is the same. This is a bit muddled. /etc/rc.d is for system RCNG scripts. /usr/local/etc/rc.d is for local RCNG scripts and legacy scripts that simply respond to stop/start in $1. Legacy scripts end in .sh and are called from /etc/rc.d/localpkg in dictionary order. Since the OP appears to have such a script it should be given a .sh extension and placed in /usr/local/etc/rc.d, not in /etc/rc.d. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: buildworld releng7 exterme performance loss
Frank Staals wrote: Every 2 weeks or so I rebuild my sources on my laptop ( Dell Latitude D630 ). Last wednesday I wanted to update my system again since it was allready a couple of weeks ago I rebuilded my sources. There were no abnormalities during the build/install. But when I restarted my system the system performance was absolutely *horrible*. When I try typing anything in a terminal window the lag is about 20 seconds before the command even shows up. Switching ttys takes at least as long. When logging in remotely the performance is better; giving a random command through the ssh session sometimes even allows a command run on a local-console to run/finish ( or at least thats what the screen shows ). Even trying to shutdown the system using shutdown -p now doesn't have any effect: I get the message System is going down NOW but nothing realy happens, I just get my prompt back and I can continue entering commands. When I push the power-off button the system actually starts shutting down but it stops at Writing entropy file . leaving my only choise to power off the system the hard way. When booting the system to single-user mode however it reacts normally and also shutting down works as it should Last 2 days I tried redownloading the sources from a different mirror ( cvsup2.freebsd.org instead of cvsup.nl.freebsd.org ) to rule out outdated/corrupted sources. But I still get the same behaviour. Gladly I still had my previous sources so I managed to restore my system in a working state. Those sources are from about 3 weeks ago. Does anyone know what could have caused this behaviour and how to fix it ? Below is some system information, however I'm not sure what I should provide to help out, if I should test something I'll gladly do. Working system (sources from about 3 weeks ago, rebuilded today ) : [EMAIL PROTECTED] uname -a FreeBSD Rena.FStaals.net 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Fri Feb 1 20:23:11 CET 2008 root@:/usr/obj/usr/src/sys/RENAKERNEL i386 dmesg: http://fstaals.net/junk/rena/dmesg_old.txt With today's ( 1 frebruary 2008 ) sources : [EMAIL PROTECTED] cat /root/uname FreeBSD 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Fri Feb 1 18:32:59 CET 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/RENAKERNEL i386 dmesg: http://fstaals.net/junk/rena/dmesg_2008_01_02.txt Kernel config used for both the builds : http://fstaals.net/junk/RENAKERNEL.txt Updated my sources again today. This time even build with a GENERIC kernel but still the same result. Is there nobody who can help me with this ? -- -Frank Staals ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: buildworld releng7 exterme performance loss
On Wed, Feb 06, 2008 at 08:22:16PM +0100, Frank Staals wrote: Frank Staals wrote: Every 2 weeks or so I rebuild my sources on my laptop ( Dell Latitude D630 ). Last wednesday I wanted to update my system again since it was allready a couple of weeks ago I rebuilded my sources. There were no abnormalities during the build/install. But when I restarted my system the system performance was absolutely *horrible*. When I try typing anything in a terminal window the lag is about 20 seconds before the command even shows up. Switching ttys takes at least as long. When logging in remotely the performance is better; giving a random command through the ssh session sometimes even allows a command run on a local-console to run/finish ( or at least thats what the screen shows ). Even trying to shutdown the system using shutdown -p now doesn't have any effect: I get the message System is going down NOW but nothing realy happens, I just get my prompt back and I can continue entering commands. When I push the power-off button the system actually starts shutting down but it stops at Writing entropy file . leaving my only choise to power off the system the hard way. When booting the system to single-user mode however it reacts normally and also shutting down works as it should Last 2 days I tried redownloading the sources from a different mirror ( cvsup2.freebsd.org instead of cvsup.nl.freebsd.org ) to rule out outdated/corrupted sources. But I still get the same behaviour. Gladly I still had my previous sources so I managed to restore my system in a working state. Those sources are from about 3 weeks ago. Does anyone know what could have caused this behaviour and how to fix it ? Below is some system information, however I'm not sure what I should provide to help out, if I should test something I'll gladly do. Sounds like the system is spending a lot of time waiting for some resource - I don't know which one[s]. Have you perused the system logs? Can you be running out of memory or swap space? Is the system built with debugging turned on? I'm not sure what else to suggest. jerry Working system (sources from about 3 weeks ago, rebuilded today ) : [EMAIL PROTECTED] uname -a FreeBSD Rena.FStaals.net 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Fri Feb 1 20:23:11 CET 2008 root@:/usr/obj/usr/src/sys/RENAKERNEL i386 dmesg: http://fstaals.net/junk/rena/dmesg_old.txt With today's ( 1 frebruary 2008 ) sources : [EMAIL PROTECTED] cat /root/uname FreeBSD 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Fri Feb 1 18:32:59 CET 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/RENAKERNEL i386 dmesg: http://fstaals.net/junk/rena/dmesg_2008_01_02.txt Kernel config used for both the builds : http://fstaals.net/junk/RENAKERNEL.txt Updated my sources again today. This time even build with a GENERIC kernel but still the same result. Is there nobody who can help me with this ? -- -Frank Staals ___ 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: Some ideas for FreeBSD
In the last episode (Feb 06), [EMAIL PROTECTED] said: The third idea is for more of a move to Linux and, SUS , and POSIX source compatability in regards to additional features supported by these systems. I still in 6.0 run into some calls that are not supported by FreeBSD that is a real headache. I ran into this with posix_memalign in some software. posix_memalign is in 7.0, actually. If there are any posix functions still missing, you can send a mail to the [EMAIL PROTECTED] list, or file a PR with the category set to standards. Patches welcome, too :) -- 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]
df du showing different usages for /var
After nearly running out of space on my /var partition recently, I went in to clean things up and ensure that it didn't happen again. Using the du command to look for offending directories and files, I wiped out a bunch of old Apache and Qmail logs...and then found that I was still using 90% of the partition. So I cd'd over to /var, and got this rather surprising set of results: [EMAIL PROTECTED] /var]$ sudo du -sh 395M. [EMAIL PROTECTED] /var]$ df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad4s1a484M126M320M28%/ devfs 1.0K1.0K 0B 100%/dev /dev/ad4s1f269G 40G207G16%/data /dev/ad4s1d9.7G7.2G1.7G81%/usr /dev/ad4s1e1.9G1.6G173M90%/var These wildly different results have me confused. How in the world can there be a ~1.2GB difference between the disk space in use as reported by these two tools? Which is right? More importantly, how do I fix this? Thanks, Alex Kirk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: df du showing different usages for /var
On Wed, Feb 06, 2008 at 02:28:43PM -0500, [EMAIL PROTECTED] wrote: After nearly running out of space on my /var partition recently, I went in to clean things up and ensure that it didn't happen again. Using the du command to look for offending directories and files, I wiped out a bunch of old Apache and Qmail logs...and then found that I was still using 90% of the partition. So I cd'd over to /var, and got this rather surprising set of results: [EMAIL PROTECTED] /var]$ sudo du -sh 395M. [EMAIL PROTECTED] /var]$ df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad4s1a484M126M320M28%/ devfs 1.0K1.0K 0B 100%/dev /dev/ad4s1f269G 40G207G16%/data /dev/ad4s1d9.7G7.2G1.7G81%/usr /dev/ad4s1e1.9G1.6G173M90%/var These wildly different results have me confused. How in the world can there be a ~1.2GB difference between the disk space in use as reported by these two tools? Which is right? More importantly, how do I fix this? http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DU-VS-DF -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Some ideas for FreeBSD
My first is to allow for dynamically resizeable swap file of some sort, and via kqueue, a notification especially with todays drives - it's waste of time to implement this. nobody use swap FILES at all if swapping is needed unless he/she have no choice. swapping partition always will be faster. believe this happened to when the swap partition and a swap file were on the same drive. Perhaps a way should be looked at to have multiple swap partititions and why you simply won't make swap partition BIGGER on the first place. swapping to files will be always much slower. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: df du showing different usages for /var
In response to [EMAIL PROTECTED]: After nearly running out of space on my /var partition recently, I went in to clean things up and ensure that it didn't happen again. Using the du command to look for offending directories and files, I wiped out a bunch of old Apache and Qmail logs...and then found that I was still using 90% of the partition. So I cd'd over to /var, and got this rather surprising set of results: [EMAIL PROTECTED] /var]$ sudo du -sh 395M. [EMAIL PROTECTED] /var]$ df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad4s1a484M126M320M28%/ devfs 1.0K1.0K 0B 100%/dev /dev/ad4s1f269G 40G207G16%/data /dev/ad4s1d9.7G7.2G1.7G81%/usr /dev/ad4s1e1.9G1.6G173M90%/var These wildly different results have me confused. How in the world can there be a ~1.2GB difference between the disk space in use as reported by these two tools? Because they calculate the space differently. Which is right? They're both right ... in the manner that they calculate it. More importantly, how do I fix this? Well, this depends on your definition of fix. If you mean fix du and dh, there's nothing to fix, they're doing their job exactly correctly. du calculates the used space by looking at each file in each directory. df calculates it by looking at low-level ffs data. If you have one program with a file open, and delete that file with another program, you create a discrepancy between how df and du operate. Since there is no longer a directory entry, du doesn't count the space, but since the other program still has the file open, the filesystem still has the space allocated and used, so df sees the space. This is the correct behaviour. If you mean, how do I actually free up space, the answer could come in a number of ways. Generally, the easiest thing to do is just reboot the system. Whatever program has space reserved will exit and the filesystem will reclaim it. (If the space doesn't free up after a reboot, something else is wrong) If a reboot isn't an option, you can often figure out what's going on by comparing the list of open files provided by fstat with a list of files that you were deleting. You might then be able to free up the space simply by restarting a single program: possibly Apache or qmail. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: df du showing different usages for /var
After nearly running out of space on my /var partition recently, I went in to clean things up and ensure that it didn't happen again. Using the du command to look for offending directories and files, I wiped out a bunch of old Apache and Qmail logs...and then found that I was still using 90% of the partition. So I cd'd over to /var, and got this rather surprising set of results: [EMAIL PROTECTED] /var]$ sudo du -sh 395M. [EMAIL PROTECTED] /var]$ df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad4s1a484M126M320M28%/ devfs 1.0K1.0K 0B 100%/dev /dev/ad4s1f269G 40G207G16%/data /dev/ad4s1d9.7G7.2G1.7G81%/usr /dev/ad4s1e1.9G1.6G173M90%/var These wildly different results have me confused. How in the world can there be a ~1.2GB difference between the disk space in use as reported by these two tools? Because they calculate the space differently. Which is right? They're both right ... in the manner that they calculate it. More importantly, how do I fix this? Well, this depends on your definition of fix. If you mean fix du and dh, there's nothing to fix, they're doing their job exactly correctly. du calculates the used space by looking at each file in each directory. df calculates it by looking at low-level ffs data. If you have one program with a file open, and delete that file with another program, you create a discrepancy between how df and du operate. Since there is no longer a directory entry, du doesn't count the space, but since the other program still has the file open, the filesystem still has the space allocated and used, so df sees the space. This is the correct behaviour. If you mean, how do I actually free up space, the answer could come in a number of ways. Generally, the easiest thing to do is just reboot the system. Whatever program has space reserved will exit and the filesystem will reclaim it. (If the space doesn't free up after a reboot, something else is wrong) If a reboot isn't an option, you can often figure out what's going on by comparing the list of open files provided by fstat with a list of files that you were deleting. You might then be able to free up the space simply by restarting a single program: possibly Apache or qmail. Thanks for such a thorough and prompt response. Given Erik's reply, it looks like I've inadverdently asked an FAQ...and reading the entry he pointed me to, it makes perfect sense what's going on, and a simple restart of Apache fixed things up. Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports makefile stuff (bsd.lib.mk)
I made a patch to bsd.lib.mk if anyone is interested. It adds a BUILDTO_DIR variable, which sets a directory for the final .a and .so files to be built to. Is there any chance of this being integrated into the FreeBSD make system? (created by diff -C 5 /usr/share/mk/bsd.lib.mk bsd.lib.mk bsd.lib.mk_patch, on a FreeBSD 6.2 system) =PATCH START= *** /usr/share/mk/bsd.lib.mkMon Apr 9 17:30:40 2007 --- bsd.lib.mk Wed Feb 6 15:03:58 2008 *** *** 6,15 --- 6,16 # Set up the variables controlling shared libraries. After this section, # SHLIB_NAME will be defined only if we are to create a shared library. # SHLIB_LINK will be defined only if we are to create a link to it. # INSTALL_PIC_ARCHIVE will be defined only if we are to create a PIC archive. + # BUILDTO_DIR may be defined to change the directory where the final objects are built to and stored .if defined(NO_PIC) .undef SHLIB_NAME .undef INSTALL_PIC_ARCHIVE .else .if !defined(SHLIB) defined(LIB) *** *** 41,50 --- 42,55 # prefer .s to a .c, add .po, remove stuff not used in the BSD libraries # .So used for PIC object files .SUFFIXES: .SUFFIXES: .out .o .po .So .S .asm .s .c .cc .cpp .cxx .m .C .f .y .l .ln + .if defined(BUILDTO_DIR) + .PATH: $(BUILTDO_DIR) + .endif + .if !defined(PICFLAG) .if ${MACHINE_ARCH} == sparc64 PICFLAG=-fPIC .else PICFLAG=-fpic *** *** 106,131 .if defined(LIB) !empty(LIB) _LIBS=lib${LIB}.a lib${LIB}.a: ${OBJS} ${STATICOBJS} @${ECHO} building static ${LIB} library ! @rm -f ${.TARGET} ! @${AR} cq ${.TARGET} `lorder ${OBJS} ${STATICOBJS} | tsort -q` ${ARADD} ! ${RANLIB} ${.TARGET} .endif .if !defined(INTERNALLIB) .if !defined(NO_PROFILE) defined(LIB) !empty(LIB) _LIBS+= lib${LIB}_p.a POBJS+= ${OBJS:.o=.po} ${STATICOBJS:.o=.po} lib${LIB}_p.a: ${POBJS} @${ECHO} building profiled ${LIB} library ! @rm -f ${.TARGET} ! @${AR} cq ${.TARGET} `lorder ${POBJS} | tsort -q` ${ARADD} ! ${RANLIB} ${.TARGET} .endif .if defined(SHLIB_NAME) || \ defined(INSTALL_PIC_ARCHIVE) defined(LIB) !empty(LIB) SOBJS+= ${OBJS:.o=.So} --- 111,136 .if defined(LIB) !empty(LIB) _LIBS=lib${LIB}.a lib${LIB}.a: ${OBJS} ${STATICOBJS} @${ECHO} building static ${LIB} library ! @rm -f ${BUILDTO_DIR}/${.TARGET} 21 2 /dev/null || $(TRUE) ! @${AR} cq ${BUILDTO_DIR}/${.TARGET} `lorder ${OBJS} ${STATICOBJS} | tsort -q` ${ARADD} ! ${RANLIB} ${BUILDTO_DIR}/${.TARGET} .endif .if !defined(INTERNALLIB) .if !defined(NO_PROFILE) defined(LIB) !empty(LIB) _LIBS+= lib${LIB}_p.a POBJS+= ${OBJS:.o=.po} ${STATICOBJS:.o=.po} lib${LIB}_p.a: ${POBJS} @${ECHO} building profiled ${LIB} library ! @rm -f ${BUILDTO_DIR}/${.TARGET} 21 2 /dev/null || $(TRUE) ! @${AR} cq ${BUILDTO_DIR}/${.TARGET} `lorder ${POBJS} | tsort -q` ${ARADD} ! ${RANLIB} ${BUILDTO_DIR}/${.TARGET} .endif .if defined(SHLIB_NAME) || \ defined(INSTALL_PIC_ARCHIVE) defined(LIB) !empty(LIB) SOBJS+= ${OBJS:.o=.So} *** *** 134,160 .if defined(SHLIB_NAME) _LIBS+= ${SHLIB_NAME} ${SHLIB_NAME}: ${SOBJS} @${ECHO} building shared library ${SHLIB_NAME} ! @rm -f ${.TARGET} ${SHLIB_LINK} .if defined(SHLIB_LINK) ! @ln -fs ${.TARGET} ${SHLIB_LINK} .endif @${CC} ${LDFLAGS} -shared -Wl,-x \ ! -o ${.TARGET} -Wl,-soname,${SONAME} \ `lorder ${SOBJS} | tsort -q` ${LDADD} .endif .if defined(INSTALL_PIC_ARCHIVE) defined(LIB) !empty(LIB) _LIBS+= lib${LIB}_pic.a lib${LIB}_pic.a: ${SOBJS} @${ECHO} building special pic ${LIB} library ! @rm -f ${.TARGET} ! @${AR} cq ${.TARGET} ${SOBJS} ${ARADD} ! ${RANLIB} ${.TARGET} .endif .if defined(WANT_LINT) !defined(NO_LINT) defined(LIB) !empty(LIB) LINTLIB= llib-l${LIB}.ln _LIBS+= ${LINTLIB} --- 139,165 .if defined(SHLIB_NAME) _LIBS+= ${SHLIB_NAME} ${SHLIB_NAME}: ${SOBJS} @${ECHO} building shared library ${SHLIB_NAME} ! @rm -f ${BUILDTO_DIR}/${.TARGET} ${BUILDTO_DIR}/${SHLIB_LINK} 21 2 /dev/null || $(TRUE) .if defined(SHLIB_LINK) ! @ln -fs ${BUILDTO_DIR}/${.TARGET} ${BUILDTO_DIR}/${SHLIB_LINK} .endif @${CC} ${LDFLAGS} -shared -Wl,-x \ ! -o ${BUILDTO_DIR}/${.TARGET} -Wl,-soname,${SONAME} \ `lorder ${SOBJS} | tsort -q` ${LDADD} .endif .if defined(INSTALL_PIC_ARCHIVE) defined(LIB) !empty(LIB) _LIBS+= lib${LIB}_pic.a lib${LIB}_pic.a: ${SOBJS} @${ECHO} building special pic ${LIB} library ! @rm -f ${BUILDTO_DIR}/${.TARGET} 21 2 /dev/null || $(TRUE) ! @${AR} cq ${BUILDTO_DIR}/${.TARGET} ${SOBJS} ${ARADD} !
Re: buildworld releng7 exterme performance loss
On Wed, 6 Feb 2008, Jerry McAllister wrote: On Wed, Feb 06, 2008 at 08:22:16PM +0100, Frank Staals wrote: Frank Staals wrote: Every 2 weeks or so I rebuild my sources on my laptop ( Dell Latitude D630 ). Last wednesday I wanted to update my system again since it was allready a couple of weeks ago I rebuilded my sources. There were no abnormalities during the build/install. But when I restarted my system the system performance was absolutely *horrible*. When I try typing anything in a terminal window the lag is about 20 seconds before the command even shows up. Switching ttys takes at least as long. When logging in remotely the performance is better; giving a random command through the ssh session sometimes even allows a command run on a local-console to run/finish ( or at least thats what the screen shows ). Even trying to shutdown the system using shutdown -p now doesn't have any effect: I get the message System is going down NOW but nothing realy happens, I just get my prompt back and I can continue entering commands. When I push the power-off button the system actually starts shutting down but it stops at Writing entropy file . leaving my only choise to power off the system the hard way. When booting the system to single-user mode however it reacts normally and also shutting down works as it should Last 2 days I tried redownloading the sources from a different mirror ( cvsup2.freebsd.org instead of cvsup.nl.freebsd.org ) to rule out outdated/corrupted sources. But I still get the same behaviour. Gladly I still had my previous sources so I managed to restore my system in a working state. Those sources are from about 3 weeks ago. Does anyone know what could have caused this behaviour and how to fix it ? Below is some system information, however I'm not sure what I should provide to help out, if I should test something I'll gladly do. Sounds like the system is spending a lot of time waiting for some resource - I don't know which one[s]. Have you perused the system logs? Can you be running out of memory or swap space? Is the system built with debugging turned on? I'm not sure what else to suggest. if you have not already done so turn on all.log (see etc/syslog.conf) jerry Working system (sources from about 3 weeks ago, rebuilded today ) : [EMAIL PROTECTED] uname -a FreeBSD Rena.FStaals.net 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Fri Feb 1 20:23:11 CET 2008 root@:/usr/obj/usr/src/sys/RENAKERNEL i386 dmesg: http://fstaals.net/junk/rena/dmesg_old.txt With today's ( 1 frebruary 2008 ) sources : [EMAIL PROTECTED] cat /root/uname FreeBSD 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Fri Feb 1 18:32:59 CET 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/RENAKERNEL i386 dmesg: http://fstaals.net/junk/rena/dmesg_2008_01_02.txt Kernel config used for both the builds : http://fstaals.net/junk/RENAKERNEL.txt Updated my sources again today. This time even build with a GENERIC kernel but still the same result. Is there nobody who can help me with this ? -- -Frank Staals if you have not already done so turn on all.log (see etc/syslog.conf) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Site suggestion: www.careerjet.com
Hello, We have looked through your site and noticed that you have a jobs section in which several sites were listed. We would like to recommend our site http://www.careerjet.com. Careerjet is an employment search engine for the United States. It allows you to search a growing selection of jobs listed on company sites as well as jobsites in one go saving you the trouble of having to go to each site individually. Also, some of our tools might be of interest to you: JobBox - see http://www.careerjet.com/partners/jobbox.html SearchBox - see http://www.careerjet.com/partners/searchbox.html. We hope this site will interest you and can be included in your listings. Kind regards, Emily Kovak [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: df du showing different usages for /var
These wildly different results have me confused. How in the world can there be a ~1.2GB difference between the disk space in use as reported by these two tools? Which is right? More importantly, how do I fix this? 1) there is 1.2GB files open but deleted 2) there are snapshots i don't know other explanation ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Compiz-fusion article
E. J. Cerejo wrote: I found what the problem was under KDE, in your tutorial you tell us to run these commands as a regular user: compiz --replace --sm-disable --ignore-desktop-hints ccp emerald --replace I found that both of these commands need a sign at the end of each of these commands, which will look like this: compiz --replace --sm-disable --ignore-desktop-hints ccp emerald --replace once you run them like this, KDE will stop acting weird and starts functioning correctly. Now when you restart kde it no longer starts compiz automatically and you will get all the window borders and you are able to save the settings using ccsm. Which is not the case when running gnome. Once you run these commands, compiz will work normally just like in KDE but it won't let you save any settings, another words if you run ccsm it won't let you select or unselect any plugins. Compiz command might be a little different for gnome. Gnome will also complain if you run these commands without installing /usr/ports/x11-themes/ubuntulooks first, once you install this it will stop complainning. I will try to find out why I can't use ccsm and if I find out I will let you know. I have tested this as a startup script in Gnome: #! /bin/sh compiz --replace --sm-disable --ignore-desktop-hints ccp emerald --replace I have entered this in Sessions as a Startup Program and it works fine. I am also able to change settings with ccsm (which should also be run as the normal user, BTW) and the settings are saved. Now, I don't really know where these are saved, documentation mentions a .compizconfig folder, but I don't have it. I don't have ubuntu-looks installed. I don't have KDE installed on this machine, so can't test with this. Thanks again for your feedback. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Compiz-fusion article
Manolis Kiagias wrote: E. J. Cerejo wrote: I found what the problem was under KDE, in your tutorial you tell us to run these commands as a regular user: compiz --replace --sm-disable --ignore-desktop-hints ccp emerald --replace I found that both of these commands need a sign at the end of each of these commands, which will look like this: compiz --replace --sm-disable --ignore-desktop-hints ccp emerald --replace once you run them like this, KDE will stop acting weird and starts functioning correctly. Now when you restart kde it no longer starts compiz automatically and you will get all the window borders and you are able to save the settings using ccsm. Which is not the case when running gnome. Once you run these commands, compiz will work normally just like in KDE but it won't let you save any settings, another words if you run ccsm it won't let you select or unselect any plugins. Compiz command might be a little different for gnome. Gnome will also complain if you run these commands without installing /usr/ports/x11-themes/ubuntulooks first, once you install this it will stop complainning. I will try to find out why I can't use ccsm and if I find out I will let you know. I have tested this as a startup script in Gnome: #! /bin/sh compiz --replace --sm-disable --ignore-desktop-hints ccp emerald --replace I have entered this in Sessions as a Startup Program and it works fine. I am also able to change settings with ccsm (which should also be run as the normal user, BTW) and the settings are saved. Now, I don't really know where these are saved, documentation mentions a .compizconfig folder, but I don't have it. I don't have ubuntu-looks installed. I don't have KDE installed on this machine, so can't test with this. Thanks again for your feedback. Actually just found out there are three different backends for saving settings, according to their wiki: http://wiki.compiz-fusion.org/CCSM#head-340a755b8f870831a20b51544a116f6dc4795735 namely gconf, KConfig and flat files (look at the bottom of the page) I have compiled compiz-fusion with gconf support, the settings in gconf-editor are under apps/compiz. You may wish to check what options you used during compilation. I will update the article tomorrow to reflect all this. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Nice for IO
I'm looking for tool that limit the IO acces to a process similair as what nice / idprio does with the CPU but only ten for IO. Any pointers? -- Alex Please copy the original recipients, otherwise I may not read your reply. Howtos based on my personal use, including information about setting up a firewall and creating traffic graphs with MRTG http://alex.kruijff.org/FreeBSD/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OT: Whats wrong with gmail?
Hello List, I was prompted by a comment in another thread about gmail; and other than the absolutely annoying way it quotes, what is wrong with gmail? thanks, Jeremy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: Whats wrong with gmail?
On Feb 6, 2008, at 1:26 PM, Jeremy Gransden wrote: I was prompted by a comment in another thread about gmail; and other than the absolutely annoying way it quotes, what is wrong with gmail? The privacy policy (or perhaps more accurately the policy indicating your lack of privacy): http://mail.google.com/mail/help/intl/en/privacy.html -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: Whats wrong with gmail?
On Wed, 6 Feb 2008 16:26:20 -0500 Jeremy Gransden [EMAIL PROTECTED] wrote: I was prompted by a comment in another thread about gmail; and other than the absolutely annoying way it quotes, what is wrong with gmail? There are several glaring deficiencies with gmail. Just for starters, unless it has been changed in the past month or so, there is no way to 'forward as attachment' email. -- Gerard [EMAIL PROTECTED] Television -- the longest amateur night in history. Robert Carson signature.asc Description: PGP signature
Re: buildworld releng7 exterme performance loss
Frank Staals wrote: Updated my sources again today. This time even build with a GENERIC kernel but still the same result. Is there nobody who can help me with this ? In your place I would have a look at vmstat -i and top -S. Post the results here, if you do not know what to make of them. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: Whats wrong with gmail?
I was prompted by a comment in another thread about gmail; and other than the absolutely annoying way it quotes, what is wrong with gmail? think other way. imagine you have service with 5000 mail account. would it be worth for you of extra work of writing all user data, analyzing it, storing forever? i don't think so. now imagine you provide 5 mail accounts. no things are different. you can get billions storing everything and closely working with government, and even privates - selling the data raw or processed. of course not officially, but when talking billions of $ such things, or honesty, truth etc. turns to who cares. so stay away from ANY services that large. not just gmail, not just mail services at all. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: Whats wrong with gmail?
I was prompted by a comment in another thread about gmail; and other than the absolutely annoying way it quotes, what is wrong with gmail? The privacy policy (or perhaps more accurately the policy indicating your lack of privacy): http://mail.google.com/mail/help/intl/en/privacy.html i would rather not narrow the problem to google or gmail, but to any THAT BIG service provider. simply avoid huge ones as they are too powerful. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /usr/local/etc/rc.d/ scripts and non-root user
On Wed, 06 Feb 2008 17:09:50 + Alex Zbyslaw [EMAIL PROTECTED] wrote: I personally much prefer scripts in rc.d because it's much easier to migrate than crontabs, and if I never use a crontab I always know where to look. It looks to me like you shouldn't be starting the demon as user api - startups scripts should always be started as root. If the demon or whatever is supposed to run as api not root, then perhaps your script should say e.g. su api -c the-path-to-the-demon-or-whatever root can su to whoever without a password, and api can su to api without a password, and everyone else gets prompted. It's actually built into /etc/rc.subr, the subversion server script is a simple example of starting a daemon with a different user: $ grep -v ^# /usr/local/etc/rc.d/svnserve . /etc/rc.subr svnserve_enable=${svnserve_enable:-NO} svnserve_flags=${svnserve_flags:--d --listen-port=3690} svnserve_data=${svnserve_data:-/usr/local/repositories} svnserve_user=${svnserve_user:-svn} svnserve_group=${svnserve_group:-svn} name=svnserve rcvar=`set_rcvar` load_rc_config $name command=/usr/local/bin/svnserve command_args=-r ${svnserve_data} run_rc_command $1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: Whats wrong with gmail?
Wojciech Puchar wrote: I was prompted by a comment in another thread about gmail; and other than the absolutely annoying way it quotes, what is wrong with gmail? The privacy policy (or perhaps more accurately the policy indicating your lack of privacy): http://mail.google.com/mail/help/intl/en/privacy.html i would rather not narrow the problem to google or gmail, but to any THAT BIG service provider. simply avoid huge ones as they are too powerful. Which is why I like to use Tuffmail.com. They are not free, but provide excellent service and features for a mail provider. Plus, they run FreeBSD. :-) -- Chess Griffin GPG Key: 0x0C7558C3 http://www.chessgriffin.com signature.asc Description: OpenPGP digital signature
Re: OT: Whats wrong with gmail?
On Feb 6, 2008 1:42 PM, Gerard [EMAIL PROTECTED] wrote: On Wed, 6 Feb 2008 16:26:20 -0500 Jeremy Gransden [EMAIL PROTECTED] wrote: I was prompted by a comment in another thread about gmail; and other than the absolutely annoying way it quotes, what is wrong with gmail? There are several glaring deficiencies with gmail. Just for starters, unless it has been changed in the past month or so, there is no way to 'forward as attachment' email. I can think of several others - yet I use gmail, because it's so convenient. Some of this can be mitigated by using a POP3/IMAP client instead of the web interface. 1) can't put a graphic in-line with text 2) forwards and replies *ruin* html-formatted emails 3) message threading seem to be based on the subject line, not the message-id - this one is actually the most frustrating one for me. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: Whats wrong with gmail?
i would rather not narrow the problem to google or gmail, but to any THAT BIG service provider. simply avoid huge ones as they are too powerful. Which is why I like to use Tuffmail.com. They are not free, but provide excellent service and features for a mail provider. Plus, they run FreeBSD. :-) no idea how large they are, but definitely better than google. what they run shouldn't be important, only net effect counts. if i would have choice of 2 service providers (any service) one running FreeBSD other windows vista, but the latter giving better service, i would choose the latter... what is most strange are FreeBSD admins from that list , many of them really good, unable to just create e-mails for themselves on one of their servers, but using gmail. it's just... stupid. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: Whats wrong with gmail?
2008/2/6, Wojciech Puchar [EMAIL PROTECTED]: i would rather not narrow the problem to google or gmail, but to any THAT BIG service provider. simply avoid huge ones as they are too powerful. Which is why I like to use Tuffmail.com. They are not free, but provide excellent service and features for a mail provider. Plus, they run FreeBSD. :-) no idea how large they are, but definitely better than google. what they run shouldn't be important, only net effect counts. if i would have choice of 2 service providers (any service) one running FreeBSD other windows vista, but the latter giving better service, i would choose the latter... what is most strange are FreeBSD admins from that list , many of them really good, unable to just create e-mails for themselves on one of their servers, but using gmail. it's just... stupid. Wojtek - I felt tempted to reply the same way you do but it is not worth it. Keep in mind though that your needs and preferences are not everyone else's. Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: Whats wrong with gmail?
Wojciech Puchar wrote: I was prompted by a comment in another thread about gmail; and other than the absolutely annoying way it quotes, what is wrong with gmail? think other way. imagine you have service with 5000 mail account. would it be worth for you of extra work of writing all user data, analyzing it, storing forever? i don't think so. now imagine you provide 5 mail accounts. no things are different. you can get billions storing everything and closely working with government, and even privates - selling the data raw or processed. of course not officially, but when talking billions of $ such things, or honesty, truth etc. turns to who cares. so stay away from ANY services that large. not just gmail, not just mail services at all. Someone's over-paranoid in here... spy satellites, providers selling sensitive data, neighbors staring at your wife undressing while you're at work... who cares? Just my 2cents to decrease SNR even more... -- Pietro Cerutti PGP Public Key: http://gahr.ch/pgp signature.asc Description: OpenPGP digital signature
Re: OT: Whats wrong with gmail?
Jeremy Gransden wrote: Hello List, I was prompted by a comment in another thread about gmail; and other than the absolutely annoying way it quotes, what is wrong with gmail? thanks, Jeremy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I just cannot bring myself to trust anyone else for email. Running your own server on BSD or Linux is so bloody easy, if you're paranoid about email for archival, privacy, or other reasons, just run your own server. Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
is there a 2.3.x package for OO?
To cut down my email I unsub'd to the OOo mailing list, so I'll ask here if there is a new package of the latest or near-latest that I can set off at night and have it installed by morning. Any exact URL's would be a great help. tia, people, gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: Whats wrong with gmail?
so stay away from ANY services that large. not just gmail, not just mail services at all. Someone's over-paranoid in here... spy satellites, providers selling sensitive data, neighbors staring at your wife undressing while you're at work... who cares? no need to spy satellites today :) just because what i said. jut believe it's over paranoid. the believers keeps all these googles and others live ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: is there a 2.3.x package for OO?
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 On Wed, 6 Feb 2008 15:20:53 -0800 Gary Kline [EMAIL PROTECTED] wrote: To cut down my email I unsub'd to the OOo mailing list, so I'll ask here if there is a new package of the latest or near-latest that I can set off at night and have it installed by morning. Any exact URL's would be a great help. Hi Gary, The best place for the most recent information: http://porting.openoffice.org/freebsd/ A note: if you plan to install OOo-2.3.X packages from good-day.net on 6.X, you'll probably have to install gcc = 4.2 yourself. Best regards. - -- Nikola Lečić = Никола Лечић fingerprint : FEF3 66AF C90E EDC3 D878 7CDC 956D F4AB A377 1C9B -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) iQCVAwUBR6pEy/zDP9K2CKGYAQMwhQQAgvyMbqCTqs/ZUhD75axajMqrLiyIksEN o4DA72Xhz4WzEXPB/mbz/MDRmiPQ8Obu6zHmyN5MthcAQbur8VrcqlxrVPq1sgq0 ZVgawDi60YZKkaqEcBsdm419PmGi//xuiBJ8rx1OkwJSgDFqgZBx9zNS36tUVWiV VFeUTZm5EnA= =2Y3z -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nice for IO
AFAIK - there is no such thing in FreeBSD On Wed, 6 Feb 2008, Alex de Kruijff wrote: I'm looking for tool that limit the IO acces to a process similair as what nice / idprio does with the CPU but only ten for IO. Any pointers? -- Alex Please copy the original recipients, otherwise I may not read your reply. Howtos based on my personal use, including information about setting up a firewall and creating traffic graphs with MRTG http://alex.kruijff.org/FreeBSD/ ___ 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: df du showing different usages for /var
clean things up and ensure that it didn't happen again. Using the du command to look for offending directories and files, I wiped out a bunch of old Apache and Qmail logs...and then found that I was still using 90% of the you forgot to restart apache and qmail. and they keep these logs open. in unix you may delete open file, but it will be actually deleted when closed. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: www search engines
On Wed, Feb 06, 2008 at 03:25:16PM +0100, Wojciech Puchar wrote: not used anything google for several years now. No gmail, no Picassa, nothing I can avoid. No deep political reasons, just a personal choice. exactly as me. i really don't understand people that CAN have normal mail (especially admins) using gmail. it's just strange. Well, to share some reasons There are two issues here. The first is why anyone who runs his/her own mail server would want to use a third-party (webmail) server. The second is why specifically Gmail. To answer the first question, it's largely an issue of availablity and backups. Most services like Gmail handle backups for you. Although most don't give any sort of SLA, they will usually put a lot of thought and effort into keeping your mail, and keeping it available (by being up.) If you have the resources to duplicate this, as someone who runs an ISP might, then webmail itself probably has less of an advantage. The second question, Why Gmail as opposed to other services? is answered by how Google differentiates their service. The first, and most obvious difference is in storage space. For my purposes, I'll probably never run out of storage on Google's server. Most other free webmail services, however, aren't adequate. I've got over a gigabyte of mail on my personal mailhost alone. For high-availablity mail (primarily for things I may need in the event that my co-located server goes down, along with other important things that I simply need access to without fail), I have several hundred megabytes. If I'm going to use Webmail, Google fits the bill with its essentially unlimlited storage. Then there's the issue of spam and spam blocking. Google does a great job of blocking spam. I'm sure that I could do almost as good a job, however that would put quite a bit of load on my mail server. That server already hosts mail for many domains and many users--anything I can shove onto Gmail to avoid processing spam on my host is going to be nice. With IMAP, it becomes even nicer. I can manage public mailing lists (who cares if anyone knows that I'm subscribed to those, anyway?) on Google mail with their excellent spam filtering, and my personal mail can go to my personal host. Anyway, that's mostly my thinking, anyway. One of these days, I'm going to set up my personal host to encrypt and forward mail onto Gmail, so that it's all available whenever I want. I'll typically read it on my host, and grab anything from Gmail if something happens to require it. Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Desktop Performance Tuning?
Hey Everyone, I wasn't sure if -questions or -tuning would be a better place for this question, so i thought i'd start general and work up the ladder of specificity if you all think it would be more appropriate. I recently installed FreeBSD 7.0 RC-1 on my hobby system, and so far i think it's pretty awesome. I've been using FreeBSD pretty solidly as a unix hobbyist for the past 7 years or so, and this definitely seems like one of the best releases i've played with in a long time. I do have one concern though. While idle desktop performance is smooth as silk, performance seems to degrade whenever i'm compiling things (like, performing a buildworld, installing from ports, etc) which manifests itself as considerable lag in standard desktop operations, like browsing the web, chatting on pidgin, etc. I've experienced this before in past releases, but never really thought much of it, and for the most part ignored it. However, it's my understanding that this release is supposed to be the fastest release yet on the post-4.x code base. I'm assuming there's got to be some system tune-ables that I can play with to eek out the most performance i can for desktop-related applications. Most of the resources i've looked at online seem to be mainly focused on server performance. Do any of you know of any resources that can lead me down the right path to Daemonly desktop bliss? Thanks, Eli ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading the Installed package
On Wed, Feb 06, 2008 at 01:51:33AM -0800 I heard the voice of Jeremy Chadwick, and lo! it spake thus: So let's tell Navneet exactly what he's getting into, shall we? OK, but let's do that by telling him what he's getting into, not vague gestures at overblown half-truths. - Ruby is not included in the base system; you have to install it from ports (read: just another thing to have to maintain...) My workstation has about 800 ports installed. A relatively lean server has 300. 1 more is so deep in the noise, you can't hardly measure it, much less see it. ports base system: - C-based, and includes all of the pkg_* utilities. Nearly every FreeBSD user/administrator is familiar with these tools. Can't upgrade things. Show me how I use pkg_* to upgrade a package (let's say, gtk), and have all the metadata set right afterward. Requires either stupid amounts of manual work, or a lot of scripting (I upgrade perl. How do I rebuild p5-*?). portupgrade: - Maintains its own database of ports installed, dependencies, and so on -- COMPLETELY separate from that of the ports base system. Which is just a cache of the existing files, and can be blown away at any time with no consequences other than a minute or two remaking them. - Said database must be kept in sync with ports base system dependencies and other whatnots; and if they go out of sync Which it rebuilds when it notices is out of date. The only time I've had problems out of it in years of using portupgrade is when I do something like update BDB (or less often, portupgrade or ruby-bdb). Whoopie. Consider the recent case involving sudo and portmaster; when you use a tool to update a low-level piece of itself, you have to take some care how you go about it. - Said database is Berkeley DB-based, which means you have to install Oracle/Sleepycat BDB from ports. (I believe you can pick DB1.x which comes with libc, but it's not recommended due to bugs). So now we're up to 4 ports to install? If you can make that my biggest worry, I'll sent you a ginormous certified check first thing in the morning. There are a lot of things to hate in portupgrade, but let's don't pile handwaving anthills into mountains on top of that. -- Matthew Fuller (MF4839) | [EMAIL PROTECTED] Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Desktop Performance Tuning?
On Wed, 6 Feb 2008 15:45:14 -0800 Eli Scott [EMAIL PROTECTED] wrote: I recently installed FreeBSD 7.0 RC-1 on my hobby system, .. performance seems to degrade whenever i'm compiling things (like, performing a buildworld, installing from ports, etc) which manifests itself as considerable lag in standard desktop operations, I've noticed this too, it always used to be the case that building didn't make all that much difference to desktop use, but now it make a severe difference. Nice helps, but it only makes the problem intermittent. I've tried changing the scheduler to ULE, and disabling SMP, but it didn't help. There have been threads on the stable list about jerky mouse performance, which may be part of this, but I have really followed it closely. I'm also wondering whether this might be due to some xorg or other port change from late 2007 that I only noticed when I started doing a lot of rebuilding under 7-stable. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: www search engines
On Wed, Feb 06, 2008 at 08:32:44PM -0500, Jonathan Franks wrote: On Feb 6, 2008, at 7:07 PM, Erik Osterholm wrote: . Then there's the issue of spam and spam blocking. Google does a great job of blocking spam. Really? I can't say that I've had the same experience. I'd say that 80 percent of what ends up in my inbox is unadulterated spam. I still use it for similar reasons as you, but I can't agree on this point. -Jonathan That's pretty interesting. I started keeping statistics on my spam count becuase it was so rare. Since I started using Gmail (shortly after they launched), the most I've gotten in a month is 4 spam messages hitting my inbox. Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: www search engines
On Feb 6, 2008, at 7:07 PM, Erik Osterholm wrote: . Then there's the issue of spam and spam blocking. Google does a great job of blocking spam. Really? I can't say that I've had the same experience. I'd say that 80 percent of what ends up in my inbox is unadulterated spam. I still use it for similar reasons as you, but I can't agree on this point. -Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mail checker for evo/kmail//mutt-IMAP
Can anybody point me to a mailbox checker that works from a desktop and watches (via network), the mail server? Until my re-org, xbiff was sufficient. But no mo'. thanks for any suggestions, gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help with router problem
I tried everything you guys told me and it still doesn't work : - tried to set a static address as Derek indicated - commented out the ipv6 line in rc.conf, even if it was already set to NO - the answer to Kevin's questions follow: # ping -I dc0 192.168.1.1 ping: invalid multicast interface: `dc0' # arp -a ? (192.168.1.1) at (incomplete) on dc0 [ethernet] # ifconfig -a dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether 00:14:cf:52:b4:17 inet 192.168.1.33 netmask 0xff00 broadcast 192.168.1.255 media: Ethernet autoselect (100baseTX full-duplex) status: active lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 ping 192.168.1.1 and traceroute 192.168.1.1 give Network is unreachable I even connected directly to the cable modem as it was before I bought the router and... surprise: it works! Put the router back and BSD stops working again. I'm writing this post from Linux, so this one works. The /etc/hosts and /etc/dhclient.conf are the original ones, coming from BSD install, untouched. What else can I do ? Eugen On Feb 6, 2008 8:36 AM, Derek Ragona [EMAIL PROTECTED] wrote: At 07:40 AM 2/6/2008, Eugen wrote: Thanks for all your input. For now I am posting my rc.conf, but I will try your suggestions this evening when I come back from work. If anyone needs additional details, please ask and I'll repost my initial cry for help. Eugen ### Console options keymap=us.iso font8x8=NO font8x14=NO font8x16=NO scrnmap=NO keyrate=fast cursor=blink blanktime=900 saver=warp ### Mouse daemon mousechar_start=NO moused_enable=NO moused_flags= moused_port=/dev/sysmouse moused_type=auto ### IPv6 options ipv6_enable=NO ifconfig_dc0=DHCP ### PF firewall # pf_enable=YES# Enable PF (load module if required) # pf_flags= # additional flags for pfctl startup # pf_rules=/etc/pf.conf# rules definition file for pf # pflog_enable=YES # start pflogd(8) # pflog_flags= # additional flags for pflogd startup # pflog_logfile=/var/log/pflog # where pflogd should store the logfile ### Miscellaneous administrative options kern_securelevel=-1 # range: -1..3 ; `-1' is the most insecure kern_securelevel_enable=NO# kernel security level (see init(8)), local_startup=/usr/local/etc/rc.d clear_tmp_enable=YES # Clear /tmp at startup. devfs_system_ruleset=devfsrules_local # The name of a ruleset to apply to /dev dmesg_enable=YES # Save dmesg(8) to /var/run/dmesg.boot update_motd=YES # update version info in /etc/motd (or NO) virecover_enable=NO# Perform housekeeping for the vi(1) editor usbd_enable=YES usbd_enable=YES # Run the usbd daemon. usbd_flags= # Flags to usbd (if enabled). lpd_enable=YES Eugen, I almost always set my FreeBSD systems up to use a static IP, even behind a router. I don't know if you want to access your FreeBSD system from ONLY the LAN, or if you want some access through your router. I prefer a static IP on my FreeBSD systems as they are all providing some server functions (file sharing, DNS, etc.) Below are typical lines you would have in your /etc/rc.conf: == #set the default router to your router's IP, often 192.168.1.1 defaultrouter=192.168.1.1 #set your hostname to match the enty in /etc/hosts hostname=myhostname.mydomainname.com #set your IP to one not in any DHCP range ifconfig_dc0=inet 192.168.1.10 netmask 255.255.255.0 == These are all you need to get it working. If you want the FreeBSD to have a LAN address but access through the router you need to set that up in your router. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]