probleme avec mysql
Hi I've just instal apache2 server and php4 on a freebsd 6.1. I want to instal mysql server 4.1 or 5 (i tryed both) and when i want to start this deamon, it isn't started because when i want to change the password root, there is a message say that may be the service is not started or may be there is no mysql.sock in /tmp. Thanks to help me if you have a solution. Sorry for my english (i m french lol) sebastien Bonjour Je viens d'installer un serveur apache2 ainsi que php4 sur la freebsd 6.1. J'ai voulu installer mysql server 4.1 ou 5 (j'ai essayé les deux), et je lance la commande pour demarer, et je pense qu'il ne demarre pas car quant je veu mettre un mot de passe root, il me renvoi une erreur en me disant que le serveur n'est peut etre pas demmarré ou bien que mysql.sock n'est pas present dans /tmp. Vous pourriez peut etre apporter un eclairsissement a mon probleme, car je n'arrive pas a voir d'ou vien le probleme. Je vous remercie par avance Sebastien mailto:[EMAIL PROTECTED] - Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How can I repartition my drive?
Hello, How can I repartition my drive? I already have the hd dedicated for FreeBSD and 6.2-RC1 is installed. Is there away to make /var ..etc without reinstalling the OS? Thank you, Abdullah Arab Portal http://www.WeArab.Net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /usr/ports/x11-toolkits/eel linker error
20061014: AFFECTS: All GTK+2 and GNOME users AUTHOR: [EMAIL PROTECTED] GNOME has been updated to 2.16. All GTK+2 and GNOME components have been moved from X11BASE (/usr/X11R6) to LOCALBASE (/usr/local). To upgrade your GNOME desktop or/and other applications you will need to use either sysutils/portupgrade or sysutils/portmaster. To use portmaster, make sure you have least 1.9 version to have the upgrade succeed. Portupgrade users: pkgdb -Ff portupgrade -rf pkg-config\* I did this, but I still get the same error. I thought this was a problem with my ports tree, but it is not the case. I did not want to reinstall everything again. Fortunately, I had another FreeBSD 6.1-RELEASE machine. I did exactly the same things there ( portsnap fetch ; portsnap update; pkdb -Ff ; portupgrade -rf pkg-config\* ) and I got the same problem again. I cannot install ee1 because of the same linker error. I also tried this: messias# portupgrade -a Stale dependency: gail-1.9.3 -- gnome2-fifth-toe-2.12.3 -- manually run 'pkgdb -F' to fix, or specify -O to force. messias# pkgdb -F --- Checking the package registry database messias# Although the dependency error was different on the other machine, it is the same kind. I think I did everything right, and now I have two machines where I cannot move forward. Can this be a bug in portupgrade, or FreeBSD? How it is possible that portupgrade thinks there is a stale dependency, but pkgdb cannot find it? Regards, Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Corrupted C Compiler
On Mon, 4 Dec 2006, Rachel Florentine wrote: From: Jan Grant [EMAIL PROTECTED] I don't think it makes much sense, no. Zope is python-based and unless you're building products that rely on native libraries, what you describe doesn't sound like an accurate diagnosis. It's more likely (this is a stab in the dark) that you're running a script to regerate .pyc files; these are precompiled python bytecode files that are built from the corresponding .py files. I don't have my references in front of me, but I ran into an error when I tried to runzope that I didn't understand, so I yahoo'd it and discovered that my c libraries were corrupted. It was recommended I run a certain command to clean them up. I ran that command and everything went smoothly. I repeated this process a few times. So yes, I'm sure that's what I did. When you have a chance, it'd be nice to get a detailed error report (including the command you were running to clean up the libraries). -- jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/ Tel +44 (0)117 3317661 http://ioctl.org/jan/ ...and then three milkmaids turned up (to the delight and delactation of the crowd). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /usr/ports/x11-toolkits/eel linker error
messias# portupgrade -a Stale dependency: gail-1.9.3 -- gnome2-fifth-toe-2.12.3 -- manually run 'pkgdb -F' to fix, or specify -O to force. messias# pkgdb -F --- Checking the package registry database messias# I just realized that this is a gnome 2.12 dependency. It should not be there at all (the new ports tree is using gnome 2.16). But I cannot remove this dependency. :-( messias# whereis gnome2-fifth-toe gnome2-fifth-toe: /usr/ports/x11/gnome2-fifth-toe messias# cd /usr/ports/x11/gnome2-fifth-toe messias# make deinstall === Deinstalling for x11/gnome2-fifth-toe === gnome2-fifth-toe not installed, skipping I also tried to remove gail, but then I got this: messias# portupgrade -a Stale dependency: gmake-3.81_1 -- gnome2-fifth-toe-2.12.3 -- manually run 'pkgdb -F' to fix, or specify -O to force. messias# pkgdb -F --- Checking the package registry database messias# I also tried pkgdb -Ff and portsdb -Uu, but the problem remains the same. Do any of you have an idea what is wrong? Thanks, Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD Port Question
Hi guys How can one find the location of the URL/FTP site where FreeBSD 6.1 fetches the Source of a Distribution for example, mysql50??? I am trying to compile and install mysql50 at my freebsd61 web server from source. I can install it from the ports easily and have done twice. (location: /usr/ports/databases/mysql50-server/) But I want to change the location of installation for chroot reason and wanna configure with some paraments before compilation too. So, I have tried A LOT to find the source distribution of mysql-50 for freebsd6x from dev.mysql.com website or other mirros but with NO luck. They only have the binary distribution of mysql50 for FreeBSD 6x. My question is that how can I find the location of the site/ftp where from FreeBSD61 fetches? I have tried to go through the Makefile. But since I am a novice, I cannot understand a bit what it says? a snipt from Makefile: PORTNAME?= mysql PORTVERSION=5.0.2 PORTREVISION?= 0 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_MYSQL} MASTER_SITE_SUBDIR= MySQL-5.0 PKGNAMESUFFIX?= -server DISTNAME= ${PORTNAME}-${PORTVERSION}-alpha MAINTAINER= [EMAIL PROTECTED] COMMENT?= Multithreaded SQL database (server) WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-alpha SLAVEDIRS= databases/mysql50-client PKGINSTALL?=${WRKDIR}/pkg-install DB_DIR?=/var/db/mysql USE_LIBTOOL_VER=15 USE_REINPLACE= yes USE_RC_SUBR=yes -- Thanks! BR / vj ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Configuring DNS (BIND) in isolation
Andrew Falanga wrote: You're on the right track. Yes, you'ld need a zone file for the root of your DNS -- if it's all served from one machine then that would replace the 'hint' zone and named.root stuff in the example named.conf The zone file for '.' would contain an SOA record and then delegation for whatever forward and reverse domains you want to use. Eg. supposing you want to use the TLD 'in.isolation' with IP numbers from 192.168.0.0/24 then you'ld need something like: ; ; Root of the private domain name system ; $TTL 604800; 1 week @ IN SOA ns0.in.isolation. hostmaster.in.isolation. ( 2006120100 ; Serial 1800 ; Refresh (30min) 900; Retry (15min) 604800 ; Expire (1week) 86400 ); Minimum (1day) in.isolation.IN NS ns0.in.isolation. 0.168.192.in-addr.arpa. IN NS ns0.in.isolation. ns0.in.isolation.IN A 192.168.0.1 ; Glue ; ; That's All Folks! ; Ok, here's the problems I've got so far. I've made the following files, isolated.zone, isolated.rev, localhost.rev, localhost-v6.rev and root.zone The isolated.* files are for the forward addresses and the reverse pointers for 192.168.0.0/24 that I've set up. The root.zone file contains, what I thought should be, for the . zone. (Matthew, from your message above, I wasn't clear if all I'd need is what you have above, or that it was implied that I'd need a SOA for the . zone as well. So, I made one.) The above *is* for the root zone. Now, I'm getting a few errors. Sometimes it seems that named can't find the files that I told it to look for in named.conf. I used the original named.conf file as a reference, and just filled in the blanks as it were, for my zones. Also, named keeps complaining about rndc.key files missing. How do I generate these key files? I didn't find anything from 'man rndc'? Use rndc-confgen and follow the instructions written in the file it outputs about editing named.conf. You won't need a separate rndc.key file. Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: FreeBSD Port Question
On Tue, Dec 05, 2006 at 10:38:30AM +0100, VeeJay wrote: a snipt from Makefile: PORTNAME?= mysql PORTVERSION=5.0.2 PORTREVISION?= 0 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_MYSQL} # grep -nie master.*site.*mysql /usr/ports/Mk/* /usr/ports/Mk/bsd.sites.mk:661:.if !defined(IGNORE_MASTER_SITE_MYSQL) /usr/ports/Mk/bsd.sites.mk:662:MASTER_SITE_MYSQL+= \ After looking into the file /usr/ports/Mk/bsd.sites.mk we see for example: ftp://ftp.easynet.be/mysql/Downloads/%SUBDIR%/ \ so what about subdir? /usr/ports/databases/mysql50-server]# grep -ie subdir= Make MASTER_SITE_SUBDIR= MySQL-5.0 so we have: ftp://ftp.easynet.be/mysql/Downloads/MySQL-5.0/ tada :) cya, Julian D. `alamar` Seifert -- If the truth is in your favor no one will believe you. gpg fingerprint: 435D DDDA 251B 9D70 2F72 78E0 AA5F 11F4 A4ED 451E pgp5JrHcJhFS1.pgp Description: PGP signature
Re: probleme avec mysql
On Tue, Dec 05, 2006 at 09:02:39AM +0100, sebcouf wrote: Hi I've just instal apache2 server and php4 on a freebsd 6.1. I want to instal mysql server 4.1 or 5 (i tryed both) and when i want to start this deamon, it isn't started because when i want to change the password root, there is a message say that may be the service is not started or may be there is no mysql.sock in /tmp. Thanks to help me if you have a solution. Sorry for my english (i m french lol) sebastien Hi Sebastien, How are you trying to start mysql? Have you tried putting: mysql_enable=YES in /etc/rc.conf and rebooting? When you install mysql, it installs it but doesn't start it IIRC. -- Frank echo f r a n k @ e s p e r a n c e - l i n u x . c o . u k | sed 's/ //g' ---PGP keyID: 0x10BD6F4B--- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Port Question
Thanks Julian But it is still compiled distribution mysql-standard-5.0.27-freebsd6.0-i386.tar.gz I have tried to download it and tar it Like there is a Source distribution is also availible for Windows plateform: mysql-5.0.24a-win-src.tar.gz I wonder if I can get Source Distribution for FreeBSD 6.x :o( Brgds VJ On 12/5/06, Julian D. Seifert [EMAIL PROTECTED] wrote: On Tue, Dec 05, 2006 at 10:38:30AM +0100, VeeJay wrote: a snipt from Makefile: PORTNAME?= mysql PORTVERSION=5.0.2 PORTREVISION?= 0 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_MYSQL} # grep -nie master.*site.*mysql /usr/ports/Mk/* /usr/ports/Mk/bsd.sites.mk:661:.if !defined(IGNORE_MASTER_SITE_MYSQL) /usr/ports/Mk/bsd.sites.mk:662:MASTER_SITE_MYSQL+= \ After looking into the file /usr/ports/Mk/bsd.sites.mk we see for example: ftp://ftp.easynet.be/mysql/Downloads/%SUBDIR%/ \ so what about subdir? /usr/ports/databases/mysql50-server]# grep -ie subdir= Make MASTER_SITE_SUBDIR= MySQL-5.0 so we have: ftp://ftp.easynet.be/mysql/Downloads/MySQL-5.0/ tada :) cya, Julian D. `alamar` Seifert -- If the truth is in your favor no one will believe you. gpg fingerprint: 435D DDDA 251B 9D70 2F72 78E0 AA5F 11F4 A4ED 451E -- Thanks! BR / vj ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: custom rc.d script not working
Gobbledegeek wrote: I compiled quagga 0.99.5 from source (not freebsd port) and wrote this little script in the /etc/rc.d/zebra file. --- #!/bin/sh # PROVIDE: zebra # REQUIRE: NETWORKING . /etc/rc.subr name=zebra rcvar=${name}_enable required_files=/usr/local/etc/${name}.conf command=/usr/local/sbin/${name} command_args=-d pidfile=/var/run/${name}.pid load_rc_config $name run_rc_command $1 -- /etc/rc.conf has zebra_enable=yes However it only starts zebra when I execute it manually from command line. When I boot freebsd, it executes and I see message in boot screen that zebra is starting, but on login I find zebra isn't running. all files in /usr/local/sbin/ for zebra executables are owned by quagga/quagga user/group. Once I get this working, I will ofcourse add scripts for ospfd and bgpd and isisd.. but it beats me why this isn't working... This is on freebsd 6.2 RC1 i386. Thanks very much in advance for your help... PS: Please CC me as I am not subscribed. In the latest quagga port there is already an RC script ready for use. It gets installed to /usr/local/etc/rc.d/. Tom J ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Corrupted C Compiler
81- Original Message From: Jan Grant [EMAIL PROTECTED] When you have a chance, it'd be nice to get a detailed error report (including the command you were running to clean up the libraries). I get this error when I try to runzope: ImportError: No module named cPersistence I yahoo'd this page: http://aspn.activestate.com/ASPN/Mail/Message/zope-List/1985451 which told me about the problem with my corrupted files (c extensions) and said I needed to recompile them with this command: python setup.py build_ext -if which takes care of that problem. What is interesting is that I do not have this problem if I compile from port! Now, all I'm doing is the configure-make-make install-make instance dance, which is a no-brainer. TIA, Rachel __ 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]
Promise PDC20371 SATA150 controller - machine hangs
Hello, I have upgraded my FreeBSD-5.3-p37 based machine to FreeBSD-6.1-p10 last Thursday. The machine is a PIV 3,2 Ghz with 2 Gig RAM with a Promise PDC20371 SATA150 controller, on which two disks (both are Seagate ST3200822AS 3.01) are attached and configured as RAID-1 (from dmesg): ar0: 190782MB Promise Fasttrak RAID1 status: READY ar0: disk0 READY (master) using ad6 at ata3-master ar0: disk1 READY (mirror) using ad4 at ata2-master # atacontrol status ar0 ar0: ATA RAID1 subdisks: ad6 ad4 status: READY This machine gets backed up by another machine using amanda and gtar. Both gtar and amanda are the latest from the ports tree as of Saturday last week both on the backup server as on the client (the machine I'm talking about). The problem: The machine hangs when the backup runs. The machine is in a datacenter and has a serial console attached. Thanks to a remote access card I was able to reboot the machine and put it into single user in order to fsck -f -y the single disks (i.e. ad4s1x and ad6s1x, where x are the appropriate slice names). I then started the backup again and all went well. Unfortunately this scenario happened twice (Saturday morning and today morning). I have checked the two disk with smartctl, no errors are logged. syslogd mentioned nothing in the logs too. The machine has run for 1,5 years with FreeBSD-5.3-RELEASE-pxx. I guess something must have changed in the ata driver or the controller goes its way to hell anyway. Is this a known problem with this controller on FreeBSD-6.1? How can I provide more information (shall I compile in DDB, KDB, KDB_UNATTENDED)? Thanks, Mic PS: I hope this is the right mailing list for this question. Else: please advise the proper one :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Duo core enable/support help.
Hello Lane! I'm a frequent reader to /usr/src/UPDATING But whenever I need to update or upgrade only, since years! Also I knew very well whats KERNCONF! i just wanted to know and make sure of the duo core options, and i searched the NOTES file, didnot find anything about it. Thank you for your short problematic answer :) by the way, After recompiling the kernel and From my dmesg ACPI APIC Table: INTEL D11020M FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 4 SMP: AP CPU #1 Launched! - But I still have few dmesg errors, these are the lines, acpi0: INTEL D11020M on motherboard acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 21 acpi0: Power Button (fixed) acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR unknown: I/O range not supported Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 32-bit timer at 3.579545MHz port 0x408-0x40b on acpi0 cpu0: ACPI CPU on acpi0 acpi_perf0: ACPI CPU Frequency Control on cpu0 acpi_perf0: failed in PERF_STATUS attach device_attach: acpi_perf0 attach returned 6 acpi_perf0: ACPI CPU Frequency Control on cpu0 acpi_perf0: failed in PERF_STATUS attach device_attach: acpi_perf0 attach returned 6 acpi_throttle0: ACPI CPU Throttling on cpu0 cpu1: ACPI CPU on acpi0 acpi_perf1: ACPI CPU Frequency Control on cpu1 acpi_perf1: failed in PERF_STATUS attach device_attach: acpi_perf1 attach returned 6 acpi_perf1: ACPI CPU Frequency Control on cpu1 acpi_perf1: failed in PERF_STATUS attach device_attach: acpi_perf1 attach returned 6 acpi_throttle1: ACPI CPU Throttling on cpu1 acpi_throttle1: failed to attach P_CNT device_attach: acpi_throttle1 attach returned 6 acpi_button0: Power Button on acpi0 and usb2: waiting for BIOS to give up control usb2: timed out waiting for BIOS usb2: EHCI version 1.0 usb2: companion controllers, 4 ports each: usb0 usb1 usb2: ATI SB400 USB 2.0 controller on ehci0 usb2: USB revision 2.0 Any easy problematic ideas? :) Thank you ---Marwan First read /usr/src/UPDATING. Really. No, really. I mean read it :) And, since no one expects you to really, really read it, I'll give you some shortcuts. First, look for the word KERNCONF in /usr/src/UPDATING Read all of the language around every occurence of that word (KERNCONF). Then, when you are ready, do this: make buildkernel KERNCONF=SMP make installkernel KERNCONF=SMP Then reboot. Note here that I'm giving you the shortest possible route, which may be problematic for you. You really must become familiar with /usr/src/UPDATING. Anyway, after the reboot, you should type: cat /var/log/messages | grep -i launch if you see the terms CPU1 Launched! then you've got yourself an SMP kernel. Good Luck! lane _ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSDStats Report for December 1st, 2006
On Mon, 04 Dec 2006 22:13:53 -0400 Marc G. Fournier wrote: report_devices sends the output of pciconf -l | grep -v none (active devices) Wow, thus you throw out the info about hardware not used/don't have drivers. Are you really not interested at the latter? WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSDStats Report for December 1st, 2006
Marc G. Fournier wrote: report_devices sends the output of pciconf -l | grep -v none (active devices) http://bsdstats.org/freebsd/devices.php?show=class suggests that there are 27,000 bridge devices in use, but according to the main report on the front page, only ~3,000 FreeBSD systems overall. How can this be? Svein Halvor signature.asc Description: OpenPGP digital signature
Re: How Do Binary Repair
Okay, please walk me through this one, since I can't afford to screw it up. The server is on the other side of the planet, so reinstalling from an iso is impractical. How do I fetch the base files? Hi Rachel, I'm not 100% sure but I think you need to login to a FreeBSD FTP mirror, download a recent GCC binary from the installation files and put it in place of the old one. Maybe someone can confirm? HTH, Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSDStats Report for December 1st, 2006
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On Tuesday, December 05, 2006 15:20:53 +0300 Boris Samorodov [EMAIL PROTECTED] wrote: On Mon, 04 Dec 2006 22:13:53 -0400 Marc G. Fournier wrote: report_devices sends the output of pciconf -l | grep -v none (active devices) Wow, thus you throw out the info about hardware not used/don't have drivers. Are you really not interested at the latter? We had actually discussed including it, but we had no way of determining not in use vs no driver available ... several have tried to figure out something, but nobody, as of yet, has been able to do so :( Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFdW1q4QvfyHIvDvMRAnpzAJ0fVuTgMNsc1c0kme3N0C3TOPsdLgCgztRM 08uKisTQuJkD9EkJ9lNJzRo= =CE/6 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSDStats Report for December 1st, 2006
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On Tuesday, December 05, 2006 13:35:05 +0100 Svein Halvor Halvorsen [EMAIL PROTECTED] wrote: Marc G. Fournier wrote: report_devices sends the output of pciconf -l | grep -v none (active devices) http://bsdstats.org/freebsd/devices.php?show=class suggests that there are 27,000 bridge devices in use, but according to the main report on the front page, only ~3,000 FreeBSD systems overall. How can this be? Error in the SQL query ... fixed now, only 13k ... note that the bridge class includes drivers such as: 36811 | hostb3| 1103 | 1022 | 06| | 2006-12-01 06:39:55.706052 36811 | hostb2| 1102 | 1022 | 06| | 2006-12-01 06:39:55.706052 36811 | hostb1| 1101 | 1022 | 06| | 2006-12-01 06:39:55.706052 36811 | hostb0| 1100 | 1022 | 06| | 2006-12-01 06:39:55.706052 36811 | pcib6 | 005d | 10de | 06| 0400 | 2006-12-01 06:39:55.706052 36811 | pcib5 | 005d | 10de | 06| 0400 | 2006-12-01 06:39:55.706052 36811 | pcib4 | 005c | 10de | 06| 0401 | 2006-12-01 06:39:55.706052 so, in the above case, there are 7 in that one machine ... - Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFdXAU4QvfyHIvDvMRAmNAAJoD5MAisV5npdiES9lgPURFLGVetACfSngi 5eDiJVOZk3XR9MTNPa+jJeE= =96xD -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SOLVED : nfs issue after client crash
Somebody gave me the answer to my question http://lists.freebsd.org/pipermail/freebsd-questions/2006-November/135179.html I'm posting it in case somebody hits a similar problem. I have a bunch of Ubuntu clients which mount /home at boot time from a FreeBSD 6.1 NFS server. When a client crashes it won't mount /home at boot. In that case, trying to mount manually gives can not read super bloc. The client still appears in the showmountoutput of the server. Sometimes /home will be mounted after the second reboot but sometimes not even after several reboots (I haven't been able to find a regular pattern here). If I restart the NFS server or just wait long enough (e.g. one day) everything is OK. By default the client is using NFS/TCP and when it crashes it does not release the TCP connection. It appears that the server then refuses to establish a second connection. On the linux clients I'm now using mount -o udp /home in my rc.local and everything seems fine. Regards, Thierry. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: network interface status
Beni wrote: Hi, Every day, Charly Root sends me an email with the Daily Run Output. In it is a section Network interface status who regroups per interface the traffic. What do i launch (manually) to get those results (not especially by mail but on screen is fine) ? Thanks, Beni. man periodic 'periodic' is a command which produced the email output you are inquiring about. From the console, type in 'man periodic' for more information, but to simply produce the same email you are getting, by default, nightly, type in 'periodic daily' from the console. -- Nathan Vidican [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: Corrupted C Compiler
On Tuesday 05 December 2006 05:38, Rachel Florentine wrote: 81- Original Message From: Jan Grant [EMAIL PROTECTED] When you have a chance, it'd be nice to get a detailed error report (including the command you were running to clean up the libraries). I get this error when I try to runzope: ImportError: No module named cPersistence I yahoo'd this page: http://aspn.activestate.com/ASPN/Mail/Message/zope-List/1985451 which told me about the problem with my corrupted files (c extensions) and said I needed to recompile them with this command: python setup.py build_ext -if which takes care of that problem. What is interesting is that I do not have this problem if I compile from port! Now, all I'm doing is the configure-make-make install-make instance dance, which is a no-brainer. TIA, Rachel That rebuilds the python C library interface stuff I believe, but doesn't have anything at all to do with the system C compiler. There is nothing wrong with your system C compiler. If you look at the Zope port there are a bunch of FreeBSD-specific patches and some additional magic is performed after the build that would also be FreeBSD-centric. I suspect your problems perhaps stem from the fact that installing Zope by hand doesn't give you these patches. -- Thanks, Josh Paetzel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSDStats Report for December 1st, 2006
On Mon, 4 Dec 2006 Marc G. Fournier [EMAIL PROTECTED] wrote: [..] report_devices sends the output of pciconf -l | grep -v none (active devices) Marc, I've wondered for a while why you're excluding 'none' devices, eg on my Compaq Armada 1500c (recent 5.5-STABLE) 'pciconf -lv' includes [EMAIL PROTECTED]:8:0: class=0x03 card=0xb1010e11 chip=0x00c0102c rev=0x64 hdr=0x00 vendor = 'Asiliant (Chips And Technologies)' device = '69000 AGP/PCI Flat Panel/CRT VGA Accelerator' class= display subclass = VGA which is not exactly an inactive device here? While at it, I'm finding the release stats rather confusing, mixing in all of the various release versions of various *BSDs. Having used FreeBSD since 2.2, I have a fair idea which of those numbers are likely not FreeBSD versions, and even an inkling of which OS some of the others might be, but many mightn't know which were apples and which oranges. Perhaps they'd be more useful summarised by OS, or at least prefaced with 'f' or 'o', 'n', 'd' or something else indicative? Just an idea .. Cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Duo core enable/support help.
On Tuesday 05 December 2006 06:14, you wrote: Hello Lane! I'm a frequent reader to /usr/src/UPDATING But whenever I need to update or upgrade only, since years! Also I knew very well whats KERNCONF! i just wanted to know and make sure of the duo core options, and i searched the NOTES file, didnot find anything about it. Thank you for your short problematic answer :) by the way, After recompiling the kernel and From my dmesg ACPI APIC Table: INTEL D11020M FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 4 SMP: AP CPU #1 Launched! - But I still have few dmesg errors, these are the lines, acpi0: INTEL D11020M on motherboard acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 21 acpi0: Power Button (fixed) acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR unknown: I/O range not supported Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 32-bit timer at 3.579545MHz port 0x408-0x40b on acpi0 cpu0: ACPI CPU on acpi0 acpi_perf0: ACPI CPU Frequency Control on cpu0 acpi_perf0: failed in PERF_STATUS attach device_attach: acpi_perf0 attach returned 6 acpi_perf0: ACPI CPU Frequency Control on cpu0 acpi_perf0: failed in PERF_STATUS attach device_attach: acpi_perf0 attach returned 6 acpi_throttle0: ACPI CPU Throttling on cpu0 cpu1: ACPI CPU on acpi0 acpi_perf1: ACPI CPU Frequency Control on cpu1 acpi_perf1: failed in PERF_STATUS attach device_attach: acpi_perf1 attach returned 6 acpi_perf1: ACPI CPU Frequency Control on cpu1 acpi_perf1: failed in PERF_STATUS attach device_attach: acpi_perf1 attach returned 6 acpi_throttle1: ACPI CPU Throttling on cpu1 acpi_throttle1: failed to attach P_CNT device_attach: acpi_throttle1 attach returned 6 acpi_button0: Power Button on acpi0 and usb2: waiting for BIOS to give up control usb2: timed out waiting for BIOS usb2: EHCI version 1.0 usb2: companion controllers, 4 ports each: usb0 usb1 usb2: ATI SB400 USB 2.0 controller on ehci0 usb2: USB revision 2.0 Any easy problematic ideas? :) Thank you ---Marwan First read /usr/src/UPDATING. Really. No, really. I mean read it :) And, since no one expects you to really, really read it, I'll give you some shortcuts. First, look for the word KERNCONF in /usr/src/UPDATING Read all of the language around every occurence of that word (KERNCONF). Then, when you are ready, do this: make buildkernel KERNCONF=SMP make installkernel KERNCONF=SMP Then reboot. Note here that I'm giving you the shortest possible route, which may be problematic for you. You really must become familiar with /usr/src/UPDATING. Anyway, after the reboot, you should type: cat /var/log/messages | grep -i launch if you see the terms CPU1 Launched! then you've got yourself an SMP kernel. Good Luck! lane _ Marwan, Please don't top post because follow to hard it's I'm guessing here: The acpi messages such as acpi_bus_number: can't get _ADR acpi_perf0: failed in PERF_STATUS attach may be appearing because these features are not yet fully supported. Check on man acpi to learn how to selectively disable acpi functions. The read is rather short, and you may ultimately decide that it's better left alone. As long as these errors don't repeat then it is likely the selected features are simply disabled by the kernel (or not loaded, or however acpi works :) Regarding the acpi errors AND the usb error: Do you detect any diminished performance? Are you unable to mount drives and/or other devices? lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Corrupted C Compiler
- Original Message From: Josh Paetzel [EMAIL PROTECTED] That rebuilds the python C library interface stuff I believe, but doesn't have anything at all to do with the system C compiler. There is nothing wrong with your system C compiler. Well, that's a relief! Thanks! If you look at the Zope port there are a bunch of FreeBSD-specific patches and some additional magic is performed after the build that would also be FreeBSD-centric. I suspect your problems perhaps stem from the fact that installing Zope by hand doesn't give you these patches. Okay. That makes sense :) Thanks again :) Rachel Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSDStats Report for December 1st, 2006
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On Wednesday, December 06, 2006 00:31:49 +1100 Ian Smith [EMAIL PROTECTED] wrote: On Mon, 4 Dec 2006 Marc G. Fournier [EMAIL PROTECTED] wrote: [..] report_devices sends the output of pciconf -l | grep -v none (active devices) Marc, I've wondered for a while why you're excluding 'none' devices, eg on my Compaq Armada 1500c (recent 5.5-STABLE) 'pciconf -lv' includes [EMAIL PROTECTED]:8:0: class=0x03 card=0xb1010e11 chip=0x00c0102c rev=0x64 hdr=0x00 vendor = 'Asiliant (Chips And Technologies)' device = '69000 AGP/PCI Flat Panel/CRT VGA Accelerator' class= display subclass = VGA which is not exactly an inactive device here? 'k, my question back at you is why is there no driver associated with it? Shouldn't there be ... ? But, that said ... I've removed the none driver, since all it will do i make the list longer, but it doesn't hurt anything ... Perhaps they'd be more useful summarised by OS, or at least prefaced with 'f' or 'o', 'n', 'd' or something else indicative? Just an idea .. Click on the FreeBSD icon, and you'll get FreeBSD specific stats ... but, good point about the front page ones, will look at adding a label for there ... - Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFdXkc4QvfyHIvDvMRAhWuAKDZfFgz3ycsvUENh7cRkWgu2JghgwCaAw6L 8jWh2cZjP2tOJg+fEKnFI34= =auh/ -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How Do Binary Repair
On Tuesday 05 December 2006 01:16, Rachel Florentine wrote: 858376 - Original Message From: Kris Kennaway [EMAIL PROTECTED] To: Rachel Florentine [EMAIL PROTECTED] Uh, what I said. Fresh binary media = either reinstall from an iso image, or extract a copy of the damaged files from the freebsd release media in another way (e.g. fetch the base.* files from the ftp site, and pass through cat | tar -xfj -). Okay, please walk me through this one, since I can't afford to screw it up. The server is on the other side of the planet, so reinstalling from an iso is impractical. How do I fetch the base files? TIA, Rachel You're barking up the wrong tree. There's nothing at all wrong with your system compiler. See your other thread about your problems with Zope. You've mistaken using python to repair the python libraries that interface with the C libraries with using gcc to fix something. You admit that you were able to successfully compile and install Zope from the ports system, which uses the system C compiler. If you don't believe me try installing some other ports, or even cd /usr/src make buildworld. (which won't actually touch anything, it's completely safe to do) If you run into compiler issues doing that *THEN* you can start to deal with a corrupted C compiler. Until then I think you'd be money ahead to look at the FreeBSD-specific patches that are applied during the Zope build from the port, and the additional magic that is done in the port's Makefile. I suspect the differences between the port and your hand installation are the root of your problem. -- Thanks, Josh Paetzel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How Do Binary Repair
- Original Message From: Josh Paetzel [EMAIL PROTECTED] Yes, someone else already clued me in ;) Thanks, Rachel Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.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: Looking for a cookbook on Oracle clients...
I have a task that requires I extract a data set from a MySQL server, and push it on to an Oracle (9i) server. Hi Brian, If you're familiar with perl (or have a perl programmer handy) you can choose from a whole bunch of perl modules which interact with MySQL and Oracle databases. For example, in the FreeBSD ports tree you will find databases/p5-DBD-Oracle and databases/p5-DBD-mysql ports. Once you have both of these, it should be quite easy to write your perl script to pump data from the MySQL database with databases/p5-DBD-mysql port, perform the data manipulation your business requires and the dump the results into the Oracle instance with databases/p5-DBD-Oracle. Now, if your objective is to migrate all of your data from MySQL into Oracle, then you can check out the Oracle Migration Workbench. More info on this at http://www.oracle.com/technology/tech/migration/workbench/index.html Good luck, David -- David Robillard UNIX systems administrator Oracle DBA CISSP, RHCE Sun Certified Security Administrator Montreal: +1 514 966 0122 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
umass external usb floppy devices
Greetings to all this morning, After several days of trying, reading, tweaking, and cursing.. I read up on supported umass usb devices supported by FreeBSD 6.1. The only umass usb external floppy drive I see in that list is a Panasonic external floppy. I have a TEAC FD-05PUB USB device. I can mount this device using mount_msdosfs /dev/da0 /mnt no problem. I can cd to this device, and ls and read the contents thereof. However, whenever I try to write to this device, I get device busy, among other messages which I cannot reproduce at the moment, because this is a dual boot machine and I'm on the other side of the HDD now. Does anyone know if there is a tweak, or a hack to get around this write problem with TEAC umass usb floppy drives? Thanks in advance. -- Rev. Z. Wade Hampton [EMAIL PROTECTED] Dedicated to those Rangers who laid down their lives; so that lesser men could be free to cry peace, when there was none. Author unknown ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /usr/ports/x11-toolkits/eel linker error
Laszlo Nagy [EMAIL PROTECTED] writes: The strange thing is that after running portupgrade -rf pkg-config\*, I tried to run it again and it started to upgrade everything again. I think this is bad. No, that's exactly what -f means to portupgrade. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Moving to a new disk..
Hello all, I've got a dying drive on my hands.. and I know I found a doc/guide on the handbook before regarding this.. something like.. # tar cf - --one-file-system -C /var . | tar xpvf - -C /mnt/var where the new drive is fsck'd and mounted at /mnt .. or something else.. where is that? or how would I do that? I just want to take this 20G drive and copy it to a 30G drive.. what would be the best way? (and I need to talk to someone over the phone about this.. it's his box and he has no inet) Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
help! directories changed into regular files! :(
Hi, I remembered thinking, should i backup the directory tree before this chang? nah ;-) i used sed in a directory with subdirs, and it changed all directories into normal files :( the exact command: sed -i -e s/'pm_properties\([^a-z]\)/#__properties\1/g' * after which i discovered it had name the directories name-e and had turned into regular files. no warnings whatsoever. (btw, yes i know that it should have been -i.orig) weird thing is, i can't reproduce the bug, and the command history wasn't big enough to figure out what was so special about this particular situation... sed sais 'in-place editing only works for regular files' but this time it didn't my question though: is there _any_ way to flip the bit that marks the file being a directory? it would really be helpful to me because i've just lost a lot of work. any ideas? bye Martijn. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving to a new disk..
B. Cook wrote: Hello all, I've got a dying drive on my hands.. and I know I found a doc/guide on the handbook before regarding this.. something like.. # tar cf - --one-file-system -C /var . | tar xpvf - -C /mnt/var where the new drive is fsck'd and mounted at /mnt .. or something else.. where is that? or how would I do that? I just want to take this 20G drive and copy it to a 30G drive.. what would be the best way? (and I need to talk to someone over the phone about this.. it's his box and he has no inet) this is what i used when i did it a month ago http://lantech.geekvenue.net/chucktips/jason/chuck/1004897633/index_html it will be slightly different depending on your version, but dump/restore is better than tar Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving to a new disk..
B. Cook wrote: I've got a dying drive on my hands.. and I know I found a doc/guide on the handbook before regarding this.. something like.. # tar cf - --one-file-system -C /var . | tar xpvf - -C /mnt/var [..] what would be the best way? I do it this way: dd if=/dev/ad0 of=/dev/ad2 bs=8m Where /dev/ad0 is the source disk and /dev/ad2 is the destination disk. Make sure nothing is mounted. This process takes place at sector level, so the boot sector, the partition table and even empty sectors are copied. That someone might want to resize some partitions afterwards to be able to use that extra 10 GB. -- Kind regards, Ronald Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Netbeans C/C++ Pack 5.5
hi, have anybody obtained success in install C/C++ pack for Netbeans 5.5 on freeBSD? because on netbeans's site there is no available pack for OS independent distribution. could anyone tell me if there is any ports that do it thanks -- Willy Tiengo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving to a new disk..
Ronald Paul wrote: B. Cook wrote: I've got a dying drive on my hands.. and I know I found a doc/guide on the handbook before regarding this.. something like.. # tar cf - --one-file-system -C /var . | tar xpvf - -C /mnt/var [..] what would be the best way? I do it this way: dd if=/dev/ad0 of=/dev/ad2 bs=8m Where /dev/ad0 is the source disk and /dev/ad2 is the destination disk. Make sure nothing is mounted. This process takes place at sector level, so the boot sector, the partition table and even empty sectors are copied. That someone might want to resize some partitions afterwards to be able to use that extra 10 GB. this is one reason why dump is better. it only dumps what there is to dump. no need to worry about the extra space, etc after the fact ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Booting a Freebsd HD on a windows box?
On Tue, Dec 05, 2006 at 12:08:20AM -0500, Steve Lake wrote: Hi all. I'm looking to merge two of my machines in my home office into one to free up the second one for other uses, but one is a windows machine, the second is my freebsd 5.3x machine. Can I just move the HD from the Freebsd machine over to the windows machine and add something to the boot.ini file to make it bootable from the windows boot prompt, or do I have to do something else? Or can I just mirror the HD from the BSD box into an image file, then just mount and boot that image using Vmware and run it as a virtual machine? I'm trying to find the simplest, most hassle free way to merge the two machines without much tinkering with the existing installs. Any suggestions is welcome. I only picked merging the bsd box into the windows machine because the windows machine has the better hardware. Well, probably almost. That will be making a dual-boot machine. I have several in dual boot. The only odd thing is doing it by combining two already made disks rather than doing it from scratch. First, you probably want the MS system to be in first disk the system recognizes. It is happier that way. You will have to rewrite the MBR on that first disk and put the FreeBSD MBR there. It will be able to boot either the MS or the FreeBSD system, but the MS MBR will not. You should be able to rewrite the MBR any time You may need to do that from a bootable fixit CD. NOTE: that both disks will need to have the FreeBSD MBR, but maybe one currently running FreeBSD already has it. It would hurt to make sure as it is possible to have installed a FreeBSD only system without the MBR. You will probably also have to modify the fstab and possibly some other configuration files on the FreeBSD disk to reflect different addresses. Since the disk will then look like ad1 or da1 instead of ad0 or da0. (Of course ad0-ad1 for IDE type disk or da0-da1 for SCSI type) You would want to modify the /etc/fstab file just before the very last time taking it down before making the change. Otherwise, it should work OK. Now, here is another thing to consider. Now would be an excellent time to move to a more up-to-date version of FreeBSD. Try installing 6.1 or waiting a few days and installing 6.2 when it comes out. Have fun, Good luck, jerry Steven Lake Owner/Technical Writer Raiden's Realm www.raiden.net A friendly web community ___ 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]
spamstats incomplete
Hi everyone, First and foremost, excuse the cross post for those that are on the both lists- but I'm not sure if this is an SA issue or a BSD issue Due to disk space issues I recently created a symlink for /var/log/exim in /usr/var2 Could the creation of the symlink be related to what my spamstats.pl is now producing? As you can see its still reading from /var/log/maillog but data is not complete. File /var/log/maillog : from Dec 5 00:00:00 to Dec 5 11:33:44 Total number of emails processed by the spam filter : 0 Number of spams : n/a Number of clean messages: n/a Average message analysis time : 7.03 seconds Average spam analysis time : 5.83 seconds Average clean message analysis time : 10.06 seconds Average message score : 10.01 Average spam score : 20.42 Average clean message score :-16.28 Total spam volume : 6 Mbytes Total clean volume :38 Mbytes Jean-Paul Natola Network Administrator Information Technology Family Care International 588 Broadway Suite 503 New York, NY 10012 Phone:212-941-5300 xt 36 Fax: 212-941-5563 Mailto: [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: help! directories changed into regular files! :(
On 12/5/06, martijn [EMAIL PROTECTED] wrote: any ideas? The general idea is that kernel never permits *any* write access to directory files even if you have root privileges. Please check once again, what your problem might be. Try backing up your disk with dd and running fsck, or run fsck on a snapshot. And please use shorter lines. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I repartition my drive?
On Tue, Dec 05, 2006 at 10:33:54AM +0300, Abdullah Al-Marrie wrote: Hello, How can I repartition my drive? I already have the hd dedicated for FreeBSD and 6.2-RC1 is installed. Is there away to make /var ..etc without reinstalling the OS? Well, I don't know what you mean by making /var ..etc, but there are things to do if you need to move some things to shift them to where there is more space. For this you do not repartition, but just move certain directory trees and then make symbolic links. Here is an example. Let's say you have a typical setup with one large /home file system that has lots of spare space, but you have begun to fill /var because you have lots of stuff in /var/log and /var/spool. So, you want to move the contents of /var/log and /var/spool in to the /home space where they have room to grow. Do something like this: (While logged in as root - or booted to single user [preferred]) cd /var/log tar cvpf /home/log.tar * cd /var/spool tar cvpf /home/spool.tar * cd /home mkdir var.log mkdir var.spool cd var.log tar xvf ../log.tar cd ../var.spool tar xvf ../spool.tar cd /var mv log log-old ln -s /home/var.log log mv spool spool-old ln -s /home/var.spool spool Now, just check things out to make sure it is all OK. cd /var/log pwd (should display /home/var.log) ls (should have the right stuff for log in it) cd /var/spool pwd (should display /home/var.spool) ls (should have the right stuff for spool in it) If all is well, clean up. cd /var rm -rf log-old rm -fr spool-old cd /home rm log.tar rm spool.tar That will leave space in /var and give log and spool to work The same type of thing can be done with other directories in overloaded file systems if you have room for them elsewhere. Just don't do it for some things like /etc or /sbin that need to stay in root. There is something called growfs, but it is only useful if you have empty unallocated space right next to the partition you want to expand. That is rarely the case. Most people put one partition right after the other without leaving wasted space in between. There are also some other utilities that claim to be able to mush FreeBSD (as well as other types) partitions around, but I have not heard much about them. Most disk partition management utilities actually work on Microsoft partitions which are what FreeBSD calls slices. They do not know anything about FreeBSD partitions - which are actually subdivisions of slices. So, if you do not have the room to do the move and symlink process I describe above, then, you are probably needing to look at buying larger disk. Happy disk management, jerry Thank you, Abdullah Arab Portal http://www.WeArab.Net/ ___ 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: help! directories changed into regular files! :(
Hello, Once upon a Tue, Dec 05 2006, Andrew Pantyukhin hit keys in the following order: The general idea is that kernel never permits *any* write access to directory files even if you have root privileges. well, it happened... i was root atm, in a jail, but i'll try to recreate the bug... Please check once again, what your problem might be. Try backing up your disk with dd and running fsck, or run fsck on a snapshot. too bad its on my live webserver... i can do all this and still get nowhere, reading from your answer i hit something that is not possible. so i won't be able to recreate it anyway.. my problem remains the same, no argueing about it, my directories _did_ turn into files. And please use shorter lines. sorry about that, i forgot to setup my textwith... 72 chars is okay right? bye martijn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: help! directories changed into regular files! :(
Once upon a Tue, Dec 05 2006, martijn hit keys in the following order: Once upon a Tue, Dec 05 2006, Andrew Pantyukhin hit keys in the following order: The general idea is that kernel never permits *any* write access to directory files even if you have root privileges. well, it happened... i was root atm, in a jail, but i'll try to recreate the bug... One more thing, it happened on a nullfs mounted drive... Could that be the problem? martijn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Booting a Freebsd HD on a windows box?
Jerry McAllister wrote: Well, probably almost. That will be making a dual-boot machine. I have several in dual boot. The only odd thing is doing it by combining two already made disks rather than doing it from scratch. First, you probably want the MS system to be in first disk the system recognizes. It is happier that way. It has to be that way; whoever planned out the installation for Windows basically required that the first system disk (either EIDE or SCSI) be the Windows system disk. Unfortunately there's no way to chicken out of doing that. You can choose which partition you want the Windows installation to go on to as long as it's primary (1-4) and not extended (4-8?). -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: custom rc.d script not working
On Tue, Dec 05, 2006 at 11:30:41AM +, Tom Judge wrote: Gobbledegeek wrote: I compiled quagga 0.99.5 from source (not freebsd port) and wrote this little script in the /etc/rc.d/zebra file. --- #!/bin/sh # PROVIDE: zebra # REQUIRE: NETWORKING . /etc/rc.subr name=zebra rcvar=${name}_enable required_files=/usr/local/etc/${name}.conf command=/usr/local/sbin/${name} command_args=-d pidfile=/var/run/${name}.pid load_rc_config $name run_rc_command $1 -- /etc/rc.conf has zebra_enable=yes However it only starts zebra when I execute it manually from command line. When I boot freebsd, it executes and I see message in boot screen that zebra is starting, but on login I find zebra isn't running. all files in /usr/local/sbin/ for zebra executables are owned by quagga/quagga user/group. Once I get this working, I will ofcourse add scripts for ospfd and bgpd and isisd.. but it beats me why this isn't working... This is on freebsd 6.2 RC1 i386. Thanks very much in advance for your help... PS: Please CC me as I am not subscribed. First, I presume you mean to say that you put the script in the '/usr/local/etc/rc.d/' directory and not just /etc/rc.d Secondly, my most frequent error is error with these is to forget to make them executable. If the script does not have execute permission, it is ignored. jerry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I repartition my drive?
Jerry McAllister wrote: On Tue, Dec 05, 2006 at 10:33:54AM +0300, Abdullah Al-Marrie wrote: Hello, How can I repartition my drive? I already have the hd dedicated for FreeBSD and 6.2-RC1 is installed. Is there away to make /var ..etc without reinstalling the OS? Well, I don't know what you mean by making /var ..etc, but there are things to do if you need to move some things to shift them to where there is more space. For this you do not repartition, but just move certain directory trees and then make symbolic links. Here is an example. Let's say you have a typical setup with one large /home file system that has lots of spare space, but you have begun to fill /var because you have lots of stuff in /var/log and /var/spool. So, you want to move the contents of /var/log and /var/spool in to the /home space where they have room to grow. Do something like this: (While logged in as root - or booted to single user [preferred]) cd /var/log tar cvpf /home/log.tar * cd /var/spool tar cvpf /home/spool.tar * cd /home mkdir var.log mkdir var.spool cd var.log tar xvf ../log.tar cd ../var.spool tar xvf ../spool.tar cd /var mv log log-old ln -s /home/var.log log mv spool spool-old ln -s /home/var.spool spool Now, just check things out to make sure it is all OK. cd /var/log pwd (should display /home/var.log) ls (should have the right stuff for log in it) cd /var/spool pwd (should display /home/var.spool) ls (should have the right stuff for spool in it) If all is well, clean up. cd /var rm -rf log-old rm -fr spool-old cd /home rm log.tar rm spool.tar That will leave space in /var and give log and spool to work The same type of thing can be done with other directories in overloaded file systems if you have room for them elsewhere. Just don't do it for some things like /etc or /sbin that need to stay in root. There is something called growfs, but it is only useful if you have empty unallocated space right next to the partition you want to expand. That is rarely the case. Most people put one partition right after the other without leaving wasted space in between. There are also some other utilities that claim to be able to mush FreeBSD (as well as other types) partitions around, but I have not heard much about them. Most disk partition management utilities actually work on Microsoft partitions which are what FreeBSD calls slices. They do not know anything about FreeBSD partitions - which are actually subdivisions of slices. So, if you do not have the room to do the move and symlink process I describe above, then, you are probably needing to look at buying larger disk. Happy disk management, jerry Thank you, Abdullah Arab Portal http://www.WeArab.Net/ If you don't have any free partition space, you will need to backup a partition and delete it to resize things on your disk using sysinstall, which may require that you backup your entire disk and reinstall from scratch. For resizing NTFS partitions (if your system's dual-boot): http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html. Googling for resize {filesystem type} will yield the answers to most questions that you might have about resizing any particular filesystem partition that you may have, but UFS2 support isn't available IIRC.. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
HP 840C
Hello, I'm trying to set up a HP 840C deskjet printer via USB on a FreeBSD server, I'm using cups and hpijs drivers. When I try to print the test print it does not work, it just wait and never print, if I try the same configuration on another computer via paraller port it works, the problem is that the server I must install the printer is a Proliant it has no paraller port. I have this rules for devfs [system=10] add path 'unlpt*' mode 0660 group cups add path 'ulpt*' mode 0660 group cups so perms are ok, ls -l show cups as the onwer of the printer. anyone with a solution? thanks in advances... regards. -- Luis José Da Silva G. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Duo core enable/support help.
On 2006-12-05 12:14, Marwan Sultan [EMAIL PROTECTED] wrote: Hello Lane! I'm a frequent reader to /usr/src/UPDATING But whenever I need to update or upgrade only, since years! Also I knew very well whats KERNCONF! i just wanted to know and make sure of the duo core options, and i searched the NOTES file, didnot find anything about it. If this is what you are asking, then yes, an SMP-capable kernel will discover the two cores of your Intel Core Duo as separate CPUs. On my Toshiba Satellite laptop, this shows up in /var/run/dmesg.boot: % Copyright (c) 1992-2006 The FreeBSD Project. % Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 % The Regents of the University of California. All rights reserved. % FreeBSD is a registered trademark of The FreeBSD Foundation. % FreeBSD 7.0-CURRENT #0: Mon Dec 4 15:30:38 EET 2006 % [EMAIL PROTECTED]:/home/build/obj/home/build/src/sys/KOBE % WARNING: WITNESS option enabled, expect reduced performance. % Timecounter i8254 frequency 1193182 Hz quality 0 % CPU: Genuine Intel(R) CPU T2400 @ 1.83GHz (1828.77-MHz 686-class CPU) % Origin = GenuineIntel Id = 0x6e8 Stepping = 8 % Features=0xbfe9fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE % Features2=0xc1a9SSE3,MON,VMX,EST,TM2,XTPR,b15 % Cores per package: 2 % real memory = 528089088 (503 MB) % avail memory = 507101184 (483 MB) % ACPI APIC Table: TOSHIB 750 % FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs % cpu0 (BSP): APIC ID: 0 % cpu1 (AP): APIC ID: 1 % [...] Then, each core works as a separate CPU, 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: Moving to a new disk..
B. Cook wrote: Hello all, I've got a dying drive on my hands.. and I know I found a doc/guide on the handbook before regarding this.. something like.. # tar cf - --one-file-system -C /var . | tar xpvf - -C /mnt/var where the new drive is fsck'd and mounted at /mnt .. or something else.. where is that? or how would I do that? I just want to take this 20G drive and copy it to a 30G drive.. what would be the best way? (and I need to talk to someone over the phone about this.. it's his box and he has no inet) Thanks in advance. Where could I tell him to get a live cd? the installer CDs offer the option to drop into single user mode.. but it just goes right to the installer.. :P ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving to a new disk..
B. Cook wrote: Where could I tell him to get a live cd? the installer CDs offer the option to drop into single user mode.. but it just goes right to the installer.. :P http://www.freesbie.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving to a new disk..
On 2006/12/05 9:00, B. Cook seems to have typed: Where could I tell him to get a live cd? the installer CDs offer the option to drop into single user mode.. but it just goes right to the installer.. It also allows you to go into FixIt Mode. Choose Fix It from the installer CD. You could also use FreeSBIE if you prefer (2.0RC1 is based off the RC of FreeBSD 6.2): http://www.freesbie.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
resolv.conf and IPv6 and DHCP for IPv6
Is there anything different with entries in resolv.conf for IPv6 addresses? I'm looking at the manual page for resolv.conf and didn't find anything specific to IPv6. Therefore, I'm assuming that the entry would simply be: nameserver fec0::3 vs. nameserver 192.168.0.1 Or whatever. Is this correct? Secondly, does there exist any documentation for configuring the dhcpd program from ports? Thanks, Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving to a new disk..
Eric wrote: B. Cook wrote: Where could I tell him to get a live cd? the installer CDs offer the option to drop into single user mode.. but it just goes right to the installer.. :P http://www.freesbie.org/ Was looking for something smaller.. Other than 635M to run dd :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NFS Problems
I'm all of a sudden having this error pop up: NFSPROC_NULL: RPC: Timed out Both servers have talked with each other before, and I just rebooted them both... What could be going on? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving to a new disk..
On Tue, Dec 05, 2006 at 10:48:18AM -0500, B. Cook wrote: Hello all, I've got a dying drive on my hands.. and I know I found a doc/guide on the handbook before regarding this.. something like.. # tar cf - --one-file-system -C /var . | tar xpvf - -C /mnt/var where the new drive is fsck'd and mounted at /mnt .. or something else.. where is that? or how would I do that? I just want to take this 20G drive and copy it to a 30G drive.. what would be the best way? Build file systems on the new drive in sizes to suit you. Make sure you make the new drive bootable if the old one is used that way. That involves fdisk/bsdlabel/newfs or you can do it using sysinstall which calls fdisk, bsdlabel and newfs for you. Since your new disk is a little larger than the old one, decide where you want to apply the extra space. If root and /usr are doing fine the way they are, I would suggest putting it all in whatever large catch-all partition you have - often mounted as /home. Mount up the new partitions to something meaningful. that means mkdir to make the mount points and mount to mount the partitions. Use dump/restore to transfer things. Example: You have installed the new disk so it looks like /dev/ad1 (the old dying one is /dev/ad0) dd if=/dev/zero of=/dev/ad1 bs=512 count=32 (This makes sure the new drive is clean and can usually be omitted) fdisk -BI ad1 makes 1 FreeBSD slice and writes the MBR bsdlabel -w -B ad1s1 makes the slice bootable bsdlabel -e ad1s1 edit the partition table for the sizes you want. Sample edited partition table: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 52428804.2BSD 2048 16384 32776 b: 2097152* swap c: 585105400unused0 0 # raw part, don't edit d: 1048576*4.2BSD 2048 16384 8 e: 4194304*4.2BSD 2048 16384 28552 f: 6291456*4.2BSD 2048 16384 28552 g:**4.2BSD 2048 16384 28552 Ignore the stuff above the '8 partitions:' line. eg. don't change it. Also, do not change the c: numbers. (I made up one for the example) The asterisks in the offset field tell bsdlabel to do the calculation. The in the last size field tell it to put all the rest in that partition. This gives the following sizes: a: 256 MB (for root (/)) b: 1024 MB (for swap) c: whole disk identifier d: 512 MB (for /tmp) e: 2048 MB (for /usr) f: 3072 MB (for /var) g: 21657 MB (21 GB) for that large catch-all, /home That may seem large for /usr, but will easily be used up if you install all source and do some major builds and install a lot of ports. In fact, you may want to move /usr/ports to /home and make a symlink before you start building ports if you plan to do some big ones like openoffice. The 3 GB in /var gives room to run a small database of some sort. If you do a bigger one you will want a lot more - maybe additional disk. But for this example, these sizes are nice. In addition to catch-all, I am presuming you put user home directories in /home. I am presuming my example matches the partition structure you have on the old disk. It might be different, and so you might prefer to follow that with adjusted sizes rather than the same partitions I lay out here. So, save and end the edit session for the partition table which causes bsdlabel to write it to the disk label. Now you have the partitions created, all you need to do is turn them in to file systems using newfs. Run a newfs on each partition except the one for swap. newfs /dev/ad1s1a etc That would be /dev/ad1s1a, /dev/ad1s1d, /dev/ad1s1e, /dev/ad1s1f, ad1s1g All the fdisk, bsdlabel and newfs stuff can be done with sysinstall rather than by running each step by hand, but really it is about as easy to do it step by step, and then you see each part and understand it a little better. Create mount points: mkdir /newroot mkdir /newusr mkdir /newvar mkdir /newhome Probably don't need to bother with /tmp, since it shouldn't need to be copied. But you can if you like. Mount the partitions: mount /dev/ad1s1a /newroot mount /dev/ad1s1e /newusr mount /dev/ad1s1f /newvar mount /dev/ad1s1g /newhome Now use dump/restore to move stuff over. cd /newroot dump 0af - / | restore -rf - cd /newusr dump 0af - /usr | restore -rf - cd /newvar dump 0af - /var | restore -rf - cd /newhome dump 0af - /home | restore -rf - If any of the restores come up and ask about setting owner/permissions on . answer 'n' I don't think it
jail 127.0.0.x howto
Under freebsd 6.1 I set up an apache 2.0 server in a jail working on fxp0 10.155.1.10 and aliased as 10.155.1.11. It works like a charme. Now while IP 10.155.1.10 is a fixed IP address I've been assigned by my office network administrator (it is also in the office DNS) the aliased IP address, 10.155.1.11, is an abuse of mine just for the sake of trying if the jail worked. Because I'm entitled to have ** one** fixed IP only, I wonder how I can use the 127.0.0.x adddresses to setup the jail for apache, as I found suggested, better hinted, googling. A step by step example would be very helpful. How to set up the jail using the internal addresses? Ciao Vittorio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
wifi dhcp
Ok, we're losin our minds here. Me and a friend just bought up no less than 4 boxes (server, 2 laptops, and a net-device) in about 2 weeks on stable 6.1. My first foray into bsd since '95, and I'm way-pleased. One little problem: every one of them loses it's connection (aka ip) when the wifi goes out and comes back, forcing us to 'dhclient xx0' incessantly. Note we're talking a belkin ath, an ativa ath, a wavelan wi and a linksys wi, not all the same card or even driver. Someone on current said, 'it's probably a problem with the driver's link-state handling' - whatever. Oh, yeah, we've got one set on a dlink ap, and the other on a linksys. Both are running wep for legacy reasons, which I have a sinking feeling may be a contributing factor. Ideas? thanks, Steve -- Steve Franks, KE7BTE Staff Engineer La Palma Devices, LLC http://www.lapalmadevices.com (520) 312-0089 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
acpi
While I'm at it, any thoughts on acpiconf -s3 . 'acpi: suspend request ignored (not ready yet)' best, Steve -- Steve Franks, KE7BTE Staff Engineer La Palma Devices, LLC http://www.lapalmadevices.com (520) 312-0089 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wifi dhcp
On Tuesday 05 December 2006 13:21, Steve Franks wrote: Ok, we're losin our minds here. Me and a friend just bought up no less than 4 boxes (server, 2 laptops, and a net-device) in about 2 weeks on stable 6.1. My first foray into bsd since '95, and I'm way-pleased. One little problem: every one of them loses it's connection (aka ip) when the wifi goes out and comes back, forcing us to 'dhclient xx0' incessantly. Note we're talking a belkin ath, an ativa ath, a wavelan wi and a linksys wi, not all the same card or even driver. Someone on current said, 'it's probably a problem with the driver's link-state handling' - whatever. Oh, yeah, we've got one set on a dlink ap, and the other on a linksys. Both are running wep for legacy reasons, which I have a sinking feeling may be a contributing factor. I see the same behavior (using an older wi(4) card). I haven't done much experimenting with it though since my house isn't that big and I don't lose my link that often. A couple things I would suggest trying, though: Add a killall dhclient somewhere in your boot process. Not ideal for some circumstances, but if you only plan to be on one logical wireless network for a given session then it shouldn't hurt anything. Try using the net/isc-dhcp3-client port instead of the base system's dhclient. E.g.: cd /usr/ports/net/isc-dhcp3-client make install clean echo 'dhclient_program=/usr/local/sbin/dhclient' /etc/rc.conf If you have/use a dhclient.conf file you'll also need to either move it to /usr/local/etc or add 'dhclient_flags=-c /etc/dhclient.conf' to /etc/rc.conf. Good luck! JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NTPD not keeping time
--- Peter A. Giessel [EMAIL PROTECTED] wrote: On 2006/12/01 8:56, Kris Anderson seems to have typed: --- Chuck Swiger [EMAIL PROTECTED] wrote: However, if you are dual-booting between FreeBSD and Windows, you will also need to consider whether to keep the CMOS/BIOS clock running in UTC or in your local timezone; see man adjkerntz for details. Nope, not dual booting, see below. :| It could be that the virtual machine is giving FreeBSD the time in UTC, not your local timezone. Try changing the timezone options (you can use sysinstall - Configue - Time Zone and choosing yes) Peter, I'll give that a shot and see what happens. It certainly is mucking things up, that's for sure, poor cron. :( Although the host clock is correct so I just don't get it. Perhaps just not run ntpd and see what happens. I'll try that the next day. Want to start your own business? Learn how on Yahoo! Small Business. http://smallbusiness.yahoo.com/r-index ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: jail 127.0.0.x howto
vittorio wrote: Under freebsd 6.1 I set up an apache 2.0 server in a jail working on fxp0 10.155.1.10 and aliased as 10.155.1.11. It works like a charme. Now while IP 10.155.1.10 is a fixed IP address I've been assigned by my office network administrator (it is also in the office DNS) the aliased IP address, 10.155.1.11, is an abuse of mine just for the sake of trying if the jail worked. Because I'm entitled to have ** one** fixed IP only, I wonder how I can use the 127.0.0.x adddresses to setup the jail for apache, as I found suggested, better hinted, googling. A step by step example would be very helpful. How to set up the jail using the internal addresses? Ciao Vittorio You could redirect ports from the host to the internal jail loopback IP. Ta, Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NTPD not keeping time
--- John Webster [EMAIL PROTECTED] wrote: --On Friday, December 01, 2006 10:23:17 -0800 Chuck Swiger [EMAIL PROTECTED] wrote: On Dec 1, 2006, at 9:56 AM, Kris Anderson wrote: Darn the system time strayed over night. One thing I failed to mention is that freebsd is running on a virtual machine. Sigh-- you're right, you should have mentioned this before. One should not attempt to change the clock from within a virtual machine at all, only in the parent or host OS. VMs depend on the host OS to provide the timekeeping, and it is known that systems running inside a VM may experience timing glitches as a result of running inside the machine emulation. http://ntp.isc.org/bin/view/Support/KnownOsIssues#Section_9.2.1. Having read that, my guess is that I should just disable ntp and reboot the system. Just so that all is well in the world. I'll give that a shot the next day. *sigh* Thanks. :) Have a burning question? Go to www.Answers.yahoo.com and get answers from real people who know. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
KINDA SOLVED: Re: help! directories changed into regular files! :(
Heheh, now i can reproduce it ;-) I did an in-place searchreplace with sed on a bunch of symlinks to directories, but i didn't remember they were symlinks. When you do that, the symlink gets backed up as a normal file. probably not the behauviour we want, but hey, thats live when you give stupid commands ;-) martijn. Once upon a Tue, Dec 05 2006, martijn hit keys in the following order: Hi, I remembered thinking, should i backup the directory tree before this chang? nah ;-) i used sed in a directory with subdirs, and it changed all directories into normal files :( the exact command: sed -i -e s/'pm_properties\([^a-z]\)/#__properties\1/g' * after which i discovered it had name the directories name-e and had turned into regular files. no warnings whatsoever. (btw, yes i know that it should have been -i.orig) weird thing is, i can't reproduce the bug, and the command history wasn't big enough to figure out what was so special about this particular situation... sed sais 'in-place editing only works for regular files' but this time it didn't my question though: is there _any_ way to flip the bit that marks the file being a directory? it would really be helpful to me because i've just lost a lot of work. any ideas? bye Martijn. ___ 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: spamstats incomplete
As you can see its still reading from /var/log/maillog but data is not complete. File /var/log/maillog : from Dec 5 00:00:00 to Dec 5 11:33:44 Total number of emails processed by the spam filter : 0 Number of spams : n/a Number of clean messages: n/a Average message analysis time : 7.03 seconds Average spam analysis time : 5.83 seconds Average clean message analysis time : 10.06 seconds Average message score : 10.01 Average spam score : 20.42 Average clean message score :-16.28 Total spam volume : 6 Mbytes Total clean volume :38 Mbytes Never mind , I got it - sorry to waste a thread ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cyrus imap: seems Ok, but can't connect with mutt on localhost
List, I have recently set up cyrus IMAP (from ports) and it seems to be behaving itself: % imtest localhost S: * OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID AUTH=DIGEST-MD5 SASL-IR] example.com Cyrus IMAP4 v2.3.7 server ready C: C01 CAPABILITY S: * CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID AUTH=DIGEST-MD5 SASL-IR ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE IDLE LISTEXT LIST-SUBSCRIBED X-NETSCAPE URLAUTH S: C01 OK Completed C: A01 AUTHENTICATE DIGEST-MD5 S: + bm9uY2U...cw== Please enter your password: C: dXNlcm5h...mZjE= S: + cnNwYXV0aD1hYmQ4ZWIyNmYwOWRlMzEyMjQxNzY4M2ZmN2MxMzI1Ng== C: S: A01 OK Success (privacy protection) Authenticated. Security strength factor: 128 . logout * BYE LOGOUT received . OK Completed Connection closed. Similarly, I can send an SMTP message to port 25, and watch Postfix correctly deliver it to cyrus, which squirrels it away in its spool. As a final test, I thought I should be able to access the IMAP folder on localhost via mutt. But it doesn't seem to work. When I fire up mutt (compiled from ports) and try to change folders: c imap://localhost/INBOX It just hangs, with a Connecting to localhost... status message. All I see in /var/log/debug.log is: Dec 5 23:27:20 localhost imap[56129]: accepted connection Nothing in any other log files. Is there something really obvious that I'm overlooking? Thanks, David -- It's overkill of course, but you can never have too much overkill. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
setting serial speed higher than 9600
I am attempting to set the serial speed higher than 9600 to use it for a printer. The stty command does not appear to work; root# stty -a -f /dev/cuaa0 speed 9600 baud; 0 rows; 0 columns; ...snip root# stty -f /dev/cuaa0 57600 root# stty -a -f /dev/cuaa0 speed 9600 baud; 0 rows; 0 columns; lflags: -icanon -isig -iexten ...snip Any suggestions? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: setting serial speed higher than 9600
On 12/6/06, David Banning [EMAIL PROTECTED] wrote: I am attempting to set the serial speed higher than 9600 to use it for a printer. The stty command does not appear to work; root# stty -a -f /dev/cuaa0 speed 9600 baud; 0 rows; 0 columns; ...snip root# stty -f /dev/cuaa0 57600 root# stty -a -f /dev/cuaa0 speed 9600 baud; 0 rows; 0 columns; lflags: -icanon -isig -iexten ...snip Any suggestions? The man page says speed number This sets both ispeed and ospeed to number. Try the command: stty -f /dev/cuaa0 speed=57600 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
extra printer card under fbsd 4.9 - how?
I have been attempting to get a lava printer card to run under FreeBSD 4.9 I have the understanding that FreeBSD 4.9 and below only have recognition for isa printer cards and not pci. There -must- have been people out there using an extra printer on a 4.9 machine that has only pci slots. In my case, my lava card is recognized by puc0 when the machine boots, but the puc is normally for serial card recognition and any googling I have done seems to point to the connection only routing to sio serial devices. I read one post that it may be possible if I found a pci card that worked under DOS, or one that has interrupt DIP switches then I might be in business. Any help or experience that would help here? I am stuck using 4.9 as I use the ibcs2 module which is broken in 5.06.x ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Makefile question... please help...
Hi there, Is it possible to make configuration changes in Makefile to install a port as per one's requirments? I want to accomplish two tasks 1. I want to configure mysql port before installation with following parameters: Could someone tell me that where in the Makefile, I need to put these paramenters in order to get my required results? Makefile is at the end of my message. Required Configuration paramenters: --prefix=/usr/local/mysql --with-mysqld-user=mysql --with-unix-socket-path=/tmp/mysql.sock --with-mysqld-ldflags=-all-static 2. I want to install mysql at my given path, so I could be able to assign the path to mysql user and chroot it PLEASE HELP!!! Becuase, with default Makefile configuration, mysql installs all scripts under /usr/local/sbin folder which other deamons also access for example apache. so, if I alow the access only for mysql ... then other deamons will not have any access... chown -R root /usr/local/bin/mysql chown -R mysql /usr/local/mysql/var chgrp -R mysql /usr/local/mysql # New ports collection makefile for:MySQL-server # Date created: Fri Apr 11 10:06:26 CET 2003 # Whom: Alex Dupre [EMAIL PROTECTED] # # $FreeBSD: ports/databases/mysql50-server/Makefile,v 1.188 2005/03/21 14:08:49 pav Exp $ # PORTNAME?= mysql PORTVERSION=5.0.2 PORTREVISION?= 0 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_MYSQL} MASTER_SITE_SUBDIR= MySQL-5.0 PKGNAMESUFFIX?= -server DISTNAME= ${PORTNAME}-${PORTVERSION}-alpha MAINTAINER= [EMAIL PROTECTED] COMMENT?= Multithreaded SQL database (server) WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-alpha SLAVEDIRS= databases/mysql50-client PKGINSTALL?=${WRKDIR}/pkg-install DB_DIR?=/var/db/mysql USE_LIBTOOL_VER=15 USE_REINPLACE= yes USE_RC_SUBR=yes CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --localstatedir=${DB_DIR} \ --without-debug \ --without-readline \ --without-libedit \ --without-bench \ --without-extra-tools \ --with-libwrap \ --with-mysqlfs \ --with-vio \ --with-low-memory \ --with-comment='FreeBSD port: ${PKGNAME}' \ --enable-thread-safe-client .ifdef USE_MYSQL .error You have `USE_MYSQL' variable defined either in environment or in make(1) arguments. Please undefine and try again. .endif .if defined(WITH_CHARSET) ${WITH_CHARSET} != CONFIGURE_ARGS+=--with-charset=${WITH_CHARSET} .endif .if defined(WITH_XCHARSET) ${WITH_XCHARSET} != CONFIGURE_ARGS+=--with-extra-charsets=${WITH_XCHARSET} .endif .if defined(WITH_OPENSSL) USE_OPENSSL=yes CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE} .endif .if defined(BUILD_STATIC) CONFIGURE_ARGS+=--with-mysqld-ldflags=-all-static .endif .if defined(WITHOUT_INNODB) CONFIGURE_ARGS+=--without-innodb .endif .if defined(WITH_NDB) CONFIGURE_ARGS+=--with-ndbcluster .endif .if defined(WITH_COLLATION) ${WITH_COLLATION} != CONFIGURE_ARGS+=--with-collation=${WITH_COLLATION} .endif .include bsd.port.pre.mk .if ${ARCH} == i386 CONFIGURE_ARGS+=--enable-assembler --with-berkeley-db .endif .if defined(WITH_LINUXTHREADS) CONFIGURE_ARGS+=--with-named-thread-libs='-DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R CONFIGURE_ARGS+=-D_THREAD_SAFE -I${LOCALBASE}/include/pthread/linuxthreads CFLAGS+=-D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE CFLAGS+=-I${LOCALBASE}/include/pthread/linuxthreads .if ${OSVERSION} 50 LIB_DEPENDS+= lthread.[35]:${PORTSDIR}/devel/linuxthreads CONFIGURE_ARGS+=-L${LOCALBASE}/lib -llthread -llgcc_r -llstdc++ -llsupc++' .else LIB_DEPENDS+= lthread.[24]:${PORTSDIR}/devel/linuxthreads CONFIGURE_ARGS+=-L${LOCALBASE}/lib -llthread -llgcc_r' .endif .else CONFIGURE_ARGS+=--with-named-thread-libs=${PTHREAD_LIBS} CFLAGS+=${PTHREAD_CFLAGS} .endif .if ${OSVERSION} 50 CXX=${CC} .endif .if defined(BUILD_OPTIMIZED) CFLAGS+=-O3 -fno-omit-frame-pointer .if ${OSVERSION} 50 || (defined(USE_GCC) (${USE_GCC} == 3.0 || ${USE_GCC} == 3.1 || ${USE_GCC} == 3.2 || ${USE_GCC} == 3.3)) CFLAGS+=-fno-gcse .endif .endif CXXFLAGS+= ${CFLAGS} -felide-constructors -fno-rtti .if ${OSVERSION} = 42 CXXFLAGS+= -fno-exceptions .endif # MySQL-Server part .if !defined(CLIENT_ONLY) !defined(SCRIPTS_ONLY) USE_MYSQL= yes WANT_MYSQL_VER= 50 LATEST_LINK=mysql50-server CONFLICTS= mysql-server-3.* mysql-server-4.* PLIST_SUB= DB_DIR=${DB_DIR} \ VER=${PORTVERSION}-alpha .if defined(WITH_NDB) PLIST_SUB+= NDB= .else PLIST_SUB+= NDB=@comment .endif MAN1= isamchk.1 isamlog.1 mysqld.1 \ mysqld_safe.1 perror.1 replace.1 .if !defined(NOPORTDOCS) PORTDOCS= manual.html manual.txt manual_toc.html .endif INFO= mysql pre-fetch: @${ECHO} @${ECHO}
RE: Makefile question... please help...
-Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of VeeJay Sent: Wednesday, 6 December 2006 8:39 AM To: [EMAIL PROTECTED]; FreeBSD-Questions Subject: Makefile question... please help... edit ports Makefile Yes, you can. But when you update your Ports directory, your edited Makefile will be overwritten. Regards, Russell Wood DISCLAIMER: Disclaimer. This e-mail is private and confidential. If you are not the intended recipient, please advise us by return e-mail immediately, and delete the e-mail and any attachments without using or disclosing the contents in any way. The views expressed in this e-mail are those of the author, and do not represent those of this company unless this is clearly indicated. You should scan this e-mail and any attachments for viruses. This company accepts no liability for any direct or indirect damage or loss resulting from the use of any attachments to this e-mail. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
IBM Server
Hi everyone, I need to buy a cheap server, I was looking for something good and I found the IBM X3400 but I would like to know if FreeBSD has the drivers for the SATA RAID controller that comes embedded on the system. At this time I haven't found the specifications for the controller, but I think it's an Adaptec. Thanks a lot, Marcelo Celleri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IBM Server
I got it!. The SATA RAID controller is Adaptec AIC-9580W... Is there full support on FreeBSD for this? El mar, 05-12-2006 a las 19:04 -0500, Marcelo Celleri escribió: Hi everyone, I need to buy a cheap server, I was looking for something good and I found the IBM X3400 but I would like to know if FreeBSD has the drivers for the SATA RAID controller that comes embedded on the system. At this time I haven't found the specifications for the controller, but I think it's an Adaptec. Thanks a lot, Marcelo Celleri ___ 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]
installing from a harddisk prepared in a functional system
How does one make a 'boot' disk - be it cdrom, harddrive or flash (presuming your bios will boot from all those devices, of course)? 1.The handbook specifies you need to minimally copy the /bin folder to the destination. 2. Obviously you want a valid ufs2 partition. 3. I've repeatedly tried setting the 'bootable' option in fdisk, and the 'A' appears next to the slice, but everytime I reboot it dissappears, even after a 'W' command, so I'm going to try to get this to go without using sysinstall by a manual copy, if I can. 4. Windows partitions need some special files, i.e. ntldr, at a special location on the boot partiton - equivalent in bsd? Or does the loader just look for /bin and load the kernel from there? 5. bootloader seems to work when I put the disk in the new computer - get F1 and F2, but nothing else happens. Basically I'm trying to make an 'image' - put a fresh disk in my working system, format it, make it boot, at least to sysinstall, so I can put it in my other system that has no floppy or cdrom to install from, and get things rolling over the network card. I was thinking I could just do this with a single partition on the target disk, like the install cdrom's do. I want to turn a harddisk into an install cdrom, and then have it install to itself, a dangerous idea, no doubt, but it appears that it could work, I just can't get the new disk to boot in the new system. Thanks, Steve -- Steve Franks, KE7BTE Staff Engineer La Palma Devices, LLC http://www.lapalmadevices.com (520) 312-0089 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: custom rc.d script not working
My script is in /etc/rc.d and it executes - only when I login and find no zebra process... executing it manually starts zebra allright. Why should I put it in /usr/local/etc/rc.d ? I think I see a 0.99.5 version in freshports.org. I'll just use that instead. Thanks ye all for the help... Rgrds On 12/5/06, Jerry McAllister [EMAIL PROTECTED] wrote: On Tue, Dec 05, 2006 at 11:30:41AM +, Tom Judge wrote: Gobbledegeek wrote: I compiled quagga 0.99.5 from source (not freebsd port) and wrote this little script in the /etc/rc.d/zebra file. --- #!/bin/sh # PROVIDE: zebra # REQUIRE: NETWORKING . /etc/rc.subr name=zebra rcvar=${name}_enable required_files=/usr/local/etc/${name}.conf command=/usr/local/sbin/${name} command_args=-d pidfile=/var/run/${name}.pid load_rc_config $name run_rc_command $1 -- /etc/rc.conf has zebra_enable=yes However it only starts zebra when I execute it manually from command line. When I boot freebsd, it executes and I see message in boot screen that zebra is starting, but on login I find zebra isn't running. all files in /usr/local/sbin/ for zebra executables are owned by quagga/quagga user/group. Once I get this working, I will ofcourse add scripts for ospfd and bgpd and isisd.. but it beats me why this isn't working... This is on freebsd 6.2 RC1 i386. Thanks very much in advance for your help... PS: Please CC me as I am not subscribed. First, I presume you mean to say that you put the script in the '/usr/local/etc/rc.d/' directory and not just /etc/rc.d Secondly, my most frequent error is error with these is to forget to make them executable. If the script does not have execute permission, it is ignored. jerry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Rgrds GobbledeGeek [Everything but Gobbledegook.. !!] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: custom rc.d script not working
On Tuesday 05 December 2006 21:26, Gobbledegeek wrote: My script is in /etc/rc.d and it executes - only when I login and find no zebra process... executing it manually starts zebra allright. Why should I put it in /usr/local/etc/rc.d ? I think I see a 0.99.5 version in freshports.org. I'll just use that instead. Thanks ye all for the help... Rgrds On 12/5/06, Jerry McAllister [EMAIL PROTECTED] wrote: On Tue, Dec 05, 2006 at 11:30:41AM +, Tom Judge wrote: Gobbledegeek wrote: I compiled quagga 0.99.5 from source (not freebsd port) and wrote this little script in the /etc/rc.d/zebra file. --- #!/bin/sh # PROVIDE: zebra # REQUIRE: NETWORKING . /etc/rc.subr name=zebra rcvar=${name}_enable required_files=/usr/local/etc/${name}.conf command=/usr/local/sbin/${name} command_args=-d pidfile=/var/run/${name}.pid load_rc_config $name run_rc_command $1 -- /etc/rc.conf has zebra_enable=yes However it only starts zebra when I execute it manually from command line. When I boot freebsd, it executes and I see message in boot screen that zebra is starting, but on login I find zebra isn't running. all files in /usr/local/sbin/ for zebra executables are owned by quagga/quagga user/group. Once I get this working, I will ofcourse add scripts for ospfd and bgpd and isisd.. but it beats me why this isn't working... This is on freebsd 6.2 RC1 i386. Thanks very much in advance for your help... PS: Please CC me as I am not subscribed. First, I presume you mean to say that you put the script in the '/usr/local/etc/rc.d/' directory and not just /etc/rc.d Secondly, my most frequent error is error with these is to forget to make them executable. If the script does not have execute permission, it is ignored. jerry ___ Sorry to butt in ... butt You came from linux, no? The reason to put it in /usr/local/etc/rc.d instead of /etc/rc.d is because everyting in /etc is managed by the OS. Everything in /usr/local is managed by you. This is not of particular concern if you intend to just play with the OS and never commit to it ... let alone upgrade it, or use it in a production environment. If you don't intend to use it in a production environment then put anything you want into /etc. But if you plan to use the OS the way it was intended, then you will understand how an upgrade, and mergemaster, will take days instead of hours, because you've monkeyed with stuff in /etc Pretend it's Windows. Now ask yourself, do I really need to put this file into C:\Windows\System32? Clearly the answer is ... WHAT ARE YOU DOING COMPARING THIS TO WINDOWS But, clearly, I digress :) lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how do I see security logs without turning on sendmail?
is there a way that one can specify a log place to see daily logs like you receive from [EMAIL PROTECTED], when sendmail is turned on? there must be a way to enable only local mail delivery...but I am not sure how.. would like to shut down sendmail but want to see security logs. thanks. Zach using FreeBSD 4.2 and sendmail 8.x (maybe). Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how do I see security logs without turning on sendmail?
On 12/5/06, Wasp King [EMAIL PROTECTED] wrote: is there a way that one can specify a log place to see daily logs like you receive from [EMAIL PROTECTED], when sendmail is turned on? there must be a way to enable only local mail delivery...but I am not sure how.. would like to shut down sendmail but want to see security logs. Look at /etc/defaults/periodic.conf (grep outp /etc/defaults/periodic.conf) NB: changes should usually go in a file named /etc/periodic.conf -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: how do I see security logs without turning on sendmail?
Business and Technology Solutions The Royal Automobile Club of W.A. 832 Wellington Street -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of Wasp King Sent: Wednesday, 6 December 2006 12:49 PM To: freebsd-questions@freebsd.org Subject: how do I see security logs without turning on sendmail? is there a way that one can specify a log place to see daily logs like you receive from [EMAIL PROTECTED], when sendmail is turned on? there must be a way to enable only local mail delivery...but I am not sure how.. would like to shut down sendmail but want to see security logs. thanks. Zach using FreeBSD 4.2 and sendmail 8.x (maybe). In you /etc/rc.conf.local file add: sendmail_enable=no This will only allow Sendmail accept and deliver local mail. Regards, Russell Wood DISCLAIMER: Disclaimer. This e-mail is private and confidential. If you are not the intended recipient, please advise us by return e-mail immediately, and delete the e-mail and any attachments without using or disclosing the contents in any way. The views expressed in this e-mail are those of the author, and do not represent those of this company unless this is clearly indicated. You should scan this e-mail and any attachments for viruses. This company accepts no liability for any direct or indirect damage or loss resulting from the use of any attachments to this e-mail. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how do I see security logs without turning on sendmail?
On Tuesday 05 December 2006 21:49, Wasp King wrote: is there a way that one can specify a log place to see daily logs like you receive from [EMAIL PROTECTED], when sendmail is turned on? there must be a way to enable only local mail delivery...but I am not sure how.. would like to shut down sendmail but want to see security logs. thanks. Zach using FreeBSD 4.2 and sendmail 8.x (maybe). ___ IIRC, sendmail has three controlling values in /etc/rc.conf: sendmail_enable=YES sendmail_enable=NO and sendmail_enable=NONE The third value, NONE, causes the boot process to ignore any attempt to start sendmail. The second value, NO, causes the boot process to start sendmail for local delivery, only (i.e. do NOT accept inbound connections from external hosts). The first value, YES, causes the boot process to start sendmail for outgoing and incoming SMTP connections. There are many tweaks that you can use in /etc/rc.conf - (refer to /etc/defaults/rc.conf) - that will allow various flavors of sendmail usage. See also, /etc/rc.sendmail. In your case sendmail_enable=NO should allow the local system to send periodic information to [EMAIL PROTECTED], or whatever alias you use in /etc/mail/aliases, while disallowing external hosts from sending email by way of the local host. Note that this requires that you pay heed to /etc/mail/Makefile and associated README documentation in /usr/src/contrib/sendmail and below. Best of luck! lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cant able to telnet the freebsd system
Hi Team I put entry in /etc/rc.conf as inetd_enable=YES and after that /etc/inetd.conf I uncomment the telnet line to activate the telnet server then restarted the telnet service /etc/rc.d/inetd restart and it get restarted but I couldnt able to telnet the server both locally or remote Regards Ratheesh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cant able to telnet the freebsd system
I put entry in /etc/rc.conf as inetd_enable=YES and after that /etc/inetd.conf I uncomment the telnet line to activate the telnet server then restarted the telnet service /etc/rc.d/inetd restart and it get restarted If you had to enable inetd, it means it was the first time it was executed, maybe /etc/rc.d/inetd start would be better as it was not started before. Are you sure that inetd is running? ps auwx|grep inetd Are you sure that your machine is listening on telnet port? netstat -a |grep telnet Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cant able to telnet the freebsd system
On Tuesday 05 December 2006 23:01, [EMAIL PROTECTED] wrote: Hi Team I put entry in /etc/rc.conf as inetd_enable=YES and after that /etc/inetd.conf I uncomment the telnet line to activate the telnet server then restarted the telnet service /etc/rc.d/inetd restart and it get restarted but I couldnt able to telnet the server both locally or remote Regards Ratheesh ___ The way to do this live (i.e. without rebooting) is ls -al | grep inetd take note othe number, such as: 697 ?? Is 0:00.01 /usr/sbin/inetd -wW -C 60 Then kill -HUP 697 This will restart inetd and anything that it manages for you, such as telnet, ftp, or whatever. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cant able to telnet the freebsd system
ls -al | grep inetd take note othe number, such as: 697 ?? Is 0:00.01 /usr/sbin/inetd -wW -C 60 Then kill -HUP 697 humm I doubt the ls -al will show any inetd process :) A faster way would be killall -HUP inetd but that is true if an only if inetd has been previsouly running (which may not be the case as Ratheesh mentionned he just enabled it in /etc/rc.conf Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SiS SATA controllers that work with FreeBSD
Hello, Just upgraded my server system from a 1.2 GHz Celeron to a 3.0 GHz and I'm running into an issue with the SATA RAID controller. Every time I have the controller enabled with the drive connected, the system locks up, possibly due to IRQ conflict, etc, but I'm not 100% sure. Also, I'm not sure what the exact model is for the controller, but it possibly could be SiS 964 based on the schematics given in page 13 of the manual-available here: http://dlsvr01.asus.com/pub/ASUS/mb/sock478/p4s800d-x/e1753_p4s800d-x.pdf. So, I was wondering.. 1. If anyone has this motherboard on the list and have been successful with getting the SATA RAID controller to work. ..or... 2. If anyone has a motherboard with a similar chipset that they got the SATA controller to work with. I tried googling a bit, but all I came up with is an possible lead that turned into a dead end (empty PR), and the supported hardware list isn't turning up anything helpful :(.. Here's my pciconf output (please note SATA controller is turned off in BIOS, but SiS964 is listed as a probed device--the LPC): [EMAIL PROTECTED] /home/gcooper]# pciconf -lv [EMAIL PROTECTED]:0:0:class=0x06 card=0x80aa1043 chip=0x06551039 rev=0x50 hdr=0x00 vendor = 'Silicon Integrated Systems (SiS)' device = 'SiS655 Host-to-PCI Bridge' class= bridge subclass = HOST-PCI [EMAIL PROTECTED]:1:0: class=0x060400 card=0x chip=0x00031039 rev=0x00 hdr=0x01 vendor = 'Silicon Integrated Systems (SiS)' device = 'SiS648FX Virtual PCI to PCI Bridge (AGP)' class= bridge subclass = PCI-PCI [EMAIL PROTECTED]:2:0: class=0x060100 card=0x chip=0x09641039 rev=0x36 hdr=0x00 vendor = 'Silicon Integrated Systems (SiS)' device = 'SiS964 LPC Bridge' class= bridge subclass = PCI-ISA [EMAIL PROTECTED]:2:5: class=0x01018a card=0x810e1043 chip=0x55131039 rev=0x01 hdr=0x00 vendor = 'Silicon Integrated Systems (SiS)' device = 'SiS5513 EIDE Controller (A,B step)' class= mass storage subclass = ATA [EMAIL PROTECTED]:2:7: class=0x040100 card=0x810d1043 chip=0x70121039 rev=0xa0 hdr=0x00 vendor = 'Silicon Integrated Systems (SiS)' device = 'SiS7013 PCI Audio Accelerator' class= multimedia subclass = audio [EMAIL PROTECTED]:3:0: class=0x0c0310 card=0x810e1043 chip=0x70011039 rev=0x0f hdr=0x00 vendor = 'Silicon Integrated Systems (SiS)' device = 'SiS5597/8 Universal Serial Bus Controller' class= serial bus subclass = USB [EMAIL PROTECTED]:3:1: class=0x0c0310 card=0x810e1043 chip=0x70011039 rev=0x0f hdr=0x00 vendor = 'Silicon Integrated Systems (SiS)' device = 'SiS5597/8 Universal Serial Bus Controller' class= serial bus subclass = USB [EMAIL PROTECTED]:3:2: class=0x0c0310 card=0x810e1043 chip=0x70011039 rev=0x0f hdr=0x00 vendor = 'Silicon Integrated Systems (SiS)' device = 'SiS5597/8 Universal Serial Bus Controller' class= serial bus subclass = USB [EMAIL PROTECTED]:3:3: class=0x0c0320 card=0x810e1043 chip=0x70021039 rev=0x00 hdr=0x00 vendor = 'Silicon Integrated Systems (SiS)' device = 'SiS7002 USB 2.0 Enhanced Host Controller' class= serial bus subclass = USB [EMAIL PROTECTED]:4:0: class=0x02 card=0x80a71043 chip=0x09001039 rev=0x91 hdr=0x00 vendor = 'Silicon Integrated Systems (SiS)' device = 'SiS900 Fast Ethernet/Home Networking Ctrlr' class= network subclass = ethernet [EMAIL PROTECTED]:9:0: class=0x01 card=0xa1809005 chip=0x00109005 rev=0x00 hdr=0x00 vendor = 'Adaptec Inc' device = 'AHA-2940U2W/U2B AHA-2950U2W Ultra2 SCSI Controller' class= mass storage subclass = SCSI [EMAIL PROTECTED] /home/gcooper]# TIA, -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]