kern.ngroups == num. process groups ?
Hi, I saw a reference to kern.ngroups on this list and didn't know what it meant. I decided to peek at the source and it seems to me that it is the number of process groups. Is that correct? Thanks in advance, Duane Whitty -- [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: best Java enviroment for dev with Eclipse...
On Tue, May 23, 2006 at 03:32:09PM +1000, Norberto Meijome wrote: > Hi all, > i want to do some java / c++ / php development using Eclipse. I currently have > the following installed: > > jdk-1.4.2p8_3 Java Development Kit 1.4.2 > swt-3.1.1 Standard Widget Toolkit for Java > > eclipse-3.1.2 An open extensible IDE for anything and nothing in > particul > eclipse-EPIC-0.3.0_2 EPIC adds Perl support to the Eclipse IDE Framework > eclipse-cdt-3.0.1 C/C++ IDE for Eclipse > eclipse-clay-core-1.2.0 A database design tool for the Eclipse development > environm eclipse-emf-2.1.1 Eclipse Modeling Framework > eclipse-examples-3.0_2 Examples for the Eclipse IDE > eclipse-gef-3.1.1 Graphical Editing Framework for the Eclipse IDE > eclipse-vep-1.1.0.1,1 A framework for creating GUI builders for Eclipse > eclipse-webtools-0.7 Webtools for eclipse > phpeclipse-1.1.4PHP Eclipse adds PHP support to the Eclipse IDE Framework > > but i'm finding many crashes when trying to use it. Should I be using > linux-java port instead of native jdk ? I've been using it with both native 1.4.2 and 1.5 and it's been rock-solid. It's very likely that one of the plugins you're using is buggy and causing it to crash. -- Jonathan Chen <[EMAIL PROTECTED]> -- The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrade from OLD -> NEW release
On 5/23/06, Albert Shih <[EMAIL PROTECTED]> wrote: Le 22/05/2006 à 19:27:47+0200, Dominique Goncalves a écrit > Hi, > > On 5/22/06, Albert Shih <[EMAIL PROTECTED]> wrote: > >Hi all > > > >>From many time I make the upgrade my FreeBSD by using : > > > >make -DNO_PROFILE buildowlrd > >make buildkernel > >make installkernel > >reboot/single > >make -DNO_PROFILE installworld > >mergemaster > >reboot > > > >Well everything work fine..but I always have some old file in /lib and > >/usr/lib > > > >Can I destroy him without problem ? > > There are news targets that can help you since FreeBSD 6.1-RELEASE: > check-old, delete-old and delete-old-libs > > [EMAIL PROTECTED] /usr/src]$ make check-old > >>>Checking for old files > >>>Checking for old libraries > >>>Checking for old directories > To remove old files and directories run 'make delete-old'. > To remove old libraries run 'make delete-old-libs'. > > HTH Of course that help. Lots of thanks. and on old release (because I've lots of 5.x --> 6.x but I've also lots of 4.x --> 5.x) are the some things like that ? AFAIK, unfortunately only since 6.1-RELEASE according to http://www.freebsd.org/cgi/cvsweb.cgi/src/ObsoleteFiles.inc?f=u&only_with_tag=RELENG_6_1&logsort=date Thanks again. Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. 7 ième étage, plateau D, bureau 10 Heure local/Local time: Tue May 23 01:16:33 CEST 2006 Regards. -- There's this old saying: "Give a man a fish, feed him for a day. Teach a man to fish, feed him for life." ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Fdisk error during 6.1-RELEASE cd installation
Thanks for your response and sorry to be so late. I've tested what the FAQ told about and every thing look fine. Prevuiously there was a NetBSD installation on this disk, why FreeBSD can't be installed on the same disk? Ghislain On 5/17/06, Ghislain Garçon <[EMAIL PROTECTED]> wrote: Nobody is interested in my problem or the solution is very simple and I missed it? > Hello, > I have a problem during FreeBSD 6.1-RELEASE installation on a i386 > machine with a boot CD. First, I found that FireWire desactivation > is better to start the installation :-). > But my problem is when Fdisk try to write slice, in log vtty i get : > ad2: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA = 66 > ad2: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA = 66 > ad2: FAILURE - READ_DMA status = 51 error=84 > LBA=66 hello, Please read the FAQ at this link (maybe is what you need): http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/book.html#UDMA- ICRC have a nice day, Ionut ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
best Java enviroment for dev with Eclipse...
Hi all, i want to do some java / c++ / php development using Eclipse. I currently have the following installed: jdk-1.4.2p8_3 Java Development Kit 1.4.2 swt-3.1.1 Standard Widget Toolkit for Java eclipse-3.1.2 An open extensible IDE for anything and nothing in particul eclipse-EPIC-0.3.0_2 EPIC adds Perl support to the Eclipse IDE Framework eclipse-cdt-3.0.1 C/C++ IDE for Eclipse eclipse-clay-core-1.2.0 A database design tool for the Eclipse development environm eclipse-emf-2.1.1 Eclipse Modeling Framework eclipse-examples-3.0_2 Examples for the Eclipse IDE eclipse-gef-3.1.1 Graphical Editing Framework for the Eclipse IDE eclipse-vep-1.1.0.1,1 A framework for creating GUI builders for Eclipse eclipse-webtools-0.7 Webtools for eclipse phpeclipse-1.1.4PHP Eclipse adds PHP support to the Eclipse IDE Framework but i'm finding many crashes when trying to use it. Should I be using linux-java port instead of native jdk ? I know, the 'many crashes' isnt very descriptive - it's just very unstable, specially when trying to build a java form by drag-n-drop (visually, instead of by hand). thanks for any comments on this. cheers, beto ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]
Jeff Cross schrieb: > Is there anyway I can apply the DRM updates w/o upgrading my system to > 6-STABLE? I would really like to maintain my system with freebsd-update > and not have to compile every time a security update comes out. I run > FreeBSD on my laptop and compile times can run a little long. > > Suggestions? Suck it up and compile?! :) Or wait for 6.2 ... although of course nobody can tell for sure that your hardware will be actually supported by then. One thing you could try is get a very current Linux LiveCD distribution (like Knoppix, Kanotix or the Kororaa Xgl Live CD) and check if 3d acceleration seems to work there. If it does not, there's probably no point in updating or trying to make a patch against RELENG_6_1, since the codebase is the mostly the same in Linux and FreeBSD. Cheers, -- ,_, | Michael Nottebrock | [EMAIL PROTECTED] (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org signature.asc Description: OpenPGP digital signature
Re: Anyone using sysutils/nut ?
--- Scott Tuc Ellentuch at T-B-O-H <[EMAIL PROTECTED]> wrote: > > > > > > --- Scott Tuc Ellentuch at T-B-O-H <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > > > I'd like to find out where to put the "upsdrvctl shutdown" in > the > > > shutdown process. Putting it in rc.shutdown causes me to have > dirty > > > filesystems constantly that sometimes don't allow the system to > come > > > up. > > > > You don't. Instead, use the nut configuration files (ups.conf, > > upsd.conf, upsmon.conf, hosts.conf, upsd.users). upsdrvctl is > called > > internally from upsd. That is how I understand it. > > > I'm going by : > > /usr/local/share/doc/nut/shutdown.txt > > Subsection "How you set it up", item #2 : > > 2. Edit your shutdown scripts to check for the POWERDOWNFLAG so they > know >when to power off the UPS. You must check for this file, as you > don't >want this to happen during normal shutdowns! > >You can use upsdrvctl to start the shutdown process in your UPS >hardware. Use this script as an example, but change the paths to >suit your system: My bad. I did edit rc.shutdown on both a 5.4 and a 6.0 system with no troubles. The end of my file shows this: # Inserted next 5 lines March 13, 2006 for UPS shutdown. if (test -f /etc/killpower) then echo "Killing the power, bye!" /usr/local/libexec/nut/upsdrvctl shutdown fi echo '.' exit 0 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: e-mail server farm question
On Mon, 22 May 2006 11:54:02 -0500 Kevin Kinsey <[EMAIL PROTECTED]> wrote: > > At 07:17 AM 5/22/2006, Evren Yurtesen wrote: > >> Hello, > >> > >> I was wondering how does services like yahoo mail is storing > >> e-mails. Somehow the smtp server should know where to deliver > >> the mail inside the system and webmail should know from which > >> server to read it from. > >> > >> Does anybody have any practical ideas about how it is done? > >> > Derek Ragona wrote: > > If you are using sendmail, as most FreeBSD users are, you can > > check the sendmail.org site for information on mail handling. > > There are a number of methods that depend on your setup. > > > > Well, it's pretty obvious that they aren't using a stock > SendMail: > > # telnet mx2.mail.yahoo.com 25 > Trying 67.28.113.72... > Connected to mx2.mail.yahoo.com. > Escape character is '^]'. > 220 mta309.mail.re4.yahoo.com ESMTP YSmtp service ready > > Short of finding an article written by someone 'in the know', > or an answer for someone like that, we can only guess. I'd > probably start with guessing a big DB on a large SAN; > which pretty much negates the "which server to read from" > question (up to a point). Everything else is pretty > academic. SMTP, IMAP, POP. Maildir makes it easy to distribute it across multiple machines as well. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
changing kern.ngroups
I am really running across the need to change this to something higher than 16. I was just wondering if there is any specific reason it is set so low and any thing to worry about when bumping it up? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Anyone using sysutils/nut ?
> > > --- Scott Tuc Ellentuch at T-B-O-H <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > I'd like to find out where to put the "upsdrvctl shutdown" in the > > shutdown process. Putting it in rc.shutdown causes me to have dirty > > filesystems constantly that sometimes don't allow the system to come > > up. > > You don't. Instead, use the nut configuration files (ups.conf, > upsd.conf, upsmon.conf, hosts.conf, upsd.users). upsdrvctl is called > internally from upsd. That is how I understand it. > I'm going by : /usr/local/share/doc/nut/shutdown.txt Subsection "How you set it up", item #2 : 2. Edit your shutdown scripts to check for the POWERDOWNFLAG so they know when to power off the UPS. You must check for this file, as you don't want this to happen during normal shutdowns! You can use upsdrvctl to start the shutdown process in your UPS hardware. Use this script as an example, but change the paths to suit your system: if (test -f /etc/killpower) then echo "Killing the power, bye!" /usr/local/ups/bin/upsdrvctl shutdown sleep 120 # uh oh... the UPS poweroff failed! # you probably should reboot here to avoid getting stuck # *** see the section on power races below *** fi (There is more.) In talking to the people on the NUT list, no one mentioned that it was called from upsd. Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: machdep.hlt_logical_cpus being ignored
Jon Falconer wrote: > Greetings All, > > I have installed FreeBSD 6.1 Release on a Dell 2850. I is has two Xeon > CPUs. Seeing the comment in the SMP man page about hyperthreading being a > problem in some situations, I added "machdep.hlt_logical_cpus=1" in > /boot/loader.conf file. Upon rebooting, the system still finds four CPUs > and starts all of them. I would have expected it to start only the two > physical CPUs. Am I missunderstanding what machdep.hlt_logical_cpus is > supposed to do? Should I even be concerned about the hyperthreading > problem. This system will be an email server for a small college campus > with about 2000 active accounts. > > Also, the man page for SMP say that the machdep.hlt_cpus can be used to > halt a specific CPU. I have not set this value, but sysctl shows it has a > value of 10, even before I set the machdep.hlt_logical_cpus to 1. Why > would this be the default value? I would think this would mean that one of > the system CPUs is halted. But dmesg output claims it launched four CPUs. > > Can someone fill me in on what this all means? Hi, This issue has been addressed in: http://security.freebsd.org/advisories/FreeBSD-SA-05:09.htt.asc You could also read this: http://www.daemonology.net/hyperthreading-considered-harmful/ I hope this helps. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
machdep.hlt_logical_cpus being ignored
Greetings All, I have installed FreeBSD 6.1 Release on a Dell 2850. I is has two Xeon CPUs. Seeing the comment in the SMP man page about hyperthreading being a problem in some situations, I added "machdep.hlt_logical_cpus=1" in /boot/loader.conf file. Upon rebooting, the system still finds four CPUs and starts all of them. I would have expected it to start only the two physical CPUs. Am I missunderstanding what machdep.hlt_logical_cpus is supposed to do? Should I even be concerned about the hyperthreading problem. This system will be an email server for a small college campus with about 2000 active accounts. Also, the man page for SMP say that the machdep.hlt_cpus can be used to halt a specific CPU. I have not set this value, but sysctl shows it has a value of 10, even before I set the machdep.hlt_logical_cpus to 1. Why would this be the default value? I would think this would mean that one of the system CPUs is halted. But dmesg output claims it launched four CPUs. Can someone fill me in on what this all means? Thanks, Jon %dmesg 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 6.1-RELEASE #0: Thu May 18 18:49:35 PDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ECF Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.70-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf43 Stepping = 3 Features=0xbfebfbff Features2=0x641d> AMD Features=0x2010 Logical CPUs per core: 2 real memory = 2147221504 (2047 MB) avail memory = 2100469760 (2003 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 6 cpu3 (AP): APIC ID: 7 ioapic0: Changing APIC ID to 8 ioapic1: Changing APIC ID to 9 ioapic1: WARNING: intbase 32 != expected base 24 ioapic2: Changing APIC ID to 10 ioapic2: WARNING: intbase 64 != expected base 56 ioapic3: Changing APIC ID to 11 ioapic3: WARNING: intbase 96 != expected base 88 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 32-55 on motherboard ioapic2 irqs 64-87 on motherboard ioapic3 irqs 96-119 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 <...cut...> SMP: AP CPU #1 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #2 Launched! Trying to mount root from ufs:/dev/amrd0s1a Accounting enabled em0: link state changed to UP % %sysctl -a | grep -i cpu kern.threads.virtual_cpu: 4 kern.sched.ipiwakeup.onecpu: 0 kern.ccpu: 1948 kern.smp.maxcpus: 16 kern.smp.cpus: 4 debug.cpufreq.lowest: 0 debug.cpufreq.verbose: 0 debug.kdb.stop_cpus: 1 debug.PMAP1changedcpu: 0 hw.model: Intel(R) Xeon(TM) CPU 3.00GHz hw.ncpu: 4 hw.acpi.cpu.cx_supported: C1/0 hw.acpi.cpu.cx_lowest: C1 hw.acpi.cpu.cx_usage: 100.00% machdep.cpu_idle_hlt: 1 machdep.hlt_cpus: 10 machdep.hlt_logical_cpus: 1 machdep.logical_cpus_mask: 10 dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=\_PR_.CPU0 dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%parent: acpi0 dev.cpu.1.%desc: ACPI CPU dev.cpu.1.%driver: cpu dev.cpu.1.%location: handle=\_PR_.CPU1 dev.cpu.1.%pnpinfo: _HID=none _UID=0 dev.cpu.1.%parent: acpi0 dev.cpu.2.%desc: ACPI CPU dev.cpu.2.%driver: cpu dev.cpu.2.%location: handle=\_PR_.CPU2 dev.cpu.2.%pnpinfo: _HID=none _UID=0 dev.cpu.2.%parent: acpi0 dev.cpu.3.%desc: ACPI CPU dev.cpu.3.%driver: cpu dev.cpu.3.%location: handle=\_PR_.CPU3 dev.cpu.3.%pnpinfo: _HID=none _UID=0 dev.cpu.3.%parent: acpi0 % ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Python port problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On May 22, 2006, at 8:27 PM, Michael P. Soulier wrote: On 5/22/06, Joe Auty <[EMAIL PROTECTED]> wrote: Starting up Mailman on one machine I'm on produces the following error message (see below). For some reason, this is not a problem Test your python installation. Try python -c 'import sys; print sys.path' See which python interpreter this is, /usr/local/bin/python most likely, and make sure that mailman is using this python. I'm not sure how to determine what Python Mailman is using, but the only Python I've installed on the system is from FreeBSD ports, unless some other software bundles its own... Here is the output of the command printed above: $ python -c 'import sys; print sys.path' ['', '/usr/local/lib/python24.zip', '/usr/local/lib/python2.4', '/usr/ local/lib/python2.4/plat-freebsd5', '/usr/local/lib/python2.4/lib- tk', '/usr/local/lib/python2.4/lib-dynload', '/usr/local/lib/ python2.4/site-packages'] I don't have a /usr/local/bin/python in there. Is that my problem? - --- Joe Auty NetMusician: web publishing software for musicians http://www.netmusician.org [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (Darwin) iD8DBQFEclhpCgdfeCwsL5ERAlu4AJ9cye7laavwZtplMtl1eAYXaAnypQCcDrP5 KhrwPI/K02VISTmkjsWV0wU= =paE7 -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: determining files installed by a port
On 5/22/06, Joe Auty <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is there a way to get a listing of all files installed by a port? Perhaps there is a tool that will scan a package and output its contents to standard out? $ pkg_info -Lx yourportname I.E: $ pkg_info -Lx python -- Linux is for people who hate Micro$oft. BSD is for people who love Unix ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Python port problems
On 5/22/06, Joe Auty <[EMAIL PROTECTED]> wrote: Starting up Mailman on one machine I'm on produces the following error message (see below). For some reason, this is not a problem Test your python installation. Try python -c 'import sys; print sys.path' See which python interpreter this is, /usr/local/bin/python most likely, and make sure that mailman is using this python. Mike -- Michael P. Soulier <[EMAIL PROTECTED]> "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD 6.1 laptop with wireless internet
Dear Colleagues, I have a laptop with FreeBSD 6.1 on it and it is working fine. I recently received a card for wireless internet; it is in fact a Verizon Wireless PC5740 card and I am wondering if I can set it up on my FreeBSD laptop. I googled about it and I found [1] mentioning about some configuration in the kernel. I also checked the wireless network section in the Handbook, but I did not make any progress. Could you give me some hints and advice about this? Thank you in advance for your help. Regards Rambius P.S. I verified that the card is really working on a Windows laptop. [1] http://lists.freebsd.org/pipermail/freebsd-questions/2005-February/077555.html -- Tangra Mega Rock: http://www.radiotangra.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Makefile and '$(addprefix)' SOLVED
On Mon, 2006-05-22 at 18:45 -0400, Parv wrote: > in message <[EMAIL PROTECTED]>, > wrote Andrew thusly... > > > > I'm trying to use $(addprefix) build lists of source files and > > object files containing the relative paths for each. The problem > > is that $(addprefix) never seems to be evaluated. When I run 'make > > -p', $OBJECT_LIST looks exactly like in does in my Makefile, which > > is listed below. > ... > > Begin Makefile > > > > ## compiler settings > > CC = gcc > > OPTIONS = -Wall -g > > > > ## directory layout > > BASEDIR = ../alice > > SOURCEDIR = $(BASEDIR)/sources > > OBJECTDIR = $(BASEDIR)/objects > > DOCSDIR = $(BASEDIR)/documentation > ... > > SOURCES_LIST = $(addprefix, $(SOURCEDIR), $(SOURCE)) > > OBJECTS_LIST = $(addprefix, $(OBJECTDIR), $(OBJECTS)) > > > > ## targets > > alice: $(OBJECT_LIST) > > $(CC) $(OPTIONS) -o $@ $(OBJECT_LIST) > ... > > Looks like you are using gnu make syntax. > > Read make(1) man page. Replace $(VAR) with ${VAR} & see what > happens (i am unsure as i am a light user of BSD make). > > > - Parv > Hello all, I've fixed my Makefile. Here's a working version, in case it will be of help to someone else. Oh, by-the-way, this is for GNU make, not BSD make. -Andrew Begin Makefile ## Makefile for GNU make ## compiler settings CC = gcc CFLAGS = -Wall -g ## directory layout BASEDIR = ../alice SRCDIR = $(BASEDIR)/sources/ OBJDIR = $(BASEDIR)/objects/ DOCDIR = $(BASEDIR)/documentation ## sources SRC = main.c help.c status.c buffer.c device.c error.c insane.c ## objects OBJ = main.o help.o status.o buffer.o device.o error.o insane.o ## list of objects containing relative path for each OBJLIST = $(addprefix $(OBJDIR), $(OBJ)) ## pathes for make to search VPATH = $(SRCDIR) $(OBJDIR) alice: $(OBJ) $(CC) $(CFLAGS) -o $@ $(OBJLIST) %.o: %.c alice.h $(CC) $(CFLAGS) -c $< -o $(OBJDIR)$@ clean: rm $(OBJLIST) *.core distclean: clean rm -r *~ End Makefile ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS over IPSec tunnel
On Mon, May 22, 2006, Bret J Esquivel wrote: >Thanks Bill, that did it! > >mount -o tcp 10.0.20.1:/usr /mnt Glad to hear that it worked. I suspect that the tcp connection is more efficient in any case. > > >-- >Bret J. Esquivel >Immense Networks LLC >http://www.immense.net > > >Quoting Bill Campbell <[EMAIL PROTECTED]>: > >>On Mon, May 22, 2006, Bret J Esquivel wrote: >>>I am trying to connect to a NFS server over my IPSec tunnel. However, >>>I whenever I try to mount I get: >>> >>>[udp] 10.0.20.1:/usr: RPCPROG_MNT: RPC: Timed out >> >>The first things I would check are (a) the /etc/exports file on >>the server, and (b) specify a tcp connection on the client as >>that should create a connection between the machines. >> >>I ran into a problem a couple of years ago while attempting to >>automount home directories hosted on a Linux box from Macs >>running OS X. The Linux box had multiple IP addresses on the NIC >>interface, and the udp reply packets were being sent from an IP >>different than the one receiving the udp. Specifying tcp >>connections cured that problem. >> >>... >> >>Bill >>-- >>INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software, LLC >>URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way >>FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) >>236-1676 >> >>``If the government can take a man's money without his consent, there is no >>limit to the additional tyranny it may practise upon him; for, with his >>money, it can hire soldiers to stand over him, keep him in subjection, >>plunder him at discretion, and kill him if he resists.'' >> Lysander Spooner, 1852 >>___ >>freebsd-questions@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>To unsubscribe, send any mail to >>"[EMAIL PROTECTED]" >> > > -- Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 ``Intellectually, teachers fall between education theorists and bright cocker spaniels. (Probably closer to the education theorists. The AKC has been doing wonders with spaniels.) If you think I'm kidding look at the GREs for education majors, whose scores are the lowest of all fields, and remember that these are the smart ones.'' -- http://www.FredOnEverything.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrade from OLD -> NEW release
Le 22/05/2006 à 19:27:47+0200, Dominique Goncalves a écrit > Hi, > > On 5/22/06, Albert Shih <[EMAIL PROTECTED]> wrote: > >Hi all > > > >>From many time I make the upgrade my FreeBSD by using : > > > >make -DNO_PROFILE buildowlrd > >make buildkernel > >make installkernel > >reboot/single > >make -DNO_PROFILE installworld > >mergemaster > >reboot > > > >Well everything work fine..but I always have some old file in /lib and > >/usr/lib > > > >Can I destroy him without problem ? > > There are news targets that can help you since FreeBSD 6.1-RELEASE: > check-old, delete-old and delete-old-libs > > [EMAIL PROTECTED] /usr/src]$ make check-old > >>>Checking for old files > >>>Checking for old libraries > >>>Checking for old directories > To remove old files and directories run 'make delete-old'. > To remove old libraries run 'make delete-old-libs'. > > HTH Of course that help. Lots of thanks. and on old release (because I've lots of 5.x --> 6.x but I've also lots of 4.x --> 5.x) are the some things like that ? Thanks again. Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. 7 ième étage, plateau D, bureau 10 Heure local/Local time: Tue May 23 01:16:33 CEST 2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Anyone using sysutils/nut ?
--- Scott Tuc Ellentuch at T-B-O-H <[EMAIL PROTECTED]> wrote: > Hi, > > I'd like to find out where to put the "upsdrvctl shutdown" in the > shutdown process. Putting it in rc.shutdown causes me to have dirty > filesystems constantly that sometimes don't allow the system to come > up. You don't. Instead, use the nut configuration files (ups.conf, upsd.conf, upsmon.conf, hosts.conf, upsd.users). upsdrvctl is called internally from upsd. That is how I understand it. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Makefile and '$(addprefix)'
Hello, You are correct; I am using GNU make, err, rather, trying to, at least. Found a typo that fixed part of the problem: $(addprefix, PREFIX, ITEM) should be $(addprefix PREFIX, ITEM). Note that there is no comma after 'addprefix'. This particular Makefile seems to be horribly broken. So I think I might as well start over. Further reading shows that the 'vpath' directive should be used in this case, or '.PATH' for BSD make. Thanks for the suggestion at least... -Andrew On Mon, 2006-05-22 at 18:45 -0400, Parv wrote: > in message <[EMAIL PROTECTED]>, > wrote Andrew thusly... > > > > I'm trying to use $(addprefix) build lists of source files and > > object files containing the relative paths for each. The problem > > is that $(addprefix) never seems to be evaluated. When I run 'make > > -p', $OBJECT_LIST looks exactly like in does in my Makefile, which > > is listed below. > ... > > Begin Makefile > > > > ## compiler settings > > CC = gcc > > OPTIONS = -Wall -g > > > > ## directory layout > > BASEDIR = ../alice > > SOURCEDIR = $(BASEDIR)/sources > > OBJECTDIR = $(BASEDIR)/objects > > DOCSDIR = $(BASEDIR)/documentation > ... > > SOURCES_LIST = $(addprefix, $(SOURCEDIR), $(SOURCE)) > > OBJECTS_LIST = $(addprefix, $(OBJECTDIR), $(OBJECTS)) > > > > ## targets > > alice: $(OBJECT_LIST) > > $(CC) $(OPTIONS) -o $@ $(OBJECT_LIST) > ... > > Looks like you are using gnu make syntax. > > Read make(1) man page. Replace $(VAR) with ${VAR} & see what > happens (i am unsure as i am a light user of BSD make). > > > - Parv > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS over IPSec tunnel
Thanks Bill, that did it! mount -o tcp 10.0.20.1:/usr /mnt -- Bret J. Esquivel Immense Networks LLC http://www.immense.net Quoting Bill Campbell <[EMAIL PROTECTED]>: On Mon, May 22, 2006, Bret J Esquivel wrote: I am trying to connect to a NFS server over my IPSec tunnel. However, I whenever I try to mount I get: [udp] 10.0.20.1:/usr: RPCPROG_MNT: RPC: Timed out The first things I would check are (a) the /etc/exports file on the server, and (b) specify a tcp connection on the client as that should create a connection between the machines. I ran into a problem a couple of years ago while attempting to automount home directories hosted on a Linux box from Macs running OS X. The Linux box had multiple IP addresses on the NIC interface, and the udp reply packets were being sent from an IP different than the one receiving the udp. Specifying tcp connections cured that problem. ... Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software, LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 ``If the government can take a man's money without his consent, there is no limit to the additional tyranny it may practise upon him; for, with his money, it can hire soldiers to stand over him, keep him in subjection, plunder him at discretion, and kill him if he resists.'' Lysander Spooner, 1852 ___ 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: foomatic-db portupgrade problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, May 21, 2006 at 06:57:43PM -0500, Denny White wrote: Searched through the cvs & stable mailing lists, as well as in /usr/ports/UPDATING, & couldn't find any instance of anyone having problems updating the foomatic-db port. After the initial failure to update, I looked at the Makefile & that seems to be the problem, where it's trying to download from. Below is the output of portversion -l "<" along with the output when trying to update, portupgrade -arR. And, the pertinent section of the Makefile is appended also: Yes, it's broken (see http://pointyhat.freebsd.org) Talk to the authors about fixing their CVS server. Kris Okay Kris, thanks. Wrote to the maintainer to let him know about the problem. Denny White GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (OpenBSD) iD8DBQFEckGZy0Ty5RZE55oRAv7AAKCHtW3VqadJFe8QK+kwrXvKHYYLjQCgjNWX QbvtVw8C/9QeVBcpSzE9SBc= =xUYm -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: NFS over IPSec tunnel
On Mon, May 22, 2006, Bret J Esquivel wrote: >I am trying to connect to a NFS server over my IPSec tunnel. However, >I whenever I try to mount I get: > >[udp] 10.0.20.1:/usr: RPCPROG_MNT: RPC: Timed out The first things I would check are (a) the /etc/exports file on the server, and (b) specify a tcp connection on the client as that should create a connection between the machines. I ran into a problem a couple of years ago while attempting to automount home directories hosted on a Linux box from Macs running OS X. The Linux box had multiple IP addresses on the NIC interface, and the udp reply packets were being sent from an IP different than the one receiving the udp. Specifying tcp connections cured that problem. ... Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software, LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 ``If the government can take a man's money without his consent, there is no limit to the additional tyranny it may practise upon him; for, with his money, it can hire soldiers to stand over him, keep him in subjection, plunder him at discretion, and kill him if he resists.'' Lysander Spooner, 1852 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
NFS / SMB / FUSE
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi list, if these were the big problems in life, we would all be happy anyway... I have a small network at home, and actually I have these three possibilities to transfer data between the hosts: - - NFS - - Samba - - FUSE over SSH I someway tested the different bitrates by: $ time cp /mnt/my-server/test.data /home/my-user/ where /mnt/my-server is in turn an NFS, a Samba and a Fuse-SSH mount point, but I know that the result may vary based on several factors. So, how can I test the capability of those methods in a thorough way? Thank you in advance - -- Pietro Cerutti ICQ: 117293691 PGP: 0x9571F78E - - ASCII Ribbon Campaign - against HTML e-mail and proprietary attachments www.asciiribbon.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEcj7zwMJqmJVx944RAkBZAJ97T6bcLspg3Yt0DcOiG9L5RDGJrQCgjkGM 4sb7Hgns+MIJb0T34GLLkuc= =duxI -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: Makefile and '$(addprefix)'
in message <[EMAIL PROTECTED]>, wrote Andrew thusly... > > I'm trying to use $(addprefix) build lists of source files and > object files containing the relative paths for each. The problem > is that $(addprefix) never seems to be evaluated. When I run 'make > -p', $OBJECT_LIST looks exactly like in does in my Makefile, which > is listed below. ... > Begin Makefile > > ## compiler settings > CC = gcc > OPTIONS = -Wall -g > > ## directory layout > BASEDIR = ../alice > SOURCEDIR = $(BASEDIR)/sources > OBJECTDIR = $(BASEDIR)/objects > DOCSDIR = $(BASEDIR)/documentation ... > SOURCES_LIST = $(addprefix, $(SOURCEDIR), $(SOURCE)) > OBJECTS_LIST = $(addprefix, $(OBJECTDIR), $(OBJECTS)) > > ## targets > alice: $(OBJECT_LIST) > $(CC) $(OPTIONS) -o $@ $(OBJECT_LIST) ... Looks like you are using gnu make syntax. Read make(1) man page. Replace $(VAR) with ${VAR} & see what happens (i am unsure as i am a light user of BSD make). - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
openldap-2.3 won't start on a 6.1R system
Greetings, I had a server running FreeBSD 6.0 Release with openldap 2.3.20 running fine (along with postfix, cyrus-sasl, courier-imap, bdb-4.3, etc.) I needed to move the system to new hardware, so I rebuild it using 6.1 Release. The ports tree has been updated so openldap 2.3.23 is current. After building and installing this port, and copying my config files from my 6.0 system, openldap server will not start. It silently quits with no error or log entries when run using /usr/local/etc/rc.d/slapd start. However typing: /usr/local/libexec/slapd -Tt yields: /libexec/ld-elf.so.1: /usr/local/lib/libldap_r-2.3.so.2: Undefined symbol "pthread_getconcurrency" My build options for openldap are: %cat /var/db/ports/openldap23/options # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for openldap-server-2.3.23 _OPTIONS_READ=openldap-server-2.3.23 WITH_SASL=true WITHOUT_PERL=true WITH_SHELL=true WITHOUT_ODBC=true WITHOUT_SLP=true WITHOUT_SLAPI=true WITH_TCP_WRAPPERS=true WITH_BDB=true WITHOUT_ACCESSLOG=true WITHOUT_AUDITLOG=true WITHOUT_DENYOP=true WITHOUT_DYNGROUP=true WITHOUT_DYNLIST=true WITHOUT_LASTMOD=true WITHOUT_PPOLICY=true WITHOUT_PROXYCACHE=true WITHOUT_REFINT=true WITHOUT_RETCODE=true WITHOUT_RWM=true WITHOUT_SYNCPROV=true WITHOUT_TRANSLUCENT=true WITHOUT_UNIQUE=true WITHOUT_VALSORT=true WITHOUT_ACI=true WITH_DYNAMIC_BACKENDS=true % I don't know if this is a problem with the db43 library or something else. Any pointers are welcome. Thanks, Jon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Locale problem after upgrade 5.4 to 6.1
On Mon, May 22, 2006 at 07:52:56PM -0200, Rafael Aquino wrote: > Hello ALL, > > I use to set all my systems to pt_BR.ISO8859-1, and everytime > works perfect. The ports that are sensible for locale always uses > the correct language (Apache, Postgresql, etc). > > After upgrate from 5.4 to 6.1, I realize that postgresql wasn?t starting > up with rc.d script. Trying to mannualy start it, the message was that > my database couldn?t support LATIN-1 (witch was, before upgrade). > > Also the characters that used to work in console (?, ?, ...) don?t work > anymore. Something changed with locale support between 5.x and 6.x; check the release notes, UPDATING, etc. There's also a compatibility package. Kris pgpmpFE1WzHbm.pgp Description: PGP signature
NFS over IPSec tunnel
I am trying to connect to a NFS server over my IPSec tunnel. However, I whenever I try to mount I get: [udp] 10.0.20.1:/usr: RPCPROG_MNT: RPC: Timed out What's wierd is that I can do RPC calls to it, such as: [EMAIL PROTECTED]:/mnt] rpcinfo -t 10.0.20.1 nfs program 13 version 2 ready and waiting program 13 version 3 ready and waiting [EMAIL PROTECTED]:/mnt] rpcinfo -u 10.0.20.1 nfs program 13 version 2 ready and waiting program 13 version 3 ready and waiting And even a 'showmount -e 10.0.20.1' works: Exports list on oasis: /usr 10.0.10.10 This client box is connected to another NFS via the local lan and runs fine. The firewall rules on both boxes were flushed as a last ditch effort to get this to work, but still nothing. Anyone have any insight on this problem? Thanks! -- Bret J. Esquivel Immense Networks LLC http://www.immense.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Makefile and '$(addprefix)'
Hello all, I'm trying to clean up the source tree for some software I'm writing. The program itself is relatively simple, but is very fragmented; i.e. it has a lot of source files. I'd like to write one top-level Makefile that is able to find all of my source files, build the object files, and put them into a separate directory. I'm thinking this can't be that difficult, but I haven't figured it out yet. I'm trying to use $(addprefix) build lists of source files and object files containing the relative paths for each. The problem is that $(addprefix) never seems to be evaluated. When I run 'make -p', $OBJECT_LIST looks exactly like in does in my Makefile, which is listed below. Fixes or pointers to a somewhat simple example greatly appreciated... Thanks, -Andrew Begin Makefile ## compiler settings CC = gcc OPTIONS = -Wall -g ## directory layout BASEDIR = ../alice SOURCEDIR = $(BASEDIR)/sources OBJECTDIR = $(BASEDIR)/objects DOCSDIR = $(BASEDIR)/documentation ## sources SOURCES = main.c help.c status.c buffer.c device.c error.c insane.c ## objects OBJECTS = main.o help.o status.o buffer.o device.o error.o insane.o ## lists containing paths SOURCES_LIST = $(addprefix, $(SOURCEDIR), $(SOURCE)) OBJECTS_LIST = $(addprefix, $(OBJECTDIR), $(OBJECTS)) ## targets alice: $(OBJECT_LIST) $(CC) $(OPTIONS) -o $@ $(OBJECT_LIST) $(OBJECTS_LIST): alice.h $(CC) $(OPTIONS) -c $(SOURCES_LIST) clean: rm -f $(OBJECTS_LIST) *.core alice; End Makefile ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Locale problem after upgrade 5.4 to 6.1
Hello ALL, I use to set all my systems to pt_BR.ISO8859-1, and everytime works perfect. The ports that are sensible for locale always uses the correct language (Apache, Postgresql, etc). After upgrate from 5.4 to 6.1, I realize that postgresql wasn´t starting up with rc.d script. Trying to mannualy start it, the message was that my database couldn´t support LATIN-1 (witch was, before upgrade). Also the characters that used to work in console (ç, ã, ...) don´t work anymore. Below is my profile, rc.conf, login.conf and master.passwd: #rc.conf ... keymap="br275.iso.acc" font8x8="cp437-8x8" font8x14="cp437-8x14" font8x16="cp437-8x16" scrnmap="iso-8859-1_to_cp437" ... #Profile ... export LC_ALL=pt_BR.ISO8859-1 export LC_TYPE=pt_BR.ISO8859-1 export LC_CTYPE=pt_BR.ISO8859-1 export MM_CHARSET=ISO-8859-1 export USE_LANG=pt_BR.ISO8859-1 export LANG=pt_BR.ISO8859-1 ... #login.conf ... portuguese|Portuguese:\ :charset=ISO-8859-1:\ :lang=pt_BR.ISO_8859-1:= :tc=default: ... #pw usershow root: root:*:0:0:portuguese:0:0:Charlie &:/root:/usr/local/bin/bash Before upgrade everything was fine. If I install it using 6.x CD sets also works fine with these parameters. Thanks a lot! -- Rafael Mentz Aquino BSDServer Ltda. 51 - 9847 8825 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]
Eric Anholt wrote: > On Fri, 2006-05-19 at 16:26 -0500, Jeff Cross wrote: >> Michael Nottebrock wrote: >>> Jeff Cross schrieb: I ran the "make" commands you specified but still do not have a i915.o file on my system. Here is what I have related to i915: >>> Oops. Turns out the complete i915 module was only added *after* FreeBSD >>> 6.0 release. You'll have to upgrade to 6-STABLE/6.1-RELEASE (to be >>> released very soon now) to get it. >>> By the way, glxinfo | grep rendering returns no. >>> Yes, direct rendering won't work without the drm kernel module. >>> >>> >>> Cheers, >> I have recently upgraded to RELENG_6_1 and am still not able to play >> RTCW on my laptop. I do have the i915 module loaded now as well as drm. >> Below is the output from kldstat: > > RELENG_6_1 is a security branch, so my update to the DRM in RELENG_6 > won't ever be merged there. Use RELENG_6 instead. > Is there anyway I can apply the DRM updates w/o upgrading my system to 6-STABLE? I would really like to maintain my system with freebsd-update and not have to compile every time a security update comes out. I run FreeBSD on my laptop and compile times can run a little long. Suggestions? Suck it up and compile?! :) Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: system freezes.
At 10:56 AM 5/22/2006, Brent Rieck wrote: Hello, I've been having some freeze problems with my "managed" freebsd server that my host has been less than helpful with; I hope that this is the right place to ask the questions I have. os: freebsd 4.8-stable major applications: apache 1.3.29 + php 4.3.10 , mysql 4.1.18-log, dirvish, riff-backup Machine freezes with nothing written to the logs or console - if you happen to be logged in and running top when it "starts" to freeze your top session will run completely normally and without lag (spacebar refreshes display, you can resort on size or cpu, etc), but no other processes can start - typing a command into another open shell will not start that program. Until it fully freezes it will echo characters back in the shell - and top will continue to run as normal. Top always shows a load of <0.1, there's always 5MB to 50MB of ram free. All of the hardware has been replaced (motherboard, cpu, ram, power supply, hard drive) I can't make it freeze on demand by replaying the web hits or database queries that occurred before the crash. I am able to make it freeze on demand by slurping down a particular dirvish vault with rsync. The freeze symptoms are the same as the random freeze symptoms (top responds normally, new processes can't start) The random freezes occur whether or not I'm running dirvish on a schedule. The rsync freezing I can work around if needed, the random freezes I cannot. Does anybody have any suggestions on how I might track down the problem? thanks, Brent This sounds like some sort of IO is not finishing and other processes are getting stuck in a queue behind the process with the "stuck" IO. I have a similar issue 5.3-6.0 that has been bedeviling me very infrequently with some md file backed images mounted as /dev/md* devices. Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: LIB_DEPENDS problem
On Mon, May 22, 2006 at 02:57:28PM +, db wrote: > Hi all > > I'm trying to make a new port that depends on ACE and pqxx, but it can't > find lib pqxx even though it is installed. > > work# make -DNO_CHECKSUM > ===> WARNING: Vulnerability database out of date, checking anyway > ===> Extracting for esad-0.1 > ===> Patching for esad-0.1 > ===> esad-0.1 depends on shared library: ACE_SSL - found > ===> esad-0.1 depends on shared library: pqxx - not found > ===>Verifying install for pqxx in > /usr/ports/databases/postgresql-libpqxx Notice that it didn't build this port, but skipped straight to installing it. This means that you have a stale build of the port, and need to run 'make clean' before and/or after your builds as a matter of habit. Kris pgplbEOVywjuP.pgp Description: PGP signature
Re: NO_RESCUE option in make.conf
On Mon, May 22, 2006 at 03:18:59PM +0100, Vittorio wrote: > To update the system in my /etc/make.conf among other building(-world) > options I put > a: > > NO_RESCUE= true > > Which actually is not declared > neither in the man page of make.conf nor in the > /usr/share/examples/etc/make.conf file. > Nonetheless it seems to work. > Am I right? Why do you want to do this? The rescue tools are sometimes all that stands between being able to repair your system and having to reinstall it from scratch. Kris pgplP3d0f7SkO.pgp Description: PGP signature
Re: system freezes.
Since you say the hardware is all replaced, you should still run hardware diagnostics to verify the new hardware is not also problematic. Also the version of FreeBSD you are running is quite old and beyond its end of life. I would at least update the base OS to 4.11. A freeze like you are seeing is most likely a hardware problem as you see nothing in the logs, but could be from an exploit of some kind. -Derek At 10:56 AM 5/22/2006, Brent Rieck wrote: Hello, I've been having some freeze problems with my "managed" freebsd server that my host has been less than helpful with; I hope that this is the right place to ask the questions I have. os: freebsd 4.8-stable major applications: apache 1.3.29 + php 4.3.10 , mysql 4.1.18-log, dirvish, riff-backup Machine freezes with nothing written to the logs or console - if you happen to be logged in and running top when it "starts" to freeze your top session will run completely normally and without lag (spacebar refreshes display, you can resort on size or cpu, etc), but no other processes can start - typing a command into another open shell will not start that program. Until it fully freezes it will echo characters back in the shell - and top will continue to run as normal. Top always shows a load of <0.1, there's always 5MB to 50MB of ram free. All of the hardware has been replaced (motherboard, cpu, ram, power supply, hard drive) I can't make it freeze on demand by replaying the web hits or database queries that occurred before the crash. I am able to make it freeze on demand by slurping down a particular dirvish vault with rsync. The freeze symptoms are the same as the random freeze symptoms (top responds normally, new processes can't start) The random freezes occur whether or not I'm running dirvish on a schedule. The rsync freezing I can work around if needed, the random freezes I cannot. Does anybody have any suggestions on how I might track down the problem? thanks, Brent ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Maple 8 on FreeBSD with Diablo
The best way to use Maple (I don't have maple 8, my versions 9, 9.5 and 10) is to run maple without java by typing : xmaple -cw (cw mean : classic worksheet) Hi -- Thanks for trying to help. My question refereed to the fact that, at least on my official CD, there is no such FLEXim script for Unix such as the documentation (Handbook) refers to. The information apparently is outdated, or I got sold a different CD (I said I specifically would run it in Linux at the time). I know it's possible to install it. Maybe Maple 8 is a lost cause. However, the NetBSD people claimed to have it installed under binary emulation. Their documentatio too is unsatisfactory in this respect. Would you care to share your experience in installing Maple ? It would be greatly appreciated. Right now, I would prefer not to have to buy another license, because they're expensive, and just stick to Maple 8 for a bit more, but since Maplesoft's support for FreeBSD is non-existent (and even for Linux it kind of sucks)... Henry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Missing devs...
Hi, I'm new to this list so bare with me! I have some problems with a USB device with a built in memory card. The problem is that when I attach the device new devs are created under /dev; da0 and da1. There are a FAT file system on the card so I want da1s1 but there are no dev with that name. So if I do: mount -t msdos /dev/da1s1 /mnt I get: mount_msdosfs: /dev/da1s1: No such file or directory But if I do: mount -t msdos /dev/da1 /mnt I get: mount_msdosfs: /dev/da1: Invalid argument And now I do a: mount -t msdos /dev/da1s1 /mnt Now it's working! The dev da1s1 are there and I'm happy:-) So now to my question! How do I avoid this dual mounting? Thanks for listening!!! Anders Trobäck Sweden -- How many Microsoft employees does it take to screw in a light bulb? None, they declare darkness a new standard. Anders Trobäck http://www.troback.com/ - ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: amd64 FreeBSD 6.0 problem
On May 22, 2006, at 10:46 AM, YTResearch wrote: Please let me know if this is not the right list to ask this. I have a Tyan 4882 4 CPU (dual core) Opteron, running amd64 FreeBSD 6.0 Release, 8 gig ram (all recognized), SCSI 15K Seagate ST373454LC drives. BIOS is running all stock settings. Cool, would like to have one of those It's job is to run Apache (ran 2.1 now latest 2.2, have tried threaded and prefork configurations). It runs blisteringly fast and appears to have no problems except one. It hangs after running 5 to 7 days, once after 2 days. There are no error messages in the log and it just stops responding. The only solution is to physically go press the reset button where as it recovers perfectly every time (after fixing the messed up any messed up file system links). The system is a very high traffic web server. It services html pages and trivial Perl CGI forum software running without any particular privilege. Prior to a hurried installation, I ran a high volume bench mark against it on my own lan hitting it with 10K of requests for a trivial web page look up and did produce a hang but the person needing the system really needed it that day. Because of that I've tried two versions of Apache and various MPMs all with the same result. I think Apache may be a red herring in this. I also discovered that it's running off an UPS rated lower than it's power requirements though only under extreme conditions, the UPS is being replaced this week. The hang seems too consistent to be power but perhaps not. apache probably has nothing to do with this. Apache shouldn't be able to freeze the machine. That sort of thing happens with marginal power, heat issues, HW issues (RAM etc)... Chad I would like to know if anyone has heard of such an issue with amd64 6.0 Release and what debugging processes might have been used to get around it. I have dmesg and more *stat information if that would help. Thank you in advance, Chris --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Video streaming
On 5/22/06, Darryl Hoar <[EMAIL PROTECTED]> wrote: Greetings, I am running Freebsd 6 - Release. I have apache up and running. I would like to serve up some video's from my server. Based on size, I would like to stream them from my server. What ports software would be good for streaming video ? depending on how and what you want to stream and who you want to stream it to.. there are quite a few options net/DarwinStreamingServer net/vls multimedia/vlc Michael thanks, Darryl ___ 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]"
php5 5.1.4 mbstring.so problem
Hi there, i've just upgrade lang/php5 to version 5.1.4 in freebsd 5.5-prerelease i've got a problem with mbstring.so. I paste the output from my php.log: May 22 21:58:46 thunderbird httpd: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20050922/mbstring.so' - /usr/local/lib/php/20050922/mbstring.so: Undefined symbol "zif_mb_regex_encoding" in Unknown on line 0 Have someone this problem and have correct it? -- Name: Riccardo Giuntoli Email: [EMAIL PROTECTED], luxoro.org, BSDInformatica.biz] Homepage: http://www.luxoro.org/ Location: Genova, Italy 6BONE Handle: RG581-6BONE PGP Key: 0x67123739 PGP Fingerprint: CE75 16B5 D855 842F AB54 FB5C DDC6 4640 6712 3739 Key server: hkp://wwwkeys.eu.pgp.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Video streaming
Greetings, I am running Freebsd 6 - Release. I have apache up and running. I would like to serve up some video's from my server. Based on size, I would like to stream them from my server. What ports software would be good for streaming video ? thanks, Darryl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: can't build perl-5.8.8 in a jail
Not sure what I did, but It's compiled now. Sorry for the noise On 5/22/06, Andy Greenwood <[EMAIL PROTECTED]> wrote: I'm trying to build perl 5.8.8 inside a jail and it won't build. I always error at the same spot. Below is the last 100 lines out of make. Anyone have any ideas? Finding dependencies for pp_ctl.o. Finding dependencies for pp_sys.o. Finding dependencies for regcomp.o. Finding dependencies for regexec.o. Finding dependencies for utf8.o. Finding dependencies for gv.o. Finding dependencies for sv.o. Finding dependencies for taint.o. Finding dependencies for toke.o. Finding dependencies for util.o. Finding dependencies for deb.o. Finding dependencies for run.o. Finding dependencies for universal.o. Finding dependencies for xsutils.o. Finding dependencies for pad.o. Finding dependencies for globals.o. Finding dependencies for perlio.o. Finding dependencies for perlapi.o. Finding dependencies for numeric.o. Finding dependencies for locale.o. Finding dependencies for pp_pack.o. Finding dependencies for pp_sort.o. Finding dependencies for miniperlmain.o. Finding dependencies for perlmain.o. Finding dependencies for opmini.o. echo Makefile.SH cflags.SH config_h.SH makeaperl.SH makedepend.SH makedir.SH myconfig.SH writemain.SH pod/Makefile.SH | tr ' ' '\n' >.shlist Updating makefile... test -s perlmain.c && touch perlmain.c cd x2p; make depend sh ../makedepend MAKE=make echo hash.c str.c util.c walk.c | tr ' ' '\n' >.clist Finding dependencies for hash.o. Finding dependencies for str.o. Finding dependencies for util.o. Finding dependencies for walk.o. echo Makefile.SH cflags.SH | tr ' ' '\n' >.shlist Updating makefile... Now you must run 'make'. If you compile perl5 on a different machine or from a different object directory, copy the Policy.sh file from this object directory to the new one before you run Configure -- this will help you with most of the policy defaults. ===> Building for perl-5.8.8 `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" miniperlmain.o` -DPIC -fPIC miniperlmain.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" perl.o` -DPIC -fPIC perl.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" malloc.o` -DPIC -fPIC malloc.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" gv.o` -DPIC -fPIC gv.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" toke.o` -DPIC -fPIC toke.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" perly.o` -DPIC -fPIC perly.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" op.o` -DPIC -fPIC op.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" pad.o` -DPIC -fPIC pad.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" regcomp.o` -DPIC -fPIC regcomp.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" dump.o` -DPIC -fPIC dump.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" util.o` -DPIC -fPIC util.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" mg.o` -DPIC -fPIC mg.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" reentr.o` -DPIC -fPIC reentr.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" hv.o` -DPIC -fPIC hv.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" av.o` -DPIC -fPIC av.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" run.o` -DPIC -fPIC run.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" pp_hot.o` -DPIC -fPIC pp_hot.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" sv.o` -DPIC -fPIC sv.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" pp.o` -DPIC -fPIC pp.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" scope.o` -DPIC -fPIC scope.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" pp_ctl.o` -DPIC -fPIC pp_ctl.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" pp_sys.o` -DPIC -fPIC pp_sys.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" doop.o` -DPIC -fPIC doop.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" doio.o` -DPIC -fPIC doio.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" regexec.o` -DPIC -fPIC regexec.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" utf8.o` -DPIC -fPIC utf8.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" taint.o` -DPIC -fPIC taint.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" deb.o` -DPIC -fPIC deb.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" universal.o` -DPIC -fPIC universal.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" xsutils.o` -DPIC -fPIC xsutils.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" globals.o` -DPIC -fPIC globals.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" perlio.o` -DPIC -fPIC perlio.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" perlapi.o` -DPIC -fPIC perlapi.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" numeric.o` -DPIC -fPIC numeric.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" locale.o` -DPIC -fPIC locale.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" pp_pack.o` -DPIC -fPIC pp_pack
Re: Anyone using sysutils/nut ?
Hi Derek, This isn't starting and stopping nut, this is shutting the UPS itself off. The supplied scripts don't take care of anything having to do with "upsdrvctl" doing a shutdown, only a stop or start. Tuc > > I use nut. The port puts an rc script in /usr/local/etc/rc.d to start and > stop nut. > > -Derek > > > At 09:54 AM 5/22/2006, Scott "Tuc" Ellentuch at T-B-O-H wrote: > >Hi, > > > > I'd like to find out where to put the "upsdrvctl shutdown" in the > >shutdown process. Putting it in rc.shutdown causes me to have dirty > >filesystems constantly that sometimes don't allow the system to come up. > > > > Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Kde freeze after keypress
Sory if this isn't the correct place to put this question. I've also posted it to kde.freebsd list. I'm using Xming to connect to a remote FreeBSD box, everything works perfect wen using Gnome, TWM, etc... When I run a KDE session, there is no problem till I press any key... after that, the desktop stops responding to the keyboard, and even to the mouse clicks (althought the cursor still moves around), it "feels" like an overloaded box, because , for example, after click on a window it keeps focus about 5 seconds later. But as I said above, the problem begins when I try to use the keyboard. Had this happened to sombody else? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrade from OLD -> NEW release
Hi, On 5/22/06, Albert Shih <[EMAIL PROTECTED]> wrote: Hi all >From many time I make the upgrade my FreeBSD by using : make -DNO_PROFILE buildowlrd make buildkernel make installkernel reboot/single make -DNO_PROFILE installworld mergemaster reboot Well everything work fine..but I always have some old file in /lib and /usr/lib Can I destroy him without problem ? There are news targets that can help you since FreeBSD 6.1-RELEASE: check-old, delete-old and delete-old-libs [EMAIL PROTECTED] /usr/src]$ make check-old Checking for old files Checking for old libraries Checking for old directories To remove old files and directories run 'make delete-old'. To remove old libraries run 'make delete-old-libs'. HTH Lots of thanks. Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. 7 ième étage, plateau D, bureau 10 Heure local/Local time: Mon May 22 16:24:56 CEST 2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Regards. -- There's this old saying: "Give a man a fish, feed him for a day. Teach a man to fish, feed him for life." ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MESS (BINGO! /rescue/vi )
At Mon, 22 May 2006 it looks like Daniel Bye composed: > If you have /rescue on your system, you have a static vi already. Not > vim, admittedly, but in a fix I would think you could muddle through with > it. > Bingo Dan! # [EMAIL PROTECTED] /rescue]-> ldd ./vi ldd: ./vi: not a dynamic executable # -- Bill Schoolcraft | http://wiliweld.com "If your life was full of nothing but sunshine, you would just be a desert." ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MESS
Hunter Fuller wrote: On 22 May 2006, at 1:39 PM, Kevin Kinsey wrote: I hereby admit to being a vi wimp. I did memorize 'q:!', for obvious reasons; and, this isn't about an editor war, either. Woops! Are you sure about that last statement? :P I think you meant :q! :D Maybe if I'd been using vi to edit the message, I might have gotten it correct ;-) KDK -- DISCLAIMER: Use of this advanced computing technology does not imply an endorsement of Western industrial civilization. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MESS
On Mon, May 22, 2006 at 07:16:03AM -0700, Bill Schoolcraft wrote: > At Mon, 22 May 2006 it looks like Jerry McAllister composed: > > > Yup. It is in /usr/bin > > I guess, I am so used to putting a copy of vi in /bin shortly after > > installing a new system that I assume it is always there. > > > > Can we actually 'de-install' then 're-install' vi(m) from PORTS with > it statically compiled? > > Then we can move it to /bin (?) If you have /rescue on your system, you have a static vi already. Not vim, admittedly, but in a fix I would think you could muddle through with it. Dan -- Daniel Bye PGP Key: http://www.slightlystrange.org/pgpkey-dan.asc PGP Key fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpOY9iZ76DLY.pgp Description: PGP signature
Re: e-mail server farm question
At 07:17 AM 5/22/2006, Evren Yurtesen wrote: Hello, I was wondering how does services like yahoo mail is storing e-mails. Somehow the smtp server should know where to deliver the mail inside the system and webmail should know from which server to read it from. Does anybody have any practical ideas about how it is done? Derek Ragona wrote: > If you are using sendmail, as most FreeBSD users are, you can check > the sendmail.org site for information on mail handling. There are a > number of methods that depend on your setup. > Well, it's pretty obvious that they aren't using a stock SendMail: # telnet mx2.mail.yahoo.com 25 Trying 67.28.113.72... Connected to mx2.mail.yahoo.com. Escape character is '^]'. 220 mta309.mail.re4.yahoo.com ESMTP YSmtp service ready Short of finding an article written by someone 'in the know', or an answer for someone like that, we can only guess. I'd probably start with guessing a big DB on a large SAN; which pretty much negates the "which server to read from" question (up to a point). Everything else is pretty academic. SMTP, IMAP, POP. Kevin Kinsey -- You never realize how many friends you have until you rent a house at the beach. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
amd64 FreeBSD 6.0 problem
Please let me know if this is not the right list to ask this. I have a Tyan 4882 4 CPU (dual core) Opteron, running amd64 FreeBSD 6.0 Release, 8 gig ram (all recognized), SCSI 15K Seagate ST373454LC drives. BIOS is running all stock settings. It's job is to run Apache (ran 2.1 now latest 2.2, have tried threaded and prefork configurations). It runs blisteringly fast and appears to have no problems except one. It hangs after running 5 to 7 days, once after 2 days. There are no error messages in the log and it just stops responding. The only solution is to physically go press the reset button where as it recovers perfectly every time (after fixing the messed up any messed up file system links). The system is a very high traffic web server. It services html pages and trivial Perl CGI forum software running without any particular privilege. Prior to a hurried installation, I ran a high volume bench mark against it on my own lan hitting it with 10K of requests for a trivial web page look up and did produce a hang but the person needing the system really needed it that day. Because of that I've tried two versions of Apache and various MPMs all with the same result. I think Apache may be a red herring in this. I also discovered that it's running off an UPS rated lower than it's power requirements though only under extreme conditions, the UPS is being replaced this week. The hang seems too consistent to be power but perhaps not. I would like to know if anyone has heard of such an issue with amd64 6.0 Release and what debugging processes might have been used to get around it. I have dmesg and more *stat information if that would help. Thank you in advance, Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: webalizer and apache
Dave wrote: Hello, I'm trying to get apache2 and webalizer to work together. So far all i'm getting in my output is "Can not parse oversized line" from webalizer. I'm assuming i don't have an apache log format set correctly, i've got combined format set in both apache and webalizer. I was wondering could i see your apache and webalizer log statements? Thanks. Dave. Hi yes combined format is correct it should work if its declared. see excerpt from my httpd.conf: 8<--8<-- LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined CustomLog /var/log/httpd-access.log combined 8<--8< the first line should be already present in your httpd.conf so simply add the CustomLog line either at toplevel or in your virtualHost directive and it should work and my webalizer.conf : 8<--8<-- LogType clf 8<--8< a typical clf-log-format entry looks like this: xx.xx.xx.xxx - - [22/May/2006:18:35:25 +0200] "GET /foo HTTP/1.1" 404 293 "http://foohost/referer"; "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; de) Opera 8.50" greetings Matze ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MESS (statically compiled vi )
well, it looks like my sh has some dependancies too, so I wouldn't worry about it really. [EMAIL PROTECTED] /usr/ports/lang/php5]# ldd `which sh` /bin/sh: libedit.so.5 => /lib/libedit.so.5 (0x2808c000) libncurses.so.6 => /lib/libncurses.so.6 (0x280a) libc.so.6 => /lib/libc.so.6 (0x280df000) On 5/22/06, Bill Schoolcraft <[EMAIL PROTECTED]> wrote: At Mon, 22 May 2006 it looks like Jerry McAllister composed: > > > > At Mon, 22 May 2006 it looks like Jerry McAllister composed: > > > > > Yup. It is in /usr/bin > > > I guess, I am so used to putting a copy of vi in /bin shortly after > > > installing a new system that I assume it is always there. > > > > > > > Can we actually 'de-install' then 're-install' vi(m) from PORTS with > > it statically compiled? > > > > Then we can move it to /bin (?) > > You don't really need to de-install it. > Just cp /usr/bin/vi /bin/. > Make sure you are happy with the permissions. > > It will work. vi is pretty well self contained. Hmm, not sure if we are talking about in single user mode with only / mounted, here is what my version does with a dependency check... I see it need libs in /lib, which I'm sure is not on it's own partition, but I was hoping to get vi statically compiled. ### [EMAIL PROTECTED] /usr/ports/editors]-> ldd `which vi` /usr/bin/vi: libncurses.so.5 => /lib/libncurses.so.5 (0x280b9000) libc.so.5 => /lib/libc.so.5 (0x280f8000) ### -- Bill Schoolcraft | http://wiliweld.com "If your life was full of nothing but sunshine, you would just be a desert." ___ 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: MESS (statically compiled vi )
At Mon, 22 May 2006 it looks like Jerry McAllister composed: > > > > At Mon, 22 May 2006 it looks like Jerry McAllister composed: > > > > > Yup. It is in /usr/bin > > > I guess, I am so used to putting a copy of vi in /bin shortly after > > > installing a new system that I assume it is always there. > > > > > > > Can we actually 'de-install' then 're-install' vi(m) from PORTS with > > it statically compiled? > > > > Then we can move it to /bin (?) > > You don't really need to de-install it. > Just cp /usr/bin/vi /bin/. > Make sure you are happy with the permissions. > > It will work. vi is pretty well self contained. Hmm, not sure if we are talking about in single user mode with only / mounted, here is what my version does with a dependency check... I see it need libs in /lib, which I'm sure is not on it's own partition, but I was hoping to get vi statically compiled. ### [EMAIL PROTECTED] /usr/ports/editors]-> ldd `which vi` /usr/bin/vi: libncurses.so.5 => /lib/libncurses.so.5 (0x280b9000) libc.so.5 => /lib/libc.so.5 (0x280f8000) ### -- Bill Schoolcraft | http://wiliweld.com "If your life was full of nothing but sunshine, you would just be a desert." ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MESS
On 22 May 2006, at 1:39 PM, Kevin Kinsey wrote: I hereby admit to being a vi wimp. I did memorize 'q:!', for obvious reasons; and, this isn't about an editor war, either. Woops! Are you sure about that last statement? :P I think you meant :q! Personally, I moved a binary of e3 (ports/editors/e3) into /bin and created the following: [EMAIL PROTECTED]/bin] cat /bin/ee #!/bin/sh /bin/e3pi --- so I wouldn't have to deal with ed(1) if stuck in single-user. Kevin Kinsey -- Then there was the Formosan bartender named Taiwan-On. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions- [EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Notice: Please Update your Richdex Online Listing!
Dear Customer, This communication should be dealt with by your marketing dept. Please update your directory listing at Richdex as soon as possible. We have listed your website/homepage for no charge on our Online Directory in an effort to provide you with as much exposure as is possible. Richdex is the world's largest human edited online directory and search engine and can boost your website/homepage exposure immediately. To enjoy the full power of Richdex it is essential that you update your listing without further delay. Please click here to go to Richdex, search for your website/homepage listing and update. It's that easy. For assistance click here. Thank you Trevor Richardson Managing Director - Richdex.com Important restrictions, qualifications and disclaimers ("the Disclaimer") apply to this email. To read this click on the following address or copy into your Internet browser: http://www.richdex.com/rich/dex/en/index.php/Richdex:Email_disclaimer The Disclaimer forms part of the content of this email in terms of section 11 of the Electronic Communications and Transactions Act, 25 of 2002. If you are unable to access the Disclaimer, send a blank e-mail to [EMAIL PROTECTED] and we will send you a copy of the Disclaimer. http://www.richdex.com http://www.richdex.com/rich/dex/en/index.php/Help:Contents ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
can't build perl-5.8.8 in a jail
I'm trying to build perl 5.8.8 inside a jail and it won't build. I always error at the same spot. Below is the last 100 lines out of make. Anyone have any ideas? Finding dependencies for pp_ctl.o. Finding dependencies for pp_sys.o. Finding dependencies for regcomp.o. Finding dependencies for regexec.o. Finding dependencies for utf8.o. Finding dependencies for gv.o. Finding dependencies for sv.o. Finding dependencies for taint.o. Finding dependencies for toke.o. Finding dependencies for util.o. Finding dependencies for deb.o. Finding dependencies for run.o. Finding dependencies for universal.o. Finding dependencies for xsutils.o. Finding dependencies for pad.o. Finding dependencies for globals.o. Finding dependencies for perlio.o. Finding dependencies for perlapi.o. Finding dependencies for numeric.o. Finding dependencies for locale.o. Finding dependencies for pp_pack.o. Finding dependencies for pp_sort.o. Finding dependencies for miniperlmain.o. Finding dependencies for perlmain.o. Finding dependencies for opmini.o. echo Makefile.SH cflags.SH config_h.SH makeaperl.SH makedepend.SH makedir.SH myconfig.SH writemain.SH pod/Makefile.SH | tr ' ' '\n' .shlist Updating makefile... test -s perlmain.c && touch perlmain.c cd x2p; make depend sh ../makedepend MAKE=make echo hash.c str.c util.c walk.c | tr ' ' '\n' >.clist Finding dependencies for hash.o. Finding dependencies for str.o. Finding dependencies for util.o. Finding dependencies for walk.o. echo Makefile.SH cflags.SH | tr ' ' '\n' >.shlist Updating makefile... Now you must run 'make'. If you compile perl5 on a different machine or from a different object directory, copy the Policy.sh file from this object directory to the new one before you run Configure -- this will help you with most of the policy defaults. ===> Building for perl-5.8.8 `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" miniperlmain.o` -DPIC -fPIC miniperlmain.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" perl.o` -DPIC -fPIC perl.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" malloc.o` -DPIC -fPIC malloc.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" gv.o` -DPIC -fPIC gv.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" toke.o` -DPIC -fPIC toke.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" perly.o` -DPIC -fPIC perly.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" op.o` -DPIC -fPIC op.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" pad.o` -DPIC -fPIC pad.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" regcomp.o` -DPIC -fPIC regcomp.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" dump.o` -DPIC -fPIC dump.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" util.o` -DPIC -fPIC util.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" mg.o` -DPIC -fPIC mg.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" reentr.o` -DPIC -fPIC reentr.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" hv.o` -DPIC -fPIC hv.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" av.o` -DPIC -fPIC av.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" run.o` -DPIC -fPIC run.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" pp_hot.o` -DPIC -fPIC pp_hot.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" sv.o` -DPIC -fPIC sv.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" pp.o` -DPIC -fPIC pp.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" scope.o` -DPIC -fPIC scope.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" pp_ctl.o` -DPIC -fPIC pp_ctl.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" pp_sys.o` -DPIC -fPIC pp_sys.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" doop.o` -DPIC -fPIC doop.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" doio.o` -DPIC -fPIC doio.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" regexec.o` -DPIC -fPIC regexec.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" utf8.o` -DPIC -fPIC utf8.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" taint.o` -DPIC -fPIC taint.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" deb.o` -DPIC -fPIC deb.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" universal.o` -DPIC -fPIC universal.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" xsutils.o` -DPIC -fPIC xsutils.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" globals.o` -DPIC -fPIC globals.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" perlio.o` -DPIC -fPIC perlio.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" perlapi.o` -DPIC -fPIC perlapi.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" numeric.o` -DPIC -fPIC numeric.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" locale.o` -DPIC -fPIC locale.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" pp_pack.o` -DPIC -fPIC pp_pack.c `sh cflags "optimize='-O2 -fno-strict-aliasing -pipe'" pp_sort.o` -DPIC -fPIC pp_sort.c cc -o libperl.so -shared -
system freezes.
Hello, I've been having some freeze problems with my "managed" freebsd server that my host has been less than helpful with; I hope that this is the right place to ask the questions I have. os: freebsd 4.8-stable major applications: apache 1.3.29 + php 4.3.10 , mysql 4.1.18-log, dirvish, riff-backup Machine freezes with nothing written to the logs or console - if you happen to be logged in and running top when it "starts" to freeze your top session will run completely normally and without lag (spacebar refreshes display, you can resort on size or cpu, etc), but no other processes can start - typing a command into another open shell will not start that program. Until it fully freezes it will echo characters back in the shell - and top will continue to run as normal. Top always shows a load of <0.1, there's always 5MB to 50MB of ram free. All of the hardware has been replaced (motherboard, cpu, ram, power supply, hard drive) I can't make it freeze on demand by replaying the web hits or database queries that occurred before the crash. I am able to make it freeze on demand by slurping down a particular dirvish vault with rsync. The freeze symptoms are the same as the random freeze symptoms (top responds normally, new processes can't start) The random freezes occur whether or not I'm running dirvish on a schedule. The rsync freezing I can work around if needed, the random freezes I cannot. Does anybody have any suggestions on how I might track down the problem? thanks, Brent ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD Security Survey
I'd have to agree with most of Ted and Gayn's points. Also, it's hard to answer many of the questions when they are different for different servers. Unless there is a serious bug in something like SSH, then a paying client with a seriously firewalled server and no malicious users might get upgraded every four months. My own server might get upgraded weekly when I'm not too busy, or not for four months when I am. But a security bug with a network service would get much more immediate attention. If I still administered machines in an academic environment, my answers would be quite different, but the risk analysis that led to the different answers would (theoretically) be the same. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MESS
> > At Mon, 22 May 2006 it looks like Jerry McAllister composed: > > > Yup. It is in /usr/bin > > I guess, I am so used to putting a copy of vi in /bin shortly after > > installing a new system that I assume it is always there. > > > > Can we actually 'de-install' then 're-install' vi(m) from PORTS with > it statically compiled? > > Then we can move it to /bin (?) You don't really need to de-install it. Just cp /usr/bin/vi /bin/. Make sure you are happy with the permissions. It will work. vi is pretty well self contained. jerry > -- > Bill Schoolcraft | http://wiliweld.com > > "If your life was full of nothing but > sunshine, you would just be a desert." > > ___ > 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]"
Getting JAVA_HOME for a jetty rc script
Just installed Jetty and I wanted to control it with an rc script, live every other port I've installed ;o) I came up with a simple wrapper to the handy script provided by jetty (see below). Copy and paste from the Postgres script is about the extent of my rc skills right now... I'm actually happy with it for my limited purpose, the only thing I don't like is hard-coding the JAVA_HOME value in there. I thought there would be a way of determining this (javavmwrapper does it obviously) but I can't figure it out. Any clues anyone? (Also, any feedback? Does anyone else here miss an rc script for Jetty?) Cheers Ashley #!/bin/sh # PROVIDE: jetty # REQUIRE: LOGIN # KEYWORD: shutdown # # Add the following line to /etc/rc.conf to enable jetty: # jetty_enable (bool): Set to "NO" by default. #Set it to "YES" to enable Jetty. # jetty_java_home (str): Set to "/usr/local/jdk1.5.0" by default. # . /etc/rc.subr load_rc_config jetty name="jetty" rcvar=`set_rcvar` command="/usr/local/sbin/jetty" extra_commands="run check supervise demo" start_cmd="$command start" stop_cmd="$command stop" run_cmd="$command run" restart_cmd="$command restart" status_cmd="$command check" check_cmd="$command check" supervise_cmd="$command supervise" demo_cmd="$command demo" jetty_enable=${jetty_enable:-"NO"} jetty_java_home=${jetty_java_home:-"/usr/local/jdk1.5.0"} export JAVA_HOME=$jetty_java_home run_rc_command "$1" -- "If you do it the stupid way, you will have to do it again" - Gregory Chudnovsky ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: e-mail server farm question
If you are using sendmail, as most FreeBSD users are, you can check the sendmail.org site for information on mail handling. There are a number of methods that depend on your setup. -Derek At 07:17 AM 5/22/2006, Evren Yurtesen wrote: Hello, I was wondering how does services like yahoo mail is storing e-mails. Somehow the smtp server should know where to deliver the mail inside the system and webmail should know from which server to read it from. Does anybody have any practical ideas about how it is done? Thanks, Evren ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Anyone using sysutils/nut ?
I use nut. The port puts an rc script in /usr/local/etc/rc.d to start and stop nut. -Derek At 09:54 AM 5/22/2006, Scott "Tuc" Ellentuch at T-B-O-H wrote: Hi, I'd like to find out where to put the "upsdrvctl shutdown" in the shutdown process. Putting it in rc.shutdown causes me to have dirty filesystems constantly that sometimes don't allow the system to come up. Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
LIB_DEPENDS problem
Hi all I'm trying to make a new port that depends on ACE and pqxx, but it can't find lib pqxx even though it is installed. work# make -DNO_CHECKSUM ===> WARNING: Vulnerability database out of date, checking anyway ===> Extracting for esad-0.1 ===> Patching for esad-0.1 ===> esad-0.1 depends on shared library: ACE_SSL - found ===> esad-0.1 depends on shared library: pqxx - not found ===>Verifying install for pqxx in /usr/ports/databases/postgresql-libpqxx ===> WARNING: Vulnerability database out of date, checking anyway ===> Extracting for postgresql-libpqxx-2.5.5 ^C work# pkg_info | grep postgresql-libpqxx postgresql-libpqxx-2.5.5 A new C++ interface for PostgreSQL work# ls /usr/local/lib/libpqxx* /usr/local/lib/libpqxx-2.5.5.so /usr/local/lib/libpqxx.la /usr/local/lib/libpqxx.a/usr/local/lib/libpqxx.so work# ldconfig -r | grep pqxx work# From the Makefile: LIB_DEPENDS=ACE_SSL:${PORTSDIR}/devel/ace \ pqxx:${PORTSDIR}/databases/postgresql-libpqxx System: FreeBSD 6.0-SECURITY on a ia32. Anyone? Best regards db ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Anyone using sysutils/nut ?
Hi, I'd like to find out where to put the "upsdrvctl shutdown" in the shutdown process. Putting it in rc.shutdown causes me to have dirty filesystems constantly that sometimes don't allow the system to come up. Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FTP and chroot....
Hello, For the life of me I can not get any user who FTPs into my box to be chroot'ed to a particular directory. I'm sure this should be a simple thing to do. I have setup an ~/ftp directory for each user and would like their ftp session to be chroot'ed to it. But I can't seem to get it working. Here is what I presently have setup... rc.conf ftpd_enable="YES" ftpd_flags="-S -ll" ftpd.conf chroot all /home/%u/ftp ftpusers ftpchroot @ftp All users which I grant FTP access to are members of the ftp group. They can FTP into the box, but the root dir is their home dir. They are chroot'ed to their home dir... not ~/ftp. I've tried various things in all of the config files to change it to this subdir, to no avail. Thanks, -- Regards, Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: building a cluster
Hi all, Mikhail Goriachev's help was very useful, but now I anyone can give me few steps to configure this cluster is very appreciated. Thanks. Best Regards, Carlos Silva, CSilva Web: [1]http://www.csilva.org/ Mikhail Goriachev wrote: Carlos Silva wrote: Hi, This info hasn't helped me too much unfortunately =(. Someone can give me a great tutorial for noobs? Best Regards, Hi, Well, you could start with something like: [2]http://www.transcoding.org/cgi-bin/transcode?action=browse&id=Examples/Clust er_Batch_Encoding&oldid=Cluster_Batch_Encoding The site's got some interesting things. Don't just stop at that link. Last year I had this ambitious plan to come up with a cluster that could do divx2dvd, dvd2dvd and dvd2divx with monitoring, master-slave controllers, etc. I didn't get too far due to other commitments though. I hope this points into right direction. Regards, Mikhail. References 1. http://www.csilva.org/ 2. http://www.transcoding.org/cgi-bin/transcode?action=browse&id=Examples/Cluster_Batch_Encoding&oldid=Cluster_Batch_Encoding ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
upgrade from OLD -> NEW release
Hi all >From many time I make the upgrade my FreeBSD by using : make -DNO_PROFILE buildowlrd make buildkernel make installkernel reboot/single make -DNO_PROFILE installworld mergemaster reboot Well everything work fine..but I always have some old file in /lib and /usr/lib Can I destroy him without problem ? Lots of thanks. Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. 7 ième étage, plateau D, bureau 10 Heure local/Local time: Mon May 22 16:24:56 CEST 2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Mergemaster fails when updating to 6.1
On a pentium 4 server I updated from 6.0 to 6.1 according to the suggested procedure: # 1. `cd /usr/src' (or to the directory containing your source tree). # 2. `make buildworld' # 3. `make buildkernel # 4. `make installkernel # 5. `reboot' . # 6. `mergemaster -p' # 7. `make installworld' # 8. `make delete-old' # 9. `mergemaster' But... mergemaster ended in a: .. install -o root -g wheel -m 644 freebsd.cf /var/tmp/temproot/etc/mail/sendmail.cf install -o root -g wheel -m 444 freebsd.submit.cf /var/tmp/temproot/etc/mail/submit.cf cd /usr/src/etc; install -o root - g wheel -m 644 /var/tmp/temproot/etc/ssh usage: install [-bCcpSsv] [- B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory install -d [-v] [-g group] [-m mode] [-o owner] directory ... *** Error code 64 Stop in /usr/src/etc. *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to the temproot environment ... In /etc/make.conf I have SUP_UPDATE = yes SUP = /usr/local/bin/cvsup SUPFLAGS = -g -L 2 SUPHOST = cvsup.it.FreeBSD.org SUPFILE = /usr/local/etc/cvsup/stable-supfile PORTSSUPFILE = /usr/local/etc/cvsup/ports-supfile DOCSUPFILE = /usr/local/etc/cvsup/doc-supfile # CPUTYPE=p4 PERL_VER=5.8.8 PERL_VERSION=5.8.8 KERNCONF= SERVER5 NO_RESCUE =true NO_ATM= true # do not build ATM related programs and libraries NO_BLUETOOTH=true # do not build Bluetooth related stuff NO_CRYPT= true # do not build any crypto code NO_GAMES= true # do not build games (games/ subdir) NO_INET6= true # do not build IPv6 related programs and libraries NO_KERBEROS= true # do not build and install Kerberos 5 (KTH Heimdal) What's going on and what should I do? Ciao - Vittorio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pflog
Le 22/05/2006 à 10:14:58-0400, Andy Greenwood a écrit > This is discussed in the openbsd pf page > > http://www.openbsd.org/faq/pf/logging.html#syslog > Thanks for the URLbut it's seem the shell script write on FILE=/home/pflogger/pflog5min.$(date "+%Y%m%d%H%M") first before he push (by syslog) the log to a server. Well, maybe it's impossible:-( Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. 7 ième étage, plateau D, bureau 10 Heure local/Local time: Mon May 22 16:19:32 CEST 2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
NO_RESCUE option in make.conf
To update the system in my /etc/make.conf among other building(-world) options I put a: NO_RESCUE= true Which actually is not declared neither in the man page of make.conf nor in the /usr/share/examples/etc/make.conf file. Nonetheless it seems to work. Am I right? Vittorio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MESS
At Mon, 22 May 2006 it looks like Jerry McAllister composed: > Yup. It is in /usr/bin > I guess, I am so used to putting a copy of vi in /bin shortly after > installing a new system that I assume it is always there. > Can we actually 'de-install' then 're-install' vi(m) from PORTS with it statically compiled? Then we can move it to /bin (?) -- Bill Schoolcraft | http://wiliweld.com "If your life was full of nothing but sunshine, you would just be a desert." ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pflog
This is discussed in the openbsd pf page http://www.openbsd.org/faq/pf/logging.html#syslog On 5/22/06, Albert Shih <[EMAIL PROTECTED]> wrote: Le 22/05/2006 à 16:59:02+0300, Iantcho Vassilev a écrit > On 5/22/06, Albert Shih <[EMAIL PROTECTED]> wrote: > > When you write your rules, you put "log" in them.. > > > example: > pass in quick log proto tcp from any to any keep state > > > then you have to have pflogd started(pflog_enable="YES" in /etc/rc.conf). > > When pflog is started your binary log is lcated on /var/log/pflog > > you can read it witH: > tcpdump -n -t -r /var/log/pflog > > if you want real time(because pflog is where is written with some delay) > tcpdump -n -t -i pflog0 Thanks. But I known this thing. The problem is with this method the log is first write on the hard-disk. And I don't want do that (well I don't like...) I prefer the pflogd directly log to a central server. It's possible ? Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. 7 ième étage, plateau D, bureau 10 Heure local/Local time: Mon May 22 16:08:02 CEST 2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: what does this mean
On Sunday 21 May 2006 05:19, Imran Imtiaz wrote: > i've seen the following log in my messages can any body tell me what does > it mean? > > May 21 02:50:29 darkstar sm-mta[55021]: k4KLoTeq055021: localhost > [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MSA It means that someone (probably you or a program you were running since it's from localhost) connected to sendmail (probably on TCP port 25) on your machine, but then disconnected before issuing any commands. You can generate the message again by doing "telnet localhost 25" and then typing ^] and quit without typing anything over the connection. Probably the result of a port scan or connectivity check. I wouldn't worry about it unduly. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: FreeBSD Security Survey
> [mailto:[EMAIL PROTECTED] On Behalf Of Ted > Mittelstaedt > Sent: Sunday, May 21, 2006 11:20 PM > To: Colin Percival; FreeBSD Questions > Subject: RE: FreeBSD Security Survey > > Colin, > > Just a couple problems with the survey: > > Question #6 needs a "Sometimes" as it is not going to be a yes > or no question for many people. > > Your also ignoring the fact that many security holes are a lot > easier to ignore and just block off the affected service. For example > we run an older RADIUS daemon that has the hole in it that CERT > documented a few years ago. But we restrict incoming radius > queries to this server to the NAS only. When the FreeBSD telnetd > problem came out a few years back I didn't bother patching systems, > I just disabled telnetd and waited until it was time to replace the > server with a new version of FreeBSD. > > The thing is, though, that when your dealing with a production > server you really have to understand what is involved to apply a > patch. You don't just go to a production system that a lot of people > are using and run some automated patch-me program that fucks around > with a bunch of files on that server under the hood. You have to > apply the patch to a test system, by hand, to know exactly what > it's changing, then run your test suite on the test system to make > sure the production system isn't going to tank when you touch it, > then schedule a time to touch the production system and patch it, > and make sure you have plenty of time in your schedule available > post-patch just in case something reacts wrong. > > And, when the FBSD system is a server you have built under spec > for a customer, it's a whole different ballgame because before you > spend a minute of time on it, you have to go to the customer and > tell them a security patch came out for their server and they got to > pay you a couple hundred bucks to install it on their server you > built for them. Your not going to work for free. And the customer > may take the attitude that they are planning on replacing the server > in 6 months anyway, and at that time you can just use a new version of > FBSD that doesen't have the hole, and they are just going to take > their chances until then. > > In that situation even if patching their server was merely > a matter of > spending 2 minutes logging into it and running an updater, you still > wouldn't > do it and you know why? Because the second you start doing work for > that customer for free, they are going to expect it. It's better from > a business perspective for you to warn them their server is open and > they have to pay you to patch it, have them decline for the moment > and leave it unpatched because they are going to gamble for another > 6 months that it won't be attacked, and then have a cracker bust it up > so you can tell them "I told you we needed to patch that and > you decided > to cheap out, look what you get" (of course you say it in a more > diplomatic way) > > Your survey responses lack any responses that indicate that leaving > the system unpatched may be deliberately done, for monetary reasons, > your responses in the survey assume that all system admins that > understand the security implications of leaving a system wide open > are going to always patch them, and only ignorant/newbie system > admins are going to run an unpatched system. > > And the other problem too is that there's still a lot of hardware > out there that runs FreeBSD 4.11 much better than 5.X and later. > I have a number of Compaq dual-PPro deskpros for example that work > fine under 4.11 but run slow as molassas under newer versions of > FreeBSD. send-pr reports are pointless here since many people > have already complained about such behavior with a lot of different > gear, and it appears all the FBSD developers today are building > on nice new gigahertz hardware not old stuff, and have the attitude > to just scrap the old hardware, and buy new, it's cheap enough. > > You need to add another question like: > > X) why are you running an obsolete version of FreeBSD: > > ) hardware I have doesen't work well with newer versions of FBSD > > But, I realize that very likely you won't add this because it's > not something the FBSD development team wants to hear. (ie: spend > more time optimizing and working through the PR database and less time > coming out with new gee-whiz FBSD versions and trying to get people to > upgrade) > > Good luck with it, but understand also that the same issues apply to > patching Windows systems. When we install a Windows server, we never > turn on auto-updates, we only do this for desktops. And > before applying > a MS patch to a Windows server it has to go through the same > rigamarole > of testing and such that a patch to a FBSD server would. Too > many times > in the past, patches have broken application software. > > Ted Colin, I had the same problem with #6 and also with #12. #9, which
Re: pflog
Le 22/05/2006 à 16:59:02+0300, Iantcho Vassilev a écrit > On 5/22/06, Albert Shih <[EMAIL PROTECTED]> wrote: > > When you write your rules, you put "log" in them.. > > > example: > pass in quick log proto tcp from any to any keep state > > > then you have to have pflogd started(pflog_enable="YES" in /etc/rc.conf). > > When pflog is started your binary log is lcated on /var/log/pflog > > you can read it witH: > tcpdump -n -t -r /var/log/pflog > > if you want real time(because pflog is where is written with some delay) > tcpdump -n -t -i pflog0 Thanks. But I known this thing. The problem is with this method the log is first write on the hard-disk. And I don't want do that (well I don't like...) I prefer the pflogd directly log to a central server. It's possible ? Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. 7 ième étage, plateau D, bureau 10 Heure local/Local time: Mon May 22 16:08:02 CEST 2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MESS
> > Jerry McAllister wrote: > > Hi, > > > >> if i enter single user mode it dasen't seem to recognize many commands: > >> starrtx, ee, pico, emacs etc so i cannot change my /etc/fstab in case this > >> is the problem. > > > > Yes. Generally none of those extra things are availiable in single user. > > Single user is minimal and does not have services started nor anything > > but root mounted and root is mounted in a special non-write way. > > > > You need to learn enough 'vi' editor to fix problems in these types > > of situations because generally vi will be available even when the > > others are not usable. > > Whoops! Are you sure about that last statement? > > [EMAIL PROTECTED] > whereis vi > vi: /usr/bin/vi /usr/share/man/man1/vi.1.gz /usr/src/usr.bin/vi Yup. It is in /usr/bin I guess, I am so used to putting a copy of vi in /bin shortly after installing a new system that I assume it is always there. Anyway, in this poster's situation it should be possible to also do: fsck -p /usr mount /usr in addition to the other things mentioned and then 'vi' and some of the others would be available - but not things that need services running. jerry > > So, in single-user without /usr mounted, how is he > going to run vi(1)? And if /usr *is* mounted, you can > call pico, emacs, whatever, (even vi) provided $PATH > is established or you care to call 'em directly. > > I hereby admit to being a vi wimp. I did memorize 'q:!', > for obvious reasons; and, this isn't about an editor war, > either. > > Personally, I moved a binary of e3 (ports/editors/e3) into > /bin and created the following: > > [EMAIL PROTECTED]/bin] > cat /bin/ee > #!/bin/sh > > /bin/e3pi > > --- so I wouldn't have to deal with ed(1) if stuck in > single-user. > > Kevin Kinsey > > -- > Then there was the Formosan bartender named Taiwan-On. > ___ > 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: MESS
On Mon, May 22, 2006 at 08:51:19AM -0400, Jerry McAllister wrote: > > I fear that this time a messed up big time. I have two hard drives one > > with Windows XP (40G) and another with FreeBSD 6.1 (10G). Eveything was > > ok until I decided i wanted to mount my windows drive to FreBSD (i run KDE > > as GUI). I followed the instruction from OnLamp.com and since i wanted the > > whole process to be automated on every boot i added the following lines > > in /etc/fstab using ee: > > /dev/ad0s1 /windowsntfs rw 1 1 > > The only thing I see wrong, as long as the "ntfs" is correct might be > wanting 'ro' instead of 'rw' and '2 2' instead of '11'. Try > modifying those. Definitely "ro" in the flags field, but I would suggest 0 in the final field - it is used to determine when the partition should be fsck'd. As the OP saw, there is no fsck_ntfs so that particular error would still manifest. The penultimate field might also get away with being 0, depending on whether or not the OP wants to back up the Windows partition on his FreeBSD bckup sets. That's down to local policy though. > > > and everything looked normal until i rebooted! now when i choose FreeBSD > > on the bootmanager it starts looking ok and ends up with the following: > > fsck: exec fsck-ntfs for /dev/ad0s1 in /sbin:/usr/sbin: No such file or > > directory > > Unknown error: help! > > init /bin/sh on /etc/rc terminated abnormaly, going to single user mode > > Enter full pathname of shell of RETURN for /bin/sh > > > > if i enter single user mode it dasen't seem to recognize many commands: > > starrtx, ee, pico, emacs etc so i cannot change my /etc/fstab in case this > > is the problem. > > Yes. Generally none of those extra things are availiable in single user. > Single user is minimal and does not have services started nor anything > but root mounted and root is mounted in a special non-write way. If the machine comes /up/ into single user mode, true. If the machine goes /down/ to single user mode, I believe file systems remain mounted, but all your rc.d stuff will be terminated. In this latter case, most tools should still be available without any extra intervention. Dan -- Daniel Bye PGP Key: http://www.slightlystrange.org/pgpkey-dan.asc PGP Key fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgp1hJ4iHYmUc.pgp Description: PGP signature
Re: pflog
On 5/22/06, Albert Shih <[EMAIL PROTECTED]> wrote: Hi all I want to use pf (actually I use ipfw). Well after I read the openbsd book, I always don't known how can I log the log of pf (with pflog) using syslog and I don't want (if it's possible) to write anything in my hard-disk (event it's temporaly, because it's virtual disk, I'm running vmware). Regards. Hi! When you write your rules, you put "log" in them.. example: pass in quick log proto tcp from any to any keep state then you have to have pflogd started(pflog_enable="YES" in /etc/rc.conf). When pflog is started your binary log is lcated on /var/log/pflog you can read it witH: tcpdump -n -t -r /var/log/pflog if you want real time(because pflog is where is written with some delay) tcpdump -n -t -i pflog0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how to identify / list running java applications ?
If you are using jdk 1.5, jps should do what you are asking. On 5/14/06, martinko <[EMAIL PROTECTED]> wrote: hello, when running azureus (or likely other java applications) all one can see among running processes is java process which i expect is jvm. how can i find/identify running java programs ?? (something like `ps ax | grep azureus` or `pgrep azureus`) cheers, martin ___ 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: MESS
Jerry McAllister wrote: Hi, if i enter single user mode it dasen't seem to recognize many commands: starrtx, ee, pico, emacs etc so i cannot change my /etc/fstab in case this is the problem. Yes. Generally none of those extra things are availiable in single user. Single user is minimal and does not have services started nor anything but root mounted and root is mounted in a special non-write way. You need to learn enough 'vi' editor to fix problems in these types of situations because generally vi will be available even when the others are not usable. Whoops! Are you sure about that last statement? [EMAIL PROTECTED] whereis vi vi: /usr/bin/vi /usr/share/man/man1/vi.1.gz /usr/src/usr.bin/vi So, in single-user without /usr mounted, how is he going to run vi(1)? And if /usr *is* mounted, you can call pico, emacs, whatever, (even vi) provided $PATH is established or you care to call 'em directly. I hereby admit to being a vi wimp. I did memorize 'q:!', for obvious reasons; and, this isn't about an editor war, either. Personally, I moved a binary of e3 (ports/editors/e3) into /bin and created the following: [EMAIL PROTECTED]/bin] cat /bin/ee #!/bin/sh /bin/e3pi --- so I wouldn't have to deal with ed(1) if stuck in single-user. Kevin Kinsey -- Then there was the Formosan bartender named Taiwan-On. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
pflog
Hi all I want to use pf (actually I use ipfw). Well after I read the openbsd book, I always don't known how can I log the log of pf (with pflog) using syslog and I don't want (if it's possible) to write anything in my hard-disk (event it's temporaly, because it's virtual disk, I'm running vmware). Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. 7 ième étage, plateau D, bureau 10 Heure local/Local time: Mon May 22 15:14:51 CEST 2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MESS
Hi, First of all, to make it easier to read and especially to respond to your posts, please break your lines at about 72 characters length. You can either set your Email editor to do that or just hit ENTER at about that length of each line (which is what I do). > Hi > I fear that this time a messed up big time. I have two hard drives one > with Windows XP (40G) and another with FreeBSD 6.1 (10G). Eveything was > ok until I decided i wanted to mount my windows drive to FreBSD (i run KDE > as GUI). I followed the instruction from OnLamp.com and since i wanted the > whole process to be automated on every boot i added the following lines > in /etc/fstab using ee: > /dev/ad0s1 /windowsntfs rw 1 1 The only thing I see wrong, as long as the "ntfs" is correct might be wanting 'ro' instead of 'rw' and '2 2' instead of '11'. Try modifying those. > and everything looked normal until i rebooted! now when i choose FreeBSD > on the bootmanager it starts looking ok and ends up with the following: > fsck: exec fsck-ntfs for /dev/ad0s1 in /sbin:/usr/sbin: No such file or > directory > Unknown error: help! > init /bin/sh on /etc/rc terminated abnormaly, going to single user mode > Enter full pathname of shell of RETURN for /bin/sh > > if i enter single user mode it dasen't seem to recognize many commands: > starrtx, ee, pico, emacs etc so i cannot change my /etc/fstab in case this > is the problem. Yes. Generally none of those extra things are availiable in single user. Single user is minimal and does not have services started nor anything but root mounted and root is mounted in a special non-write way. You need to learn enough 'vi' editor to fix problems in these types of situations because generally vi will be available even when the others are not usable.It is easy to use and you may end up finding yourself using it in preference to the others for plain text editing after you get accustomed to it.There are lots of tutorials for using vi. One is at: http://scnc.k12.mi.us/howto/edit/vi.html So, you need to: fsck -p / mount -u / vi /etc/fstab - fix the bad line or comment it out by starting it with a # (pound sign) shutdown -r now Then, it should boot and you can work with your habitual tools. > > Moreover now i am unable to enter windows as the bootmanager when i ask > him to load the DOS disk it just reboots the system. I even tried to leave > only the (40G) on the machine but thens it just crashes right after memeory > check. I am seriously in need for some help, if anyone could suggest > anything i would appreciate it a lot. Thanks in advance I don't know about the MS-Windos problem, but it sounds like you may have overwritten some piece of their boot code. Fix the other problem so you can get in to FreeBSD first and then you might be able to use it to find the Windos problem and fix it - maybe by putting an MBR in the right place. jerry > andreas Sotriakopoulos > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MESS
On Mon, 2006-05-22 at 19:51 +1000, Mikhail Goriachev wrote: > none none wrote: > > Hi > > I fear that this time a messed up big time. I have two hard drives one > > with Windows XP (40G) and another with FreeBSD 6.1 (10G). Eveything was ok > > until I decided i wanted to mount my windows drive to FreBSD (i run KDE as > > GUI). I followed the instruction from OnLamp.com and since i wanted the > > whole process to be automated on every boot i added the following lines in > > /etc/fstab using ee: > > /dev/ad0s1 /windowsntfs rw 1 1 > > > > and everything looked normal until i rebooted! now when i choose FreeBSD > > on the bootmanager it starts looking ok and ends up with the following: > > fsck: exec fsck-ntfs for /dev/ad0s1 in /sbin:/usr/sbin: No such file or > > directory > > Unknown error: help! > > init /bin/sh on /etc/rc terminated abnormaly, going to single user mode > > Enter full pathname of shell of RETURN for /bin/sh > > > > if i enter single user mode it dasen't seem to recognize many commands: > > starrtx, ee, pico, emacs etc so i cannot change my /etc/fstab in case this > > is the problem. > > > > Moreover now i am unable to enter windows as the bootmanager when i ask > > him to load the DOS disk it just reboots the system. I even tried to leave > > only the (40G) on the machine but thens it just crashes right after memeory > > check. I am seriously in need for some help, if anyone could suggest > > anything i would appreciate it a lot. Thanks in advance > > andreas Sotriakopoulos > > > Hi, > > This one is gonna sound funny. I once had a mistype in /etc/fstab > myself. I solved it by pulling the hard drive off the box, mounting it > on another one and then I modified the file. I guess you could do the > same if you have a spare FreeBSD box lying around. But there must be a > better way doing it though. > > > Cheers, > Mikhail. > > The 'ed' editor is in /bin, and so is available at single-user boot. It is a real antique, but if you have a copy of the manual it is not too hard to correct /etc/fstab. 'ee' is in /usr/bin -- Mike Jeays http://ca.geocities.com/[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
e-mail server farm question
Hello, I was wondering how does services like yahoo mail is storing e-mails. Somehow the smtp server should know where to deliver the mail inside the system and webmail should know from which server to read it from. Does anybody have any practical ideas about how it is done? Thanks, Evren ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: determining files installed by a port
Joe Auty <[EMAIL PROTECTED]> writes: > Is there a way to get a listing of all files installed by a port? > Perhaps there is a tool that will scan a package and output its > contents to standard out? man pkg_info ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
determining files installed by a port
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is there a way to get a listing of all files installed by a port? Perhaps there is a tool that will scan a package and output its contents to standard out? - --- Joe Auty NetMusician: web publishing software for musicians http://www.netmusician.org [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (Darwin) iD8DBQFEcaN1CgdfeCwsL5ERAobNAJ9YwKEy8VECNQloyiuTDqIb/Nx0JACdHPOD 9Y0qsjNAqpN7FMItTu8x/00= =gpn2 -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: MESS
On Mon, May 22, 2006 10:02, none none wrote: > Hi > I fear that this time a messed up big time. I have two hard drives one > with Windows XP (40G) and another with FreeBSD 6.1 (10G). Eveything was > ok until I decided i wanted to mount my windows drive to FreBSD (i run > KDE as GUI). I followed the instruction from OnLamp.com and since i > wanted the whole process to be automated on every boot i added the > following lines in /etc/fstab using ee: > /dev/ad0s1 /windowsntfs rw 1 1 > > and everything looked normal until i rebooted! now when i choose FreeBSD > on the bootmanager it starts looking ok and ends up with the following: > fsck: exec fsck-ntfs for /dev/ad0s1 in /sbin:/usr/sbin: No such file or > directory > Unknown error: help! > init /bin/sh on /etc/rc terminated abnormaly, going to single user mode > Enter full pathname of shell of RETURN for /bin/sh > > if i enter single user mode it dasen't seem to recognize many commands: > starrtx, ee, pico, emacs etc so i cannot change my /etc/fstab in case > this is the problem. > > Moreover now i am unable to enter windows as the bootmanager when i ask > him to load the DOS disk it just reboots the system. I even tried to > leave only the (40G) on the machine but thens it just crashes right > after memeory check. I am seriously in need for some help, if anyone > could suggest anything i would appreciate it a lot. Thanks in advance > andreas Sotriakopoulos > When you drop down to single user mode you only mount the root partition, so most of those commands will not be available. You can use mount -a to mount all the filesystems, but as you know you ought to fsck all the filesystems you intend to mount before mounting them. You would be better off fsck'ing the device containing the /usr filesystem and mounting only that to get your editor up to change fstab. Hope that helps, Jon --- Achean Ltdhttp://www.achean.com Jon Mercer [EMAIL PROTECTED] Director --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MESS
none none wrote: > Hi > I fear that this time a messed up big time. I have two hard drives one with > Windows XP (40G) and another with FreeBSD 6.1 (10G). Eveything was ok until > I decided i wanted to mount my windows drive to FreBSD (i run KDE as GUI). I > followed the instruction from OnLamp.com and since i wanted the whole process > to be automated on every boot i added the following lines in /etc/fstab using > ee: > /dev/ad0s1 /windowsntfs rw 1 1 > > and everything looked normal until i rebooted! now when i choose FreeBSD on > the bootmanager it starts looking ok and ends up with the following: > fsck: exec fsck-ntfs for /dev/ad0s1 in /sbin:/usr/sbin: No such file or > directory > Unknown error: help! > init /bin/sh on /etc/rc terminated abnormaly, going to single user mode > Enter full pathname of shell of RETURN for /bin/sh > > if i enter single user mode it dasen't seem to recognize many commands: > starrtx, ee, pico, emacs etc so i cannot change my /etc/fstab in case this is > the problem. > > Moreover now i am unable to enter windows as the bootmanager when i ask him > to load the DOS disk it just reboots the system. I even tried to leave only > the (40G) on the machine but thens it just crashes right after memeory check. > I am seriously in need for some help, if anyone could suggest anything i > would appreciate it a lot. Thanks in advance > andreas Sotriakopoulos Hi, This one is gonna sound funny. I once had a mistype in /etc/fstab myself. I solved it by pulling the hard drive off the box, mounting it on another one and then I modified the file. I guess you could do the same if you have a spare FreeBSD box lying around. But there must be a better way doing it though. Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MESS
> if i enter single user mode it dasen't seem to recognize many > commands: starrtx, ee, pico, emacs etc so i cannot change my > /etc/fstab in case this is the problem. At that stage, you should still be able to mount /usr (provided that you did notmove /usron your windows disk...) So mount -a, it will complain about the ntfs disk, but you have access to emacs. (else you can still use ed(1), no need to mount /usr) So you can remove the offending line from /etc/fstab. Then reboot and reconsider the procedure. You may need to define /dev/ad0s1 For Windows reboot I don't know. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
MESS
Hi I fear that this time a messed up big time. I have two hard drives one with Windows XP (40G) and another with FreeBSD 6.1 (10G). Eveything was ok until I decided i wanted to mount my windows drive to FreBSD (i run KDE as GUI). I followed the instruction from OnLamp.com and since i wanted the whole process to be automated on every boot i added the following lines in /etc/fstab using ee: /dev/ad0s1 /windowsntfs rw 1 1 and everything looked normal until i rebooted! now when i choose FreeBSD on the bootmanager it starts looking ok and ends up with the following: fsck: exec fsck-ntfs for /dev/ad0s1 in /sbin:/usr/sbin: No such file or directory Unknown error: help! init /bin/sh on /etc/rc terminated abnormaly, going to single user mode Enter full pathname of shell of RETURN for /bin/sh if i enter single user mode it dasen't seem to recognize many commands: starrtx, ee, pico, emacs etc so i cannot change my /etc/fstab in case this is the problem. Moreover now i am unable to enter windows as the bootmanager when i ask him to load the DOS disk it just reboots the system. I even tried to leave only the (40G) on the machine but thens it just crashes right after memeory check. I am seriously in need for some help, if anyone could suggest anything i would appreciate it a lot. Thanks in advance andreas Sotriakopoulos Send instant messages to your online friends http://uk.messenger.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: /usr/local/libexec/apache22/libphp4.so not installed
Check /usr/ports/UPDATING, mod_php now is not default installed. 20060506: AFFECTS: users of PHP AUTHOR: [EMAIL PROTECTED] On Sun, May 21, 2006 at 08:13:29PM -0800, Noah wrote: > FreeBSD-4.11 > > After rebuilding php4-4.4.2_2 with Apache Module and apache-2.2.2 from > /usr/ports - I no longer am finding that > /usr/local/libexec/apache22/libphp4.so is getting installed. > > Any clues as to what I am doing wrong? I cant figure it out at the moment. > > > --- snip --- > > # /usr/local/etc/rc.d/apache22.sh restart > Performing sanity check on apache22 configuration: > httpd: Syntax error on line 101 of /usr/local/etc/apache22/httpd.conf: Cannot > load /usr/local/libexec/apache22/libphp4.so into server: Cannot open > "/usr/local/libexec/apache22/libphp4.so" > > # grep php4 /usr/local/etc/apache/httpd.conf > LoadModule php4_modulelibexec/apache22/libphp4.so > > # pkg_info | grep apache > apache-2.2.2Version 2.2 of Apache web server with prefork MPM. > > # pkg_info | grep php > php4-4.4.2_2PHP Scripting Language (Apache Module and CLI) > php4-bz2-4.4.2_2The bz2 shared extension for php > php4-ctype-4.4.2_2 The ctype shared extension for php > php4-domxml-4.4.2_2 The domxml shared extension for php > php4-ftp-4.4.2_2The ftp shared extension for php > php4-gd-4.4.2_2 The gd shared extension for php > php4-gettext-4.4.2_2 The gettext shared extension for php > php4-iconv-4.4.2_2 The iconv shared extension for php > php4-imap-4.4.2_2 The imap shared extension for php > php4-ldap-4.4.2_2 The ldap shared extension for php > php4-mbstring-4.4.2_2 The mbstring shared extension for php > php4-mcal-4.4.2_2 The mcal shared extension for php > php4-mcrypt-4.4.2_2 The mcrypt shared extension for php > php4-mysql-4.4.2_2 The mysql shared extension for php > php4-openssl-4.4.2_2 The openssl shared extension for php > php4-pcre-4.4.2_2 The pcre shared extension for php > php4-session-4.4.2_2 The session shared extension for php > php4-xml-4.4.2_2The xml shared extension for php > php4-xmlrpc-4.4.2_1 The xmlrpc shared extension for php > php4-zlib-4.4.2_2 The zlib shared extension for php > > > # ls /usr/local/libexec/apache22 > httpd.exp mod_cache.somod_log_config.so > mod_actions.so mod_cern_meta.somod_logio.so > mod_alias.somod_cgi.so mod_mime.so > mod_asis.so mod_charset_lite.so mod_mime_magic.so > mod_auth_basic.so mod_dav.so mod_negotiation.so > mod_auth_digest.so mod_dav_fs.so mod_rewrite.so > mod_authn_anon.so mod_deflate.so mod_setenvif.so > mod_authn_dbm.somod_dir.so mod_speling.so > mod_authn_default.somod_disk_cache.so mod_ssl.so > mod_authn_file.so mod_env.so mod_status.so > mod_authz_dbm.somod_expires.so mod_unique_id.so > mod_authz_default.somod_file_cache.so mod_userdir.so > mod_authz_groupfile.so mod_filter.so mod_usertrack.so > mod_authz_host.so mod_headers.so mod_version.so > mod_authz_owner.so mod_imagemap.so mod_vhost_alias.so > mod_authz_user.so mod_include.so > mod_autoindex.somod_info.so > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Cheng-Lung Sung - clsung@ pgp40KXhnwrl8.pgp Description: PGP signature
Re: Video mode not supported for LCD monitor
On 22/05/2006, at 12:42 PM, Malcolm Fitzgerald wrote: On 22/05/2006, at 10:46 AM, rod person wrote: On Mon, 22 May 2006 10:36:17 +1000 Malcolm Fitzgerald <[EMAIL PROTECTED]> wrote: I've just replaced my trusty CRT screen with a spunky LCD screen. After the machine boots I don't see the login window. Instead I see a bouncing box that says "Video Mode not Supported". How do I rectify this? You have to correct your vertical refresh in your xorg.conf. I had to add the line: VertRefresh 75 to the monitor section when I went from CRT to LCD. That didn't work for me. When I use -configure to generate a conf file the Monitor specs seem to fit my monitor but the monitor won't use it. Looking at /var/log/Xorg.0.log I can see that it tries all the modes and says this for each of them: (II) NV(0): Mode "1024x768" is larger than BIOS programmed panel size of 1 x 1. Removing. (II) NV(0): Not using default mode "1024x768" (unknown reason) (II) NV(0): Not using default mode "512X384" (bad mode clock/interlace/doublescan) (EE) Screen(s) found, but none have a usable configuration. Fatal server error: no screens found Funnily enough, when I passed Xorg -config a non-existent config file name (by accident) it displayed the black and grey grid with the X in the middle. Editing /etc/ttys so that the system booted to console instead of starting X, then removing the xorg.conf, then running Xorg -configure generated a conf file that worked. It looks the same as the the first one that was generated but the system likes this one better. thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"