Re: mount_smb shows no files
On Wednesday 07 March 2007 18:35, Daniel Feenberg wrote: We are starting to use mount_smbfs to mount backup shares on our Windows XP systems. Formerly we were using Linux successfully, but now many of our mounts succeed, but don't show any files. We can't tell what might be different among the XP systems to explain the difference, or why FreeBSD and Linux should be different in this regard. They should not be different, but keep in mind that there is no code sharing between FreeBSD kernel and Linux kernel, so the implementations are different and will behave differently. Demonstration (note that ls /mnt shows no files, but there are files): Never had such problems, though I can not comment about the windows OS involved, since I am just a client to them. FreeBSD from 4.x to 6.2-STABLE work for me. I recall one problem with file sizes over 4GB, which was corrected circa 4.8 - 4.9. Did you try creating a file? Did you check dmesg for warnings? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem updating cacti
Hello, I am facing a problem when I try to update cacti : === Extracting for cacti-0.8.6j.3_1 = MD5 Checksum OK for cacti-0.8.6j.tar.gz. = SHA256 Checksum OK for cacti-0.8.6j.tar.gz. = MD5 Checksum OK for ping_php_version4_snmpgetnext.patch. = SHA256 Checksum OK for ping_php_version4_snmpgetnext.patch. = MD5 Checksum OK for tree_console_missing_hosts.patch. = SHA256 Checksum OK for tree_console_missing_hosts.patch. = MD5 Checksum mismatch for thumbnail_graphs_not_working.patch. = SHA256 Checksum mismatch for thumbnail_graphs_not_working.patch. === Refetch for 1 more times files: thumbnail_graphs_not_working.patch thumbnail_graphs_not_working.patch === Vulnerability check disabled, database not found = thumbnail_graphs_not_working.patch doesn't seem to exist in /usr/ ports/distfiles/. = Attempting to fetch from http://www.cacti.net/downloads/patches/ 0.8.6j/. fetch: http://www.cacti.net/downloads/patches/0.8.6j/ thumbnail_graphs_not_working.patch: Requested Range Not Satisfiable = Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/ distfiles/. === Vulnerability check disabled, database not found = MD5 Checksum OK for cacti-0.8.6j.tar.gz. = SHA256 Checksum OK for cacti-0.8.6j.tar.gz. = MD5 Checksum OK for ping_php_version4_snmpgetnext.patch. = SHA256 Checksum OK for ping_php_version4_snmpgetnext.patch. = MD5 Checksum OK for tree_console_missing_hosts.patch. = SHA256 Checksum OK for tree_console_missing_hosts.patch. = MD5 Checksum mismatch for thumbnail_graphs_not_working.patch. = SHA256 Checksum mismatch for thumbnail_graphs_not_working.patch. === Giving up on fetching files: thumbnail_graphs_not_working.patch thumbnail_graphs_not_working.patch Make sure the Makefile and distinfo file (/usr/ports/net/cacti/ distinfo) are up to date. If you are absolutely sure you want to override this check, type make NO_CHECKSUM=yes [other args]. *** Error code 1 Stop in /usr/ports/net/cacti. *** Error code 1 Stop in /usr/ports/net/cacti. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/ portupgrade.71066.23 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=cacti-0.8.6j.3 UPGRADE_PORT_VER=0.8.6j.3 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! net/cacti (cacti-0.8.6j.3)(checksum mismatch) --- Packages processed: 1 done, 66 ignored, 0 skipped and 1 failed As I don't know if this patch is important, I can't decide to simply bypass It… Any help will be welcome. «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ Gregober --- PGP ID -- 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ P Please consider your environmental responsibility before printing this e-mail ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Torrent Server
On Wed, Mar 07, 2007 at 05:20:50PM +0100, Oliver Fromme wrote: That's pure speculation (and quite paranoid). The daemon image is still visible on many FreeBSD.org web pages. In fact, no less pages than before the contest, and there is no indication that it might change. However, you've dropped it in favor of the sextoy on the FreeBSD 6.2 DVD case cover (Lehmanns/GUUG, Jan. 2007). So Ted's speculation is not entirely without merit. Sure, it's not an official DVD, but it does appear in bookstores and is often the first encounter by newbies to FreeBSD :-(. Best regards Oliver -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]
as for f-prot daemon
hi. I've been using f-prot for some time. I installed it from the ports tree. I would now like to use it as a daemon service but i just don't get it working. I've found in google many links which talk about f-protd, but there's no such thing as that in my system. I haven't found any site where i could download a version of a f-prot for FreeBSD, bearing in mind that i want it runing as a daemon. Could you just tell me if there is a daemon version of f-prot for freebsd? Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CARP and FreeBSD
On Thursday 08 March 2007 08:59, Elliot Finley wrote: Hello, Is CARP functional in FreeBSD 6.x? I'm not able to find any docs on it in the Handbook or by doing a site restricted search on google. there you go then. http://www.freebsd.org/cgi/man.cgi?query=carp Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: w hangs before loading
Chuck Swiger wrote: On Mar 7, 2007, at 12:41 PM, Vivek Prasannan wrote: When I type the command 'w' it holds for a while before printing the output. There is no firewall in the system, load average is below 0.8 and I suspect it is something else. Any thoughts on this. The 'w' command attempts to look up the hostnames for any users which are remotely logged in. If you encounter a significant delay, that suggests that reverse DNS (aka PTR record lookups) is not properly configured or is performing slowly in your situation. Chris Slothouber wrote: Check to make sure your /etc/resolv.conf is configured correctly. It sounds like it could be taking a while to resolve the remote addresses connected. A good way to verify that this is the problem is to run w -n, which won't do DNS lookups. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Torrent Server
cpghost wrote: On Wed, Mar 07, 2007 at 05:20:50PM +0100, Oliver Fromme wrote: That's pure speculation (and quite paranoid). The daemon image is still visible on many FreeBSD.org web pages. In fact, no less pages than before the contest, and there is no indication that it might change. However, you've dropped it in favor of the sextoy on the FreeBSD 6.2 DVD case cover (Lehmanns/GUUG, Jan. 2007). That was the decision of the designers at the marketing department of Lehmanns (I'm only responsible for the text on the back of the box, not for the overall design). Those people have near zero technical nor historical knowledge about FreeBSD. Sure, it's not an official DVD, but it does appear in bookstores and is often the first encounter by newbies to FreeBSD :-(. I wish it was. :-( In fact, the past issues of the Lehmanns edition of FreeBSD (including the ones where there still was a large Beastie on the front of the box) had rapidly decreasing sales numbers. It's probably because many people now have fast internet access (cable, DSL, whatever) and prefer to down- load the ISOs and packages instead of buying a DVD-ROM. We were lucky that the GUUG agreed to sponsor the 6.2 issue, otherwise Lehmanns would have been forced to stop its support of FreeBSD, and the DVD for 6.2-Release would not exist today. I have no idea what will happen with 6.3 ... If nobody buys 6.2, then it's probably the last one. Best regards Oliver PS: For people who don't know at all what we're talking about, here's a link: http://www.lob.de/cgi-bin/out?isbn=3865411886 The page text is in German, I'm afraid, but at least you can see the picture of the DVD box (front side only, though). -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd Documentation is like sex; when it's good, it's very, very good, and when it's bad, it's better than nothing. -- Dick Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dependency Confusion
Peter Pluta wrote: I'm a bit confused with dependency's. When you have a stale dependency's what does this usually mean? Does that mean that the dependency was already updated and not noted in the pkgdb? Or does it mean the version in the pkgdb is wrong and that I have a newer or older version installed? Also, how do I correct it when running pkgdb -F I tried to enter the newer version of the dependency and it told me I need to pick from a list it gave me. :( A stale dependency is when package A says that it depends on package B but package B is not installed. You *might* have a newer version and this is what you have to tell pkgdb -F since it has got into a state where it cannot know. Please show the actual details since without them no-one will be able to tell you the right answer. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mount_smb shows no files
Derek Ragona wrote: It is not clear what you are trying to do. Are you mounting Windows shares on a FreeBSD server? Or mounting FreeBSD samba shares onto a Windows XP client? -Derek At 10:35 AM 3/7/2007, Daniel Feenberg wrote: We are starting to use mount_smbfs to mount backup shares on our Windows XP systems. Formerly we were using Linux successfully, but now many of our mounts succeed, but don't show any files. We can't tell what might be different among the XP systems to explain the difference, or why FreeBSD and Linux should be different in this regard. Demonstration (note that ls /mnt shows no files, but there are files): backup2# mount_smbfs //[EMAIL PROTECTED]/backup /mnt Password: backup2# ls /mnt backup2# df /mnt Filesystem1K-blocks UsedAvail Capacity Mounted on //[EMAIL PROTECTED]/BACKUP 36659328 13238176 23421152 36%/mnt backup2# mount_smbfs -v mount_smbfs: version 1.1.0 backup2# uname -a FreeBSD backup2 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 Thanks Daniel Feenberg feenberg isat nber dotte org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- 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. Hi Daniel, If you look at 'man mount_smbfs' you'll see in the examples they recommend using the '-I' option to specify the name (or IP address) of the host machine. This method works for me, mounting Windows XP shared-directories onto my FreeBSD 6.1-STABLE machine. So you would try a command like mount_smbfs -I rm316.DOMAINNAME.TLD //[EMAIL PROTECTED]/backup /mnt You can also mount the filesystem automatically by adding a line to your /etc/fstab file, //[EMAIL PROTECTED]/backup /mnt smbfs rw,noauto 0 0 Hope this helps. Ken ___ New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems installing FreeBSD
Hi, I'm trying to install FreeBSD from ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/6.2 I downloaded all the files to a folder on my 2nd HD (Primary is C: 80 Gb Windows XP SP2, 2nd external 250 Gb HD has 2 partitons, G: which contains the entire C:drive for backup, and a partition H: for FreeBSD. Anyway, The Boot CD doesn't boot (yes, I changed the BIOS sequence), and the Disk1 and Disk2 won't fit on a CD. I'm new at this, but I do know Windows and DOS inside and out. Question is, what do I do next? everytime I try to 'open' the file(s) Roxio CD Creator opens up. Help! Thanks, Steve The only secure computer is one that's unplugged, locked in a safe, and buried 20 feet under the ground in a secret location... and I'm not even too sure about that one ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems installing FreeBSD
s.moyzis wrote: Hi, I'm trying to install FreeBSD from ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/6.2 I downloaded all the files to a folder on my 2nd HD (Primary is C: 80 Gb Windows XP SP2, 2nd external 250 Gb HD has 2 partitons, G: which contains the entire C:drive for backup, and a partition H: for FreeBSD. Anyway, The Boot CD doesn't boot (yes, I changed the BIOS sequence), and the Disk1 and Disk2 won't fit on a CD. I'm new at this, but I do know Windows and DOS inside and out. Question is, what do I do next? everytime I try to 'open' the file(s) Roxio CD Creator opens up. Help! Thanks, It sounds very much like you just haven't written stuff correctly to CD. 1) You only *need* disk 1 and it boots. Disk 2 contains pre-built packages which you might want. I expect the handbook covers this. (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-diff-media.html section on FreeBSD 5.X and above). 2) You need to write disk1 using Roxio or Nero or whatever *as an ISO*, *not* copy it as a file to the CD. The option might say something like image file instead of ISO. Same for disk2, to a different CD of course. Roxio opens up when you click on the ISO because an ISO is a special file format that is basically a dump of a CD. Nothing other than a CD writing program is likely to make much use of it. Forget the boot CD you don't need it. It is, I believe, used for network-only installs and using CD1 is easier for a beginner. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bsnmpd
On 3/8/07, Oliver Lehmann [EMAIL PROTECTED] wrote: Andrew Pantyukhin wrote: Try this: http://www.freshports.org/net-mgmt/bsnmp-regex/ Not sure, never used it myself. We've also got smux in development, so you can run bsnmpd side by side with net-snmp or any other server, if that makes any sense at all: http://wiki.freebsd.org/SnmpSmux ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Kill a hanged disk i/o process...
To the best of my knowledge, most processes can be killed explicitly by kill -s KILL; There are a few which cannot, such as disk i/o processes. The idea here is data integrity. On the rare occasion however, (when attempting to recover data from corrupt disks for example), I've had a process invoked by the cp command, hang. This poses a significant problem as these processes are disk i/o processes, and as such cannot be terminated (even by root). So, other than physically hitting the reset button on the case, is there a more eloquent method of forcefully halting a hanged disk i/o process? The idea of you don't want to terminate a disk i/o process, it could corrupt the data isn't really a good argument, because if the process hangs and I have to punch the reset button anyway what's the difference? Ideas? -Modulok- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Two ethernet one IP load balancing ?
Hello Is there a IP load balancing system (like NetApp VIF) at FreeBSD 6.2 (AMD64) ? ( I have Cisco switches ) I tried to use ng_fec but it does not work on my IBM X3650, it compiles well but cannot be loaded into the kernel ( exec format error ) ... My server (mailhub) has two gigaethernet interfaces and I would like to use both of them with ONE IP Address to speed up LAN accesses. Any infos welcome. Thanks Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PRISM3(PCMCIA) and/or wi(4) driver unable to do WPA?
Doug Poland wrote: Hello, I just acquired a Linksys Instant Wireless Network PC Card 802.11b wireless NIC. When plugged into a 6.2 i386 laptop, dmesg reports: wi0: The Linksys Group, Inc. Instant Wireless Network PC Card at port 0x100-0x13f irq 11 function 0 config 1 on pccard1 wi0: using RF:PRISM3(PCMCIA) wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.2) wi0: Ethernet address: 00:06:25:18:6e:1d When I attempted to connect to my WPA-PSK WAP, wpa_supplicant(8) just hangs. When I turned off encryption on the WAP, and enter: # dhclient wi0 Then the NIC connects just fine. So the question is, is it the NIC, the wi(4) driver, or what? The driver sadly, see http://www.freebsd.org/projects/ideas/#p-wi Its possible someones working on it but not that i know of. Vince ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Two ethernet one IP load balancing ?
On Thursday 08 March 2007 14:03, Frank Bonnet wrote: My server (mailhub) has two gigaethernet interfaces and I would like to use both of them with ONE IP Address to speed up LAN accesses. Why do you think that the network is the bottleneck in your setup? Do you have a system that can process - in some way - 1Gb of email per second? Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
20I wrote the following script (with your help) to solve the problem I'm having with setting the MySQL environment and getting Zope up after the fact. I have saved this in /usr/local/etc/rc.d/ If I run this after the machine reboots, all is well. If I simply let it run in the reboot sequence, it doesn't do it's job! The sleep command is to give the server a chance to finish all its other bootup sequences, since that appears to be the factor messing things up. But it doesn't work!! What can I do to tweak this to do what I need it to do? TIA, Drew #!/bin/sh sleep 60 if [ -n $LD_LIBRARY_PATH ] ; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib/mysql else export LD_LIBRARY_PATH=/usr/local/lib/mysql fi cd /usr/local/zope/ ./instance1/bin/zopectl stop ./instance1/bin/zopectl start ./instance2/bin/zopectl stop ./instance2/bin/zopectl start Food fight? Enjoy some healthy debate in the Yahoo! Answers Food Drink QA. http://answers.yahoo.com/dir/?link=listsid=396545367 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Two ethernet one IP load balancing ?
Nikos Vassiliadis wrote: Why do you think that the network is the bottleneck in your setup? Do you have a system that can process - in some way - 1Gb of email per second? That is not ONLY smtp traffic we extensively use IMAP and there are currently 400/500 IMAP processes on the machine , this protocol is a pretty bandwidth cruncher the machine support also POP3 + WEBMAIL traffic so ... the more it will have bandwidth, better will be the email service given to my users. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Western Australian Daylight Savings changes
Dean Hollister wrote: Dear All, To confuse things even more, Western Australia is starting daylight saving for a 3 year trial. The start/stop dates are not uniform, just to make life harder. The dates are as follows: First on:2:00am Dec 3 2007-2008:2:00am Oct lastSun (ON) 2007-2009:2:00am Mar lastSun (OFF) If I've got the zoneinfo rules right, they go something like (sorry if field formatting doesn't come out properly): # Western Australia Zone Australia/Perth 7:43:24 - LMT 1895 Dec 8:00 Aus WST 1943 Jul 8:00 - WST 1974 Oct lastSun 2:00s 8:00 1:00WST 1975 Mar Sun=1 2:00s 8:00 - WST 1983 Oct lastSun 2:00s 8:00 1:00WST 1984 Mar Sun=1 2:00s 8:00 - WST 1991 Nov 17 2:00s 8:00 1:00WST 1992 Mar Sun=1 2:00s 8:00 - WST 2006 Dec 2 8:00 AW WST 2009 Mar lastSun 2:00s 8:00 - WST # Rule NAMEFROMTO TYPEIN ON AT SAVE LETTER/S RuleAW 2006only- Dec 3 2:00s 1:00- RuleAW 20072008- Oct lastSun 2:00s 1:00- RuleAW 20072009- Mar lastSun 2:00s 0 - Has anything at this stage been committed to the -STABLE branches for these changes, or will most need to do them manually? There has been a lot of discussion on the list lately about this, as a great portion of the world is going to DST this weekend, much earlier than the previous norm. You might glean some insight from the mail archives. Here are some other (my non-authoritative) thoughts. 1. If your system is =6.2, it's possible that the updated zone files are already installed. Most of the rest of the world's changes were, anyhow. 2. One way to test is to run `date -v +Nd`, where N is the number of days until the change. If date returns the wrong zone indicator (in my case it was CST instead of CDT), then run `tzsetup` as root and try again. 3. If it still returns the wrong indicator, install /usr/ports/misc/zoneinfo from an up-to-date ports tree, run tzsetup, and try again. The gazetted changes/references are at: http://wa.gov.au/daylightsaving/ It might be worth mentioning that just having 6.2 installed may not be enough; if the system was upgraded from a lower version, you may still need to run tzsetup to get ready for DST. This took me by surprise yesterday; fortunately, no biggie as I have only a few servers/workstations running FreeBSD. HTH, Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem Launching Applications in Gnome
You might want to try rebuilding vim and all dependencies. -Derek At 08:57 PM 3/7/2007, [EMAIL PROTECTED] wrote: Hi, I haven't been able to figure this out, and am hoping someone has some ideas. I can't seem to find any previous mention of a similar problem, so I hope I'm not missing something obvious. I run FreeBSD 6.2-STABLE. I also have installed GNOME 2.16.3. I use Gnome-Terminal 2.16.1. The main application I run is Vim, which I run through Gnome- Terminal. I frequently have several copies running simultaneously. In general response to Gnome-Terminal commands is very fast, but sometimes when I try to open a file with Vim it takes up to 20-30 seconds to load. The files are not particularly large (max 300 lines). During this time, if I try to launch another application in Gnome (e.g., Opera or another Gnome-Terminal), it will not come up. It is as if everything is frozen until finally Vi loads and opens the file, at which point anything else I have tried to open works fine. While this loading takes place, I can work in any other open application normally. Oftentimes I have another Vim session which I am editing in. I have of course looked at top when this problem occurs. CPU usage is about 2%, and there is no significant memory usage either. I never experience this problem outside Gnome, whether I'm using screen or several virtual terminals. It's really strange. Anyway, I hope someone out there has some ideas. Thanks very much in advance. -- Ned Ruggeri PS I'll include my ~/.vimrc file: autocmd! set nocompatible syntax on set showmatch set number set backspace=2 autocmd BufRead *.c set cindent ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- 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. -- 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: Two ethernet one IP load balancing ?
On Thursday 08 March 2007 14:32, Frank Bonnet wrote: Nikos Vassiliadis wrote: Why do you think that the network is the bottleneck in your setup? Do you have a system that can process - in some way - 1Gb of email per second? That is not ONLY smtp traffic we extensively use IMAP and there are currently 400/500 IMAP processes on the machine , this protocol is a pretty bandwidth cruncher the machine support also POP3 + WEBMAIL traffic so ... the more it will have bandwidth, better will be the email service given to my users. You say that your servers (whatever that is IMAP, SMTP, POP3, web) running on an one and only computer are pushing down the wire over 1Gbps? What's your current bandwidth utilization? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cleaning old files
In response to Zbigniew Szalbot [EMAIL PROTECTED]: Hello, Somehow in the process of upgrading PHP from 5.16 to 5.2.1 I got a few 5.1.6 extenstions which were not deleted. When I issue pkg_info -Ix php5, I get: php5-ctype-5.1.6The ctype shared extension for php php5-ctype-5.1.6_2 The ctype shared extension for php php5-dom-5.1.6 The dom shared extension for php php5-dom-5.1.6_2The dom shared extension for php and so on. I tried checking /usr/local/etc/php/extensions.ini but there are no double entries in there. My question is how do I get rid of these old extensions? Vulnerability test port alerts me I still have them. Thanks! Looks like your ports database got corrupted at some point. I would just pkg_delete -f them, then reinstall the correct version if needed. -- 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]
Running script from rc.d as local user
I am trying to get gpg-agent to start at boot time. If I place this in the ~/.bash_profile file, the program starts correctly. GPG_TTY=`tty` export GPG_TTY # ## Start Agent ## if test -f $HOME/.gpg-agent-info \ kill -0 `cut -d: -f 2 $HOME/.gpg-agent-info` 2/dev/null; then GPG_AGENT_INFO=`cat $HOME/.gpg-agent-info` export GPG_AGENT_INFO else eval `gpg-agent --daemon` echo $GPG_AGENT_INFO $HOME/.gpg-agent-info fi The problem is, if I log in again from a remote location, the .bash_login is read again and another copy of gpg-agent is started. Obviously, I do not want that behavior. I tried starting it from CRON; however, the variables: GPG_AGENT_INFO GPG_TTY are not set.. I then tried to create a script and run it from /usr/local/etc/rc.d; however, that forces the script to run as root, which I do not want. -- Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running script from rc.d as local user
You need a first line in your script to choose what shell to run it: #!/usr/local/bin/bash You should add a line: /usr/bin/su [to your username] Then try it at bootup as an rc script. -Derek At 08:24 AM 3/8/2007, Gerard Seibert wrote: I am trying to get gpg-agent to start at boot time. If I place this in the ~/.bash_profile file, the program starts correctly. GPG_TTY=`tty` export GPG_TTY # ## Start Agent ## if test -f $HOME/.gpg-agent-info \ kill -0 `cut -d: -f 2 $HOME/.gpg-agent-info` 2/dev/null; then GPG_AGENT_INFO=`cat $HOME/.gpg-agent-info` export GPG_AGENT_INFO else eval `gpg-agent --daemon` echo $GPG_AGENT_INFO $HOME/.gpg-agent-info fi The problem is, if I log in again from a remote location, the .bash_login is read again and another copy of gpg-agent is started. Obviously, I do not want that behavior. I tried starting it from CRON; however, the variables: GPG_AGENT_INFO GPG_TTY are not set.. I then tried to create a script and run it from /usr/local/etc/rc.d; however, that forces the script to run as root, which I do not want. -- Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- 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. -- 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: Two ethernet one IP load balancing ?
On 3/8/07, Nikos Vassiliadis [EMAIL PROTECTED] wrote: On Thursday 08 March 2007 14:32, Frank Bonnet wrote: Nikos Vassiliadis wrote: Why do you think that the network is the bottleneck in your setup? Do you have a system that can process - in some way - 1Gb of email per second? That is not ONLY smtp traffic we extensively use IMAP and there are currently 400/500 IMAP processes on the machine , this protocol is a pretty bandwidth cruncher the machine support also POP3 + WEBMAIL traffic so ... the more it will have bandwidth, better will be the email service given to my users. You say that your servers (whatever that is IMAP, SMTP, POP3, web) running on an one and only computer are pushing down the wire over 1Gbps? What's your current bandwidth utilization? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] The freebsd port channeling support (I think it's called trunk in openbsd) is very limited. You have ng_one2many which let you aggregate two interfaces using round robin loadbalancing and ng_fec with uses fast ethernet channel. There isn't any LACP support yet :| What hardware do you use to push 1gbps on a mail server? Cheers -- Alexandre Vieira - [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: Running script from rc.d as local user
On Thu, 08 Mar 2007 08:52:20 -0600 Derek Ragona [EMAIL PROTECTED] wrote: You need a first line in your script to choose what shell to run it: #!/usr/local/bin/bash That is all ready in the script. Sorry, I inadvertently failed to disclose that. You should add a line: /usr/bin/su [to your username] OK, I'll try that. Then try it at bootup as an rc script. -- Gerard I think he said 'Blessed are the cheesemakers.' Nonsense, he was obviously referring to all manufacturers of dairy products. The Life of Brian signature.asc Description: PGP signature
Re: Setting Env
Drew Jenkins wrote: 20I wrote the following script (with your help) to solve the problem I'm having with setting the MySQL environment and getting Zope up after the fact. I have saved this in /usr/local/etc/rc.d/ If I run this after the machine reboots, all is well. If I simply let it run in the reboot sequence, it doesn't do it's job! The sleep command is to give the server a chance to finish all its other bootup sequences, since that appears to be the factor messing things up. But it doesn't work!! What can I do to tweak this to do what I need it to do? TIA, Drew #!/bin/sh sleep 60 if [ -n $LD_LIBRARY_PATH ] ; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib/mysql else export LD_LIBRARY_PATH=/usr/local/lib/mysql fi cd /usr/local/zope/ ./instance1/bin/zopectl stop ./instance1/bin/zopectl start ./instance2/bin/zopectl stop ./instance2/bin/zopectl start Well, it's going to involve a bit more than that to get an rc script up and running I'm afraid.. the script needs a start, stop, status functions, as well as a few others. Some examples are in the /etc/rc.d and /usr/local/etc/rc.d directories, as you've discovered. Given your output above, maybe you want to add the LD_LIBRARY_PATH lines to the zopectl file? Cheers! -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems installing FreeBSD
--- Alex Zbyslaw [EMAIL PROTECTED] wrote: s.moyzis wrote: Hi, I'm trying to install FreeBSD from ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/6.2 I downloaded all the files to a folder on my 2nd HD (Primary is C: 80 Gb Windows XP SP2, 2nd external 250 Gb HD has 2 partitons, G: which contains the entire C:drive for backup, and a partition H: for FreeBSD. Anyway, The Boot CD doesn't boot (yes, I changed the BIOS sequence), and the Disk1 and Disk2 won't fit on a CD. I'm new at this, but I do know Windows and DOS inside and out. Question is, what do I do next? everytime I try to 'open' the file(s) Roxio CD Creator opens up. Help! Thanks, It sounds very much like you just haven't written stuff correctly to CD. 1) You only *need* disk 1 and it boots. Disk 2 contains pre-built packages which you might want. I expect the handbook covers this. (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-diff-media.html section on FreeBSD 5.X and above). 2) You need to write disk1 using Roxio or Nero or whatever *as an ISO*, *not* copy it as a file to the CD. The option might say something like image file instead of ISO. Same for disk2, to a different CD of course. Roxio opens up when you click on the ISO because an ISO is a special file format that is basically a dump of a CD. Nothing other than a CD writing program is likely to make much use of it. Forget the boot CD you don't need it. It is, I believe, used for network-only installs and using CD1 is easier for a beginner. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hello, Just like Alex has pointed out; you have to burn from an ISO / Image. If you are using Roxio 7 it is called: Burn from Disc Image File... Otherwise you may wind up burning the ISO as a single file. Regards, Paulette McGee Don't get soaked. Take a quick peek at the forecast with the Yahoo! Search weather shortcut. http://tools.search.yahoo.com/shortcuts/#loc_weather ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Whois borked.
Hello. I´ve upgraded from 6.1-stable to 6.2-STABLE and now whois don't like me any more. $ whois ipnumber whois: whois.arin.net: servname not supported for ai_socktype $ whois domain whois: whois.arin.net: servname not supported for ai_socktype $ whois usage: whois [-aAbdfgiIklmQrR6] [-c country-code | -h hostname] [-p port] name ... What gives? /BH ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PRISM3(PCMCIA) and/or wi(4) driver unable to do WPA?
The driver sadly, see http://www.freebsd.org/projects/ideas/#p-wi Its possible someones working on it but not that i know of. Thanks for the info. -- Regards, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ext3 support
dear list, does freebsd 6.x support the ext3 filesystem? TIA zheyu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems installing FreeBSD
On Thu, Mar 08, 2007 at 04:30:43AM -0600, s.moyzis wrote: Hi, I'm trying to install FreeBSD from ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/6.2 I downloaded all the files to a folder on my 2nd HD (Primary is C: 80 Gb Windows XP SP2, 2nd external 250 Gb HD has 2 partitons, G: which contains the entire C:drive for backup, and a partition H: for FreeBSD. Anyway, The Boot CD doesn't boot (yes, I changed the BIOS sequence), and the Disk1 and Disk2 won't fit on a CD. I'm new at this, but I do know Windows and DOS inside and out. Question is, what do I do next? everytime I try to 'open' the file(s) Roxio CD Creator opens up. Help! Thanks, Steve The first thought is: did you burn the bood CD correctly. It is already an ISO and should be burned as a plain data file with no reforming or conversion to be bootable or etc. That is the first thing I would verify. If you can get your hands on a different machine, then try booting that with the CD. It won't hurt anything to just boot as long as you don't commit to modifying the disk - for which there are lots of warnings and 'are you really sure you want to do this' messages. You only need the disk1 for booting and installing or running a fixit. The disk2 has additional things you might want to install - ports, if you can't install them over the net. As for where to put the FreeBSD installation, you cannot put it in an MS drive such as h:. It has to go in to its own primary slice. MS does not know how to recognize, read or write a FreeBSD slice. So if it is something MS can see, then it is not a FreeBSD primary slice. If MS uses the whole drive, you will need to either wipe out the MS stuff or shrink those slices to make room for a FreeBSD slice. You can look at it with the FreeBSD fdisk routine in the fixit shell. - But, of course, you have to get it to boot to the CD first. Then, since the existing slices are probably NTFS, you may need a special utility to shrink them. There are freeware utilities that can handle FAT slices, but not NTFS. I have been quite successful using Partition Magic to manipulate disk slicing including NTFS. It is generally available for about $70 the last I checked. With that you create a Primary Partition of 'unknown' type in empty space obtained by either shrinking or deleting currently existing partitions.NOTE here that the MS world calls these primary partitions, but the BSD UNIX world calls them slices and uses the term partition for a different kind of disk division - those that further subdivide slices. So, do some more studying and check out that CD burn. jerry The only secure computer is one that's unplugged, locked in a safe, and buried 20 feet under the ground in a secret location... and I'm not even too sure about that one ___ 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: Whois borked.
On Thursday 08 March 2007 17:23, B H wrote: Hello. I´ve upgraded from 6.1-stable to 6.2-STABLE and now whois don't like me any more. $ whois ipnumber whois: whois.arin.net: servname not supported for ai_socktype Is it configured to the services DB? Do a grep whois /etc/services. You should see there - among aothers - a line like this: nicname 43/tcpwhois If not, add it. HTH, Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
- Original Message From: Garrett Cooper [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Thursday, March 8, 2007 11:09:13 AM Subject: Re: Setting Env Well, it's going to involve a bit more than that to get an rc script up and running I'm afraid.. the script needs a start, stop, status functions, as well as a few others. Some examples are in the /etc/rc.d and /usr/local/etc/rc.d directories, as you've discovered. Given your output above, maybe you want to add the LD_LIBRARY_PATH lines to the zopectl file? Brilliant! Why doesn't *that* work?! This is crazy! I even added your little script and, after it booted, tried running that directly (after stopping Zope) and it _still_ didn't work! That makes no sense to me at all! I put together a little script, as I stated earlier, that set the env, stopped and started my Zope instances (calling on zopectl), and *that* worked, so why doesn't this work?? That whole bin dir in Zope is owned by root, so how is running that script different than, as root, setting the env? Insane! Drew No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. http://mobile.yahoo.com/mail ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Whois borked.
Nikos Vassiliadis skrev: On Thursday 08 March 2007 17:23, B H wrote: Hello. I´ve upgraded from 6.1-stable to 6.2-STABLE and now whois don't like me any more. $ whois ipnumber whois: whois.arin.net: servname not supported for ai_socktype Is it configured to the services DB? Silly me. It was not. Is that change to the services DB dokumented in UPDATING? Or somewhere else? Do a grep whois /etc/services. You should see there - among aothers - a line like this: nicname 43/tcpwhois I added it and now it works! Thank you Nikos Vassiliadis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Two ethernet one IP load balancing ?
If you want to put a freebsd/openbsd router in front of multiple machines we've seen some success in the past using pf + carp. David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexandre Vieira Sent: Thursday, March 08, 2007 7:56 AM To: Nikos Vassiliadis; freebsd-questions@freebsd.org; [EMAIL PROTECTED] Subject: Re: Two ethernet one IP load balancing ? On 3/8/07, Nikos Vassiliadis [EMAIL PROTECTED] wrote: On Thursday 08 March 2007 14:32, Frank Bonnet wrote: Nikos Vassiliadis wrote: Why do you think that the network is the bottleneck in your setup? Do you have a system that can process - in some way - 1Gb of email per second? That is not ONLY smtp traffic we extensively use IMAP and there are currently 400/500 IMAP processes on the machine , this protocol is a pretty bandwidth cruncher the machine support also POP3 + WEBMAIL traffic so ... the more it will have bandwidth, better will be the email service given to my users. You say that your servers (whatever that is IMAP, SMTP, POP3, web) running on an one and only computer are pushing down the wire over 1Gbps? What's your current bandwidth utilization? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] The freebsd port channeling support (I think it's called trunk in openbsd) is very limited. You have ng_one2many which let you aggregate two interfaces using round robin loadbalancing and ng_fec with uses fast ethernet channel. There isn't any LACP support yet :| What hardware do you use to push 1gbps on a mail server? Cheers -- Alexandre Vieira - [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 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: Setting Env
On Thu, Mar 08, 2007 at 08:31:23AM -0800, Drew Jenkins wrote: - Original Message From: Garrett Cooper [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Thursday, March 8, 2007 11:09:13 AM Subject: Re: Setting Env Well, it's going to involve a bit more than that to get an rc script up and running I'm afraid.. the script needs a start, stop, status functions, as well as a few others. Some examples are in the /etc/rc.d and /usr/local/etc/rc.d directories, as you've discovered. Given your output above, maybe you want to add the LD_LIBRARY_PATH lines to the zopectl file? Brilliant! Why doesn't *that* work?! This is crazy! I even added your little script and, after it booted, tried running that directly (after stopping Zope) and it _still_ didn't work! That makes no sense to me at all! I put together a little script, as I stated earlier, that set the env, stopped and started my Zope instances (calling on zopectl), and *that* worked, so why doesn't this work?? That whole bin dir in Zope is owned by root, so how is running that script different than, as root, setting the env? Insane! Drew I think this is really changing to getting a script to run at boot time from its previous 'setting env'. Anyway, I suggest first just working on getting any script to run at boot time - or rather at the time the system comes up for multi- user, but that stuff does not run when it comes up to single-user. So, my next suggestion is to make any little ole script with a couple of echo-s in it to demonstration that it runs and put that it the /usr/local/etc/rc.d directory with the correct permissions and name, etc. NOTE, someone in an earlier post clarified the .sh issue with information that was new to me about the system looking for certain flags inside the file if the file name does not have the .sh ending. Go back and check that out, but the this, assume you have to have .sh and execute permission. You do not have to have a start/stop/restart check in the script if the script will always just run regardless of parameter. But, what the system does is call the script with a parameter of 'start' at boot time and a parameter of 'stop' at shutdown time. But for the sake of the primative test, those can be omitted. Let's say you call the scriptfile: 'rctest.sh' Put something like: #!/bin/sh echo running rctest.sh, got this far # Add any any other stuff you want to test echo running rctest.sh, finished Now, if the bare skeleton works, then start adding more parts to it until you get to where everything works. Add more echo-s if they are useful. You could also look up how to get your messages written to a log file. 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: ext3 support
FreeBSD Daemon wrote: dear list, does freebsd 6.x support the ext3 filesystem? Only in ext2 mode (i.e. no journaling). signature.asc Description: OpenPGP digital signature
Re: ext3 support
dear list, does freebsd 6.x support the ext3 filesystem? TIA zheyu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hi! AFAIK it doesn't support ext3. However, it supports ext2, which is structurally the same as ext2 except that it doesn't do any journaling. Hence, you should be able to mount and use ext3 except that the journal will not be used. HTH, Benjamin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
On Thu, Mar 08, 2007 at 08:31:23AM -0800, Drew Jenkins wrote: Anyway, I suggest first just working on getting any script to run at boot time - or rather at the time the system comes up for multi- user, but that stuff does not run when it comes up to single-user. So, my next suggestion is to make any little ole script with a couple of echo-s in it to demonstration that it runs and put that it the /usr/local/etc/rc.d directory with the correct permissions and name, etc. NOTE, someone in an earlier post clarified the .sh issue with information that was new to me about the system looking for certain flags inside the file if the file name does not have the .sh ending. Go back and check that out, but the this, assume you have to have .sh and execute permission. You do not have to have a start/stop/restart check in the script if the script will always just run regardless of parameter. But, what the system does is call the script with a parameter of 'start' at boot time and a parameter of 'stop' at shutdown time. But for the sake of the primative test, those can be omitted. Let's say you call the scriptfile: 'rctest.sh' Put something like: #!/bin/sh echo running rctest.sh, got this far # Add any any other stuff you want to test echo running rctest.sh, finished Now, if the bare skeleton works, then start adding more parts to it until you get to where everything works. Add more echo-s if they are useful. But I've done that (except name it *.sh, which I just did). And I'm not at the server. It's on the other side of the globe. So I can't watch echo's pop up as it boots. Here's my script: #!/bin/sh sleep 60 if [ -n $LD_LIBRARY_PATH ] ; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib/mysql else export LD_LIBRARY_PATH=/usr/local/lib/mysql fi cd /usr/local/zope/ ./instance1/bin/zopectl stop ./instance1/bin/zopectl start ./instance2/bin/zopectl stop ./instance2/bin/zopectl start The sleep is in there to try to get it to run after everything else has come up, but it doesn't help. If I run that script after boot, everything works out fine. You could also look up how to get your messages written to a log Hey, now there's an idea! How do I do that? Or where do I go to study how to do that? TIA, Drew Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. http://games.yahoo.com/games/front ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
D-Link 528(T) problems in 6.0-STABLE
My 6.0 stable server does not identify my D-Link 528T gigabit ethernet card. I've been searching the net for related information with no luck. The release notes for 6.0-STABLE states support for this card and I've browsed the driver code which clearly is written to probe for (and find?) this card. I've booted the GENERIC kernel which includes support for the 528, and I've compiled a new kernel without re-driver support and loaded the if_re-module. The result is the same (as it is supposed to be I guess). Can anyone help me out here? I am unable to upgrade to a newer version of freebsd because of the lack of HighPoint 454 card-drivers for versions above 6.0. From dmesg: re0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xd000 pci2: network, ethernet at device 13.0 (no driver attached) From pciconf -lv: [EMAIL PROTECTED]:13:0:class=0x02 card=0x43001186 chip=0x43001186 rev=0x10 hdr=0x00 vendor = 'D-Link System Inc' class= network subclass = Ethernet kldload if_re gives the following messages when booted with verbal logging: found- vendor=0x1186, dev=0x4300, revid=0x10 bus=2, slot=13, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0117, statreg=0x02b0, cachelnsz=4 (dwords) lattimer=0x20 (960 ns), mingnt=0x20 (8000 ns), maxlat=0x40 (16000 ns) intpin=a, irq=9 powerspec 2 supports D0 D1 D2 D3 current D0 pci2:13:0: reprobing on driver added pcib2: re0 requested I/O range 0xd000-0xd0ff: in range ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem Launching Applications in Gnome
On Mar 7, 2007, at 6:57 PM, [EMAIL PROTECTED] wrote: The main application I run is Vim, which I run through Gnome- Terminal. I frequently have several copies running simultaneously. In general response to Gnome-Terminal commands is very fast, but sometimes when I try to open a file with Vim it takes up to 20-30 seconds to load. The files are not particularly large (max 300 lines). During this time, if I try to launch another application in Gnome (e.g., Opera or another Gnome-Terminal), it will not come up. It is as if everything is frozen until finally Vi loads and opens the file, at which point anything else I have tried to open works fine. Is it possible that you're low on RAM, and the system has to swap in a bunch of stuff to let you task-switch to Opera or GT? Is it only the combination of GT Vim, or do you sometimes encounter this long delay when switching between applications doing other things? I have of course looked at top when this problem occurs. CPU usage is about 2%, and there is no significant memory usage either. It would be helpful to know what state the GT vim processes were in, too. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gcc43 build snafu
On Wed, Mar 07, 2007 at 10:16:10PM -0800, Garrett Cooper wrote: Gary Kline wrote: On Wed, Mar 07, 2007 at 09:00:10PM -0500, Sean Bryant wrote: Gary Kline wrote: Why, oh why, is this gcc-4.3 build bombing (jc1: out of memory) when I've got .75G of RAM and a huge disk? If the gcc43 port is experimental, would somebodt kindly clue me in? [[ ... ]] http://gcc.gnu.org/ It's right there on the front page. So yes I'd call it experimental. Right. I should've checked ggc.gnu.org. Be glad when they got their new compiler working. Looks soild for increased optimization, too. You could try building without java support--that should cut down on your build resources use a ton. Oh, I'm not sure how fast your PC is, but it'll probably take 2-3 hours to compile that alone :).. Thanks for the tip! I want the java support ... when the compiler *works*. My FBSD servers are mostly slow: from 400 to 700+. I'm building packages on _this_ server, 700MHz, lotsa RAM. gary -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem Launching Applications in Gnome
On Thu, 08 Mar 2007 12:54:55 -0600, Chuck Swiger [EMAIL PROTECTED] wrote: On Mar 7, 2007, at 6:57 PM, [EMAIL PROTECTED] wrote: The main application I run is Vim, which I run through Gnome- Terminal. I frequently have several copies running simultaneously. In general response to Gnome-Terminal commands is very fast, but sometimes when I try to open a file with Vim it takes up to 20-30 seconds to load. The files are not particularly large (max 300 lines). During this time, if I try to launch another application in Gnome (e.g., Opera or another Gnome-Terminal), it will not come up. It is as if everything is frozen until finally Vi loads and opens the file, at which point anything else I have tried to open works fine. Is it possible that you're low on RAM, and the system has to swap in a bunch of stuff to let you task-switch to Opera or GT? Is it only the combination of GT Vim, or do you sometimes encounter this long delay when switching between applications doing other things? I have of course looked at top when this problem occurs. CPU usage is about 2%, and there is no significant memory usage either. It would be helpful to know what state the GT vim processes were in, too. RAM usage remains very low throughout. In addition, I have 2GB of RAM on this system, so while that was also my first suspicion, I don't think that's it. When vim exhibits this behavior (which it doesn't always do), it will sit in sbwait and will finally load as it comes out of sbwait. If I try to open another GT during vim's stalling, it will also be stuck in sbwait, generally coming out of it at the same time as vim. Thanks very much for your thoughts! -- Ned Ruggeri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
On Thu, Mar 08, 2007 at 04:20:40AM -0800, Drew Jenkins wrote: 20I wrote the following script (with your help) to solve the problem I'm having with setting the MySQL environment and getting Zope up after the fact. I have saved this in /usr/local/etc/rc.d/ If I run this after the machine reboots, all is well. If I simply let it run in the reboot sequence, it doesn't do it's job! The sleep command is to give the server a chance to finish all its other bootup sequences, since that appears to be the factor messing things up. But it doesn't work!! What can I do to tweak this to do what I need it to do? TIA, Drew #!/bin/sh sleep 60 if [ -n $LD_LIBRARY_PATH ] ; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib/mysql else export LD_LIBRARY_PATH=/usr/local/lib/mysql fi cd /usr/local/zope/ ./instance1/bin/zopectl stop ./instance1/bin/zopectl start ./instance2/bin/zopectl stop ./instance2/bin/zopectl start You don't suppose, if you made a file named 'rctest.sh' and put it in your /usr/local/etc/rc.d directory owned by root:wheel with execute permissions contain the following, that you might learn something? Then, take a look at /rctest.log after you reboot. jerry - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #!/bin/sh # test writing a file echo Starting rctest.sh at: `date` /rctest.log case $1 in start) echo running rctest.sh with a start at: `date` /rctest.log ;; stop) echo Running rctest.sh with a stop at: `date` /rctest.log ;; *)echo Calling args for rctest.sh are start and stop /rctest.log ;; esac sleep 3 echo ending rctest.sh at: `date` /rctest.log echo/rctest.log ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RANCID: End of run not found
On 3/8/07, Thiago Lacerda Zago [EMAIL PROTECTED] wrote: I new to rancid and I've been trying to config it to run Cisco Network devices. The problem is that I'm facing the problem with a Switch as described below. Please repost your question here on questions@ using a decent MUA. Sorry for not being any more helpful. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RANCID: End of run not found
Hi! I’m new to rancid and I’ve been trying to config it to run Cisco Network devices. The problem is that I’m facing the problem with a Switch as described below. Cisco Switch Hardware Model: WS-C6506 My .cloginrc file is set correctly. At least I surmise this because I can run clogin switch001 without problem and log to my device enable prompt. When I execute the command ./clogin switch001 it works fine. My router.db file is set with the line: switch001:cisco:up When I run rancid-run, and check the log file, I have the following error: -- starting: Thu Mar 8 15:00:00 BRT 2007 Trying to get all of the configs. switch001: missed cmd(s): dir /all slavedisk2:,show rsp chassis-info,dir /all sec-slot2:,show diag,dir /all disk1:,show gsr chassis,dir /all sec-nvram:,dir /all disk2:,dir /all sec-bootflash:,show spe version,dir /all slaveslot2:,dir /all disk0:,show install active,show bootvar,dir /all slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all slavenvram:,show flash,dir /all sec-disk2:,dir /all slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show variables boot,show boot,dir /all slavedisk1:,show env all,show module,show controllers,show diagbus,dir /all slavedisk0:,show idprom backplane,dir /all bootflash:,dir /all sec-slot0:,dir /all sec-disk1:,write term,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir /all slot0:,dir /all sup-microcode:,show vlan,dir /all slavebootflash:,show controllers cbus,dir /all slaveslot1:,dir /all nvram:,show version,show redundancy secondary,show running-config,show c7200,dir /all slot1: switch001: End of run not found ! What could it be the cause of this problem End of run not found I suspect that there might be something with the enable prompt that is of the form [ sw0001 (enable) ] Please, does anyone have some idea of how I’ll be able to solve this problem? Thanks in advance. BR’s Thiago Zago * HYPERLINK mailto:[EMAIL PROTECTED][EMAIL PROTECTED] -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.8/714 - Release Date: 8/3/2007 10:58 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.8/714 - Release Date: 8/3/2007 10:58 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
#!/bin/sh if [ -n $LD_LIBRARY_PATH ] ; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib/mysql echo Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql because -n '$LD_LIBRARY_PATH' held true. /var/log/zz_mysql_start.log else export LD_LIBRARY_PATH=/usr/local/lib/mysql echo Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql, -n '$LD_LIBRARY_PATH' did not hold true. /var/log/zz_mysql_start.log fi cd /usr/local/zope/ if ./instance1/bin/zopectl stop ; then echo Stopping zopectl instance 1. /var/log/zz_mysql_start.log fi if ./instance1/bin/zopectl start ; then echo Restarting zopectl instance 1. /var/log/zz_mysql_start.log fi if ./instance2/bin/zopectl stop ; then echo Stopping zopectl instance 2. /var/log/zz_mysql_start.log fi if ./instance2/bin/zopectl start ; then echo Restarting zopectl instance 2. /var/log/zz_mysql_start.log fi sleep 3 echo ending zz_mysql_start.sh at: `date` /var/log/zz_mysql_start.log echo/var/log/zz_mysql_start.log Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql, -n '/usr/local/lib/mysql' did not hold true. Stopping zopectl instance 1. Restarting zopectl instance 1. Stopping zopectl instance 2. Restarting zopectl instance 2. ending zz_mysql_start.sh at: Thu Mar 8 14:57:47 UTC 2007 It kicked out that output when I tested it and also when I rebooted the server. However, Zope was still not up. I should qualify that. Zope appears to be up, but when I try to access it TTW (the ZMI) I can't reach the site. TIA, Drew - TV dinner still cooling? Check out Tonight's Picks on Yahoo! TV. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
What does it mean: BBB reset failed?
Hello list, I have connected my MP3-Player Mustek E-102 on my SiS 5571 USB controller named as ohci0. The Kernel reports immediately after connection: umass1: vendor 0x10d6 USB 2.0(HS) Flash Disk, rev 2.00/1.00, addr 2 da0 at umass-sim1 bus 1 target 0 lun 0 da0: USB 2.0 (HS) Flash Disk 1.00 Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 242MB (497377 512 byte sectors: 64H 32S/T 242C) But in /dev the device da0 never appears! During the next minutes these errors appears: umass1: BBB reset failed, TIMEOUT umass1: BBB bulk-in clear stall failed, TIMEOUT umass1: BBB bulk-out clear stall failed, TIMEOUT (da0:umass-sim1:1:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 and it seems that the system freezes randomly afterwards for a few milliseconds... Any ideas? With regards Stevan Tiefert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
On Thu, Mar 08, 2007 at 01:07:10PM -0800, Drew Jenkins wrote: #!/bin/sh if [ -n $LD_LIBRARY_PATH ] ; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib/mysql echo Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql because -n '$LD_LIBRARY_PATH' held true. /var/log/zz_mysql_start.log else export LD_LIBRARY_PATH=/usr/local/lib/mysql echo Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql, -n '$LD_LIBRARY_PATH' did not hold true. /var/log/zz_mysql_start.log fi cd /usr/local/zope/ if ./instance1/bin/zopectl stop ; then echo Stopping zopectl instance 1. /var/log/zz_mysql_start.log fi if ./instance1/bin/zopectl start ; then echo Restarting zopectl instance 1. /var/log/zz_mysql_start.log fi if ./instance2/bin/zopectl stop ; then echo Stopping zopectl instance 2. /var/log/zz_mysql_start.log fi if ./instance2/bin/zopectl start ; then echo Restarting zopectl instance 2. /var/log/zz_mysql_start.log fi sleep 3 echo ending zz_mysql_start.sh at: `date` /var/log/zz_mysql_start.log echo/var/log/zz_mysql_start.log Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql, -n '/usr/local/lib/mysql' did not hold true. Stopping zopectl instance 1. Restarting zopectl instance 1. Stopping zopectl instance 2. Restarting zopectl instance 2. ending zz_mysql_start.sh at: Thu Mar 8 14:57:47 UTC 2007 It kicked out that output when I tested it and also when I rebooted the server. However, Zope was still not up. I should qualify that. Zope appears to be up, but when I try to access it TTW (the ZMI) I can't reach the site. TIA, Drew Sounds like your problem is with Zope somewhere and not the startup script per se - though it could be something missing in the startup. I have never used Zope. jerry - TV dinner still cooling? Check out Tonight's Picks on Yahoo! TV. ___ 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]
Network Printing recommendations please
I've just built my 6v2 box and all is going well so far. I've read the manual and understand LPD and directly attached printers. The manual however is pretty minimal when it comes to network-based printers, (netprint), and only mentions LPRng and CUPS on a single page briefly. I understand this; it's probably because they're not direct FreeBSD products but this doesn't help a newb-to-FreeBSD like me. I only want to build the foundation system once, so, any recommendations please on what to install/configure? (Hope this doesn't start a bikeshed). It's a single user system, for my own education (and enjoyment?) so it'll almost certainly never print any graphics or host complicated databases, etc. It's only got 512Mb RAM and a 10Gb HD so I don't have a huge resource available. The printers I have are a bullet-proof classic/HPLJ4 with internal JetDirect card, and a new HPDeskjet 6980 (colour inkjet). Unless someone can come up with a good reason to use X-Windows I don't know if I want to install it so that counts out LPRng? Apologies if this is the wrong forum or invalid posting, please advise. Many thanks Andy. (newbness embodied) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Stopping named: rndc failed, trying killall: .
HI there, So I Have 6.2 install on my machine and restarting named gets the following error. any clues what is creating this? # /etc/rc.d/named restart Stopping named: rndc failed, trying killall: . Starting named. bind is starting just fine Mar 8 13:34:47 named[52886]: starting BIND 9.3.4 -t /var/named -u bind -c /etc/namedb/named.conf Mar 8 13:34:47 named[52886]: command channel listening on 127.0.0.1#953 cheers, Noah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Stopping named: rndc failed, trying killall: .
On Mar 8, 2007, at 1:35 PM, Noah wrote: So I Have 6.2 install on my machine and restarting named gets the following error. any clues what is creating this? # /etc/rc.d/named restart Stopping named: rndc failed, trying killall: . By default, named runs in a chroot()ed environment under /var/named, and thus the path to the PID file which rndc expects to find under / var/run/named.pid actually gets put under /var/named/var/run/named.pid. It would be nifty to make ndc/rndc smart enough to understand how to find the pidfile under the chroot location. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Network Printing recommendations please
I've just built my 6v2 box and all is going well so far. I've read the manual and understand LPD and directly attached printers. The manual however is pretty minimal when it comes to network-based printers, (netprint), and only mentions LPRng and CUPS on a single page briefly. I understand this; it's probably because they're not direct FreeBSD products but this doesn't help a newb-to-FreeBSD like me. I only want to build the foundation system once, so, any recommendations please on what to install/configure? (Hope this doesn't start a bikeshed). It's a single user system, for my own education (and enjoyment?) so it'll almost certainly never print any graphics or host complicated databases, etc. It's only got 512Mb RAM and a 10Gb HD so I don't have a huge resource available. The printers I have are a bullet-proof classic/HPLJ4 with internal JetDirect card, and a new HPDeskjet 6980 (colour inkjet). Unless someone can come up with a good reason to use X-Windows I don't know if I want to install it so that counts out LPRng? Apologies if this is the wrong forum or invalid posting, please advise. Many thanks Andy. (newbness embodied) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
Well, if the problem is with Zope, then why is the env variable not set after reboot? The problem, therefore, is not with Zope, but rather with setting the variable. Drew2 Jerry McAllister [EMAIL PROTECTED] wrote: On Thu, Mar 08, 2007 at 01:07:10PM -0800, Drew Jenkins wrote: #!/bin/sh if [ -n $LD_LIBRARY_PATH ] ; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib/mysql echo Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql because -n '$LD_LIBRARY_PATH' held true. /var/log/zz_mysql_start.log else export LD_LIBRARY_PATH=/usr/local/lib/mysql echo Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql, -n '$LD_LIBRARY_PATH' did not hold true. /var/log/zz_mysql_start.log fi cd /usr/local/zope/ if ./instance1/bin/zopectl stop ; then echo Stopping zopectl instance 1. /var/log/zz_mysql_start.log fi if ./instance1/bin/zopectl start ; then echo Restarting zopectl instance 1. /var/log/zz_mysql_start.log fi if ./instance2/bin/zopectl stop ; then echo Stopping zopectl instance 2. /var/log/zz_mysql_start.log fi if ./instance2/bin/zopectl start ; then echo Restarting zopectl instance 2. /var/log/zz_mysql_start.log fi sleep 3 echo ending zz_mysql_start.sh at: `date` /var/log/zz_mysql_start.log echo/var/log/zz_mysql_start.log Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql, -n '/usr/local/lib/mysql' did not hold true. Stopping zopectl instance 1. Restarting zopectl instance 1. Stopping zopectl instance 2. Restarting zopectl instance 2. ending zz_mysql_start.sh at: Thu Mar 8 14:57:47 UTC 2007 It kicked out that output when I tested it and also when I rebooted the server. However, Zope was still not up. I should qualify that. Zope appears to be up, but when I try to access it TTW (the ZMI) I can't reach the site. TIA, Drew Sounds like your problem is with Zope somewhere and not the startup script per se - though it could be something missing in the startup. I have never used Zope. jerry - TV dinner still cooling? Check out Tonight's Picks on Yahoo! TV. ___ 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] - Get your own web address. Have a HUGE year through Yahoo! Small Business. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Stopping named: rndc failed, trying killall: .
In the last episode (Mar 08), Chuck Swiger said: On Mar 8, 2007, at 1:35 PM, Noah wrote: So I Have 6.2 install on my machine and restarting named gets the following error. any clues what is creating this? # /etc/rc.d/named restart Stopping named: rndc failed, trying killall: . By default, named runs in a chroot()ed environment under /var/named, and thus the path to the PID file which rndc expects to find under /var/run/named.pid actually gets put under /var/named/var/run/named.pid. It would be nifty to make ndc/rndc smart enough to understand how to find the pidfile under the chroot location. rndc doesn't need to know where the pid is; it connects directly to named over the control port (953) to do its magic. Try running rndc status while named is running; if you get an error message complaining about midding rndc.conf or rndc.key files, you may need to configure that before rndc will work. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Network Printing recommendations please
On Mar 8, 2007, at 1:02 PM, Andy Kendall wrote: [ ...and... ] On Mar 8, 2007, at 1:27 PM, Andy Kendall wrote: I've just built my 6v2 box and all is going well so far. I've read the manual and understand LPD and directly attached printers. The manual however is pretty minimal when it comes to network-based printers, (netprint), and only mentions LPRng and CUPS on a single page briefly. I understand this; it's probably because they're not direct FreeBSD products but this doesn't help a newb-to-FreeBSD like me. I only want to build the foundation system once, so, any recommendations please on what to install/configure? (Hope this doesn't start a bikeshed). You can use the stock lpd to print to remote/network-attached printers just fine-- use the rm and rp arguments in printcap to specify the remote printer's hostname (or IP address, possibly [1]) and spoolname...for JetDirect printers, use lp as the spool name, IIRC. See: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing- advanced.html#PRINTING-ADVANCED-NETWORK-RM Some other people seem to be happy with CUPS, and I believe MacOS X adopted CUPS as well rather than the classic lpd. I've never been a big fan of turning electronic documents into dead trees myself, so I don't have strong recommendations for one versus the other. Apologies if this is the wrong forum or invalid posting, please advise. This is the right forum, and welcome. One might wish to be a bit more patient about receiving replies, however, at least if you intended to repost so quickly -- -Chuck [1]: Some flavors of Unix insist upon having printer hostnames being well-defined in DNS or /etc/hosts, and do not support IP addresses in printcap. I don't recall whether than limitation is present in FreeBSD, or just a legacy from platforms like AIX or SCO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
remote install of 6.2
I have a remote machine running 4.8-p21. The system has two disks in it, but only one is used on a daily basis (the other is filled via dd every now and then). I want to get this remote machine running 6.2, so I figured I'ld install the new OS on the second disk, then boot off the second disk, leaving the original first disk with all the user data on it (plus as a way to back out). When I try to use /stand/sysinstall for this it seg-faults early in the installation, but after the Commit step. I figure this is because the install process has changed a bit since 4.8. Is there a way to fix this and/or what is the best way to achieve my goal... which is: install 6.2 on a remote system without hammering the current system disk? Thanks, -mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
DEFAULT CFLAGS SETTING
What is the default CFLAGS setting in FBSD-6.2 and would it improve performance any to set CFLAGS=Os as opposed to the default setting? -- White Hat [EMAIL PROTECTED] Not only is life a bItch, it has puppies. Adrienne E. Gusoff We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list. http://tv.yahoo.com/collections/265 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Network Printing recommendations please
On Thu, 8 Mar 2007 21:27:57 - Andy Kendall [EMAIL PROTECTED] wrote: The printers I have are a bullet-proof classic/HPLJ4 with internal JetDirect card, and a new HPDeskjet 6980 (colour inkjet). Unless someone can come up with a good reason to use X-Windows I don't know if I want to install it so that counts out LPRng? I would go with cups because you could use the HP JetDirect socket notation to connect to the printer. I believe you can do that with the standard lp commands but I've not done that. It should be easy to set up wth cups. -- Rod - Empty your mind, be formless, shapeless like water. Now you put water into a cup and it becomes the cup. You put water in a bottle it becomes the bottle. You put it into a teapot it becomes the teapot. Now water can flow or it can crash. Be water, my friend. -- Bruce Lee signature.asc Description: PGP signature
Re: remote install of 6.2
On Thu, Mar 08, 2007 at 01:50:27PM -0800, Mark Messier wrote: I have a remote machine running 4.8-p21. The system has two disks in it, but only one is used on a daily basis (the other is filled via dd every now and then). I want to get this remote machine running 6.2, so I figured I'ld install the new OS on the second disk, then boot off the second disk, leaving the original first disk with all the user data on it (plus as a way to back out). When I try to use /stand/sysinstall for this it seg-faults early in the installation, but after the Commit step. I figure this is because the install process has changed a bit since 4.8. Is there a way to fix this and/or what is the best way to achieve my goal... which is: install 6.2 on a remote system without hammering the current system disk? Are you using an install CD? Use that to boot the machine - download the ISO and burn it if needed or buy one. Boot it up and do the install to the second disk. I know you can make it work from another disk if you unmount the second one and do things just right. But, it is easier to just make the CD and do the install on the second disk. jerry Thanks, -mark ___ 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: Network Printing recommendations please
On 2007/03/08 12:02, Andy Kendall seems to have typed: The printers I have are a bullet-proof classic/HPLJ4 with internal JetDirect card, and a new HPDeskjet 6980 (colour inkjet). Unless someone can come up with a good reason to use X-Windows I don't know if I want to install it so that counts out LPRng? I would suggest trying out CUPS and reading the manual on how to use the CUPS LPR instead of the standard LPR, especially for the inkjet. http://www.cups.org/documentation.php/man-lpr.html You should be able to use LPR directly for the HPLJ4 if you don't want CUPS: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-intro-setup.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: remote install of 6.2
On Thu, Mar 08, 2007 at 05:19:57PM -0500, Jerry McAllister wrote: On Thu, Mar 08, 2007 at 01:50:27PM -0800, Mark Messier wrote: I have a remote machine running 4.8-p21. The system has two disks in it, but only one is used on a daily basis (the other is filled via dd every now and then). I want to get this remote machine running 6.2, so I figured I'ld install the new OS on the second disk, then boot off the second disk, leaving the original first disk with all the user data on it (plus as a way to back out). When I try to use /stand/sysinstall for this it seg-faults early in the installation, but after the Commit step. I figure this is because the install process has changed a bit since 4.8. Is there a way to fix this and/or what is the best way to achieve my goal... which is: install 6.2 on a remote system without hammering the current system disk? Are you using an install CD? Use that to boot the machine - download the ISO and burn it if needed or buy one. Boot it up and do the install to the second disk. I know you can make it work from another disk if you unmount the second one and do things just right. But, it is easier to just make the CD and do the install on the second disk. Ahhh, I overlooked the part about being a remote install. Well, if you can get someone to stick in a CD and then take it out when it comes time for reboot, that would still be the easier way. Otherwise someone is going to have to take some time and think about what the problem is. It is true that /stand/sysinstall has changed since 4.x. I am not sure just how much it would mangle things to use the old one. jerry jerry Thanks, -mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: remote install of 6.2
Mark Messier wrote: I have a remote machine running 4.8-p21. The system has two disks in it, but only one is used on a daily basis (the other is filled via dd every now and then). I want to get this remote machine running 6.2, so I figured I'ld install the new OS on the second disk, then boot off the second disk, leaving the original first disk with all the user data on it (plus as a way to back out). When I try to use /stand/sysinstall for this it seg-faults early in the installation, but after the Commit step. You could try to mount a 6.2 iso-file and use the sysinstall from there, if that does not work due to library dependencies you could partition the disk by hand using fdisk and disklabel (or do that with the 4.8 sysinstall). After mounting the new disk to /mnt etc. you can extract the kernel and userland using the install.sh script you will find at the set directories in ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/6.2-RELEASE/. I think you only need base and a kernel. Only drawback is you will not be able to use UFS2 I guess, because the 4.8 newfs doesn't know about that. But maybe someone has a solution to that. You could also use qemu to prepare a freebsd6 system and use dd to write it onto the second disk. greetings, philipp ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Network Printing recommendations please
Andy Kendall wrote: I've just built my 6v2 box and all is going well so far. I've read the manual and understand LPD and directly attached printers. The manual however is pretty minimal when it comes to network-based printers, (netprint), and only mentions LPRng and CUPS on a single page briefly. I understand this; it's probably because they're not direct FreeBSD products but this doesn't help a newb-to-FreeBSD like me. I only want to build the foundation system once, so, any recommendations please on what to install/configure? (Hope this doesn't start a bikeshed). It's a single user system, for my own education (and enjoyment?) so it'll almost certainly never print any graphics or host complicated databases, etc. It's only got 512Mb RAM and a 10Gb HD so I don't have a huge resource available. The printers I have are a bullet-proof classic/HPLJ4 with internal JetDirect card, and a new HPDeskjet 6980 (colour inkjet). I'll counter the so far flow by suggesting you take a look at apsfilter. I thought CUPS was a bit daunting looking for me as a newb, and picked apsfilter instead. Can't say I've never had printing issues, but usually it was a matter of PEBKAC rather than the software's fault. It's in ports (/usr/ports/print/apsfilter), and the project site is apsfilter.org --- which sings a number of praises, including MP3, Ogg Vorbis and .WAV support (heh, yes, you're reading that correctly). I imagine the drivers will have no problem with the old HP, but I'd check on the new one before committing. Chances are it can be tweaked, but I've found that some of the really cheapo HP's don't have support in hpijs/gs ... if you can find that CUPS will support the printer and apsfilter won't, don't use it. But Linuxprinting.org seems to indicate that the 6980 is supposed by the hpijs driver (at least for basic color printing of average documents). Unless someone can come up with a good reason to use X-Windows I don't know if I want to install it so that counts out LPRng? Apologies if this is the wrong forum or invalid posting, please advise. Many thanks Andy. (newbness embodied) Kevin Kinsey -- All my life I wanted to be someone; I guess I should have been more specific. -- Jane Wagner ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ifconfig up hanging on 6.1
We have some Dell PowerEdge 1950 1u rack servers with GigE NICs on them running FreeBSD 6.1. The NICs are connected to a Cisco 24 port 10/100 switch. The interfaces are down when the programs that are running on them are dormant, and whenever they receive a job, they bring the interface up. (The other NIC is always up, which is how the servers receive new job notifications.) A couple of times per day (about every hour or so on average), the server receives a job, brings up the interface, and starts processing. The thing is that occasionally, about 10% of the time, bringing up the interface doesn't seem to do anything. It's as if the network is still down. So we have to go any manually bring it up again for it to work. We assumed that it was an auto-negotiation problem with the GigE card and the switch, so we forced everything to 100Mbit, but it still occurs. What could be the problem? thanks, Thomas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sigh... Probs installing FreeBSD 6.2
Well, everyone, I've decided to put FreeBSD on the back burner indefinetly, until I can get a dedicated box. No matter what I try, it won't boot from the Disk1 ISO image (BIOS IS configured). Won't boot from the boot disk either. Maybe I'll go back and try a re-install of Windows NT 4.0, at least THAT worked, 'up to a point' My thanks to everyone for their help and support, I really appreciate it. Thanks, Steve The only secure computer is one that's unplugged, locked in a safe, and buried 20 feet under the ground in a secret location... and I'm not even too sure about that one ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Network Printing recommendations please
Andy Kendall wrote: I've just built my 6v2 box and all is going well so far. I've read the manual and understand LPD and directly attached printers. The manual however is pretty minimal when it comes to network-based printers, (netprint), and only mentions LPRng and CUPS on a single page briefly. I understand this; it's probably because they're not direct FreeBSD products but this doesn't help a newb-to-FreeBSD like me. I only want to build the foundation system once, so, any recommendations please on what to install/configure? (Hope this doesn't start a bikeshed). It's a single user system, for my own education (and enjoyment?) so it'll almost certainly never print any graphics or host complicated databases, etc. It's only got 512Mb RAM and a 10Gb HD so I don't have a huge resource available. The printers I have are a bullet-proof classic/HPLJ4 with internal JetDirect card, and a new HPDeskjet 6980 (colour inkjet). I'll counter the so far flow by suggesting you take a look at apsfilter. I thought CUPS looked a tad daunting as a newb, and picked apsfilter instead. Can't say I've never had printing issues, but usually it was a matter of PEBKAC rather than the software's fault. It's in ports (/usr/ports/print/apsfilter), and the project site is apsfilter.org --- which sings a number of praises, including MP3, Ogg Vorbis and .WAV support (heh, yes, you're reading that correctly). I imagine the drivers will have no problem with the old HP, but I've found that some of the really cheapo HP's don't have support in hpijs/gs ... if you can find that CUPS will support the printer and apsfilter won't, use CUPS instead. But Linuxprinting.org seems to indicate that the 6980 is supposed by the hpijs driver (at least for basic color printing of average documents). Unless someone can come up with a good reason to use X-Windows I don't know if I want to install it so that counts out LPRng? Well, many games and all of that, err, so-called important *content* doesn't look as good in Lynx. Apart from that, you can live and do many kinds of Actual Work quite happily without X :-D Come to think of it, maybe X isn't such a great idea, heh Apologies if this is the wrong forum or invalid posting, please advise. Many thanks Andy. (newbness embodied) Err, can't I have my body back, then? Kevin Kinsey -- All my life I wanted to be someone; I guess I should have been more specific. -- Jane Wagner ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DEFAULT CFLAGS SETTING
On 08/03/07, White Hat [EMAIL PROTECTED] wrote: What is the default CFLAGS setting in FBSD-6.2 and would it improve performance any to set CFLAGS=Os as opposed to the default setting? CFLAGS can be defined in /etc/make.conf My CFLAGS is set to -O2 -pipe. You might want to take a look at CPUTYPE, too. This can be set to match your CPU type, which means you'll get the most of it. You can find some examples in /usr/share/examples/etc/make.conf HTH Christian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sigh... Probs installing FreeBSD 6.2
--- s.moyzis [EMAIL PROTECTED] wrote: Well, everyone, I've decided to put FreeBSD on the back burner indefinetly, until I can get a dedicated box. No matter what I try, it won't boot from the Disk1 ISO image (BIOS IS configured). Won't boot from the boot disk either. Maybe I'll go back and try a re-install of Windows NT 4.0, at least THAT worked, 'up to a point' My thanks to everyone for their help and support, I really appreciate it. Thanks, Steve The only secure computer is one that's unplugged, locked in a safe, and buried 20 feet under the ground in a secret location... and I'm not even too sure about that one ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Got one final question Steve. What kind of motherboard is being used in your machine? Well, how about one more question: can you provide the make / model number of the board? Just curious. Regards, Paulette McGee 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie showtime shortcut. http://tools.search.yahoo.com/shortcuts/#news ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Install Freebsd 5.4
I have not been able to see the screens for configuring X for my monitor or video card. I have ver 5.4, I have used both the standard install and the custom install. I have used the most recent install documents on the internet and I have a copy of Complete BSD by Greg Lehey. I am new to BSD but I want to get this install to work. I can not get anytype of graphical interface. Thanks, Thomas H Bellus ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Network Printing recommendations please
On Thu, 8 Mar 2007, Andy Kendall wrote: I've just built my 6v2 box and all is going well so far. I've read the manual and understand LPD and directly attached printers. The manual however is pretty minimal when it comes to network-based printers, (netprint), and only mentions LPRng and CUPS on a single page briefly. I understand this; it's probably because they're not direct FreeBSD products but this doesn't help a newb-to-FreeBSD like me. I only want to build the foundation system once, so, any recommendations please on what to install/configure? (Hope this doesn't start a bikeshed). lpd is in the base system and works fine. There are numerous filter packages that can be used with it, although setting up Ghostscript directly isn't too bad either. It's a single user system, for my own education (and enjoyment?) so it'll almost certainly never print any graphics or host complicated databases, etc. It's only got 512Mb RAM and a 10Gb HD so I don't have a huge resource available. The hard drive might be a little tight, but 512M of RAM is plenty. The printers I have are a bullet-proof classic/HPLJ4 with internal JetDirect card, This will work fine. The Handbook shows how to set up Ghostscript so you can treat the printer as if it understood PostScript directly. Many Unix applications produce PS output, so this is generally nice. and a new HPDeskjet 6980 (colour inkjet). linuxprinting.org says that should work also. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Using gpg-agent on freebsd
I'm using FreeBSD 6.2 I've been tinkering with using gpg-agent for GnuPG passphrase caching when using Kmail. I have been able to get it working as per the instructions at http://freebsd.kde.org/howtos/gnupg-kmail.php for starting the daemon when entering KDE. But, I want to start gpg-agent when the sytem starts and I login to console mode (not just when I enter KDE), and I want Kmail to use the agent for GnuPG usage. Could someone please describe to me the details of the steps that I need to take and the file modifications that I need to make for this to work. Again, I want the gpg-agent to be up and running when I login to the console, also when I log into KDE, I want Kmail to use the agent. The way I log into KDE is to first login to the console via a limited user account, then do sudo kdm and log into KDE using the same limited user account. I have root login disabled for both console and KDE. I've read the instructions for using a ~/.xinitrc or ~/.xsession to start the gpg-agent daemon when logging into kde, but I have neither file in my home directory, and anyway want the daemon running upon entering console mode login, i.e., running always and only one gpg-agent process running at any given time. Please CC my email address with any responses. Thanks very much for suggestions. FreeBSD rocks! Joe Vender ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
syncing user passwd information between servers
Hi, I am trying to figure out the Best admininstrative way to do the following: We have two FreeBSD 6.2 servers and want to keep the passwd files in sync so all the same users can log into each machine, their UID's match, and when the update the password on one machine the other machine gets the password. When we add the user to one machine then the other machine has an additional user too. What is the best scheme that we can devise to get this working technically well? Cheers, Noah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: syncing user passwd information between servers
On 3/9/07, Noah [EMAIL PROTECTED] wrote: Hi, I am trying to figure out the Best admininstrative way to do the following: We have two FreeBSD 6.2 servers and want to keep the passwd files in sync so all the same users can log into each machine, their UID's match, and when the update the password on one machine the other machine gets the password. When we add the user to one machine then the other machine has an additional user too. What is the best scheme that we can devise to get this working technically well? Cheers, A couple of things can be done... The first, and longest existing method would be to use NIS between the two machines where one machine acts as a server, the other as a client to that server, if the server goes down, no-one can login. (I havn't investigated in backup NIS servers as I don't like NIS) The other option would be using LDAP (OpenLDAP), you'll install OpenLDAP on both servers, one will act as a master, the other as a slave, each machine will login against the ldap database running locally. The master ldap will replicate to the slave to keep any user changes in tact and up to date. You'll need to install the pam_ldap and nss_ldap ports and may want to use LDAP Account Manager (runs via PHP on Apache) to manage the user accounts. Another option may be to use a versioning system, one machine has a versioning repository, you import /etc/ into the versioning system (CVS or Subversion), when you make a change on a server to passwd's etc... you commit the change and check it out on the other machine, maybe even making use of merging changes so if two people, one on each machine, change their passwords and they both commit you don't lose one of the password changes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: syncing user passwd information between servers
see more questions below? Daniel Marsh wrote: On 3/9/07, Noah [EMAIL PROTECTED] wrote: Hi, I am trying to figure out the Best admininstrative way to do the following: We have two FreeBSD 6.2 servers and want to keep the passwd files in sync so all the same users can log into each machine, their UID's match, and when the update the password on one machine the other machine gets the password. When we add the user to one machine then the other machine has an additional user too. What is the best scheme that we can devise to get this working technically well? Cheers, A couple of things can be done... The first, and longest existing method would be to use NIS between the two machines where one machine acts as a server, the other as a client to that server, if the server goes down, no-one can login. (I havn't investigated in backup NIS servers as I don't like NIS) yeah NIS does not feel like the right direction The other option would be using LDAP (OpenLDAP), you'll install OpenLDAP on both servers, one will act as a master, the other as a slave, each machine will login against the ldap database running locally. The master ldap will replicate to the slave to keep any user changes in tact and up to date. You'll need to install the pam_ldap and nss_ldap ports and may want to use LDAP Account Manager (runs via PHP on Apache) to manage the user accounts. so the users would not be locked out of the second server if the master LDAP server goes down, right? cheers, Noah Another option may be to use a versioning system, one machine has a versioning repository, you import /etc/ into the versioning system (CVS or Subversion), when you make a change on a server to passwd's etc... you commit the change and check it out on the other machine, maybe even making use of merging changes so if two people, one on each machine, change their passwords and they both commit you don't lose one of the password changes. ___ 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]
How to make php5 with prcre7
Hello all, Just `make install clean` on php5 port makes php5 use the pcre library 6.7 . On my System, i also have 7.0. How can i make php use pcre7.0 instead of 6.7? Thanks a lot, David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
Well, if the problem is with Zope, then why is the env variable not set after reboot? The problem, therefore, is not with Zope, but rather with setting the variable. Drew2 Jerry McAllister [EMAIL PROTECTED] wrote: On Thu, Mar 08, 2007 at 01:07:10PM -0800, Drew Jenkins wrote: #!/bin/sh if [ -n $LD_LIBRARY_PATH ] ; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib/mysql echo Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql because -n '$LD_LIBRARY_PATH' held true. /var/log/zz_mysql_start.log else export LD_LIBRARY_PATH=/usr/local/lib/mysql echo Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql, -n '$LD_LIBRARY_PATH' did not hold true. /var/log/zz_mysql_start.log fi cd /usr/local/zope/ if ./instance1/bin/zopectl stop ; then echo Stopping zopectl instance 1. /var/log/zz_mysql_start.log fi if ./instance1/bin/zopectl start ; then echo Restarting zopectl instance 1. /var/log/zz_mysql_start.log fi if ./instance2/bin/zopectl stop ; then echo Stopping zopectl instance 2. /var/log/zz_mysql_start.log fi if ./instance2/bin/zopectl start ; then echo Restarting zopectl instance 2. /var/log/zz_mysql_start.log fi sleep 3 echo ending zz_mysql_start.sh at: `date` /var/log/zz_mysql_start.log echo/var/log/zz_mysql_start.log Exporting LD_LIBRARY_PATH to /usr/local/lib/mysql, -n '/usr/local/lib/mysql' did not hold true. Stopping zopectl instance 1. Restarting zopectl instance 1. Stopping zopectl instance 2. Restarting zopectl instance 2. ending zz_mysql_start.sh at: Thu Mar 8 14:57:47 UTC 2007 It kicked out that output when I tested it and also when I rebooted the server. However, Zope was still not up. I should qualify that. Zope appears to be up, but when I try to access it TTW (the ZMI) I can't reach the site. TIA, Drew Sounds like your problem is with Zope somewhere and not the startup script per se - though it could be something missing in the startup. I have never used Zope. jerry If the user has a home, why not add it to /etc/profile, or ~/.profile? It's only a problem if it's a daemon user without a home.. that's when stuff gets a bit tricky with the profile setup. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DEFAULT CFLAGS SETTING
Christian Walther wrote: On 08/03/07, White Hat [EMAIL PROTECTED] wrote: What is the default CFLAGS setting in FBSD-6.2 and would it improve performance any to set CFLAGS=Os as opposed to the default setting? CFLAGS can be defined in /etc/make.conf My CFLAGS is set to -O2 -pipe. You might want to take a look at CPUTYPE, too. This can be set to match your CPU type, which means you'll get the most of it. You can find some examples in /usr/share/examples/etc/make.conf HTH Christian As mentioned when I asked the question a while back, be careful about how you optimize freebsd. Adding additional options beyond -O2 -pipe -fno-strict-aliasing isn't really supported so much and is discouraged by many on this list (AFAIK) and a lot of people on the hackers@ list (that I do know). Unlike some linux distributions where using CFLAGS and CXXFLAGS are encouraged, it's discouraged here because it generates a lot more variation in having to check through errors, and many times the levels of optimization used my system users is counterproductive to the purpose of optimizing. I was told to add -fno-strict-aliasing, because it's an option to allow some programs and code compile that are improperly developed or use deprecated code / features. From gcc(1): -fstrict-aliasing Allows the compiler to assume the strictest aliasing rules applicable to the language being compiled. For C (and C++), this activates optimizations based on the type of expressions. In particular, an object of one type is assumed never to reside at the same address as an object of a different type, unless the types are almost the same. For example, an unsigned int can alias an int, but not a void* or a double. A character type may alias any other type. Pay special attention to code like this: union a_union { int i; double d; }; int f() { a_union t; t.d = 3.0; return t.i; } The practice of reading from a different union member than the one most recently written to (called ``type-punning'') is common. Even with -fstrict-aliasing, type-punning is allowed, provided the memory is accessed through the union type. So, the code above will work as expected. However, this code might not: int f() { a_union t; int* ip; t.d = 3.0; ip = t.i; return *ip; } Every language that wishes to perform language-specific alias analysis should define a function that computes, given an tree node, an alias set for the node. Nodes in different alias sets are not allowed to alias. For an example, see the C front-end function c_get_alias_set. Enabled at levels -O2, -O3, -Os. Just provide inverse logic of the above set of statements. Definitely set CPUTYPE though--this will help since it gets passed to gcc as -march=$CPUTYPE. However, since the version of gcc the base system works with isn't bleeding edge it won't support all processor types / optimizations available in later versions of gcc. There is an examples of a make.conf file in /usr/share/etc/make.conf.example. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: syncing user passwd information between servers
Noah wrote: see more questions below? Daniel Marsh wrote: On 3/9/07, Noah [EMAIL PROTECTED] wrote: Hi, I am trying to figure out the Best admininstrative way to do the following: We have two FreeBSD 6.2 servers and want to keep the passwd files in sync so all the same users can log into each machine, their UID's match, and when the update the password on one machine the other machine gets the password. When we add the user to one machine then the other machine has an additional user too. What is the best scheme that we can devise to get this working technically well? Cheers, A couple of things can be done... The first, and longest existing method would be to use NIS between the two machines where one machine acts as a server, the other as a client to that server, if the server goes down, no-one can login. (I havn't investigated in backup NIS servers as I don't like NIS) yeah NIS does not feel like the right direction The other option would be using LDAP (OpenLDAP), you'll install OpenLDAP on both servers, one will act as a master, the other as a slave, each machine will login against the ldap database running locally. The master ldap will replicate to the slave to keep any user changes in tact and up to date. You'll need to install the pam_ldap and nss_ldap ports and may want to use LDAP Account Manager (runs via PHP on Apache) to manage the user accounts. so the users would not be locked out of the second server if the master LDAP server goes down, right? cheers, Noah Another option may be to use a versioning system, one machine has a versioning repository, you import /etc/ into the versioning system (CVS or Subversion), when you make a change on a server to passwd's etc... you commit the change and check it out on the other machine, maybe even making use of merging changes so if two people, one on each machine, change their passwords and they both commit you don't lose one of the password changes. As was suggested to me about 4-5 months ago (may want to look in the archives), the best means to ensure user account info is synced is to use NIS (for credentials, like users, groups, NIS domain info, etc) and LDAP/Kerberos (authentication, passwords, etc). -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sigh... Probs installing FreeBSD 6.2
Paulette McGee wrote: --- s.moyzis [EMAIL PROTECTED] wrote: Well, everyone, I've decided to put FreeBSD on the back burner indefinetly, until I can get a dedicated box. No matter what I try, it won't boot from the Disk1 ISO image (BIOS IS configured). Won't boot from the boot disk either. Maybe I'll go back and try a re-install of Windows NT 4.0, at least THAT worked, 'up to a point' My thanks to everyone for their help and support, I really appreciate it. Thanks, Steve The only secure computer is one that's unplugged, locked in a safe, and buried 20 feet under the ground in a secret location... and I'm not even too sure about that one Got one final question Steve. What kind of motherboard is being used in your machine? Well, how about one more question: can you provide the make / model number of the board? Just curious. Regards, Paulette McGee When's the last time you've updated your BIOS? Your board may not support Unices properly without an update, or at all. My assumption's based on what you said about NT 4.0.. that hasn't really been in use since like '96~'98, has it =\? -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using gpg-agent on freebsd
Disregard my previous request for instructions. I've figured out how to get it to work. I simply added the gpg-agent initiation command to the system-wide /etc/profile file. It works as expected. Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
java process logs wrong time
Hello, I am using 6.2 version with a custom kernel config. Another machine uses 6.1 also with custom kernel. On both of the machines there is java installed. java version 1.5.0 Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b01) Java HotSpot(TM) Client VM (build diablo-1.5.0_07-b01, mixed mode) We have a program written in java and this program logs its operation to a log file. It alwasy logs the correct hour when it does its work. Yesterday I had to restart the program on 6.1 machine and noticed that the entries in log file are now one hour behind. So I restarted the same java api on the 6.2 machine and it did the same thing - it put the log entries as 7 a.m. when it actually was 8 a.m. (so java is one our behind the system time but the program uses system date and time). On both of the machines the system time is CET: $ date Fri Mar 9 07:46:22 CET 2007 And on both of them we use 161 ?? IWs0:00.00 adjkerntz -i Up to when I had to restart java processes, the logging was always consistent with the system time on both machines. Now it is not. Can you give me any advice how to troubleshoot it? A thing to mention is that there were no changes to the java api in the meantime. As for the systems, 6.1 has been patched but otherwise nothing changed. The 6.2 was upgraded from 6.1. Otherwise no other (system) changes. Can it have something to do with time zones? In our region (time zone) the clocks have not been ajdusted yet for spring (but they will be shortly). Thank you in advance! -- Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Help needed syncing Palm Treo 650 with FreeBSD
I am trying to get my Palm Treo sync with Jpilot. Unfortunately so far without results :-( . Who can help me with this? Here's what I tried so far: Added this line to etc/usbd.conf just above the fallthrough entry: / device Palm devname ucom[0-9]* attach chmod 0666 /dev/ucom* /dev/ttyU* /dev/cuaU*/ /kldload ucom kldload uvisor / Filled in this 'adress' in jpilot: //dev/ttyU0/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]