IPMI SoL oddity on 9.0
Folks, I'm hitting a roadblock on getting IPMI SoL up and running on my Supermicro box. It's a X9SCL-F with a dedicated IPMI LAN. I've installed ipmitool and set the necessary console redirects (COM1, COM2 and SoL) in the BIOS. The new AMI BIOS does not seem to indicate the SoL is sharing resources with either one of the two COM ports. All 3 redirect speed is 9600. Serial console works, as far as COM ports are concerned. The BIOS, the boot, loader, kernel messages and TTY are all redirected to the COMs. However SoL only works with the BIOS, boot and reading loader defaults. It will get stuck once it enters the spinning kernel boot and it will stay there. I've tried playing with 0x10 uart flags in device.hints alternating between uart0 and uart1 also to no available in hoping that the SoL port is sharing with either one of the two COMs. Regardless SoL simply will not work entering the kernel onwards. Attached are what I believe the configs relevant to my problem. inf02-kul# cat /boot.config -P inf02-kul# cat /boot/loader.conf autoboot_delay="1" console="comconsole" boot_serial="" boot_multicons="" inf02-kul# grep uart /var/run/dmesg.boot uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: console (9600,n,8,1) uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 uart2: <16550 or compatible> port 0x3e8-0x3ef irq 10 on acpi0 inf02-kul# grep ttyu /etc/ttys ttyu0 "/usr/libexec/getty std.9600" vt100 on secure ttyu1 "/usr/libexec/getty std.9600" vt100 on secure ttyu2 "/usr/libexec/getty std.9600" vt100 on secure ttyu3 "/usr/libexec/getty std.9600" dialup off secure inf02-kul# ipmitool sol info Set in progress : set-complete Enabled : true Force Encryption: false Force Authentication: false Privilege Level : USER Character Accumulate Level (ms) : 5 Character Send Threshold: 1 Retry Count : 0 Retry Interval (ms) : 0 Volatile Bit Rate (kbps): 9.6 Non-Volatile Bit Rate (kbps): 9.6 Payload Channel : 1 (0x01) Payload Port: 623 inf02-kul# cat /var/run/dmesg.boot Copyright (c) 1992-2012 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 CPU: Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz (3292.59-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x306a9 Family = 6 Model = 3a Stepping = 9 Features=0xbfebfbff Features2=0x77bae3ff> AMD Features=0x28100800 AMD Features2=0x1 TSC: P-state invariant, performance statistics real memory = 8589934592 (8192 MB) avail memory = 8219156480 (7838 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 SMT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 cpu4 (AP): APIC ID: 4 cpu5 (AP): APIC ID: 5 cpu6 (AP): APIC ID: 6 cpu7 (AP): APIC ID: 7 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) acpi0: reservation of 67, 1 (4) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 cpu4: on acpi0 cpu5: on acpi0 cpu6: on acpi0 cpu7: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 pcib2: irq 16 at device 1.1 on pci0 pci2: on pcib2 igb0: port 0xe020-0xe03f mem 0xf7a2-0xf7a3,0xf780-0xf79f,0xf7a44000-0xf7a47fff irq 17 at device 0.0 on pci2 igb0: Using MSIX interrupts with 5 vectors igb0: Ethernet address: 00:25:90:6c:25:00 igb1: port 0xe000-0xe01f mem 0xf7a0-0xf7a1,0xf740-0xf75f,0xf7a4-0xf7a43fff irq 18 at device 0.1 on pci2 igb1: Using MSIX interrupts with 5 vectors igb1: Ethernet address: 00:25:90:6c:25:01 em0: port 0xf020-0xf03f mem 0xf710-0xf711,0xf7125000-0xf7125fff irq 20 at device 25.0 on pci0 em0: Using an MSI interrupt em0: Setup of Shared code failed device_attach: em0 attach returned 6 ehci0: mem 0xf7124000-0xf71243ff irq 16 at device 26.0 on pci0 usbus0: EHCI version 1.0 usbus0: on ehci0 pcib3: irq 16 at device 28.0 on pci0 pci3: on pcib3 pcib4: irq 16 at device 28.4 on pci0 pci4: on pcib4 em1: port 0xd000-0xd01f mem 0xf7c0-0xf7c1,0xf7c2-0xf7c23fff irq 16 at device 0.0 on pci4 em1: Using MSIX interrupts with 3 vectors em1: Ethernet address: 00:25:90:77:35:08 ehci1: mem 0xf7123000-0xf71233ff irq 23 at device 29.0 on pci0 usbus1: EHCI ver
Re: IPMI SoL oddity on 9.0
I've managed to get SoL to work. Turned out the IPMI is utilizing uart2 on my box so modified loader.conf so uart2 is configured to be the serial console port. hint.uart.0.flags="0x0" hint.uart.2.at="isa" hint.uart.2.port="0x3E8" hint.uart.2.irq="10" hint.uart.2.flags="0x10" The handbook does not seem to indicate this very clearly but well, now that it's working, I'm a happy man. ihsan On Jun 13, 2012, at 5:53 AM, Ihsan Junaidi Ibrahim wrote: > Folks, > > I'm hitting a roadblock on getting IPMI SoL up and running on my Supermicro > box. It's a X9SCL-F with a dedicated IPMI LAN. > > I've installed ipmitool and set the necessary console redirects (COM1, COM2 > and SoL) in the BIOS. The new AMI BIOS does not seem to indicate the SoL is > sharing resources with either one of the two COM ports. All 3 redirect speed > is 9600. > > Serial console works, as far as COM ports are concerned. The BIOS, the boot, > loader, kernel messages and TTY are all redirected to the COMs. > > However SoL only works with the BIOS, boot and reading loader defaults. > > It will get stuck once it enters the spinning kernel boot and it will stay > there. > > I've tried playing with 0x10 uart flags in device.hints alternating between > uart0 and uart1 also to no available in hoping that the SoL port is sharing > with either one of the two COMs. > > Regardless SoL simply will not work entering the kernel onwards. > > Attached are what I believe the configs relevant to my problem. > > inf02-kul# cat /boot.config > -P > > inf02-kul# cat /boot/loader.conf > autoboot_delay="1" > console="comconsole" > boot_serial="" > boot_multicons="" > > inf02-kul# grep uart /var/run/dmesg.boot > uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 > uart0: console (9600,n,8,1) > uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 > uart2: <16550 or compatible> port 0x3e8-0x3ef irq 10 on acpi0 > > inf02-kul# grep ttyu /etc/ttys > ttyu0 "/usr/libexec/getty std.9600" vt100 on secure > ttyu1 "/usr/libexec/getty std.9600" vt100 on secure > ttyu2 "/usr/libexec/getty std.9600" vt100 on secure > ttyu3 "/usr/libexec/getty std.9600" dialup off secure > > inf02-kul# ipmitool sol info > Set in progress : set-complete > Enabled : true > Force Encryption: false > Force Authentication: false > Privilege Level : USER > Character Accumulate Level (ms) : 5 > Character Send Threshold: 1 > Retry Count : 0 > Retry Interval (ms) : 0 > Volatile Bit Rate (kbps): 9.6 > Non-Volatile Bit Rate (kbps): 9.6 > Payload Channel : 1 (0x01) > Payload Port: 623 > > inf02-kul# cat /var/run/dmesg.boot > Copyright (c) 1992-2012 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012 >r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > CPU: Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz (3292.59-MHz K8-class CPU) > Origin = "GenuineIntel" Id = 0x306a9 Family = 6 Model = 3a Stepping = 9 > > Features=0xbfebfbff > > Features2=0x77bae3ff> > AMD Features=0x28100800 > AMD Features2=0x1 > TSC: P-state invariant, performance statistics > real memory = 8589934592 (8192 MB) > avail memory = 8219156480 (7838 MB) > Event timer "LAPIC" quality 600 > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs > FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 SMT threads > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > cpu2 (AP): APIC ID: 2 > cpu3 (AP): APIC ID: 3 > cpu4 (AP): APIC ID: 4 > cpu5 (AP): APIC ID: 5 > cpu6 (AP): APIC ID: 6 > cpu7 (AP): APIC ID: 7 > ioapic0 irqs 0-23 on motherboard > kbd1 at kbdmux0 > acpi0: on motherboard > acpi0: Power Button (fixed) > acpi0: reservation of 67, 1 (4) failed > Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 > cpu0: on acpi0 > cpu1: on acpi0 > cpu2: on acpi0 > cpu3: on acpi0 > cpu4: on acpi0 > cpu5: on acpi0 > cpu6: on acpi0 > cpu7: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: i
Maximum gif(4) interfaces
Hi, I need to build a system that need to terminate a number of 6-in-4 and 4-in-4 tunnels. Can someone point me to a direction, with gif auto-cloning and on GENERIC, what is the maximum number of gif interfaces/tunnels that can be supported? I'm on 8.2. Thanks in advance.___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Detaching program from controlling terminal
Hi all, I'm somehow stuck in the loop now and am hoping some of you can give me pointers on how to proceed. Due to a customer requirement, I need to build a simple web-based (via cgi or php) script to change the system password. They found that sshing to the server and typing passwd to change the password is wee too involving hence the need to use a much friendlier interface. Letting the sysadmins change the user's password is not a good idea, as the sysadmins are outsourced and the users value their privacy. FYI, all the users has a /sbin/nologin shell set. I'm running FreeBSD 5.2.1. I understand there are two primary way to change a user's password, either via passwd or pw. Since pw is a root-only program, that doesn't seem the best way to do it over the web so I'm left with passwd. Since passwd gets its input from the controlling terminal, I simply cannot get an environment variable passed via stdin. Reading over daemon(8) I finally got it that I need to detach passwd from the controlling terminal and run it as a daemon. This is where I entered the loop and never seem to get out of it. I couldn't get passwd to run properly because once it entered daemon mode, it locked up the whole terminal and subsequent tries also suffered the same fate. If there's something that I have missed or there's better alternatives, please point it out. :) Thanks, Ihsan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Detaching program from controlling terminal
Matthew Seaman wrote: > Since you aren't allowing your users to log into your FreeBSD server the question arises as to why exactly they need passwords there? Two things leap to mind immediately: access to shared filesystems or access to an e-mail server. It's an e-mail server. Previously I set it up to use MySQL authentication which allows the virtual users to change the password via a simple PHP-based script. The obvious drawback to this method is that these users don't enjoy system-level utilities such as quota and mail forwarding via procmail/maildrop. The former is actually implementable (though we never got it done) but it complicates matters. We're trying to keep everything manageable to within reasonable limits since this is not the only box in here and the resources are tight. Postfix-style virtual domain allows virtual users to have their own home directories, thus enjoying system-level utilities hence the reason why I went ahead with the plan of implementing it until the users realize that the *complexities* behind changing the password. Being in their situation before, I can understand their predicament. As for the privacy issue, the administrators will have to know the users password should they want to change them. The administrators are off-site and the only way to do so currently is to phone in their password. Since passwd and pw are ruled out, what can I do to allow the users to manage their accounts properties? Is Usermin viable in this setting? Can centralized authentication mechanism such as LDAP/RADIUS/TACACS be recommended? Thank you for your time, Ihsan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Detaching program from controlling terminal
Volker Kindermann wrote: > what about giving them /usr/bin/passwd as the shell? So, the only thing they have to do is ssh to the system and they're asked for the password. Haven't tried this on FreeBSD yet, but it should work. Did a cursory testing just now and they seem to work. I'm going to conduct further testing on it later during the day. Should be a decent stop-gap measure. Definitely it didn't cross my mind. Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: HP Printer not working?
> On Thu, 03 Jun 2004 21:48:22 +0200, David Telyas wrote: > >I have an i386 running FreeBSD 5.2.1 and KDE, but I can't get my printer >working. It's a HP Deskjet 5550 connected via USB. I've heard about lpd >and cups, but don't know which one to use or what the difference is. So >can anyone guide a Windows user to an easy howto? I'd gotten it to work with print/apsfilter port using the dj990 driver of the hpijs package set. There were no native dj5550 driver 6 months ago hence why I had to use the older driver. It worked fairly well. It's been long since, the situation may have changed now. The setup was fairly intuitive and I remember the first time round, I managed to get it up and running within 5 minutes. However, you don't get the flashy HP Printer Assistant so it's hard to run diagnostics such as checking the ink level and whatnot. Unfortunately there are no easy printing how-to AFAIK for new users especially ones coming in from Windows. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: amd64, 57600 serial install help
I assume you have compiled the bootblocks as per the instruction in the handbook. Second, do you have more than one serial port on the box because FreeBSD can only work its serial console magic on only one port at a time. If you redirect your IPMI serial console or just a normal serial console, take note it's interrupt number in the BIOS. You'll need to append the 0x10 flags to your UART device in device.hints file if the you plug in the cable at a non-default port. ihsan On Jul 22, 2012, at 1:47 AM, Paul Macdonald wrote: > > what am i doing wrong here? > > From rebuilding the install iso and from the handbook instructions here: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-advanced.html > which suggests that in /boot/loader.conf only > > console="comconsole" > > is required, > > i have tried this and also explicity setting speed in boot/loader.conf > > console="comconsole" > comconsole_speed="57600" > > i have also tried having the settings i use to access via serial post install > ie: > > /etc/ttys:ttyu0 "/usr/libexec/getty std.57600" vt100 on secure > and /boot/config: -D > > but same result, install stops ( or goes elsewhere at point below) > > It does boot stage 1 and stage 2 then i get nothing? > > test serial output: > - > CD Loader 1.2 > r Configuration Menu ... > Building the boot loader arguments > Looking up /BOOT/LOADER... Found > Relocating the loader and the BTX > Starting the BTX loader > > BTX loader 1.00 BTX version is 1.02 > Consoles: internal video/keyboard > BIOS CD is cd0 in 5 sec.. > BIOS drive A: is disk0 > BIOS drive C: is disk1 > BIOS 640kB/3668736kB available memory > > FreeBSD/x86 bootstrap loader, Revision 1.1 > (r...@farrell.cse.buffalo.edu, Tue Jan 3 06:51:49 UTC 2012) > > > > (nothing after this point) > > > -- > > - > Paul Macdonald > IFDNRG Ltd > Web and video hosting > - > t: 0131 5548070 > m: 07970339546 > e: p...@ifdnrg.com > w: http://www.ifdnrg.com > - > IFDNRG > 40 Maritime Street > Edinburgh > EH6 6SA > - > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Using GRUB with 2 kernels
Hello all, How do I put in the GRUB's menu.lst, 2 different kernels, say /kernel and /kernel.old? I can't seem to boot /kernel.old using loader. How can I allow configure loader to boot the kernel not specified in loader.conf? It helps if I can have loader do the job for me automatically if I ever want to use the old kernel. As of now, I've to sto the countdown and proceed to do, unload -> set kernel="kernel.old" -> boot-conf -> load -t userconfig_script /boot/kernel.conf Thanks in advance. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Postfix configuration (MX and whatnot)
Hello all, I've installed Postfix MTA on my machine and I'm have a few questions pertinent to it. I've setup named on this machine which I configure in 10 subdomains under a domain, trigger.lan which is the hostname of my machine. I've put MX configuration to point to a CNAME under mail.trigger.lan which in return, points to an A NAME of raya.trigger.lan. I've read from the documentation that Postfix does work through CNAME declaration. 1) However under the Postfix main.cf, do I assign the "myhostname" with mail.trigger.lan or do I just let it be configured through gethostbyname () which will return trigger.lan? I'm quite behind the curve in regards to this. 2) I've also been accumulating root's dead mails (through periodic cron) although I did a newaliases on /etc/aliases. The root account was diverted to a real user account in this file. Has this something to do with the MTA or was it something else? The sendmail's rc.conf lines are as follows sendmail_enable="YES" sendmail_flags="-bd" sendmail_outbound_enable="NO" sendmail_submit_enable="NO" sendmail_msp_queue_enable="NO" Thanks in advance. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Good integrated Athlon chipset for FreeBSD
Hello all, I'm building a small workgroup (10 PCs) which will be used for software and network testing as well for day-to-day usage. We're also conducting small classes teaching UNIX for school students in our area. Therefore I'm looking for a good integrated Athlon chipset which are supported in FreeBSD. I'm specifically looking at Epox EP-8KMM+ utilizing the VIA KM266 chipset. But I'm a little doubtful about the sound, video and above all, the NIC. The sound uses Realtek ALC201A chipset, the video is VT8375 ProSavage8 and the NIC utilizes Realtek RTL8100B(L). I can't seem to find on the FreeBSD hardware page supports for the sound and the NIC while a search on Xfree driver site turned zero on the video. Does this mean, that they are not supported? I'm really interested in the chipset because it's cheap and most of us are literate when it comes to hardware, we can skip the support that comes with pricier brands and motherboards. My other option would be Asus A7N-266E using the nForce 420D chipset. I've heard cases that this particular motherboard is usable in FreeBSD. The NIC is RTL8139 (rl) while other nForce boards seem to use the MCP-D built-in LAN, which I can't seem to find any cases of it being run on any installation. I'm open to any suggestion that will allow me to choose the best platform for our research. Cost of course is a factor but I will not buy cheap if it's going to prove a hassle in the future. Thank you for your time. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
X11 problem. Simultaneous user connection on same machine.
Hello all, I'm running KDE under a normal user and I couldn't seem to get some group of kcontrol to work properly. Whenever I need to adjust some settings such as Font Installer, Login Manager which requires root access (which I have), the Loading screen just stood there actionless when I click on the Administrator Mode button. So I tried su-ing to root in konsole and run kcontrol from there. I avoid using root account when running X11 so I set the $DISPLAY. I ran kcontrol and this was the output that I got. _KDE_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root DCOPServer up and running. Xlib: connection to ":0.0" refused by server Xlib: No protocol specified kded: cannot connect to X server :0 DCOP aborting call from 'anonymous-22382' to 'kded' ERROR: KUniqueApplication: DCOP communication error! Xlib: connection to ":0.0" refused by server Xlib: No protocol specified kdeinit: Can't connect to the X Server. kdeinit: Might not terminate at end of session. Xlib: connection to ":0.0" refused by server Xlib: No protocol specified kcontrol: cannot connect to X server :0 ERROR: KUniqueApplication: Registering failed! ERROR: KUniqueApplication: DCOP communication error! kdeinit: Fatal IO error: client killed kdeinit: sending SIGHUP to children. Mutex destroy failure: Device busy kdeinit: sending SIGTERM to children. kdeinit: Exit. --- What does this lines of errors means? Can I not have two users using the X11 at one time on the same machine? __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Good integrated Athlon chipset for FreeBSD
On Monday 13 January 2003 04:28, Adam Maas wrote: > The nForce based boards would be your best bet. Good solid chipset with a > decent video core. You should be able to find one that's less expensive > than the Asus. Perhaps an MSI or Gigabyte. > Gigabyte doesn't make nForce. I'm keen on the MSI but I'm unsure of the NIC support. Unlike Asus which uses the clunky RTL8139 chipset, the MSI sticks with Nvidia original design, that is using the ones integrated into the MCP. I couldn't find any listing of it in the Hardware section so I'm assuming that it's unsupported. I'm not keen on an add on NIC, if the NIC was integrated, might as well take advantage of it. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
emacs backup filename
Hello all, It seems that every time I saved a file, emacs will create a backup of the previous copy and tack a ~(tilde) at the end of the filename. I find it annoying to have such feature, how do I turn it off? I'm using xemacs21 Thanks in advance. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
make buildworld failed (crypto related)
Hello all, I cvsup'ed my source early today and modified OpenSSH and OpenSSL to point to the ports collection. I modified make.conf to reflect my changes OPENSSH_OVERWRITE_BASE = true OPENSSL_OVERWRITE_BASE = true AND NO_OPENSSH = true NO_OPENSSL = true The OpenSSH came from /usr/ports/security/openssh-portable while OpenSSL, /usr/ports/security/openssl and the upgrading processes to replace the ones on the base system were problem free. Later while rebuilding my world, I encountered an error. I used the -j10 flag so I remove the -j10 to get the real error as from where the error is generating. So here's the snippet the error messages, I haven't try -DNOCRYPT option for fear that it would break the base system. -- mkdep -f .depend -a-DENCRYPTION -DAUTHENTICATION -DSRA -I/usr/src/secure/lib/libtelnet/../../../crypto/telnet -I/usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet -DNO_IDEA /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/genget.c /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/getent.c /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/misc.c /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/encrypt.c /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/auth.c /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/enc_des.c /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/sra.c /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c In file included from /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/misc.c:53: /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/encrypt.h:64: openssl/des.h: No such file or directory In file included from /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/encrypt.c:72: /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/encrypt.h:64: openssl/des.h: No such file or directory In file included from /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/auth.c:75: /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/encrypt.h:64: openssl/des.h: No such file or directory /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/enc_des.c:47: openssl/des.h: No such file or directory In file included from /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/enc_des.c:52: /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/encrypt.h:64: openssl/des.h: No such file or directory In file included from /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/sra.c:54: /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/encrypt.h:64: openssl/des.h: No such file or directory /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c:47: openssl/des.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /usr/src/secure/lib/libtelnet. *** Error code 1 Stop in /usr/src/secure/lib. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 -- I would be thoroughly delighted if someone can guide me around this. Thanks in advance __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: make buildworld failed (crypto related)
On Thursday 06 February 2003 02:53, Kris Kennaway wrote: > On Thu, Feb 06, 2003 at 02:38:34AM +0800, Ihsan Junaidi Ibrahim wrote: > > Hello all, > > > > I cvsup'ed my source early today and modified OpenSSH and OpenSSL to > > point to the ports collection. I modified make.conf to reflect my changes > > You forgot to mention which release you're running. > > Kris Sorry, I'm running 4.7-Stable. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: make buildworld failed (crypto related)
On Thursday 06 February 2003 02:38, Ihsan Junaidi Ibrahim wrote: > Hello all, > > I cvsup'ed my source early today and modified OpenSSH and OpenSSL to point > to the ports collection. I modified make.conf to reflect my changes > > OPENSSH_OVERWRITE_BASE = true > OPENSSL_OVERWRITE_BASE = true > > AND > > NO_OPENSSH = true > NO_OPENSSL = true > > The OpenSSH came from /usr/ports/security/openssh-portable while OpenSSL, > /usr/ports/security/openssl and the upgrading processes to replace the ones > on the base system were problem free. > > Later while rebuilding my world, I encountered an error. I used the -j10 > flag so I remove the -j10 to get the real error as from where the error is > generating. So here's the snippet the error messages, > > I haven't try -DNOCRYPT option for fear that it would break the base > system. Solve the compilation error by adding NOSECURE tag line in make.conf. NOCRYPT wasn't used. Thought you guys might want to know. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Deleting /usr dedicated slice.
Hello all, I just bought an 80 GB drive and would like move /usr partition to the new disk. I have a dedicated partition /da0s1f that is currently dedicated to it. /var partition resides in da0s1e. How do delete the slice that is occupying /usr and use that free space to extend /var? I read the man pages and growfs is the way but how do I exactly do it? __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
How do I know a disk is bad?
Hello all, Recent FreeBSD here. How do I detect a bad sector on a disk. Are there any other utilities that can be used to detect such error? I've used fsck before but I supposed unless fsck comes up with a bunch or write/read errors, I can never know a disk is good. Or when fsck does come with such messages, is the disk in an inconsistent state? The reason I ask this is because recently after making world, all file operation (mv, cp etc.) from and to /home mounted at ad1s1e hung up and doing kill -KILL would not cut it. I ran fsck a few times which required quite a number of reboots just to make sure all is right. The mount point now works as usual but I still a few doubts on how, all of sudden, things went well. I would like to know how I can detect bad blocks on my disk and to interpret fsck messages. Thanks in advance. -- Thank you for your time, Ihsan Junaidi Ibrahim __ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: How do I know a disk is bad?
Hello all, Thursday, September 19, 2002, 12:22:34 PM, freebsd-questions wrote: > Hello all, > Recent FreeBSD here. > How do I detect a bad sector on a disk. Are there any other utilities that > can be used to detect such error? I've used fsck before but I supposed > unless fsck comes up with a bunch or write/read errors, I can never know a > disk is good. Or when fsck does come with such messages, is the disk in an > inconsistent state? > The reason I ask this is because recently after making world, all file > operation (mv, cp etc.) from and to /home mounted at ad1s1e hung up and doing > kill -KILL would not cut it. I ran fsck a few times which required quite a > number of reboots just to make sure all is right. The mount point now works > as usual but I still a few doubts on how, all of sudden, things went well. > I would like to know how I can detect bad blocks on my disk and to > interpret fsck messages. > Thanks in advance. Well, I replaced the suspected disk and remount /home on another partition but the same problem persists. Sometimes an operation involving files from /home will always hang in the foreground. ps output indicates that the op is writing to disk (state D+). Apache too spawns many errors on "unable to spawn child" or "child process refused to die". I'm not very sure of why this thing is happening only to my /home FS not others. The only changes was that I remake world with 4.7 RC and enable quota on /home only. Either one of them or both could have made the problem as it is now. I did try kill -KILL, TERM on all the D, D+ state processes but couldn't hack them off. It would continue to deflate the RAM, apache especially, that I have until the very minimum forcing me to reboot and the cycle starts again whenever I try to write to /home. Whenever I would try to access the html on /home which contains scripts to write to the disk (PHP cookie, CGIs), the process would end in a D state. Subsequent operation on it respawns new apache processes which suffered the same fate and it will persist until all the RAM has been used out. I enable quotas on /home but I have not set any limit on either user or group. quotas.group and quotas.user remains as is the first time I ran edquota. At first I though a bad disk was the problem but it turned to be false although I'm not throwing that possibility out. I'm returning to 4.6.2 Release and see whether the problem persist. Has anyone had this kind of symptoms with 4.7 RC? -- Thank you for your time, Ihsan __ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Quota problem
Hello all, I originally posted this topic under "How do i know a disk is bad" thread but didn't get any replies. Well I've narrowed down the problem towards disk quotas. It turns out that when I disable quotas, everything works fine. When I first setup quotas on /home, I did not place any quota on the user nor group, with the intention of placing for one later. I think I know the specific problems but I'm not that sure. 1) Does file/dir ownership of another user counts? I have a single directory with files with someone else ownership. 2) Does quotas have problem with this kind of thing? 3) I ran file quota.user and the output says it's a text file without line terminators but when I did less on it, all I got is a repetitive sequence of '@@@' character. When I tried to edit it, all I got is a blank screen. Is this a sign of the quota.user/quota.group is corrupted? When I ran these tests, I removed userquota,groupquota from /home's fstab entry. Please help. Thanks in advance. -- Thank you for your time, Ihsan __ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re[2]: Svsup problems
Hello all, Sunday, September 22, 2002, 5:59:30 PM, freebsd-questions wrote: > K, what is it exactly that you DO want? you already installed FreeBSD > 4.6.2. you've discovered that RELENG_4_6_2 doesn't exist. you don't want > -STABLE. do you want 4.6 with security patches? then use tag=RELENG_4_6. > -Adam I thought 4.6.2 is the RELEASE ver of the RELENG_4_6 tree. -- Thank you for your time, Ihsan __ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re[2]: Quota problem
Hello all, Thanks Matthew, it works now. I no longer have the hangup in apache and file operations. But I'm still stumped on why it happened, since I'm pretty sure I followed all the guidelines. Thanks again. -- Thank you for your time, Ihsan __ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Apache CGI problem
Hello all, Weird problem I'm having here. I can't execute any script in ScriptAlias directory. 500 Internal Server Error always came out. I'm pretty sure the scripts are all right. I ran them on shell, they executed well. Could it be that Apache lost the path? However, I did test-cgi with each script as its argument and the output showed empty answer ie: SERVER_SOFTWARE= SERVER_NAME= etc... for each run. Every arguments for test-cgi turned up blank in the script. I'm scratching my heads with these anomalies. ErrorLog shows "Premature script headers in "/var/www/cgi-bin/test.pl" and every single other scripts. ScriptLog shows nothing wrong with the scripts. I've checked and double-checked everything, the very setup worked well a week ago. ScriptAlias points to the correct cgi-bin path. mod_cgi.so is loaded so does mod_cgi.c. I only noticed this problem when my qmailadmin program couldn't execute. I thought maybe I screwed up with its setting but turned out the whole cgi-bin files couldn't be executed. Permission is all set right, I even went as far as doing 777 on all of them. I've posted this on Apache mailing-list and couldn't get any solution. Searching the archive uncovered one case similar of mine but he too couldn't get any solution. I hope there's plenty of good people over here that can help me. Just started with Apache a month ago and all seemed breezing smoothly up until now. So I guess, this is where the fun chapter begins. -- Thank you for your time, Ihsan __ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re[]: Apache CGI problem
Hello all, Thursday, September 26, 2002, 9:02:45 AM, freebsd-questions wrote: > I think the problem may be with your scripts. Make sure the scripts > are sending the correct HTTP headers to Apache before trying to print > any output. For example: > #!/usr/bin/perl > print "Content-type: text/html\n\n";# <- This has to precede your output. > foreach $key ( sort keys(%ENV) ) { > print "$key = $ENV{$key}"; > } > If you're getting output from the test-cgi script, but not from your > own, then the problem has to be with your script or your config file, > as long as you have their perms set correctly. > HTH, Thanks for your tips. As I had already mentioned before it fubar'ed, all the scripts worked. The system has been up for a month now and it's only until two nights ago, I couldn't get the scripts to work. I wrote quite a few Perl and CGI progs and tested them on this very platform weeks ago and they executed well. For some inexplicable reason, I couldn't get them to work now. I even used my backup httpd.conf copy and still the problem persists. -- Thank you for your time, Ihsan __ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Apache CGI problem
Hello all, > Personally, the only time I've ever seen error 500 is when either the > script had syntax errors, the permissions were set incorrectly, or the > script was transferred as a binary file when it should've been > transferred as ASCII. If you're sure that all three of those issues > don't pertain to your situation, then I'm not sure what the problem > is. > Did you possibly make some system changes on the day they quit working? I believe so. I did change a few ipfw rules, a make world and reworking the quotas. The scripts was done on the system itself, the permissions were right and the syntax were definitely correct. I can't log in into my qmailadmin, sqwebmail and do administrative tasks now. I'm going to reinstall apache if that's going to help in any way. -- Thank you for your time, Ihsan __ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Apache CGI problem
Hello all, Thursday, September 26, 2002, 10:41:30 AM, freebsd-questions wrote: > Ihsan Junaidi Ibrahim <[EMAIL PROTECTED]> writes: >> I can't log in into my qmailadmin, sqwebmail and do administrative >> tasks now. I'm going to reinstall apache if that's going to help in >> any way. > Well, let us know if that fixes your problem. I'm sorry that I > couldn't help you more. Reinstalling did not make the situation any good. Anyway, thanks for your concern, Mike. Anyone has a suggestion? -- Thank you for your time, Ihsan __ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Apache CGI problem
Hello all, Unix wrote: > Is your apache server doing virtual hosting > Could you provide me your httpd.conf file OK, here's the file plus the offending virtual hosts. These are the two hosts that use the cgi-bin. Yes I use virtual hosting. I do a local lan-based sites using local name server, just to get the hang of it first. httpd.conf --- ## ## httpd.conf -- Apache HTTP server configuration file ## # # This is the main Apache server configuration file. # ### Section 1: Global Environment # # The directives in this section affect the overall operation of Apache, # such as the number of concurrent requests it can handle or where it # can find its configuration files. # # # ServerType is either inetd, or standalone. # ServerType standalone # # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # ServerRoot "/usr/local" # # PidFile: The file in which the server should record its process # identification number when it starts. # PidFile /var/run/httpd.pid # # ScoreBoardFile: File used to store internal server process information. # Not all architectures require this. # ScoreBoardFile /var/run/httpd.scoreboard # # Ignore srm.conf & access.conf. # ResourceConfig /dev/null AccessConfig /dev/null # # Timeout: The number of seconds before receives and sends time out. # Timeout 300 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. # KeepAlive On # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. # MaxKeepAliveRequests 100 # # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 15 # # Server-pool size regulation. # MinSpareServers 5 MaxSpareServers 10 # # Number of servers to start initially --- should be a reasonable ballpark # figure. # StartServers 2 # # Limit on total number of servers running, i.e., limit on the number # of clients who can simultaneously connect --- if this limit is ever # reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW.. # MaxClients 150 # # MaxRequestsPerChild: the number of requests each child process is # allowed to process before the child dies. # MaxRequestsPerChild 0 # # Dynamic Shared Object (DSO) Support # LoadModule mmap_static_module libexec/apache/mod_mmap_static.so LoadModule vhost_alias_module libexec/apache/mod_vhost_alias.so LoadModule env_module libexec/apache/mod_env.so LoadModule define_module libexec/apache/mod_define.so LoadModule config_log_module libexec/apache/mod_log_config.so LoadModule mime_magic_module libexec/apache/mod_mime_magic.so LoadModule mime_modulelibexec/apache/mod_mime.so LoadModule negotiation_module libexec/apache/mod_negotiation.so LoadModule status_module libexec/apache/mod_status.so LoadModule info_modulelibexec/apache/mod_info.so LoadModule includes_modulelibexec/apache/mod_include.so LoadModule autoindex_module libexec/apache/mod_autoindex.so LoadModule dir_module libexec/apache/mod_dir.so LoadModule cgi_module libexec/apache/mod_cgi.so LoadModule asis_modulelibexec/apache/mod_asis.so LoadModule imap_modulelibexec/apache/mod_imap.so LoadModule action_module libexec/apache/mod_actions.so LoadModule speling_module libexec/apache/mod_speling.so LoadModule userdir_module libexec/apache/mod_userdir.so LoadModule alias_module libexec/apache/mod_alias.so LoadModule rewrite_module libexec/apache/mod_rewrite.so LoadModule access_module libexec/apache/mod_access.so LoadModule auth_modulelibexec/apache/mod_auth.so LoadModule anon_auth_module libexec/apache/mod_auth_anon.so LoadModule db_auth_module libexec/apache/mod_auth_db.so LoadModule digest_module libexec/apache/mod_digest.so LoadModule proxy_module libexec/apache/libproxy.so LoadModule cern_meta_module libexec/apache/mod_cern_meta.so LoadModule expires_module libexec/apache/mod_expires.so LoadModule headers_module libexec/apache/mod_headers.so LoadModule usertrack_module libexec/apache/mod_usertrack.so LoadModule unique_id_module libexec/apache/mod_unique_id.so LoadModule setenvif_modulelibexec/apache/mod_setenvif.so LoadModule php4_modulelibexec/apache/libphp4.so LoadModule perl_modulelibexec/apache/libperl.so LoadModule gzip_modulelibexec/apache/mod_gzip.so LoadModule ssl_module libexec/apache/libssl.so # Reconstruction of the complete module list from all available modules # (static and shared ones) to achieve correct module execution order. # [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO] ClearModuleList AddModule mod_mmap_static.c AddModule mod_vhost_alias.c AddModule mod_env.c AddModule mod_define.c AddModule mod_log_config.c AddModule mod_mime_magic.c AddModule mod_mime.c A
Re: Apache CGI problem
Hello all, Error 500 : Internal server error. -- Thank you for your time, Ihsan __ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Apache CGI problem
Hello all, I finally found the cause of the problem. PHP 4.2.3. I commented the LoadModule and AddModule clauses in httpd.conf and bam!, all CGIs and Perls work as healthy as they can be. Solved a problem only to bring up another. I installed the latest PHP from the ports about a week ago and did not noticed the problem (I used the scripts sparingly since I have to concentrate on something else) until two nights ago. 4.2.2 AFAIK, worked correctly. I did not suspect PHP to be the cause because everything PHP is working right, cookie management, DB through phpma, phpBB et al. I used php.ini-recommended edition from my windows edition since 4.2.0, that since about two months ago, on my FreeBSD box and I had noticed no glaring exception to any application I run on Apache with 4.2.0, .1, .2 ...until 4.2.3. Module installed on 4.2.3 GD2, pdflib, pspell, bcmath, mysql, openssl, DOM, gettext, FTP, CURL, bzip2, crypto, mhash, XML-RPC, mcrypt, WDDX, XSLT, XML, iconv, sysvshm and sysvsem. Can someone verify whether my case is an anomaly or something previously undocumented? -- Thank you for your time, Ihsan Junaidi Ibrahim __ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re : Apache CGI problem
Hello all, Saturday, September 28, 2002, 5:49:52 AM, freebsd-questions wrote: > Hello all, >I finally found the cause of the problem. PHP 4.2.3. I commented the >LoadModule and AddModule clauses in httpd.conf and bam!, all CGIs and Perls >work as healthy as they can be. Solved a problem only to bring up another. >I installed the latest PHP from the ports about a week ago and did not >noticed the problem (I used the scripts sparingly since I have to concentrate >on something else) until two nights ago. 4.2.2 AFAIK, worked correctly. I did >not suspect PHP to be the cause because everything PHP is working right, >cookie management, DB through phpma, phpBB et al. >I used php.ini-recommended edition from my windows edition since 4.2.0, that >since about two months ago, on my FreeBSD box and I had noticed no glaring >exception to any application I run on Apache with 4.2.0, .1, .2 ...until 4.2.3. >Module installed on 4.2.3 >GD2, pdflib, pspell, bcmath, mysql, openssl, DOM, gettext, FTP, CURL, bzip2, >crypto, mhash, XML-RPC, mcrypt, WDDX, XSLT, XML, iconv, sysvshm and >sysvsem. >Can someone verify whether my case is an anomaly or something previously >undocumented? An update to the situation and a rather weird situation. I commented the LoadModule php4 line and start the server and the CGIs would work well but the PHP as predicted did not BUT if I edited httpd.conf to uncomment the PHP module while the server is running and subsequently do a RESTART through apachectl restart, both PHP and CGIs worked! Amazing. However if I do a full stop and subsequently start the server, only the PHP would go while the CGIs kept returning "Invalid Server Error". The same old situation. I thought it would the order of the module loaded that is causing the mishap, so I replaced PHP LoadModule clause at the very last line of the list but still, no go. So right now, if I were to get the both CGI AND PHP running, I would have to comment the PHP LoadModule statement, start the server, uncomment it back, restart (apachectl restart) and the cylinders is all fired up. -- Thank you for your time, Ihsan __ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Booting from a CD-ROM
Hello all, I can't search the archives for a solution. I thought I give this list a try. WinXP screwed me last night and I'm forced to reinstall it. I totally forgot that I already have a FreeBSD installation on it and realized only after I installed it that I would not be able to boot if off because WinXP MBR had already overridden it with its own. I don't have floppy on this system, only CD-ROM. I notice there's an option "boot: " I assume, for selecting kernel after booting off from a FreeBSD CD. How do I make use of the option? Do I need to include the specific disk and slice. I have 3 disks da0, da1 and ad0 according to BIOS ordering. FreeBSD stays in da1 and the kernel resides at /kernels/kernel-new. I read from the handbook that boot2 stage spawns off loader or boot3 stage depending on the parameters. Also it explains up until unload and set kernel, if possible I want to use loader because I've done a few customizations in loader.conf which I don't know how to make it out without using a loader. Thanks in advance. -- Thank you for your time, Ihsan Junaidi Ibrahim __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Tiger MPX and mbmon
Hello all, I'm using mbmon 2.00 (not available in the ports yet) and I'm getting mixed results partnering it with a Tyan Tiger MPX 2466-4M with 2 Athlon MP 1800+. The kernel does not support neither one of the Winbond chips (W83627HF & W83782D) used on this board hence the use of mbmon. mbmon specifies that the W83627HF uses the ISA I/O ports while the other one uses the SMBus direct access. My setup detected fine only the W83627HF but not at all the W83782D. However it detects the first one using the SMBus not the ISA I/o as per the README says. As a result, I can't get accurate readings of my temperature, the results are all mixed up, some of the temps supposedly applicable to the latter chip turned out in the reading. There's only one displayed; the one with the W83627HF chip, the other chip's reading went missing, presumably because it wasn't detected in the first place. Has someone encounter this strange occurence yet? Here's the spec from the README --- [Note] From the present version the special treatment of Tyan's dual CPU motherboard, TigerMP/MPX is supported. This motherboard has two sensor chips, and one has to enable the second one. In order to attach and enable the second sensor, one has to use a Tyan specific option(-Y for "mbmon", -TyanTigerMP for "xmbmon"). Then the first sensor is accessed through SMBus and the second one through ISA IO. Here the values are the followings: 1st sensor (SMBus, W83782D) temp0 VRM2 temperature temp1 CPU1 temperature temp2 CPU2 temperature Vcore0 CPU1 Vcore Vcore1 CPU2 Vcore Volt 0 AGP voltage Volt 1 system 5V Volt 2 DDR voltage Volt 3 - Volt 4 standby 3.3V 2nd sensor (ISA IO, W83627HF) temp0 VRM1 temperature temp1 AGP temperature temp2 DDR temperature Vcore0 CPU1 Vcore Vcore1 CPU2 Vcore Volt 0 system 3.3V Volt 1 system 5V Volt 2 system 12V Volt 3 system -12V Volt 4 - --- Here's my mbmon -d output. Using SMBus access method[AMD756/766/768/NVidia nForce]!! * Winbond Chip, W83627HF found. mbmon -rY (Y option special for Tiger MPX config) TEMP0 : 57.0 TEMP1 : 8.5 TEMP2 : 16.0 FAN0 :0 FAN1 : 4560 FAN2 :0 VC0 : +1.73 VC1 : +1.74 V33 : +3.33 V50P : +4.95 V12P : +9.61 V12N : -12.28 V50N : +0.08 __ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
apache2 "directory index forbidden by rule"
Hello all, I have an apache manual directory located in /usr/local/share/doc/apache2 which I'm trying to link from my local website. I symlink the folder to a local folder in my home directory and all I'm getting is "directory index forbidden by rule" when I looked inside the log file. The problem it seems to be on the extra filename tacked on the htmls file ie: index.html.en, index.html.ja and all. I tried plain old index.html and all are fine. I tried adding the line AddOutputFilter Includes html on the directory where the symlink and the actual folder but still no go. It only happens in virtual host context, if I put the statement in global context, it work. The only caveat is that I have to put an alias; or else there' no way I'm able to reference the folder. Here's the directives that I put in the VHost context; Options Indexes FollowSymLinks MultiViews AddOutputFilter Includes html AllowOverride None Order allow,deny Allow from all Options Indexes MultiViews AddOutputFilter Includes html AllowOverride None Order allow,deny Allow from all I don't want to refer the files in global aliasing/directory context. I only want to refer them from my local directory. I have a bunch of html docs located in /usr/local/share/docs which I symlinked just fine and apache is the only misbehaving kid on the block. Hope someone can help. __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Adding new disk as the primary.
Hello all, My disk is getting full and I'm thinking of getting bigger and faster disk to accomodate my installation. I do not want to do reinstallation and prefer to export previous settings in the present disk. There's too many of them that I have to customize and I hate to redo it all. The present disk will serve as /usr/ports partition and the rest will be placed on the upcoming disk. Is there a way to do this or do I have to do a reinstallation? Thank you in advance. __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Questions on OpenGL GLUT
Hello all, 1) Where can I find GLUT on the ports 2) Are there multiple versions of GLUT serving the DRI and MESA? Thanks in advance __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Adding to standard include path (GCC)
Hello all, I'm a starter to programming in FreeBSD after a few years in Visual C++ and would like to delve deeper into it. But I have a few questions which I need answers. I hope it wouldn't be too much a burden to you. I have two gccs installed, 2.95.4 (stock gcc) and 3.1.1. 1) How do add to the standard include path to a path that I designated without using the -I flag or is it fixed only to /usr/local/include and /usr/include. 2) I notice that the gcc31 include files does not contain the standard C headers ie stdio.h, assert.h etc. Does this mean whenever I want to link to the header, it is sufficient to use the ones in /usr/include? 3) I notice too that there are many C++ and STL include files I'm getting confused on which ones to use. The files are located at /usr/include/g++, /usr/local/lib/i386-portbld-freebsd4.7/3.1.1/include/g++v3 and /usr/local/lib/i386-portbld-freebsd4.7/3.1.1/include/g++v3/backward. Can someone enlighten me on which one should I use. I intend on programming purely in C++ with the exception that in later date, I might be forced to use some of the C include files. Thank you very much in advance. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Can't start Mozilla
Hello all, Ever since I upgraded to KDE 3.1 and all the relevant packages and ports, I've been unable to use Mozilla. It will not even start. Here's the error message. --- No running window found. (process:1119): GLib-GObject-CRITICAL **: gtype.c:1875:g_type_register_static(): initialization assertion failed, use g_type_init() prior to this function (process:1119): GLib-GObject-CRITICAL **: file gobject.c: line 615 (g_object_new): assertion `G_TYPE_IS_OBJECT (object_type)' failed (process:1119): GLib-GObject-CRITICAL **: file gobject.c: line 1319 (g_object_ref): assertion `G_IS_OBJECT (object)' failed Segmentation fault What does this mean and how can I remedy this? Thanks in advance. __ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Can't start Mozilla
On Friday 14 February 2003 08:31, Ihsan Junaidi Ibrahim wrote: > Hello all, > > Ever since I upgraded to KDE 3.1 and all the relevant packages and ports, > I've been unable to use Mozilla. It will not even start. Here's the error > message. > I'm using Mozilla 1.2.1. I've used 1.2.1 before the upgrade and it ran fine. After the upgrade, a host of problems came up and this is one of them. __ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Quota support in GENERIC kernel
i all, Is there any technical reason why quota support is not included in GENERIC kernel or at least be made a loadable module? I know it's not hard to recompile the kernel but why the hassle of doing that when a module or built-in feature can be included? I would like to utilize freebsd-update binary patching mechanism for all the boxes I maintain but it only supports GENERIC kernel. I don't have a dedicated build machine and most boxes are located offsite so having a binary update can really help cut down on the tangible and intangible costs. It is my opinion after using FreeBSD for quite some time that quota is an essential feature that should be part of the GENERIC kernel. I hope I can get a good explanation for this. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Quota support in GENERIC
Hi all, Is there any technical reason why quota support is not included in GENERIC kernel or at least be made a loadable module? I know it's not hard to recompile the kernel but why the hassle of doing that when a module or built-in feature can be included? I would like to utilize freebsd-update binary patching mechanism for all the boxes I maintain but it only supports GENERIC kernel. I don't have a dedicated build machine and most boxes are located offsite so having a binary update can really help cut down on the tangible and intangible costs. It is my opinion after using FreeBSD for quite some time that quota is an essential feature that should be part of the GENERIC kernel. I hope I can get a good explanation for this. -- Thank you for your time, Ihsan, http://ihsan.synthexp.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: FreeBSD mailing list reverse DNS problem
Hi all, I was equally stumped by the problem as well. After trying so many solutions, for some reasons, which I'm not too sure was when I asked my ISP to increase the TTL information from 1 hour (1H) to 1 day (1D), it immediately worked. I no longer have problems sending mails to this list (including this one). I'm not a DNS expert but for the life of me I can't see the correlation between a TTL and reverse lookup. -- Thank you for your time, Ihsan, http://ihsan.synthexp.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mod_auth_pam apache pam
Hexren wrote: Hi, I am trying to authentificate user against the system user database using mod_auth_pam-1.1.1 on apache-1.3.33_1. I get the following error in the apache error.log "(2)No such file or directory: access to /www.xxx.net/ failed for 217.228.101.117, reason: authentication error" /etc/pam.d/httpd #cat /etc/pam.d/httpd auth required pam_unix.so debug accountrequired pam_unix.so debug the relevant Directory directive from httpd.conf AuthPAM_Enabled on AllowOverride None AuthName "Web Statistics xxx" AuthType "basic" require group test imho the error has some connection to pam_unix.so, that is because pam_permit.so works as it should (it permits everything). Strangely no error shows up in my system message log. (where I log *.debug level messages) despite the debug flag in /etc/pam.d/httpd. I've encountered the problem as well and have lived without it since; if I recalled correctly from a previous reply on this list, pam_unix.so uses getpwnam () to fetch the password information. It will only return the password if the calling process has an UID of 0 (root). Since your apache is running as user www, that should explain why the authentication failed. The only workaround is to have your apache runs as root or use a different authentication back-end. -- Thank you for your time, Ihsan Junaidi Ibrahim, http://ihsan.synthexp.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mod_auth_pam apache pam
Ihsan Junaidi Ibrahim wrote: > I've encountered the problem as well and have lived without it since; if I recalled correctly from a previous reply on this list, pam_unix.so uses getpwnam () to fetch the password information. It will only return the password if the calling process has an UID of 0 (root). Since your apache is running as user www, that should explain why the authentication failed. The only workaround is to have your apache runs as root or use a different authentication back-end. I forgot to add. Another suitable workaround is to use mod_auth_external (www/mod_auth_external) and pwauth (security/pwauth) to authenticate against but not limited to /etc/passwd. On a busy server, this may incur certain overhead but the important thing is that it does the job. It is more involving configuration-wise than mod_auth_pam but not by much. I have it running for WebDAV as well as password protected directories on an installation. -- Thank you for your time, Ihsan Junaidi Ibrahim, http://ihsan.synthexp.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
make delete-old question (removing old binaries)
Hi folks, I've rebuild my world with NO_MAIL (in src.conf) and a few other NO_ options however I noticed that related binaries are not removed entirely i.e. mailwrapper when I ran make delete-old / delete-old-libs. I can see that the old binaries have a timestamp older than the binaries rebuilt by the make world process. [anggerik:/usr/sbin]# ls -l mailwrapper -r-xr-xr-x 1 root wheel 7808 Nov 21 22:31 mailwrapper [anggerik:/usr/sbin]# ls -l trac traceroute* traceroute6* [anggerik:/usr/sbin]# ls -l traceroute -r-sr-xr-x 1 root wheel 28240 Apr 3 08:54 traceroute Is this simply a cosmetic issue and I can just remove those binaries manually or if not so, is there a special configs needed to remove them. Apologize if this question has been asked before. -- Thank you for your time, Ihsan Junaidi Ibrahim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"