Can't see second CPU on IBM eServer x346 (FBSD5.4 and 6.0 amd64)
Hi, I'm having a problem installing FreeBSD/amd64 SMP on a couple of IBM x346 servers. Both have dual XEON 3.0GHz EM64T processors but OS seems to only enable one of them. ACPI has to be disabled on both machines for them to boot, otherwise they will hang after probing the keyboard. I'm using the SMP kernel config unedited. Mptable on both machines show that there are 2 CPUs: -- Processors: APIC ID Version State Family Model StepFlags 0 0x14BSP, usable 15 4 1 0x0301 6 0x14AP, usable 15 4 1 0x0301 -- Sysctl hw.ncpu returns 1 on both systems. The one on FreeBSD 5.4 has 6GB or memory and the one on FreeBSD 6.0 has 3GB of memory. I can run tests on the 3GB system and will probably try FreeBSD/i386 on it to see if it can see both CPUs. Has anyone successfully ran FreeBSD/amd64 SMP on these machines? Thanks in advance for any info anyone can provide. Anto. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
routing issue of mpd
Hi: I got mpd working and logined into pptp server through internet. From my pc, I can ping internal interface of the pptp server, 192.168.128.1 (my pc address is 192.168.128.10). the problem is that I can't ping anything beyond that, such as 192.168.128.2 (it actually is an interface of a router, on the same subnet). From cmd of windows, with command ipconfig: Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : IP Address. . . . . . . . . . . . : 254.254.254.100 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 254.254.254.1 PPP adapter test: Connection-specific DNS Suffix . : IP Address. . . . . . . . . . . . : 192.168.128.10 Subnet Mask . . . . . . . . . . . : 255.255.255.255 Default Gateway . . . . . . . . . : So how could I change the length of the masking of the ppp adapter? once I can change the length of the masking bits, then I can route my traffic into the rfc1918 networks that behind of the vpn server. the manual page of: http://www.bretterklieber.com/mpd/doc3/mpd22.html don't seem to be matter though. here is the mpd.conf: default: load pptp0 pptp0: new -i ng0 pptp0 pptp0 set ipcp ranges 192.168.128.1/21 192.168.128.10/21 load common common: set iface disable on-demand set iface enable proxy-arp set iface idle 1800 set iface enable tcpmssfix set bundle disable multilink set bundle enable compression set bundle yes crypt-reqd set link no pap chap set link enable chap-msv2 set link keep-alive 10 60 set link enable acfcomp protocomp set ipcp yes vjcomp set ipcp dns 192.168.64.96 set ccp yes mppc set ccp yes mpp-e128 BTW, mpd4 seems to be not very stable; I switched back to 3.18 and it works fine. TIA __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is there a way to take all defaults on a make install clean
On Tue, Jan 31, 2006 at 02:04:01AM -0500, Xn Nooby wrote: I'd like to automate the 40+ ports I always make install clean on, and always take the defaults. Is there a way to make it not prompt, and just take the defaults? Set the BATCH environment variable. Kris P.S. This question is asked several times a week, so you could have surely saved yourself the trouble by consulting google before emailing. pgp86ict7878h.pgp Description: PGP signature
Question about synchronizing source tree with cvsup
I would like to synchronize a server which I did a minimal install. I would like to customize the stable-supfile so as not to download unneeded files. I would like to know what options I need to include from the following to do a source sync of only the essential files: #src-base #src-bin #src-contrib #src-etc #src-games #src-gnu #src-include #src-kerberos5 #src-kerberosIV #src-lib #src-libexec #src-release #src-sbin #src-share #src-sys #src-tools #src-usrbin #src-usrsbin # These are the individual collections that make up FreeBSD's crypto # collection. They are no longer export-restricted and are a part of # src-all #src-crypto #src-eBones #src-secure #src-sys-crypto ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
can't build jdk15 on 6.0
Am trying to build jdk15 form ports on 6.0. Happens to be inside a jail with linux emulation running etc. I previously was able to build jdk142 in s similar environment. The linux jdk14 is installed (I believe the port itself did that). Any thoughts or help appreciated. gmake[5]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/ sun/javac/javac' gmake /usr/ports/java/jdk15/work/control/build/bsd-i586/bin/javac VARIANT=OPT gmake[6]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/ sun/javac/javac' rm -f /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/sun/ com.sun.tools.javac/javac/.classes.list /usr/ports/java/jdk15/work/control/build/bsd-i586/bin/java - classpath ../../../tools/CompileProperties CompileProperties ../../../../src/share/classes/com/sun/tools/javac/ resources/compiler.properties /usr/ports/java/jdk15/work/control/ build/bsd-i586/gensrc/com/sun/tools/javac/resources/compiler.java Error: could not find libjava.so Error: could not find Java 2 Runtime Environment. gmake[6]: *** [/usr/ports/java/jdk15/work/control/build/bsd-i586/ gensrc/com/sun/tools/javac/resources/compiler.java] Error 2 gmake[6]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/ javac/javac' gmake[5]: *** [optimized] Error 2 gmake[5]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/ javac/javac' gmake[4]: *** [all] Error 1 gmake[4]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/ javac' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/ java/javac' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk15. utah# locate libjava.so /stubs/usr_local/linux-sun-jdk1.4.2/jre/lib/i386/libjava.so /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/libjava.so /usr/ports/java/linux-sun-jdk14/work/j2sdk1.4.2_10/jre/lib/i386/ libjava.so utah# --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS nslint error messages
On 2006-01-30 19:37, Brad Gilmer [EMAIL PROTECTED] wrote: I am running freebsd 5.4-STABLE on an IBM e-series 330 server. I have recently started playing with DNS and have been largely successful. However, nslint reports the following errors: nslint: missing a: localhost. - 127.0.0.1 nslint: missing a: localhost.org. - 0.0.0.1 If I add the line: localhost. IN A 127.0.0.1 to my zone file, the first nslint error message goes away, but I then see the following message in my /var/log/messages file upon named startup: Jan 30 18:58:55 gilmer named[15485]: master/gilmer.org:16: ignoring out-of-zone data (localhost) In this case, I think named is right and nslint is doing something funny. So which is correct? Should I insert the A record in the zone file and ignore the nslint message, or should I leave it out and ignore the named message? Is there something else improperly configured on my system? I don't know why nslint expects to be able to resolve localhost. from a zone file that contains records for gilmer.org.. This is a bit silly, if you ask me. What about the second nslint message above? Why am I getting a complaint about 0.0.0.1? This is probably because of some problem with your `named.conf' file. My /etc/namedb/master/gilmer.org file looks like this: $TTL3600 gilmer.org. IN SOA ns1.gilmer.org. admin.gilmer.org. ( 20060126; Serial 3600; Refresh 900 ; Retry 360 ; Expire 3600 ) ; Minimum ;DNS Servers @ IN NS @ Not a good idea. To resolve a name in the 'gilmer.org.' domain, a remote name server has to contact the nameserver at 'gilmer.org.', but to resolve 'gilmer.org.' is first has to resolve 'gilmer.org.', which forms a nice and tight but annoying loop. I think it would be a better idea to just use the *real* IP address of the NS here. ; Machine Names localhost. IN A127.0.0.1 The localhost. entry is not good here; it should go. ns1 IN A69.46.128.60 @ IN A69.46.128.60 ;Aliases mailIN CNAME@ www IN CNAME@ ; MX Record @ IN MX 10@ The rest looks ok to me. ; From: @(#)localhost.rev 5.1 (Berkeley) 6/30/90 ; $FreeBSD: src/etc/namedb/PROTO.localhost.rev,v 1.6 2000/01/10 15:31:40 peter Exp $ ; ; This file is automatically edited by the `make-localhost' script in ; the /etc/namedb directory. ; $TTL3600 @ IN SOA ns1.gilmer.org. admin.gilmer.org. ( 20060126; Serial 3600; Refresh 900 ; Retry 360 ; Expire 3600 ) ; Minimum IN NS ns1.gilmer.org. 1 IN PTR localhost. Hmmm, why is a final dot required in this? This is probably because nslint reports that it cannot find information for localhost., as opposed to, say, localhost.gilmer.org. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Mpd-users] routing issue of mpd
On 1/31/06, gahn [EMAIL PROTECTED] wrote: Hi: I got mpd working and logined into pptp server through internet. From my pc, I can ping internal interface of the pptp server, 192.168.128.1 (my pc address is 192.168.128.10). the problem is that I can't ping anything beyond that, such as 192.168.128.2 (it actually is an interface of a router, on the same subnet). From cmd of windows, with command ipconfig: Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : IP Address. . . . . . . . . . . . : 254.254.254.100 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 254.254.254.1 PPP adapter test: Connection-specific DNS Suffix . : IP Address. . . . . . . . . . . . : 192.168.128.10 Subnet Mask . . . . . . . . . . . : 255.255.255.255 Default Gateway . . . . . . . . . : So how could I change the length of the masking of the ppp adapter? once I can change the length of the masking bits, then I can route my traffic into the rfc1918 networks that behind of the vpn server. the manual page of: http://www.bretterklieber.com/mpd/doc3/mpd22.html don't seem to be matter though. here is the mpd.conf: default: load pptp0 pptp0: new -i ng0 pptp0 pptp0 set ipcp ranges 192.168.128.1/21 192.168.128.10/21 load common common: set iface disable on-demand set iface enable proxy-arp set iface idle 1800 set iface enable tcpmssfix set bundle disable multilink set bundle enable compression set bundle yes crypt-reqd set link no pap chap set link enable chap-msv2 set link keep-alive 10 60 set link enable acfcomp protocomp set ipcp yes vjcomp set ipcp dns 192.168.64.96 set ccp yes mppc set ccp yes mpp-e128 BTW, mpd4 seems to be not very stable; I switched back to 3.18 and it works fine. TIA __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Mpd-users mailing list Mpd-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mpd-users It would be strange if a ppp connection had a different subnet mask. You really should get into some reading on basic TCP/IP. What you need is to setup a route, something like this: route add 192.168.128/21 192.168.128.1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: A strategic question (continued)
On 2006-01-31 03:41, Jozef Baum [EMAIL PROTECTED] wrote: Many thanks to everyone who answered my previous e-mail about this subject on this list or by private e-mail. As some of you suggested, I have installed PC-BSD (http://www.pcbsd.com/). I am sure a Unix guru would not like to install FreeBSD in this way, as it doesn't offer many choices. But it is just wonderful for a Unix newbie like me. At the end of the installation, the GUI, the cable Internet connection, and even the sound system worked fine. Some configuration still needs to be done (printing and German keyboard). But now at least I have a system I can use right away to do some usefull work with, and to further explore. I will try to configure the printing myself before perhaps eventually asking some specific questions about it here. I found an interesting explanation about the configuration of the German keyboard, so if some other German speaking newbie asks about it: http://user.cs.tu-berlin.de/~eserte/FreeBSD/doc/umlaute/umlaute.html Giorgos Keramidas asked me: Can you explain *how* you configured your X11 desktop? Like explained in the handbook. First I created an xorg.conf.new configuration skeleton file with # Xorg -configure Then I tested this configuration with # Xorg -config xorg.conf.new The result was a Mode not supported message on the display screen until I found out the HorizSync and VertRefresh values to write in the Section Monitor which were supported, and which were much narrower than the hardware manufacturers specifications. That's probably a bug in the configuration file generated by Xorg and, quite possibly, a bug in the Handbook section. Most modern monitors and video adapters work without any HorizSync or VertRefresh line in `xorg.conf'. This forces the X11 servers to query the hardware for the supported refresh ranges, and I've found that it tends to be much easier to get things right this way :) The display adapter is an nVidia GeForce4 MX with integrated GPU (which uses 64 MB of the system's 512 MB physical working memory). The LCD monitor is a Proview 780. I'm using an ATI on the laptop used to type this message. The file /var/log/Xorg.0.log lists it as: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] The `xorg.conf' file has commented out entries for HorizSync and VertRefresh, but this doesn't keep things from working. Section Monitor Identifier Monitor0 # Uncomment if you don't want to default to DDC: #HorizSync31.5 - 79.0 #VertRefresh 50.0 - 70.0 EndSection You may find it easier to comment out these lines from xorg.conf, start X11 and then tune the best refresh ranges later, after you get things working fine :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Attention: Giorgos Keramidas (Was: CVS Import Permissions)
On 2006-01-31 14:00, david bryce [EMAIL PROTECTED] wrote: On 2006-01-30 15:52, david bryce davidbryce at fastmail.fm wrote: Hi All, I am having some confusion regarding the way CVS works with permissions under unix when importing a new project. Currently, when I import a project, I get this sort of permissions on the project directory: drwxr-x--- 2 jim cvs 512 Jan 27 12:31 test_proj Notice that the group (cvs) is not granted write access. Is this the way it's supposed to work? That depends on what your `umask' currently is. Do I have to use chmod to grant write access to the group every time I do an import? No. The correct way to fix this is to set CVSUMASK in your shell environment, and then import the files :) Giorgos, Thanks very much for replying! I wasn't aware of this environment variable (even though I spent quite a while on this problem). Using CVSUMASK certainly works when working on the server machine! However, I'm not sure what to do in client/server situations. The CVS manual states: Note that using the client/server CVS (see section Remote repositories), there is no good way to set CVSUMASK; the setting on the client machine has no effect. We are currently using a pserver installation, with developers using windows machines. We need a way to achieve the same effect with a user on a windows machine doing an import. Do you have any idea how this can be done? Thank you! I'm not sure. I know that the setting of CVSUMASK on the server machine works if you use SSH tunneling though. If it's not too much trouble, you can set up SSH-based authentication instead of :pserver: and make sure the .bashrc or .cshrc of the developers on the server machine sets CVSUMASK correctly. SSH-tunneled CVS is what the FreeBSD project uses in the official CVS repository, so I guess this setup works as expected :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I'm stubborn or stupid (and that's not xor) (Was: CVS Import Permissions)
On 2006-01-31 00:44, Duane [EMAIL PROTECTED] wrote: Hi everyone, On the CVS server machine should our CVS repository directory belong to the cvs group, i.e. user==root, group==cvs? It's usually a good idea. And as for the umask, as it appears to be 027, if we give the cvs group write permission on /usr/local/cvsrep then when we import our projects they will be writeable by members of group cvs and the owner of the project, in this case jim. No. This is not how `umask' works. Whatever value `umask' currently has is logically-AND-ed with 0666. This means that by using 027, the result is: $ python print %04o % (066 027) 0026 These are the bits that will be turned *off* for new files (see the umask(2) manpage for details), so to find out which permission bits are allowed, you have to use the reverse mask: print %04o % (0777 ~(066 027)) 0751 The 0751 allowed-bits mask is equivalent to: rwxr-x--x This means that with a umask of 027, you are effectivelly allowing only the bits in ``rwxr-x--x'' to be turned on by default for new files, and this doesn't include write permission for the group. I know that the whole `umask' concept is a bit tricky to grasp, since it depends on knowledge of numbering with an octal-base *AND* it works in the reverse order of that people usually think it does, but hopefully, with the help of our excellent manpages and a bit of experimentation, it will become more obvious :) I apologize if I am being all the things suggested in my subject heading. Nah! Never apologize for a question. There is no such thing as a stupid question for this list (well, unless the question refers to Windows, of course :P). - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dell CERC (aac driver) issue after upgrade to 6-STABLE
I just purchased a Dell PowerEdge 1800 to replace my mail server. It has two 3.2 Xeon processors, 2G of ECC memory, and a Dell CERC SATA RAID controller with two 160G Maxtor drives in a RAID 1 mirror. The Dell CERC appears to be an Adaptec RAID controller, and it is detected by the aac driver. I donwloaded the ISO for FreeBSD 6.0 i386 and installed it tonight. So far, so good. I rebuilt the RELEASE kernel with SMP options. So far, so good. I synced to 6-STABLE, made world, recompiled the SMP kernel. Now when I reboot I get to the detection of the RAID controller and my screen is scrolling with the following errors: aac0: COMMAND 0xc6588000 TIMEOUT AFTER 559 SECONDS aac0: COMMAND 0xc6588000 TIMEOUT AFTER 579 SECONDS aac0: COMMAND 0xc6588000 TIMEOUT AFTER 599 SECONDS Has anyone else encountered this problem? What do I need to do to fix it? -Chris ps. Manually loading kernel.old at boot works, so I assume it is some bit of new driver foo. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Software RAID 5
Hello there, I have a Dell Power Edge 2400 system with 4 X 18 GB SCSI Drives. I would like to use a software Raid 5 using FreeBSD 5.4. Any suggestions on how to go about doing it? I have read so many articles, it makes my head hurt. There are many options, for mirroring, but some are better than others, and some are out of date. Could someone please tell me what is best for FreeBSD 5.4, and if you have it, a How-to would be nice :-). Thanks in Advance Michael. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How many IP address aliases can practically be used on one physical Ethernet interface?
Hi, I am implementing and using a test bed simulating a huge amount of IP clients, each preferable having a unique IP address. There is no, no way to have an individual physical interface for each simulated client so I use IP aliases. Currently it runs on Linux and there is a limit of 256 IP addresses per interface, among other things due to a hard array limit in Linux net-tools ifconfig. There also seems to be other limitations like linear searches in net-tools as well as in kernel networking code. Just changing the array limit changed the problem to being one of stability and performance. So I became quite optimistic reading about Virtual Hosts and IP aliases in the FreeBSD handbook chapter 11.9: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-vi rtual-hosts.html A given network interface has one real address, and may have any number of alias addresses. So is this really true and where is the catch? Will a FreeBSD 6.0 accept for example 8190 IP address aliases each on say five physical Ethernet interfaces? Will IP addresses be manageable to add, list and delete? And how much will networking performance degrade compared to using just a few aliases? I can add that there is no forwarding or routing through a simulator box except IP traffic to and from the client simulation running inside. I am maybe willing to change to BSD if there is a chance of success, most Guru UNIX sysadmins running real production say mostly good things about the BSDs. I just need some encouragement... ;-) Best Regards Flyer ___ Try the New Netscape Mail Today! Virtually Spam-Free | More Storage | Import Your Contact List http://mail.netscape.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I'm stubborn or stupid (and that's not xor) (Was: CVS Import Permissions)
Giorgos Keramidas wrote: On 2006-01-31 00:44, Duane [EMAIL PROTECTED] wrote: Hi everyone, On the CVS server machine should our CVS repository directory belong to the cvs group, i.e. user==root, group==cvs? It's usually a good idea. And as for the umask, as it appears to be 027, if we give the cvs group write permission on /usr/local/cvsrep then when we import our projects they will be writeable by members of group cvs and the owner of the project, in this case jim. No. This is not how `umask' works. Whatever value `umask' currently has is logically-AND-ed with 0666. This means that by using 027, the result is: $ python print %04o % (066 027) 0026 These are the bits that will be turned *off* for new files (see the umask(2) manpage for details), so to find out which permission bits are allowed, you have to use the reverse mask: print %04o % (0777 ~(066 027)) 0751 The 0751 allowed-bits mask is equivalent to: rwxr-x--x This means that with a umask of 027, you are effectivelly allowing only the bits in ``rwxr-x--x'' to be turned on by default for new files, and this doesn't include write permission for the group. I know that the whole `umask' concept is a bit tricky to grasp, since it depends on knowledge of numbering with an octal-base *AND* it works in the reverse order of that people usually think it does, but hopefully, with the help of our excellent manpages and a bit of experimentation, it will become more obvious :) I apologize if I am being all the things suggested in my subject heading. Nah! Never apologize for a question. There is no such thing as a stupid question for this list (well, unless the question refers to Windows, of course :P). - Giorgos __ Thanks Giorgos. That's an excellent explanation on computing the allowed bits. One of my mistakes was logically-AND-ing with 0777. Sincerely --Duane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
email cluster ?
Hello I'm thinking to setup a FreeBSD based load balancing cluster email hub. Actually it is a all in one machine that runs SMTP,IMAP,IMAPS,POP3,POP3S,antivirus,antispam,Webmail. I would like to split load on several machines but have no experience of that kind of architecture. Infos, links, very welcome. Thanks -- Cordialement Frank Bonnet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RELENG_6 on HP ProLiant ML 350 G4p
Hi all, I'm planning on getting a HP ProLiant ML350 G4p server (p for the iLO). Apparently this machine has a Smart Array 641 controller for the SCSI HDDs. I'd like to set up a RAID1 volume for the OS and a RAID 5 volume for the data. I assume the RAID volumes can be set up via the RAID controller interface during the POST, I think it's called RBSU or something like that. I want to slice the RAID 1 volume for the OS with /, swap, /var, /tmp, /home and the RAID 5 volume with a /data slice. No gvinum or soft-RAID. I want to keep it as KISS as possible. Does FreeBSD recognize the two volumes as two disks and behave accordingly? Has anyone on this list successfully deployed a system in such a way? Or do you have any suggestion to improve on this idea of setup? Kind regards, Lars. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: email cluster ?
Frank Bonnet [EMAIL PROTECTED] wrote: Hello I'm thinking to setup a FreeBSD based load balancing cluster email hub. Actually it is a all in one machine that runs SMTP,IMAP,IMAPS,POP3,POP3S,antivirus,antispam,Webmail. I would like to split load on several machines but have no experience of that kind of architecture. Infos, links, very welcome. Thanks -- Cordialement Frank Bonnet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] How about this: http://www.samag.com/documents/s=8920/sam0311b/0311b.htm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems with SSL after upgrade from 4.7 to 4-Stable
Greetings Everyone, Have a problem that has been nagging me for about two weeks, recently I had to upgrade one of my mail servers from 4.7 to 4-STABLE. All associated ports on the box were all upgraded also, before the change and also after, all were recompiled to make sure that they would not have any problems. Well, ended up with one problem where openssl from ports keeps core dumping on anything that depends on it. But I can do /usr/local/bin/openssl and it seems to run fine. And so does the base openssl also. Right now it's been perplexing me, I can't even load webmin with SSL support with perl dumping core. Or if I compile apache with ssl or even if i do and just force it to run without it work fine, but as soon as I start it with ssl it core dumps also. I have been going though all the librarys in the base system and have many time removed and reinstalled the ports openssl, after with I rebuilt all associated ports and the problem still persists. I have lots of .core files i have even tried to do back traces on and it doesn't seem to make any sense. Of all the years I have been using FreeBSD this is the first time that I have had a problem like this with openssl core dumping all the time. And help or suggestions would be aprechiated. Thanks in advance, -- Chris Demers [EMAIL PROTECTED] www.govital.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: WLAN not detected on Acer TM 292ECLi
[EMAIL PROTECTED] wrote: anyone having WLAN working on an Acer Travelmate 290E? It doesn't seem to be detected at all on my laptop, which is a model 292ECli. As a Centrino laptop, it should have a Intel PRO Wireless 2200BG built in. You could check it with pciconf -lv. I installed iwi-firmware from ports, built a custom kernel (world and kernel from -STABLE today) and checked that I have options pci and options wlan in it, just as man iwi says. I tried to load iwi as module with kldload, at boot time by setting if_iwi_load=YES to loader.conf, and also tried to build it statically into the kernel. At no time, I get iwi mentioned in dmesg. kldstat says it is loaded when I load it dynamically. I don't think you read and followed the port's instructions: |You must choose the correct mode depending on how you want to |use your adapter. | |For instance, to download firmware for BSS mode: | | # iwicontrol -i iwi0 -d /boot/firmware -m bss | |The port has installed a startup script (iwi.sh). Add these lines |to /etc/rc.conf to use it : | | - iwi_enable (bool) : defaults to NO, set it to YES to |use the startup script. | - iwi_interfaces (str) : defaults to iwi0, override it to |change to interface names list (optional). | - iwi_mode_iface (str) : defaults to bss, possible values |are bss, ibss and sniffer (optional). Fabian -- http://www.fabiankeil.de/ signature.asc Description: PGP signature
Re: GENERIC freebsd 5.4
On 1/30/06, serge [EMAIL PROTECTED] wrote: Hi. I have compiled a kernel but it is not loaded. In a manual it is written that after installation is formed two catalogues /boot/kernel and /boot/kernel.old. But it has not taken place. My actions: # cd /usr/src/sys/i386/conf # mkdir /root/kernels/MYKERNEL # cp GENERIC /root/kernels/MYKERNEL # ln -s /root/kernels/MYKERNEL # cd /usr/src # make buildkernel KERNCONF=MYKERNEL # make installkernel KERNCONF=MYKERNEL *** Error code 2 Do it the old way: # cd /usr/src/sys/i386/conf # config MYKERNEL # cd ../compile/MYKERNEL # make cleandepend # make depend # make # make install # reboot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Source upgrade in FreeBSD 5.4
On 1/30/06, Jose Borquez [EMAIL PROTECTED] wrote: When performing an upgrade after doing a minimal install of FreeBSD 5.4, I would like to upgrade the source using the stable-supfile. In the supfile I have the option to do a src-all update or to specify from the following: What are the minimum options that I need to select in order to do an upgrade of only userland and kernel sources? Also when performing a make installworld can you specify any options for installworld using any switches? #src-base #src-bin #src-contrib #src-etc #src-games #src-gnu #src-include #src-kerberos5 #src-kerberosIV #src-lib #src-libexec #src-release #src-sbin #src-share #src-sys #src-tools #src-usrbin #src-usrsbin # These are the individual collections that make up FreeBSD's crypto # collection. They are no longer export-restricted and are a part of # src-all #src-crypto #src-eBones #src-secure #src-sys-crypto You probably need everything, is disk space an issue? more info would be nice. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CPU Frequency on FreeBSD 5.4 and MSVS 2005 R2
On 1/30/06, Tamouh H. [EMAIL PROTECTED] wrote: Hi, I've been able to run couple of successful tests installing FreeBSD 4.x and 5.x on Microsoft Virtual Server 2005 , however, I've noticed for some reason FreeBSD is not detecting the actual CPU speed: --- FreeBSD 5.4-STABLE #0: Mon Jan 30 22:32:31 EST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/INTERNDC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel Pentium III Xeon (593.19-MHz 686-class CPU) Origin = GenuineIntel Id = 0x6a4 Stepping = 4 Features=0x380a97bFPU,VME,PSE,TSC,MSR,PAE,CX8,SEP,PGE,CMOV,MMX,FXSR,SSE real memory = 824115200 (785 MB) avail memory = 796700672 (759 MB) npx0: math processor on motherboard npx0: INT 16 interface acpi0: A M I OEMRSDT on motherboard acpi0: Power Button (fixed) Timecounter ACPI-safe frequency 3579545 Hz quality 1000 The frequency should be 900MHz. The BIOS does not state CPU frequency, nor the boot sequence. In fact, if I reboot the FreeBSD virtual machine, the frequency would be different (sometimes 460MHz , others 550MHz...etc). I think this is causing a considerable degradation in the FreeBSD speed. Any suggestions in this regard ? MSFT doesn't officially support FreeBSD, but I'm aware they support Linux on their virtual server. It's typical for the cpu speed to very inside a virtual machine, VMware does this all the time, typically it's 0 ~ 100MHz off, but yours is way off... I did know the answer to this question but don't remember, sorry. try a google search for VMware and cpu speed or frequency. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: WLAN not detected on Acer TM 292ECLi
You could check it with pciconf -lv. Thanks I'll check it. I don't think you read and followed the port's instructions: |You must choose the correct mode depending on how you want to |use your adapter. | |For instance, to download firmware for BSS mode: | | # iwicontrol -i iwi0 -d /boot/firmware -m bss [snip] Fabian I did follow the instructions, but the problem is that the adapter is not detected at all, which means I can't use iwicontrol and that other stuff, because I don't have a iwi0 device. I did a verbose boot but did not find anything peculiar in that boot message either. When loading the if_iwi module, I get output that confirm it's loading ok. But I don't know how to read all the verbose output that well - I try to get it online so maybe someone can help me? --Ville ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS nslint error messages
Brad Gilmer wrote: I am running freebsd 5.4-STABLE on an IBM e-series 330 server. I have recently started playing with DNS and have been largely successful. However, nslint reports the following errors: nslint: missing a: localhost. - 127.0.0.1 nslint: missing a: localhost.org. - 0.0.0.1 The first message means you're missing a localhost forward domain. Normally this won't matter, because you have a localhost entry in /etc/hosts, but you could add a localhost domain to named.conf which contains: ; ; BIND data file for local loopback interface ; $TTL 604800 @ IN SOA localhost. root.localhost. ( 1 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Default TTL @ NS localhost. @ A 127.0.0.1 The second one recommends adding a line like: localhost IN A 127.0.0.1 ... to your gilmer.org zone, using no . at the end, to create a localhost.EXAMPLE.COM entry. If I add the line: localhost. IN A 127.0.0.1 to my zone file, the first nslint error message goes away, but I then see the following message in my /var/log/messages file upon named startup: Jan 30 18:58:55 gilmer named[15485]: master/gilmer.org:16: ignoring out-of-zone data (localhost) So which is correct? named is correctly ignoring a forward A record which is out of zone. Should I insert the A record in the zone file and ignore the nslint message, or should I leave it out and ignore the named message? Is there something else improperly configured on my system? What about the second nslint message above? Why am I getting a complaint about 0.0.0.1? My /etc/namedb/master/gilmer.org file looks like this: $TTL3600 gilmer.org. IN SOA ns1.gilmer.org. admin.gilmer.org. ( 20060126; Serial 3600; Refresh 900 ; Retry 360 ; Expire 3600 ) ; Minimum ;DNS Servers @ IN NS @ This should be: @ IN NS ns1.gilmer.org. ...and you ought to list at least one other NS record which points to a different nameserver. Note also that you only need to provide the IN column in the SOA record, it will default from there. So this: @ NS ns2.gilmer.org. ...should be OK, 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: WLAN not detected on Acer TM 292ECLi
El día Tuesday, January 31, 2006 a las 03:27:29PM +0200, [EMAIL PROTECTED] escribió: You could check it with pciconf -lv. Thanks I'll check it. I don't think you read and followed the port's instructions: |You must choose the correct mode depending on how you want to |use your adapter. | |For instance, to download firmware for BSS mode: | | # iwicontrol -i iwi0 -d /boot/firmware -m bss [snip] Fabian I did follow the instructions, but the problem is that the adapter is not detected at all, which means I can't use iwicontrol and that other stuff, because I don't have a iwi0 device. Did you load the kernel module: # kldload if_iwi and don't forget wlan_wep.ko if you want to use WEP matthias -- Matthias Apitz / Sisis Informationssysteme GmbH ein Tochterunternehmen der OCLC PICA B.V. Leiden (NL) D-82041 Oberhaching, Gruenwalder Weg 28g Fon: +49 89 / 61308-351, Fax: -399, Mobile +49 170 4527211 http://www.sisis.de/~guru/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How many IP address aliases can practically be used on one physical Ethernet interface?
[EMAIL PROTECTED] wrote: I am implementing and using a test bed simulating a huge amount of IP clients, each preferable having a unique IP address. There is no, no way to have an individual physical interface for each simulated client so I use IP aliases. Use BPF or libnet to generate test traffic using spoofed IPs, rather than actually configuring a machine with thousands of IPs. There are also companies which make hardware IP traffic generators, if you want to buy a solution rather than building one. For most purposes, generating 1000 connection requests from one host using 1 IP is pretty close to generating 1000 connection requests from one host using 1000 IPs. So I became quite optimistic reading about Virtual Hosts and IP aliases in the FreeBSD handbook chapter 11.9: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-vi rtual-hosts.html A given network interface has one real address, and may have any number of alias addresses. So is this really true and where is the catch? Will a FreeBSD 6.0 accept for example 8190 IP address aliases each on say five physical Ethernet interfaces? Will IP addresses be manageable to add, list and delete? And how much will networking performance degrade compared to using just a few aliases? I have heard of people using hundreds of aliases OK, even though I am dubious about the merits of doing so. I don't know whether FreeBSD can deal with ~41000 configured IP addresses on a system at all, but I doubt that a normal person would consider such a setup manageable. Consider using IPFW divert sockets instead. You should also look into dummynet. I can add that there is no forwarding or routing through a simulator box except IP traffic to and from the client simulation running inside. What about ARP traffic? In most cases, machines with hundreds or thousands of clients are dealing with them remotely, not locally, so all of the traffic just goes between the host and it's upstream Internet-facing router, involving minimal layer-2 resolution. Your setup with tens of thousands of local IPs is going to involve massive ARP traffic which does not happen with most internet server scenarios. You're likely to encounter other issues: most network switches have a limited capacity for their ARP tables, and are restricted to 1024 or perhaps 4096 entries. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question about synchronizing source tree with cvsup
Jose Borquez wrote: I would like to synchronize a server which I did a minimal install. I would like to customize the stable-supfile so as not to download unneeded files. I would like to know what options I need to include from the following to do a source sync of only the essential files: If you want to rebuild the world, basicly, you shouldn't exclude *anything*. Oh, it's possible that excluding games and setting NO_GAMES in /etc/make.conf would work, but mostly attempting to do so just results in missing dependencies for the base system. If you're targetting very small form-factor machines, say a 128MB compact flash card, you might want to look into NetBSD instead of FreeBSD. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: excluding a particular filename from rsyncing ... help
Ensel Sharon [EMAIL PROTECTED] writes: Every night I rsync a directory tree from one system to another. Easy. However there is a particular set of files that could exist anywhere in that directory at any depth, and it is unknown how many there are at any given time. I want to make sure that rsync skips over those files regardless of where they ae, how deep they are, or how many there are. How can I do this on the command line, with rsync ? See the Filter Rules section of the rsync manual. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Upgrading apache form 2.0.x to 2.2.x
Hello, I've upgradde today, but SSL doesn't work with the old settings. I suspect something's wrong with my self-signed certificates. If I set SSLEngine On globally, I get this: [Tue Jan 31 14:11:09 2006] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA certificate (BasicConstraints: CA == TRUE !?) And httpd stops. If I set it only in a VirtualHost section, the server is working, but I get this if I try to see that secured virtualhost: [Tue Jan 31 14:13:59 2006] [error] [client 1.2.3.4] Invalid method in request \x80U\x01\x03 Could somebody help me fixing this? Googling didn't help too much. Thanks in advance, Gabor Kovesdan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How many IP address aliases can practically be used on one physical Ethernet interface?
Chuck Swiger wrote: Use BPF or libnet to generate test traffic using spoofed IPs, rather than actually configuring a machine with thousands of IPs. There are also companies which make hardware IP traffic generators, if you want to buy a solution rather than building one. Have done a quick search on these and found the docs for libnet, can't seem to find much on BPF. I could really do with a solution for testing a server under heavy load, I'm aware of the mod for Apache (flood I think) but I don't have the option of using that right now. Would one of the above allow me to simulate multiple - hundreds or thousands - clients accessing a server? The main reason is that I've recompiled apache to up the hard limit of MaxClients, the machine has 2Gb or RAM so should be able to handle plenty of connections but I'd like to see at what point it would fall over. -- Cheers, Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Mpd-users] option mpp-compress
Y-rack oout 4os! 2006/1/31, gahn [EMAIL PROTECTED]: What is the command set ccp yes mpp-compress for? I noticed that it affects the configuration of the client (encryption). with that command in mpd.conf, the client must use Optional encryption. Without that command, the client could use settings like Maximum strength encryption. But in the manual: http://www.bretterklieber.com/mpd/doc3/mpd24.html#24 it seems to be saying that this command must be a part of configuration. Or should it? This option should just enable MPPC (Microsoft-Point-to-Point-Compression). And also we can see on the same page: The options available at the CCP layer are listed below. Note that the STAC and MPPC options require proprietary files that are not included with the normal mpd distribution. This is said generally about mpp-compress. Try to examine your log files - if you did nothing to compile MPPC in mpd should point it out. Other commands in there describe MPPE (Microsoft-Point-to-Point-Encryption). The good way of enabling encryption for your bundle is: set ccp yes mppc mpp-e40 mpp-e56 mpp-e128 mpp-stateless -- [WBR], Arcade. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How many IP address aliases can practically be used on one physical Ethernet interface?
--- Chuck Swiger [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: I am implementing and using a test bed simulating a huge amount of IP clients, each preferable having a unique IP address. There is no, no way to have an individual physical interface for each simulated client so I use IP aliases. Use BPF or libnet to generate test traffic using spoofed IPs, rather than actually configuring a machine with thousands of IPs. There are also companies which make hardware IP traffic generators, if you want to buy a solution rather than building one. For most purposes, generating 1000 connection requests from one host using 1 IP is pretty close to generating 1000 connection requests from one host using 1000 IPs. Depends what you're testing of course. Use raw sockets and then you can simulate whatever IPs you without regard to the address of the interface. DT __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Weird behaviour 'umount' on NFS disk
Hey, Usually I work at my laptop, if I'm at home I can mount some directories from my server so I can also access those files and I don't have to ftp them. For the mounting I use this script : [EMAIL PROTECTED] cat /usr/local/bin/nfsmount #!/bin/sh srv=192.168.2.1 if [ $1 = -wlan ]; then srv=192.168.5.1 fi echo Mounting home/net/var-/mnt/var , home-/mnt/server and home/net/server-/mnt/series from $srv mount $srv:/home/net/var/ /mnt/var/ mount $srv:/home/ /mnt/server/ mount $srv:/home/net/series/ /mnt/series/ [EMAIL PROTECTED] The IP adres of my server is 192.168.2.1 when using LAN and it is accessable at 192.168.5.1 using WLAN. It is set up allowing mounts from my laptop using LAN as well as WLAN. This works perfectly. For unmounting the three NFS-mounts I use an other script which is just three times an 'umount' : #!/bin/sh umount /mnt/server umount /mnt/series umount /mnt/var df -m echo /mnt/server , /mnt/series and /mnt/var unmounted [EMAIL PROTECTED] Up until a week ago this worked fine. I could mount and unmount the directories without any problems. But then a weird error occured. When I tried unmounting them. The umount command hangs when trying to unmount a disk but when I cancel the umount ( with Ctrl + c ) df shows that the disk is unmounted. It just won't give me a prompt again. The same thing happens when I try to unmount them manually. I can unmount a disk, but it just stops. To clear things up: [EMAIL PROTECTED] df Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/ad0s1a4058062 3450302 28311692%/ devfs1 10 100%/dev /dev/ad0s1d 33524236 23047782 779451675%/home 192.168.2.1:/home/net/var 75685352 57816262 1181426283%/mnt/var 192.168.2.1:/home 52195402 29726280 1829349062% /mnt/server 192.168.2.1:/home/net/series 151368706 128022780 1123643092% /mnt/series [EMAIL PROTECTED] umount /mnt/server/ ^C [EMAIL PROTECTED] df Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/ad0s1a4058062 3450302 28311692%/ devfs1 10 100%/dev /dev/ad0s1d 33524236 23047782 779451675%/home 192.168.2.1:/home/net/var 75685352 57816262 1181426283%/mnt/var 192.168.2.1:/home/net/series 151368706 128022780 1123643092% /mnt/series [EMAIL PROTECTED] This is quite annoying since I can't use my script to unmount the disks anymore. I didnt' change anything to my mounts ( /etc/fstab ) and unmounting a DVD doesn't give any problems. The only thing I can see has changed is that at boot the system hangs at: Mounting NFS file systems: NFS access cache time=2 and I have to ctrl + c it to continue booting, this only happend before when I hadn't any network connection. But mounting the nfs-disks using my script did work. Anyone an Idea what I can do to fix this ? Running FreeBSD 7.0-Current by the way. Thanks in advance -- -Frank Staals ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How many IP address aliases can practically be used on one physical Ethernet interface?
[EMAIL PROTECTED] wrote: I am implementing and using a test bed simulating a huge amount of IP clients, each preferable having a unique IP address. There is no, no way to have an individual physical interface for each simulated client so I use IP aliases. Currently it runs on Linux and there is a limit of 256 IP addresses per interface, among other things due to a hard array limit in Linux net-tools ifconfig. There also seems to be other limitations like linear searches in net-tools as well as in kernel networking code. Just changing the array limit changed the problem to being one of stability and performance. So I became quite optimistic reading about Virtual Hosts and IP aliases in the FreeBSD handbook chapter 11.9: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-vi rtual-hosts.html A given network interface has one real address, and may have any number of alias addresses. So is this really true and where is the catch? Will a FreeBSD 6.0 accept for example 8190 IP address aliases each on say five physical Ethernet interfaces? Will IP addresses be manageable to add, list and delete? And how much will networking performance degrade compared to using just a few aliases? After a short test I don't think 8190 aliases will be a problem. [EMAIL PROTECTED] ~ #ifconfig re0| grep inet | wc -l 18008 [EMAIL PROTECTED] ~ #ifconfig re0 -alias 192.168.10.100 [EMAIL PROTECTED] ~ #ifconfig re0| grep inet | wc -l 18007 [EMAIL PROTECTED] ~ #ifconfig re0 alias 192.168.10.100 [EMAIL PROTECTED] ~ #ifconfig re0| grep inet | wc -l 18008 I don't know if there is a performance degradation on better hardware, but for my re0 the ftp performance seems to be the same as with only one IP. The only catch I can see is that it takes a while to create a few thousand aliases ;-) On my AMD Athlon(tm) XP 1900+ (1578.59-MHz 686-class CPU) I get about five aliases per second. Fabian -- http://www.fabiankeil.de/ signature.asc Description: PGP signature
Standard way of updating 6.x ?
Is there a suggested method for updating a newly installed FreeBSD 6.0system? I have found several websites with similar but differing methods, often somehow specific to the author's configuration. What I usually do first is install from a CD and get a bare-bones system bootable. What I would like to do after that is update the kernel, system programs, user programs, and packages. I usually end up using cvsup, portsnap, and portupgrade with varying levels of success. What I would really like is a fool-proof method that works everytime, if there is such a thing. For example, rebuilding things at the lowest layer first, and working my way up. I was following a websites tutorial yesterday, and was confronted with a stale imagemagic dependency, where I chose to force an override. I didn't know if I was doing some wrong or not, and it seemed to work, but I would rather not have to force anything, if possible. Previously I had posted the steps I was using, and several people made annotations which I was able to integrate, but I was mostly curious if there wasn't some standard way. I am trying to use portsnap, since it seems much faster than cvsup, but the handbook doesn't seem to have portsnap integrated in to the rebuild steps yet (it is in the appendix I think). There seems to be updates steps for 4.x and 5.x, but not yet 6.x, or maybe I just have found them yet. There seems to be a lot of ways to update your system right now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
converting pdfs with xpdf
Hello, I'm running freebsd6 and xpdf 3.01_2. I've got pdfs that i want to convert to ps and text documents in four different areas in my home directory. I could convert them such as: pdfto format file1.pdf file2.ps etc. but i was wondering if there was a faster way? My second issue is some of these files are pdf 1.6 and as i've already tried xpdf won't convert these docs, does anyone have xpdf working with pdf 1.6 files? Second, after i convert all these docs there are three patterns i'd like to remove from them, all having spaces and signs in them. Again, i could do this manually, but i was wondering one if there was a faster way and two if i could do this on the tail end of the conversion process so i would only have to issue one command and come back probably a while later, these files are big, and it's all done? Thanks. Dave. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Accepting Bids on Web application programming Development contract
To all interested parities; I am accepting bids on a Web application programming Development project. Bids are open to any developer any where in the world. Bid closing date is February 8 2006. Work is to be done at your location and using your equipment. Please provide your quote in USA dollars and include elapse time table targets in weeks. The attached txt file contains the specs in case your email reader has made the following hard to read because of line wrap around. Real Estate Multipliable Listing Service Web application. General Specs. Run using FreeBSD 6.0 / apache 1.3.33_2 / php 5.1.2 / mysql 5.0.18 The membership info and the real estate info will be separate databases in MySql. Estimated the sizes at 5000 members and 25000 real estate properties. All web pages will use same template so user sees same page header and trailer and background color. Header contains name of Business with line of clickable menu options. Footer will contain copyright statement icons for powered by FreeBSD, apache, php. All php code will be commented in English. There can never be to many comments, the more the better. All php code will be written in a expanded manner for easy of reading. Each php function and (if statement will have comments describing what it does) All php variables will be descriptive words of content or use in English All html post forms data fields will use English words. Source code will be reviewed by customer for compliance to above general standards. Project will be divided in to phases by application functions and customer acceptance testing before payment. Completed source code will be sent to customer as pkzip or tar file attached to email. Yahoo chat will be used for live project meeting to discuss problems or changes to project specs. Directory path location to mysql databases will be global variable which is part of include. Directory path to .php files is php global variable (DOCUMENT_ROOT) which is part of include. Get the user ip address from the php global variable (REMOTE_ADDR) which is part of include. Access to real estate record in mysql database must be set up is such a way that a URL can be created to display the info. Customer needs URL for inclusion in newspaper media advertising so interest persons can enter that URL in their browser and retrieve the information. Home page named index.php Have visitor counter which shows count just about footer. Content will be provided later. Will have links to these functions Register customer function. (seller, or agent, or broker) Register buyer for online auction bidding Register email notify robot agent. (user enters city or zip code and when any real estate gets lists in their interest area a html email with pictures Register for opt/in emailing for sales info from advertisers offering mortgages, pre-quailing buyers, real estate lawyers/brokers/agents/appraisers Ect. Registered user login to edit their content (called maintenance function). Search function (City name search, price range search, zip code search) Display real estate on auction block. Contact function- email website sales dept with general questions FAQ function- simple html page containing all the questions as links to jump deeper into page where answer details are. Content provided later. Product detail page. simple html page containing all the products as links to jump deeper into page where details are. Content provided later. Register function common specs All register sign up functions will use the same basic form and the data will be saved in mysql database. A hidden flag field will be used to distinguish between what type of register it is. Customer (Seller or agent or broker) Opt/in to receive advertisings Notifications robot Online auction bidder Privacy statement about use of data entered. Common Info to capture = first name, last name, address line1 line2, city, state/province, zip code. Valid email address which will trigger a standard email to person which he has to reply to confirm email is valid. When conformation is received, the registered persons database record gets auto updated to authorize user access. As security measure a little box with generated password in it has to be entered into empty box as tool to stop script kiddies automatically creating registered users in effort to dos (deny of service) by filling up all the disk space.
Re: Dell SCSI problem (reasonly long with some debugging)
A quick follow up to my earlier post... I tried using FreeBSD 6.0 stable Snap 10, but the problem still exists. I tried installing Solaris 10 (01/06) and the card is not detected by Solaris at all. I tried with RHEL 4 and Win 2003 and the machine works fine. Back on FreeBSD 6.0 release, I lowered the tags using camcontrol: camcontrol tags da0 -N 64. The problem then seems to go away. At least I can't provoke it into occurring. Previously if I built a kernel, or untarred the ports tarball the machine would freeze. Naturally calling Dell support was a pointless exercise. They had never even heard of Free biscuit. Does anyone have any feedback on what the problem may be, and ideally a fix? Is it safe to run a machine in production with my lowered tags? Also, is there a way to set the tags during the boot process? At the moment I have a script in /usr/local/etc/rc.d which does this but it doesn't seem ideal. I'm guessing this has happened because it's a OEM version of the Adaptec card and has presumably been modified in some way. Thanks, Frem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
freebsd 5.4 gnome 2.12 build problems.
Hello, (how this is the right list) while updating firefox i noticed that gnome has been updated to v2.12 i read UPDATING, and discovered there was a convenient script for updating gnome! After doing this, the Filemanager failed to start, I had no desktop icons, and i was unable to save background or theme data. Applications run fine, however, i'd like my icons and Filemanager back. I tried doing a portupgrade -Uuf nautilus2 which failed at librsvg2 entering the ports tree and trying to install librsvg2 (i did a clean and distclean) each time librsvg2 fails with an error i can't understand. (tail of make follows) I looked in the Makefile for a reference to -fPIC and there is nothing. I'm not sure what this is, or how to coax librsvg2 to make. Any help would be greatly appreciated. In an earlier attempt to build i removed gamin in favor of fam and updated the pkgdb to reflect this. So far i've updated my kernel and world to latest RELENG 5.4 p10 deinstalled my entire ports tree and reinstalled all the applications i normally use. I'm using amd64. Any help would be greatly appreciated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/libgsf-1 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -DHAVE_SVGZ=1 -I/usr/local/include/libcroco-0.6 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -DHAVE_LIBCROCO=1 -I. -I. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libart-2.0 -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -DG_LOG_DOMAIN=\librsvg\ -DLIBRSVG_DATADIR=\/usr/X11R6/share/gnome\ -I/usr/local/include -O -pipe -MT librsvg-enum-types.lo -MD -MP -MF .deps/librsvg-enum-types.Tpo -c librsvg-enum-types.c -fPIC -DPIC -o .libs/librsvg-enum-types.o cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/libgsf-1 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -DHAVE_SVGZ=1 -I/usr/local/include/libcroco-0.6 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -DHAVE_LIBCROCO=1 -I. -I. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libart-2.0 -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -DG_LOG_DOMAIN=\librsvg\ -DLIBRSVG_DATADIR=\/usr/X11R6/share/gnome\ -I/usr/local/include -O -pipe -MT librsvg-enum-types.lo -MD -MP -MF .deps/librsvg-enum-types.Tpo -c librsvg-enum-types.c -o librsvg-enum-types.o /dev/null 21 /bin/sh /usr/ports/graphics/librsvg2/work/gnome-libtool --mode=link cc -O -pipe -L/usr/local/lib -o librsvg-2.la -rpath /usr/X11R6/lib -version-info 14:7:12 -no-undefined -export-dynamic rsvg-affine.lo librsvg-features.lo rsvg-bpath-util.lo rsvg-css.lo rsvg-defs.lo rsvg-image.lo rsvg-paint-server.lo rsvg-path.lo rsvg-file-util.lo rsvg-filter.lo rsvg-marker.lo rsvg-mask.lo rsvg-shapes.lo rsvg-structure.lo rsvg-styles.lo rsvg-text.lo rsvg.lo rsvg-cond.lo rsvg-art-composite.lo rsvg-art-draw.lo rsvg-art-mask.lo rsvg-art-paint-server.lo rsvg-art-render.lo librsvg-enum-types.lo -L/usr/local/lib -lgsf-1 -lgobject-2.0 -lxml2 -lz -lm -lglib-2.0 -liconv -L/usr/local/lib -lcroco-0.6 -lglib-2.0 -lxml2 -lz -liconv -lm -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -L/usr/X11R6/lib -lgdk_pixbuf-2.0 -lart_lgpl_2 -lxml2 -lpangoft2-1.0 -lfreetype -lz -lpango-1.0 -lm
Re: Upgrading apache form 2.0.x to 2.2.x
On Jan 31, 2006, at 10:06 AM, Kövesdán Gábor wrote: I've upgradde today, but SSL doesn't work with the old settings. I suspect something's wrong with my self-signed certificates. If I set SSLEngine On globally, I get this: [Tue Jan 31 14:11:09 2006] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA certificate (BasicConstraints: CA == TRUE !?) Yeah, the RSA cert you use for your CA to sign other certs should not be used as a host cert for SSL. Generate a new RSA cert, generate a CSR, and use the CA cert to sign your new RSA cert for the webserver: openssl req -nodes -new -x509 -keyout newreq.pem -out newreq.pem - days 365 openssl x509 -x509toreq -in newreq.pem -signkey newreq.pem -out tmp.pem openssl ca -policy policy_anything -out newcert.pem -infiles tmp.pem # (newcert.pem contains signed certificate, newreq.pem still contains # unsigned certificate and private key) -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem with fsck : continued
Hi, Thanks for the support so far. FreeBSD is working beautifully, both on the server as well as client workstations. Except for fsck. I am writing from India, where the electrical power scenario makes up for any possible lack of frustration. My server faces unscheduled power cuts and consequent improper shutdown 2-3 times every day. This is what I have placed in my server's rc.conf : fsck_y_enable=YES background_fsck=NO Most of the time when the system comes up on its own without first being subjected to single-user mode operations, half the services (including squid, webmin, vsftpd, svscan and - most significantly - getty for the local console) fail to start up, although fsck does run automatically in the foreground - with the y[es] argument enabled - on all partitions listed in fstab on system restart (i.e. restoration of electricity). The only solution I know is to first go into single-user mode and run fsck on the commandline for all partitions, after which the server comes up quite nicely. This would be okay if I could leave a console attached to the server, in which case I could run fsck interactively in single-user mode and get the system up again. For daily operations however, my organisation would much prefer to have the server working without a console attached. So now the question is if I can get FreeBSD 6.0 to run fsck automatically on restart in such a manner that all services come up consistently. I am even willing to have fsck run in the foreground upon EACH restart, irrespective of whether the previous shutdown was proper or improper. How do I do this ? Thanks for any help. Attached at the bottom is the previous communication. Manish Jain [EMAIL PROTECTED] On Thursday 26 January 2006 19:39, manish jain wrote: I recently persuaded my organisation to shift our main server from Linux to FreeBSD 6.0. We are now facing a problem with fsck. After improper shutdown, we need fsck to run automatically and non-interactively in the foreground upon restart. Enabling background fsck lets the system come up but fails to properly start a few network services. When you say you enabled it, do you simply mean you did nothing at all, or did you add an extra fsck -B somewhere. Background fsck is enabled by default, and it runs 60 seconds after all other initialization. Partitions can only be deferred for background checking if they support it, and are in a mountable state. These partitions are simply skipped in the pre-mount fsck check. All it does is recover lost space. It shouldn't have any impact other than a general slowdown. - What are the most popular cars? Find out at Yahoo! Autos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pkg_add down!
i have set my PACKAGESITE to ftp3 and ftp10 and then monitored the throughput with my packetshaper and it looks as though there is a problem. I use pkg_add -r perl and pkg_add -r nessus-plugins noth of them going to different ftp servers one on 3 and the other on 10 however checking the ftp traffic flow during this process is a little concerning. It will start some traffic not much in the 500 bytes to start the transfer but then drop to 0 for minutes at a time. I am running FreeBSD xxx.xxx.xxx 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 if I go to the ftp site with my browser it seems to work fine. What should I do as the package never seems to download. is there a queue on the ftp servers? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with fsck : continued
On Jan 31, 2006, at 12:25 PM, manish jain wrote: So now the question is if I can get FreeBSD 6.0 to run fsck automatically on restart in such a manner that all services come up consistently. I am even willing to have fsck run in the foreground upon EACH restart, irrespective of whether the previous shutdown was proper or improper. How do I do this ? To start with, you could set: background_fsck=NO ...in /etc/rc.conf to force filesystem checking to happen first. However, you are not going to have a very happy computing experience with any flavor of Unix if you keep shutting the system down uncleanly several times a day because of power failures. Try to obtain a UPS with a serial or USB connection and use a port like apcupsd to shut down cleanly... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Standard way of updating 6.x ?
On Jan 31, 2006, at 8:31 AM, Xn Nooby wrote: Is there a suggested method for updating a newly installed FreeBSD 6.0system? I have found several websites with similar but differing methods, often somehow specific to the author's configuration. What I usually do first is install from a CD and get a bare-bones system bootable. What I would like to do after that is update the kernel, system programs, user programs, and packages. I usually end up using cvsup, portsnap, and portupgrade with varying levels of success. What I would really like is a fool-proof method that works everytime, if there is such a thing. For example, rebuilding things at the lowest layer first, and working my way up. I was following a websites tutorial yesterday, and was confronted with a stale imagemagic dependency, where I chose to force an override. I didn't know if I was doing some wrong or not, and it seemed to work, but I would rather not have to force anything, if possible. Previously I had posted the steps I was using, and several people made annotations which I was able to integrate, but I was mostly curious if there wasn't some standard way. I am trying to use portsnap, since it seems much faster than cvsup, but the handbook doesn't seem to have portsnap integrated in to the rebuild steps yet (it is in the appendix I think). There seems to be updates steps for 4.x and 5.x, but not yet 6.x, or maybe I just have found them yet. There seems to be a lot of ways to update your system right now. Actually I think you're on the right track as to what method needs to be done to update your system. cvsup: Use for updating the ports tree and your system's source (base, docs, info, manpages, contrib, etc stuff available in sysinstall). portupgrade: Use for updating your actual ports programs. There may be a more elegant solution though and I would be more than happy to hear it too :). -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: converting pdfs with xpdf
On Jan 31, 2006, at 8:27 AM, Dave wrote: Hello, I'm running freebsd6 and xpdf 3.01_2. I've got pdfs that i want to convert to ps and text documents in four different areas in my home directory. I could convert them such as: pdfto format file1.pdf file2.ps etc. but i was wondering if there was a faster way? My second issue is some of these files are pdf 1.6 and as i've already tried xpdf won't convert these docs, does anyone have xpdf working with pdf 1.6 files? Second, after i convert all these docs there are three patterns i'd like to remove from them, all having spaces and signs in them. Again, i could do this manually, but i was wondering one if there was a faster way and two if i could do this on the tail end of the conversion process so i would only have to issue one command and come back probably a while later, these files are big, and it's all done? Thanks. Dave. Ghostscript works wonders with PDFs and PSs, but then again I don't know how well the [linux-]acroread port works and that may be worth a shot as well. As for the removing of characters, if you have a text file you can always process it with sed or [g]awk. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pkg_add down!
On Jan 31, 2006, at 12:38 PM, Sean Murphy wrote: if I go to the ftp site with my browser it seems to work fine. What should I do as the package never seems to download. is there a queue on the ftp servers? No queue. Presumably you have a local network problem involving active versus passive FTP or perhaps a Path MTU discovery issue, although you might simply have PACKAGESITE set wrong, too. :-) Does ifconfig _en0_ mtu 1400 fix it, where you replace _en0_ with the NIC you have...? -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Problem with fsck : continued
You are going around the wrong way to solve your problem. Problem is not with FreeBSD or fsck, it's your electrical power supply. Every body else in the world puts a UPS unit between their pc and the wall socket. The UPS unit can give you 30 min run time from its battery and then signal its time to shutdown your system. There is FreeBSD port system software that works with different UPS systems to do this. After system shutdown when your power comes back on your system will start up normally with no problems and no risk to the hardware. A complete hands off solution. Having the power stopped on a running pc will damage the hardware and destroy your system. You are just plan lucky that has not occured yet. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of manish jain Sent: Tuesday, January 31, 2006 12:26 PM To: freebsd-questions@freebsd.org Subject: Problem with fsck : continued Hi, Thanks for the support so far. FreeBSD is working beautifully, both on the server as well as client workstations. Except for fsck. I am writing from India, where the electrical power scenario makes up for any possible lack of frustration. My server faces unscheduled power cuts and consequent improper shutdown 2-3 times every day. This is what I have placed in my server's rc.conf : fsck_y_enable=YES background_fsck=NO Most of the time when the system comes up on its own without first being subjected to single-user mode operations, half the services (including squid, webmin, vsftpd, svscan and - most significantly - getty for the local console) fail to start up, although fsck does run automatically in the foreground - with the y[es] argument enabled - on all partitions listed in fstab on system restart (i.e. restoration of electricity). The only solution I know is to first go into single-user mode and run fsck on the commandline for all partitions, after which the server comes up quite nicely. This would be okay if I could leave a console attached to the server, in which case I could run fsck interactively in single-user mode and get the system up again. For daily operations however, my organisation would much prefer to have the server working without a console attached. So now the question is if I can get FreeBSD 6.0 to run fsck automatically on restart in such a manner that all services come up consistently. I am even willing to have fsck run in the foreground upon EACH restart, irrespective of whether the previous shutdown was proper or improper. How do I do this ? Thanks for any help. Attached at the bottom is the previous communication. Manish Jain [EMAIL PROTECTED] On Thursday 26 January 2006 19:39, manish jain wrote: I recently persuaded my organisation to shift our main server from Linux to FreeBSD 6.0. We are now facing a problem with fsck. After improper shutdown, we need fsck to run automatically and non-interactively in the foreground upon restart. Enabling background fsck lets the system come up but fails to properly start a few network services. When you say you enabled it, do you simply mean you did nothing at all, or did you add an extra fsck -B somewhere. Background fsck is enabled by default, and it runs 60 seconds after all other initialization. Partitions can only be deferred for background checking if they support it, and are in a mountable state. These partitions are simply skipped in the pre-mount fsck check. All it does is recover lost space. It shouldn't have any impact other than a general slowdown. - What are the most popular cars? Find out at Yahoo! Autos ___ 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: pkg_add down!
the pkg_add -r command does no use the port names with the version number on them. Check out the install guide at www.a1poweruser.com and read the 'port and package section' for a detailed description on how to find the correct package name to use. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Charles Swiger Sent: Tuesday, January 31, 2006 12:50 PM To: Sean Murphy Cc: freebsd-questions@freebsd.org Subject: Re: pkg_add down! On Jan 31, 2006, at 12:38 PM, Sean Murphy wrote: if I go to the ftp site with my browser it seems to work fine. What should I do as the package never seems to download. is there a queue on the ftp servers? No queue. Presumably you have a local network problem involving active versus passive FTP or perhaps a Path MTU discovery issue, although you might simply have PACKAGESITE set wrong, too. :-) Does ifconfig _en0_ mtu 1400 fix it, where you replace _en0_ with the NIC you have...? -- -Chuck ___ 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: Upgrading apache form 2.0.x to 2.2.x
Charles Swiger wrote: On Jan 31, 2006, at 10:06 AM, Kövesdán Gábor wrote: I've upgradde today, but SSL doesn't work with the old settings. I suspect something's wrong with my self-signed certificates. If I set SSLEngine On globally, I get this: [Tue Jan 31 14:11:09 2006] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA certificate (BasicConstraints: CA == TRUE !?) Yeah, the RSA cert you use for your CA to sign other certs should not be used as a host cert for SSL. Generate a new RSA cert, generate a CSR, and use the CA cert to sign your new RSA cert for the webserver: openssl req -nodes -new -x509 -keyout newreq.pem -out newreq.pem - days 365 openssl x509 -x509toreq -in newreq.pem -signkey newreq.pem -out tmp.pem openssl ca -policy policy_anything -out newcert.pem -infiles tmp.pem # (newcert.pem contains signed certificate, newreq.pem still contains # unsigned certificate and private key) Thanks, I see the point, but I don't really experienced in generating certs. The lines you wrote lead me to the following: [EMAIL PROTECTED] openssl req -nodes -new -x509 -keyout newreq.pem -out newreq.pem -days 365 Generating a 1024 bit RSA private key .++ ..++ writing new private key to 'newreq.pem' - You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. - Country Name (2 letter code) [AU]:HU State or Province Name (full name) [Some-State]:Budapest Locality Name (eg, city) []:Budapest Organization Name (eg, company) [Internet Widgits Pty Ltd]:T-Hosting.Hu Organizational Unit Name (eg, section) []:HTTP Server Common Name (eg, YOUR name) []:server.t-hosting.hu Email Address []:[EMAIL PROTECTED] [EMAIL PROTECTED] openssl x509 -x509toreq -in newreq.pem -signkey newreq.pem -out tmp.pem Getting request Private Key Generating certificate request [EMAIL PROTECTED] openssl ca -policy policy_anything -out newcert.pem -infiles tmp.pem Using configuration from /etc/ssl/openssl.cnf Error opening CA private key ./demoCA/private/cakey.pem 46641:error:0E06D06C:configuration file routines:NCONF_get_string:no value:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/conf/conf_lib.c:329:group=CA_default name=unique_subject 46641:error:02001002:system library:fopen:No such file or directory:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bio/bss_file.c:276:fopen('./demoCA/private/cakey.pem','r') 46641:error:20074002:BIO routines:FILE_CTRL:system lib:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bio/bss_file.c:278: unable to load CA private key Segmentation fault (core dumped) Could you tell me what's wrong? Thanks, Gabor Kovesdan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't see second CPU on IBM eServer x346 (FBSD5.4 and 6.0 amd64)
On Tue, 2006-01-31 at 07:59, Anto Prijosoesilo wrote: Hi, I'm having a problem installing FreeBSD/amd64 SMP on a couple of IBM x346 servers. Both have dual XEON 3.0GHz EM64T processors but OS seems to only enable one of them. ACPI has to be disabled on both machines for them to boot, otherwise they will hang after probing the keyboard. I'm using the SMP kernel config unedited. Mptable on both machines show that there are 2 CPUs: -- Processors: APIC ID Version State Family Model StepFlags 0 0x14BSP, usable 15 4 1 0x0301 6 0x14AP, usable 15 4 1 0x0301 -- Sysctl hw.ncpu returns 1 on both systems. The one on FreeBSD 5.4 has 6GB or memory and the one on FreeBSD 6.0 has 3GB of memory. I can run tests on the 3GB system and will probably try FreeBSD/i386 on it to see if it can see both CPUs. Has anyone successfully ran FreeBSD/amd64 SMP on these machines? Thanks in advance for any info anyone can provide. Anto. Silly question. Isn't the XEON Intel i386 architecture which runs Freebsd i386 whereas the FreeBSD amd64 is for AMD 64 bit devices.? In which case you should use the Freebsd i386 SMP kernel. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ports
Hello! I am a FreeBSD user from 6 months now. Getting from linux to FreeBSD it was easy but I still use linux for certain aplications. Probably on the desktop side of the operating system i do miss a few applications from linux such as: kphonetools, xfsamba, the installation of kde-meta applications one by one rather than a whole block, the flash from macromedia etc. Well to be honest I would like FreeBSD to have the same number of ports as Gentoo Linux on the desktop side of the operating system. There are so many people out there who switch distros because they want something more stable and with as many as possible applications. According to my research people stick to a distro because of the following reasons: Stability Securitty Variety of different programs to run Newer and updated software regularly. Probably having it's own port rather than a linux port for the same software such as bsd firefox and linux firefox. I hope this helps on the spread of the distro. Regards John - Win a BlackBerry device from O2 with Yahoo!. Enter now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Standard way of updating 6.x ?
Xn Nooby wrote: Is there a suggested method for updating a newly installed FreeBSD 6.0system? I have found several websites with similar but differing methods, often somehow specific to the author's configuration. What I usually do first is install from a CD and get a bare-bones system bootable. What I would like to do after that is update the kernel, system programs, user programs, and packages. I usually end up using cvsup, portsnap, and portupgrade with varying levels of success. What I would really like is a fool-proof method that works everytime, if there is such a thing. For example, rebuilding things at the lowest layer first, and working my way up. I was following a websites tutorial yesterday, and was confronted with a stale imagemagic dependency, where I chose to force an override. I didn't know if I was doing some wrong or not, and it seemed to work, but I would rather not have to force anything, if possible. Previously I had posted the steps I was using, and several people made annotations which I was able to integrate, but I was mostly curious if there wasn't some standard way. I am trying to use portsnap, since it seems much faster than cvsup, but the handbook doesn't seem to have portsnap integrated in to the rebuild steps yet (it is in the appendix I think). There seems to be updates steps for 4.x and 5.x, but not yet 6.x, or maybe I just have found them yet. The standard way for upgrading the base system is described in the handbook, and uses cvsup along with the 'buildworld', 'buildkernel' 'installkernel' and 'installworld' targets to make(1). A reboot is involved, and any files under /etc/ that have changed must be updated with mergemaster(8), which, although quite automated, is in no way automagic IMHO. But, then, I'm probably not well-read/experienced enough with it. I would suggest that it is fool proof, inasmuch as nobody slips a finger during a CVS commit --- all bets are off when the source is bad. This method applies equally well to 4.X, 5.X and 6.X and higher systems. I have this scripted for use on most of my servers, although I've split the steps in two as I prefer to control when a host is rebooted. It can be done fully automatic in my experience, if you don't care when the machine gets rebooted. Incidentally, kernel and system programs, as you mention, would probably qualify as base system in FreeBSD lingo. User programs and packages are equivalent to ports or packages, or ports/packages, or 3rd party software in FBSD-speak. It's a minor point, but understanding this can go a long way toward understanding the documentation. There seems to be a lot of ways to update your system right now. There are several ways to update ports, that is, 3rd-party software that is not part of the base system, but there is really one way that is approved by the docs for the FreeBSD base [not counting old style usage of make --- the fact is, Unix is about tools, not policy, and that's the real reason why there are a lot of ways to foo(); ]... I have used both portupgrade and portmanager for upgrading ports/packages; both these programs do an awful lot of work for you, but occasionally situations may develop within the ports tree that cause either to have slight difficulties. Both of them take quite a little while on a system with lots of installed ports/packages, and I must admit that more than once I have fixed an issue with ports/packages in a less-than-perfect way (much as is common in MS land). Dru Lavigne wrote an excellent article on using portupgrade: http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html HTH, Kevin Kinsey -- Everyone is a genius. It's just that some people are too stupid to realize it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
No Shell User
I need to create a user with no login or home directory abilities. It just needs to own a few directories and files and be able to run a daemon. would I use pw or adduser and what would be the options for that command? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pkg_add down!
Thanks for your replies I found out that dedicating traffic to ftp protocol did not help at all (we are very tight on bandwidth) once I dedicated 300Kbps to the server on all protocols It downloaded perl and nessus-plugins immediately with no change on the FreeBSD server. (does this mean that pkg_add -r uses more than just ftp protocol for obtaining packages?) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: pkg_add down!
I just now installed 6.0 from cd and installed all my ports using the pkg_add command and its default ftp server. Took less than 2 hours start to finish. I have no firewall or packetshaper in between. So there is nothing wrong with Freebsd 6.0 or pkg_add command. pkg_add uses fetch in passive mode as default. Look very hard at your packetshaper or firewall as source of your problem. Try turning then off before you run the pkg_add command again. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sean Murphy Sent: Tuesday, January 31, 2006 12:38 PM To: freebsd-questions@freebsd.org Subject: pkg_add down! i have set my PACKAGESITE to ftp3 and ftp10 and then monitored the throughput with my packetshaper and it looks as though there is a problem. I use pkg_add -r perl and pkg_add -r nessus-plugins noth of them going to different ftp servers one on 3 and the other on 10 however checking the ftp traffic flow during this process is a little concerning. It will start some traffic not much in the 500 bytes to start the transfer but then drop to 0 for minutes at a time. I am running FreeBSD xxx.xxx.xxx 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 if I go to the ftp site with my browser it seems to work fine. What should I do as the package never seems to download. is there a queue on the ftp servers? ___ 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]
Accepting Bids on Web application programming Development contract
To all interested parities; I am accepting bids on a Web application programming Development project. Bids are open to any developer any where in the world. Bid closing date is February 8 2006. Work is to be done at your location and using your equipment. Please provide your quote in USA dollars and include elapse time table targets in weeks. In case your email reader has made the following hard to read because of line wrap around, Email me direct and I will send the specs as attached text file. Real Estate Multipliable Listing Service Web application. General Specs. Run using FreeBSD 6.0 / apache 1.3.33_2 / php 5.1.2 / mysql 5.0.18 The membership info and the real estate info will be separate databases in MySql. Estimated the sizes at 5000 members and 25000 real estate properties. All web pages will use same template so user sees same page header and trailer and background color. Header contains name of Business with line of clickable menu options. Footer will contain copyright statement icons for powered by FreeBSD, apache, php. All php code will be commented in English. There can never be to many comments, the more the better. All php code will be written in a expanded manner for easy of reading. Each php function and (if statement will have comments describing what it does) All php variables will be descriptive words of content or use in English All html post forms data fields will use English words. Source code will be reviewed by customer for compliance to above general standards. Project will be divided in to phases by application functions and customer acceptance testing before payment. Completed source code will be sent to customer as pkzip or tar file attached to email. Yahoo chat will be used for live project meeting to discuss problems or changes to project specs. Directory path location to mysql databases will be global variable which is part of include. Directory path to .php files is php global variable (DOCUMENT_ROOT) which is part of include. Get the user ip address from the php global variable (REMOTE_ADDR) which is part of include. Access to real estate record in mysql database must be set up is such a way that a URL can be created to display the info. Customer needs URL for inclusion in newspaper media advertising so interest persons can enter that URL in their browser and retrieve the information. Home page named index.php Have visitor counter which shows count just about footer. Content will be provided later. Will have links to these functions Register customer function. (seller, or agent, or broker) Register buyer for online auction bidding Register email notify robot agent. (user enters city or zip code and when any real estate gets lists in their interest area a html email with pictures Register for opt/in emailing for sales info from advertisers offering mortgages, pre-quailing buyers, real estate lawyers/brokers/agents/appraisers Ect. Registered user login to edit their content (called maintenance function). Search function (City name search, price range search, zip code search) Display real estate on auction block. Contact function- email website sales dept with general questions FAQ function- simple html page containing all the questions as links to jump deeper into page where answer details are. Content provided later. Product detail page. simple html page containing all the products as links to jump deeper into page where details are. Content provided later. Register function common specs All register sign up functions will use the same basic form and the data will be saved in mysql database. A hidden flag field will be used to distinguish between what type of register it is. Customer (Seller or agent or broker) Opt/in to receive advertisings Notifications robot Online auction bidder Privacy statement about use of data entered. Common Info to capture = first name, last name, address line1 line2, city, state/province, zip code. Valid email address which will trigger a standard email to person which he has to reply to confirm email is valid. When conformation is received, the registered persons database record gets auto updated to authorize user access. As security measure a little box with generated password in it has to be entered into empty box as tool to stop script kiddies automatically creating registered users in effort to dos (deny of service) by filling up all
Re: What functionality is provided by minimal install
Giorgos Keramidas wrote: On 2006-01-30 13:42, Eric Schultz [EMAIL PROTECTED] wrote: sysintall help that a Minimal install is just the base system. But what _functionality_ is provided by a *base system*??? A short `overview' of a sort can be seen with: # man 5 rc.conf For every daemon, service, or option that you see in that manpage, there is also a feature of the base system. Good afternoon... That's a very interesting idea. I guess that would cover (excuse my un-certainty with the terminology here) the /kernel/ but not the /userland/. For the /userland/ i assume I would still have to man every executable - and then some - that I find? -- Headed for the second star to the right and straight on 'til morning... Eric Schultz (aka Storkman) Photos: http://community.webshots.com/user/schultznet Homepage: http://www.schultznet.ca Blog: http://schultznet.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Upgrading 5.3 to 6.0 question
Good day all. I have a question related to upgrading my machine from 5.3 to 6.0. I am convinced I need to upgrade it, and the base system upgrade procedure is pretty much clear to me. However I am somewhat not clear about 3rd party software. Since all the programs are 5.X binaries, do I need to recompile/reinstall all of them? Or they can run fine under COMPAT_FREEBSD5? Thanks in advance. Michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading 5.3 to 6.0 question
On Jan 31, 2006, at 3:28 PM, Michael S wrote: I have a question related to upgrading my machine from 5.3 to 6.0. I am convinced I need to upgrade it, and the base system upgrade procedure is pretty much clear to me. However I am somewhat not clear about 3rd party software. Since all the programs are 5.X binaries, do I need to recompile/reinstall all of them? Or they can run fine under COMPAT_FREEBSD5? So long as the FreeBSD 5 binary compatibility option is present, all of your existing binaries will run just fine under FreeBSD 6. However, anything which you can rebuild or reinstall should be upgraded (perhaps via portupgrade -af?) as soon as convenient, to avoid mixing two versions of the shared libraries together. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Regarding QuickCam webcams and FreeBSD
Howdy, I happen to have been doing quite a bit of research in this area. What I wanted to do was to set up a *nix box with a webcam and a wireless NIC, so that I can mount the headless machine in the bedroom to keep an eye on our seven-month-old baby. (Link between the *nix box and the home private network will be encrypted using IPsec VPN.) What I have found so far are the following: 1) The apps that I have found do not work with a wide variety of more recent makes of webcams. If you do a Google search on FreeBSD webcam or OpenBSD webcam, you actually see some tools that purportedly work with QuickCam Express or QuickCam B/W (or Color), and a handful of other models. 2) Logitech, the maker of QuickCam, used to make available technical specs and docs for the developers to write drivers with. Unfortunately, the company does not do that anymore, and anyone who wants to make a QuickCam-series work has to either reverse-engineer it, use available drivers and hope for the best, or run it under Windows. 3) By contrast, NetBSD and some Linux distros (so far I've heard promising things about Fedora Core 4 and I think Gentoo) have more development work going on for webcams. If FreeBSD doesn't work for you, try some of the other *nixes. HTH, SC - Hide quoted text - On 1/29/06, Xn Nooby [EMAIL PROTECTED] wrote: I bought a fancy Quickcam (face-tracking), though I have no idea how to make it work with FreeBSD. I installed qcamview, but when I run it as root, it says Not found Quickcam, or Permission denied. Anyone know anything about Quickcams on FreeBSD? I don't expect it to work, but it would be cool if it did. There seems to be very little information on the net about qcamview. I'd be happy to just snapshots with it. I'm using FreeBSD 6.0 and Fluxbox. The cam is USB 2.0. Any suggestions? ___ 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: WLAN not detected on Acer TM 292ECLi
Fabian Keil wrote: You could check it with pciconf -lv. Thanks, this did the trick - it turned out that my laptop does not have a 2200BG adapter. I must have confused it with another Acer laptop that I bought and configured for my friend a while ago. pciconf says: [EMAIL PROTECTED]:2:0:class=0x028000 card=0x1220185f chip=0x432014e4 rev=0x03 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM4306 802.11b/g Wireless LAN Controller' class= network so it has the non-supported Broadcom adapter. So sorry for all the noise :) Google gave hope to get it working with the NDIS wrapper, and sure, after fighting with it a while, I have a ndis0 adapter now detected. http://dannyman.toldme.com/2005/01/05/freebsd-howto-ndisulate-windows-drivers/ was of good help - although the info there is outdated for 6.0 - one should use ndisgen instead. --Ville ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Program for restarting stopped/crashed daemons
Hi all I've been looking for a program to restart apache, postfix and my other server daemons when they stop/crash, but couldn't find a good one. I've read the sourcecode for sysutils/monit and sysutils/monitord but they seem to need /proc and insist on poll instead of using kqueue(2) and kevent(2). So before I start coding my own, can someone recommend a port or tell me why kevent(2) shouldn't be used for this? Best regards db ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Program for restarting stopped/crashed daemons
Hello, db wrote: Hi all I've been looking for a program to restart apache, postfix and my other server daemons when they stop/crash, but couldn't find a good one. I've read the sourcecode for sysutils/monit and sysutils/monitord but they seem to need /proc and insist on poll instead of using kqueue(2) and kevent(2). So before I start coding my own, can someone recommend a port or tell me why kevent(2) shouldn't be used for this? And what is exactly wrong with /proc running? I have had procfs turned off, but our content management application does need to have access to /proc, because in its management of processess (fastcgi app with custom management of cron processes of its own) it have not been able to manage them without it. We used alternative like p5-Proc-ProcessTable, but it did sometimes render our system unusable, userland unresponsive (although kernel was okey). Cheers, Martin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RELENG_6 on HP ProLiant ML 350 G4p
Le 31/01/2006 à 12:18:46+0100, lars a écrit Hi all, I'm planning on getting a HP ProLiant ML350 G4p server (p for the iLO). Apparently this machine has a Smart Array 641 controller for the SCSI HDDs. I'd like to set up a RAID1 volume for the OS and a RAID 5 volume for the data. I assume the RAID volumes can be set up via the RAID controller interface during the POST, I think it's called RBSU or something like that. I want to slice the RAID 1 volume for the OS with /, swap, /var, /tmp, /home and the RAID 5 volume with a /data slice. No gvinum or soft-RAID. I want to keep it as KISS as possible. Does FreeBSD recognize the two volumes as two disks and behave accordingly? Has anyone on this list successfully deployed a system in such a way? Or do you have any suggestion to improve on this idea of setup? Sorry my english is not very good. I don't understand you problem. If you want have two raid volume under you Smart Array there are no problem to FreeBSD to use it. Don't forget with a scsi card (raid or not) it's the scsi controller to inform the OS what disk you have. It's not the OS. Then if you OS (like FreeBSD) have right driver to use your SmartArray there no problem. But don't forget if you use FreeBSD under ML serie (like me) you can not use the HP linux software to manage (and watching) your hardware. Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. 7 ième étage, plateau D, bureau 10 Heure local/Local time: Tue Jan 31 22:17:43 CET 2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can not deliver to cyrus imapd
Hello Anish Thank you for your hint. See my comment below (inline). Am Sun, Jan 29, 2006 at 01:48:59PM -0500 Anish Mistry schrieb: On Sunday 29 January 2006 13:12, Martin Schweizer wrote: Hello On my two machines (FreeBSD 5.4) I'm not able to compile sendmail with other mailer then the default ones. The hole thread and the details you can see in comp.mail.senmdail (link: http://groups.google.com/group/comp.mail.sendmail/browse_thread/thr ead/a9c1364a7b98be36/0e04b81274290cb3#0e04b81274290cb3 ). My goal is to use sendmail and cyrus impad 2.3. The problem is if I change the mailer in sendmail.mc nothing appears. I also checked sendmail.cf. There are no other mailers the the default ones. I'm very confused about the problem. Any ideas are very welcome. I'm using cyrus-imapd22 in production on a few servers with the base sendmail. I'm assuming you have cyrus-imapd23 setup correctly. # set the sendmail password check method touch /usr/local/lib/sasl2/Sendmail.conf # add pwcheck_method: saslauthd to use sasl database # or pwcheck_method: passwd for normal login password checking # add to /etc/make.conf SENDMAIL_CFLAGS+= -I/usr/local/include -DSASL=2 \ -D_FFR_SMTP_SSL -DSOCKETMAP SENDMAIL_LDFLAGS+=-L/usr/local/lib SENDMAIL_LDADD+=-lsasl2 # set box specific .mc file in /etc/make.conf so upgrades # don't wipe out our existing settings SENDMAIL_MC=/etc/mail/host.mydomain.com.mc # build shared sendmail libs cd /usr/src/lib/libsm \ make cleandir make depend make obj make cd /usr/src/lib/libsmutil \ make cleandir make depend make obj make # now rebuild sendmail in the base cd /usr/src/usr.sbin/sendmail \ make cleandir make depend make obj make make install After make I get always this error: make: don't know how to make /usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a. Stop I also tested this hint from a newsgroup: I followed some advice I found on the [EMAIL PROTECTED] email list and after cvsup'ing my src I ran a 'make buildworld' in /usr/src. After the make buildworld finished I cd'd to /usr/src/usr.sbin/sendmail/ and did a make install and it installed just fine. ... but I always get the same error. Any ideas? -- Regards Martin [EMAIL PROTECTED] PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; pgpHhfMpmOTlK.pgp Description: PGP signature
Re: Program for restarting stopped/crashed daemons
On Tuesday 31 January 2006 21:09, Martin Hudec wrote: I've been looking for a program to restart apache, postfix and my other server daemons when they stop/crash, but couldn't find a good one. I've read the sourcecode for sysutils/monit and sysutils/monitord but they seem to need /proc and insist on poll instead of using kqueue(2) and kevent(2). So before I start coding my own, can someone recommend a port or tell me why kevent(2) shouldn't be used for this? And what is exactly wrong with /proc running? I'm not using it on my 6.0 servers. br db ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RELENG_6 on HP ProLiant ML 350 G4p
Albert Shih [EMAIL PROTECTED] wrote: Sorry my english is not very good. I don't understand you problem. If you want have two raid volume under you Smart Array there are no problem to FreeBSD to use it. Don't forget with a scsi card (raid or not) it's the scsi controller to inform the OS what disk you have. It's not the OS. Then if you OS (like FreeBSD) have right driver to use your SmartArray there no problem. Ok, just as I wished for. I was just not sure whether FreeBSD had any issues with this particular machine's controller or not. The controller (Smart Array 642) seems to be supported according to the ciss man-page. Do you have this controller or the new 6-port SATA controller (chipset unspecified) that comes with this machine? But don't forget if you use FreeBSD under ML serie (like me) you can not use the HP linux software to manage (and watching) your hardware. No problem, I think I'd do that via iLO or something like that. Regards. Thanks, Lars. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading 5.3 to 6.0 question
Thanks a lot. On 1/31/06, Charles Swiger [EMAIL PROTECTED] wrote: On Jan 31, 2006, at 3:28 PM, Michael S wrote: I have a question related to upgrading my machine from 5.3 to 6.0. I am convinced I need to upgrade it, and the base system upgrade procedure is pretty much clear to me. However I am somewhat not clear about 3rd party software. Since all the programs are 5.X binaries, do I need to recompile/reinstall all of them? Or they can run fine under COMPAT_FREEBSD5? So long as the FreeBSD 5 binary compatibility option is present, all of your existing binaries will run just fine under FreeBSD 6. However, anything which you can rebuild or reinstall should be upgraded (perhaps via portupgrade -af?) as soon as convenient, to avoid mixing two versions of the shared libraries together. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Trying to Upgrade 5.2.1 to later version
I'm a complete newbie to FreeBSD (coming from Linux). I bought (for cheap) a boxed set of FreeBSD 5.2.1, and am looking to upgrade it for XOrg and the latest version of Postfix. When I try to use sysinstall, I get the following error: Warning: Can't find the `5.2.1-RELEASE' distribution on this FTP server. You may need to visit a different server for the release you are trying to fetch or go to the Options menu and to set the release name to explicitly match what's available on ftp1.freebsd.org (or set to any). Now, I'm pretty sure that the problem here is the age of the release (I guess two years old), but I was wondering if there was a workaround. -- A. Clausen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Proper FreeBSD installation practices
I just installed FreeBSD 6.0 on a computer I want to use to test BIND. The newest release is 9.3.2, but the one installed with FreeBSD 6.0 is 9.3.1. Since according to the ISC's website there are a few bugs in 9.3.1, I decided to upgrade. I then looked over the ports and found versions going up to 9.3.1. So I downloaded the neccessary files from ISC's ftp. But I started wondering, where would the most appropriate place to install BIND be? My current version is installed in /usr/sbin/named, but the default install goes to /usr/local/sbin/named. Should I let the install go to it's default location, rename /usr/sbin/named to /usr/sbin/named9.3.1 and then symlink /usr/local/sbin/named to /usr/sbin/named? Or, should I tell the proper install flag to install named in /usr/sbin, and overwrite the previous version?( after all, I am not going to use it ) I am planning to put BIND in a sandbox anyway..I ask this mainly to find out about common practices. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trying to Upgrade 5.2.1 to later version
Yeah, the easiest workaround is like this: - Download ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/6.0/6.0-RELEASE-i386-bootonly.iso - Burn it to a CD - Boot it - Make sure to select FTP as source. - Install =) On 1/31/06, A. Clausen [EMAIL PROTECTED] wrote: I'm a complete newbie to FreeBSD (coming from Linux). I bought (for cheap) a boxed set of FreeBSD 5.2.1, and am looking to upgrade it for XOrg and the latest version of Postfix. When I try to use sysinstall, I get the following error: Warning: Can't find the `5.2.1-RELEASE' distribution on this FTP server. You may need to visit a different server for the release you are trying to fetch or go to the Options menu and to set the release name to explicitly match what's available on ftp1.freebsd.org (or set to any). Now, I'm pretty sure that the problem here is the age of the release (I guess two years old), but I was wondering if there was a workaround. -- A. Clausen ___ 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: Proper FreeBSD installation practices
In the last episode (Jan 31), Alvaro J. Gurdin said: I just installed FreeBSD 6.0 on a computer I want to use to test BIND. The newest release is 9.3.2, but the one installed with FreeBSD 6.0 is 9.3.1. Since according to the ISC's website there are a few bugs in 9.3.1, I decided to upgrade. I then looked over the ports and found versions going up to 9.3.1. So The bind9 port has been at 9.3.2 since late December, actually (8 days after the upstream release). I downloaded the neccessary files from ISC's ftp. But I started wondering, where would the most appropriate place to install BIND be? My current version is installed in /usr/sbin/named, but the default install goes to /usr/local/sbin/named. Should I let the install go to it's default location, rename /usr/sbin/named to /usr/sbin/named9.3.1 and then symlink /usr/local/sbin/named to /usr/sbin/named? Or, should I tell the proper install flag to install named in /usr/sbin, and overwrite the previous version?( after all, I am not going to use it ) I am planning to put BIND in a sandbox anyway..I ask this mainly to find out about common practices. Easier to just set named_program=/usr/local/sbin/named in rc.conf and use the included rc.d/named startup script. I thought this was documented in the port somewhere, but apparently not. The rc.d/named script tells named to chroot itself into /var/named/, also. -- 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: Proper FreeBSD installation practices
In the last episode (Jan 31), Dan Nelson said: In the last episode (Jan 31), Alvaro J. Gurdin said: Should I let the install go to it's default location, rename /usr/sbin/named to /usr/sbin/named9.3.1 and then symlink /usr/local/sbin/named to /usr/sbin/named? Easier to just set named_program=/usr/local/sbin/named in rc.conf and use the included rc.d/named startup script. I thought this was I meant to write base system's instead of included here -- 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: Proper FreeBSD installation practices
Alvaro J. Gurdin [EMAIL PROTECTED] wrote: I just installed FreeBSD 6.0 on a computer I want to use to test BIND. The newest release is 9.3.2, but the one installed with FreeBSD 6.0 is 9.3.1. Since according to the ISC's website there are a few bugs in 9.3.1, I decided to upgrade. Update your ports tree and you will find that Bind 9.3.2 is in ports. /usr/ports/dns/bind9 Installing via ports is most probably the best way to install any software. Regards, Lars ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: No Shell User
Sean Murphy wrote: I need to create a user with no login or home directory abilities. It just needs to own a few directories and files and be able to run a daemon. would I use pw or adduser and what would be the options for that command? Just set the users shell to /sbin/nologin and his home-directory to /nonexistent. The home-directory could be anything else i think, just make sure it doesn't really exist. FreeBSD's nobody user uses /nonexistent, though. Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Proper FreeBSD installation practices
I used sysinstall to look for it: the chose configure-packages-ftp-main site-package selection-DNS in there I saw several versions of BIND but 9.3.1 was the newest. What am I doing wrong? I chose FTP to try to get the most up to date infowhat happened? I see 9.3.2 on Fresh ports, why not thru sysinstall? On Jan 31, 2006, at 5:01 PM, Dan Nelson wrote: In the last episode (Jan 31), Alvaro J. Gurdin said: I just installed FreeBSD 6.0 on a computer I want to use to test BIND. The newest release is 9.3.2, but the one installed with FreeBSD 6.0 is 9.3.1. Since according to the ISC's website there are a few bugs in 9.3.1, I decided to upgrade. I then looked over the ports and found versions going up to 9.3.1. So The bind9 port has been at 9.3.2 since late December, actually (8 days after the upstream release). I downloaded the neccessary files from ISC's ftp. But I started wondering, where would the most appropriate place to install BIND be? My current version is installed in /usr/sbin/named, but the default install goes to /usr/local/sbin/named. Should I let the install go to it's default location, rename /usr/sbin/named to /usr/sbin/named9.3.1 and then symlink /usr/local/sbin/named to /usr/sbin/named? Or, should I tell the proper install flag to install named in /usr/sbin, and overwrite the previous version?( after all, I am not going to use it ) I am planning to put BIND in a sandbox anyway..I ask this mainly to find out about common practices. Easier to just set named_program=/usr/local/sbin/named in rc.conf and use the included rc.d/named startup script. I thought this was documented in the port somewhere, but apparently not. The rc.d/named script tells named to chroot itself into /var/named/, also. -- 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Proper FreeBSD installation practices
Alvaro J. Gurdin [EMAIL PROTECTED] wrote: I used sysinstall to look for it: the chose configure-packages-ftp-main site-package selection-DNS in there I saw several versions of BIND but 9.3.1 was the newest. What am I doing wrong? I chose FTP to try to get the most up to date infowhat happened? I see 9.3.2 on Fresh ports, why not thru sysinstall? Maybe the FTP repository you are getting the package from simply doesn't have the newest package(s). You could also try # pkg_add -r bind9 for kicks. Otherwise, update your ports tree and install from there. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: converting pdfs with xpdf
Dave wrote: Hi, Thanks. That gives me a starting place. I'll probably do it with sed, i'm more familiar with that. Have you converted pdfs with ghostscript? I'm looking for the commands i would have to issue. The pdfs i want to convert to ps and to regular text files. Thanks. Dave. - Original Message - From: Garrett Cooper [EMAIL PROTECTED] To: FreeBSD Questions freebsd-questions@freebsd.org Sent: Tuesday, January 31, 2006 12:51 PM Subject: Re: converting pdfs with xpdf On Jan 31, 2006, at 8:27 AM, Dave wrote: Hello, I'm running freebsd6 and xpdf 3.01_2. I've got pdfs that i want to convert to ps and text documents in four different areas in my home directory. I could convert them such as: pdfto format file1.pdf file2.ps etc. but i was wondering if there was a faster way? My second issue is some of these files are pdf 1.6 and as i've already tried xpdf won't convert these docs, does anyone have xpdf working with pdf 1.6 files? Second, after i convert all these docs there are three patterns i'd like to remove from them, all having spaces and signs in them. Again, i could do this manually, but i was wondering one if there was a faster way and two if i could do this on the tail end of the conversion process so i would only have to issue one command and come back probably a while later, these files are big, and it's all done? Thanks. Dave. Ghostscript works wonders with PDFs and PSs, but then again I don't know how well the [linux-]acroread port works and that may be worth a shot as well. As for the removing of characters, if you have a text file you can always process it with sed or [g]awk. -Garrett Take a gander at this: http://www.bsdforums.org/forums/archive/index.php/t-3899.html. Basically all you need is pdf2ps, which is available with the port print/gnu-ghostscript. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Proper FreeBSD installation practices
Alvaro J. Gurdián wrote: I used sysinstall to look for it: the chose configure-packages-ftp-main site-package selection-DNS in there I saw several versions of BIND but 9.3.1 was the newest. What am I doing wrong? I chose FTP to try to get the most up to date infowhat happened? I see 9.3.2 on Fresh ports, why not thru sysinstall? sysinstall looks for pre-compiled packages; I don't know if packages have been built that include this version of BIND; someone else probably does, or can take time to investigate. However, even more telling on this issue: sysinstall uses a $RELEASENAME variable (correct name??) to look specifically for packages that match the version of FreeBSD that you have installed. This means that if you have installed 6.0-RELEASE, your version of sysinstall is looking for the packages that were created at the time that 6.0-RELEASE was compiled, back in the fall. Most likely, at that time, the lastest BIND was 9.3.1. You can use some obscure part of sysinstall to set this variable to ANY and perhaps get a newer list of packages. It may also be possible to get a later package simply with: $pkg_add -r bind9 If you have the ports tree installed AND up to date, then: $cd /usr/ports/dns/bind9 $make install clean will absolutely get you the latest version of the port. For more help on installing ports/packages, see handbook chapter 4. For more help on the latest and greatest, see The Cutting Edge, handbook chapter 20. Best of luck with FreeBSD! Kevin Kinsey top-posting comment snipped ;-) -- In 1869 the waffle iron was invented for people who had wrinkled waffles. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Proper FreeBSD installation practices
Oh, I forgot to mention that I had tried that. It downloaded the package but when I checked, pkg_check bind9-9.3.2 it said the package did not exist and pkg_check bind9-9.3.1 it gave me all the appropriate output. On Jan 31, 2006, at 6:08 PM, lars wrote: You could also try # pkg_add -r bind9 for kicks. Maybe the FTP repository you are getting the package from simply doesn't have the newest package(s). I have tried two others with the same result. Otherwise, update your ports tree and install from there. I thought using sysinstall and telling it to get the ports from FTP would the latest and freshest around I would prefer to install from ports, but it looks like I will have to use ISC's code directly to compile. I cannot be the only one with this problem...unless I am doing something wrong. Any ideas? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Unsubscription
Dear Sir/Madame, Please give me an instruction for unsubscribe myself from this Mailing List. Regards, Masaya Otsu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Program for restarting stopped/crashed daemons
You can try bigsister for some of this: http://bigsister.graeff.com./ But coding to check apache is trivial. I have rolled my own apache monitor as the daemon doesn't die but will stop responding at times. -Derek At 04:02 PM 1/31/2006, db wrote: Hi all I've been looking for a program to restart apache, postfix and my other server daemons when they stop/crash, but couldn't find a good one. I've read the sourcecode for sysutils/monit and sysutils/monitord but they seem to need /proc and insist on poll instead of using kqueue(2) and kevent(2). So before I start coding my own, can someone recommend a port or tell me why kevent(2) shouldn't be used for this? Best regards db ___ 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: CPU Frequency on FreeBSD 5.4 and MSVS 2005 R2
I've been able to run couple of successful tests installing FreeBSD 4.x and 5.x on Microsoft Virtual Server 2005 , however, I've noticed for some reason FreeBSD is not detecting the actual CPU speed: --- FreeBSD 5.4-STABLE #0: Mon Jan 30 22:32:31 EST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/INTERNDC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel Pentium III Xeon (593.19-MHz 686-class CPU) Origin = GenuineIntel Id = 0x6a4 Stepping = 4 Features=0x380a97bFPU,VME,PSE,TSC,MSR,PAE,CX8,SEP,PGE,CMOV,MMX,FXSR,S SE real memory = 824115200 (785 MB) avail memory = 796700672 (759 MB) npx0: math processor on motherboard npx0: INT 16 interface acpi0: A M I OEMRSDT on motherboard acpi0: Power Button (fixed) Timecounter ACPI-safe frequency 3579545 Hz quality 1000 The frequency should be 900MHz. The BIOS does not state CPU frequency, nor the boot sequence. In fact, if I reboot the FreeBSD virtual machine, the frequency would be different (sometimes 460MHz , others 550MHz...etc). I think this is causing a considerable degradation in the FreeBSD speed. Any suggestions in this regard ? MSFT doesn't officially support FreeBSD, but I'm aware they support Linux on their virtual server. It's typical for the cpu speed to very inside a virtual machine, VMware does this all the time, typically it's 0 ~ 100MHz off, but yours is way off... I did know the answer to this question but don't remember, sorry. try a google search for VMware and cpu speed or frequency. I have been able to fix issues with the time counter by adding disabling device apic and adding these lines: options SYSVSHM options SYSVMSG options CPU_DISABLE_CMPXCHG device cpufreq However, the issue with the CPU speed not picked up properly is still there: freebsd# sysctl hw.clockrate hw.clockrate: 486 Any other options I can play with to change the CPU frequency ? Thanks Tamouh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unsubscription
Please give me an instruction for unsubscribe myself from this Mailing List. Try reading the bottom of every message the mailing list sends out... ~Dan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FTP Automate Shell Script
I have a ftp script that copies files from a solaris box to an as400. Maybe it will work on FreeBSD. (?) nsaFtp.sh: ftp -in nsaFtpCmds Joppa 21 nsaFtpCmds: user USERNAME PASSWORD cd /QDLS/MM4R5FLR/00500 lcd data mput SYB* dir quit On Jan 29, 2006, at 9:45 PM, Angelo Christou wrote: Hello. I am using FreeBSD 6.0 and Bash as my shell. I am following a tutorial to create a shell script to copy some files. It works perectly exept for 2 points. Here is the article - http://www.quepublishing.com/articles/printerfriendly.asp?p=170517 Here is the script - #!/bin/sh temp=/tmp/$(basename $0).$$ ; trap /bin/rm -f $temp 0 targetdir=remote-dir remote=laptop.intuitive.com echo taylor $temp echo cd $targetdir $temp for file in * do if [ -f $file ] ; then echo put $file $file $temp else echo skipping $file: not a file. 2 fi done echo quit $temp ftp $remote $temp exit 0 One problem is that the password must be entered manually, I have spent a good part of the day experimenting but can't seem to automate this. Can the password be entered using the script? The other problem is that it copies the actual file. What command would I look at to copy only images (.jpg) for example? Thanks in advance. Ang. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sshd error on 5.4
Hi All: I upgraded sshd on the 5.4 (VPN server) and made /etc/rc.d/sshd using /usr/local/sbin/sshd instead of old one /usr/sbin/sshd. well, now I got error whenever the server reboots: sshd[445]: Bind to port 22 on 0.0.0.0 failed. Address already in use. sshd[445]: Fata: Connot bind any address. seems to be the old sshd is still running but I can't find it. I can still login but the performance is kinda sluggish. do any gurus here know how to fix this? Any help would be greatly appreciated. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sshd error on 5.4
On Tue, Jan 31, 2006 at 04:39:23PM -0800, gahn wrote: Hi All: I upgraded sshd on the 5.4 (VPN server) and made /etc/rc.d/sshd using /usr/local/sbin/sshd instead of old one /usr/sbin/sshd. If you modified the rc.d script, you did something wrong. It already provides rc.conf variables that you can use to control the location of the ssh binary to run (see the rc.conf manpage). well, now I got error whenever the server reboots: sshd[445]: Bind to port 22 on 0.0.0.0 failed. Address already in use. sshd[445]: Fata: Connot bind any address. seems to be the old sshd is still running but I can't find it. How did you look? ps, and sockstat will both show it. Kris pgpqh7e4JxlGY.pgp Description: PGP signature
uninstall httpd + others to get a base system only
Hi, I've played around with my FreeBSD server a little too much, and I have a lot of useless ports installed, especially apache, PHP+ext, etc... I was wondering how to uninstall them and get back to a base system (kind of). I tried uninstalling apache by doing 'make deinstall' in the ports directories apache13, apache13-modssl, apache13-modperl, but it says it is not installed. I'm from the linux world and I'm trying FreeBSD. What I'd like to do is to do the equivalent of yum -y remove httpd (or apt-get remove apache). This way, apache would be removed and all the software it depends on. Thanks for your help. -- Ugo - Please don't send a copy of your reply by e-mail. I read the list. - Please avoid top-posting, long signatures and HTML, and cut the irrelevant parts in your replies. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to get latest and greatest FAMP
I wanted to do a quick test of Apache21, MySQL5 and PHP5 I tried a minimal install of FreeBSD 6.0 then pkg_add -r which worked fine up until PHP5 where I was told that Apache21 conflicted with Apache13 that was to be installed as aPHP5 dependancy. I pkg_delete and went ahead with installing PHP5 then Apache13 but when I tried to pkg_delete Apache13 so I could install Apache21 was told that I coudl not remove it ? If you're talking about /usr/ports/lang/php5, then it's Makefile has this: .if defined(WITH_APACHE) .if ${APACHE_VERSION} 13 CONFIGURE_ARGS+=--with-apxs2=${APXS} .else CONFIGURE_ARGS+=--with-apxs=${APXS} .endif .endif I haven't done it, but I'm guessing if you install apache21 first, then set APACHE_VERSION = 21 in your environment, then make, it would do what you wanted. -philip ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: uninstall httpd + others to get a base system only
Have you tried pkg_info to get list of installed ports. Then do pkg_delete name using the full name from the info list with all the version numbers -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ugo Bellavance Sent: Tuesday, January 31, 2006 7:55 PM To: freebsd-questions@freebsd.org Subject: uninstall httpd + others to get a base system only Hi, I've played around with my FreeBSD server a little too much, and I have a lot of useless ports installed, especially apache, PHP+ext, etc... I was wondering how to uninstall them and get back to a base system (kind of). I tried uninstalling apache by doing 'make deinstall' in the ports directories apache13, apache13-modssl, apache13-modperl, but it says it is not installed. I'm from the linux world and I'm trying FreeBSD. What I'd like to do is to do the equivalent of yum -y remove httpd (or apt-get remove apache). This way, apache would be removed and all the software it depends on. Thanks for your help. -- Ugo - Please don't send a copy of your reply by e-mail. I read the list. - Please avoid top-posting, long signatures and HTML, and cut the irrelevant parts in your replies. ___ 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: sshd error on 5.4
Thanks kris: Yes, I meant I saw one is running [440] (after booting procedure finishes) but why it started the another one [445] when it reboots? I actually fell back the original one and error is still there. --- Kris Kennaway [EMAIL PROTECTED] wrote: On Tue, Jan 31, 2006 at 04:39:23PM -0800, gahn wrote: Hi All: I upgraded sshd on the 5.4 (VPN server) and made /etc/rc.d/sshd using /usr/local/sbin/sshd instead of old one /usr/sbin/sshd. If you modified the rc.d script, you did something wrong. It already provides rc.conf variables that you can use to control the location of the ssh binary to run (see the rc.conf manpage). well, now I got error whenever the server reboots: sshd[445]: Bind to port 22 on 0.0.0.0 failed. Address already in use. sshd[445]: Fata: Connot bind any address. seems to be the old sshd is still running but I can't find it. How did you look? ps, and sockstat will both show it. Kris __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: uninstall httpd + others to get a base system only
i'd look up pkg_deinstall too.. man pkg_deinstall works great! On 2/1/06, Ugo Bellavance [EMAIL PROTECTED] wrote: Hi, I've played around with my FreeBSD server a little too much, and I have a lot of useless ports installed, especially apache, PHP+ext, etc... I was wondering how to uninstall them and get back to a base system (kind of). I tried uninstalling apache by doing 'make deinstall' in the ports directories apache13, apache13-modssl, apache13-modperl, but it says it is not installed. I'm from the linux world and I'm trying FreeBSD. What I'd like to do is to do the equivalent of yum -y remove httpd (or apt-get remove apache). This way, apache would be removed and all the software it depends on. Thanks for your help. -- Ugo - Please don't send a copy of your reply by e-mail. I read the list. - Please avoid top-posting, long signatures and HTML, and cut the irrelevant parts in your replies. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- // Irvin P. Piraman // http://netgarage.thefluxproject.com // Key ID: 0x92CA572B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: uninstall httpd + others to get a base system only
fbsd_user wrote: Have you tried pkg_info to get list of installed ports. Then do pkg_delete name using the full name from the info list with all the version numbers Thanks for the tip, but apache nor httpd were in the list. Now I'm trying to re-install it using the ports, then deinstall it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ugo Bellavance Sent: Tuesday, January 31, 2006 7:55 PM To: freebsd-questions@freebsd.org Subject: uninstall httpd + others to get a base system only Hi, I've played around with my FreeBSD server a little too much, and I have a lot of useless ports installed, especially apache, PHP+ext, etc... I was wondering how to uninstall them and get back to a base system (kind of). I tried uninstalling apache by doing 'make deinstall' in the ports directories apache13, apache13-modssl, apache13-modperl, but it says it is not installed. I'm from the linux world and I'm trying FreeBSD. What I'd like to do is to do the equivalent of yum -y remove httpd (or apt-get remove apache). This way, apache would be removed and all the software it depends on. Thanks for your help. -- Ugo - Please don't send a copy of your reply by e-mail. I read the list. - Please avoid top-posting, long signatures and HTML, and cut the irrelevant parts in your replies. ___ 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] -- Ugo - Please don't send a copy of your reply by e-mail. I read the list. - Please avoid top-posting, long signatures and HTML, and cut the irrelevant parts in your replies. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PCBSD on Windows
For anyone who has been curious about maybe giving PCBSD a run for it's money but just haven't had the time (or resources) to do so, here is your answer: http://www.pcbsd.org/index.php?id=23 I just installed VMware Player (5 mins.) and ran the PCBSD VMware image off it and...done. A fully functional PCBSD environment. This is extremely beneficial to anyone forced to use a Microsoft OS. It seems like PCBSD is quickly obtaining the just works status. -David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Standard way of updating 6.x ?
On Tuesday 31 January 2006 17:45, Garrett Cooper wrote: On Jan 31, 2006, at 8:31 AM, Xn Nooby wrote: portupgrade: Use for updating your actual ports programs. There may be a more elegant solution though and I would be more than happy to hear it too :). -Garrett I find that portmanager generally does a better job at keeping ports up to date without manual intervention. A notable example being its ability to upgrade Gnome without the help of a script. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: uninstall httpd + others to get a base system only
all packages installed _should_ be in /var/db/pkg(i think) i'm in windows now. so if you pkg_delete /var/db/pkg/* that should clean it all up. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Java without Motif/X?
Greetings, Has anyone successfully gotten Java (1.4 or 1.5) running on FreeBSD without Motif/X? I'd like to run a gui-less Java app on my server, and would strongly prefer to not install all of X + Motif, and all its potential security issues, just to get Java running. Thanks in advance, -Nick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sshd error on 5.4
On Tue, Jan 31, 2006 at 05:17:32PM -0800, gahn wrote: Thanks kris: Yes, I meant I saw one is running [440] (after booting procedure finishes) but why it started the another one [445] when it reboots? I actually fell back the original one and error is still there. Perhaps because of the way you modified /etc/rc.d/sshd? You need to tell us more about what you did to your system. I upgraded sshd on the 5.4 (VPN server) and made /etc/rc.d/sshd using /usr/local/sbin/sshd instead of old one /usr/sbin/sshd. If you modified the rc.d script, you did something wrong. It already provides rc.conf variables that you can use to control the location of the ssh binary to run (see the rc.conf manpage). Kris pgpuS9xAI4074.pgp Description: PGP signature
Re: Standard way of updating 6.x ?
Wednesday 01 February 2006 10:56、RW さんは書きました: On Tuesday 31 January 2006 17:45, Garrett Cooper wrote: On Jan 31, 2006, at 8:31 AM, Xn Nooby wrote: portupgrade: Use for updating your actual ports programs. There may be a more elegant solution though and I would be more than happy to hear it too :). -Garrett I find that portmanager generally does a better job at keeping ports up to date without manual intervention. A notable example being its ability to upgrade Gnome without the help of a script. I also found portupgrade both more capable in many cases and more easy-to-use (just portmanager -u to do what one usually wants to do). Too bad it was pulled from ports. -- Emails appear more personalised with signatures. pgpnCSRjoMtI8.pgp Description: PGP signature
Re: PCBSD on Windows
Great tip. Thanks. - Original Message - From: David Stanford [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Wednesday, February 01, 2006 9:34 AM Subject: PCBSD on Windows For anyone who has been curious about maybe giving PCBSD a run for it's money but just haven't had the time (or resources) to do so, here is your answer: http://www.pcbsd.org/index.php?id=23 I just installed VMware Player (5 mins.) and ran the PCBSD VMware image off it and...done. A fully functional PCBSD environment. This is extremely beneficial to anyone forced to use a Microsoft OS. It seems like PCBSD is quickly obtaining the just works status. -David ___ 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]