(no subject)
During the Freebsd installation the following messages appeared: package qt-3.2.1 aborted . Error code 1 dependent package qt-3.2.1 failed dependent package arts-1.1.4,1 failed I tried again and exactly the same messages appeared and as a result i cannot start KDE. What's the problem? How can i fix the problem? Kulbir Sandhu __ 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]
Problems to setup one PCI SCSI Card? Freebsd 5.4-p6
Hi people i need to install one SCSI PCI card, the chip is support by freebsd 5.4 hardware using the driver ahc: Chip 26160N Adaptec I read the man pages for the driver ahc(4), and say this: SYNOPSIS For one or more VL/EISA cards: device eisa device ahc For one or more PCI cards: device pci device ahc To allow PCI adapters to use memory mapped I/O if enabled: options AHC_ALLOW_MEMIO To configure one or more controllers to assume the target role: options AHC_TMODE_ENABLE bitmask of units For one or more SCSI busses: device scbus But i dosent understand what options i need in my kernel config file, i have by default device eisa device pci Them i add device ahc options AHC_ALLOW_MEMIO And them make give me error code 1, i remove options AHC_ALLOW_MEMIO and give me again errors, my motherboard dosent have any internal SCSI stuff. This why im here trying to know wich options i need in my kernel file to add this SCSI card and wich more are available for it...? I need to test this card because iam going to setup one backup system, i need to setup the card first on my BIOS...? Freebsd 5.4-p6 Adaptec 26160N PCI Thanks in advanced!!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Compact Flash (type I II) USB 2.0 Cardbus readers
Has anybody used a USB 2.0 or cardbus compact flash (CF) type I II reader successfully on FreeBSD 5.[34]? (I am aware of SanDisk's SDDR-31 working w/ FreeBSD which does USB 1.x only.) Alternatively, does anybody has any comments about ... - SDDR-91, SanDisk ImageMate CF reader, or - SDDR-88, SanDisk ImageMate 8-in-1 reader, or - RW020-001, Lexar CF reader, or - RW021-001, Lexar cardbus reader? - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sed not working
Alex Zbyslaw wrote: Rein Kadastik wrote: Rein Kadastik wrote: Hi I have a problem with sed on one of my systems. Lets take the following command: sed -e '/^\([a-z_][a-z_]*\) /s//\1 gen_/' On all other systems the input would be transformed: int something() - int gen_something() On the broken system, the transformation is not done: int something() - int something() The broken system used to be 4.6-STABLE but I managed to upgrade it to 4.11-RELEASE-p11, hoping that the update procedure will fix the sed, but apparently not. Imagine the make buildworld without working sed :) Anyway I generated the files on other working system so I managed to get through the buildworld part. Installkernel and installworld did not used sed so no problems there. Does anybody have some ideas, what would be the reason? I tested the sed command also on 4.8-RELEASE and 4.10-STABLE where it works nicely. Even copied the sed over from working systems but no luck. You've probably tried this, but what does which sed show on the broken system? It should show /usr/bin/sed and if it doesn't, there's your problem :-) It shows /usr/bin/sed Ident shows the following: # ident /usr/bin/sed /usr/bin/sed: $FreeBSD: src/usr.bin/sed/compile.c,v 1.13.2.8 2002/08/17 05:47:06 tjr Exp $ $FreeBSD: src/usr.bin/sed/main.c,v 1.9.2.7 2002/08/06 10:03:29 fanf Exp $ $FreeBSD: src/usr.bin/sed/misc.c,v 1.3.2.2 2002/07/17 09:35:56 tjr Exp $ $FreeBSD: src/usr.bin/sed/process.c,v 1.10.2.11 2004/01/10 06:30:37 tjr Exp $ The ident output is identical on the working system. I guess, that it is some sort of a regex library issue, as sed itself does not contain regex engine. -- Rein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: network tools
Jonathan Chen wrote: On Sat, Sep 03, 2005 at 12:01:56AM +0100, Chris wrote: [...] Today I had a download running at about 60kB/s and he said his (XP based) limewire was showing 25kB/s download and 5kB/s upload. When he turned off limewire my download speed went back to 120k. Why don't the numbers support the experience? We have 1Mb/s download and 128K upload (telewest cable). In theory even between us we weren't using all the bandwidth. You're getting pretty close to maximum possible speed there on your connection. A 1Mbit/s connection is about 128KByte/s, which would explain your ftp download speedometer reading. Allowing for TCP overhead, you're getting pretty good throughput. I have one suspicion here. The Limwire does not show the actual speed but the speed that is available for the program. What I mean is that the Limwire protocol might create extra overhead and that explains lost bandwith (for example for transferring 5 KB data it must create 6 KB TCP packets but program sees that 5KB data is transferred). Rein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SDL Apps chrashed (stray irq13)
hi, i'm newbie and have a problem with my SDL applications(Bzflag and Cube) this chrashed direct after the start from without coredump. I begin this application in a console with same result. The announcement in the console: $ bzflag Fatal signal: Floating Point Exception (SDL Parachute Deployed) $ my dmesg with stray irq13 $ dmesg Copyright (c) 1992-2005 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 5.4-RELEASE-p6 #13: Fri Sep 2 23:32:31 CEST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BEASTMASTER ACPI APIC Table: AMIINT VIA_K7 Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) XP 2600+ (1921.04-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x6a0 Stepping = 0 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE AMD Features=0xc040AMIE,DSP,3DNow! real memory = 536805376 (511 MB) avail memory = 515629056 (491 MB) ioapic0 Version 0.3 irqs 0-23 on motherboard npx0: math processor on motherboard npx0: INT 16 interface acpi0: AMIINT VIA_K7 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: ACPI CPU on acpi0 acpi_button0: Power Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 agp0: VIA 8377 (Apollo KT400/KT400A/KT600) host to PCI bridge mem 0xe000-0xe7ff at device 0.0 on pci0 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) rl0: RealTek 8139 10/100BaseTX port 0xec00-0xecff mem 0xdf00-0xdfff irq 17 at device 6.0 on pci0 miibus0: MII bus on rl0 rlphy0: RealTek internal media interface on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:08:a1:47:9f:b2 pcm0: CMedia CMI8738 port 0xe800-0xe8ff irq 18 at device 7.0 on pci0 bktr0: BrookTree 878 mem 0xdddfe000-0xdddfefff irq 19 at device 8.0 on pci0 bktr0: Hauppauge Model 44354 C242 bktr0: Detected a MSP3415D-B3 at 0x80 bktr0: Hauppauge WinCast/TV, Philips FR1216 PAL FM tuner, msp3400c stereo, remote control. pci0: multimedia at device 8.1 (no driver attached) uhci0: VIA 83C572 USB controller port 0xdc00-0xdc1f irq 21 at device 16.0 on pci0 usb0: VIA 83C572 USB controller on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: VIA 83C572 USB controller port 0xe000-0xe01f irq 21 at device 16.1 on pci0 usb1: VIA 83C572 USB controller on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: VIA 83C572 USB controller port 0xe400-0xe41f irq 21 at device 16.2 on pci0 usb2: VIA 83C572 USB controller on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: VIA VT6202 USB 2.0 controller mem 0xde00-0xdeff irq 21 at device 16.3 on pci0 usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: VIA VT6202 USB 2.0 controller on ehci0 usb3: USB revision 2.0 uhub3: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered isab0: PCI-ISA bridge at device 17.0 on pci0 isa0: ISA bus on isab0 atapci0: VIA 8235 UDMA133 controller port 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 17.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 acpi_button1: Sleep Button on acpi0 atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 fdc0: floppy drive controller port 0x3f7,0x3f4-0x3f5,0x3f2-0x3f3 irq 6 drq 2 on acpi0 fd0: 1440-KB 3.5 drive on fdc0 drive 0 ppc0: ECP parallel printer port port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: Parallel port bus on ppc0 plip0: PLIP network interface on ppbus0 lpt0: Printer on ppbus0 lpt0: Interrupt-driven port ppi0: Parallel I/O on ppbus0 pmtimer0 on isa0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 ugen0: Logitech Camera, rev 1.00/1.00, addr 2 Timecounter TSC frequency 1921038738 Hz quality 800 Timecounters tick every 10.000 msec ad0: 152627MB SAMSUNG SP1614N/TM100-24 [310101/16/63] at ata0-master UDMA100 acd0: CDRW HL-DT-ST GCE-8481B/1.00 at ata1-master UDMA33 acd1: DVDROM HL-DT-STDVD-ROM GDR8162B/0015 at ata1-slave UDMA33 cd0 at ata1 bus 0 target 0 lun 0 cd0: HL-DT-ST CD-RW GCE-8481B 1.00 Removable CD-ROM SCSI-0 device cd0:
Re: Problems to setup one PCI SCSI Card? Freebsd 5.4-p6
perikillo wrote: Hi people i need to install one SCSI PCI card, the chip is support by freebsd 5.4 hardware using the driver ahc: Chip 26160N Adaptec I read the man pages for the driver ahc(4), and say this: SYNOPSIS For one or more VL/EISA cards: device eisa device ahc For one or more PCI cards: device pci device ahc To allow PCI adapters to use memory mapped I/O if enabled: options AHC_ALLOW_MEMIO To configure one or more controllers to assume the target role: options AHC_TMODE_ENABLE bitmask of units For one or more SCSI busses: device scbus But i dosent understand what options i need in my kernel config file, i have by default device eisa device pci Them i add device ahc options AHC_ALLOW_MEMIO And them make give me error code 1, i remove options AHC_ALLOW_MEMIO and give me again errors, my motherboard dosent have any internal SCSI stuff. It's irrelevant whether your motherboard has SCSI, you are adding a SCSI card so need SCSI options. My config has device scbus #base SCSI code #device ch #SCSI media changers device da #SCSI direct access devices (aka disks) device sa #SCSI tapes device cd #SCSI CD-ROMs device ses #SCSI Environmental Services (and SAF-TE) #device pt #SCSI processor #device targ#SCSI Target Mode Code #device targbh #SCSI Target Mode Blackhole Device device pass#CAM passthrough driver device ahc Go to /usr/src/syc and read ../../conf/NOTES and NOTES which make up pretty much every option you can put into a kernel. scbus is mandatory and you can pick and choose the others depending on what you are going to attach. (Don't ask me what a SCSI Environmental Service is though). You might also want device atapicam# emulate ATAPI devices as SCSI ditto via CAM which allows atapi CDs and DVDs to be seen by the SCSI CAM code. This is particularly useful if you intend to burn CDs with (I think) cdrecord and probably other things as well. I've never used AHC_ALLOW_MEMIO so have no idea of its benefits or drawbacks. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: network tools
--On Saturday, September 03, 2005 12:01:56 AM +0100 Chris [EMAIL PROTECTED] wrote: Hi I share broadband with a couple of other people. One of them uses limewire p2p software. When limewire is not running browsing feels fast and ftp on my freebsd box says it's downloading at 115 to 120 kB/s. Even when I have an ftp download going browsing doesn't seem very much affected. I assume from this that my usage won't affect the other people very much. When limewire is running, even though it is throttled, ftp downloads run at half speed or less and my experience of browsing is that it is sluggish. Today I had a download running at about 60kB/s and he said his (XP based) limewire was showing 25kB/s download and 5kB/s upload. When he turned off limewire my download speed went back to 120k. Why don't the numbers support the experience? We have 1Mb/s download and 128K upload (telewest cable). In theory even between us we weren't using all the bandwidth. The following is clipped from http://openbsd.org/faq/pf/queueing.html, but other firewalls can do this to afaik. Maybe that could be helpful when sharing adsl. clip Assigning TCP ACK packets to a higher priority queue is useful on asymmetric connections, that is, connections that have different upload and download bandwidths such as ADSL lines. With an ADSL line, if the upload channel is being maxed out and a download is started, the download will suffer because the TCP ACK packets it needs to send will run into congestion when they try to pass through the upload channel. Testing has shown that to achieve the best results, the bandwidth on the upload queue should be set to a value less than what the connection is capable of. For instance, if an ADSL line has a max upload of 640Kbps, setting the root queue's bandwidth to a value such as 600Kb should result in better performance. Trial and error will yield the best bandwidth setting. /clip If I put a FreeBSD NAT/router box between the cable modem and the LAN what console based tools should I put on it to examine what's happening? I would very much appreciate any help as this is becoming a bit of an issue here. fwiw FreeBSD box.13dog.org 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun Aug 21 17:46:54 BST 2005. Thanks Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sed not working
Rein Kadastik wrote: Alex Zbyslaw wrote: Rein Kadastik wrote: Rein Kadastik wrote: Hi I have a problem with sed on one of my systems. You've probably tried this, but what does which sed show on the broken system? It should show /usr/bin/sed and if it doesn't, there's your problem :-) It shows /usr/bin/sed [...] The ident output is identical on the working system. I guess, that it is some sort of a regex library issue, as sed itself does not contain regex engine. Well, that was going to be my second guess :-) Do you have any extra compile options in /etc/make.conf which might be making something go wrong? Extra optimisations etc. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sed not working
Rein Kadastik wrote: Alex Zbyslaw wrote: Rein Kadastik wrote: Rein Kadastik wrote: Hi I have a problem with sed on one of my systems. Does anybody have some ideas, what would be the reason? I tested the sed command also on 4.8-RELEASE and 4.10-STABLE where it works nicely. Even copied the sed over from working systems but no luck. You've probably tried this, but what does which sed show on the broken system? It should show /usr/bin/sed and if it doesn't, there's your problem :-) It shows /usr/bin/sed Final thought, what about copying /lib/libc.so.{whatever} as well as sed from that 4.10 system. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sed not working
Alex Zbyslaw wrote: Rein Kadastik wrote: Alex Zbyslaw wrote: Rein Kadastik wrote: Rein Kadastik wrote: Hi I have a problem with sed on one of my systems. Does anybody have some ideas, what would be the reason? I tested the sed command also on 4.8-RELEASE and 4.10-STABLE where it works nicely. Even copied the sed over from working systems but no luck. You've probably tried this, but what does which sed show on the broken system? It should show /usr/bin/sed and if it doesn't, there's your problem :-) It shows /usr/bin/sed Final thought, what about copying /lib/libc.so.{whatever} as well as sed from that 4.10 system. Well, I hope it does not break something as this is actually a production system. -- Rein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sed not working
OK got again some extremely strange testing results. If there is anywhere in the first token (the length does not matter) one of the following charakters: t, u, v, w, x, y, the transformation fails. Note that with z it works and with a-s it works also. -- Rein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sed not working
Rein Kadastik wrote: OK got again some extremely strange testing results. If there is anywhere in the first token (the length does not matter) one of the following charakters: t, u, v, w, x, y, the transformation fails. Note that with z it works and with a-s it works also. -- Rein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Well I have one guess here. In estonian alphabet, the z comes immediately after s and before t. So as the regex orders [a-z] the characters t, u, v, w, x, y are left out How to order the sed to use english alphabet? Rein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sed not working
Rein Kadastik wrote: Rein Kadastik wrote: OK got again some extremely strange testing results. If there is anywhere in the first token (the length does not matter) one of the following charakters: t, u, v, w, x, y, the transformation fails. Note that with z it works and with a-s it works also. -- Rein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Well I have one guess here. In estonian alphabet, the z comes immediately after s and before t. So as the regex orders [a-z] the characters t, u, v, w, x, y are left out How to order the sed to use english alphabet? Rein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Well, My guess was right. I have a following line in the /etc/profile: export LANG=et_EE.ISO8859-15 After I expoerted LANG=en_US.ISO8859-1, the sed started to work. I did not thought that LANG parameter will also alter the alfabet ant therefore the exppression [a-z] does not cover the full alphabet anymore. Rein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sed not working
What about csh/tcsh and gdb? Particularly tc.const.h generation and init.c generation? Also if I cvsup'ed the sources for 4.11-RELEASE-p11, the make buildworld still failed, so no sign of the bugfix there. Rein Thomas Dickey wrote: In article [EMAIL PROTECTED] you wrote: Hi, I have a very interesing problem with sed in FreeBSD. FreeBSD probably still has the obsolete version of MKlib_gen.sh The current one (for the past few years) sets its locale to POSIX to work around this problem. The problem was actually that they updated the locale support without bothering to test or maintain ncurses. Lets take the following sed command (from the ncurses MKlib_gen.sh script): ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
INFORMATION
Greetings!!! I´m a software develper, I use Java like platform for launch my proyects. To the end users I like give them a little warranty on the producto, but i have a problem How can i know when the end user open the source code and made a modification?, I need know this, becouse if the end user open the source code the end user will lose the warranty, following my criterias of user atention. Thanks for your attention and help. htmldivPFONT face=Lucida Handwriting, Cursive color=#0033ff size=3Edgar Mauricio Román PalacioBRA href=http://www.romansoft.8m.com;FONT color=#cc0033www.romansoft.8m.com/FONT/ABRcel: 03-300-7836637BR/FONT/P/div/html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: INFORMATION
Do not give source to customer Rein Mauricio Román wrote: Greetings!!! I´m a software develper, I use Java like platform for launch my proyects. To the end users I like give them a little warranty on the producto, but i have a problem How can i know when the end user open the source code and made a modification?, I need know this, becouse if the end user open the source code the end user will lose the warranty, following my criterias of user atention. Thanks for your attention and help. htmldivPFONT face=Lucida Handwriting, Cursive color=#0033ff size=3Edgar Mauricio Román PalacioBRA href=http://www.romansoft.8m.com;FONT color=#cc0033www.romansoft.8m.com/FONT/ABRcel: 03-300-7836637BR/FONT/P/div/html ___ 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]
kill the zombie processes
HI all, Is there any way to kill the zombie processes in FreeBSD other than rebooting the server. Thanks -- Regards, Akhthar Parvez K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Squid error?
G'morning all-- I've got a minor issue when I try to rotate my squid logs: %squid -k rotate squid: ERROR: Could not send signal 30 to process 660: (1) Operation not permitted Squid is running: % ps -auxww | grep squid squid 660 0.0 0.2 3364 1020 ?? Is9:09PM 0:00.00 /usr/local/sbin/squid -D squid 662 0.0 1.1 8288 5440 ?? S 9:09PM 0:02.05 (squid) -D (squid) squid 669 0.0 0.1 1396 544 ?? Is9:09PM 0:00.00 (unlinkd) (unlinkd) I don't get any errors on creating or reading the PID file (/var/tmp/squid.pid - I had to relocate this so that user squid could read/write to it, /usr/local/etc/squid got an operation not permitted) Any ideas? What information can I provide to help fix this? Thanks! Bryan -- Sky have just won the rights to screen the first World Origami Championships from Tokyo. Unfortunately it's only available on Paper View.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: éö-chars in directories
Dick Hoogendijk [EMAIL PROTECTED] wrote: On 27 Aug Fabian Keil wrote: dick hoogendijk [EMAIL PROTECTED] wrote: I have lots of mp3 files. Some of them contain highascii in the title which also is in the directory. No problem. It goes well. I use iso-8859-1 as charset ;-) The problem is that these songs *DON'T* show off well when read from a windows computer connected to my freebsd server through samba. Put these lines in /usr/local/etc/smb.conf: dos charset = cp850 unix charset = ISO8859-1 This should work. But I still run Samba 2.x on my 4.11-stable server and these options are for samba 3.x Do you happen to know the options for samba 2.x too? Nope. Fabian -- http://www.fabiankeil.de/ pgpUPDeCaDEms.pgp Description: PGP signature
Re: INFORMATION
Greetings!!! IŽm a software develper, I use Java like platform for launch my proyects. To the end users I like give them a little warranty on the producto, but i have a problem How can i know when the end user open the source code and made a modification?, I need know this, becouse if the end user open the source code the end user will lose the warranty, following my criterias of user atention. Thanks for your attention and help. - I do not see a way to do this. With the posible exeption of sshing into the costumers system an comparing MD5 digest of the .class files he is using with your original files. But are you not mounting the wrong horse ? I mean somebody who is skilled enough to modify the source to his liking should be wise enough to see that it is of no use asking you for help without telling you that he is not running the original source. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I stop discard oversize frame errors? [SOLVED]
On 09/01/05 at 01:52PM, Bryan Albright wrote: I figured I'd post this for the archives. The switch that my 2 servers are connecting to is set to 100/half duplex (default setting after a power outage -- happened roughly 2 weks ago) and my FreeBSD box is hardcoded to 100/Full. Checked the router, re-set it to 100/Full, and the errors stopped. (-: Thanks to everybody, especially Chuck Swiger for the help! Bryan -- The board is set, the pieces are moving. We come to it at last... The great battle of our time. -- Gandalf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portsdb question
Hello all, Is it normal for portsdb -uU to require 2 hours to complete (Pentium III // 450 MHz // FreeBSD 5.4-STABLE from 07/27 and KERNEL = GENERIC with very, very slight modifications primarily for architecture and Mplayer)? I found out about this because many have recommended using portversion because of its speed over pkg_version, however when I sync my Ports tree, pkg_version will report to me updated information whereas portversion will not, and the only way I have found to have it report updated information is to run portsdb -uU (the big U is what takes forever and is the crucial one of those flags), which takes two hours and, consequently, kills the overall speed claim mentioned above. Considering what I can build (from source) or scientifically compute in two hours, I think my machine is doing something it shouldn't be. Does anyone have any ideas? I should note here that I did Google this, check the FAQ, and check the documentation. I have been known to accidentally miss items in these areas, so if I did, I do apologize. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Custom Build
You could try to see if: /usr/src/tools/tools/nanobsd/ or /usr/src/release/picobsd/ or www.tinybsd.org fits your needs as well as checking man sysinstall for the scripting options. Good luck and post a nice tutorial somewhere on the web if you have some time spare (also nice for your organization if 'the next guy' is not there anymore). Maarten On Fri, 2005-09-02 at 20:36 -0500, Jack Barnett wrote: Hello all, How this is the correct list to post this to, if not, please point me to a more apporiate list. What I want to do is make a custom automated build for FreeBSD. Basically, create a build, burn it to CD-ROM, go stick it into a server and it automatically configures to the correct hardware, auto sets up the file system (1 hard drive per server) and then reboots. When it comes back up, I have a full functionaly customized FreeBSD install. The only interaction that should happen during the install, is putting in the hostname, select static or dynamic ip and then [for non-FreeBSD app] select to save to local or network drive. I'm good with perl/bash, etc, so I know how to create a script to automate the install for our application. I need to do this on a lot of servers, so doing a manual install would take weeks. Each server has 1 hard drive, all the data is stored on a very robust file server that gets backed up, if the hard drive fails, we just replace, rebuild and contiune where we left off. During the install, it should just partion off 512 for swap, then use rest of disk for root directory. Each disk may be a differant size, but they will all be more then 2 gigs. The build I want to create would be a mini-FreeBSD, just the kernal, some basic programs and 1 non-FreeBSD application. The only port that would be open is for SSHD and all servers would sit behind a firewall in there own seperate subnet (firewall only routes http requests to upload data and incoming ssh connections). We're currently using a very old custom Linux build, it's less then 10 megs total. The problem we are having with this, is that it doesn't support all the newer hardware we use (the build is about 4-5 years old) and FreeBSD is our standard operating envoriment (as far as servers goes), the admins here are more famlair with FreeBSD so it makes sense to switch to FreeBSD since we have to update the build anyways (the guy that made the build isn't here any more and the rest of us are FreeBSD fan-boys :P ) All the other FreeBSD servers that aren't in the cluster/grid are manually installed. Could someone point me in the right direction or to some documentation or other resources? Regards, Jack ___ 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: kill the zombie processes
Akhthar Parvez K wrote: HI all, Is there any way to kill the zombie processes in FreeBSD other than rebooting the server. Thanks Look for the pid number in the output of ps aux, and issue kill -KILL pid. Normally kill sends a SIGTERM signal but if You specify the -KILL option it sends the SIGKILL signal. Cheers, Gabor Kovesdan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portsdb question
Anthony M. Agelastos wrote: Hello all, Is it normal for portsdb -uU to require 2 hours to complete (Pentium III // 450 MHz // FreeBSD 5.4-STABLE from 07/27 and KERNEL = GENERIC with very, very slight modifications primarily for architecture and Mplayer)? Yes, it can take a lot of time (-U option creates/updates INDEX file). I found out about this because many have recommended using portversion because of its speed over pkg_version, however when I sync my Ports tree, pkg_version will report to me updated information whereas portversion will not, and the only way I have found to have it report updated information is to run portsdb -uU (the big U is what takes forever and is the crucial one of those flags), which takes two hours and, consequently, kills the overall speed claim mentioned above. Considering what I can build (from source) or scientifically compute in two hours, I think my machine is doing something it shouldn't be. Does anyone have any ideas? You can fetch INDEX file instead of building it. Just run 'make fetchindex' in ports directory: # cd /usr/ports make fetchindex portsdb -u Also have a look at 'man ports'. Hope that helps. I should note here that I did Google this, check the FAQ, and check the documentation. I have been known to accidentally miss items in these areas, so if I did, I do apologize. Regards, Karol -- Karol Kwiatkowski freebsd at orchid dot homeunix dot org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: chrooting SSH users into their home directories
Brian Kaczynski wrote: I was wondering how you could lock a user into their home with chroot when using SSH, similar to what the /etc/ftpchroot file does for FTP users. The ssh server is sshd. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Check out 'scponly' -- it's in the ports collection. G ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD vs. window managers
Louis LeBlanc [EMAIL PROTECTED] writes: So, two things that are important: ease of configuration and flexibility. You want those small tweaks to be painless, but you also want the WM to be able to do what you want it to. So far, I've not found anything I wanted that FVWM2 couldn't do. Documentation (man pages) are well written enough that tweaks are pretty easy to manage now too. Amen. Want to do something? Read man fvwm, edit .fvwm2. Done. I gave KDE a couple of good tries and while it's nice to have on the Gnoppix Live CDROM, for example, I don't want to climb it's learning curve to configure it to my own preferences in daily use. I keep the right 1.5 of my 4-page screen normally devoted to a column of gizmos that do everything I need to do. You can easily write gizmos (eg, Tk/Python) and hook them it into fvwm's button/display system, though fvwm has all the built-in gizmos I've needed except my online/offline button/indicator/GMT-display. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: boot problem - how can I access the file system
On Sat, 2005-09-03 at 13:31 -0500, Kevin Kinsey wrote: I made a mistake to my /boot/loader.conf file and now the system hangs after pressing F1 and before the boot options menu. How can I access the file to edit it? I have the install CD, but can't seem to figure out how to get to the file system. 3] sysinstall's emergency holographic shell - dunno if it can edit. Might be able to cp a backup, though, if you have one. I booted from CD and initiated the holographic shell, where can I find help on how to access the drive and edit the file? Thanks. -- Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: boot problem - how can I access the file system
Robert Fitzpatrick wrote: I made a mistake to my /boot/loader.conf file and now the system hangs after pressing F1 and before the boot options menu. How can I access the file to edit it? I have the install CD, but can't seem to figure out how to get to the file system. When it happened to me, I had the good fortune to have another FBSD system nearby. Mounted it there, edited mistake, voila. What resources do you have? Further thoughts: 1] Boot off of a live CD (Matt Olander posted a link to a nice, fairly small one on advocacy@ yesterday, IIRC). 2] Fixit CD or Fixit floppy. Available via FTP from ftp.freebsd.org. 3] sysinstall's emergency holographic shell - dunno if it can edit. Might be able to cp a backup, though, if you have one. HTH, Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Won't go into multi-user mode
I have a week old 5.4-STABLE install that absolutely refuses to boot into multi-user mode after a restart. I get no errors in dmsg or in /var/log/messages. It simply boots like normal, starts most things, then stops at a bash prompt. Manually hitting CTRL-D fires off multi user mode and everyone is happy. I've checked loader.conf and it's emtpy. I have no clue where to start with this. Anyone have any idea where to start and troubleshoot this? Thanks, -=Chris smime.p7s Description: S/MIME Cryptographic Signature
boot problem - how can I access the file system
I made a mistake to my /boot/loader.conf file and now the system hangs after pressing F1 and before the boot options menu. How can I access the file to edit it? I have the install CD, but can't seem to figure out how to get to the file system. -- Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [PHP] FreeBSD php{4,5} w/ LDAP + SSL/TLS ldap_start_tls()
Rasmus / all: I'll revert to that as path of last resort. The FreeBSD port mechanism for installing php extensions is administratively superior to maintaining source installations manually. Apache/PHP/LDAP/SSL/SQL cocktails on anything other than Linux are way too convuluted to not be using Ports, especially with the number of security advisories that come out. Without the XML vulnerability checklist from 'portaudit', you might as well grab your ankles. Anyway, It's not FreeBSD ports. The damn configure script in php{4,5}???/ext/ldap/ per the following: Update: The problem persists elsewhere than FreeBSD 5.3/i386. It's also happening on a NetBSD/i386 host with a -current (cvs -rHEAD) pkgsrc/databases/{,php-ldap-}openldap/ Okay, I traced it down: in /usr/ports/net/php5-ldap/work/php-5.0.4/ext/ldap/configure - conftest - ldap_start_tls_s(); ldap_start_tls_s return false - ac_cv_func_ldap_start_tls_s=no in config.log config.log - ldap.h - #undef HAVE_LDAP_START_TLS_S config.c - HAVE_LDAP_START_TLS_S - PHP_FE(ldap_start_tls, NULL) ...therefore ldap_start_tls isn't registered. The question is why the conftest.c in GNU autoconf is failing with: configure:5048: cc -o conftest -O -pipe -march=pentium3 conftest.c 5 /var/tmp//cc63HySI.o(.text+0x12): In function `main': : undefined reference to `ldap_start_tls_s' ...Which is odd since: php4$ grep -ir ldap_start_tls_s lib/* Binary file lib/libldap-2.2.so matches Binary file lib/libldap-2.2.so.7 matches Binary file lib/libldap.a matches Binary file lib/libldap.so matches Binary file lib/libldap_r-2.2.so matches Binary file lib/libldap_r-2.2.so.7 matches Binary file lib/libldap_r.a matches Binary file lib/libldap_r.so matches Binary file lib/pam_ldap.so matches php4$ grep -ir ldap_start_tls_s include/* include/ldap.h:ldap_start_tls_s LDAP_P(( include/php/main/php_config.h:/* Define if you have the ldap_start_tls_s function. */ include/php/main/php_config.h:/* #undef HAVE_LDAP_START_TLS_S */ $ nm lib/libldap-2.2.so.7|grep -i start_tls 0002b770 T ldap_start_tls_s and... php5$ grep -ir ldap_start_tls_s lib/* Binary file lib/libldap-2.2.so matches Binary file lib/libldap-2.2.so.7 matches Binary file lib/libldap.a matches Binary file lib/libldap.so matches Binary file lib/libldap_r-2.2.so matches Binary file lib/libldap_r-2.2.so.7 matches Binary file lib/libldap_r.a matches Binary file lib/libldap_r.so matches php5$ grep -ir ldap_start_tls_s include/* include/ldap.h:ldap_start_tls_s LDAP_P(( include/php/main/php_config.h:/* Define if you have the ldap_start_tls_s function. */ include/php/main/php_config.h:/* #undef HAVE_LDAP_START_TLS_S */ $ nm lib/libldap-2.2.so.7|grep -i start_tls 0002b770 T ldap_start_tls_s ..from 'make configure' in ports/net/php5-ldap/ checking for LDAP support... yes, shared checking for LDAP Cyrus SASL support... no checking for 3 arg ldap_set_rebind_proc... yes checking for ldap_parse_reference... no checking for ldap_start_tls_s... no checking for ldap_bind_s... yes ...from config.log: configure:5048: cc -o conftest -O -pipe -march=pentium3 conftest.c 5 /var/tmp//cc63HySI.o(.text+0x12): In function `main': : undefined reference to `ldap_start_tls_s' configure:5051: $? = 1 configure: failed program was: #line 5011 configure #include confdefs.h /* System header to define __stub macros and hopefully few prototypes, which can conflict with char ldap_start_tls_s (); below. */ #include assert.h /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern C #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char ldap_start_tls_s (); char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern C # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_ldap_start_tls_s) || defined (__stub___ldap_start_tls_s) choke me #else f = ldap_start_tls_s; #endif ; return 0; } configure:5067: result: no configure:5414: checking for ldap_bind_s configure:5457: cc -o conftest -O -pipe -march=pentium3 -R/usr/local/lib -L/usr/local/lib -lldap -R/usr/local/lib - L/usr/local/lib -llber conftest.c 5 configure:5460: $? = 0 configure:5463: test -s conftest configure:5466: $? = 0 configure:5476: result: yes configure:5583: checking for ld used by GCC configure:5646: result: /usr/bin/ld configure:5655: checking if the linker (/usr/bin/ld) is GNU ld GNU ld version 2.15 [FreeBSD] 2004-05-23 configure:5667: result: yes configure:5672: checking for /usr/bin/ld option to reload object files configure:5679: result: -r configure:5684: checking for BSD-compatible nm configure:5720: result: nm configure:5723: checking for a sed that does not truncate output
Re: network tools
Chris wrote: Why don't the numbers support the experience? We have 1Mb/s download and 128K upload (telewest cable). In theory even between us we weren't using all the bandwidth. If I put a FreeBSD NAT/router box between the cable modem and the LAN what console based tools should I put on it to examine what's happening? You want: snort for packet sniffing and analysis nmap for scanning your network to see if someone is running wierd apps. You may want to configure your firewall with pf and queuing so limewire etc doesn't eat it all up. With pf, you can also monitor the state table, and you can also log suspicious traffic or traffic that causes problems. You need to use tcpdump to read the logfile. IIRC, ethereal is a server/client program where the server runs on the trusted host where you want to monitor the traffic. It is good for getting the big picture of what is going on. Also, take a look at nagios. I have to say that I haven't used ethereal or nagios at all. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [PHP] FreeBSD php{4,5} w/ LDAP + SSL/TLS ldap_start_tls()
Okay, problem fixed: 1) cd /usr/{ports,pkgsrc}/{net/php5-ldap,databases/php-ldap} on {Free,Net}BSD respectively 2) sudo make configure 3) sudo vim On FreeBSD work/php-5.0.4/ext/ldap/config.h or.. work/php-4.4.0/ext/ldap/config.h on NetBSD: work/php-5.0.4/ext/ldap/config.h 4) Change: /* Define to 1 if you have the `ldap_start_tls_s' function. */ /* #undef HAVE_LDAP_START_TLS_S */ To: #define HAVE_LDAP_START_TLS_S 1 5) sudo make install 6) carry on pretending that your employee data is secure $ cat ~/public_html/testtls.php ? if (function_exists('ldap_start_tls')) echo I see it!\n; ? [0] [EMAIL PROTECTED]:/$ php ~/public_html/testtls.php I see it! 7) ...sit around on your day off and try to determine how the following piece of code from configure.sh was [ever] supposed to determine if ldap_start_tls_s() was a valid function w/o including arguments -I/usr/local/include, -L/usr/local/lib to gcc(1) or #including ldap.h or lber.h, and wonder who is responsible :} *cough* http://chora.php.net/diff.php/php-src/ext/ldap/config.m4?php=3c934ff67902f7c5ce419c901b82c77er1=1.23r2=1.24ty=hnum=10 *cough* ... 8-) ...i dunno, maybe it just works(r) on Linux :} | /* confdefs.h. */ | | #define PACKAGE_NAME | #define PACKAGE_TARNAME | #define PACKAGE_VERSION | #define PACKAGE_STRING | #define PACKAGE_BUGREPORT | #define COMPILE_DL_LDAP 1 | #define HAVE_LDAP 1 | #define HAVE_3ARG_SETREBINDPROC 1 | /* end confdefs.h. */ | /* Define ldap_start_tls_s to an innocuous variant, in case limits.h declares ldap_start_tls_s. |For example, HP-UX 11i limits.h declares gettimeofday. */ | #define ldap_start_tls_s innocuous_ldap_start_tls_s | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char ldap_start_tls_s (); below. | Prefer limits.h to assert.h if __STDC__ is defined, since | limits.h exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include limits.h | #else | # include assert.h | #endif | | #undef ldap_start_tls_s | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern C | { | #endif | /* We use char because int might match the return type of a gcc2 |builtin and then its argument prototype would still apply. */ | char ldap_start_tls_s (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined (__stub_ldap_start_tls_s) || defined (__stub___ldap_start_tls_s) | choke me | #else | char (*f) () = ldap_start_tls_s; | #endif | #ifdef __cplusplus | } | #endif | | int | main () | { | return f != ldap_start_tls_s; | ; | return 0; | } ~BAS On Sat, 3 Sep 2005, Brian A. Seklecki wrote: Rasmus / all: I'll revert to that as path of last resort. The FreeBSD port mechanism for installing php extensions is administratively superior to maintaining source installations manually. Apache/PHP/LDAP/SSL/SQL cocktails on anything other than Linux are way too convuluted to not be using Ports, especially with the number of security advisories that come out. Without the XML vulnerability checklist from 'portaudit', you might as well grab your ankles. Anyway, It's not FreeBSD ports. The damn configure script in php{4,5}???/ext/ldap/ per the following: Update: The problem persists elsewhere than FreeBSD 5.3/i386. It's also happening on a NetBSD/i386 host with a -current (cvs -rHEAD) pkgsrc/databases/{,php-ldap-}openldap/ Okay, I traced it down: in /usr/ports/net/php5-ldap/work/php-5.0.4/ext/ldap/configure - conftest - ldap_start_tls_s(); ldap_start_tls_s return false - ac_cv_func_ldap_start_tls_s=no in config.log config.log - ldap.h - #undef HAVE_LDAP_START_TLS_S config.c - HAVE_LDAP_START_TLS_S - PHP_FE(ldap_start_tls, NULL) ...therefore ldap_start_tls isn't registered. The question is why the conftest.c in GNU autoconf is failing with: configure:5048: cc -o conftest -O -pipe -march=pentium3 conftest.c 5 /var/tmp//cc63HySI.o(.text+0x12): In function `main': : undefined reference to `ldap_start_tls_s' ...Which is odd since: php4$ grep -ir ldap_start_tls_s lib/* Binary file lib/libldap-2.2.so matches Binary file lib/libldap-2.2.so.7 matches Binary file lib/libldap.a matches Binary file lib/libldap.so matches Binary file lib/libldap_r-2.2.so matches Binary file lib/libldap_r-2.2.so.7 matches Binary file lib/libldap_r.a matches Binary file lib/libldap_r.so matches Binary file lib/pam_ldap.so matches php4$ grep -ir ldap_start_tls_s include/* include/ldap.h:ldap_start_tls_s LDAP_P(( include/php/main/php_config.h:/* Define if you have the ldap_start_tls_s function. */ include/php/main/php_config.h:/* #undef HAVE_LDAP_START_TLS_S */ $ nm lib/libldap-2.2.so.7|grep -i start_tls 0002b770 T ldap_start_tls_s and... php5$ grep -ir ldap_start_tls_s lib/* Binary file
How to mount OpenBSD slices under 5.x?
Hello All, I have 5-Stable and 4-Stable both on my desktop. On 4.x, I can easily mount OpenBSD slices with no hassle at all. How do I do this on 5.x? devfs doesn't create the slices (ad6s3a and ad6s3e) but I can symlink /dev/ad6s3 to /dev/ad6s3a and mount the slice that way, with no problems. That won't work for ad6s3e, in fact, doing so mounts ad6s3a! Any ideas? I'd like to mount both from FreeBSD 5.x, since that is what I mainly use. I do this to copy my own files from one operating system to another, and for backups. Can I use mknod to make ad6s3e? I've tried, but to no avail. I created the OpenBSD slices and partitions by turning an unused FreeBSD partition into an OpenBSD one around the time of FreeBSD 4.3, and noticed the slices were mountable under 4.x with no problems at all. If worst comes to worst, I'll just boot FreeBSD 4.x to mount OpenBSD from FreeBSD. TIA, Eric Buchanan pgpalTWgzPnOi.pgp Description: PGP signature
Re: boot problem - how can I access the file system
On Sat, 2005-09-03 at 13:31 -0500, Kevin Kinsey wrote: What resources do you have? Don't have another FreeBSD machine at this location. I have my SuSE 9.2 linux workstation and Windows 2003 server machine. 2] Fixit CD or Fixit floppy. Available via FTP from ftp.freebsd.org. I tried the Fixit CD (disc 2) and it says 'ldconfig could not create the ld.so hints' and that my dynamic executables from the disc most likely won't work. When I Alt+F4, typing any command such as 'ls' gives me a segmentation fault. I am running 5.3 on a old AMD 500 with 512MB RAM. Not sure how to get the images for floppies on to my floppy. The 'dd' command does not seem to work in my linux env and I don't find the fdimage.exe for Windows. Appreciate any help. -- Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
video surveillance with freebsd
The aim: with up to 4 small cameras connected to a pci board in a freebsd 5.4 box, scattered suitably around to guard, surveille a seaside resort flat *** remotely ***. The open-source software I'm looking for should: 1) manage the pci board the cameras; 2) start,trigger a script for, e.g., a gsm connection to transmit images to a remote server via ppp OR start an alarm *** whener a motion is detected ***. Is there any software in the ports satisfying these requirements? 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: video surveillance with freebsd
On Friday 03 June 2005 23:56, vittorio wrote: The aim: with up to 4 small cameras connected to a pci board in a freebsd 5.4 box, scattered suitably around to guard, surveille a seaside resort flat *** remotely ***. The open-source software I'm looking for should: 1) manage the pci board the cameras; 2) start,trigger a script for, e.g., a gsm connection to transmit images to a remote server via ppp OR start an alarm *** whener a motion is detected ***. Is there any software in the ports satisfying these requirements? Ciao Vittorio Hhmmm I used to have a landlord like that... .nbco ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
USB-RS232 adapter in FreeBSD 5?
I've got a USB - RS232 adapter I'm trying to get working on 5.3-RELEASE. I've seen a lot of comments about these kind of things that seem to indicate that they can be used (I occasionally have needs to use this lappy as a serial console, and I'd like to use it to demonstrate a serial barcode scanner that we have - normally, tip would work great for this, but the laptop doesn't have a native RS-232 port). Anyway, I get the impression that I'm missing some early, basic steps to get this working. dmesg shows: ugen0: Prolific Technology Inc. USB-Serial Controller, rev 1.10/3.00, addr 2 But neither tip nor cu seems to talk to ugen0 very well. Other posts I've seen seem to indicate that I need to be talking to a ucom0 device, but I see nothing like that in /dev. Is there something missing from my kernel? I haven't been able to find any reference to ucom in the GENERIC or NOTES files. Any advice/pointers is welcome. TIA. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ipfilter/ipnat problem with FTP proxy
I'm trying to get the ipfilter/ipnat FTP proxy working, and clearly I'm missing something. The symptom I have is that I'm getting a No Route To Host error when a remote FTP server attempts to open a data channel back to my clients (fetch, wget, etc. report No Route To Hose immediately upon trying to FTP down a file, while interactive clients such as ftp and ncftp allow me to login, but report the error as soon as I try to do anything other than change directories.. e.g. ls, get, mget, etc.). I have the same problem whether I attempt to FTP from my firewall directly, or from any of the machines on the inside network. I'm using user-ppp to create a pppoe connection over a DSL link (the DSL connection is a statically addressed point-to-point network), and have a publicly routable network on the inside side of my firewall. I do not normally want to do NAT, but from what I've read at http:// www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls- ipf.html, it appears that I have to in order to get the FTP proxy working, so I'm attempting only to NAT outbound FTP connections. Relevant config info is as follows: - /etc/rc.conf - ipfilter_enable=YES ipnat_enable=YES ipmon_enable=YES - /etc/ipf.rules - pass out quick on tun0 proto tcp from any to any port = 21 flags S keep state - /etc/ipnat.rules (I've anonymized the /29 interior network in this email) - map tun0 192.0.2.80/29 - 0/32 proxy port 21 ftp/tcp map tun0 0/32 - 0/32 proxy port 21 ftp/tcp - Does anyone see anything clearly wrong in the above? As far as I can tell, it's a perfect copy of the examples from the handbook, with the obvious logical changes such as interface names and network addresses. Thanks very much in advance. Matt Pounsett PGP.sig Description: This is a digitally signed message part
Reinstalling the standard boot manager
How do I reinstall just the standard MBR/Boot Manager without effecting anything else or accidentally doing a reinstall? Frederick N. Brier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reinstalling the standard boot manager
On 2005-09-03 20:50, Frederick N. Brier [EMAIL PROTECTED] wrote: How do I reinstall just the standard MBR/Boot Manager without effecting anything else or accidentally doing a reinstall? # boot0cfg -v -B /dev/ad0 Replace /dev/ad0 with the disk you want to install the bootmanager on. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: boot problem - how can I access the file system
http://uranus.it.swin.edu.au/~jn/linux/ and specifically: http://uranus.it.swin.edu.au/~jn/linux/rawwrite.htm these are all windows programs that take away the frustration of installing linux. however freebsd and any os follows the same concept when it comes to boot disks (.img) - so give rawwrite a try. if you really want to do it unix style via dd he has a windows copy of dd on there: http://uranus.it.swin.edu.au/~jn/linux/rawwrite/dd.htm Let me know if you need any help making the fixit disk via any of the utilities i just mentioned. -Ben Robert Fitzpatrick wrote: On Sat, 2005-09-03 at 13:31 -0500, Kevin Kinsey wrote: What resources do you have? Don't have another FreeBSD machine at this location. I have my SuSE 9.2 linux workstation and Windows 2003 server machine. 2] Fixit CD or Fixit floppy. Available via FTP from ftp.freebsd.org. I tried the Fixit CD (disc 2) and it says 'ldconfig could not create the ld.so hints' and that my dynamic executables from the disc most likely won't work. When I Alt+F4, typing any command such as 'ls' gives me a segmentation fault. I am running 5.3 on a old AMD 500 with 512MB RAM. Not sure how to get the images for floppies on to my floppy. The 'dd' command does not seem to work in my linux env and I don't find the fdimage.exe for Windows. Appreciate any help. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mouse wheel problem
On Thu, 2005-09-01 at 09:38 -0700, Dave McCammon wrote: --- Alejandro Pulver [EMAIL PROTECTED] wrote: Hello, It works for me without the ZAxisMapping option (and the same options in rc.conf): Identifier Mouse1 Driver mouse Option Protocol Auto Option Device/dev/sysmouse Option Buttons 5 Best Regards, Ale I had a heck of a time getting my wheel to work in RELENG_6. Eventually, starting moused with setting in rc.conf(below) and turning off Emulate3Buttons (had to put line in with the false. commenting out didn't work) and adding the Buttons line worked. The instructions out of the handbook didn't work this time. I found the same with my Logitech MX500 - I had to add Emulate3Buttons false whereas as best as I can remember it seemed that everything I was reading at the time was telling me I only needed to set it to true if I wanted to enable that option. Curious. At the time this configuration was done I was probably running 5.3 and X might still have been XFree86. The same config is working now with 5.4 and Xorg. xorg.conf sections-- Section InputDevice # Identifier and driver Identifier Mouse1 Driver mouse Option Protocolauto Option Device /dev/sysmouse Option Emulate3Buttons false Option Buttons 5 EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option ZAxisMapping 8 9 # Had to put this in because default is true!?!? Option Emulate3Buttons False Option Buttons 9 EndSection rc.conf--- moused_enable=YES moused_type=auto moused_flags=-z 4 moused_enable=YES moused_flags=-a 2.0 -z 8 moused_type=auto The [ZAxisMapping 8 9], [Buttons 9] and [moused_flags=-z 8] entries allow me to use both the scroll-wheel *and* the two buttons adjacent to the scroll-wheel to scroll - I quite like being able to just hold down either of those two buttons to scroll through long documents, as it's much less finger-strain than lots of wheeling, and often more convenient than mousing the cursor into the scroll bars which tend to be quite narrow on my high-res display. excerpt from dmesg-- psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 (It is a Logitech optic mouse.Two button with Wheel) ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/18.00, addr 2, iclass 3/1 ums0: 7 buttons and Z dir. I don't understand why it describes it as 7 buttons. There are the 'left' and 'right' buttons, two thumb buttons, two adjacent to the mouse-wheel, plus another button on top behind the wheel, so that's 7 buttons. But then there's the wheel button itself which is the third or middle button, so surely there are 8 buttons on this mouse, plus the Z dir of the wheel. Curious. Wayne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reinstalling the standard boot manager
On 2005-09-04 09:31, Yuan Jue [EMAIL PROTECTED] wrote: On Sunday 04 September 2005 08:53, Yuan Jue wrote: boot0cfg -v -B /dev/ad0 when doing this, I got a message: boot0cfg: write_mbr: /dev/ad0: No such file or directory I use it as root and my disk is ad0. What did I do wrong? Check that: a) you are not running this inside a jail (/dev/ad0 may not be visible inside a jail) b) ad0 is really the disk, and not ad1 or something else If that fails to uncover the cause of the error, then run truss or ktrade on boot0cfg and send me the dump. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Setting Up IPMON Logging for IPFilter
I'm running FreeBSD 5.4-RELEASE #0 and intend to install IPFilter. Section 25.5.7 IPMON Logging, of the FreeBSD Handbook, instructs you to add the statement, security.* /var/log/ipfilter.log to the /etc/syslog.conf file. etc/syslog.conf already includes a similar statement, security.* /var/log/security. Wouldn't this result in the same security message posting to two different log files? What am I missing? Thnx, Bob Perry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]